1*version8.txt* For Vim version 8.2. Last change: 2020 Feb 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 309|test_garbagecollect_now()| free memory right now 310|test_null_channel()| return a null Channel 311|test_null_dict()| return a null Dict 312|test_null_job()| return a null Job 313|test_null_list()| return a null List 314|test_null_partial()| return a null Partial function 315|test_null_string()| return a null String 316|test_settime()| set the time Vim uses internally 317|timer_info()| get information about timers 318|timer_pause()| pause or unpause a timer 319|timer_start()| create a timer 320|timer_stop()| stop a timer 321|timer_stopall()| stop all timers 322|uniq()| remove copies of repeated adjacent items 323|win_findbuf()| find windows containing a buffer 324|win_getid()| get window ID of a window 325|win_gotoid()| go to window with ID 326|win_id2tabwin()| get tab and window nr from window ID 327|win_id2win()| get window nr from window ID 328|wordcount()| get byte/word/char count of buffer 329 330 331New Vim variables: ~ 332 333|v:beval_winid| Window ID of the window where the mouse pointer is 334|v:completed_item| complete items for the most recently completed word 335|v:errors| errors found by assert functions 336|v:false| a Number with value zero 337|v:hlsearch| indicates whether search highlighting is on 338|v:mouse_winid| Window ID for a mouse click obtained with |getchar()| 339|v:none| an empty String, used for JSON 340|v:null| an empty String, used for JSON 341|v:option_new| new value of the option, used by |OptionSet| 342|v:option_old| old value of the option, used by |OptionSet| 343|v:option_oldlocal| old local value of the option, used by |OptionSet| 344|v:option_oldglobal| old global value of the option, used by |OptionSet| 345|v:option_type| scope of the set command, used by |OptionSet| 346|v:option_command| command used to set the option, used by |OptionSet| 347|v:progpath| the command with which Vim was invoked 348|v:t_bool| value of Boolean type 349|v:t_channel| value of Channel type 350|v:t_dict| value of Dictionary type 351|v:t_float| value of Float type 352|v:t_func| value of Funcref type 353|v:t_job| value of Job type 354|v:t_list| value of List type 355|v:t_none| value of None type 356|v:t_number| value of Number type 357|v:t_string| value of String type 358|v:testing| must be set before using `test_garbagecollect_now()` 359|v:true| a Number with value one 360|v:vim_did_enter| set just before VimEnter autocommands are triggered 361 362 363New autocommand events: ~ 364 365|CmdUndefined| a user command is used but it isn't defined 366|OptionSet| after setting any option 367|TabClosed| after closing a tab page 368|TabNew| after creating a new tab page 369|TextChangedI| after a change was made to the text in Insert mode 370|TextChanged| after a change was made to the text in Normal mode 371|WinNew| after creating a new window 372 373 374New highlight groups: ~ 375 376EndOfBuffer filler lines (~) after the last line in the buffer. 377 |hl-EndOfBuffer| 378 379 380New items in search patterns: ~ 381 382|/\%C| \%C match any composing characters 383 384 385New Syntax/Indent/FTplugin files: ~ 386 387AVR Assembler (Avra) syntax 388Arduino syntax 389Bazel syntax and indent and ftplugin 390Dockerfile syntax and ftplugin 391Eiffel ftplugin 392Euphoria 3 and 4 syntax 393Go syntax and indent and ftplugin 394Godoc syntax 395Groovy ftplugin 396HGcommit ftplugin 397Hog indent and ftplugin 398Innovation Data Processing upstream.pt syntax 399J syntax and indent and ftplugin 400Jproperties ftplugin 401Json syntax and indent and ftplugin 402Kivy syntax 403Less syntax and indent 404Mix syntax 405Motorola S-Record syntax 406R ftplugin 407ReStructuredText syntax and indent and ftplugin 408Registry ftplugin 409Rhelp indent and ftplugin 410Rmd (markdown with R code chunks) syntax and indent 411Rmd ftplugin 412Rnoweb ftplugin 413Rnoweb indent 414Scala syntax and indent and ftplugin 415SystemVerilog syntax and indent and ftplugin 416Systemd syntax and indent and ftplugin 417Teraterm (TTL) syntax and indent 418Text ftplugin 419Vroom syntax and indent and ftplugin 420 421 422New Keymaps: ~ 423 424Armenian eastern and western 425Russian jcukenwintype 426Vietnamese telex and vni 427 428============================================================================== 429INCOMPATIBLE CHANGES *incompatible-8* 430 431These changes are incompatible with previous releases. Check this list if you 432run into a problem when upgrading from Vim 7.4 to 8.0. 433 434 435Better defaults without a vimrc ~ 436 437When no vimrc file is found, the |defaults.vim| script is loaded to set more 438useful default values for new users. That includes setting 'nocompatible'. 439Thus Vim no longer starts up in Vi compatible mode. If you do want that, 440either create a .vimrc file that does "set compatible" or start Vim with 441"vim -C". 442 443 444Support removed ~ 445 446The support for MS-DOS has been removed. It hasn't been working for a while 447(Vim doesn't fit in memory) and removing it cleans up the code quite a bit. 448 449The support for Windows 16 bit (Windows 95 and older) has been removed. 450 451The support for OS/2 has been removed. It probably hasn't been working for a 452while since nobody uses it. 453 454The SNiFF+ support has been removed. 455 456 457Minor incompatibilities: ~ 458 459Probably... 460 461============================================================================== 462IMPROVEMENTS *improvements-8* 463 464The existing blowfish encryption turned out to be much weaker than it was 465supposed to be. The blowfish2 method has been added to fix that. Note that 466this still isn't a state-of-the-art encryption, but good enough for most 467usage. See 'cryptmethod'. 468 469 470============================================================================== 471COMPILE TIME CHANGES *compile-changes-8* 472 473The Vim repository was moved from Google code to github, since Google code 474was shut down. It can now be found at https://github.com/vim/vim. 475 476Functions now use ANSI-C declarations. At least a C-89 compatible compiler is 477required. 478 479The +visual feature is now always included. 480 481============================================================================== 482PATCHES *patches-8* *bug-fixes-8* 483 484The list of patches that got included since 7.4.0. This includes all the new 485features, but does not include runtime file changes (syntax, indent, help, 486etc.) 487 488Patch 7.4.001 489Problem: Character classes such as [a-z] do not react to 'ignorecase'. 490 Breaks man page highlighting. (Mario Grgic) 491Solution: Add separate items for classes that react to 'ignorecase'. Clean 492 up logic handling character classes. Add more tests. 493Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 494 495Patch 7.4.002 496Problem: Pattern with two alternative look-behind matches does not match. 497 (Amadeus Demarzi) 498Solution: When comparing PIMs also compare their state ID to see if they are 499 different. 500Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 501 502Patch 7.4.003 503Problem: Memory access error in Ruby syntax highlighting. (Christopher Chow) 504Solution: Refresh stale pointer. (James McCoy) 505Files: src/regexp_nfa.c 506 507Patch 7.4.004 508Problem: When closing a window fails ":bwipe" may hang. 509Solution: Let win_close() return FAIL and break out of the loop. 510Files: src/window.c, src/proto/window.pro, src/buffer.c 511 512Patch 7.4.005 513Problem: Using "vaB" while 'virtualedit' is set selects the wrong area. 514 (Dimitar Dimitrov) 515Solution: Reset coladd when finding a match. 516Files: src/search.c 517 518Patch 7.4.006 519Problem: mkdir("foo/bar/", "p") gives an error message. (David Barnett) 520Solution: Remove the trailing slash. (lcd) 521Files: src/eval.c 522 523Patch 7.4.007 524Problem: Creating a preview window on startup leaves the screen layout in a 525 messed up state. (Marius Gedminas) 526Solution: Don't change firstwin. (Christian Brabandt) 527Files: src/main.c 528 529Patch 7.4.008 530Problem: New regexp engine can't be interrupted. 531Solution: Check for CTRL-C pressed. (Yasuhiro Matsumoto) 532Files: src/regexp_nfa.c, src/regexp.c 533 534Patch 7.4.009 535Problem: When a file was not decrypted (yet), writing it may destroy the 536 contents. 537Solution: Mark the file as readonly until decryption was done. (Christian 538 Brabandt) 539Files: src/fileio.c 540 541Patch 7.4.010 (after 7.4.006) 542Problem: Crash with invalid argument to mkdir(). 543Solution: Check for empty string. (lcd47) 544Files: src/eval.c 545 546Patch 7.4.011 547Problem: Cannot find out if "acl" and "xpm" features are supported. 548Solution: Add "acl" and "xpm" to the list of features. (Ken Takata) 549Files: src/eval.c, src/version.c 550 551Patch 7.4.012 552Problem: MS-Windows: resolving shortcut does not work properly with 553 multi-byte characters. 554Solution: Use wide system functions. (Ken Takata) 555Files: src/os_mswin.c 556 557Patch 7.4.013 558Problem: MS-Windows: File name buffer too small for utf-8. 559Solution: Use character count instead of byte count. (Ken Takata) 560Files: src/os_mswin.c 561 562Patch 7.4.014 563Problem: MS-Windows: check for writing to device does not work. 564Solution: Fix #ifdefs. (Ken Takata) 565Files: src/fileio.c 566 567Patch 7.4.015 568Problem: MS-Windows: Detecting node type does not work for multi-byte 569 characters. 570Solution: Use wide character function when needed. (Ken Takata) 571Files: src/os_win32.c 572 573Patch 7.4.016 574Problem: MS-Windows: File name case can be wrong. 575Solution: Add fname_casew(). (Ken Takata) 576Files: src/os_win32.c 577 578Patch 7.4.017 579Problem: ":help !!" does not find the "!!" tag in the help file. (Ben 580 Fritz) 581Solution: When reading the start of the tags file do parse lines that are 582 not header lines. 583Files: src/tag.c 584 585Patch 7.4.018 586Problem: When completing item becomes unselected. (Shougo Matsu) 587Solution: Revert patch 7.3.1269. 588Files: src/edit.c 589 590Patch 7.4.019 591Problem: MS-Windows: File name completion doesn't work properly with 592 Chinese characters. (Yue Wu) 593Solution: Take care of multi-byte characters when looking for the start of 594 the file name. (Ken Takata) 595Files: src/edit.c 596 597Patch 7.4.020 598Problem: NFA engine matches too much with \@>. (John McGowan) 599Solution: When a whole pattern match is found stop searching. 600Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 601 602Patch 7.4.021 603Problem: NFA regexp: Using \ze in one branch which doesn't match may cause 604 end of another branch to be wrong. (William Fugh) 605Solution: Set end position if it wasn't set yet. 606Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 607 608Patch 7.4.022 609Problem: Deadlock while exiting, because of allocating memory. 610Solution: Do not use gettext() in deathtrap(). (James McCoy) 611Files: src/os_unix.c, src/misc1.c 612 613Patch 7.4.023 614Problem: Compiler warning on 64 bit windows. 615Solution: Add type cast. (Mike Williams) 616Files: src/edit.c 617 618Patch 7.4.024 619Problem: When root edits a file the undo file is owned by root while the 620 edited file may be owned by another user, which is not allowed. 621 (cac2s) 622Solution: Accept an undo file owned by the current user. 623Files: src/undo.c 624 625Patch 7.4.025 (after 7.4.019) 626Problem: Reading before start of a string. 627Solution: Do not call mb_ptr_back() at start of a string. (Dominique Pelle) 628Files: src/edit.c 629 630Patch 7.4.026 631Problem: Clang warning for int shift overflow. 632Solution: Use unsigned and cast back to int. (Dominique Pelle) 633Files: src/misc2.c 634 635Patch 7.4.027 (after 7.4.025) 636Problem: Another valgrind error when using CTRL-X CTRL-F at the start of 637 the line. (Dominique Pelle) 638Solution: Don't call mb_ptr_back() at the start of the line. Add a test. 639Files: src/edit.c, src/testdir/test32.in 640 641Patch 7.4.028 642Problem: Equivalence classes are not working for multi-byte characters. 643Solution: Copy the rules from the old to the new regexp engine. Add a test 644 to check both engines. 645Files: src/regexp_nfa.c, src/testdir/test44.in, src/testdir/test99.in, 646 src/testdir/test99.ok, src/testdir/Make_amiga.mak, 647 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 648 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 649 src/testdir/Makefile 650 651Patch 7.4.029 652Problem: An error in a pattern is reported twice. 653Solution: Remove the retry with the backtracking engine, it won't work. 654Files: src/regexp.c 655 656Patch 7.4.030 657Problem: The -mno-cygwin argument is no longer supported by Cygwin. 658Solution: Remove the arguments. (Steve Hall) 659Files: src/GvimExt/Make_cyg.mak, src/Make_cyg.mak, src/xxd/Make_cyg.mak 660 661Patch 7.4.031 662Problem: ":diffoff!" resets options even when 'diff' is not set. (Charles 663 Cooper) 664Solution: Only resets related options in a window where 'diff' is set. 665Files: src/diff.c 666 667Patch 7.4.032 668Problem: NFA engine does not match the NUL character. (Jonathon Merz) 669Solution: Use 0x0a instead of NUL. (Christian Brabandt) 670Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 671 672Patch 7.4.033 673Problem: When the terminal has only 20 lines test 92 and 93 overwrite the 674 input file. 675Solution: Explicitly write test.out. Check that the terminal is large enough 676 to run the tests. (Hirohito Higashi) 677Files: src/testdir/test92.in, src/testdir/test93.in, 678 src/testdir/test1.in, src/testdir/Makefile 679 680Patch 7.4.034 681Problem: Using "p" in Visual block mode only changes the first line. 682Solution: Repeat the put in all text in the block. (Christian Brabandt) 683Files: runtime/doc/change.txt, src/ops.c, src/normal.c, 684 src/testdir/test20.in, src/testdir/test20.ok 685 686Patch 7.4.035 687Problem: MS-Windows: The mouse pointer flickers when going from command 688 line mode to Normal mode. 689Solution: Check for WM_NCMOUSEMOVE. (Ken Takata) 690Files: src/gui_w48.c 691 692Patch 7.4.036 693Problem: NFA engine does not capture group correctly when using \@>. (ZyX) 694Solution: Copy submatches before doing the recursive match. 695Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 696 697Patch 7.4.037 698Problem: Using "\ze" in a sub-pattern does not result in the end of the 699 match to be set. (Axel Bender) 700Solution: Copy the end of match position when a recursive match was 701 successful. 702Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 703 704Patch 7.4.038 705Problem: Using "zw" and "zg" when 'spell' is off give a confusing error 706 message. (Gary Johnson) 707Solution: Ignore the error when locating the word. Explicitly mention what 708 word was added. (Christian Brabandt) 709Files: src/normal.c, src/spell.c 710 711Patch 7.4.039 712Problem: MS-Windows: MSVC10 and earlier can't handle symlinks to a 713 directory properly. 714Solution: Add stat_symlink_aware() and wstat_symlink_aware(). (Ken Takata) 715Files: src/os_mswin.c, src/os_win32.c, src/os_win32.h 716 717Patch 7.4.040 718Problem: Valgrind error on exit when a script-local variable holds a 719 reference to the scope of another script. 720Solution: First clear all variables, then free the scopes. (ZyX) 721Files: src/eval.c 722 723Patch 7.4.041 (after 7.4.034) 724Problem: Visual selection does not remain after being copied over. (Axel 725 Bender) 726Solution: Move when VIsual_active is reset. (Christian Brabandt) 727Files: src/ops.c 728 729Patch 7.4.042 730Problem: When using ":setlocal" for 'spell' and 'spelllang' then :spelldump 731 doesn't work. (Dimitar Dimitrov) 732Solution: Copy the option variables to the new window used to show the dump. 733 (Christian Brabandt) 734Files: src/spell.c 735 736Patch 7.4.043 737Problem: VMS can't handle long function names. 738Solution: Shorten may_req_ambiguous_character_width. (Samuel Ferencik) 739Files: src/main.c, src/term.c, src/proto/term.pro 740 741 742Patch 7.4.044 (after 7.4.039) 743Problem: Can't build with old MSVC. (Wang Shoulin) 744Solution: Define OPEN_OH_ARGTYPE instead of using intptr_t directly. 745Files: src/os_mswin.c 746 747Patch 7.4.045 748Problem: substitute() does not work properly when the pattern starts with 749 "\ze". 750Solution: Detect an empty match. (Christian Brabandt) 751Files: src/eval.c, src/testdir/test80.in, src/testdir/test80.ok 752 753Patch 7.4.046 754Problem: Can't use Tcl 8.6. 755Solution: Change how Tcl_FindExecutable is called. (Jan Nijtmans) 756Files: src/if_tcl.c 757 758Patch 7.4.047 759Problem: When using input() in a function invoked by a mapping it doesn't 760 work. 761Solution: Temporarily reset ex_normal_busy. (Yasuhiro Matsumoto) 762Files: src/eval.c 763 764Patch 7.4.048 765Problem: Recent clang version complains about -fno-strength-reduce. 766Solution: Add a configure check for the clang version. (Kazunobu Kuriyama) 767Files: src/configure.in, src/auto/configure 768 769Patch 7.4.049 770Problem: In Ex mode, when line numbers are enabled the substitute prompt is 771 wrong. 772Solution: Adjust for the line number size. (Benoit Pierre) 773Files: src/ex_cmds.c 774 775Patch 7.4.050 776Problem: "gn" selects too much for the pattern "\d" when there are two 777 lines with a single digit. (Ryan Carney) 778Solution: Adjust the logic of is_one_char(). (Christian Brabandt) 779Files: src/search.c, src/testdir/test53.in, src/testdir/test53.ok 780 781Patch 7.4.051 782Problem: Syntax highlighting a Yaml file causes a crash. (Blake Preston) 783Solution: Copy the pim structure before calling addstate() to avoid it 784 becoming invalid when the state list is reallocated. 785Files: src/regexp_nfa.c 786 787Patch 7.4.052 788Problem: With 'fo' set to "a2" inserting a space in the first column may 789 cause the cursor to jump to the previous line. 790Solution: Handle the case when there is no comment leader properly. (Tor 791 Perkins) Also fix that cursor is in the wrong place when spaces 792 get replaced with a Tab. 793Files: src/misc1.c, src/ops.c, src/testdir/test68.in, 794 src/testdir/test68.ok 795 796Patch 7.4.053 797Problem: Test75 has a wrong header. (ZyX) 798Solution: Fix the text and remove leading ". 799Files: src/testdir/test75.in 800 801Patch 7.4.054 802Problem: Reading past end of the 'stl' string. 803Solution: Don't increment pointer when already at the NUL. (Christian 804 Brabandt) 805Files: src/buffer.c 806 807Patch 7.4.055 808Problem: Mac: Where availability macros are defined depends on the system. 809Solution: Add a configure check. (Felix Bünemann) 810Files: src/config.h.in, src/configure.in, src/auto/configure, 811 src/os_mac.h 812 813Patch 7.4.056 814Problem: Mac: Compilation problem with OS X 10.9 Mavericks. 815Solution: Include AvailabilityMacros.h when available. (Kazunobu Kuriyama) 816Files: src/os_unix.c 817 818Patch 7.4.057 819Problem: byteidx() does not work for composing characters. 820Solution: Add byteidxcomp(). 821Files: src/eval.c, src/testdir/test69.in, src/testdir/test69.ok, 822 runtime/doc/eval.txt 823 824Patch 7.4.058 825Problem: Warnings on 64 bit Windows. 826Solution: Add type casts. (Mike Williams) 827Files: src/ops.c 828 829Patch 7.4.059 830Problem: set_last_cursor() may encounter w_buffer being NULL. (Matt 831 Mkaniaris) 832Solution: Check for NULL. 833Files: src/mark.c 834 835Patch 7.4.060 836Problem: Declaration has wrong return type for PyObject_SetAttrString(). 837Solution: Use int instead of PyObject. (Andreas Schwab) 838Files: src/if_python.c, src/if_python3.c 839 840Patch 7.4.061 (after 7.4.055 and 7.4.056) 841Problem: Availability macros configure check in wrong place. 842Solution: Also check when not using Darwin. Remove version check. 843Files: src/configure.in, src/auto/configure, src/os_unix.c 844 845Patch 7.4.062 (after 7.4.061) 846Problem: Configure check for AvailabilityMacros.h is wrong. 847Solution: Use AC_CHECK_HEADERS(). 848Files: src/configure.in, src/auto/configure 849 850Patch 7.4.063 851Problem: Crash when using invalid key in Python dictionary. 852Solution: Check for object to be NULL. Add tests. (ZyX) 853Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok, 854 src/testdir/test87.in, src/testdir/test87.ok 855 856Patch 7.4.064 857Problem: When replacing a character in Visual block mode, entering a CR 858 does not cause a repeated line break. 859Solution: Recognize the situation and repeat the line break. (Christian 860 Brabandt) 861Files: src/normal.c, src/ops.c, src/testdir/test39.in, 862 src/testdir/test39.ok 863 864Patch 7.4.065 865Problem: When recording, the character typed at the hit-enter prompt is 866 recorded twice. (Urtica Dioica) 867Solution: Avoid recording the character twice. (Christian Brabandt) 868Files: src/message.c 869 870Patch 7.4.066 871Problem: MS-Windows: When there is a colon in the file name (sub-stream 872 feature) the swap file name is wrong. 873Solution: Change the colon to "%". (Yasuhiro Matsumoto) 874Files: src/fileio.c, src/memline.c, src/misc1.c, src/proto/misc1.pro 875 876Patch 7.4.067 877Problem: After inserting comment leader, CTRL-\ CTRL-O does move the 878 cursor. (Wiktor Ruben) 879Solution: Avoid moving the cursor. (Christian Brabandt) 880Files: src/edit.c 881 882Patch 7.4.068 883Problem: Cannot build Vim on Mac with non-Apple compilers. 884Solution: Remove the -no-cpp-precomp flag. (Misty De Meo) 885Files: src/configure.in, src/auto/configure, src/osdef.sh 886 887Patch 7.4.069 888Problem: Cannot right shift lines starting with #. 889Solution: Allow the right shift when 'cino' contains #N with N > 0. 890 (Christian Brabandt) 891 Refactor parsing 'cino', store the values in the buffer. 892Files: runtime/doc/indent.txt, src/buffer.c, src/edit.c, src/eval.c, 893 src/ex_getln.c, src/fold.c, src/misc1.c, src/ops.c, 894 src/proto/misc1.pro, src/proto/option.pro, src/structs.h, 895 src/option.c 896 897Patch 7.4.070 (after 7.4.069) 898Problem: Can't compile with tiny features. (Tony Mechelynck) 899Solution: Add #ifdef. 900Files: src/buffer.c 901 902Patch 7.4.071 (after 7.4.069) 903Problem: Passing limits around too often. 904Solution: Use limits from buffer. 905Files: src/edit.c, src/misc1.c, src/proto/misc1.pro 906 907Patch 7.4.072 908Problem: Crash when using Insert mode completion. 909Solution: Avoid going past the end of pum_array. (idea by Francisco Lopes) 910Files: src/popupmnu.c 911 912Patch 7.4.073 913Problem: Setting undolevels for one buffer changes undo in another. 914Solution: Make 'undolevels' a global-local option. (Christian Brabandt) 915Files: runtime/doc/options.txt, src/buffer.c, src/option.c, src/option.h 916 src/structs.h, src/undo.c 917 918Patch 7.4.074 919Problem: When undo'ing all changes and creating a new change the undo 920 structure is incorrect. (Christian Brabandt) 921Solution: When deleting the branch starting at the old header, delete the 922 whole branch, not just the first entry. 923Files: src/undo.c 924 925Patch 7.4.075 926Problem: Locally setting 'undolevels' is not tested. 927Solution: Add a test. (Christian Brabandt) 928Files: src/testdir/test100.in, src/testdir/test100.ok, 929 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 930 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 931 src/testdir/Make_vms.mms, src/testdir/Makefile, src/Makefile 932 933Patch 7.4.076 934Problem: "cgn" does not wrap around the end of the file. (Dimitar Dimitrov) 935Solution: Restore 'wrapscan' earlier. (Christian Brabandt) 936Files: src/search.c 937 938Patch 7.4.077 939Problem: DOS installer creates shortcut without a path, resulting in the 940 current directory to be C:\Windows\system32. 941Solution: Use environment variables. 942Files: src/dosinst.c 943 944Patch 7.4.078 945Problem: MSVC 2013 is not supported. 946Solution: Recognize and support MSVC 2013. (Ed Brown) 947Files: src/Make_mvc.mak 948 949Patch 7.4.079 950Problem: A script cannot detect whether 'hlsearch' highlighting is actually 951 displayed. 952Solution: Add the "v:hlsearch" variable. (ZyX) 953Files: src/eval.c, src/ex_docmd.c, 954 src/option.c, src/screen.c, src/search.c, src/tag.c, src/vim.h, 955 src/testdir/test101.in, src/testdir/test101.ok, 956 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 957 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 958 src/testdir/Make_vms.mms, src/testdir/Makefile 959 960Patch 7.4.080 (after 7.4.079) 961Problem: Missing documentation for v:hlsearch. 962Solution: Include the right file in the patch. 963Files: runtime/doc/eval.txt 964 965Patch 7.4.081 (after 7.4.078) 966Problem: Wrong logic when ANALYZE is "yes". 967Solution: Use or instead of and. (KF Leong) 968Files: src/Make_mvc.mak 969 970Patch 7.4.082 971Problem: Using "gf" in a changed buffer suggests adding "!", which is not 972 possible. (Tim Chase) 973Solution: Pass a flag to check_changed() whether adding ! make sense. 974Files: src/vim.h, src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/globals.h, 975 src/ex_cmds.c, src/ex_docmd.c 976 977Patch 7.4.083 978Problem: It's hard to avoid adding a used pattern to the search history. 979Solution: Add the ":keeppatterns" modifier. (Christian Brabandt) 980Files: runtime/doc/cmdline.txt, src/ex_cmds.h, src/ex_docmd.c, 981 src/ex_getln.c, src/structs.h 982 983Patch 7.4.084 984Problem: Python: interrupt not being properly discarded. (Yggdroot Chen) 985Solution: Discard interrupt in VimTryEnd. (ZyX) 986Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok, 987 src/testdir/test87.in, src/testdir/test87.ok 988 989Patch 7.4.085 990Problem: When inserting text in Visual block mode and moving the cursor the 991 wrong text gets repeated in other lines. 992Solution: Use the '[ mark to find the start of the actually inserted text. 993 (Christian Brabandt) 994Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok 995 996Patch 7.4.086 997Problem: Skipping over an expression when not evaluating it does not work 998 properly for dict members. 999Solution: Skip over unrecognized expression. (ZyX) 1000Files: src/eval.c, src/testdir/test34.in, src/testdir/test34.ok 1001 1002Patch 7.4.087 1003Problem: Compiler warning on 64 bit Windows systems. 1004Solution: Fix type cast. (Mike Williams) 1005Files: src/ops.c 1006 1007Patch 7.4.088 1008Problem: When spell checking is enabled Asian characters are always marked 1009 as error. 1010Solution: When 'spelllang' contains "cjk" do not mark Asian characters as 1011 error. (Ken Takata) 1012Files: runtime/doc/options.txt, runtime/doc/spell.txt, src/mbyte.c, 1013 src/option.c, src/spell.c, src/structs.h 1014 1015Patch 7.4.089 1016Problem: When editing a file in a directory mounted through sshfs Vim 1017 doesn't set the security context on a renamed file. 1018Solution: Add mch_copy_sec() to vim_rename(). (Peter Backes) 1019Files: src/fileio.c 1020 1021Patch 7.4.090 1022Problem: Win32: When a directory name contains an exclamation mark, 1023 completion doesn't complete the contents of the directory. 1024Solution: Escape the exclamation mark. (Jan Stocker) 1025Files: src/ex_getln.c, src/testdir/test102.in, src/testdir/test102.ok, 1026 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 1027 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 1028 src/testdir/Make_vms.mms, src/testdir/Makefile 1029 1030Patch 7.4.091 (after 7.4.089) 1031Problem: Missing semicolon. 1032Solution: Add the semicolon. 1033Files: src/fileio.c 1034 1035Patch 7.4.092 (after 7.4.088) 1036Problem: Can't build small version. 1037Solution: Add #ifdef where the b_cjk flag is used. (Ken Takata) 1038Files: src/spell.c 1039 1040Patch 7.4.093 1041Problem: Configure can't use LuaJIT on ubuntu 12.04. 1042Solution: Adjust the configure regexp that locates the version number. 1043 (Charles Strahan) 1044Files: src/configure.in, src/auto/configure 1045 1046Patch 7.4.094 1047Problem: Configure may not find that -lint is needed for gettext(). 1048Solution: Check for gettext() with empty $LIBS. (Thomas De Schampheleire) 1049Files: src/configure.in, src/auto/configure 1050 1051Patch 7.4.095 (after 7.4.093) 1052Problem: Regexp for LuaJIT version doesn't work on BSD. 1053Solution: Use "*" instead of "\+" and "\?". (Ozaki Kiichi) 1054Files: src/configure.in, src/auto/configure 1055 1056Patch 7.4.096 1057Problem: Can't change directory to an UNC path. 1058Solution: Use win32_getattrs() in mch_getperm(). (Christian Brabandt) 1059Files: src/os_win32.c 1060 1061Patch 7.4.097 (after 7.4.034) 1062Problem: Unexpected behavior change related to 'virtualedit'. (Ingo Karkat) 1063Solution: Update the valid cursor position. (Christian Brabandt) 1064Files: src/ops.c 1065 1066Patch 7.4.098 1067Problem: When using ":'<,'>del" errors may be given for the visual line 1068 numbers being out of range. 1069Solution: Reset Visual mode in ":del". (Lech Lorens) 1070Files: src/ex_docmd.c, src/testdir/test103.in, src/testdir/test103.ok, 1071 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 1072 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 1073 src/testdir/Make_vms.mms, src/testdir/Makefile 1074 1075Patch 7.4.099 1076Problem: Append in blockwise Visual mode with "$" is wrong. 1077Solution: After "$" don't use the code that checks if the cursor was moved. 1078 (Hirohito Higashi, Ken Takata) 1079Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok 1080 1081Patch 7.4.100 1082Problem: NFA regexp doesn't handle backreference correctly. (Ryuichi 1083 Hayashida, Urtica Dioica) 1084Solution: Always add NFA_SKIP, also when it already exists at the start 1085 position. 1086Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 1087 1088Patch 7.4.101 1089Problem: Using \1 in pattern goes one line too far. (Bohr Shaw, John Little) 1090Solution: Only advance the match end for the matched characters in the last 1091 line. 1092Files: src/regexp.c, src/testdir/test64.in, src/testdir/test64.ok 1093 1094Patch 7.4.102 1095Problem: Crash when interrupting "z=". 1096Solution: Add safety check for word length. (Christian Brabandt, Dominique 1097 Pelle) 1098Files: src/spell.c 1099 1100Patch 7.4.103 1101Problem: Dos installer uses an old way to escape spaces in the diff 1102 command. 1103Solution: Adjust the quoting to the new default shellxquote. (Ben Fritz) 1104Files: src/dosinst.c 1105 1106Patch 7.4.104 1107Problem: ":help s/\_" reports an internal error. (John Beckett) 1108Solution: Check for NUL and invalid character classes. 1109Files: src/regexp_nfa.c 1110 1111Patch 7.4.105 1112Problem: Completing a tag pattern may give an error for invalid pattern. 1113Solution: Suppress the error, just return no matches. 1114Files: src/tag.c 1115 1116Patch 7.4.106 1117Problem: Can't build with Ruby using Cygwin. 1118Solution: Fix library name in makefile. (Steve Hall) 1119Files: src/Make_cyg.mak 1120 1121Patch 7.4.107 1122Problem: Python: When vim.eval() encounters a Vim error, a try/catch in the 1123 Python code doesn't catch it. (Yggdroot Chen) 1124Solution: Throw exceptions on errors in vim.eval(). (ZyX) 1125Files: src/ex_eval.c, src/if_py_both.h, src/proto/ex_eval.pro, 1126 src/testdir/test86.in, src/testdir/test86.ok, 1127 src/testdir/test87.in, src/testdir/test87.ok 1128 1129Patch 7.4.108 1130Problem: "zG" and "zW" leave temp files around on MS-Windows. 1131Solution: Delete the temp files when exiting. (Ken Takata) 1132Files: src/memline.c, src/proto/spell.pro, src/spell.c 1133 1134Patch 7.4.109 1135Problem: ColorScheme autocommand matches with the current buffer name. 1136Solution: Match with the colorscheme name. (Christian Brabandt) 1137Files: runtime/doc/autocmd.txt, src/fileio.c, src/syntax.c 1138 1139Patch 7.4.110 1140Problem: "gUgn" cannot be repeated. (Dimitar Dimitrov) 1141Solution: Don't put "gn" in a different order in the redo buffer. Restore 1142 'wrapscan' when the pattern isn't found. (Christian Wellenbrock) 1143Files: src/normal.c, src/search.c, src/test53.in, src/test53.ok 1144 1145Patch 7.4.111 1146Problem: Memory leak in Python OptionsAssItem. (Ken Takata) 1147Solution: Call Py_XDECREF() where needed. (ZyX) 1148Files: src/if_py_both.h 1149 1150Patch 7.4.112 1151Problem: The defaults for 'directory' and 'backupdir' on MS-Windows do not 1152 include a directory that exists. 1153Solution: Use $TEMP. 1154Files: src/os_dos.h 1155 1156Patch 7.4.113 1157Problem: MSVC static analysis gives warnings. 1158Solution: Avoid the warnings and avoid possible bugs. (Ken Takata) 1159Files: src/os_win32.c 1160 1161Patch 7.4.114 1162Problem: New GNU make outputs messages about changing directory in another 1163 format. 1164Solution: Recognize the new format. 1165Files: src/option.h 1166 1167Patch 7.4.115 1168Problem: When using Zsh expanding ~abc doesn't work when the result 1169 contains a space. 1170Solution: Off-by-one error in detecting the NUL. (Pavol Juhas) 1171Files: src/os_unix.c 1172 1173Patch 7.4.116 1174Problem: When a mapping starts with a space, the typed space does not show 1175 up for 'showcmd'. 1176Solution: Show "<20>". (Brook Hong) 1177Files: src/normal.c 1178 1179Patch 7.4.117 1180Problem: Can't build with Cygwin/MingW and Perl 5.18. 1181Solution: Add a linker argument for the Perl library. (Cesar Romani) 1182 Adjust CFLAGS and LIB. (Cesar Romani) 1183 Move including inline.h further down. (Ken Takata) 1184Files: src/Make_cyg.mak, src/Make_ming.mak, src/if_perl.xs 1185 1186Patch 7.4.118 1187Problem: It's possible that redrawing the status lines causes 1188 win_redr_custom() to be called recursively. 1189Solution: Protect against recursiveness. (Yasuhiro Matsumoto) 1190Files: src/screen.c 1191 1192Patch 7.4.119 1193Problem: Vim doesn't work well on OpenVMS. 1194Solution: Fix various problems. (Samuel Ferencik) 1195Files: src/os_unix.c, src/os_unix.h, src/os_vms.c 1196 1197Patch 7.4.120 (after 7.4.117) 1198Problem: Can't build with Perl 5.18 on Linux. (Lcd 47) 1199Solution: Add #ifdef. (Ken Takata) 1200Files: src/if_perl.xs 1201 1202Patch 7.4.121 1203Problem: Completion doesn't work for ":py3d" and ":py3f". (Bohr Shaw) 1204Solution: Skip over letters after ":py3". 1205Files: src/ex_docmd.c 1206 1207Patch 7.4.122 1208Problem: Win32: When 'encoding' is set to "utf-8" and the active codepage 1209 is cp932 then ":grep" and other commands don't work for multi-byte 1210 characters. 1211Solution: (Yasuhiro Matsumoto) 1212Files: src/os_win32.c 1213 1214Patch 7.4.123 1215Problem: Win32: Getting user name does not use wide function. 1216Solution: Use GetUserNameW() if possible. (Ken Takata) 1217Files: src/os_win32.c 1218 1219Patch 7.4.124 1220Problem: Win32: Getting host name does not use wide function. 1221Solution: Use GetComputerNameW() if possible. (Ken Takata) 1222Files: src/os_win32.c 1223 1224Patch 7.4.125 1225Problem: Win32: Dealing with messages may not work for multi-byte chars. 1226Solution: Use pDispatchMessage(). (Ken Takata) 1227Files: src/os_win32.c 1228 1229Patch 7.4.126 1230Problem: Compiler warnings for "const" and incompatible types. 1231Solution: Remove "const", add type cast. (Ken Takata) 1232Files: src/os_win32.c 1233 1234Patch 7.4.127 1235Problem: Perl 5.18 on Unix doesn't work. 1236Solution: Move workaround to after including vim.h. (Ken Takata) 1237Files: src/if_perl.xs 1238 1239Patch 7.4.128 1240Problem: Perl 5.18 for MSVC doesn't work. 1241Solution: Add check in makefile and define __inline. (Ken Takata) 1242Files: src/Make_mvc.mak, src/if_perl.xs 1243 1244Patch 7.4.129 1245Problem: getline(-1) returns zero. (mvxxc) 1246Solution: Return an empty string. 1247Files: src/eval.c 1248 1249Patch 7.4.130 1250Problem: Relative line numbers mix up windows when using folds. 1251Solution: Use hasFoldingWin() instead of hasFolding(). (Lech Lorens) 1252Files: src/misc2.c 1253 1254Patch 7.4.131 1255Problem: Syncbind causes E315 errors in some situations. (Liang Li) 1256Solution: Set and restore curbuf in ex_syncbind(). (Christian Brabandt) 1257Files: src/ex_docmd.c, src/testdir/test37.ok 1258 1259Patch 7.4.132 (after 7.4.122) 1260Problem: Win32: flags and inherit_handles arguments mixed up. 1261Solution: Swap the argument. (cs86661) 1262Files: src/os_win32.c 1263 1264Patch 7.4.133 1265Problem: Clang warns for using NUL. 1266Solution: Change NUL to NULL. (Dominique Pelle) 1267Files: src/eval.c, src/misc2.c 1268 1269Patch 7.4.134 1270Problem: Spurious space in MingW Makefile. 1271Solution: Remove the space. (Michael Soyka) 1272Files: src/Make_ming.mak 1273 1274Patch 7.4.135 1275Problem: Missing dot in MingW test Makefile. 1276Solution: Add the dot. (Michael Soyka) 1277Files: src/testdir/Make_ming.mak 1278 1279Patch 7.4.136 (after 7.4.096) 1280Problem: MS-Windows: When saving a file with a UNC path the file becomes 1281 read-only. 1282Solution: Don't mix up Win32 attributes and Unix attributes. (Ken Takata) 1283Files: src/os_mswin.c, src/os_win32.c 1284 1285Patch 7.4.137 1286Problem: Cannot use IME with Windows 8 console. 1287Solution: Change the user of ReadConsoleInput() and PeekConsoleInput(). 1288 (Nobuhiro Takasaki) 1289Files: src/os_win32.c 1290 1291Patch 7.4.138 (after 7.4.114) 1292Problem: Directory change messages are not recognized. 1293Solution: Fix using a character range literally. (Lech Lorens) 1294Files: src/option.h 1295 1296Patch 7.4.139 1297Problem: Crash when using :cd in autocommand. (François Ingelrest) 1298Solution: Set w_localdir to NULL after freeing it. (Dominique Pelle) 1299Files: src/ex_docmd.c, src/window.c 1300 1301Patch 7.4.140 1302Problem: Crash when wiping out buffer triggers autocommand that wipes out 1303 only other buffer. 1304Solution: Do not delete the last buffer, make it empty. (Hirohito Higashi) 1305Files: src/buffer.c 1306 1307Patch 7.4.141 1308Problem: Problems when building with Borland: st_mode is signed short; 1309 can't build with Python; temp files not ignored by Mercurial; 1310 building with DEBUG doesn't define _DEBUG. 1311Solution: Fix the problems. (Ken Takata) 1312Files: src/Make_bc5.mak, src/if_py_both.h, src/os_win32.c 1313 1314Patch 7.4.142 (after 7.4.137) 1315Problem: On MS-Windows 8 IME input doesn't work correctly. 1316Solution: Work around the problem. (Nobuhiro Takasaki) 1317Files: src/os_win32.c 1318 1319Patch 7.4.143 1320Problem: TextChangedI is not triggered. 1321Solution: Reverse check for "ready". (lilydjwg) 1322Files: src/edit.c 1323 1324Patch 7.4.144 1325Problem: MingW also supports intptr_t for OPEN_OH_ARGTYPE. 1326Solution: Adjust #ifdef. (Ken Takata) 1327Files: src/os_mswin.c 1328 1329Patch 7.4.145 1330Problem: getregtype() does not return zero for unknown register. 1331Solution: Adjust documentation: return empty string for unknown register. 1332 Check the register name to be valid. (Yukihiro Nakadaira) 1333Files: runtime/doc/eval.txt, src/ops.c 1334 1335Patch 7.4.146 1336Problem: When starting Vim with "-u NONE" v:oldfiles is NULL. 1337Solution: Set v:oldfiles to an empty list. (Yasuhiro Matsumoto) 1338Files: src/main.c 1339 1340Patch 7.4.147 1341Problem: Cursor moves to wrong position when using "gj" after "$" and 1342 virtual editing is active. 1343Solution: Make "gj" behave differently when virtual editing is active. 1344 (Hirohito Higashi) 1345Files: src/normal.c, src/testdir/test39.in, src/testdir/test39.ok 1346 1347Patch 7.4.148 1348Problem: Cannot build with Cygwin and X11. 1349Solution: Include Xwindows.h instead of windows.h. (Lech Lorens) 1350Files: src/mbyte.c 1351 1352Patch 7.4.149 1353Problem: Get E685 error when assigning a function to an autoload variable. 1354 (Yukihiro Nakadaira) 1355Solution: Instead of having a global no_autoload variable, pass an autoload 1356 flag down to where it is used. (ZyX) 1357Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok, 1358 src/testdir/test60.in, src/testdir/test60.ok, 1359 src/testdir/sautest/autoload/footest.vim 1360 1361Patch 7.4.150 1362Problem: :keeppatterns is not respected for :s. 1363Solution: Check the keeppatterns flag. (Yasuhiro Matsumoto) 1364Files: src/search.c, src/testdir/test14.in, src/testdir/test14.ok 1365 1366Patch 7.4.151 1367Problem: Python: slices with steps are not supported. 1368Solution: Support slices in Python vim.List. (ZyX) 1369Files: src/eval.c, src/if_py_both.h, src/if_python3.c, src/if_python.c, 1370 src/proto/eval.pro, src/testdir/test86.in, src/testdir/test86.ok, 1371 src/testdir/test87.in, src/testdir/test87.ok 1372 1373Patch 7.4.152 1374Problem: Python: Cannot iterate over options. 1375Solution: Add options iterator. (ZyX) 1376Files: src/if_py_both.h, src/option.c, src/proto/option.pro, 1377 src/testdir/test86.in, src/testdir/test86.ok, 1378 src/testdir/test87.in, src/testdir/test87.ok, src/vim.h 1379 1380Patch 7.4.153 1381Problem: Compiler warning for pointer type. 1382Solution: Add type cast. 1383Files: src/if_py_both.h, src/if_python.c, src/if_python3.c 1384 1385Patch 7.4.154 (after 7.4.149) 1386Problem: Still a problem with auto-loading. 1387Solution: Pass no_autoload to deref_func_name(). (Yukihiro Nakadaira) 1388Files: src/eval.c 1389 1390Patch 7.4.155 1391Problem: ":keeppatterns /pat" does not keep search pattern offset. 1392Solution: Restore the offset after doing the search. 1393Files: src/search.c, src/testdir/test14.in, src/testdir/test14.ok 1394 1395Patch 7.4.156 1396Problem: Test file missing from distribution. 1397Solution: Add new directory to file list. 1398Files: Filelist 1399 1400Patch 7.4.157 1401Problem: Error number used twice. (Yukihiro Nakadaira) 1402Solution: Change the one not referred in the docs. 1403Files: src/undo.c 1404 1405Patch 7.4.158 (after 7.4.045) 1406Problem: Pattern containing \zs is not handled correctly by substitute(). 1407Solution: Change how an empty match is skipped. (Yukihiro Nakadaira) 1408Files: src/eval.c, src/testdir/test80.in, src/testdir/test80.ok 1409 1410Patch 7.4.159 1411Problem: Completion hangs when scanning the current buffer after doing 1412 keywords. (Christian Brabandt) 1413Solution: Set the first match position when starting to scan the current 1414 buffer. 1415Files: src/edit.c 1416 1417Patch 7.4.160 1418Problem: Win32: Crash when executing external command. 1419Solution: Only close the handle when it was created. (Yasuhiro Matsumoto) 1420Files: src/os_win32.c 1421 1422Patch 7.4.161 1423Problem: Crash in Python exception handling. 1424Solution: Only use exception variables if did_throw is set. (ZyX) 1425Files: src/if_py_both.h 1426 1427Patch 7.4.162 1428Problem: Running tests in shadow dir doesn't work. 1429Solution: Add testdir/sautest to the shadow target. (James McCoy) 1430Files: src/Makefile 1431 1432Patch 7.4.163 (after 7.4.142) 1433Problem: MS-Windows input doesn't work properly on Windows 7 and earlier. 1434Solution: Add a check for Windows 8. (Yasuhiro Matsumoto) 1435Files: src/os_win32.c 1436 1437Patch 7.4.164 (after 7.4.163) 1438Problem: Problem with event handling on Windows 8. 1439Solution: Ignore duplicate WINDOW_BUFFER_SIZE_EVENTs. (Nobuhiro Takasaki) 1440Files: src/os_win32.c 1441 1442Patch 7.4.165 1443Problem: By default, after closing a buffer changes can't be undone. 1444Solution: In the example vimrc file set 'undofile'. 1445Files: runtime/vimrc_example.vim 1446 1447Patch 7.4.166 1448Problem: Auto-loading a function for code that won't be executed. 1449Solution: Do not auto-load when evaluation is off. (Yasuhiro Matsumoto) 1450Files: src/eval.c 1451 1452Patch 7.4.167 (after 7.4.149) 1453Problem: Fixes are not tested. 1454Solution: Add a test for not autoloading on assignment. (Yukihiro Nakadaira) 1455Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 1456 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 1457 src/testdir/Make_vms.mms, src/testdir/Makefile, 1458 src/testdir/sautest/autoload/Test104.vim, src/testdir/test104.in, 1459 src/testdir/test104.ok 1460 1461Patch 7.4.168 1462Problem: Can't compile with Ruby 2.1.0. 1463Solution: Add support for new GC. (Kohei Suzuki) 1464Files: src/if_ruby.c 1465 1466Patch 7.4.169 1467Problem: ":sleep" puts cursor in the wrong column. (Liang Li) 1468Solution: Add the window offset. (Christian Brabandt) 1469Files: src/ex_docmd.c 1470 1471Patch 7.4.170 1472Problem: Some help tags don't work with ":help". (Tim Chase) 1473Solution: Add exceptions. 1474Files: src/ex_cmds.c 1475 1476Patch 7.4.171 1477Problem: Redo does not set v:count and v:count1. 1478Solution: Use a separate buffer for redo, so that we can set the counts when 1479 performing redo. 1480Files: src/getchar.c, src/globals.h, src/normal.c, src/proto/getchar.pro, 1481 src/structs.h 1482 1483Patch 7.4.172 1484Problem: The blowfish code mentions output feedback, but the code is 1485 actually doing cipher feedback. 1486Solution: Adjust names and comments. 1487Files: src/blowfish.c, src/fileio.c, src/proto/blowfish.pro, 1488 src/memline.c 1489 1490Patch 7.4.173 1491Problem: When using scrollbind the cursor can end up below the last line. 1492 (mvxxc) 1493Solution: Reset w_botfill when scrolling up. (Christian Brabandt) 1494Files: src/move.c 1495 1496Patch 7.4.174 1497Problem: Compiler warnings for Python interface. (Tony Mechelynck) 1498Solution: Add type casts, initialize variable. 1499Files: src/if_py_both.h 1500 1501Patch 7.4.175 1502Problem: When a wide library function fails, falling back to the non-wide 1503 function may do the wrong thing. 1504Solution: Check the platform, when the wide function is supported don't fall 1505 back to the non-wide function. (Ken Takata) 1506Files: src/os_mswin.c, src/os_win32.c 1507 1508Patch 7.4.176 1509Problem: Dictionary.update() throws an error when used without arguments. 1510 Python programmers don't expect that. 1511Solution: Make Dictionary.update() without arguments do nothing. (ZyX) 1512Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test87.in 1513 1514Patch 7.4.177 1515Problem: Compiler warning for unused variable. (Tony Mechelynck) 1516Solution: Add #ifdef. 1517Files: src/move.c 1518 1519Patch 7.4.178 1520Problem: The J command does not update '[ and '] marks. (William Gardner) 1521Solution: Set the marks. (Christian Brabandt) 1522Files: src/ops.c 1523 1524Patch 7.4.179 1525Problem: Warning for type-punned pointer. (Tony Mechelynck) 1526Solution: Use intermediate variable. 1527Files: src/if_py_both.h 1528 1529Patch 7.4.180 (after 7.4.174) 1530Problem: Older Python versions don't support %ld. 1531Solution: Use %d instead. (ZyX) 1532Files: src/if_py_both.h 1533 1534Patch 7.4.181 1535Problem: When using 'pastetoggle' the status lines are not updated. (Samuel 1536 Ferencik, Jan Christoph Ebersbach) 1537Solution: Update the status lines. (Nobuhiro Takasaki) 1538Files: src/getchar.c 1539 1540Patch 7.4.182 1541Problem: Building with mzscheme and racket does not work. (David Chimay) 1542Solution: Adjust autoconf. (Sergey Khorev) 1543Files: src/configure.in, src/auto/configure 1544 1545Patch 7.4.183 1546Problem: MSVC Visual Studio update not supported. 1547Solution: Add version number. (Mike Williams) 1548Files: src/Make_mvc.mak 1549 1550Patch 7.4.184 1551Problem: match() does not work properly with a {count} argument. 1552Solution: Compute the length once and update it. Quit the loop when at the 1553 end. (Hirohito Higashi) 1554Files: src/eval.c, src/testdir/test53.in, src/testdir/test53.ok 1555 1556Patch 7.4.185 1557Problem: Clang gives warnings. 1558Solution: Adjust how bigness is set. (Dominique Pelle) 1559Files: src/ex_cmds.c 1560 1561Patch 7.4.186 (after 7.4.085) 1562Problem: Insert in Visual mode sometimes gives incorrect results. 1563 (Dominique Pelle) 1564Solution: Remember the original insert start position. (Christian Brabandt, 1565 Dominique Pelle) 1566Files: src/edit.c, src/globals.h, src/ops.c, src/structs.h 1567 1568Patch 7.4.187 1569Problem: Delete that crosses line break splits multi-byte character. 1570Solution: Advance a character instead of a byte. (Cade Foster) 1571Files: src/normal.c, src/testdir/test69.in, src/testdir/test69.ok 1572 1573Patch 7.4.188 1574Problem: SIZEOF_LONG clashes with similar defines in header files. 1575Solution: Rename to a name starting with VIM_. Also for SIZEOF_INT. 1576Files: src/if_ruby.c, src/vim.h, src/configure.in, src/auto/configure, 1577 src/config.h.in, src/fileio.c, src/if_python.c, src/message.c, 1578 src/spell.c, src/feature.h, src/os_os2_cfg.h, src/os_vms_conf.h, 1579 src/os_win16.h, src/structs.h 1580 1581Patch 7.4.189 1582Problem: Compiler warning for unused argument. 1583Solution: Add UNUSED. 1584Files: src/eval.c 1585 1586Patch 7.4.190 1587Problem: Compiler warning for using %lld for off_t. 1588Solution: Add type cast. 1589Files: src/fileio.c 1590 1591Patch 7.4.191 1592Problem: Escaping a file name for shell commands can't be done without a 1593 function. 1594Solution: Add the :S file name modifier. 1595Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 1596 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 1597 src/testdir/Make_vms.mms, src/testdir/Makefile, 1598 src/testdir/test105.in, src/testdir/test105.ok, 1599 runtime/doc/cmdline.txt, runtime/doc/eval.txt, 1600 runtime/doc/map.txt, runtime/doc/options.txt, 1601 runtime/doc/quickfix.txt, runtime/doc/usr_30.txt, 1602 runtime/doc/usr_40.txt, runtime/doc/usr_42.txt, 1603 runtime/doc/vi_diff.txt, src/eval.c, src/misc2.c, src/normal.c, 1604 src/proto/misc2.pro 1605 1606Patch 7.4.192 1607Problem: Memory leak when giving E853. 1608Solution: Free the argument. (Dominique Pelle) 1609Files: src/eval.c 1610 1611Patch 7.4.193 1612Problem: Typos in messages. 1613Solution: "then" -> "than". (Dominique Pelle) 1614Files: src/if_py_both.h, src/spell.c 1615 1616Patch 7.4.194 1617Problem: Can't build for Android. 1618Solution: Add #if condition. (Fredrik Fornwall) 1619Files: src/mbyte.c 1620 1621Patch 7.4.195 (after 7.4.193) 1622Problem: Python tests fail. 1623Solution: Change "then" to "than" in more places. (Dominique Pelle, Taro 1624 Muraoka) 1625Files: src/testdir/test86.in, src/testdir/test86.ok, 1626 src/testdir/test87.in, src/testdir/test87.ok 1627 1628Patch 7.4.196 1629Problem: Tests fail on Solaris 9 and 10. 1630Solution: Use "test -f" instead of "test -e". (Laurent Blume) 1631Files: src/testdir/Makefile 1632 1633Patch 7.4.197 1634Problem: Various problems on VMS. 1635Solution: Fix several VMS problems. (Zoltan Arpadffy) 1636Files: runtime/doc/os_vms.txt, src/Make_vms.mms, src/fileio.c, 1637 src/os_unix.c, src/os_unix.h, src/os_vms.c, src/os_vms_conf.h, 1638 src/proto/os_vms.pro, src/testdir/Make_vms.mms, 1639 src/testdir/test72.in, src/testdir/test77a.com, 1640 src/testdir/test77a.in, src/testdir/test77a.ok src/undo.c 1641 1642Patch 7.4.198 1643Problem: Can't build Vim with Perl when -Dusethreads is not specified for 1644 building Perl, and building Vim with --enable-perlinterp=dynamic. 1645Solution: Adjust #ifdefs. (Yasuhiro Matsumoto) 1646Files: src/if_perl.xs 1647 1648Patch 7.4.199 1649Problem: (issue 197) ]P doesn't paste over Visual selection. 1650Solution: Handle Visual mode specifically. (Christian Brabandt) 1651Files: src/normal.c 1652 1653Patch 7.4.200 1654Problem: Too many #ifdefs in the code. 1655Solution: Enable FEAT_VISUAL always, await any complaints 1656Files: src/feature.h 1657 1658Patch 7.4.201 1659Problem: 'lispwords' is a global option. 1660Solution: Make 'lispwords' global-local. (Sung Pae) 1661Files: runtime/doc/options.txt, runtime/optwin.vim, src/buffer.c, 1662 src/misc1.c, src/option.c, src/option.h, src/structs.h, 1663 src/testdir/test100.in, src/testdir/test100.ok 1664 1665Patch 7.4.202 1666Problem: MS-Windows: non-ASCII font names don't work. 1667Solution: Convert between the current code page and 'encoding'. (Ken Takata) 1668Files: src/gui_w48.c, src/os_mswin.c, src/proto/winclip.pro, 1669 src/winclip.c 1670 1671Patch 7.4.203 1672Problem: Parsing 'errorformat' is not correct. 1673Solution: Reset "multiignore" at the start of a multi-line message. (Lcd) 1674Files: src/quickfix.c, src/testdir/Make_amiga.mak, 1675 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 1676 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 1677 src/testdir/Makefile, src/testdir/test106.in, 1678 src/testdir/test106.ok 1679 1680Patch 7.4.204 1681Problem: A mapping where the second byte is 0x80 doesn't work. 1682Solution: Unescape before checking for incomplete multi-byte char. (Nobuhiro 1683 Takasaki) 1684Files: src/getchar.c, src/testdir/test75.in, src/testdir/test75.ok 1685 1686Patch 7.4.205 1687Problem: ":mksession" writes command to move to second argument while it 1688 does not exist. When it does exist the order might be wrong. 1689Solution: Use ":argadd" for each argument instead of using ":args" with a 1690 list of names. (Nobuhiro Takasaki) 1691Files: src/ex_docmd.c 1692 1693Patch 7.4.206 1694Problem: Compiler warnings on 64 bit Windows. 1695Solution: Add type casts. (Mike Williams) 1696Files: src/gui_w48.c, src/os_mswin.c 1697 1698Patch 7.4.207 1699Problem: The cursor report sequence is sometimes not recognized and results 1700 in entering replace mode. 1701Solution: Also check for the cursor report when not asked for. 1702Files: src/term.c 1703 1704Patch 7.4.208 1705Problem: Mercurial picks up some files that are not distributed. 1706Solution: Add patterns to the ignore list. (Cade Forester) 1707Files: .hgignore 1708 1709Patch 7.4.209 1710Problem: When repeating a filter command "%" and "#" are expanded. 1711Solution: Escape the command when storing for redo. (Christian Brabandt) 1712Files: src/ex_cmds.c 1713 1714Patch 7.4.210 1715Problem: Visual block mode plus virtual edit doesn't work well with tabs. 1716 (Liang Li) 1717Solution: Take coladd into account. (Christian Brabandt) 1718Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok 1719 1720Patch 7.4.211 1721Problem: ":lu" is an abbreviation for ":lua", but it should be ":lunmap". 1722 (ZyX) 1723Solution: Move "lunmap" to above "lua". 1724Files: src/ex_cmds.h 1725 1726Patch 7.4.212 (after 7.4.200) 1727Problem: Now that the +visual feature is always enabled the #ifdefs for it 1728 are not useful. 1729Solution: Remove the checks for FEAT_VISUAL. 1730Files: src/buffer.c, src/charset.c, src/edit.c, src/eval.c, 1731 src/ex_cmds.c, src/ex_docmd.c, src/fold.c, src/getchar.c, 1732 src/gui.c, src/gui_mac.c, src/gui_w48.c, src/main.c, src/mark.c, 1733 src/menu.c, src/misc2.c, src/move.c, src/netbeans.c, src/normal.c, 1734 src/ops.c, src/option.c, src/os_msdos.c, src/os_qnx.c, 1735 src/quickfix.c, src/regexp.c, src/regexp_nfa.c, src/screen.c, 1736 src/search.c, src/spell.c, src/syntax.c, src/term.c, src/ui.c, 1737 src/undo.c, src/version.c, src/window.c, src/feature.h, 1738 src/globals.h, src/option.h, src/os_win32.h, src/structs.h 1739 1740Patch 7.4.213 1741Problem: It's not possible to open a new buffer without creating a swap 1742 file. 1743Solution: Add the ":noswapfile" modifier. (Christian Brabandt) 1744Files: runtime/doc/recover.txt, src/ex_cmds.h, src/ex_docmd.c, 1745 src/memline.c, src/structs.h 1746 1747Patch 7.4.214 1748Problem: Compilation problems on HP_nonStop (Tandem). 1749Solution: Add #defines. (Joachim Schmitz) 1750Files: src/vim.h 1751 1752Patch 7.4.215 1753Problem: Inconsistency: ":sp foo" does not reload "foo", unless "foo" is 1754 the current buffer. (Liang Li) 1755Solution: Do not reload the current buffer on a split command. 1756Files: runtime/doc/windows.txt, src/ex_docmd.c 1757 1758Patch 7.4.216 1759Problem: Compiler warnings. (Tony Mechelynck) 1760Solution: Initialize variables, add #ifdef. 1761Files: src/term.c, src/os_unix.h 1762 1763Patch 7.4.217 1764Problem: When src/auto/configure was updated, "make clean" would run 1765 configure pointlessly. 1766Solution: Do not run configure for "make clean" and "make distclean" when 1767 the make program supports $MAKECMDGOALS. (Ken Takata) 1768Files: src/Makefile 1769 1770Patch 7.4.218 1771Problem: It's not easy to remove duplicates from a list. 1772Solution: Add the uniq() function. (Lcd) 1773Files: runtime/doc/change.txt, runtime/doc/eval.txt, 1774 runtime/doc/usr_41.txt, runtime/doc/version7.txt, src/eval.c, 1775 src/testdir/test55.in, src/testdir/test55.ok 1776 1777Patch 7.4.219 1778Problem: When 'relativenumber' or 'cursorline' are set the window is 1779 redrawn much to often. (Patrick Hemmer, Dominique Pelle) 1780Solution: Check the VALID_CROW flag instead of VALID_WROW. 1781Files: src/move.c 1782 1783Patch 7.4.220 1784Problem: Test 105 does not work in a shadow dir. (James McCoy) 1785Solution: Omit "src/" from the checked path. 1786Files: src/testdir/test105.in, src/testdir/test105.ok 1787 1788Patch 7.4.221 1789Problem: Quickfix doesn't resize on ":copen 20". (issue 199) 1790Solution: Resize the window when requested. (Christian Brabandt) 1791Files: src/quickfix.c 1792 1793Patch 7.4.222 1794Problem: The Ruby directory is constructed from parts. 1795Solution: Use 'rubyarchhdrdir' if it exists. (James McCoy) 1796Files: src/configure.in, src/auto/configure 1797 1798Patch 7.4.223 1799Problem: Still using an older autoconf version. 1800Solution: Switch to autoconf 2.69. 1801Files: src/Makefile, src/configure.in, src/auto/configure 1802 1803Patch 7.4.224 1804Problem: /usr/bin/grep on Solaris does not support -F. 1805Solution: Add configure check to find a good grep. (Danek Duvall) 1806Files: src/configure.in, src/auto/configure 1807 1808Patch 7.4.225 1809Problem: Dynamic Ruby doesn't work on Solaris. 1810Solution: Always use the stubs. (Danek Duvall, Yukihiro Nakadaira) 1811Files: src/if_ruby.c 1812 1813Patch 7.4.226 (after 7.4.219) 1814Problem: Cursorline highlighting not redrawn when scrolling. (John 1815 Marriott) 1816Solution: Check for required redraw in two places. 1817Files: src/move.c 1818 1819Patch 7.4.227 (after 7.4.225) 1820Problem: Can't build with Ruby 1.8. 1821Solution: Do include a check for the Ruby version. (Ken Takata) 1822Files: src/if_ruby.c 1823 1824Patch 7.4.228 1825Problem: Compiler warnings when building with Python 3.2. 1826Solution: Make type cast depend on Python version. (Ken Takata) 1827Files: src/if_py_both.h, src/if_python.c, src/if_python3.c 1828 1829Patch 7.4.229 1830Problem: Using ":let" for listing variables and the second one is a curly 1831 braces expression may fail. 1832Solution: Check for an "=" in a better way. (ZyX) 1833Files: src/eval.c, src/testdir/test104.in, src/testdir/test104.ok 1834 1835Patch 7.4.230 1836Problem: Error when using ":options". 1837Solution: Fix the entry for 'lispwords'. (Kenichi Ito) 1838Files: runtime/optwin.vim 1839 1840Patch 7.4.231 1841Problem: An error in ":options" is not caught by the tests. 1842Solution: Add a test for ":options". Set $VIMRUNTIME for the tests so that 1843 it uses the current runtime files instead of the installed ones. 1844Files: src/Makefile, src/testdir/Makefile, src/testdir/test_options.in, 1845 src/testdir/test_options.ok, src/testdir/Make_amiga.mak, 1846 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 1847 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms 1848 1849Patch 7.4.232 1850Problem: ":%s/\n//" uses a lot of memory. (Aidan Marlin) 1851Solution: Turn this into a join command. (Christian Brabandt) 1852Files: src/ex_cmds.c, src/ex_docmd.c, src/proto/ex_docmd.pro 1853 1854Patch 7.4.233 1855Problem: Escaping special characters for using "%" with a shell command is 1856 inconsistent, parentheses are escaped but spaces are not. 1857Solution: Only escape "!". (Gary Johnson) 1858Files: src/ex_docmd.c 1859 1860Patch 7.4.234 1861Problem: Can't get the command that was used to start Vim. 1862Solution: Add v:progpath. (Viktor Kojouharov) 1863Files: runtime/doc/eval.txt, src/eval.c, src/main.c, src/vim.h 1864 1865Patch 7.4.235 1866Problem: It is not easy to get the full path of a command. 1867Solution: Add the exepath() function. 1868Files: src/eval.c, src/misc1.c, src/os_amiga.c, src/os_msdos.c, 1869 src/os_unix.c, src/os_vms.c, src/os_win32.c, 1870 src/proto/os_amiga.pro, src/proto/os_msdos.pro, 1871 src/proto/os_unix.pro, src/proto/os_win32.pro, 1872 runtime/doc/eval.txt 1873 1874Patch 7.4.236 1875Problem: It's not that easy to check the Vim patch version. 1876Solution: Make has("patch-7.4.123") work. (partly by Marc Weber) 1877Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test60.in, 1878 src/testdir/test60.ok 1879 1880Patch 7.4.237 (after 7.4.236) 1881Problem: When some patches were not included has("patch-7.4.123") may return 1882 true falsely. 1883Solution: Check for the specific patch number. 1884Files: runtime/doc/eval.txt, src/eval.c 1885 1886Patch 7.4.238 1887Problem: Vim does not support the smack library. 1888Solution: Add smack support (Jose Bollo) 1889Files: src/config.h.in, src/configure.in, src/fileio.c, src/memfile.c, 1890 src/os_unix.c, src/undo.c, src/auto/configure 1891 1892Patch 7.4.239 1893Problem: ":e +" does not position cursor at end of the file. 1894Solution: Check for "+" being the last character (ZyX) 1895Files: src/ex_docmd.c 1896 1897Patch 7.4.240 1898Problem: ":tjump" shows "\n" as "\\n". 1899Solution: Skip over "\" that escapes a backslash. (Gary Johnson) 1900Files: src/tag.c 1901 1902Patch 7.4.241 1903Problem: The string returned by submatch() does not distinguish between a 1904 NL from a line break and a NL that stands for a NUL character. 1905Solution: Add a second argument to return a list. (ZyX) 1906Files: runtime/doc/eval.txt, src/eval.c, src/proto/regexp.pro, 1907 src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok, 1908 src/testdir/test80.in, src/testdir/test80.ok 1909 1910Patch 7.4.242 1911Problem: getreg() does not distinguish between a NL used for a line break 1912 and a NL used for a NUL character. 1913Solution: Add another argument to return a list. (ZyX) 1914Files: runtime/doc/eval.txt, src/eval.c src/ops.c, src/proto/ops.pro, 1915 src/vim.h, src/Makefile, src/testdir/test_eval.in, 1916 src/testdir/test_eval.ok, src/testdir/Make_amiga.mak, 1917 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 1918 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms 1919 1920Patch 7.4.243 1921Problem: Cannot use setreg() to add text that includes a NUL. 1922Solution: Make setreg() accept a list. 1923Files: runtime/doc/eval.txt, src/eval.c, src/ops.c, src/proto/ops.pro, 1924 src/testdir/test_eval.in, src/testdir/test_eval.ok 1925 1926Patch 7.4.244 (after 7.4.238) 1927Problem: The smack feature causes stray error messages. 1928Solution: Remove the error messages. 1929Files: src/os_unix.c 1930 1931Patch 7.4.245 1932Problem: Crash for "vim -u NONE -N -c '&&'". 1933Solution: Check for the pattern to be NULL. (Dominique Pelle) 1934Files: src/ex_cmds.c 1935 1936Patch 7.4.246 1937Problem: Configure message for detecting smack are out of sequence. 1938Solution: Put the messages in the right place. (Kazunobu Kuriyama) 1939Files: src/configure.in, src/auto/configure 1940 1941Patch 7.4.247 1942Problem: When passing input to system() there is no way to keep NUL and 1943 NL characters separate. 1944Solution: Optionally use a list for the system() input. (ZyX) 1945Files: runtime/doc/eval.txt, src/eval.c 1946 1947Patch 7.4.248 1948Problem: Cannot distinguish between NL and NUL in output of system(). 1949Solution: Add systemlist(). (ZyX) 1950Files: runtime/doc/eval.txt, src/eval.c, src/ex_cmds2.c, src/misc1.c, 1951 src/proto/misc1.pro 1952 1953Patch 7.4.249 1954Problem: Using setreg() with a list of numbers does not work. 1955Solution: Use a separate buffer for numbers. (ZyX) 1956Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok 1957 1958Patch 7.4.250 1959Problem: Some test files missing from distribution. 1960Solution: Add pattern for newly added tests. 1961Files: Filelist 1962 1963Patch 7.4.251 1964Problem: Crash when BufAdd autocommand wipes out the buffer. 1965Solution: Check for buffer to still be valid. Postpone freeing the buffer 1966 structure. (Hirohito Higashi) 1967Files: src/buffer.c, src/ex_cmds.c, src/fileio.c, src/globals.h 1968 1969Patch 7.4.252 1970Problem: Critical error in GTK, removing timer twice. 1971Solution: Clear the timer after removing it. (James McCoy) 1972Files: src/gui_gtk_x11.c 1973 1974Patch 7.4.253 1975Problem: Crash when using cpp syntax file with pattern using external 1976 match. (Havard Garnes) 1977Solution: Discard match when end column is before start column. 1978Files: src/regexp.c, src/regexp_nfa.c 1979 1980Patch 7.4.254 1981Problem: Smack support detection is incomplete. 1982Solution: Check for attr/xattr.h and specific macro. 1983Files: src/configure.in, src/auto/configure 1984 1985Patch 7.4.255 1986Problem: Configure check for smack doesn't work with all shells. (David 1987 Larson) 1988Solution: Remove spaces in set command. 1989Files: src/configure.in, src/auto/configure 1990 1991Patch 7.4.256 (after 7.4.248) 1992Problem: Using systemlist() may cause a crash and does not handle NUL 1993 characters properly. 1994Solution: Increase the reference count, allocate memory by length. (Yasuhiro 1995 Matsumoto) 1996Files: src/eval.c 1997 1998Patch 7.4.257 1999Problem: Compiler warning, possibly for mismatch in parameter name. 2000Solution: Rename the parameter in the declaration. 2001Files: src/ops.c 2002 2003Patch 7.4.258 2004Problem: Configure fails if $CC contains options. 2005Solution: Remove quotes around $CC. (Paul Barker) 2006Files: src/configure.in, src/auto/configure 2007 2008Patch 7.4.259 2009Problem: Warning for misplaced "const". 2010Solution: Move the "const". (Yukihiro Nakadaira) 2011Files: src/os_unix.c 2012 2013Patch 7.4.260 2014Problem: It is possible to define a function with a colon in the name. It 2015 is possible to define a function with a lower case character if a 2016 "#" appears after the name. 2017Solution: Disallow using a colon other than with "s:". Ignore "#" after the 2018 name. 2019Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_eval.in, 2020 src/testdir/test_eval.ok 2021 2022Patch 7.4.261 2023Problem: When updating the window involves a regexp pattern, an interactive 2024 substitute to replace a "\n" with a line break fails. (Ingo 2025 Karkat) 2026Solution: Set reg_line_lbr in vim_regsub() and vim_regsub_multi(). 2027Files: src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok 2028 2029Patch 7.4.262 2030Problem: Duplicate code in regexec(). 2031Solution: Add line_lbr flag to regexec_nl(). 2032Files: src/regexp.c, src/regexp_nfa.c, src/regexp.h 2033 2034Patch 7.4.263 2035Problem: GCC 4.8 compiler warning for hiding a declaration (François Gannaz) 2036Solution: Remove the second declaration. 2037Files: src/eval.c 2038 2039Patch 7.4.264 (after 7.4.260) 2040Problem: Can't define a function starting with "g:". Can't assign a 2041 funcref to a buffer-local variable. 2042Solution: Skip "g:" at the start of a function name. Don't check for colons 2043 when assigning to a variable. 2044Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok 2045 2046Patch 7.4.265 (after 7.4.260) 2047Problem: Can't call a global function with "g:" in an expression. 2048Solution: Skip the "g:" when looking up the function. 2049Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok 2050 2051Patch 7.4.266 2052Problem: Test 62 fails. 2053Solution: Set the language to C. (Christian Brabandt) 2054Files: src/testdir/test62.in 2055 2056Patch 7.4.267 (after 7.4.178) 2057Problem: The '[ mark is in the wrong position after "gq". (Ingo Karkat) 2058Solution: Add the setmark argument to do_join(). (Christian Brabandt) 2059Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 2060 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 2061 src/testdir/Make_vms.mms, src/testdir/Makefile, 2062 src/testdir/test_autoformat_join.in, 2063 src/testdir/test_autoformat_join.ok, src/Makefile, src/edit.c, 2064 src/ex_cmds.c, src/ex_docmd.c, src/normal.c, src/ops.c, 2065 src/proto/ops.pro 2066 2067Patch 7.4.268 2068Problem: Using exists() on a funcref for a script-local function does not 2069 work. 2070Solution: Translate <SNR> to the special byte sequence. Add a test. 2071Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok, 2072 src/testdir/test_eval_func.vim, Filelist 2073 2074Patch 7.4.269 2075Problem: CTRL-U in Insert mode does not work after using a cursor key. 2076 (Pine Wu) 2077Solution: Use the original insert start position. (Christian Brabandt) 2078Files: src/edit.c, src/testdir/test29.in, src/testdir/test29.ok 2079 2080Patch 7.4.270 2081Problem: Comparing pointers instead of the string they point to. 2082Solution: Use strcmp(). (Ken Takata) 2083Files: src/gui_gtk_x11.c 2084 2085Patch 7.4.271 2086Problem: Compiler warning on 64 bit windows. 2087Solution: Add type cast. (Mike Williams) 2088Files: src/ops.c 2089 2090Patch 7.4.272 2091Problem: Using just "$" does not cause an error message. 2092Solution: Check for empty environment variable name. (Christian Brabandt) 2093Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok 2094 2095Patch 7.4.273 2096Problem: "make autoconf" and "make reconfig" may first run configure and 2097 then remove the output. 2098Solution: Add these targets to the exceptions. (Ken Takata) 2099Files: src/Makefile 2100 2101Patch 7.4.274 2102Problem: When doing ":update" just before running an external command that 2103 changes the file, the timestamp may be unchanged and the file 2104 is not reloaded. 2105Solution: Also check the file size. 2106Files: src/fileio.c 2107 2108Patch 7.4.275 2109Problem: When changing the type of a sign that hasn't been placed there is 2110 no error message. 2111Solution: Add an error message. (Christian Brabandt) 2112Files: src/ex_cmds.c 2113 2114Patch 7.4.276 2115Problem: The fish shell is not supported. 2116Solution: Use begin/end instead of () for fish. (Andy Russell) 2117Files: src/ex_cmds.c, src/misc1.c, src/option.c, src/proto/misc1.pro 2118 2119Patch 7.4.277 2120Problem: Using ":sign unplace *" may leave the cursor in the wrong position 2121 (Christian Brabandt) 2122Solution: Update the cursor position when removing all signs. 2123Files: src/buffer.c 2124 2125Patch 7.4.278 2126Problem: list_remove() conflicts with function defined in Sun header file. 2127Solution: Rename the function. (Richard Palo) 2128Files: src/eval.c, src/if_lua.c, src/if_py_both.h, src/proto/eval.pro 2129 2130Patch 7.4.279 2131Problem: globpath() returns a string, making it difficult to get a list of 2132 matches. (Greg Novack) 2133Solution: Add an optional argument like with glob(). (Adnan Zafar) 2134Files: runtime/doc/eval.txt, src/eval.c, src/ex_getln.c, src/misc1.c, 2135 src/misc2.c, src/proto/ex_getln.pro, src/proto/misc2.pro, 2136 src/testdir/test97.in, src/testdir/test97.ok 2137 2138Patch 7.4.280 2139Problem: When using a session file the relative position of the cursor is 2140 not restored if there is another tab. (Nobuhiro Takasaki) 2141Solution: Update w_wrow before calculating the fraction. 2142Files: src/window.c 2143 2144Patch 7.4.281 2145Problem: When a session file has more than one tabpage and 'showtabline' is 2146 one the positions may be slightly off. 2147Solution: Set 'showtabline' to two while positioning windows. 2148Files: src/ex_docmd.c 2149 2150Patch 7.4.282 (after 7.4.279) 2151Problem: Test 97 fails on Mac. 2152Solution: Do not ignore case in file names. (Jun Takimoto) 2153Files: src/testdir/test97.in 2154 2155Patch 7.4.283 (after 7.4.276) 2156Problem: Compiler warning about unused variable. (Charles Cooper) 2157Solution: Move the variable inside the #if block. 2158Files: src/ex_cmds.c 2159 2160Patch 7.4.284 2161Problem: Setting 'langmap' in the modeline can cause trouble. E.g. mapping 2162 ":" breaks many commands. (Jens-Wolfhard Schicke-Uffmann) 2163Solution: Disallow setting 'langmap' from the modeline. 2164Files: src/option.c 2165 2166Patch 7.4.285 2167Problem: When 'relativenumber' is set and deleting lines or undoing that, 2168 line numbers are not always updated. (Robert Arkwright) 2169Solution: (Christian Brabandt) 2170Files: src/misc1.c 2171 2172Patch 7.4.286 2173Problem: Error messages are inconsistent. (ZyX) 2174Solution: Change "Lists" to "list". 2175Files: src/eval.c 2176 2177Patch 7.4.287 2178Problem: Patches for .hgignore don't work, since the file is not in the 2179 distribution. 2180Solution: Add .hgignore to the distribution. Will be effective with the 2181 next version. 2182Files: Filelist 2183 2184Patch 7.4.288 2185Problem: When 'spellfile' is set the screen is not redrawn. 2186Solution: Redraw when updating the spelling info. (Christian Brabandt) 2187Files: src/spell.c 2188 2189Patch 7.4.289 2190Problem: Pattern with repeated backreference does not match with new regexp 2191 engine. (Urtica Dioica) 2192Solution: Also check the end of a submatch when deciding to put a state in 2193 the state list. 2194Files: src/testdir/test64.in, src/testdir/test64.ok, src/regexp_nfa.c 2195 2196Patch 7.4.290 2197Problem: A non-greedy match followed by a branch is too greedy. (Ingo 2198 Karkat) 2199Solution: Add NFA_MATCH when it is already in the state list if the position 2200 differs. 2201Files: src/testdir/test64.in, src/testdir/test64.ok, src/regexp_nfa.c 2202 2203Patch 7.4.291 2204Problem: Compiler warning for int to pointer of different size when DEBUG 2205 is defined. 2206Solution: use smsg() instead of EMSG3(). 2207Files: src/regexp.c 2208 2209Patch 7.4.292 2210Problem: Searching for "a" does not match accented "a" with new regexp 2211 engine, does match with old engine. (David Bürgin) 2212 "ca" does not match "ca" with accented "a" with either engine. 2213Solution: Change the old engine, check for following composing character 2214 also for single-byte patterns. 2215Files: src/regexp.c, src/testdir/test95.in, src/testdir/test95.ok 2216 2217Patch 7.4.293 2218Problem: It is not possible to ignore composing characters at a specific 2219 point in a pattern. 2220Solution: Add the %C item. 2221Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test95.in, 2222 src/testdir/test95.ok, runtime/doc/pattern.txt 2223 2224Patch 7.4.294 (7.4.293) 2225Problem: Test files missing from patch. 2226Solution: Patch the test files. 2227Files: src/testdir/test95.in, src/testdir/test95.ok 2228 2229Patch 7.4.295 2230Problem: Various typos, bad white space and unclear comments. 2231Solution: Fix typos. Improve white space. Update comments. 2232Files: src/testdir/test49.in, src/macros.h, src/screen.c, src/structs.h, 2233 src/gui_gtk_x11.c, src/os_unix.c 2234 2235Patch 7.4.296 2236Problem: Can't run tests on Solaris. 2237Solution: Change the way VIMRUNTIME is set. (Laurent Blume) 2238Files: src/testdir/Makefile 2239 2240Patch 7.4.297 2241Problem: Memory leak from result of get_isolated_shell_name(). 2242Solution: Free the memory. (Dominique Pelle) 2243Files: src/ex_cmds.c, src/misc1.c 2244 2245Patch 7.4.298 2246Problem: Can't have a funcref start with "t:". 2247Solution: Add "t" to the list of accepted names. (Yukihiro Nakadaira) 2248Files: src/eval.c 2249 2250Patch 7.4.299 2251Problem: When running configure twice DYNAMIC_PYTHON_DLL may become empty. 2252Solution: Use AC_CACHE_VAL. (Ken Takata) 2253Files: src/configure.in, src/auto/configure 2254 2255Patch 7.4.300 2256Problem: The way config.cache is removed doesn't always work. 2257Solution: Always remove config.cache. (Ken Takata) 2258Files: src/Makefile 2259 2260Patch 7.4.301 (after 7.4.280) 2261Problem: Still a scrolling problem when loading a session file. 2262Solution: Fix off-by-one mistake. (Nobuhiro Takasaki) 2263Files: src/window.c 2264 2265Patch 7.4.302 2266Problem: Signs placed with 'foldcolumn' set don't show up after filler 2267 lines. 2268Solution: Take filler lines into account. (Olaf Dabrunz) 2269Files: src/screen.c 2270 2271Patch 7.4.303 2272Problem: When using double-width characters the text displayed on the 2273 command line is sometimes truncated. 2274Solution: Reset the string length. (Nobuhiro Takasaki) 2275Files: src/screen.c 2276 2277Patch 7.4.304 2278Problem: Cannot always use Python with Vim. 2279Solution: Add the manifest to the executable. (Jacques Germishuys) 2280Files: src/Make_mvc.mak 2281 2282Patch 7.4.305 2283Problem: Making 'ttymouse' empty after the xterm version was requested 2284 causes problems. (Elijah Griffin) 2285Solution: Do not check for DEC mouse sequences when the xterm version was 2286 requested. Also don't request the xterm version when DEC mouse 2287 was enabled. 2288Files: src/term.c, src/os_unix.c, src/proto/term.pro, src/globals.h 2289 2290Patch 7.4.306 2291Problem: getchar(0) does not return Esc. 2292Solution: Do not wait for an Esc sequence to be complete. (Yasuhiro 2293 Matsumoto) 2294Files: src/eval.c, src/getchar.c 2295 2296Patch 7.4.307 (after 7.4.305) 2297Problem: Can't build without the +termresponse feature. 2298Solution: Add proper #ifdefs. 2299Files: src/os_unix.c, src/term.c 2300 2301Patch 7.4.308 2302Problem: When using ":diffsplit" on an empty file the cursor is displayed 2303 on the command line. 2304Solution: Limit the value of w_topfill. 2305Files: src/diff.c 2306 2307Patch 7.4.309 2308Problem: When increasing the size of the lower window, the upper window 2309 jumps back to the top. (Ron Aaron) 2310Solution: Change setting the topline. (Nobuhiro Takasaki) 2311Files: src/window.c 2312 2313Patch 7.4.310 2314Problem: getpos()/setpos() don't include curswant. 2315Solution: Add a fifth number when getting/setting the cursor. 2316Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok, 2317 runtime/doc/eval.txt 2318 2319Patch 7.4.311 2320Problem: Can't use winrestview to only restore part of the view. 2321Solution: Handle missing items in the dict. (Christian Brabandt) 2322Files: src/eval.c, runtime/doc/eval.txt 2323 2324Patch 7.4.312 2325Problem: Cannot figure out what argument list is being used for a window. 2326Solution: Add the arglistid() function. (Marcin Szamotulski) 2327Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c, 2328 src/ex_docmd.c, src/globals.h, src/structs.h, src/main.c 2329 2330Patch 7.4.313 (after 7.4.310) 2331Problem: Changing the return value of getpos() causes an error. (Jie Zhu) 2332Solution: Revert getpos() and add getcurpos(). 2333Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok, 2334 runtime/doc/eval.txt 2335 2336Patch 7.4.314 2337Problem: Completion messages can get in the way of a plugin. 2338Solution: Add 'c' flag to 'shortmess' option. (Shougo Matsu) 2339Files: runtime/doc/options.txt, src/edit.c, src/option.h, src/screen.c 2340 2341Patch 7.4.315 (after 7.4.309) 2342Problem: Fixes for computation of topline not tested. 2343Solution: Add test. (Hirohito Higashi) 2344Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 2345 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 2346 src/testdir/Make_vms.mms, src/testdir/Makefile, 2347 src/testdir/test107.in, src/testdir/test107.ok 2348 2349Patch 7.4.316 2350Problem: Warning from 64-bit compiler. 2351Solution: Add type cast. (Mike Williams) 2352Files: src/ex_getln.c 2353 2354Patch 7.4.317 2355Problem: Crash when starting gvim. Issue 230. 2356Solution: Check for a pointer to be NULL. (Christian Brabandt) 2357Files: src/window.c 2358 2359Patch 7.4.318 2360Problem: Check for whether a highlight group has settings ignores fg and bg 2361 color settings. 2362Solution: Also check cterm and GUI color settings. (Christian Brabandt) 2363Files: src/syntax.c 2364 2365Patch 7.4.319 2366Problem: Crash when putting zero bytes on the clipboard. 2367Solution: Do not support the utf8_atom target when not using a Unicode 2368 encoding. (Naofumi Honda) 2369Files: src/ui.c 2370 2371Patch 7.4.320 2372Problem: Possible crash when an BufLeave autocommand deletes the buffer. 2373Solution: Check for the window pointer being valid. Postpone freeing the 2374 window until autocommands are done. (Yasuhiro Matsumoto) 2375Files: src/buffer.c, src/fileio.c, src/globals.h, src/window.c 2376 2377Patch 7.4.321 2378Problem: Can't build with strawberry perl 5.20 + mingw-w64-4.9.0. 2379Solution: Define save_strlen. (Ken Takata) 2380Files: src/if_perl.xs 2381 2382Patch 7.4.322 2383Problem: Using "msgfmt" is hard coded, cannot use "gmsgfmt". 2384Solution: Use the msgfmt command found by configure. (Danek Duvall) 2385Files: src/config.mk.in, src/po/Makefile 2386 2387Patch 7.4.323 2388Problem: substitute() with zero width pattern breaks multi-byte character. 2389Solution: Take multi-byte character size into account. (Yukihiro Nakadaira) 2390Files: src/eval.c src/testdir/test69.in, src/testdir/test69.ok 2391 2392Patch 7.4.324 2393Problem: In Ex mode, cyrillic characters are not handled. (Stas Malavin) 2394Solution: Support multi-byte characters in Ex mode. (Yukihiro Nakadaira) 2395Files: src/ex_getln.c 2396 2397Patch 7.4.325 2398Problem: When starting the gui and changing the window size the status line 2399 may not be drawn correctly. 2400Solution: Catch new_win_height() being called recursively. (Christian 2401 Brabandt) 2402Files: src/window.c 2403 2404Patch 7.4.326 2405Problem: Can't build Tiny version. (Elimar Riesebieter) 2406Solution: Add #ifdef. 2407Files: src/window.c 2408 2409Patch 7.4.327 2410Problem: When 'verbose' is set to display the return value of a function, 2411 may get E724 repeatedly. 2412Solution: Do not give an error for verbose messages. Abort conversion to 2413 string after an error. 2414Files: src/eval.c 2415 2416Patch 7.4.328 2417Problem: Selection of inner block is inconsistent. 2418Solution: Skip indent not only for '}' but all parens. (Tom McDonald) 2419Files: src/search.c 2420 2421Patch 7.4.329 2422Problem: When moving the cursor and then switching to another window the 2423 previous window isn't scrolled. (Yukihiro Nakadaira) 2424Solution: Call update_topline() before leaving the window. (Christian 2425 Brabandt) 2426Files: src/window.c 2427 2428Patch 7.4.330 2429Problem: Using a regexp pattern to highlight a specific position can be 2430 slow. 2431Solution: Add matchaddpos() to highlight specific positions efficiently. 2432 (Alexey Radkov) 2433Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, 2434 runtime/plugin/matchparen.vim, src/eval.c, src/ex_docmd.c, 2435 src/proto/window.pro, src/screen.c, src/structs.h, 2436 src/testdir/test63.in, src/testdir/test63.ok, src/window.c 2437 2438Patch 7.4.331 2439Problem: Relative numbering not updated after a linewise yank. Issue 235. 2440Solution: Redraw after the yank. (Christian Brabandt) 2441Files: src/ops.c 2442 2443Patch 7.4.332 2444Problem: GTK: When a sign icon doesn't fit exactly there can be ugly gaps. 2445Solution: Scale the sign to fit when the aspect ratio is not too far off. 2446 (Christian Brabandt) 2447Files: src/gui_gtk_x11.c 2448 2449Patch 7.4.333 2450Problem: Compiler warning for unused function. 2451Solution: Put the function inside the #ifdef. 2452Files: src/screen.c 2453 2454Patch 7.4.334 (after 7.4.330) 2455Problem: Uninitialized variables, causing some problems. 2456Solution: Initialize the variables. (Dominique Pelle) 2457Files: src/screen.c, src/window.c 2458 2459Patch 7.4.335 2460Problem: No digraph for the new rouble sign. 2461Solution: Add the digraphs =R and =P. 2462Files: src/digraph.c, runtime/doc/digraph.txt 2463 2464Patch 7.4.336 2465Problem: Setting 'history' to a big value causes out-of-memory errors. 2466Solution: Limit the value to 10000. (Hirohito Higashi) 2467Files: runtime/doc/options.txt, src/option.c 2468 2469Patch 7.4.337 2470Problem: When there is an error preparing to edit the command line, the 2471 command won't be executed. (Hirohito Higashi) 2472Solution: Reset did_emsg before editing. 2473Files: src/ex_getln.c 2474 2475Patch 7.4.338 2476Problem: Cannot wrap lines taking indent into account. 2477Solution: Add the 'breakindent' option. (many authors, final improvements by 2478 Christian Brabandt) 2479Files: runtime/doc/eval.txt, runtime/doc/options.txt, runtime/optwin.vim, 2480 src/buffer.c, src/charset.c, src/edit.c, src/ex_getln.c, 2481 src/getchar.c, src/misc1.c, src/misc2.c, src/ops.c, src/option.c, 2482 src/option.h, src/proto/charset.pro, src/proto/misc1.pro, 2483 src/proto/option.pro, src/screen.c, src/structs.h, 2484 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 2485 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 2486 src/testdir/Make_vms.mms, src/testdir/Makefile, 2487 src/testdir/test_breakindent.in, src/testdir/test_breakindent.ok, 2488 src/ui.c, src/version.c 2489 2490Patch 7.4.339 2491Problem: Local function is available globally. 2492Solution: Add "static". 2493Files: src/option.c, src/proto/option.pro 2494 2495Patch 7.4.340 2496Problem: Error from sed about illegal bytes when installing Vim. 2497Solution: Prepend LC_ALL=C. (Itchyny) 2498Files: src/installman.sh 2499 2500Patch 7.4.341 2501Problem: sort() doesn't handle numbers well. 2502Solution: Add an argument to specify sorting on numbers. (Christian Brabandt) 2503Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test55.in, 2504 src/testdir/test55.ok 2505 2506Patch 7.4.342 2507Problem: Clang gives warnings. 2508Solution: Add an else block. (Dominique Pelle) 2509Files: src/gui_beval.c 2510 2511Patch 7.4.343 2512Problem: matchdelete() does not always update the right lines. 2513Solution: Fix off-by-one error. (Ozaki Kiichi) 2514Files: src/window.c 2515 2516Patch 7.4.344 2517Problem: Unnecessary initializations and other things related to 2518 matchaddpos(). 2519Solution: Code cleanup. (Alexey Radkov) 2520Files: runtime/doc/eval.txt, src/screen.c, src/window.c 2521 2522Patch 7.4.345 (after 7.4.338) 2523Problem: Indent is not updated when deleting indent. 2524Solution: Remember changedtick. 2525Files: src/misc1.c 2526 2527Patch 7.4.346 (after 7.4.338) 2528Problem: Indent is not updated when changing 'breakindentopt'. (itchyny) 2529Solution: Do not cache "brishift". (Christian Brabandt) 2530Files: src/misc1.c 2531 2532Patch 7.4.347 2533Problem: test55 fails on some systems. 2534Solution: Remove the elements that all result in zero and can end up in an 2535 arbitrary position. 2536Files: src/testdir/test55.in, src/testdir/test55.ok 2537 2538Patch 7.4.348 2539Problem: When using "J1" in 'cinoptions' a line below a continuation line 2540 gets too much indent. 2541Solution: Fix parentheses in condition. 2542Files: src/misc1.c 2543 2544Patch 7.4.349 2545Problem: When there are matches to highlight the whole window is redrawn, 2546 which is slow. 2547Solution: Only redraw everything when lines were inserted or deleted. 2548 Reset b_mod_xlines when needed. (Alexey Radkov) 2549Files: src/screen.c, src/window.c 2550 2551Patch 7.4.350 2552Problem: Using C indenting for Javascript does not work well for a {} block 2553 inside parentheses. 2554Solution: When looking for a matching paren ignore one that is before the 2555 start of a {} block. 2556Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 2557 2558Patch 7.4.351 2559Problem: sort() is not stable. 2560Solution: When the items are identical, compare the pointers. 2561Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok 2562 2563Patch 7.4.352 2564Problem: With 'linebreak' a tab causes a missing line break. 2565Solution: Count a tab for what it's worth also for shorter lines. 2566 (Christian Brabandt) 2567Files: src/charset.c 2568 2569Patch 7.4.353 2570Problem: 'linebreak' doesn't work with the 'list' option. 2571Solution: Make it work. (Christian Brabandt) 2572Files: runtime/doc/options.txt, src/charset.c, src/screen.c, 2573 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 2574 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 2575 src/testdir/Make_vms.mms, src/testdir/Makefile, 2576 src/testdir/test_listlbr.in, src/testdir/test_listlbr.ok 2577 2578Patch 7.4.354 2579Problem: Compiler warning. 2580Solution: Change NUL to NULL. (Ken Takata) 2581Files: src/screen.c 2582 2583Patch 7.4.355 2584Problem: Several problems with Javascript indenting. 2585Solution: Improve Javascript indenting. 2586Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 2587 2588Patch 7.4.356 2589Problem: Mercurial does not ignore memfile_test. (Daniel Hahler) 2590Solution: Add memfile_test to ignored files, remove trailing spaces. 2591Files: .hgignore 2592 2593Patch 7.4.357 2594Problem: After completion some characters are not redrawn. 2595Solution: Clear the command line unconditionally. (Jacob Niehus) 2596Files: src/edit.c 2597 2598Patch 7.4.358 (after 7.4.351) 2599Problem: Sort is not always stable. 2600Solution: Add an index instead of relying on the pointer to remain the same. 2601 Idea by Jun Takimoto. 2602Files: src/eval.c 2603 2604Patch 7.4.359 2605Problem: When 'ttymouse' is set to 'uxterm' the xterm version is not 2606 requested. (Tomas Janousek) 2607Solution: Do not mark uxterm as a conflict mouse and add 2608 resume_get_esc_sequence(). 2609Files: src/term.c, src/os_unix.c, src/proto/term.pro 2610 2611Patch 7.4.360 2612Problem: In a regexp pattern a "$" followed by \v or \V is not seen as the 2613 end-of-line. 2614Solution: Handle the situation. (Ozaki Kiichi) 2615Files: src/regexp.c 2616 2617Patch 7.4.361 2618Problem: Lots of flickering when filling the preview window for 'omnifunc'. 2619Solution: Disable redrawing. (Hirohito Higashi) 2620Files: src/popupmnu.c 2621 2622Patch 7.4.362 2623Problem: When matchaddpos() uses a length smaller than the number of bytes 2624 in the (last) character the highlight continues until the end of 2625 the line. 2626Solution: Change condition from equal to larger-or-equal. 2627Files: src/screen.c 2628 2629Patch 7.4.363 2630Problem: In Windows console typing 0xCE does not work. 2631Solution: Convert 0xCE to K_NUL 3. (Nobuhiro Takasaki et al.) 2632Files: src/os_win32.c, src/term.c 2633 2634Patch 7.4.364 2635Problem: When the viminfo file can't be renamed there is no error message. 2636 (Vladimir Berezhnoy) 2637Solution: Check for the rename to fail. 2638Files: src/ex_cmds.c 2639 2640Patch 7.4.365 2641Problem: Crash when using ":botright split" when there isn't much space. 2642Solution: Add a check for the minimum width/height. (Yukihiro Nakadaira) 2643Files: src/window.c 2644 2645Patch 7.4.366 2646Problem: Can't run the linebreak test on MS-Windows. 2647Solution: Fix the output file name. (Taro Muraoka) 2648Files: src/testdir/Make_dos.mak 2649 2650Patch 7.4.367 (after 7.4.357) 2651Problem: Other solution for redrawing after completion. 2652Solution: Schedule a window redraw instead of just clearing the command 2653 line. (Jacob Niehus) 2654Files: src/edit.c 2655 2656Patch 7.4.368 2657Problem: Restoring the window sizes after closing the command line window 2658 doesn't work properly if there are nested splits. 2659Solution: Restore the sizes twice. (Hirohito Higashi) 2660Files: src/window.c 2661 2662Patch 7.4.369 2663Problem: Using freed memory when exiting while compiled with EXITFREE. 2664Solution: Set curwin to NULL and check for that. (Dominique Pelle) 2665Files: src/buffer.c, src/window.c 2666 2667Patch 7.4.370 2668Problem: Linebreak test fails when encoding is not utf-8. (Danek Duvall) 2669Solution: Split the test in a single byte one and a utf-8 one. (Christian 2670 Brabandt) 2671Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 2672 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 2673 src/testdir/Make_vms.mms, src/testdir/Makefile, 2674 src/testdir/test_listlbr.in, src/testdir/test_listlbr.ok, 2675 src/testdir/test_listlbr_utf8.in, src/testdir/test_listlbr_utf8.ok 2676 2677Patch 7.4.371 2678Problem: When 'linebreak' is set control characters are not correctly 2679 displayed. (Kimmy Lindvall) 2680Solution: Set n_extra. (Christian Brabandt) 2681Files: src/screen.c 2682 2683Patch 7.4.372 2684Problem: When 'winminheight' is zero there might not be one line for the 2685 current window. 2686Solution: Change the size computations. (Yukihiro Nakadaira) 2687Files: src/window.c 2688 2689Patch 7.4.373 2690Problem: Compiler warning for unused argument and unused variable. 2691Solution: Add UNUSED. Move variable inside #ifdef. 2692Files: src/charset.c, src/window.c 2693 2694Patch 7.4.374 2695Problem: Character after "fb" command not mapped if it might be a composing 2696 character. 2697Solution: Don't disable mapping when looking for a composing character. 2698 (Jacob Niehus) 2699Files: src/normal.c 2700 2701Patch 7.4.375 2702Problem: Test 63 fails when run with GUI-only Vim. 2703Solution: Add guibg attributes. (suggested by Mike Soyka) 2704Files: src/testdir/test63.in 2705 2706Patch 7.4.376 (after 7.4.367) 2707Problem: Popup menu flickers too much. 2708Solution: Remove the forced redraw. (Hirohito Higashi) 2709Files: src/edit.c 2710 2711Patch 7.4.377 2712Problem: When 'equalalways' is set a split may report "no room" even though 2713 there is plenty of room. 2714Solution: Compute the available room properly. (Yukihiro Nakadaira) 2715Files: src/window.c 2716 2717Patch 7.4.378 2718Problem: Title of quickfix list is not kept for setqflist(list, 'r'). 2719Solution: Keep the title. Add a test. (Lcd) 2720Files: src/quickfix.c, src/testdir/Make_amiga.mak, 2721 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 2722 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 2723 src/testdir/Makefile, src/testdir/test_qf_title.in, 2724 src/testdir/test_qf_title.ok 2725 2726Patch 7.4.379 2727Problem: Accessing freed memory after using setqflist(list, 'r'). (Lcd) 2728Solution: Reset qf_index. 2729Files: src/quickfix.c 2730 2731Patch 7.4.380 2732Problem: Loading python may cause Vim to exit. 2733Solution: Avoid loading the "site" module. (Taro Muraoka) 2734Files: src/if_python.c 2735 2736Patch 7.4.381 2737Problem: Get u_undo error when backspacing in Insert mode deletes more than 2738 one line break. (Ayberk Ozgur) 2739Solution: Also decrement Insstart.lnum. 2740Files: src/edit.c 2741 2742Patch 7.4.382 2743Problem: Mapping characters may not work after typing Esc in Insert mode. 2744Solution: Fix the noremap flags for inserted characters. (Jacob Niehus) 2745Files: src/getchar.c 2746 2747Patch 7.4.383 2748Problem: Bad interaction between preview window and omnifunc. 2749Solution: Avoid redrawing the status line. (Hirohito Higashi) 2750Files: src/popupmnu.c 2751 2752Patch 7.4.384 2753Problem: Test 102 fails when compiled with small features. 2754Solution: Source small.vim. (Jacob Niehus) 2755Files: src/testdir/test102.in 2756 2757Patch 7.4.385 2758Problem: When building with tiny or small features building the .mo files 2759 fails. 2760Solution: In autoconf do not setup for building the .mo files when it would 2761 fail. 2762Files: src/configure.in, src/auto/configure 2763 2764Patch 7.4.386 2765Problem: When splitting a window the changelist position is wrong. 2766Solution: Copy the changelist position. (Jacob Niehus) 2767Files: src/window.c, src/testdir/Make_amiga.mak, 2768 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 2769 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 2770 src/testdir/Makefile, src/testdir/test_changelist.in, 2771 src/testdir/test_changelist.ok 2772 2773Patch 7.4.387 2774Problem: "4gro" replaces one character then executes "ooo". (Urtica Dioica) 2775Solution: Write the ESC in the second stuff buffer. 2776Files: src/getchar.c, src/proto/getchar.pro, src/edit.c, 2777 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 2778 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 2779 src/testdir/Make_vms.mms, src/testdir/Makefile, 2780 src/testdir/test_insertcount.in, src/testdir/test_insertcount.ok 2781 2782Patch 7.4.388 2783Problem: With 'linebreak' set and 'list' unset a Tab is not counted 2784 properly. (Kent Sibilev) 2785Solution: Check the 'list' option. (Christian Brabandt) 2786Files: src/screen.c, src/testdir/test_listlbr_utf8.in, 2787 src/testdir/test_listlbr_utf8.ok 2788 2789Patch 7.4.389 2790Problem: Still sometimes Vim enters Replace mode when starting up. 2791Solution: Use a different solution in detecting the termresponse and 2792 location response. (Hayaki Saito) 2793Files: src/globals.h, src/os_unix.c, src/term.c, src/proto/term.pro 2794 2795Patch 7.4.390 2796Problem: Advancing pointer over end of a string. 2797Solution: Init quote character to -1 instead of zero. (Dominique Pelle) 2798Files: src/misc1.c 2799 2800Patch 7.4.391 2801Problem: No 'cursorline' highlighting when the cursor is on a line with 2802 diff highlighting. (Benjamin Fritz) 2803Solution: Combine the highlight attributes. (Christian Brabandt) 2804Files: src/screen.c 2805 2806Patch 7.4.392 2807Problem: Not easy to detect type of command line window. 2808Solution: Add the getcmdwintype() function. (Jacob Niehus) 2809Files: src/eval.c 2810 2811Patch 7.4.393 2812Problem: Text drawing on newer MS-Windows systems is suboptimal. Some 2813 multi-byte characters are not displayed, even though the same font 2814 in Notepad can display them. (Srinath Avadhanula) 2815Solution: Add the 'renderoptions' option to enable DirectX drawing. (Taro 2816 Muraoka) 2817Files: runtime/doc/eval.txt, runtime/doc/options.txt, 2818 runtime/doc/various.txt, src/Make_cyg.mak, src/Make_ming.mak, 2819 src/Make_mvc.mak, src/eval.c, src/gui_dwrite.cpp, 2820 src/gui_dwrite.h, src/gui_w32.c, src/gui_w48.c, src/option.c, 2821 src/option.h, src/version.c, src/vim.h, src/proto/gui_w32.pro 2822 2823Patch 7.4.394 (after 7.4.393) 2824Problem: When using DirectX last italic character is incomplete. 2825Solution: Add one to the number of cells. (Ken Takata) 2826Files: src/gui_w32.c 2827 2828Patch 7.4.395 (after 7.4.355) 2829Problem: C indent is wrong below an if with wrapped condition followed by 2830 curly braces. (Trevor Powell) 2831Solution: Make a copy of tryposBrace. 2832Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 2833 2834Patch 7.4.396 2835Problem: When 'clipboard' is "unnamed", :g/pat/d is very slow. (Praful) 2836Solution: Only set the clipboard after the last delete. (Christian Brabandt) 2837Files: src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/globals.h, 2838 src/ops.c, src/proto/ui.pro, src/ui.c 2839 2840Patch 7.4.397 2841Problem: Matchparen only uses the topmost syntax item. 2842Solution: Go through the syntax stack to find items. (James McCoy) 2843 Also use getcurpos() when possible. 2844Files: runtime/plugin/matchparen.vim 2845 2846Patch 7.4.398 (after 7.4.393) 2847Problem: Gcc error for the argument of InterlockedIncrement() and 2848 InterlockedDecrement(). (Axel Bender) 2849Solution: Remove "unsigned" from the cRefCount_ declaration. 2850Files: src/gui_dwrite.cpp 2851 2852Patch 7.4.399 2853Problem: Encryption implementation is messy. Blowfish encryption has a 2854 weakness. 2855Solution: Refactor the encryption, store the state in an allocated struct 2856 instead of using a save/restore mechanism. Introduce the 2857 "blowfish2" method, which does not have the weakness and encrypts 2858 the whole undo file. (largely by David Leadbeater) 2859Files: runtime/doc/editing.txt, runtime/doc/options.txt, src/Makefile, 2860 src/blowfish.c, src/crypt.c, src/crypt_zip.c, src/ex_docmd.c, 2861 src/fileio.c, src/globals.h, src/main.c, src/memline.c, 2862 src/misc2.c, src/option.c, src/proto.h, src/proto/blowfish.pro, 2863 src/proto/crypt.pro, src/proto/crypt_zip.pro, 2864 src/proto/fileio.pro, src/proto/misc2.pro, src/structs.h, 2865 src/undo.c, src/testdir/test71.in, src/testdir/test71.ok, 2866 src/testdir/test71a.in, src/testdir/test72.in, 2867 src/testdir/test72.ok 2868 2869Patch 7.4.400 2870Problem: List of distributed files is incomplete. 2871Solution: Add recently added files. 2872Files: Filelist 2873 2874Patch 7.4.401 (after 7.4.399) 2875Problem: Can't build on MS-Windows. 2876Solution: Include the new files in all the Makefiles. 2877Files: src/Make_bc3.mak, src/Make_bc5.mak, src/Make_cyg.mak, 2878 src/Make_dice.mak, src/Make_djg.mak, src/Make_ivc.mak, 2879 src/Make_manx.mak, src/Make_ming.mak, src/Make_morph.mak, 2880 src/Make_mvc.mak, src/Make_os2.mak, src/Make_sas.mak, 2881 Make_vms.mms 2882 2883Patch 7.4.402 2884Problem: Test 72 crashes under certain conditions. (Kazunobu Kuriyama) 2885Solution: Clear the whole bufinfo_T early. 2886Files: src/undo.c 2887 2888Patch 7.4.403 2889Problem: Valgrind reports errors when running test 72. (Dominique Pelle) 2890Solution: Reset the local 'cryptmethod' option before storing the seed. 2891 Set the seed in the memfile even when there is no block0 yet. 2892Files: src/fileio.c, src/option.c, src/memline.c 2893 2894Patch 7.4.404 2895Problem: Windows 64 bit compiler warnings. 2896Solution: Add type casts. (Mike Williams) 2897Files: src/crypt.c, src/undo.c 2898 2899Patch 7.4.405 2900Problem: Screen updating is slow when using matches. 2901Solution: Do not use the ">=" as in patch 7.4.362, check the lnum. 2902Files: src/screen.c, src/testdir/test63.in, src/testdir/test63.ok 2903 2904Patch 7.4.406 2905Problem: Test 72 and 100 fail on MS-Windows. 2906Solution: Set fileformat to unix in the tests. (Taro Muraoka) 2907Files: src/testdir/test72.in, src/testdir/test100.in 2908 2909Patch 7.4.407 2910Problem: Inserting text for Visual block mode, with cursor movement, 2911 repeats the wrong text. (Aleksandar Ivanov) 2912Solution: Reset the update_Insstart_orig flag. (Christian Brabandt) 2913Files: src/edit.c, src/testdir/test39.in, src/testdir/test39.ok 2914 2915Patch 7.4.408 2916Problem: Visual block insert breaks a multi-byte character. 2917Solution: Calculate the position properly. (Yasuhiro Matsumoto) 2918Files: src/ops.c, src/testdir/test_utf8.in, src/testdir/test_utf8.ok, 2919 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 2920 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 2921 src/testdir/Make_vms.mms, src/testdir/Makefile 2922 2923Patch 7.4.409 2924Problem: Can't build with Perl on Fedora 20. 2925Solution: Find xsubpp in another directory. (Michael Henry) 2926Files: src/Makefile, src/config.mk.in, src/configure.in, 2927 src/auto/configure 2928 2929Patch 7.4.410 2930Problem: Fold does not open after search when there is a CmdwinLeave 2931 autocommand. 2932Solution: Restore KeyTyped. (Jacob Niehus) 2933Files: src/ex_getln.c 2934 2935Patch 7.4.411 2936Problem: "foo bar" sorts before "foo" with sort(). (John Little) 2937Solution: Avoid putting quotes around strings before comparing them. 2938Files: src/eval.c 2939 2940Patch 7.4.412 2941Problem: Can't build on Windows XP with MSVC. 2942Solution: Add SUBSYSTEM_VER to the Makefile. (Yongwei Wu) 2943Files: src/Make_mvc.mak, src/INSTALLpc.txt 2944 2945Patch 7.4.413 2946Problem: MS-Windows: Using US international keyboard layout, inserting dead 2947 key by pressing space does not always work. Issue 250. 2948Solution: Let MS-Windows translate the message. (John Wellesz) 2949Files: src/gui_w48.c 2950 2951Patch 7.4.414 2952Problem: Cannot define a command only when it's used. 2953Solution: Add the CmdUndefined autocommand event. (partly by Yasuhiro 2954 Matsumoto) 2955Files: runtime/doc/autocmd.txt, src/ex_docmd.c, src/fileio.c, 2956 src/proto/fileio.pro 2957 2958Patch 7.4.415 (after 7.4.414) 2959Problem: Cannot build. Warning for shadowed variable. (John Little) 2960Solution: Add missing change. Remove declaration. 2961Files: src/vim.h, src/ex_docmd.c 2962 2963Patch 7.4.416 2964Problem: Problem with breakindent/showbreak and tabs. 2965Solution: Handle tabs differently. (Christian Brabandt) 2966Files: src/testdir/test_breakindent.in, src/testdir/test_breakindent.ok, 2967 src/charset.c 2968 2969Patch 7.4.417 2970Problem: After splitting a window and setting 'breakindent' the default 2971 minimum with is not respected. 2972Solution: Call briopt_check() when copying options to a new window. 2973Files: src/option.c, src/proto/option.pro, 2974 src/testdir/test_breakindent.in 2975 2976Patch 7.4.418 2977Problem: When leaving ":append" the cursor shape is like in Insert mode. 2978 (Jacob Niehus) 2979Solution: Do not have State set to INSERT when calling getline(). 2980Files: src/ex_cmds.c 2981 2982Patch 7.4.419 2983Problem: When part of a list is locked it's possible to make changes. 2984Solution: Check if any of the list items is locked before make a change. 2985 (ZyX) 2986Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok 2987 2988Patch 7.4.420 2989Problem: It's not obvious how to add a new test. 2990Solution: Add a README file. (Christian Brabandt) 2991Files: src/testdir/README.txt 2992 2993Patch 7.4.421 2994Problem: Crash when searching for "\ze*". (Urtica Dioica) 2995Solution: Disallow a multi after \ze and \zs. 2996Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 2997 2998Patch 7.4.422 2999Problem: When using conceal with linebreak some text is not displayed 3000 correctly. (Grüner Gimpel) 3001Solution: Check for conceal mode when using linebreak. (Christian Brabandt) 3002Files: src/screen.c, src/testdir/test_listlbr.in, 3003 src/testdir/test_listlbr.ok 3004 3005Patch 7.4.423 3006Problem: expand("$shell") does not work as documented. 3007Solution: Do not escape the $ when expanding environment variables. 3008Files: src/os_unix.c, src/misc1.c, src/vim.h 3009 3010Patch 7.4.424 3011Problem: Get ml_get error when using Python to delete lines in a buffer 3012 that is not in a window. issue 248. 3013Solution: Do not try adjusting the cursor for a different buffer. 3014Files: src/if_py_both.h 3015 3016Patch 7.4.425 3017Problem: When 'showbreak' is used "gj" may move to the wrong position. 3018 (Nazri Ramliy) 3019Solution: Adjust virtcol when 'showbreak' is set. (Christian Brabandt) 3020Files: src/normal.c 3021 3022Patch 7.4.426 3023Problem: README File missing from list of files. 3024Solution: Update the list of files. 3025Files: Filelist 3026 3027Patch 7.4.427 3028Problem: When an InsertCharPre autocommand executes system() typeahead may 3029 be echoed and messes up the display. (Jacob Niehus) 3030Solution: Do not set cooked mode when invoked from ":silent". 3031Files: src/eval.c, runtime/doc/eval.txt 3032 3033Patch 7.4.428 3034Problem: executable() may return a wrong result on MS-Windows. 3035Solution: Change the way SearchPath() is called. (Yasuhiro Matsumoto, Ken 3036 Takata) 3037Files: src/os_win32.c 3038 3039Patch 7.4.429 3040Problem: Build fails with fewer features. (Elimar Riesebieter) 3041Solution: Add #ifdef. 3042Files: src/normal.c 3043 3044Patch 7.4.430 3045Problem: test_listlbr fails when compiled with normal features. 3046Solution: Check for the +conceal feature. 3047Files: src/testdir/test_listlbr.in 3048 3049Patch 7.4.431 3050Problem: Compiler warning. 3051Solution: Add type cast. (Mike Williams) 3052Files: src/ex_docmd.c 3053 3054Patch 7.4.432 3055Problem: When the startup code expands command line arguments, setting 3056 'encoding' will not properly convert the arguments. 3057Solution: Call get_cmd_argsW() early in main(). (Yasuhiro Matsumoto) 3058Files: src/os_win32.c, src/main.c, src/os_mswin.c 3059 3060Patch 7.4.433 3061Problem: Test 75 fails on MS-Windows. 3062Solution: Use ":normal" instead of feedkeys(). (Michael Soyka) 3063Files: src/testdir/test75.in 3064 3065Patch 7.4.434 3066Problem: gettabvar() is not consistent with getwinvar() and getbufvar(). 3067Solution: Return a dict with all variables when the varname is empty. 3068 (Yasuhiro Matsumoto) 3069Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test91.in, 3070 src/testdir/test91.ok 3071 3072Patch 7.4.435 3073Problem: Line formatting behaves differently when 'linebreak' is set. 3074 (mvxxc) 3075Solution: Disable 'linebreak' temporarily. (Christian Brabandt) 3076Files: src/edit.c 3077 3078Patch 7.4.436 3079Problem: ml_get error for autocommand that moves the cursor of the current 3080 window. 3081Solution: Check the cursor position after switching back to the current 3082 buffer. (Christian Brabandt) 3083Files: src/fileio.c 3084 3085Patch 7.4.437 3086Problem: New and old regexp engine are not consistent. 3087Solution: Also give an error for "\ze*" for the old regexp engine. 3088Files: src/regexp.c, src/regexp_nfa.c 3089 3090Patch 7.4.438 3091Problem: Cached values for 'cino' not reset for ":set all&". 3092Solution: Call parse_cino(). (Yukihiro Nakadaira) 3093Files: src/option.c 3094 3095Patch 7.4.439 3096Problem: Duplicate message in message history. Some quickfix messages 3097 appear twice. (Gary Johnson) 3098Solution: Do not reset keep_msg too early. (Hirohito Higashi) 3099Files: src/main.c 3100 3101Patch 7.4.440 3102Problem: Omni complete popup drawn incorrectly. 3103Solution: Call validate_cursor() instead of check_cursor(). (Hirohito 3104 Higashi) 3105Files: src/edit.c 3106 3107Patch 7.4.441 3108Problem: Endless loop and other problems when 'cedit' is set to CTRL-C. 3109Solution: Do not call ex_window() when ex_normal_busy or got_int was set. 3110 (Yasuhiro Matsumoto) 3111Files: src/ex_getln.c 3112 3113Patch 7.4.442 (after 7.4.434) 3114Problem: Using uninitialized variable. 3115Solution: Pass the first window of the tabpage. 3116Files: src/eval.c 3117 3118Patch 7.4.443 3119Problem: Error reported by ubsan when running test 72. 3120Solution: Add type cast to unsigned. (Dominique Pelle) 3121Files: src/undo.c 3122 3123Patch 7.4.444 3124Problem: Reversed question mark not recognized as punctuation. (Issue 258) 3125Solution: Add the Supplemental Punctuation range. 3126Files: src/mbyte.c 3127 3128Patch 7.4.445 3129Problem: Clipboard may be cleared on startup. 3130Solution: Set clip_did_set_selection to -1 during startup. (Christian 3131 Brabandt) 3132Files: src/main.c, src/ui.c 3133 3134Patch 7.4.446 3135Problem: In some situations, when setting up an environment to trigger an 3136 autocommand, the environment is not properly restored. 3137Solution: Check the return value of switch_win() and call restore_win() 3138 always. (Daniel Hahler) 3139Files: src/eval.c, src/misc2.c, src/window.c 3140 3141Patch 7.4.447 3142Problem: Spell files from Hunspell may generate a lot of errors. 3143Solution: Add the IGNOREEXTRA flag. 3144Files: src/spell.c, runtime/doc/spell.txt 3145 3146Patch 7.4.448 3147Problem: Using ETO_IGNORELANGUAGE causes problems. 3148Solution: Remove this flag. (Paul Moore) 3149Files: src/gui_w32.c 3150 3151Patch 7.4.449 3152Problem: Can't easily close the help window. (Chris Gaal) 3153Solution: Add ":helpclose". (Christian Brabandt) 3154Files: runtime/doc/helphelp.txt, runtime/doc/index.txt, src/ex_cmds.c, 3155 src/ex_cmds.h, src/proto/ex_cmds.pro 3156 3157Patch 7.4.450 3158Problem: Not all commands that edit another buffer support the +cmd 3159 argument. 3160Solution: Add the +cmd argument to relevant commands. (Marcin Szamotulski) 3161Files: runtime/doc/windows.txt, src/ex_cmds.h, src/ex_docmd.c 3162 3163Patch 7.4.451 3164Problem: Calling system() with empty input gives an error for writing the 3165 temp file. 3166Solution: Do not try writing if the string length is zero. (Olaf Dabrunz) 3167Files: src/eval.c 3168 3169Patch 7.4.452 3170Problem: Can't build with tiny features. (Tony Mechelynck) 3171Solution: Use "return" instead of "break". 3172Files: src/ex_cmds.c 3173 3174Patch 7.4.453 3175Problem: Still can't build with tiny features. 3176Solution: Add #ifdef. 3177Files: src/ex_cmds.c 3178 3179Patch 7.4.454 3180Problem: When using a Visual selection of multiple words and doing CTRL-W_] 3181 it jumps to the tag matching the word under the cursor, not the 3182 selected text. (Patrick hemmer) 3183Solution: Do not reset Visual mode. (idea by Christian Brabandt) 3184Files: src/window.c 3185 3186Patch 7.4.455 3187Problem: Completion for :buf does not use 'wildignorecase'. (Akshay H) 3188Solution: Pass the 'wildignorecase' flag around. 3189Files: src/buffer.c 3190 3191Patch 7.4.456 3192Problem: 'backupcopy' is global, cannot write only some files in a 3193 different way. 3194Solution: Make 'backupcopy' global-local. (Christian Brabandt) 3195Files: runtime/doc/options.txt, src/buffer.c, src/fileio.c, src/option.c, 3196 src/option.h, src/proto/option.pro, src/structs.h 3197 3198Patch 7.4.457 3199Problem: Using getchar() in an expression mapping may result in 3200 K_CURSORHOLD, which can't be recognized. 3201Solution: Add the <CursorHold> key. (Hirohito Higashi) 3202Files: src/misc2.c 3203 3204Patch 7.4.458 3205Problem: Issue 252: Cursor moves in a zero-height window. 3206Solution: Check for zero height. (idea by Christian Brabandt) 3207Files: src/move.c 3208 3209Patch 7.4.459 3210Problem: Can't change the icon after building Vim. 3211Solution: Load the icon from a file on startup. (Yasuhiro Matsumoto) 3212Files: src/gui_w32.c, src/os_mswin.c, src/os_win32.c, 3213 src/proto/os_mswin.pro 3214 3215Patch 7.4.460 (after 7.4.454) 3216Problem: Can't build without the quickfix feature. (Erik Falor) 3217Solution: Add a #ifdef. 3218Files: src/window.c 3219 3220Patch 7.4.461 3221Problem: MS-Windows: When collate is on the number of copies is too high. 3222Solution: Only set the collated/uncollated count when collate is on. 3223 (Yasuhiro Matsumoto) 3224Files: src/os_mswin.c 3225 3226Patch 7.4.462 3227Problem: Setting the local value of 'backupcopy' empty gives an error. 3228 (Peter Mattern) 3229Solution: When using an empty value set the flags to zero. (Hirohito 3230 Higashi) 3231Files: src/option.c 3232 3233Patch 7.4.463 3234Problem: Test 86 and 87 may hang on MS-Windows. 3235Solution: Call inputrestore() after inputsave(). (Ken Takata) 3236Files: src/testdir/test86.in, src/testdir/test87.in 3237 3238Patch 7.4.464 (after 7.4.459) 3239Problem: Compiler warning. 3240Solution: Add type cast. (Ken Takata) 3241Files: src/gui_w32.c 3242 3243Patch 7.4.465 (after 7.4.016) 3244Problem: Crash when expanding a very long string. 3245Solution: Use wcsncpy() instead of wcscpy(). (Ken Takata) 3246Files: src/os_win32.c 3247 3248Patch 7.4.466 (after 7.4.460) 3249Problem: CTRL-W } does not open preview window. (Erik Falor) 3250Solution: Don't set g_do_tagpreview for CTRL-W }. 3251Files: src/window.c 3252 3253Patch 7.4.467 3254Problem: 'linebreak' does not work well together with Visual mode. 3255Solution: Disable 'linebreak' while applying an operator. Fix the test. 3256 (Christian Brabandt) 3257Files: src/normal.c, src/screen.c, src/testdir/test_listlbr.in, 3258 src/testdir/test_listlbr.ok 3259 3260Patch 7.4.468 3261Problem: Issue 26: CTRL-C does not interrupt after it was mapped and then 3262 unmapped. 3263Solution: Reset mapped_ctrl_c. (Christian Brabandt) 3264Files: src/getchar.c 3265 3266Patch 7.4.469 (after 7.4.467) 3267Problem: Can't build with MSVC. (Ken Takata) 3268Solution: Move the assignment after the declarations. 3269Files: src/normal.c 3270 3271Patch 7.4.470 3272Problem: Test 11 and 100 do not work properly on Windows. 3273Solution: Avoid using feedkeys(). (Ken Takata) 3274Files: src/testdir/Make_dos.mak, src/testdir/test11.in, 3275 src/testdir/test100.in 3276 3277Patch 7.4.471 3278Problem: MS-Windows: When printer name contains multi-byte, the name is 3279 displayed as ???. 3280Solution: Convert the printer name from the active codepage to 'encoding'. 3281 (Yasuhiro Matsumoto) 3282Files: src/os_mswin.c 3283 3284Patch 7.4.472 3285Problem: The "precedes" entry in 'listchar' will be drawn when 'showbreak' 3286 is set and 'list' is not. 3287Solution: Only draw this character when 'list' is on. (Christian Brabandt) 3288Files: src/screen.c 3289 3290Patch 7.4.473 3291Problem: Cursor movement is incorrect when there is a number/sign/fold 3292 column and 'sbr' is displayed. 3293Solution: Adjust the column for 'sbr'. (Christian Brabandt) 3294Files: src/charset.c 3295 3296Patch 7.4.474 3297Problem: AIX compiler can't handle // comment. Issue 265. 3298Solution: Remove that line. 3299Files: src/regexp_nfa.c 3300 3301Patch 7.4.475 3302Problem: Can't compile on a system where Xutf8SetWMProperties() is not in 3303 the X11 library. Issue 265. 3304Solution: Add a configure check. 3305Files: src/configure.in, src/auto/configure, src/config.h.in, 3306 src/os_unix.c 3307 3308Patch 7.4.476 3309Problem: MingW: compiling with "XPM=no" doesn't work. 3310Solution: Check for the "no" value. (KF Leong) Also for Cygwin. (Ken 3311 Takata) 3312Files: src/Make_ming.mak, src/Make_cyg.mak 3313 3314Patch 7.4.477 3315Problem: When using ":%diffput" and the other file is empty an extra empty 3316 line remains. 3317Solution: Set the buf_empty flag. 3318Files: src/diff.c 3319 3320Patch 7.4.478 3321Problem: Using byte length instead of character length for 'showbreak'. 3322Solution: Compute the character length. (Marco Hinz) 3323Files: src/charset.c 3324 3325Patch 7.4.479 3326Problem: MS-Windows: The console title can be wrong. 3327Solution: Take the encoding into account. When restoring the title use the 3328 right function. (Yasuhiro Matsumoto) 3329Files: src/os_mswin.c, src/os_win32.c 3330 3331Patch 7.4.480 (after 7.4.479) 3332Problem: MS-Windows: Can't build. 3333Solution: Remove goto, use a flag instead. 3334Files: src/os_win32.c 3335 3336Patch 7.4.481 (after 7.4.471) 3337Problem: Compiler warning on MS-Windows. 3338Solution: Add type casts. (Ken Takata) 3339Files: src/os_mswin.c 3340 3341Patch 7.4.482 3342Problem: When 'balloonexpr' results in a list, the text has a trailing 3343 newline. (Lcd) 3344Solution: Remove one trailing newline. 3345Files: src/gui_beval.c 3346 3347Patch 7.4.483 3348Problem: A 0x80 byte is not handled correctly in abbreviations. 3349Solution: Unescape special characters. Add a test. (Christian Brabandt) 3350Files: src/getchar.c, src/testdir/Make_amiga.mak, 3351 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 3352 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 3353 src/testdir/Makefile, src/testdir/test_mapping.in, 3354 src/testdir/test_mapping.ok 3355 3356Patch 7.4.484 (after 7.4.483) 3357Problem: Compiler warning on MS-Windows. (Ken Takata) 3358Solution: Add type cast. 3359Files: src/getchar.c 3360 3361Patch 7.4.485 (after 7.4.484) 3362Problem: Abbreviations don't work. (Toothpik) 3363Solution: Move the length computation inside the for loop. Compare against 3364 the unescaped key. 3365Files: src/getchar.c 3366 3367Patch 7.4.486 3368Problem: Check for writing to a yank register is wrong. 3369Solution: Negate the check. (Zyx). Also clean up the #ifdefs. 3370Files: src/ex_docmd.c, src/ex_cmds.h 3371 3372Patch 7.4.487 3373Problem: ":sign jump" may use another window even though the file is 3374 already edited in the current window. 3375Solution: First check if the file is in the current window. (James McCoy) 3376Files: src/window.c, src/testdir/Make_amiga.mak, 3377 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 3378 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 3379 src/testdir/Makefile, src/testdir/test_signs.in, 3380 src/testdir/test_signs.ok 3381 3382Patch 7.4.488 3383Problem: test_mapping fails for some people. 3384Solution: Set the 'encoding' option. (Ken Takata) 3385Files: src/testdir/test_mapping.in 3386 3387Patch 7.4.489 3388Problem: Cursor movement still wrong when 'lbr' is set and there is a 3389 number column. (Hirohito Higashi) 3390Solution: Add correction for number column. (Hiroyuki Takagi) 3391Files: src/charset.c 3392 3393Patch 7.4.490 3394Problem: Cannot specify the buffer to use for "do" and "dp", making them 3395 useless for three-way diff. 3396Solution: Use the count as the buffer number. (James McCoy) 3397Files: runtime/doc/diff.txt, src/diff.c, src/normal.c, src/proto/diff.pro 3398 3399Patch 7.4.491 3400Problem: When winrestview() has a negative "topline" value there are 3401 display errors. 3402Solution: Correct a negative value to 1. (Hirohito Higashi) 3403Files: src/eval.c 3404 3405Patch 7.4.492 3406Problem: In Insert mode, after inserting a newline that inserts a comment 3407 leader, CTRL-O moves to the right. (ZyX) Issue 57. 3408Solution: Correct the condition for moving the cursor back to the NUL. 3409 (Christian Brabandt) 3410Files: src/edit.c, src/testdir/test4.in, src/testdir/test4.ok 3411 3412Patch 7.4.493 3413Problem: A TextChanged autocommand is triggered when saving a file. 3414 (William Gardner) 3415Solution: Update last_changedtick after calling unchanged(). (Christian 3416 Brabandt) 3417Files: src/fileio.c 3418 3419Patch 7.4.494 3420Problem: Cursor shape is wrong after a CompleteDone autocommand. 3421Solution: Update the cursor and mouse shape after ":normal" restores the 3422 state. (Jacob Niehus) 3423Files: src/ex_docmd.c 3424 3425Patch 7.4.495 3426Problem: XPM isn't used correctly in the Cygwin Makefile. 3427Solution: Include the rules like in Make_ming.mak. (Ken Takata) 3428Files: src/Make_cyg.mak 3429 3430Patch 7.4.496 3431Problem: Many lines are both in Make_cyg.mak and Make_ming.mak 3432Solution: Move the common parts to one file. (Ken Takata) 3433Files: src/INSTALLpc.txt, src/Make_cyg.mak, src/Make_cyg_ming.mak, 3434 src/Make_ming.mak, src/Make_mvc.mak, Filelist 3435 3436Patch 7.4.497 3437Problem: With some regexp patterns the NFA engine uses many states and 3438 becomes very slow. To the user it looks like Vim freezes. 3439Solution: When the number of states reaches a limit fall back to the old 3440 engine. (Christian Brabandt) 3441Files: runtime/doc/options.txt, src/Makefile, src/regexp.c, src/regexp.h, 3442 src/regexp_nfa.c, src/testdir/Make_dos.mak, 3443 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 3444 src/testdir/Makefile, src/testdir/samples/re.freeze.txt, 3445 src/testdir/bench_re_freeze.in, src/testdir/bench_re_freeze.vim, 3446 Filelist 3447 3448Patch 7.4.498 (after 7.4.497) 3449Problem: Typo in DOS makefile. 3450Solution: Change exists to exist. (Ken Takata) 3451Files: src/testdir/Make_dos.mak 3452 3453Patch 7.4.499 3454Problem: substitute() can be slow with long strings. 3455Solution: Store a pointer to the end, instead of calling strlen() every 3456 time. (Ozaki Kiichi) 3457Files: src/eval.c 3458 3459Patch 7.4.500 3460Problem: Test 72 still fails once in a while. 3461Solution: Don't set 'fileformat' to unix, reset it. (Ken Takata) 3462Files: src/testdir/test72.in 3463 3464Patch 7.4.501 (after 7.4.497) 3465Problem: Typo in file pattern. 3466Solution: Insert a slash and remove a dot. 3467Files: Filelist 3468 3469Patch 7.4.502 3470Problem: Language mapping also applies to mapped characters. 3471Solution: Add the 'langnoremap' option, when on 'langmap' does not apply to 3472 mapped characters. (Christian Brabandt) 3473Files: runtime/doc/options.txt, runtime/vimrc_example.vim, src/macros.h, 3474 src/option.c, src/option.h 3475 3476Patch 7.4.503 3477Problem: Cannot append a list of lines to a file. 3478Solution: Add the append option to writefile(). (Yasuhiro Matsumoto) 3479Files: runtime/doc/eval.txt, src/Makefile, src/eval.c, 3480 src/testdir/test_writefile.in, src/testdir/test_writefile.ok 3481 3482Patch 7.4.504 3483Problem: Restriction of the MS-Windows installer that the path must end in 3484 "Vim" prevents installing more than one version. 3485Solution: Remove the restriction. (Tim Lebedkov) 3486Files: nsis/gvim.nsi 3487 3488Patch 7.4.505 3489Problem: On MS-Windows when 'encoding' is a double-byte encoding a file 3490 name longer than MAX_PATH bytes but shorter than that in 3491 characters causes problems. 3492Solution: Fail on file names longer than MAX_PATH bytes. (Ken Takata) 3493Files: src/os_win32.c 3494 3495Patch 7.4.506 3496Problem: MS-Windows: Cannot open a file with 259 characters. 3497Solution: Fix off-by-one error. (Ken Takata) 3498Files: src/os_mswin.c 3499 3500Patch 7.4.507 (after 7.4.496) 3501Problem: Building with MingW and Perl. 3502Solution: Remove quotes. (Ken Takata) 3503Files: src/Make_cyg_ming.mak 3504 3505Patch 7.4.508 3506Problem: When generating ja.sjis.po the header is not correctly adjusted. 3507Solution: Check for the right header string. (Ken Takata) 3508Files: src/po/sjiscorr.c 3509 3510Patch 7.4.509 3511Problem: Users are not aware their encryption is weak. 3512Solution: Give a warning when prompting for the key. 3513Files: src/crypt.c, src/ex_docmd.c, src/fileio.c, src/main.c, 3514 src/proto/crypt.pro 3515 3516Patch 7.4.510 3517Problem: "-fwrapv" argument breaks use of cproto. 3518Solution: Remove the alphabetic arguments in a drastic way. 3519Files: src/Makefile 3520 3521Patch 7.4.511 3522Problem: Generating proto for if_ruby.c uses type not defined elsewhere. 3523Solution: Do not generate a prototype for 3524 rb_gc_writebarrier_unprotect_promoted() 3525Files: src/if_ruby.c 3526 3527Patch 7.4.512 3528Problem: Cannot generate prototypes for Win32 files and VMS. 3529Solution: Add typedefs and #ifdef 3530Files: src/os_win32.c, src/gui_w32.c, src/os_vms.c 3531 3532Patch 7.4.513 3533Problem: Crash because reference count is wrong for list returned by 3534 getreg(). 3535Solution: Increment the reference count. (Kimmy Lindvall) 3536Files: src/eval.c 3537 3538Patch 7.4.514 (after 7.4.492) 3539Problem: Memory access error. (Dominique Pelle) 3540Solution: Update tpos. (Christian Brabandt) 3541Files: src/edit.c 3542 3543Patch 7.4.515 3544Problem: In a help buffer the global 'foldmethod' is used. (Paul Marshall) 3545Solution: Reset 'foldmethod' when starting to edit a help file. Move the 3546 code to a separate function. 3547Files: src/ex_cmds.c 3548 3549Patch 7.4.516 3550Problem: Completing a function name containing a # does not work. Issue 3551 253. 3552Solution: Recognize the # character. (Christian Brabandt) 3553Files: src/eval.c 3554 3555Patch 7.4.517 3556Problem: With a wrapping line the cursor may not end up in the right place. 3557 (Nazri Ramliy) 3558Solution: Adjust n_extra for a Tab that wraps. (Christian Brabandt) 3559Files: src/screen.c 3560 3561Patch 7.4.518 3562Problem: Using status line height in width computations. 3563Solution: Use one instead. (Hirohito Higashi) 3564Files: src/window.c 3565 3566Patch 7.4.519 (after 7.4.497) 3567Problem: Crash when using syntax highlighting. 3568Solution: When regprog is freed and replaced, store the result. 3569Files: src/buffer.c, src/regexp.c, src/syntax.c, src/spell.c, 3570 src/ex_cmds2.c, src/fileio.c, src/proto/fileio.pro, 3571 src/proto/regexp.pro, src/os_unix.c 3572 3573Patch 7.4.520 3574Problem: Sun PCK locale is not recognized. 3575Solution: Add PCK in the table. (Keiichi Oono) 3576Files: src/mbyte.c 3577 3578Patch 7.4.521 3579Problem: When using "vep" a mark is moved to the next line. (Maxi Padulo, 3580 Issue 283) 3581Solution: Decrement the line number. (Christian Brabandt) 3582Files: src/ops.c 3583 3584Patch 7.4.522 3585Problem: Specifying wrong buffer size for GetLongPathName(). 3586Solution: Use the actual size. (Ken Takata) 3587Files: src/eval.c 3588 3589Patch 7.4.523 3590Problem: When the X11 server is stopped and restarted, while Vim is kept in 3591 the background, copy/paste no longer works. (Issue 203) 3592Solution: Setup the clipboard again. (Christian Brabandt) 3593Files: src/os_unix.c 3594 3595Patch 7.4.524 3596Problem: When using ":ownsyntax" spell checking is messed up. (Issue 78) 3597Solution: Use the window-local option values. (Christian Brabandt) 3598Files: src/option.c, src/syntax.c 3599 3600Patch 7.4.525 3601Problem: map() leaks memory when there is an error in the expression. 3602Solution: Call clear_tv(). (Christian Brabandt) 3603Files: src/eval.c 3604 3605Patch 7.4.526 3606Problem: matchstr() fails on long text. (Daniel Hahler) 3607Solution: Return NFA_TOO_EXPENSIVE from regexec_nl(). (Christian Brabandt) 3608Files: src/regexp.c 3609 3610Patch 7.4.527 3611Problem: Still confusing regexp failure and NFA_TOO_EXPENSIVE. 3612Solution: NFA changes equivalent of 7.4.526. 3613Files: src/regexp_nfa.c 3614 3615Patch 7.4.528 3616Problem: Crash when using matchadd() (Yasuhiro Matsumoto) 3617Solution: Copy the match regprog. 3618Files: src/screen.c 3619 3620Patch 7.4.529 3621Problem: No test for what 7.4.517 fixes. 3622Solution: Adjust the tests for breakindent. (Christian Brabandt) 3623Files: src/testdir/test_breakindent.in, src/testdir/test_breakindent.ok 3624 3625Patch 7.4.530 3626Problem: Many commands take a count or range that is not using line 3627 numbers. 3628Solution: For each command specify what kind of count it uses. For windows, 3629 buffers and arguments have "$" and "." have a relevant meaning. 3630 (Marcin Szamotulski) 3631Files: runtime/doc/editing.txt, runtime/doc/tabpage.txt, 3632 runtime/doc/windows.txt, src/Makefile, src/ex_cmds.h, 3633 src/ex_docmd.c, src/testdir/Make_amiga.mak 3634 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 3635 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 3636 src/testdir/Makefile, src/testdir/test_argument_count.in, 3637 src/testdir/test_argument_count.ok, 3638 src/testdir/test_close_count.in, src/testdir/test_close_count.ok, 3639 src/window.c 3640 3641Patch 7.4.531 3642Problem: Comments about parsing an Ex command are wrong. 3643Solution: Correct the step numbers. 3644Files: src/ex_docmd.c 3645 3646Patch 7.4.532 3647Problem: When using 'incsearch' "2/pattern/e" highlights the first match. 3648Solution: Move the code to set extra_col inside the loop for count. (Ozaki 3649 Kiichi) 3650Files: src/search.c 3651 3652Patch 7.4.533 3653Problem: ":hardcopy" leaks memory in case of errors. 3654Solution: Free memory in all code paths. (Christian Brabandt) 3655Files: src/hardcopy.c 3656 3657Patch 7.4.534 3658Problem: Warnings when compiling if_ruby.c. 3659Solution: Avoid the warnings. (Ken Takata) 3660Files: src/if_ruby.c 3661 3662Patch 7.4.535 (after 7.4.530) 3663Problem: Can't build with tiny features. 3664Solution: Add #ifdefs and skip a test. 3665Files: src/ex_docmd.c, src/testdir/test_argument_count.in 3666 3667Patch 7.4.536 3668Problem: Test 63 fails when using a black&white terminal. 3669Solution: Add attributes for a non-color terminal. (Christian Brabandt) 3670Files: src/testdir/test63.in 3671 3672Patch 7.4.537 3673Problem: Value of v:hlsearch reflects an internal variable. 3674Solution: Make the value reflect whether search highlighting is actually 3675 displayed. (Christian Brabandt) 3676Files: runtime/doc/eval.txt, src/testdir/test101.in, 3677 src/testdir/test101.ok, src/vim.h 3678 3679Patch 7.4.538 3680Problem: Tests fail with small features plus Python. 3681Solution: Disallow weird combination of options. Do not set "fdm" when 3682 folding is disabled. 3683Files: src/option.c, src/ex_cmds.c, src/configure.in, src/auto/configure, 3684 src/feature.h 3685 3686Patch 7.4.539 (after 7.4.530) 3687Problem: Crash when computing buffer count. Problem with range for user 3688 commands. Line range wrong in Visual area. 3689Solution: Avoid segfault in compute_buffer_local_count(). Check for 3690 CMD_USER when checking type of range. (Marcin Szamotulski) 3691Files: runtime/doc/windows.txt, src/ex_docmd.c 3692 3693Patch 7.4.540 (after 7.4.539) 3694Problem: Cannot build with tiny and small features. (Taro Muraoka) 3695Solution: Add #ifdef around CMD_USER. 3696Files: src/ex_docmd.c 3697 3698Patch 7.4.541 3699Problem: Crash when doing a range assign. 3700Solution: Check for NULL pointer. (Yukihiro Nakadaira) 3701Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok 3702 3703Patch 7.4.542 3704Problem: Using a range for window and buffer commands has a few problems. 3705 Cannot specify the type of range for a user command. 3706Solution: Add the -addr argument for user commands. Fix problems. (Marcin 3707 Szamotulski) 3708Files: src/testdir/test_command_count.in, 3709 src/testdir/test_command_count.ok src/testdir/Make_amiga.mak 3710 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 3711 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 3712 src/testdir/Makefile, runtime/doc/map.txt, src/Makefile, 3713 src/ex_cmds.h, src/ex_docmd.c, src/ex_getln.c, 3714 src/proto/ex_docmd.pro, src/vim.h, 3715 3716Patch 7.4.543 3717Problem: Since patch 7.4.232 "1,3s/\n//" joins two lines instead of three. 3718 (Eliseo Martínez) Issue 287 3719Solution: Correct the line count. (Christian Brabandt) 3720 Also set the last used search pattern. 3721Files: src/ex_cmds.c, src/search.c, src/proto/search.pro 3722 3723Patch 7.4.544 3724Problem: Warnings for unused arguments when compiling with a combination of 3725 features. 3726Solution: Add "UNUSED". 3727Files: src/if_cscope.c 3728 3729Patch 7.4.545 3730Problem: Highlighting for multi-line matches is not correct. 3731Solution: Stop highlight at the end of the match. (Hirohito Higashi) 3732Files: src/screen.c 3733 3734Patch 7.4.546 3735Problem: Repeated use of vim_snprintf() with a number. 3736Solution: Move these vim_snprintf() calls into a function. 3737Files: src/window.c 3738 3739Patch 7.4.547 3740Problem: Using "vit" does not select a multi-byte character at the end 3741 correctly. 3742Solution: Advance the cursor over the multi-byte character. (Christian 3743 Brabandt) 3744Files: src/search.c 3745 3746Patch 7.4.548 3747Problem: Compilation fails with native version of MinGW-w64, because 3748 it doesn't have x86_64-w64-mingw32-windres.exe. 3749Solution: Use windres instead. (Ken Takata) 3750Files: src/Make_cyg_ming.mak 3751 3752Patch 7.4.549 3753Problem: Function name not recognized correctly when inside a function. 3754Solution: Don't check for an alpha character. (Ozaki Kiichi) 3755Files: src/eval.c, src/testdir/test_nested_function.in, 3756 src/testdir/test_nested_function.ok, src/testdir/Make_amiga.mak, 3757 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 3758 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 3759 src/testdir/Makefile 3760 3761Patch 7.4.550 3762Problem: curs_rows() function is always called with the second argument 3763 false. 3764Solution: Remove the argument. (Christian Brabandt) 3765 validate_botline_win() can then also be removed. 3766Files: src/move.c 3767 3768Patch 7.4.551 3769Problem: "ygn" may yank too much. (Fritzophrenic) Issue 295. 3770Solution: Check the width of the next match. (Christian Brabandt) 3771Files: src/search.c, src/testdir/test53.in, src/testdir/test53.ok 3772 3773Patch 7.4.552 3774Problem: Langmap applies to Insert mode expression mappings. 3775Solution: Check for Insert mode. (Daniel Hahler) 3776Files: src/getchar.c, src/testdir/test_mapping.in, 3777 src/testdir/test_mapping.ok 3778 3779Patch 7.4.553 3780Problem: Various small issues. 3781Solution: Fix those issues. 3782Files: src/ex_cmds.h, src/gui.h, src/message.c, src/testdir/test39.in, 3783 src/proto/eval.pro, src/proto/misc1.pro, src/proto/ops.pro, 3784 src/proto/screen.pro, src/proto/window.pro. src/os_unix.c, 3785 src/Make_vms.mms, src/proto/os_vms.pro, src/INSTALL 3786 3787Patch 7.4.554 3788Problem: Missing part of patch 7.4.519. 3789Solution: Copy back regprog after calling vim_regexec. 3790Files: src/quickfix.c 3791 3792Patch 7.4.555 3793Problem: test_close_count may fail for some combination of features. 3794Solution: Require normal features. 3795Files: src/testdir/test_close_count.in 3796 3797Patch 7.4.556 3798Problem: Failed commands in Python interface not handled correctly. 3799Solution: Restore window and buffer on failure. 3800Files: src/if_py_both.h 3801 3802Patch 7.4.557 3803Problem: One more small issue. 3804Solution: Update function proto. 3805Files: src/proto/window.pro 3806 3807Patch 7.4.558 3808Problem: When the X server restarts Vim may get stuck. 3809Solution: Destroy the application context and create it again. (Issue 203) 3810Files: src/os_unix.c 3811 3812Patch 7.4.559 3813Problem: Appending a block in the middle of a tab does not work correctly 3814 when virtualedit is set. 3815Solution: Decrement spaces and count, don't reset them. (James McCoy) 3816Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok 3817 3818Patch 7.4.560 3819Problem: Memory leak using :wviminfo. Issue 296. 3820Solution: Free memory when needed. (idea by Christian Brabandt) 3821Files: src/ops.c 3822 3823Patch 7.4.561 3824Problem: Ex range handling is wrong for buffer-local user commands. 3825Solution: Check for CMD_USER_BUF. (Marcin Szamotulski) 3826Files: src/ex_docmd.c, src/testdir/test_command_count.in, 3827 src/testdir/test_command_count.ok 3828 3829Patch 7.4.562 3830Problem: Segfault with wide screen and error in 'rulerformat'. (Ingo Karkat) 3831Solution: Check there is enough space. (Christian Brabandt) 3832Files: src/buffer.c, src/screen.c 3833 3834Patch 7.4.563 3835Problem: No test for replacing on a tab in Virtual replace mode. 3836Solution: Add a test. (Elias Diem) 3837Files: src/testdir/test48.in, src/testdir/test48.ok 3838 3839Patch 7.4.564 3840Problem: FEAT_OSFILETYPE is used even though it's never defined. 3841Solution: Remove the code. (Christian Brabandt) 3842Files: src/fileio.c 3843 3844Patch 7.4.565 3845Problem: Ranges for arguments, buffers, tabs, etc. are not checked to be 3846 valid but limited to the maximum. This can cause the wrong thing 3847 to happen. 3848Solution: Give an error for an invalid value. (Marcin Szamotulski) 3849 Use windows range for ":wincmd". 3850Files: src/ex_docmd.c, src/ex_cmds.h, src/testdir/test62.in, 3851 src/testdir/test_argument_count.in, 3852 src/testdir/test_argument_count.ok, 3853 src/testdir/test_close_count.in, 3854 src/testdir/test_command_count.in, 3855 src/testdir/test_command_count.ok 3856 3857Patch 7.4.566 3858Problem: :argdo, :bufdo, :windo and :tabdo don't take a range. 3859Solution: Support the range. (Marcin Szamotulski) 3860Files: runtime/doc/editing.txt, runtime/doc/tabpage.txt, 3861 runtime/doc/windows.txt, src/ex_cmds.h, src/ex_cmds2.c, 3862 src/testdir/test_command_count.in, 3863 src/testdir/test_command_count.ok 3864 3865Patch 7.4.567 3866Problem: Non-ascii vertical separator characters are always redrawn. 3867Solution: Compare only the one byte that's stored. (Thiago Padilha) 3868Files: src/screen.c 3869 3870Patch 7.4.568 3871Problem: Giving an error for ":0wincmd w" is a problem for some plugins. 3872Solution: Allow the zero in the range. (Marcin Szamotulski) 3873Files: src/ex_docmd.c, src/testdir/test_command_count.ok 3874 3875Patch 7.4.569 (after 7.4.468) 3876Problem: Having CTRL-C interrupt or not does not check the mode of the 3877 mapping. (Ingo Karkat) 3878Solution: Use a bitmask with the map mode. (Christian Brabandt) 3879Files: src/getchar.c, src/structs.h, src/testdir/test_mapping.in, 3880 src/testdir/test_mapping.ok, src/ui.c, src/globals.h 3881 3882Patch 7.4.570 3883Problem: Building with dynamic library does not work for Ruby 2.2.0 3884Solution: Change #ifdefs and #defines. (Ken Takata) 3885Files: src/if_ruby.c 3886 3887Patch 7.4.571 (after 7.4.569) 3888Problem: Can't build with tiny features. (Ike Devolder) 3889Solution: Add #ifdef. 3890Files: src/getchar.c 3891 3892Patch 7.4.572 3893Problem: Address type of :wincmd depends on the argument. 3894Solution: Check the argument. 3895Files: src/ex_docmd.c, src/window.c, src/proto/window.pro 3896 3897Patch 7.4.573 (after 7.4.569) 3898Problem: Mapping CTRL-C in Visual mode doesn't work. (Ingo Karkat) 3899Solution: Call get_real_state() instead of using State directly. 3900Files: src/ui.c, src/testdir/test_mapping.in, src/testdir/test_mapping.ok 3901 3902Patch 7.4.574 3903Problem: No error for eval('$'). 3904Solution: Check for empty name. (Yasuhiro Matsumoto) 3905Files: src/eval.c 3906 3907Patch 7.4.575 3908Problem: Unicode character properties are outdated. 3909Solution: Update the tables with the latest version. 3910Files: src/mbyte.c 3911 3912Patch 7.4.576 3913Problem: Redrawing problem with 'relativenumber' and 'linebreak'. 3914Solution: Temporarily reset 'linebreak' and restore it in more places. 3915 (Christian Brabandt) 3916Files: src/normal.c 3917 3918Patch 7.4.577 3919Problem: Matching with a virtual column has a lot of overhead on very long 3920 lines. (Issue 310) 3921Solution: Bail out early if there can't be a match. (Christian Brabandt) 3922 Also check for CTRL-C at every position. 3923Files: src/regexp_nfa.c 3924 3925Patch 7.4.578 3926Problem: Using getcurpos() after "$" in an empty line returns a negative 3927 number. 3928Solution: Don't add one when this would overflow. (Hirohito Higashi) 3929Files: src/eval.c 3930 3931Patch 7.4.579 3932Problem: Wrong cursor positioning when 'linebreak' is set and lines wrap. 3933Solution: Fix it. (Christian Brabandt) 3934Files: src/charset.c, src/screen.c 3935 3936Patch 7.4.580 3937Problem: ":52wincmd v" still gives an invalid range error. (Charles 3938 Campbell) 3939Solution: Skip over white space. 3940Files: src/ex_docmd.c 3941 3942Patch 7.4.581 3943Problem: Compiler warnings for uninitialized variables. (John Little) 3944Solution: Initialize the variables. 3945Files: src/ops.c 3946 3947Patch 7.4.582 (after 7.4.577) 3948Problem: Can't match "%>80v" properly. (Axel Bender) 3949Solution: Correctly handle ">". (Christian Brabandt) 3950Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 3951 3952Patch 7.4.583 3953Problem: With tiny features test 16 may fail. 3954Solution: Source small.vim. (Christian Brabandt) 3955Files: src/testdir/test16.in 3956 3957Patch 7.4.584 3958Problem: With tiny features test_command_count may fail. 3959Solution: Source small.vim. (Christian Brabandt) 3960Files: src/testdir/test_command_count.in 3961 3962Patch 7.4.585 3963Problem: Range for :bdelete does not work. (Ronald Schild) 3964Solution: Also allow unloaded buffers. 3965Files: src/ex_cmds.h, src/testdir/test_command_count.in, 3966 src/testdir/test_command_count.ok 3967 3968Patch 7.4.586 3969Problem: Parallel building of the documentation html files is not reliable. 3970Solution: Remove a cyclic dependency. (Reiner Herrmann) 3971Files: runtime/doc/Makefile 3972 3973Patch 7.4.587 3974Problem: Conceal does not work properly with 'linebreak'. (cs86661) 3975Solution: Save and restore boguscols. (Christian Brabandt) 3976Files: src/screen.c, src/testdir/test_listlbr_utf8.in, 3977 src/testdir/test_listlbr_utf8.ok 3978 3979Patch 7.4.588 3980Problem: ":0argedit foo" puts the new argument in the second place instead 3981 of the first. 3982Solution: Adjust the range type. (Ingo Karkat) 3983Files: src/ex_cmds.h, src/testdir/Make_amiga.mak, 3984 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 3985 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 3986 src/testdir/Makefile, src/testdir/test_argument_0count.in, 3987 src/testdir/test_argument_0count.ok 3988 3989Patch 7.4.589 3990Problem: In the MS-Windows console Vim can't handle greek characters when 3991 encoding is utf-8. 3992Solution: Escape K_NUL. (Yasuhiro Matsumoto) 3993Files: src/os_win32.c 3994 3995Patch 7.4.590 3996Problem: Using ctrl_x_mode as if it contains flags. 3997Solution: Don't use AND with CTRL_X_OMNI. (Hirohito Higashi) 3998Files: src/edit.c 3999 4000Patch 7.4.591 (after 7.4.587) 4001Problem: test_listlbr_utf8 fails when the conceal feature is not available. 4002Solution: Check for the conceal feature. (Kazunobu Kuriyama) 4003Files: src/testdir/test_listlbr_utf8.in 4004 4005Patch 7.4.592 4006Problem: When doing ":e foobar" when already editing "foobar" and 'buftype' 4007 is "nofile" the buffer is cleared. (Xavier de Gaye) 4008Solution: Do no clear the buffer. 4009Files: src/ex_cmds.c 4010 4011Patch 7.4.593 4012Problem: Crash when searching for "x\{0,90000}". (Dominique Pelle) 4013Solution: Bail out from the NFA engine when the max limit is much higher 4014 than the min limit. 4015Files: src/regexp_nfa.c, src/regexp.c, src/vim.h 4016 4017Patch 7.4.594 4018Problem: Using a block delete while 'breakindent' is set does not work 4019 properly. 4020Solution: Use "line" instead of "prev_pend" as the first argument to 4021 lbr_chartabsize_adv(). (Hirohito Higashi) 4022Files: src/ops.c, src/testdir/test_breakindent.in, 4023 src/testdir/test_breakindent.ok 4024 4025Patch 7.4.595 4026Problem: The test_command_count test fails when using Japanese. 4027Solution: Force the language to C. (Hirohito Higashi) 4028Files: src/testdir/test_command_count.in 4029 4030Patch 7.4.596 (after 7.4.592) 4031Problem: Tiny build doesn't compile. (Ike Devolder) 4032Solution: Add #ifdef. 4033Files: src/ex_cmds.c 4034 4035Patch 7.4.597 4036Problem: Cannot change the result of systemlist(). 4037Solution: Initialize v_lock. (Yukihiro Nakadaira) 4038Files: src/eval.c 4039 4040Patch 7.4.598 4041Problem: ":tabdo windo echo 'hi'" causes "* register not to be changed. 4042 (Salman Halim) 4043Solution: Change how clip_did_set_selection is used and add 4044 clipboard_needs_update and global_change_count. (Christian 4045 Brabandt) 4046Files: src/main.c, src/ui.c, src/testdir/test_eval.in, 4047 src/testdir/test_eval.ok 4048 4049Patch 7.4.599 4050Problem: Out-of-memory error. 4051Solution: Avoid trying to allocate a negative amount of memory, use size_t 4052 instead of int. (Dominique Pelle) 4053Files: src/regexp_nfa.c 4054 4055Patch 7.4.600 4056Problem: Memory wasted in struct because of aligning. 4057Solution: Split pos in lnum and col. (Dominique Pelle) 4058Files: src/regexp_nfa.c 4059 4060Patch 7.4.601 4061Problem: It is not possible to have feedkeys() insert characters. 4062Solution: Add the 'i' flag. 4063Files: src/eval.c, runtime/doc/eval.txt 4064 4065Patch 7.4.602 4066Problem: ":set" does not accept hex numbers as documented. 4067Solution: Use vim_str2nr(). (ZyX) 4068Files: src/option.c, runtime/doc/options.txt 4069 4070Patch 7.4.603 4071Problem: 'foldcolumn' may be set such that it fills the whole window, not 4072 leaving space for text. 4073Solution: Reduce the foldcolumn width when there is not sufficient room. 4074 (idea by Christian Brabandt) 4075Files: src/screen.c 4076 4077Patch 7.4.604 4078Problem: Running tests changes viminfo. 4079Solution: Disable viminfo. 4080Files: src/testdir/test_breakindent.in 4081 4082Patch 7.4.605 4083Problem: The # register is not writable, it cannot be restored after 4084 jumping around. 4085Solution: Make the # register writable. (Marcin Szamotulski) 4086Files: runtime/doc/change.txt, src/ops.c, src/buffer.c, src/globals.h 4087 4088Patch 7.4.606 4089Problem: May crash when using a small window. 4090Solution: Avoid dividing by zero. (Christian Brabandt) 4091Files: src/normal.c 4092 4093Patch 7.4.607 (after 7.4.598) 4094Problem: Compiler warnings for unused variables. 4095Solution: Move them inside #ifdef. (Kazunobu Kuriyama) 4096Files: src/ui.c 4097 4098Patch 7.4.608 (after 7.4.598) 4099Problem: test_eval fails when the clipboard feature is missing. 4100Solution: Skip part of the test. Reduce the text used. 4101Files: src/testdir/test_eval.in, src/testdir/test_eval.ok 4102 4103Patch 7.4.609 4104Problem: For complicated list and dict use the garbage collector can run 4105 out of stack space. 4106Solution: Use a stack of dicts and lists to be marked, thus making it 4107 iterative instead of recursive. (Ben Fritz) 4108Files: src/eval.c, src/if_lua.c, src/if_py_both.h, src/if_python.c, 4109 src/if_python3.c, src/proto/eval.pro, src/proto/if_lua.pro, 4110 src/proto/if_python.pro, src/proto/if_python3.pro, src/structs.h 4111 4112Patch 7.4.610 4113Problem: Some function headers may be missing from generated .pro files. 4114Solution: Add PROTO to the #ifdef. 4115Files: src/option.c, src/syntax.c 4116 4117Patch 7.4.611 (after 7.4.609) 4118Problem: Syntax error. 4119Solution: Change statement to return. 4120Files: src/if_python3.c 4121 4122Patch 7.4.612 4123Problem: test_eval fails on Mac. 4124Solution: Use the * register instead of the + register. (Jun Takimoto) 4125Files: src/testdir/test_eval.in, src/testdir/test_eval.ok 4126 4127Patch 7.4.613 4128Problem: The NFA engine does not implement the 'redrawtime' time limit. 4129Solution: Implement the time limit. 4130Files: src/regexp_nfa.c 4131 4132Patch 7.4.614 4133Problem: There is no test for what patch 7.4.601 fixes. 4134Solution: Add a test. (Christian Brabandt) 4135Files: src/testdir/test_mapping.in, src/testdir/test_mapping.ok 4136 4137Patch 7.4.615 4138Problem: Vim hangs when freeing a lot of objects. 4139Solution: Do not go back to the start of the list every time. (Yasuhiro 4140 Matsumoto and Ariya Mizutani) 4141Files: src/eval.c 4142 4143Patch 7.4.616 4144Problem: Cannot insert a tab in front of a block. 4145Solution: Correctly compute aop->start. (Christian Brabandt) 4146Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok 4147 4148Patch 7.4.617 4149Problem: Wrong ":argdo" range does not cause an error. 4150Solution: Reset "cmd" to NULL. (Marcin Szamotulski, Ingo Karkat) 4151Files: src/ex_docmd.c 4152 4153Patch 7.4.618 (after 7.4.609) 4154Problem: luaV_setref() is missing a return statement. (Ozaki Kiichi) 4155Solution: Put the return statement back. 4156Files: src/if_lua.c 4157 4158Patch 7.4.619 (after 7.4.618) 4159Problem: luaV_setref() not returning the correct value. 4160Solution: Return one. 4161Files: src/if_lua.c 4162 4163Patch 7.4.620 4164Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) 4165Solution: Initialize "did_free". (Ben Fritz) 4166Files: src/eval.c 4167 4168Patch 7.4.621 (after 7.4.619) 4169Problem: Returning 1 in the wrong function. (Raymond Ko) 4170Solution: Return 1 in the right function (hopefully). 4171Files: src/if_lua.c 4172 4173Patch 7.4.622 4174Problem: Compiler warning for unused argument. 4175Solution: Add UNUSED. 4176Files: src/regexp_nfa.c 4177 4178Patch 7.4.623 4179Problem: Crash with pattern: \(\)\{80000} (Dominique Pelle) 4180Solution: When the max limit is large fall back to the old engine. 4181Files: src/regexp_nfa.c 4182 4183Patch 7.4.624 4184Problem: May leak memory or crash when vim_realloc() returns NULL. 4185Solution: Handle a NULL value properly. (Mike Williams) 4186Files: src/if_cscope.c, src/memline.c, src/misc1.c, src/netbeans.c 4187 4188Patch 7.4.625 4189Problem: Possible NULL pointer dereference. 4190Solution: Check for NULL before using it. (Mike Williams) 4191Files: src/if_py_both.h 4192 4193Patch 7.4.626 4194Problem: MSVC with W4 gives useless warnings. 4195Solution: Disable more warnings. (Mike Williams) 4196Files: src/vim.h 4197 4198Patch 7.4.627 4199Problem: The last screen cell is not updated. 4200Solution: Respect the "tn" termcap feature. (Hayaki Saito) 4201Files: runtime/doc/term.txt, src/option.c, src/screen.c, src/term.c, 4202 src/term.h 4203 4204Patch 7.4.628 4205Problem: Compiler warning for variable might be clobbered by longjmp. 4206Solution: Add volatile. (Michael Jarvis) 4207Files: src/main.c 4208 4209Patch 7.4.629 4210Problem: Coverity warning for Out-of-bounds read. 4211Solution: Increase MAXWLEN to 254. (Eliseo Martínez) 4212Files: src/spell.c 4213 4214Patch 7.4.630 4215Problem: When using Insert mode completion combined with autocommands the 4216 redo command may not work. 4217Solution: Do not save the redo buffer when executing autocommands. (Yasuhiro 4218 Matsumoto) 4219Files: src/fileio.c 4220 4221Patch 7.4.631 4222Problem: The default conceal character is documented to be a space but it's 4223 initially a dash. (Christian Brabandt) 4224Solution: Make the initial value a space. 4225Files: src/globals.h 4226 4227Patch 7.4.632 (after 7.4.592) 4228Problem: 7.4.592 breaks the netrw plugin, because the autocommands are 4229 skipped. 4230Solution: Roll back the change. 4231Files: src/ex_cmds.c 4232 4233Patch 7.4.633 4234Problem: After 7.4.630 the problem persists. 4235Solution: Also skip redo when calling a user function. 4236Files: src/eval.c 4237 4238Patch 7.4.634 4239Problem: Marks are not restored after redo + undo. 4240Solution: Fix the way marks are restored. (Olaf Dabrunz) 4241Files: src/undo.c, src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 4242 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 4243 src/testdir/Make_vms.mms, src/testdir/Makefile, 4244 src/testdir/test_marks.in, src/testdir/test_marks.ok 4245 4246Patch 7.4.635 4247Problem: If no NL or CR is found in the first block of a file then the 4248 'fileformat' may be set to "mac". (Issue 77) 4249Solution: Check if a CR was found. (eswald) 4250Files: src/fileio.c 4251 4252Patch 7.4.636 4253Problem: A search with end offset gets stuck at end of file. (Gary Johnson) 4254Solution: When a search doesn't move the cursor repeat it with a higher 4255 count. (Christian Brabandt) 4256Files: src/normal.c, src/testdir/test44.in, src/testdir/test44.ok 4257 4258Patch 7.4.637 4259Problem: Incorrectly read the number of buffer for which an autocommand 4260 should be registered. 4261Solution: Reverse check for "<buffer=abuf>". (Lech Lorens) 4262Files: src/fileio.c 4263 4264Patch 7.4.638 4265Problem: Can't build with Lua 5.3 on Windows. 4266Solution: use luaL_optinteger() instead of LuaL_optlong(). (Ken Takata) 4267Files: src/if_lua.c 4268 4269Patch 7.4.639 4270Problem: Combination of linebreak and conceal doesn't work well. 4271Solution: Fix the display problems. (Christian Brabandt) 4272Files: src/screen.c, src/testdir/test88.in, src/testdir/test88.ok, 4273 src/testdir/test_listlbr_utf8.in, src/testdir/test_listlbr_utf8.ok 4274 4275Patch 7.4.640 4276Problem: After deleting characters in Insert mode such that lines are 4277 joined undo does not work properly. (issue 324) 4278Solution: Use Insstart instead of Insstart_orig. (Christian Brabandt) 4279Files: src/edit.c 4280 4281Patch 7.4.641 4282Problem: The tabline menu was using ":999tabnew" which is now invalid. 4283Solution: Use ":$tabnew" instead. (Florian Degner) 4284Files: src/normal.c 4285 4286Patch 7.4.642 4287Problem: When using "gf" escaped spaces are not handled. 4288Solution: Recognize escaped spaces. 4289Files: src/vim.h, src/window.c, src/misc2.c 4290 4291Patch 7.4.643 4292Problem: Using the default file format for Mac files. (Issue 77) 4293Solution: Reset the try_mac counter in the right place. (Oswald) 4294Files: src/fileio.c, src/testdir/test30.in, src/testdir/test30.ok 4295 4296Patch 7.4.644 4297Problem: Stratus VOS doesn't have sync(). 4298Solution: Use fflush(). (Karli Aurelia) 4299Files: src/memfile.c 4300 4301Patch 7.4.645 4302Problem: When splitting the window in a BufAdd autocommand while still in 4303 the first, empty buffer the window count is wrong. 4304Solution: Do not reset b_nwindows to zero and don't increment it. 4305Files: src/buffer.c, src/ex_cmds.c 4306 4307Patch 7.4.646 4308Problem: ":bufdo" may start at a deleted buffer. 4309Solution: Find the first not deleted buffer. (Shane Harper) 4310Files: src/ex_cmds2.c, src/testdir/test_command_count.in, 4311 src/testdir/test_command_count.ok 4312 4313Patch 7.4.647 4314Problem: After running the tests on MS-Windows many files differ from their 4315 originals as they were checked out. 4316Solution: Use a temp directory for executing the tests. (Ken Takata, Taro 4317 Muraoka) 4318Files: src/testdir/Make_dos.mak 4319 4320Patch 7.4.648 (after 7.4.647) 4321Problem: Tests broken on MS-Windows. 4322Solution: Delete wrong copy line. (Ken Takata) 4323Files: src/testdir/Make_dos.mak 4324 4325Patch 7.4.649 4326Problem: Compiler complains about ignoring return value of fwrite(). 4327 (Michael Jarvis) 4328Solution: Add (void). 4329Files: src/misc2.c 4330 4331Patch 7.4.650 4332Problem: Configure check may fail because the dl library is not used. 4333Solution: Put "-ldl" in LIBS rather than LDFLAGS. (Ozaki Kiichi) 4334Files: src/configure.in, src/auto/configure 4335 4336Patch 7.4.651 (after 7.4.582) 4337Problem: Can't match "%>80v" properly for multi-byte characters. 4338Solution: Multiply the character number by the maximum number of bytes in a 4339 character. (Yasuhiro Matsumoto) 4340Files: src/regexp_nfa.c 4341 4342Patch 7.4.652 4343Problem: Xxd lacks a few features. 4344Solution: Use 8 characters for the file position. Add the -e and -o 4345 arguments. (Vadim Vygonets) 4346Files: src/xxd/xxd.c, runtime/doc/xxd.1 4347 4348Patch 7.4.653 4349Problem: Insert mode completion with complete() may have CTRL-L work like 4350 CTRL-P. 4351Solution: Handle completion with complete() differently. (Yasuhiro 4352 Matsumoto, Christian Brabandt, Hirohito Higashi) 4353Files: src/edit.c 4354 4355Patch 7.4.654 4356Problem: glob() and globpath() cannot include links to non-existing files. 4357 (Charles Campbell) 4358Solution: Add an argument to include all links with glob(). (James McCoy) 4359 Also for globpath(). 4360Files: src/vim.h, src/eval.c, src/ex_getln.c 4361 4362Patch 7.4.655 4363Problem: Text deleted by "dit" depends on indent of closing tag. 4364 (Jan Parthey) 4365Solution: Do not adjust oap->end in do_pending_operator(). (Christian 4366 Brabandt) 4367Files: src/normal.c, src/search.c, src/testdir/test53.in, 4368 src/testdir/test53.ok 4369 4370Patch 7.4.656 (after 7.4.654) 4371Problem: Missing changes for glob() in one file. 4372Solution: Add the missing changes. 4373Files: src/misc1.c 4374 4375Patch 7.4.657 (after 7.4.656) 4376Problem: Compiler warnings for pointer mismatch. 4377Solution: Add a typecast. (John Marriott) 4378Files: src/misc1.c 4379 4380Patch 7.4.658 4381Problem: 'formatexpr' is evaluated too often. 4382Solution: Only invoke it when beyond the 'textwidth' column, as it is 4383 documented. (James McCoy) 4384Files: src/edit.c 4385 4386Patch 7.4.659 4387Problem: When 'ruler' is set the preferred column is reset. (Issue 339) 4388Solution: Don't set curswant when redrawing the status lines. 4389Files: src/option.c 4390 4391Patch 7.4.660 4392Problem: Using freed memory when g:colors_name is changed in the colors 4393 script. (oni-link) 4394Solution: Make a copy of the variable value. 4395Files: src/syntax.c 4396 4397Patch 7.4.661 4398Problem: Using "0 CTRL-D" in Insert mode may have CursorHoldI interfere. 4399 (Gary Johnson) 4400Solution: Don't store K_CURSORHOLD as the last character. (Christian 4401 Brabandt) 4402Files: src/edit.c 4403 4404Patch 7.4.662 4405Problem: When 'M' is in the 'cpo' option then selecting a text object in 4406 parentheses does not work correctly. 4407Solution: Keep 'M' in 'cpo' when finding a match. (Hirohito Higashi) 4408Files: src/search.c, src/testdir/Make_amiga.mak, 4409 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 4410 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 4411 src/testdir/Makefile, src/testdir/test_textobjects.in, 4412 src/testdir/test_textobjects.ok 4413 4414Patch 7.4.663 4415Problem: When using netbeans a buffer is not found in another tab. 4416Solution: When 'switchbuf' is set to "usetab" then switch to another tab 4417 when possible. (Xavier de Gaye) 4418Files: src/netbeans.c 4419 4420Patch 7.4.664 4421Problem: When 'compatible' is reset 'numberwidth' is set to 4, but the 4422 effect doesn't show until a change is made. 4423Solution: Check if 'numberwidth' changed. (Christian Brabandt) 4424Files: src/screen.c, src/structs.h 4425 4426Patch 7.4.665 4427Problem: 'linebreak' does not work properly with multi-byte characters. 4428Solution: Compute the pointer offset with mb_head_off(). (Yasuhiro 4429 Matsumoto) 4430Files: src/screen.c 4431 4432Patch 7.4.666 4433Problem: There is a chance that Vim may lock up. 4434Solution: Handle timer events differently. (Aaron Burrow) 4435Files: src/os_unix.c 4436 4437Patch 7.4.667 4438Problem: 'colorcolumn' isn't drawn in a closed fold while 'cursorcolumn' 4439 is. (Carlos Pita) 4440Solution: Make it consistent. (Christian Brabandt) 4441Files: src/screen.c 4442 4443Patch 7.4.668 4444Problem: Can't use a glob pattern as a regexp pattern. 4445Solution: Add glob2regpat(). (Christian Brabandt) 4446Files: src/eval.c, runtime/doc/eval.txt 4447 4448Patch 7.4.669 4449Problem: When netbeans is active the sign column always shows up. 4450Solution: Only show the sign column once a sign has been added. (Xavier de 4451 Gaye) 4452Files: src/buffer.c, src/edit.c, src/move.c, src/netbeans.c, 4453 src/screen.c, src/structs.h 4454 4455Patch 7.4.670 4456Problem: Using 'cindent' for Javascript is less than perfect. 4457Solution: Improve indenting of continuation lines. (Hirohito Higashi) 4458Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 4459 4460Patch 7.4.671 (after 7.4.665) 4461Problem: Warning for shadowing a variable. 4462Solution: Rename off to mb_off. (Kazunobu Kuriyama) 4463Files: src/screen.c 4464 4465Patch 7.4.672 4466Problem: When completing a shell command, directories in the current 4467 directory are not listed. 4468Solution: When "." is not in $PATH also look in the current directory for 4469 directories. 4470Files: src/ex_getln.c, src/vim.h, src/misc1.c, src/eval.c, 4471 src/os_amiga.c, src/os_msdos.c, src/os_unix.c, src/os_vms.c, 4472 src/proto/os_amiga.pro, src/proto/os_msdos.pro, 4473 src/proto/os_unix.pro, src/proto/os_win32.pro 4474 4475Patch 7.4.673 4476Problem: The first syntax entry gets sequence number zero, which doesn't 4477 work. (Clinton McKay) 4478Solution: Start at number one. (Bjorn Linse) 4479Files: src/syntax.c 4480 4481Patch 7.4.674 (after 7.4.672) 4482Problem: Missing changes in one file. 4483Solution: Also change the win32 file. 4484Files: src/os_win32.c 4485 4486Patch 7.4.675 4487Problem: When a FileReadPost autocommand moves the cursor inside a line it 4488 gets moved back. 4489Solution: When checking whether an autocommand moved the cursor store the 4490 column as well. (Christian Brabandt) 4491Files: src/ex_cmds.c 4492 4493Patch 7.4.676 4494Problem: On Mac, when not using the default Python framework configure 4495 doesn't do the right thing. 4496Solution: Use a linker search path. (Kazunobu Kuriyama) 4497Files: src/configure.in, src/auto/configure 4498 4499Patch 7.4.677 (after 7.4.676) 4500Problem: Configure fails when specifying a python-config-dir. (Lcd) 4501Solution: Check if PYTHONFRAMEWORKPREFIX is set. 4502Files: src/configure.in, src/auto/configure 4503 4504Patch 7.4.678 4505Problem: When using --remote the directory may end up being wrong. 4506Solution: Use localdir() to find out what to do. (Xaizek) 4507Files: src/main.c 4508 4509Patch 7.4.679 4510Problem: Color values greater than 255 cause problems on MS-Windows. 4511Solution: Truncate to 255 colors. (Yasuhiro Matsumoto) 4512Files: src/os_win32.c 4513 4514Patch 7.4.680 4515Problem: CTRL-W in Insert mode does not work well for multi-byte 4516 characters. 4517Solution: Use mb_get_class(). (Yasuhiro Matsumoto) 4518Files: src/edit.c, src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 4519 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 4520 src/testdir/Make_vms.mms, src/testdir/Makefile, 4521 src/testdir/test_erasebackword.in, 4522 src/testdir/test_erasebackword.ok, 4523 4524Patch 7.4.681 4525Problem: MS-Windows: When Vim is minimized the window height is computed 4526 incorrectly. 4527Solution: When minimized use the previously computed size. (Ingo Karkat) 4528Files: src/gui_w32.c 4529 4530Patch 7.4.682 4531Problem: The search highlighting and match highlighting replaces the 4532 cursorline highlighting, this doesn't look good. 4533Solution: Combine the highlighting. (Yasuhiro Matsumoto) 4534Files: src/screen.c 4535 4536Patch 7.4.683 4537Problem: Typo in the vimtutor command. 4538Solution: Fix the typo. (Corey Farwell, github pull 349) 4539Files: vimtutor.com 4540 4541Patch 7.4.684 4542Problem: When starting several Vim instances in diff mode, the temp files 4543 used may not be unique. (Issue 353) 4544Solution: Add an argument to vim_tempname() to keep the file. 4545Files: src/diff.c, src/eval.c, src/ex_cmds.c, src/fileio.c, 4546 src/hardcopy.c, src/proto/fileio.pro, src/if_cscope.c, 4547 src/memline.c, src/misc1.c, src/os_unix.c, src/quickfix.c, 4548 src/spell.c 4549 4550Patch 7.4.685 4551Problem: When there are illegal utf-8 characters the old regexp engine may 4552 go past the end of a string. 4553Solution: Only advance to the end of the string. (Dominique Pelle) 4554Files: src/regexp.c 4555 4556Patch 7.4.686 4557Problem: "zr" and "zm" do not take a count. 4558Solution: Implement the count, restrict the fold level to the maximum 4559 nesting depth. (Marcin Szamotulski) 4560Files: runtime/doc/fold.txt, src/normal.c 4561 4562Patch 7.4.687 4563Problem: There is no way to use a different in Replace mode for a terminal. 4564Solution: Add t_SR. (Omar Sandoval) 4565Files: runtime/doc/options.txt, runtime/doc/term.txt, 4566 runtime/syntax/vim.vim, src/option.c, src/term.c, src/term.h 4567 4568Patch 7.4.688 4569Problem: When "$" is in 'cpo' the popup menu isn't undrawn correctly. 4570 (Issue 166) 4571Solution: When using the popup menu remove the "$". 4572Files: src/edit.c 4573 4574Patch 7.4.689 4575Problem: On MS-Windows, when 'autochdir' is set, diff mode with files in 4576 different directories does not work. (Axel Bender) 4577Solution: Remember the current directory and use it where needed. (Christian 4578 Brabandt) 4579Files: src/main.c 4580 4581Patch 7.4.690 4582Problem: Memory access errors when changing indent in Ex mode. Also missing 4583 redraw when using CTRL-U. (Knil Ino) 4584Solution: Update pointers after calling ga_grow(). 4585Files: src/ex_getln.c 4586 4587Patch 7.4.691 (after 7.4.689) 4588Problem: Can't build with MzScheme. 4589Solution: Change "cwd" into the global variable "start_dir". 4590Files: src/main.c 4591 4592Patch 7.4.692 4593Problem: Defining SOLARIS for no good reason. (Danek Duvall) 4594Solution: Remove it. 4595Files: src/os_unix.h 4596 4597Patch 7.4.693 4598Problem: Session file is not correct when there are multiple tab pages. 4599Solution: Reset the current window number for each tab page. (Jacob Niehus) 4600Files: src/ex_docmd.c 4601 4602Patch 7.4.694 4603Problem: Running tests changes the .viminfo file. 4604Solution: Disable viminfo in the text objects test. 4605Files: src/testdir/test_textobjects.in 4606 4607Patch 7.4.695 4608Problem: Out-of-bounds read, detected by Coverity. 4609Solution: Remember the value of cmap for the first matching encoding. Reset 4610 cmap to that value if first matching encoding is going to be used. 4611 (Eliseo Martínez) 4612Files: src/hardcopy.c 4613 4614Patch 7.4.696 4615Problem: Not freeing memory when encountering an error. 4616Solution: Free the stack before returning. (Eliseo Martínez) 4617Files: src/regexp_nfa.c 4618 4619Patch 7.4.697 4620Problem: The filename used for ":profile" must be given literally. 4621Solution: Expand "~" and environment variables. (Marco Hinz) 4622Files: src/ex_cmds2.c 4623 4624Patch 7.4.698 4625Problem: Various problems with locked and fixed lists and dictionaries. 4626Solution: Disallow changing locked items, fix a crash, add tests. (Olaf 4627 Dabrunz) 4628Files: src/structs.h, src/eval.c, src/testdir/test55.in, 4629 src/testdir/test55.ok 4630 4631Patch 7.4.699 4632Problem: E315 when trying to delete a fold. (Yutao Yuan) 4633Solution: Make sure the fold doesn't go beyond the last buffer line. 4634 (Christian Brabandt) 4635Files: src/fold.c 4636 4637Patch 7.4.700 4638Problem: Fold can't be opened after ":move". (Ein Brown) 4639Solution: Delete the folding information and update it afterwards. 4640 (Christian Brabandt) 4641Files: src/ex_cmds.c, src/fold.c, src/testdir/test45.in, 4642 src/testdir/test45.ok 4643 4644Patch 7.4.701 4645Problem: Compiler warning for using uninitialized variable. (Yasuhiro 4646 Matsumoto) 4647Solution: Initialize it. 4648Files: src/hardcopy.c 4649 4650Patch 7.4.702 4651Problem: Joining an empty list does unnecessary work. 4652Solution: Let join() return early. (Marco Hinz) 4653Files: src/eval.c 4654 4655Patch 7.4.703 4656Problem: Compiler warning for start_dir unused when building unittests. 4657Solution: Move start_dir inside the #ifdef. 4658Files: src/main.c 4659 4660Patch 7.4.704 4661Problem: Searching for a character matches an illegal byte and causes 4662 invalid memory access. (Dominique Pelle) 4663Solution: Do not match an invalid byte when search for a character in a 4664 string. Fix equivalence classes using negative numbers, which 4665 result in illegal bytes. 4666Files: src/misc2.c, src/regexp.c, src/testdir/test44.in 4667 4668Patch 7.4.705 4669Problem: Can't build with Ruby 2.2. 4670Solution: Add #ifdefs to handle the incompatible change. (Andrei Olsen) 4671Files: src/if_ruby.c 4672 4673Patch 7.4.706 4674Problem: Window drawn wrong when 'laststatus' is zero and there is a 4675 command-line window. (Yclept Nemo) 4676Solution: Set the status height a bit later. (Christian Brabandt) 4677Files: src/window.c 4678 4679Patch 7.4.707 4680Problem: Undo files can have their executable bit set. 4681Solution: Strip of the executable bit. (Mikael Berthe) 4682Files: src/undo.c 4683 4684Patch 7.4.708 4685Problem: gettext() is called too often. 4686Solution: Do not call gettext() for messages until they are actually used. 4687 (idea by Yasuhiro Matsumoto) 4688Files: src/eval.c 4689 4690Patch 7.4.709 4691Problem: ":tabmove" does not work as documented. 4692Solution: Make it work consistently. Update documentation and add tests. 4693 (Hirohito Higashi) 4694Files: src/window.c, runtime/doc/tabpage.txt, src/ex_docmd.c, 4695 src/testdir/test62.in, src/testdir/test62.ok 4696 4697Patch 7.4.710 4698Problem: It is not possible to make spaces visible in list mode. 4699Solution: Add the "space" item to 'listchars'. (David Bürgin, issue 350) 4700Files: runtime/doc/options.txt, src/globals.h, src/message.h, 4701 src/screen.c, src/testdir/test_listchars.in, 4702 src/testdir/test_listchars.ok, src/testdir/Make_amiga.mak, 4703 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 4704 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 4705 src/testdir/Makefile 4706 4707Patch 7.4.711 (after 7.4.710) 4708Problem: Missing change in one file. 4709Solution: Also change option.c 4710Files: src/option.c 4711 4712Patch 7.4.712 (after 7.4.710) 4713Problem: Missing change in another file. 4714Solution: Also change message.c 4715Files: src/message.c 4716 4717Patch 7.4.713 4718Problem: Wrong condition for #ifdef. 4719Solution: Change USR_EXRC_FILE2 to USR_VIMRC_FILE2. (Mikael Fourrier) 4720Files: src/os_unix.h 4721 4722Patch 7.4.714 4723Problem: Illegal memory access when there are illegal bytes. 4724Solution: Check the byte length of the character. (Dominique Pelle) 4725Files: src/regexp.c 4726 4727Patch 7.4.715 4728Problem: Invalid memory access when there are illegal bytes. 4729Solution: Get the length from the text, not from the character. (Dominique 4730 Pelle) 4731Files: src/regexp_nfa.c 4732 4733Patch 7.4.716 4734Problem: When using the 'c' flag of ":substitute" and selecting "a" or "l" 4735 at the prompt the flags are not remembered for ":&&". (Ingo 4736 Karkat) 4737Solution: Save the flag values and restore them. (Hirohito Higashi) 4738Files: src/ex_cmds.c 4739 4740Patch 7.4.717 4741Problem: ":let list += list" can change a locked list. 4742Solution: Check for the lock earlier. (Olaf Dabrunz) 4743Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok 4744 4745Patch 7.4.718 4746Problem: Autocommands triggered by quickfix cannot get the current title 4747 value. 4748Solution: Set w:quickfix_title earlier. (Yannick) 4749 Also move the check for a title into the function. 4750Files: src/quickfix.c 4751 4752Patch 7.4.719 4753Problem: Overflow when adding MAXCOL to a pointer. 4754Solution: Subtract pointers instead. (James McCoy) 4755Files: src/screen.c 4756 4757Patch 7.4.720 4758Problem: Can't build with Visual Studio 2015. 4759Solution: Recognize the "version 14" numbers and omit /nodefaultlib when 4760 appropriate. (Paul Moore) 4761Files: src/Make_mvc.mak 4762 4763Patch 7.4.721 4764Problem: When 'list' is set Visual mode does not highlight anything in 4765 empty lines. (mgaleski) 4766Solution: Check the value of lcs_eol in another place. (Christian Brabandt) 4767Files: src/screen.c 4768 4769Patch 7.4.722 4770Problem: 0x202f is not recognized as a non-breaking space character. 4771Solution: Add 0x202f to the list. (Christian Brabandt) 4772Files: runtime/doc/options.txt, src/message.c, src/screen.c 4773 4774Patch 7.4.723 4775Problem: For indenting, finding the C++ baseclass can be slow. 4776Solution: Cache the result. (Hirohito Higashi) 4777Files: src/misc1.c 4778 4779Patch 7.4.724 4780Problem: Vim icon does not show in Windows context menu. (issue 249) 4781Solution: Load the icon in GvimExt. 4782Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h 4783 4784Patch 7.4.725 4785Problem: ":call setreg('"', [])" reports an internal error. 4786Solution: Make the register empty. (Yasuhiro Matsumoto) 4787Files: src/ops.c 4788 4789Patch 7.4.726 (after 7.4.724) 4790Problem: Cannot build GvimExt. 4791Solution: Set APPVER to 5.0. (KF Leong) 4792Files: src/GvimExt/Makefile 4793 4794Patch 7.4.727 (after 7.4.724) 4795Problem: Cannot build GvimExt with MingW. 4796Solution: Add -lgdi32. (KF Leong) 4797Files: src/GvimExt/Make_ming.mak 4798 4799Patch 7.4.728 4800Problem: Can't build with some version of Visual Studio 2015. 4801Solution: Recognize another version 14 number. (Sinan) 4802Files: src/Make_mvc.mak 4803 4804Patch 7.4.729 (after 7.4.721) 4805Problem: Occasional crash with 'list' set. 4806Solution: Fix off-by-one error. (Christian Brabandt) 4807Files: src/screen.c 4808 4809Patch 7.4.730 4810Problem: When setting the crypt key and using a swap file, text may be 4811 encrypted twice or unencrypted text remains in the swap file. 4812 (Issue 369) 4813Solution: Call ml_preserve() before re-encrypting. Set correct index for 4814 next pointer block. 4815Files: src/memfile.c, src/memline.c, src/proto/memline.pro, src/option.c 4816 4817Patch 7.4.731 4818Problem: The tab menu shows "Close tab" even when it doesn't work. 4819Solution: Don't show "Close tab" for the last tab. (John Marriott) 4820Files: src/gui_w48.c, src/gui_gtk_x11.c, src/gui_mac.c, src/gui_motif.c 4821 4822Patch 7.4.732 4823Problem: The cursor line is not always updated for the "O" command. 4824Solution: Reset the VALID_CROW flag. (Christian Brabandt) 4825Files: src/normal.c 4826 4827Patch 7.4.733 4828Problem: test_listchars breaks on MS-Windows. (Kenichi Ito) 4829Solution: Set fileformat to "unix". (Christian Brabandt) 4830Files: src/testdir/test_listchars.in 4831 4832Patch 7.4.734 4833Problem: ml_get error when using "p" in a Visual selection in the last 4834 line. 4835Solution: Change the behavior at the last line. (Yukihiro Nakadaira) 4836Files: src/normal.c, src/ops.c, src/testdir/test94.in, 4837 src/testdir/test94.ok 4838 4839Patch 7.4.735 4840Problem: Wrong argument for sizeof(). 4841Solution: Use a pointer argument. (Chris Hall) 4842Files: src/eval.c 4843 4844Patch 7.4.736 4845Problem: Invalid memory access. 4846Solution: Avoid going over the end of a NUL terminated string. (Dominique 4847 Pelle) 4848Files: src/regexp.c 4849 4850Patch 7.4.737 4851Problem: On MS-Windows vimgrep over arglist doesn't work (Issue 361) 4852Solution: Only escape backslashes in ## expansion when it is not used as the 4853 path separator. (James McCoy) 4854Files: src/ex_docmd.c 4855 4856Patch 7.4.738 (after 7.4.732) 4857Problem: Can't compile without the syntax highlighting feature. 4858Solution: Add #ifdef around use of w_p_cul. (Hirohito Higashi) 4859Files: src/normal.c, src/screen.c 4860 4861Patch 7.4.739 4862Problem: In a string "\U" only takes 4 digits, while after CTRL-V U eight 4863 digits can be used. 4864Solution: Make "\U" also take eight digits. (Christian Brabandt) 4865Files: src/eval.c 4866 4867Patch 7.4.740 4868Problem: ":1quit" works like ":.quit". (Bohr Shaw) 4869Solution: Don't exit Vim when a range is specified. (Christian Brabandt) 4870Files: src/ex_docmd.c, src/testdir/test13.in, src/testdir/test13.ok 4871 4872Patch 7.4.741 4873Problem: When using += with ":set" a trailing comma is not recognized. 4874 (Issue 365) 4875Solution: Don't add a second comma. Add a test. (partly by Christian 4876 Brabandt) 4877Files: src/option.c, src/testdir/test_set.in, src/testdir/test_set.ok, 4878 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 4879 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 4880 src/testdir/Make_vms.mms, src/testdir/Makefile 4881 4882Patch 7.4.742 4883Problem: Cannot specify a vertical split when loading a buffer for a 4884 quickfix command. 4885Solution: Add the "vsplit" value to 'switchbuf'. (Brook Hong) 4886Files: runtime/doc/options.txt, src/buffer.c, src/option.h 4887 4888Patch 7.4.743 4889Problem: "p" in Visual mode causes an unexpected line split. 4890Solution: Advance the cursor first. (Yukihiro Nakadaira) 4891Files: src/ops.c, src/testdir/test94.in, src/testdir/test94.ok 4892 4893Patch 7.4.744 4894Problem: No tests for Ruby and Perl. 4895Solution: Add minimal tests. (Ken Takata) 4896Files: src/testdir/test_perl.in, src/testdir/test_perl.ok, 4897 src/testdir/test_ruby.in, src/testdir/test_ruby.ok, 4898 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 4899 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 4900 src/testdir/Make_vms.mms, src/testdir/Makefile 4901 4902Patch 7.4.745 4903Problem: The entries added by matchaddpos() are returned by getmatches() 4904 but can't be set with setmatches(). (Lcd) 4905Solution: Fix setmatches(). (Christian Brabandt) 4906Files: src/eval.c, src/testdir/test63.in, src/testdir/test63.ok 4907 4908Patch 7.4.746 4909Problem: ":[count]tag" is not always working. (cs86661) 4910Solution: Set cur_match a bit later. (Hirohito Higashi) 4911Files: src/tag.c, 4912 4913Patch 7.4.747 4914Problem: ":cnext" may jump to the wrong column when setting 4915 'virtualedit=all' (cs86661) 4916Solution: Reset the coladd field. (Hirohito Higashi) 4917Files: src/quickfix.c 4918 4919Patch 7.4.748 (after 7.4.745) 4920Problem: Buffer overflow. 4921Solution: Make the buffer larger. (Kazunobu Kuriyama) 4922Files: src/eval.c 4923 4924Patch 7.4.749 (after 7.4.741) 4925Problem: For some options two consecutive commas are OK. (Nikolai Pavlov) 4926Solution: Add the P_ONECOMMA flag. 4927Files: src/option.c 4928 4929Patch 7.4.750 4930Problem: Cannot build with clang 3.5 on Cygwin with perl enabled. 4931Solution: Strip "-fdebug-prefix-map" in configure. (Ken Takata) 4932Files: src/configure.in, src/auto/configure 4933 4934Patch 7.4.751 4935Problem: It is not obvious how to enable the address sanitizer. 4936Solution: Add commented-out flags in the Makefile. (Dominique Pelle) 4937 Also add missing test targets. 4938Files: src/Makefile 4939 4940Patch 7.4.752 4941Problem: Unicode 8.0 not supported. 4942Solution: Update tables for Unicode 8.0. Avoid E36 when running the script. 4943 (James McCoy) 4944Files: runtime/tools/unicode.vim, src/mbyte.c 4945 4946Patch 7.4.753 4947Problem: Appending in Visual mode with 'linebreak' set does not work 4948 properly. Also when 'selection' is "exclusive". (Ingo Karkat) 4949Solution: Recalculate virtual columns. (Christian Brabandt) 4950Files: src/normal.c, src/testdir/test_listlbr.in, 4951 src/testdir/test_listlbr.ok, src/testdir/test_listlbr_utf8.in, 4952 src/testdir/test_listlbr_utf8.ok 4953 4954Patch 7.4.754 4955Problem: Using CTRL-A in Visual mode does not work well. (Gary Johnson) 4956Solution: Make it increment all numbers in the Visual area. (Christian 4957 Brabandt) 4958Files: runtime/doc/change.txt, src/normal.c, src/ops.c, 4959 src/proto/ops.pro, src/testdir/Make_amiga.mak, 4960 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 4961 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 4962 src/testdir/Makefile, src/testdir/test_increment.in, 4963 src/testdir/test_increment.ok 4964 4965Patch 7.4.755 4966Problem: It is not easy to count the number of characters. 4967Solution: Add the skipcc argument to strchars(). (Hirohito Higashi, Ken 4968 Takata) 4969Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_utf8.in, 4970 src/testdir/test_utf8.ok 4971 4972Patch 7.4.756 4973Problem: Can't use strawberry Perl 5.22 x64 on MS-Windows. 4974Solution: Add new defines and #if. (Ken Takata) 4975Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/if_perl.xs 4976 4977Patch 7.4.757 4978Problem: Cannot detect the background color of a terminal. 4979Solution: Add T_RBG to request the background color if possible. (Lubomir 4980 Rintel) 4981Files: src/main.c, src/term.c, src/term.h, src/proto/term.pro 4982 4983Patch 7.4.758 4984Problem: When 'conceallevel' is 1 and quitting the command-line window with 4985 CTRL-C the first character ':' is erased. 4986Solution: Reset 'conceallevel' in the command-line window. (Hirohito 4987 Higashi) 4988Files: src/ex_getln.c 4989 4990Patch 7.4.759 4991Problem: Building with Lua 5.3 doesn't work, symbols have changed. 4992Solution: Use the new names for the new version. (Felix Schnizlein) 4993Files: src/if_lua.c 4994 4995Patch 7.4.760 4996Problem: Spelling mistakes are not displayed after ":syn spell". 4997Solution: Force a redraw after ":syn spell" command. (Christian Brabandt) 4998Files: src/syntax.c 4999 5000Patch 7.4.761 (after 7.4.757) 5001Problem: The request-background termcode implementation is incomplete. 5002Solution: Add the missing pieces. 5003Files: src/option.c, src/term.c 5004 5005Patch 7.4.762 (after 7.4.757) 5006Problem: Comment for may_req_bg_color() is wrong. (Christ van Willegen) 5007Solution: Rewrite the comment. 5008Files: src/term.c 5009 5010Patch 7.4.763 (after 7.4.759) 5011Problem: Building with Lua 5.1 doesn't work. 5012Solution: Define lua_replace and lua_remove. (KF Leong) 5013Files: src/if_lua.c 5014 5015Patch 7.4.764 (after 7.4.754) 5016Problem: test_increment fails on MS-Windows. (Ken Takata) 5017Solution: Clear Visual mappings. (Taro Muraoka) 5018Files: src/testdir/test_increment.in 5019 5020Patch 7.4.765 (after 7.4.754) 5021Problem: CTRL-A and CTRL-X in Visual mode do not always work well. 5022Solution: Improvements for increment and decrement. (Christian Brabandt) 5023Files: src/normal.c, src/ops.c, src/testdir/test_increment.in, 5024 src/testdir/test_increment.ok 5025 5026Patch 7.4.766 (after 7.4.757) 5027Problem: Background color check does not work on Tera Term. 5028Solution: Also recognize ST as a termination character. (Hirohito Higashi) 5029Files: src/term.c 5030 5031Patch 7.4.767 5032Problem: --remote-tab-silent can fail on MS-Windows. 5033Solution: Use single quotes to avoid problems with backslashes. (Idea by 5034 Weiyong Mao) 5035Files: src/main.c 5036 5037Patch 7.4.768 5038Problem: :diffoff only works properly once. 5039Solution: Also make :diffoff work when used a second time. (Olaf Dabrunz) 5040Files: src/diff.c 5041 5042Patch 7.4.769 (after 7.4 768) 5043Problem: Behavior of :diffoff is not tested. 5044Solution: Add a bit of testing. (Olaf Dabrunz) 5045Files: src/testdir/test47.in, src/testdir/test47.ok 5046 5047Patch 7.4.770 (after 7.4.766) 5048Problem: Background color response with transparency is not ignored. 5049Solution: Change the way escape sequences are recognized. (partly by 5050 Hirohito Higashi) 5051Files: src/ascii.h, src/term.c 5052 5053Patch 7.4.771 5054Problem: Search does not handle multi-byte character at the start position 5055 correctly. 5056Solution: Take byte size of character into account. (Yukihiro Nakadaira) 5057Files: src/search.c, src/testdir/Make_amiga.mak, 5058 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 5059 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 5060 src/testdir/Makefile, src/testdir/test_search_mbyte.in, 5061 src/testdir/test_search_mbyte.ok 5062 5063Patch 7.4.772 5064Problem: Racket 6.2 is not supported on MS-Windows. 5065Solution: Check for the "racket" subdirectory. (Weiyong Mao) 5066Files: src/Make_mvc.mak, src/if_mzsch.c 5067 5068Patch 7.4.773 5069Problem: 'langmap' is used in command-line mode when checking for mappings. 5070 Issue 376. 5071Solution: Do not use 'langmap' in command-line mode. (Larry Velazquez) 5072Files: src/getchar.c, src/testdir/test_mapping.in, 5073 src/testdir/test_mapping.ok 5074 5075Patch 7.4.774 5076Problem: When using the CompleteDone autocommand event it's difficult to 5077 get to the completed items. 5078Solution: Add the v:completed_items variable. (Shougo Matsu) 5079Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/edit.c, 5080 src/eval.c, src/macros.h, src/proto/eval.pro, src/vim.h 5081 5082Patch 7.4.775 5083Problem: It is not possible to avoid using the first item of completion. 5084Solution: Add the "noinsert" and "noselect" values to 'completeopt'. (Shougo 5085 Matsu) 5086Files: runtime/doc/options.txt, src/edit.c, src/option.c 5087 5088Patch 7.4.776 5089Problem: Equivalence class for 'd' does not work correctly. 5090Solution: Fix 0x1e0f and 0x1d0b. (Dominique Pelle) 5091Files: src/regexp.c, src/regexp_nfa.c 5092 5093Patch 7.4.777 5094Problem: The README file doesn't look nice on github. 5095Solution: Add a markdown version of the README file. 5096Files: Filelist, README.md 5097 5098Patch 7.4.778 5099Problem: Coverity warns for uninitialized variable. 5100Solution: Change condition of assignment. 5101Files: src/ops.c 5102 5103Patch 7.4.779 5104Problem: Using CTRL-A in a line without a number moves the cursor. May 5105 cause a crash when at the start of the line. (Urtica Dioica) 5106Solution: Do not move the cursor if no number was changed. 5107Files: src/ops.c 5108 5109Patch 7.4.780 5110Problem: Compiler complains about uninitialized variable and clobbered 5111 variables. 5112Solution: Add Initialization. Make variables static. 5113Files: src/ops.c, src/main.c 5114 5115Patch 7.4.781 5116Problem: line2byte() returns one less when 'bin' and 'noeol' are set. 5117Solution: Only adjust the size for the last line. (Rob Wu) 5118Files: src/memline.c 5119 5120Patch 7.4.782 5121Problem: Still a few problems with CTRL-A and CTRL-X in Visual mode. 5122Solution: Fix the reported problems. (Christian Brabandt) 5123Files: src/charset.c, src/eval.c, src/ex_cmds.c, src/ex_getln.c, 5124 src/misc2.c, src/normal.c, src/ops.c, src/option.c, 5125 src/proto/charset.pro, src/testdir/test_increment.in, 5126 src/testdir/test_increment.ok 5127 5128Patch 7.4.783 5129Problem: copy_chars() and copy_spaces() are inefficient. 5130Solution: Use memset() instead. (Dominique Pelle) 5131Files: src/ex_getln.c, src/misc2.c, src/ops.c, src/proto/misc2.pro, 5132 src/screen.c 5133 5134Patch 7.4.784 5135Problem: Using both "noinsert" and "noselect" in 'completeopt' does not 5136 work properly. 5137Solution: Change the ins_complete() calls. (Ozaki Kiichi) 5138Files: src/edit.c 5139 5140Patch 7.4.785 5141Problem: On some systems automatically adding the missing EOL causes 5142 problems. Setting 'binary' has too many side effects. 5143Solution: Add the 'fixeol' option, default on. (Pavel Samarkin) 5144Files: src/buffer.c, src/fileio.c, src/memline.c, src/netbeans.c, 5145 src/ops.c, src/option.c, src/option.h, src/os_unix.c, 5146 src/os_win32.c, src/structs.h, src/testdir/Make_amiga.mak, 5147 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 5148 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 5149 src/testdir/Makefile, src/testdir/test_fixeol.in, 5150 src/testdir/test_fixeol.ok, runtime/doc/options.txt, 5151 runtime/optwin.vim 5152 5153Patch 7.4.786 5154Problem: It is not possible for a plugin to adjust to a changed setting. 5155Solution: Add the OptionSet autocommand event. (Christian Brabandt) 5156Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/eval.c, 5157 src/fileio.c, src/option.c, src/proto/eval.pro, 5158 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 5159 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 5160 src/testdir/Make_vms.mms, src/testdir/Makefile, 5161 src/testdir/test_autocmd_option.in, 5162 src/testdir/test_autocmd_option.ok, src/vim.h 5163 5164Patch 7.4.787 (after 7.4.786) 5165Problem: snprintf() isn't available everywhere. 5166Solution: Use vim_snprintf(). (Ken Takata) 5167Files: src/option.c 5168 5169Patch 7.4.788 (after 7.4.787) 5170Problem: Can't build without the crypt feature. (John Marriott) 5171Solution: Add #ifdef's. 5172Files: src/option.c 5173 5174Patch 7.4.789 (after 7.4.788) 5175Problem: Using freed memory and crash. (Dominique Pelle) 5176Solution: Correct use of pointers. (Hirohito Higashi) 5177Files: src/option.c 5178 5179Patch 7.4.790 (after 7.4.786) 5180Problem: Test fails when the autochdir feature is not available. Test 5181 output contains the test script. 5182Solution: Check for the autochdir feature. (Kazunobu Kuriyama) Only write 5183 the relevant test output. 5184Files: src/testdir/test_autocmd_option.in, 5185 src/testdir/test_autocmd_option.ok 5186 5187Patch 7.4.791 5188Problem: The buffer list can be very long. 5189Solution: Add an argument to ":ls" to specify the type of buffer to list. 5190 (Marcin Szamotulski) 5191Files: runtime/doc/windows.txt, src/buffer.c, src/ex_cmds.h 5192 5193Patch 7.4.792 5194Problem: Can only conceal text by defining syntax items. 5195Solution: Use matchadd() to define concealing. (Christian Brabandt) 5196Files: runtime/doc/eval.txt, src/eval.c, src/ex_docmd.c, 5197 src/proto/window.pro, src/screen.c, src/structs.h, 5198 src/testdir/Make_amiga.mak, 5199 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 5200 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 5201 src/testdir/Makefile, src/testdir/test_match_conceal.in, 5202 src/testdir/test_match_conceal.ok, src/window.c 5203 5204Patch 7.4.793 5205Problem: Can't specify when not to ring the bell. 5206Solution: Add the 'belloff' option. (Christian Brabandt) 5207Files: runtime/doc/options.txt, src/edit.c, src/ex_getln.c, 5208 src/hangulin.c, src/if_lua.c, src/if_mzsch.c, src/if_tcl.c, 5209 src/message.c, src/misc1.c, src/normal.c, src/option.c, 5210 src/option.h, src/proto/misc1.pro, src/search.c, src/spell.c 5211 5212Patch 7.4.794 5213Problem: Visual Studio 2015 is not recognized. 5214Solution: Add the version numbers to the makefile. (Taro Muraoka) 5215Files: src/Make_mvc.mak 5216 5217Patch 7.4.795 5218Problem: The 'fixeol' option is not copied to a new window. 5219Solution: Copy the option value. (Yasuhiro Matsumoto) 5220Files: src/option.c 5221 5222Patch 7.4.796 5223Problem: Warning from 64 bit compiler. 5224Solution: Add type cast. (Mike Williams) 5225Files: src/ops.c 5226 5227Patch 7.4.797 5228Problem: Crash when using more lines for the command line than 5229 'maxcombine'. 5230Solution: Use the correct array index. Also, do not try redrawing when 5231 exiting. And use screen_Columns instead of Columns. 5232Files: src/screen.c 5233 5234Patch 7.4.798 (after 7.4.753) 5235Problem: Repeating a change in Visual mode does not work as expected. 5236 (Urtica Dioica) 5237Solution: Make redo in Visual mode work better. (Christian Brabandt) 5238Files: src/normal.c, src/testdir/test_listlbr.in, 5239 src/testdir/test_listlbr.ok 5240 5241Patch 7.4.799 5242Problem: Accessing memory before an allocated block. 5243Solution: Check for not going before the start of a pattern. (Dominique 5244 Pelle) 5245Files: src/fileio.c 5246 5247Patch 7.4.800 5248Problem: Using freed memory when triggering CmdUndefined autocommands. 5249Solution: Set pointer to NULL. (Dominique Pelle) 5250Files: src/ex_docmd.c 5251 5252Patch 7.4.801 (after 7.4.769) 5253Problem: Test for ":diffoff" doesn't catch all potential problems. 5254Solution: Add a :diffthis and a :diffoff command. (Olaf Dabrunz) 5255Files: src/testdir/test47.in 5256 5257Patch 7.4.802 5258Problem: Using "A" in Visual mode while 'linebreak' is set is not tested. 5259Solution: Add a test for this, verifies the problem is fixed. (Ingo Karkat) 5260Files: src/testdir/test39.in, src/testdir/test39.ok 5261 5262Patch 7.4.803 5263Problem: C indent does not support C11 raw strings. (Mark Lodato) 5264Solution: Do not change indent inside the raw string. 5265Files: src/search.c, src/misc1.c, src/edit.c, src/ops.c, 5266 src/testdir/test3.in, src/testdir/test3.ok 5267 5268Patch 7.4.804 5269Problem: Xxd doesn't have a license notice. 5270Solution: Add license as indicated by Juergen. 5271Files: src/xxd/xxd.c 5272 5273Patch 7.4.805 5274Problem: The ruler shows "Bot" even when there are only filler lines 5275 missing. (Gary Johnson) 5276Solution: Use "All" when the first line and one filler line are visible. 5277Files: src/buffer.c 5278 5279Patch 7.4.806 5280Problem: CTRL-A in Visual mode doesn't work properly with "alpha" in 5281 'nrformats'. 5282Solution: Make it work. (Christian Brabandt) 5283Files: src/ops.c, src/testdir/test_increment.in, 5284 src/testdir/test_increment.ok 5285 5286Patch 7.4.807 (after 7.4.798) 5287Problem: After CTRL-V CTRL-A mode isn't updated. (Hirohito Higashi) 5288Solution: Clear the command line or update the displayed command. 5289Files: src/normal.c 5290 5291Patch 7.4.808 5292Problem: On MS-Windows 8 IME input doesn't work correctly. 5293Solution: Read console input before calling MsgWaitForMultipleObjects(). 5294 (vim-jp, Nobuhiro Takasaki) 5295Files: src/os_win32.c 5296 5297Patch 7.4.809 (after 7.4.802) 5298Problem: Test is duplicated. 5299Solution: Roll back 7.4.802. 5300Files: src/testdir/test39.in, src/testdir/test39.ok 5301 5302Patch 7.4.810 5303Problem: With a sequence of commands using buffers in diff mode E749 is 5304 given. (itchyny) 5305Solution: Skip unloaded buffer. (Hirohito Higashi) 5306Files: src/diff.c 5307 5308Patch 7.4.811 5309Problem: Invalid memory access when using "exe 'sc'". 5310Solution: Avoid going over the end of the string. (Dominique Pelle) 5311Files: src/ex_docmd.c 5312 5313Patch 7.4.812 5314Problem: Gcc sanitizer complains about using a NULL pointer to memmove(). 5315Solution: Only call memmove when there is something to move. (Vittorio 5316 Zecca) 5317Files: src/memline.c 5318 5319Patch 7.4.813 5320Problem: It is not possible to save and restore character search state. 5321Solution: Add getcharsearch() and setcharsearch(). (James McCoy) 5322Files: runtime/doc/eval.txt, src/eval.c, src/proto/search.pro, 5323 src/search.c, src/testdir/test_charsearch.in, 5324 src/testdir/test_charsearch.ok, src/testdir/Makefile, 5325 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 5326 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 5327 src/testdir/Make_vms.mms 5328 5329Patch 7.4.814 5330Problem: Illegal memory access with "sy match a fold". 5331Solution: Check for empty string. (Dominique Pelle) 5332Files: src/syntax.c 5333 5334Patch 7.4.815 5335Problem: Invalid memory access when doing ":call g:". 5336Solution: Check for an empty name. (Dominique Pelle) 5337Files: src/eval.c 5338 5339Patch 7.4.816 5340Problem: Invalid memory access when doing ":fun X(". 5341Solution: Check for missing ')'. (Dominique Pelle) 5342Files: src/eval.c 5343 5344Patch 7.4.817 5345Problem: Invalid memory access in file_pat_to_reg_pat(). 5346Solution: Use vim_isspace() instead of checking for a space only. (Dominique 5347 Pelle) 5348Files: src/fileio.c 5349 5350Patch 7.4.818 5351Problem: 'linebreak' breaks c% if the last Visual selection was block. 5352 (Chris Morganiser, Issue 389) 5353Solution: Handle Visual block mode differently. (Christian Brabandt) 5354Files: src/normal.c, src/testdir/test_listlbr.in, 5355 src/testdir/test_listlbr.ok 5356 5357Patch 7.4.819 5358Problem: Beeping when running the tests. 5359Solution: Fix 41 beeps. (Roland Eggner) 5360Files: src/testdir/test17.in, src/testdir/test29.in, 5361 src/testdir/test4.in, src/testdir/test61.in, 5362 src/testdir/test82.in, src/testdir/test83.in, 5363 src/testdir/test90.in, src/testdir/test95.in, 5364 src/testdir/test_autoformat_join.in 5365 5366Patch 7.4.820 5367Problem: Invalid memory access in file_pat_to_reg_pat. 5368Solution: Avoid looking before the start of a string. (Dominique Pelle) 5369Files: src/fileio.c 5370 5371Patch 7.4.821 5372Problem: Coverity reports a few problems. 5373Solution: Avoid the warnings. (Christian Brabandt) 5374Files: src/ex_docmd.c, src/option.c, src/screen.c 5375 5376Patch 7.4.822 5377Problem: More problems reported by coverity. 5378Solution: Avoid the warnings. (Christian Brabandt) 5379Files: src/os_unix.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c, 5380 src/ex_getln.c, src/fold.c, src/gui.c, src/gui_w16.c, 5381 src/gui_w32.c, src/if_cscope.c, src/if_xcmdsrv.c, src/move.c, 5382 src/normal.c, src/regexp.c, src/syntax.c, src/ui.c, src/window.c 5383 5384Patch 7.4.823 5385Problem: Cursor moves after CTRL-A on alphabetic character. 5386Solution: (Hirohito Higashi, test by Christian Brabandt) 5387Files: src/testdir/test_increment.in, src/testdir/test_increment.ok, 5388 src/ops.c 5389 5390Patch 7.4.824 (after 7.4.813) 5391Problem: Can't compile without the multi-byte feature. (John Marriott) 5392Solution: Add #ifdef. 5393Files: src/eval.c 5394 5395Patch 7.4.825 5396Problem: Invalid memory access for ":syn keyword x a[". 5397Solution: Do not skip over the NUL. (Dominique Pelle) 5398Files: src/syntax.c 5399 5400Patch 7.4.826 5401Problem: Compiler warnings and errors. 5402Solution: Make it build properly without the multi-byte feature. 5403Files: src/eval.c, src/search.c 5404 5405Patch 7.4.827 5406Problem: Not all test targets are in the Makefile. 5407Solution: Add the missing targets. 5408Files: src/Makefile 5409 5410Patch 7.4.828 5411Problem: Crash when using "syn keyword x c". (Dominique Pelle) 5412Solution: Initialize the keyword table. (Raymond Ko, PR 397) 5413Files: src/syntax.c 5414 5415Patch 7.4.829 5416Problem: Crash when clicking in beval balloon. (Travis Lebsock) 5417Solution: Use PostMessage() instead of DestroyWindow(). (Raymond Ko, PR 298) 5418Files: src/gui_w32.c 5419 5420Patch 7.4.830 5421Problem: Resetting 'encoding' when doing ":set all&" causes problems. 5422 (Bjorn Linse) Display is not updated. 5423Solution: Do not reset 'encoding'. Do a full redraw. 5424Files: src/option.c 5425 5426Patch 7.4.831 5427Problem: When expanding `=expr` on the command line and encountering an 5428 error, the command is executed anyway. 5429Solution: Bail out when an error is detected. 5430Files: src/misc1.c 5431 5432Patch 7.4.832 5433Problem: $HOME in `=$HOME . '/.vimrc'` is expanded too early. 5434Solution: Skip over `=expr` when expanding environment names. 5435Files: src/misc1.c 5436 5437Patch 7.4.833 5438Problem: More side effects of ":set all&" are missing. (Björn Linse) 5439Solution: Call didset_options() and add didset_options2() to collect more 5440 side effects to take care of. Still not everything... 5441Files: src/option.c 5442 5443Patch 7.4.834 5444Problem: gettabvar() doesn't work after Vim start. (Szymon Wrozynski) 5445Solution: Handle first window in tab still being NULL. (Christian Brabandt) 5446Files: src/eval.c, src/testdir/test91.in, src/testdir/test91.ok 5447 5448Patch 7.4.835 5449Problem: Comparing utf-8 sequences does not handle different byte sizes 5450 correctly. 5451Solution: Get the byte size of each character. (Dominique Pelle) 5452Files: src/misc2.c 5453 5454Patch 7.4.836 5455Problem: Accessing uninitialized memory. 5456Solution: Add missing calls to init_tv(). (Dominique Pelle) 5457Files: src/eval.c 5458 5459Patch 7.4.837 5460Problem: Compiler warning with MSVC compiler when using +sniff. 5461Solution: Use Sleep() instead of _sleep(). (Tux) 5462Files: src/if_sniff.c 5463 5464Patch 7.4.838 (after 7.4.833) 5465Problem: Can't compile without the crypt feature. (John Marriott) 5466Solution: Add #ifdef. 5467Files: src/option.c 5468 5469Patch 7.4.839 5470Problem: Compiler warning on 64-bit system. 5471Solution: Add cast to int. (Mike Williams) 5472Files: src/search.c 5473 5474Patch 7.4.840 (after 7.4.829) 5475Problem: Tooltip window stays open. 5476Solution: Send a WM_CLOSE message. (Jurgen Kramer) 5477Files: src/gui_w32.c 5478 5479Patch 7.4.841 5480Problem: Can't compile without the multi-byte feature. (John Marriott) 5481Solution: Add more #ifdef's. 5482Files: src/option.c 5483 5484Patch 7.4.842 (after 7.4.840) 5485Problem: Sending too many messages to close the balloon. 5486Solution: Only send a WM_CLOSE message. (Jurgen Kramer) 5487Files: src/gui_w32.c 5488 5489Patch 7.4.843 (after 7.4.835) 5490Problem: Still possible to go beyond the end of a string. 5491Solution: Check for NUL also in second string. (Dominique Pelle) 5492Files: src/misc2.c 5493 5494Patch 7.4.844 5495Problem: When '#' is in 'isident' the is# comparator doesn't work. 5496Solution: Don't use vim_isIDc(). (Yasuhiro Matsumoto) 5497Files: src/eval.c, src/testdir/test_comparators.in, 5498 src/testdir/test_comparators.ok, src/testdir/Makefile, 5499 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 5500 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 5501 src/testdir/Make_vms.mms 5502 5503Patch 7.4.845 5504Problem: Compiler warning for possible loss of data. 5505Solution: Add a type cast. (Erich Ritz) 5506Files: src/misc1.c 5507 5508Patch 7.4.846 5509Problem: Some GitHub users don't know how to use issues. 5510Solution: Add a file that explains the basics of contributing. 5511Files: Filelist, CONTRIBUTING.md 5512 5513Patch 7.4.847 5514Problem: "vi)d" may leave a character behind. 5515Solution: Skip over multi-byte character. (Christian Brabandt) 5516Files: src/search.c 5517 5518Patch 7.4.848 5519Problem: CTRL-A on hex number in Visual block mode is incorrect. 5520Solution: Account for the "0x". (Hirohito Higashi) 5521Files: src/charset.c, src/testdir/test_increment.in, 5522 src/testdir/test_increment.ok 5523 5524Patch 7.4.849 5525Problem: Moving the cursor in Insert mode starts new undo sequence. 5526Solution: Add CTRL-G U to keep the undo sequence for the following cursor 5527 movement command. (Christian Brabandt) 5528Files: runtime/doc/insert.txt, src/edit.c, src/testdir/test_mapping.in, 5529 src/testdir/test_mapping.ok 5530 5531Patch 7.4.850 (after 7.4.846) 5532Problem: <Esc> does not show up. 5533Solution: Use > and <. (Kazunobu Kuriyama) 5534Files: CONTRIBUTING.md 5535 5536Patch 7.4.851 5537Problem: Saving and restoring the console buffer does not work properly. 5538Solution: Instead of ReadConsoleOutputA/WriteConsoleOutputA use 5539 CreateConsoleScreenBuffer and SetConsoleActiveScreenBuffer. 5540 (Ken Takata) 5541Files: src/os_win32.c 5542 5543Patch 7.4.852 5544Problem: On MS-Windows console Vim uses ANSI APIs for keyboard input and 5545 console output, it cannot input/output Unicode characters. 5546Solution: Use Unicode APIs for console I/O. (Ken Takata, Yasuhiro Matsumoto) 5547Files: src/os_win32.c, src/ui.c, runtime/doc/options.txt 5548 5549Patch 7.4.853 5550Problem: "zt" in diff mode does not always work properly. (Gary Johnson) 5551Solution: Don't count filler lines twice. (Christian Brabandt) 5552Files: src/move.c 5553 5554Patch 7.4.854 (after 7.4.850) 5555Problem: Missing information about runtime files. 5556Solution: Add section about runtime files. (Christian Brabandt) 5557Files: CONTRIBUTING.md 5558 5559Patch 7.4.855 5560Problem: GTK: font glitches for combining characters 5561Solution: Use pango_shape_full() instead of pango_shape(). (luchr, PR #393) 5562Files: src/gui_gtk_x11.c 5563 5564Patch 7.4.856 5565Problem: "zt" still doesn't work well with filler lines. (Gary Johnson) 5566Solution: Check for filler lines above the cursor. (Christian Brabandt) 5567Files: src/move.c 5568 5569Patch 7.4.857 5570Problem: Dragging the current tab with the mouse doesn't work properly. 5571Solution: Take the current tabpage index into account. (Hirohito Higashi) 5572Files: src/normal.c 5573 5574Patch 7.4.858 5575Problem: It's a bit clumsy to execute a command on a list of matches. 5576Solution: Add the ":ldo", ":lfdo", ":cdo" and ":cfdo" commands. (Yegappan 5577 Lakshmanan) 5578Files: runtime/doc/cmdline.txt, runtime/doc/editing.txt, 5579 runtime/doc/index.txt, runtime/doc/quickfix.txt, 5580 runtime/doc/tabpage.txt, runtime/doc/windows.txt, src/ex_cmds.h, 5581 src/ex_cmds2.c, src/ex_docmd.c, src/proto/quickfix.pro, 5582 src/quickfix.c, src/testdir/Make_amiga.mak, 5583 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 5584 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 5585 src/testdir/Makefile, src/testdir/test_cdo.in, 5586 src/testdir/test_cdo.ok 5587 5588Patch 7.4.859 5589Problem: Vim doesn't recognize all htmldjango files. 5590Solution: Recognize a comment. (Daniel Hahler, PR #410) 5591Files: runtime/filetype.vim 5592 5593Patch 7.4.860 5594Problem: Filetype detection is outdated. 5595Solution: Include all recent and not-so-recent changes. 5596Files: runtime/filetype.vim 5597 5598Patch 7.4.861 (after 7.4.855) 5599Problem: pango_shape_full() is not always available. 5600Solution: Add a configure check. 5601Files: src/configure.in, src/auto/configure, src/config.h.in, 5602 src/gui_gtk_x11.c 5603 5604Patch 7.4.862 (after 7.4.861) 5605Problem: Still problems with pango_shape_full() not available. 5606Solution: Change AC_TRY_COMPILE to AC_TRY_LINK. 5607Files: src/configure.in, src/auto/configure 5608 5609Patch 7.4.863 (after 7.4.856) 5610Problem: plines_nofill() used without the diff feature. 5611Solution: Define PLINES_NOFILL(). 5612Files: src/macros.h, src/move.c 5613 5614Patch 7.4.864 (after 7.4.858) 5615Problem: Tiny build fails. 5616Solution: Put qf_ items inside #ifdef. 5617Files: src/ex_docmd.c 5618 5619Patch 7.4.865 5620Problem: Compiler warning for uninitialized variable. 5621Solution: Initialize. 5622Files: src/ex_cmds2.c 5623 5624Patch 7.4.866 5625Problem: Crash when changing the 'tags' option from a remote command. 5626 (Benjamin Fritz) 5627Solution: Instead of executing messages immediately, use a queue, like for 5628 netbeans. (James Kolb) 5629Files: src/ex_docmd.c, src/getchar.c, src/gui_gtk_x11.c, src/gui_w48.c, 5630 src/gui_x11.c, src/if_xcmdsrv.c, src/misc2.c, src/os_unix.c, 5631 src/proto/if_xcmdsrv.pro, src/proto/misc2.pro, src/macros.h 5632 5633Patch 7.4.867 (after 7.4.866) 5634Problem: Can't build on MS-Windows. (Taro Muraoka) 5635Solution: Adjust #ifdef. 5636Files: src/misc2.c 5637 5638Patch 7.4.868 5639Problem: 'smarttab' is also effective when 'paste' is enabled. (Alexander 5640 Monakov) 5641Solution: Disable 'smarttab' when 'paste' is set. (Christian Brabandt) 5642 Do the same for 'expandtab'. 5643Files: src/option.c, src/structs.h 5644 5645Patch 7.4.869 5646Problem: MS-Windows: scrolling may cause text to disappear when using an 5647 Intel GPU. 5648Solution: Call GetPixel(). (Yohei Endo) 5649Files: src/gui_w48.c 5650 5651Patch 7.4.870 5652Problem: May get into an invalid state when using getchar() in an 5653 expression mapping. 5654Solution: Anticipate mod_mask to change. (idea by Yukihiro Nakadaira) 5655Files: src/getchar.c 5656 5657Patch 7.4.871 5658Problem: Vim leaks memory, when 'wildignore' filters out all matches. 5659Solution: Free the files array when it becomes empty. 5660Files: src/misc1.c 5661 5662Patch 7.4.872 5663Problem: Not using CI services available. 5664Solution: Add configuration files for travis and appveyor. (Ken Takata, 5665 vim-jp, PR #401) 5666Files: .travis.yml, appveyor.yml, Filelist 5667 5668Patch 7.4.873 (after 7.4.866) 5669Problem: Compiler warning for unused variable. (Tony Mechelynck) 5670Solution: Remove the variable. Also fix int vs long_u mixup. 5671Files: src/if_xcmdsrv.c 5672 5673Patch 7.4.874 5674Problem: MS-Windows: When Vim runs inside another application, the size 5675 isn't right. 5676Solution: When in child mode compute the size differently. (Agorgianitis 5677 Loukas) 5678Files: src/gui_w48.c 5679 5680Patch 7.4.875 5681Problem: Not obvious how to contribute. 5682Solution: Add a remark about CONTRIBUTING.md to README.md 5683Files: README.md 5684 5685Patch 7.4.876 5686Problem: Windows7: when using vim.exe with msys or msys2, conhost.exe 5687 (console window provider on Windows7) will freeze or crash. 5688Solution: Make original screen buffer active, before executing external 5689 program. And when the program is finished, revert to vim's one. 5690 (Taro Muraoka) 5691Files: src/os_win32.c 5692 5693Patch 7.4.877 (after 7.4.843) 5694Problem: ":find" sometimes fails. (Excanoe) 5695Solution: Compare current characters instead of previous ones. 5696Files: src/misc2.c 5697 5698Patch 7.4.878 5699Problem: Coverity error for clearing only one byte of struct. 5700Solution: Clear the whole struct. (Dominique Pelle) 5701Files: src/ex_docmd.c 5702 5703Patch 7.4.879 5704Problem: Can't see line numbers in nested function calls. 5705Solution: Add line number to the file name. (Alberto Fanjul) 5706Files: src/eval.c 5707 5708Patch 7.4.880 5709Problem: No build and coverage status. 5710Solution: Add links to the README file. (Christian Brabandt) 5711Files: README.md 5712 5713Patch 7.4.881 (after 7.4.879) 5714Problem: Test 49 fails. 5715Solution: Add line number to check of call stack. 5716Files: src/testdir/test49.vim 5717 5718Patch 7.4.882 5719Problem: When leaving the command line window with CTRL-C while a 5720 completion menu is displayed the menu isn't removed. 5721Solution: Force a screen update. (Hirohito Higashi) 5722Files: src/edit.c 5723 5724Patch 7.4.883 (after 7.4.818) 5725Problem: Block-mode replace works characterwise instead of blockwise after 5726 column 147. (Issue #422) 5727Solution: Set Visual mode. (Christian Brabandt) 5728Files: src/normal.c, src/testdir/test_listlbr.in, 5729 src/testdir/test_listlbr.ok 5730 5731Patch 7.4.884 5732Problem: Travis also builds on a tag push. 5733Solution: Filter out tag pushes. (Kenichi Ito) 5734Files: .travis.yml 5735 5736Patch 7.4.885 5737Problem: When doing an upwards search without wildcards the search fails if 5738 the initial directory doesn't exist. 5739Solution: Fix the non-wildcard case. (Stefan Kempf) 5740Files: src/misc2.c 5741 5742Patch 7.4.886 (after 7.4.876) 5743Problem: Windows7: Switching screen buffer causes flicker when using 5744 system(). 5745Solution: Instead of actually switching screen buffer, duplicate the handle. 5746 (Yasuhiro Matsumoto) 5747Files: src/os_win32.c 5748 5749Patch 7.4.887 5750Problem: Using uninitialized memory for regexp with back reference. 5751 (Dominique Pelle) 5752Solution: Initialize end_lnum. 5753Files: src/regexp_nfa.c 5754 5755Patch 7.4.888 5756Problem: The OptionSet autocommands are not triggered from setwinvar(). 5757Solution: Do not use switch_win() when not needed. (Hirohito Higashi) 5758Files: src/eval.c 5759 5760Patch 7.4.889 5761Problem: Triggering OptionSet from setwinvar() isn't tested. 5762Solution: Add a test. (Christian Brabandt) 5763Files: src/testdir/test_autocmd_option.in, 5764 src/testdir/test_autocmd_option.ok 5765 5766Patch 7.4.890 5767Problem: Build failure when using dynamic python but not python3. 5768Solution: Adjust the #if to also include DYNAMIC_PYTHON3 and UNIX. 5769Files: src/if_python3.c 5770 5771Patch 7.4.891 5772Problem: Indentation of array initializer is wrong. 5773Solution: Avoid that calling find_start_rawstring() changes the position 5774 returned by find_start_comment(), add a test. (Hirohito Higashi) 5775Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 5776 5777Patch 7.4.892 5778Problem: On MS-Windows the iconv DLL may have a different name. 5779Solution: Also try libiconv2.dll and libiconv-2.dll. (Yasuhiro Matsumoto) 5780Files: src/mbyte.c 5781 5782Patch 7.4.893 5783Problem: C indenting is wrong below a "case (foo):" because it is 5784 recognized as a C++ base class construct. Issue #38. 5785Solution: Check for the case keyword. 5786Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 5787 5788Patch 7.4.894 5789Problem: vimrun.exe is picky about the number of spaces before -s. 5790Solution: Skip all spaces. (Cam Sinclair) 5791Files: src/vimrun.c 5792 5793Patch 7.4.895 5794Problem: Custom command line completion does not work for a command 5795 containing digits. 5796Solution: Skip over the digits. (suggested by Yasuhiro Matsumoto) 5797Files: src/ex_docmd.c 5798 5799Patch 7.4.896 5800Problem: Editing a URL, which netrw should handle, doesn't work. 5801Solution: Avoid changing slashes to backslashes. (Yasuhiro Matsumoto) 5802Files: src/fileio.c, src/os_mswin.c 5803 5804Patch 7.4.897 5805Problem: Freeze and crash when there is a sleep in a remote command. 5806 (Karl Yngve Lervåg) 5807Solution: Remove a message from the queue before dealing with it. (James 5808 Kolb) 5809Files: src/if_xcmdsrv.c 5810 5811Patch 7.4.898 5812Problem: The 'fixendofline' option is set on with ":edit". 5813Solution: Don't set the option when clearing a buffer. (Yasuhiro Matsumoto) 5814Files: src/buffer.c 5815 5816Patch 7.4.899 5817Problem: README file is not optimal. 5818Solution: Move buttons, update some text. (closes #460) 5819Files: README.txt, README.md 5820 5821Patch 7.4.900 (after 7.4.899) 5822Problem: README file can still be improved 5823Solution: Add a couple of links. (Christian Brabandt) 5824Files: README.md 5825 5826Patch 7.4.901 5827Problem: When a BufLeave autocommand changes folding in a way it syncs 5828 undo, undo can be corrupted. 5829Solution: Prevent undo sync. (Jacob Niehus) 5830Files: src/popupmnu.c 5831 5832Patch 7.4.902 5833Problem: Problems with using the MS-Windows console. 5834Solution: Revert patches 7.4.851, 7.4.876 and 7.4.886 until we find a better 5835 solution. (suggested by Ken Takata) 5836Files: src/os_win32.c 5837 5838Patch 7.4.903 5839Problem: MS-Windows: When 'encoding' differs from the current code page, 5840 expanding wildcards may cause illegal memory access. 5841Solution: Allocate a longer buffer. (Ken Takata) 5842Files: src/misc1.c 5843 5844Patch 7.4.904 5845Problem: Vim does not provide .desktop files. 5846Solution: Include and install .desktop files. (James McCoy, closes #455) 5847Files: Filelist, runtime/vim.desktop, runtime/gvim.desktop, src/Makefile 5848 5849Patch 7.4.905 5850Problem: Python interface can produce error "vim.message' object has no 5851 attribute 'isatty'". 5852Solution: Add dummy isatty(), readable(), etc. (closes #464) 5853Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok, 5854 src/testdir/test87.in, src/testdir/test87.ok 5855 5856Patch 7.4.906 5857Problem: On MS-Windows the viminfo file is (always) given the hidden 5858 attribute. (raulnac) 5859Solution: Check the hidden attribute in a different way. (Ken Takata) 5860Files: src/ex_cmds.c, src/os_win32.c, src/os_win32.pro 5861 5862Patch 7.4.907 5863Problem: Libraries for dynamically loading interfaces can only be defined 5864 at compile time. 5865Solution: Add options to specify the dll names. (Kazuki Sakamoto, 5866 closes #452) 5867Files: runtime/doc/if_lua.txt, runtime/doc/if_perl.txt, 5868 runtime/doc/if_pyth.txt, runtime/doc/if_ruby.txt, 5869 runtime/doc/options.txt, src/if_lua.c, src/if_perl.xs, 5870 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/option.c, 5871 src/option.h 5872 5873Patch 7.4.908 (after 7.4.907) 5874Problem: Build error with MingW compiler. (Cesar Romani) 5875Solution: Change #if into #ifdef. 5876Files: src/if_perl.xs 5877 5878Patch 7.4.909 (after 7.4.905) 5879Problem: "make install" fails. 5880Solution: Only try installing desktop files if the destination directory 5881 exists. 5882Files: src/Makefile 5883 5884Patch 7.4.910 (after 7.4.905) 5885Problem: Compiler complains about type punned pointer. 5886Solution: Use another way to increment the ref count. 5887Files: src/if_py_both.h 5888 5889Patch 7.4.911 5890Problem: t_Ce and t_Cs are documented but not supported. (Hirohito Higashi) 5891Solution: Define the options. 5892Files: src/option.c 5893 5894Patch 7.4.912 5895Problem: Wrong indenting for C++ constructor. 5896Solution: Recognize ::. (Anhong) 5897Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 5898 5899Patch 7.4.913 5900Problem: No utf-8 support for the hangul input feature. 5901Solution: Add utf-8 support. (Namsh) 5902Files: src/gui.c, src/hangulin.c, src/proto/hangulin.pro, src/screen.c, 5903 src/ui.c, runtime/doc/hangulin.txt, src/feature.h 5904 5905Patch 7.4.914 5906Problem: New compiler warning: logical-not-parentheses 5907Solution: Silence the warning. 5908Files: src/term.c 5909 5910Patch 7.4.915 5911Problem: When removing from 'path' and then adding, a comma may go missing. 5912 (Malcolm Rowe) 5913Solution: Fix the check for P_ONECOMMA. (closes #471) 5914Files: src/option.c, src/testdir/test_options.in, 5915 src/testdir/test_options.ok 5916 5917Patch 7.4.916 5918Problem: When running out of memory while copying a dict memory may be 5919 freed twice. (ZyX) 5920Solution: Do not call the garbage collector when running out of memory. 5921Files: src/misc2.c 5922 5923Patch 7.4.917 5924Problem: Compiler warning for comparing signed and unsigned. 5925Solution: Add a type cast. 5926Files: src/hangulin.c 5927 5928Patch 7.4.918 5929Problem: A digit in an option name has problems. 5930Solution: Rename 'python3dll' to 'pythonthreedll'. 5931Files: src/option.c, src/option.h, runtime/doc/options.txt 5932 5933Patch 7.4.919 5934Problem: The dll options are not in the options window. 5935Solution: Add the dll options. And other fixes. 5936Files: runtime/optwin.vim 5937 5938Patch 7.4.920 5939Problem: The rubydll option is not in the options window. 5940Solution: Add the rubydll option. 5941Files: runtime/optwin.vim 5942 5943Patch 7.4.921 (after 7.4.906) 5944Problem: Missing proto file update. (Randall W. Morris) 5945Solution: Add the missing line for mch_ishidden. 5946Files: src/proto/os_win32.pro 5947 5948Patch 7.4.922 5949Problem: Leaking memory with ":helpt {dir-not-exists}". 5950Solution: Free dirname. (Dominique Pelle) 5951Files: src/ex_cmds.c 5952 5953Patch 7.4.923 5954Problem: Prototypes not always generated. 5955Solution: Change #if to OR with PROTO. 5956Files: src/window.c 5957 5958Patch 7.4.924 5959Problem: DEVELOPER_DIR gets reset by configure. 5960Solution: Do not reset DEVELOPER_DIR when there is no --with-developer-dir 5961 argument. (Kazuki Sakamoto, closes #482) 5962Files: src/configure.in, src/auto/configure 5963 5964Patch 7.4.925 5965Problem: User may yank or put using the register being recorded in. 5966Solution: Add the recording register in the message. (Christian Brabandt, 5967 closes #470) 5968Files: runtime/doc/options.txt, runtime/doc/repeat.txt, src/ops.c, 5969 src/option.h, src/screen.c 5970 5971Patch 7.4.926 5972Problem: Completing the longest match doesn't work properly with multi-byte 5973 characters. 5974Solution: When using multi-byte characters use another way to find the 5975 longest match. (Hirohito Higashi) 5976Files: src/ex_getln.c, src/testdir/test_utf8.in, src/testdir/test_utf8.ok 5977 5978Patch 7.4.927 5979Problem: Ruby crashes when there is a runtime error. 5980Solution: Use ruby_options() instead of ruby_process_options(). (Damien) 5981Files: src/if_ruby.c 5982 5983Patch 7.4.928 5984Problem: A clientserver message interrupts handling keys of a mapping. 5985Solution: Have mch_inchar() send control back to WaitForChar when it is 5986 interrupted by server message. (James Kolb) 5987Files: src/os_unix.c 5988 5989Patch 7.4.929 5990Problem: "gv" after paste selects one character less if 'selection' is 5991 "exclusive". 5992Solution: Increment the end position. (Christian Brabandt) 5993Files: src/normal.c, src/testdir/test94.in, src/testdir/test94.ok 5994 5995Patch 7.4.930 5996Problem: MS-Windows: Most users appear not to like the window border. 5997Solution: Remove WS_EX_CLIENTEDGE. (Ian Halliday) 5998Files: src/gui_w32.c 5999 6000Patch 7.4.931 (after 7.4.929) 6001Problem: Test 94 fails on some systems. 6002Solution: Set 'encoding' to utf-8. 6003Files: src/testdir/test94.in 6004 6005Patch 7.4.932 (after 7.4.926) 6006Problem: test_utf8 has confusing dummy command. 6007Solution: Use a real command instead of a colon. 6008Files: src/testdir/test_utf8.in 6009 6010Patch 7.4.933 (after 7.4.926) 6011Problem: Crash when using longest completion match. 6012Solution: Fix array index. 6013Files: src/ex_getln.c 6014 6015Patch 7.4.934 6016Problem: Appveyor also builds on a tag push. 6017Solution: Add a skip_tags line. (Kenichi Ito, closes #489) 6018Files: appveyor.yml 6019 6020Patch 7.4.935 (after 7.4.932) 6021Problem: test_utf8 fails on MS-Windows when executed with gvim. 6022Solution: Use the insert flag on feedkeys() to put the string before the 6023 ":" that was already read when checking for available chars. 6024Files: src/testdir/test_utf8.in 6025 6026Patch 7.4.936 6027Problem: Crash when dragging with the mouse. 6028Solution: Add safety check for NULL pointer. Check mouse position for valid 6029 value. (Hirohito Higashi) 6030Files: src/window.c, src/term.c 6031 6032Patch 7.4.937 6033Problem: Segfault reading uninitialized memory. 6034Solution: Do not read match \z0, it does not exist. (Marius Gedminas, closes 6035 #497) 6036Files: src/regexp_nfa.c 6037 6038Patch 7.4.938 6039Problem: X11 and GTK have more mouse buttons than Vim supports. 6040Solution: Recognize more mouse buttons. (Benoit Pierre, closes #498) 6041Files: src/gui_gtk_x11.c, src/gui_x11.c 6042 6043Patch 7.4.939 6044Problem: Memory leak when encountering a syntax error. 6045Solution: Free the memory. (Dominique Pelle) 6046Files: src/ex_docmd.c 6047 6048Patch 7.4.940 6049Problem: vt52 terminal codes are not correct. 6050Solution: Move entries outside of #if. (Random) Adjustments based on 6051 documented codes. 6052Files: src/term.c 6053 6054Patch 7.4.941 6055Problem: There is no way to ignore case only for tag searches. 6056Solution: Add the 'tagcase' option. (Gary Johnson) 6057Files: runtime/doc/options.txt, runtime/doc/quickref.txt, 6058 runtime/doc/tagsrch.txt, runtime/doc/usr_29.txt, 6059 runtime/optwin.vim, src/Makefile, src/buffer.c, src/option.c, 6060 src/option.h, src/structs.h, src/tag.c, 6061 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 6062 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 6063 src/testdir/Make_vms.mms, src/testdir/Makefile, 6064 src/testdir/test_tagcase.in, src/testdir/test_tagcase.ok 6065 6066Patch 7.4.942 (after 7.4.941) 6067Problem: test_tagcase breaks for small builds. 6068Solution: Bail out of the test early. (Hirohito Higashi) 6069Files: src/testdir/test_tagcase.in 6070 6071Patch 7.4.943 6072Problem: Tests are not run. 6073Solution: Add test_writefile to makefiles. (Ken Takata) 6074Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 6075 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 6076 src/testdir/Make_vms.mms, src/testdir/Makefile 6077 6078Patch 7.4.944 6079Problem: Writing tests for Vim script is hard. 6080Solution: Add assertEqual(), assertFalse() and assertTrue() functions. Add 6081 the v:errors variable. Add the runtest script. Add a first new 6082 style test script. 6083Files: src/eval.c, src/vim.h, src/misc2.c, src/testdir/Makefile, 6084 src/testdir/runtest.vim, src/testdir/test_assert.vim, 6085 runtime/doc/eval.txt 6086 6087Patch 7.4.945 (after 7.4.944) 6088Problem: New style testing is incomplete. 6089Solution: Add the runtest script to the list of distributed files. 6090 Add the new functions to the function overview. 6091 Rename the functions to match Vim function style. 6092 Move undolevels testing into a new style test script. 6093Files: Filelist, runtime/doc/usr_41.txt, runtime/doc/eval.txt, 6094 src/testdir/test_assert.vim, src/testdir/Makefile, 6095 src/testdir/test_undolevels.vim, src/testdir/test100.in, 6096 src/testdir/test100.ok 6097 6098Patch 7.4.946 (after 7.4.945) 6099Problem: Missing changes in source file. 6100Solution: Include changes to the eval.c file. 6101Files: src/eval.c 6102 6103Patch 7.4.947 6104Problem: Test_listchars fails with MingW. (Michael Soyka) 6105Solution: Add the test to the ones that need the fileformat fixed. 6106 (Christian Brabandt) 6107Files: src/testdir/Make_ming.mak 6108 6109Patch 7.4.948 6110Problem: Can't build when the insert_expand feature is disabled. 6111Solution: Add #ifdefs. (Dan Pasanen, closes #499) 6112Files: src/eval.c, src/fileio.c 6113 6114Patch 7.4.949 6115Problem: When using 'colorcolumn' and there is a sign with a fullwidth 6116 character the highlighting is wrong. (Andrew Stewart) 6117Solution: Only increment vcol when in the right state. (Christian Brabandt) 6118Files: src/screen.c, src/testdir/test_listlbr_utf8.in, 6119 src/testdir/test_listlbr_utf8.ok 6120 6121Patch 7.4.950 6122Problem: v:errors is not initialized. 6123Solution: Initialize it to an empty list. (Thinca) 6124Files: src/eval.c 6125 6126Patch 7.4.951 6127Problem: Sorting number strings does not work as expected. (Luc Hermitte) 6128Solution: Add the "N" argument to sort() 6129Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_alot.vim, 6130 src/testdir/test_sort.vim, src/testdir/Makefile 6131 6132Patch 7.4.952 6133Problem: 'lispwords' is tested in the old way. 6134Solution: Make a new style test for 'lispwords'. 6135Files: src/testdir/test_alot.vim, src/testdir/test_lispwords.vim, 6136 src/testdir/test100.in, src/testdir/test100.ok, 6137 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 6138 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 6139 src/testdir/Make_vms.mms, src/testdir/Makefile 6140 6141Patch 7.4.953 6142Problem: When a test script navigates to another buffer the .res file is 6143 created with the wrong name. 6144Solution: Use the "testname" for the .res file. (Damien) 6145Files: src/testdir/runtest.vim 6146 6147Patch 7.4.954 6148Problem: When using Lua there may be a crash. (issue #468) 6149Solution: Avoid using an uninitialized tv. (Yukihiro Nakadaira) 6150Files: src/if_lua.c 6151 6152Patch 7.4.955 6153Problem: Vim doesn't recognize .pl6 and .pod6 files. 6154Solution: Recognize them as perl6 and pod6. (Mike Eve, closes #511) 6155Files: runtime/filetype.vim 6156 6157Patch 7.4.956 6158Problem: A few more file name extensions not recognized. 6159Solution: Add .asciidoc, .bzl, .gradle, etc. 6160Files: runtime/filetype.vim 6161 6162Patch 7.4.957 6163Problem: Test_tagcase fails when using another language than English. 6164Solution: Set the messages language to C. (Kenichi Ito) 6165Files: src/testdir/test_tagcase.in 6166 6167Patch 7.4.958 6168Problem: Vim checks if the directory "$TMPDIR" exists. 6169Solution: Do not check if the name starts with "$". 6170Files: src/fileio.c 6171 6172Patch 7.4.959 6173Problem: When setting 'term' the clipboard ownership is lost. 6174Solution: Do not call clip_init(). (James McCoy) 6175Files: src/term.c 6176 6177Patch 7.4.960 6178Problem: Detecting every version of nmake is clumsy. 6179Solution: Use a tiny C program to get the version of _MSC_VER. (Ken Takata) 6180Files: src/Make_mvc.mak 6181 6182Patch 7.4.961 6183Problem: Test107 fails in some circumstances. 6184Solution: When using "zt", "zb" and "z=" recompute the fraction. 6185Files: src/normal.c, src/window.c, src/proto/window.pro 6186 6187Patch 7.4.962 6188Problem: Cannot run the tests with gvim. Cannot run individual new tests. 6189Solution: Add the -f flag. Add new test targets in Makefile. 6190Files: src/Makefile, src/testdir/Makefile 6191 6192Patch 7.4.963 6193Problem: test_listlbr_utf8 sometimes fails. 6194Solution: Don't use a literal multibyte character but <C-V>uXXXX. Do not 6195 dump the screen highlighting. (Christian Brabandt, closes #518) 6196Files: src/testdir/test_listlbr_utf8.in, src/testdir/test_listlbr_utf8.ok 6197 6198Patch 7.4.964 6199Problem: Test 87 doesn't work in a shadow directory. 6200Solution: Handle the extra subdirectory. (James McCoy, closes #515) 6201Files: src/testdir/test87.in 6202 6203Patch 7.4.965 6204Problem: On FreeBSD /dev/fd/ files are special. 6205Solution: Use is_dev_fd_file() also for FreeBSD. (Derek Schrock, closes #521) 6206Files: src/fileio.c 6207 6208Patch 7.4.966 6209Problem: Configure doesn't work with a space in a path. 6210Solution: Put paths in quotes. (James McCoy, closes #525) 6211Files: src/configure.in, src/auto/configure 6212 6213Patch 7.4.967 6214Problem: Cross compilation on MS-windows doesn't work well. 6215Solution: Tidy up cross compilation across architectures with Visual Studio. 6216 (Mike Williams) 6217Files: src/Make_mvc.mak 6218 6219Patch 7.4.968 6220Problem: test86 and test87 are flaky in Appveyor. 6221Solution: Reduce the count from 8 to 7. (suggested by ZyX) 6222Files: src/testdir/test86.in, src/testdir/test87.in 6223 6224Patch 7.4.969 6225Problem: Compiler warnings on Windows x64 build. 6226Solution: Add type casts. (Mike Williams) 6227Files: src/option.c 6228 6229Patch 7.4.970 6230Problem: Rare crash in getvcol(). (Timo Mihaljov) 6231Solution: Check for the buffer being NULL in init_preedit_start_col. 6232 (Hirohito Higashi, Christian Brabandt) 6233Files: src/mbyte.c 6234 6235Patch 7.4.971 6236Problem: The asin() function can't be used. 6237Solution: Sort the function table properly. (Watiko) 6238Files: src/eval.c 6239 6240Patch 7.4.972 6241Problem: Memory leak when there is an error in setting an option. 6242Solution: Free the saved value (Christian Brabandt) 6243Files: src/option.c 6244 6245Patch 7.4.973 6246Problem: When pasting on the command line line breaks result in literal 6247 <CR> characters. This makes pasting a long file name difficult. 6248Solution: Skip the characters. 6249Files: src/ex_getln.c, src/ops.c 6250 6251Patch 7.4.974 6252Problem: When using :diffsplit the cursor jumps to the first line. 6253Solution: Put the cursor on the line related to where the cursor was before 6254 the split. 6255Files: src/diff.c 6256 6257Patch 7.4.975 6258Problem: Using ":sort" on a very big file sometimes causes text to be 6259 corrupted. (John Beckett) 6260Solution: Copy the line into a buffer before calling ml_append(). 6261Files: src/ex_cmds.c 6262 6263Patch 7.4.976 6264Problem: When compiling Vim for MSYS2 (linked with msys-2.0.dll), the Win32 6265 clipboard is not enabled. 6266Solution: Recognize MSYS like CYGWIN. (Ken Takata) 6267Files: src/configure.in, src/auto/configure 6268 6269Patch 7.4.977 6270Problem: 'linebreak' does not work properly when using "space" in 6271 'listchars'. 6272Solution: (Hirohito Higashi, Christian Brabandt) 6273Files: src/screen.c, src/testdir/test_listlbr.in, 6274 src/testdir/test_listlbr.ok 6275 6276Patch 7.4.978 6277Problem: test_cdo fails when using another language than English. 6278Solution: Set the language to C. (Dominique Pelle, Kenichi Ito) 6279Files: src/testdir/test_cdo.in 6280 6281Patch 7.4.979 6282Problem: When changing the crypt key the blocks read from disk are not 6283 decrypted. 6284Solution: Also call ml_decrypt_data() when mf_old_key is set. (Ken Takata) 6285Files: src/memfile.c 6286 6287Patch 7.4.980 6288Problem: Tests for :cdo, :ldo, etc. are outdated. 6289Solution: Add new style tests for these commands. (Yegappan Lakshmanan) 6290Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 6291 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 6292 src/testdir/Make_vms.mms, src/testdir/Makefile, 6293 src/testdir/test_cdo.in, src/testdir/test_cdo.ok, 6294 src/testdir/test_cdo.vim 6295 6296Patch 7.4.981 6297Problem: An error in a test script goes unnoticed. 6298Solution: Source the test script inside try/catch. (Hirohito Higashi) 6299Files: src/testdir/runtest.vim 6300 6301Patch 7.4.982 6302Problem: Keeping the list of tests updated is a hassle. 6303Solution: Move the list to a separate file, so that it only needs to be 6304 updated in one place. 6305Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 6306 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 6307 src/testdir/Make_vms.mms, src/testdir/Makefile, 6308 src/testdir/Make_all.mak 6309 6310Patch 7.4.983 6311Problem: Executing one test after "make testclean" doesn't work. 6312Solution: Add a dependency on test1.out. 6313Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 6314 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 6315 src/testdir/Make_vms.mms, src/testdir/Makefile, 6316 src/testdir/Make_all.mak 6317 6318Patch 7.4.984 6319Problem: searchpos() always starts searching in the first column, which is 6320 not what some people expect. (Brett Stahlman) 6321Solution: Add the 'z' flag: start at the specified column. 6322Files: src/vim.h, src/eval.c, src/search.c, 6323 src/testdir/test_searchpos.vim, src/testdir/test_alot.vim, 6324 runtime/doc/eval.txt 6325 6326Patch 7.4.985 6327Problem: Can't build with Ruby 2.3.0. 6328Solution: Use the new TypedData_XXX macro family instead of Data_XXX. Use 6329 TypedData. (Ken Takata) 6330Files: src/if_ruby.c 6331 6332Patch 7.4.986 6333Problem: Test49 doesn't work on MS-Windows. test70 is listed twice. 6334Solution: Move test49 to the group not used on Amiga and MS-Windows. 6335 Remove test70 from SCRIPTS_WIN32. 6336Files: src/testdir/Make_all.mak, src/testdir/Make_dos.mak 6337 6338Patch 7.4.987 (after 7.4.985) 6339Problem: Can't build with Ruby 1.9.2. 6340Solution: Require Rub 2.0 for defining USE_TYPEDDATA. 6341Files: src/if_ruby.c 6342 6343Patch 7.4.988 (after 7.4.982) 6344Problem: Default test target is test49.out. 6345Solution: Add a build rule before including Make_all.mak. 6346Files: src/testdir/Make_dos.mak, src/testdir/Make_amiga.mak, 6347 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 6348 src/testdir/Make_vms.mms, src/testdir/Makefile 6349 6350Patch 7.4.989 6351Problem: Leaking memory when hash_add() fails. Coverity error 99126. 6352Solution: When hash_add() fails free the memory. 6353Files: src/eval.c 6354 6355Patch 7.4.990 6356Problem: Test 86 fails on AppVeyor. 6357Solution: Do some registry magic. (Ken Takata) 6358Files: appveyor.yml 6359 6360Patch 7.4.991 6361Problem: When running new style tests the output is not visible. 6362Solution: Add the testdir/messages file and show it. Update the list of 6363 test names. 6364Files: src/Makefile, src/testdir/Makefile, src/testdir/runtest.vim 6365 6366Patch 7.4.992 6367Problem: Makefiles for MS-Windows in src/po are outdated. 6368Solution: Make them work. (Ken Takata, Taro Muraoka) 6369Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak, 6370 src/po/README_mingw.txt, src/po/README_mvc.txt 6371 6372Patch 7.4.993 6373Problem: Test 87 is flaky on AppVeyor. 6374Solution: Reduce the minimum background thread count. 6375Files: src/testdir/test86.in, src/testdir/test87.in 6376 6377Patch 7.4.994 6378Problem: New style tests are not run on MS-Windows. 6379Solution: Add the new style tests. 6380Files: src/testdir/Make_dos.mak 6381 6382Patch 7.4.995 6383Problem: gdk_pixbuf_new_from_inline() is deprecated. 6384Solution: Generate auto/gui_gtk_gresources.c. (Kazunobu Kuriyama, 6385 closes #507) 6386Files: src/Makefile, src/auto/configure, src/config.h.in, 6387 src/config.mk.in, src/configure.in, src/gui_gtk.c, 6388 src/gui_gtk_gresources.xml, src/gui_gtk_x11.c, 6389 src/proto/gui_gtk_gresources.pro, 6390 pixmaps/stock_vim_build_tags.png, pixmaps/stock_vim_find_help.png, 6391 pixmaps/stock_vim_save_all.png, 6392 pixmaps/stock_vim_session_load.png, 6393 pixmaps/stock_vim_session_new.png, 6394 pixmaps/stock_vim_session_save.png, pixmaps/stock_vim_shell.png, 6395 pixmaps/stock_vim_window_maximize.png, 6396 pixmaps/stock_vim_window_maximize_width.png, 6397 pixmaps/stock_vim_window_minimize.png, 6398 pixmaps/stock_vim_window_minimize_width.png, 6399 pixmaps/stock_vim_window_split.png, 6400 pixmaps/stock_vim_window_split_vertical.png 6401 6402Patch 7.4.996 6403Problem: New GDK files and testdir/Make_all.mak missing from distribution. 6404 PC build instructions are outdated. 6405Solution: Add the file to the list. Update PC build instructions. 6406Files: Filelist, Makefile 6407 6408Patch 7.4.997 6409Problem: "make shadow" was sometimes broken. 6410Solution: Add a test for it. (James McCoy, closes #520) 6411Files: .travis.yml 6412 6413Patch 7.4.998 6414Problem: Running tests in shadow directory fails. Test 49 fails. 6415Solution: Link more files for the shadow directory. Make test 49 ends up in 6416 the right buffer. 6417Files: src/Makefile, src/testdir/test49.in 6418 6419Patch 7.4.999 6420Problem: "make shadow" creates a broken link. (Tony Mechelynck) 6421Solution: Remove vimrc.unix from the list. 6422Files: src/Makefile 6423 6424Patch 7.4.1000 6425Problem: Test 49 is slow and doesn't work on MS-Windows. 6426Solution: Start moving parts of test 49 to test_viml. 6427Files: src/Makefile, src/testdir/runtest.vim, src/testdir/test_viml.vim, 6428 src/testdir/test49.vim, src/testdir/test49.ok 6429 6430Patch 7.4.1001 (after 7.4.1000) 6431Problem: test_viml isn't run. 6432Solution: Include change in makefile. 6433Files: src/testdir/Make_all.mak 6434 6435Patch 7.4.1002 6436Problem: Cannot run an individual test on MS-Windows. 6437Solution: Move the rule to run test1 downwards. (Ken Takata) 6438Files: src/testdir/Make_dos.mak 6439 6440Patch 7.4.1003 6441Problem: Travis could check a few more things. 6442Solution: Run autoconf on one of the builds. (James McCoy, closes #510) 6443 Also build with normal features. 6444Files: .travis.yml 6445 6446Patch 7.4.1004 6447Problem: Using Makefile when auto/config.mk does not exist results in 6448 warnings. 6449Solution: Use default values for essential variables. 6450Files: src/Makefile 6451 6452Patch 7.4.1005 6453Problem: Vim users are not always happy. 6454Solution: Make them happy. 6455Files: src/ex_cmds.h, src/ex_cmds.c, src/proto/ex_cmds.pro 6456 6457Patch 7.4.1006 6458Problem: The fix in patch 7.3.192 is not tested. 6459Solution: Add a test, one for each regexp engine. (Elias Diem) 6460Files: src/testdir/test44.in, src/testdir/test44.ok, 6461 src/testdir/test99.in, src/testdir/test99.ok 6462 6463Patch 7.4.1007 6464Problem: When a symbolic link points to a file in the root directory, the 6465 swapfile is not correct. 6466Solution: Do not try getting the full name of a file in the root directory. 6467 (Milly, closes #501) 6468Files: src/os_unix.c 6469 6470Patch 7.4.1008 6471Problem: The OS/2 code pollutes the source while nobody uses it these days. 6472Solution: Drop the support for OS/2. 6473Files: src/feature.h, src/globals.h, src/macros.h, src/option.h, 6474 src/os_unix.c, src/os_unix.h, src/proto/os_unix.pro, src/vim.h, 6475 src/digraph.c, src/eval.c, src/ex_cmds.c, src/ex_docmd.c, 6476 src/ex_getln.c, src/fileio.c, src/getchar.c, src/memline.c, 6477 src/misc1.c, src/misc2.c, src/netbeans.c, src/option.c, 6478 src/term.c, src/ui.c, src/window.c, src/os_os2_cfg.h, 6479 src/Make_os2.mak, src/testdir/Make_os2.mak, src/testdir/os2.vim, 6480 src/INSTALL, runtime/doc/os_os2.txt 6481 6482Patch 7.4.1009 6483Problem: There are still #ifdefs for ARCHIE. 6484Solution: Remove references to ARCHIE, the code was removed in Vim 5. 6485Files: src/ex_cmds.c, src/ex_docmd.c, src/fileio.c, src/main.c, 6486 src/memline.c, src/option.c, src/term.c 6487 6488Patch 7.4.1010 6489Problem: Some developers are unhappy while running tests. 6490Solution: Add a test and some color. 6491Files: src/ex_cmds.c, src/testdir/test_assert.vim 6492 6493Patch 7.4.1011 6494Problem: Can't build with Strawberry Perl. 6495Solution: Include stdbool.h. (Ken Takata, closes #328) 6496Files: Filelist, src/Make_mvc.mak, src/if_perl_msvc/stdbool.h 6497 6498Patch 7.4.1012 6499Problem: Vim overwrites the value of $PYTHONHOME. 6500Solution: Do not set $PYTHONHOME if it is already set. (Kazuki Sakamoto, 6501 closes #500) 6502Files: src/if_python.c, src/if_python3.c 6503 6504Patch 7.4.1013 6505Problem: The local value of 'errorformat' is not used for ":lexpr" and 6506 ":cexpr". 6507Solution: Use the local value if it exists. (Christian Brabandt) Adjust the 6508 help for this. 6509Files: runtime/doc/quickfix.txt, src/quickfix.c 6510 6511Patch 7.4.1014 6512Problem: `fnamemodify('.', ':.')` returns an empty string in Cygwin. 6513Solution: Use CCP_RELATIVE in the call to cygwin_conv_path. (Jacob Niehus, 6514 closes #505) 6515Files: src/os_unix.c 6516 6517Patch 7.4.1015 6518Problem: The column is not restored properly when the matchparen plugin is 6519 used in Insert mode and the cursor is after the end of the line. 6520Solution: Set the curswant flag. (Christian Brabandt). Also fix 6521 highlighting the match of the character before the cursor. 6522Files: src/eval.c, runtime/plugin/matchparen.vim 6523 6524Patch 7.4.1016 6525Problem: Still a few OS/2 pieces remain. 6526Solution: Delete more. 6527Files: Filelist, README_os2.txt, testdir/todos.vim, src/xxd/Make_os2.mak 6528 6529Patch 7.4.1017 6530Problem: When there is a backslash in an option ":set -=" doesn't work. 6531Solution: Handle a backslash better. (Jacob Niehus) Add a new test, merge 6532 in old test. 6533Files: src/testdir/test_cdo.vim, src/testdir/test_set.vim, 6534 src/testdir/test_alot.vim, src/option.c, src/testdir/test_set.in, 6535 src/testdir/test_set.ok, src/Makefile 6536 6537Patch 7.4.1018 (after 7.4.1017) 6538Problem: Failure running tests. 6539Solution: Add missing change to list of old style tests. 6540Files: src/testdir/Make_all.mak 6541 6542Patch 7.4.1019 6543Problem: Directory listing of "src" is too long. 6544Solution: Rename the resources file to make it shorter. 6545Files: src/gui_gtk_gresources.xml, src/gui_gtk_res.xml, src/Makefile, 6546 Filelist 6547 6548Patch 7.4.1020 6549Problem: On MS-Windows there is no target to run tests with gvim. 6550Solution: Add the testgvim target. 6551Files: src/Make_mvc.mak 6552 6553Patch 7.4.1021 6554Problem: Some makefiles are outdated. 6555Solution: Add a note to warn developers. 6556Files: src/Make_manx.mak, src/Make_bc3.mak, src/Make_bc5.mak, 6557 src/Make_djg.mak, src/Make_w16.mak 6558 6559Patch 7.4.1022 6560Problem: The README file contains some outdated information. 6561Solution: Update the information about supported systems. 6562Files: README.txt, README.md 6563 6564Patch 7.4.1023 6565Problem: The distribution files for MS-Windows use CR-LF, which is 6566 inconsistent with what one gets from github. 6567Solution: Use LF in the distribution files. 6568Files: Makefile 6569 6570Patch 7.4.1024 6571Problem: Interfaces for MS-Windows are outdated. 6572Solution: Use Python 2.7.10, Python 3.4.4, Perl 5.22, TCL 8.6. 6573Files: src/bigvim.bat 6574 6575Patch 7.4.1025 6576Problem: Version in installer needs to be updated manually. 6577Solution: Generate a file with the version number. (Guopeng Wen) 6578Files: Makefile, nsis/gvim.nsi, nsis/gvim_version.nsh 6579 6580Patch 7.4.1026 6581Problem: When using MingW the tests do not clean up all files. E.g. test 6582 17 leaves Xdir1 behind. (Michael Soyka) 6583Solution: Also delete directories, like Make_dos.mak. Delete files after 6584 directories to reduce warnings. 6585Files: src/testdir/Make_ming.mak, src/testdir/Make_dos.mak 6586 6587Patch 7.4.1027 6588Problem: No support for binary numbers. 6589Solution: Add "bin" to 'nrformats'. (Jason Schulz) 6590Files: runtime/doc/change.txt, runtime/doc/eval.txt, 6591 runtime/doc/version7.txt, src/charset.c, src/eval.c, 6592 src/ex_cmds.c, src/ex_getln.c, src/misc2.c, src/ops.c, 6593 src/option.c, src/proto/charset.pro, src/spell.c, 6594 src/testdir/test57.in, src/testdir/test57.ok, 6595 src/testdir/test58.in, src/testdir/test58.ok, 6596 src/testdir/test_increment.in, src/testdir/test_increment.ok, 6597 src/vim.h 6598 6599Patch 7.4.1028 6600Problem: Nsis version file missing from the distribution. 6601Solution: Add the file to the list. 6602Files: Filelist 6603 6604Patch 7.4.1029 (after 7.4.1027) 6605Problem: test_increment fails on systems with 32 bit long. 6606Solution: Only test with 32 bits. 6607Files: src/testdir/test_increment.in, src/testdir/test_increment.ok 6608 6609Patch 7.4.1030 6610Problem: test49 is still slow. 6611Solution: Move more tests from old to new style. 6612Files: src/testdir/test_viml.vim, src/testdir/test49.vim, 6613 src/testdir/test49.ok, src/testdir/runtest.vim 6614 6615Patch 7.4.1031 6616Problem: Can't build with Python interface using MingW. 6617Solution: Update the Makefile. (Yasuhiro Matsumoto) 6618Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak 6619 6620Patch 7.4.1032 6621Problem: message from assert_false() does not look nice. 6622Solution: Handle missing sourcing_name. Use right number of spaces. (Watiko) 6623 Don't use line number if it's zero. 6624Files: src/eval.c 6625 6626Patch 7.4.1033 6627Problem: Memory use on MS-Windows is very conservative. 6628Solution: Use the global memory status to estimate amount of memory. 6629 (Mike Williams) 6630Files: src/os_win32.c, src/os_win32.h, src/proto/os_win32.pro 6631 6632Patch 7.4.1034 6633Problem: There is no test for the 'backspace' option behavior. 6634Solution: Add a test. (Hirohito Higashi) 6635Files: src/testdir/test_alot.vim, src/testdir/test_backspace_opt.vim 6636 6637Patch 7.4.1035 6638Problem: An Ex range gets adjusted for folded lines even when the range is 6639 not using line numbers. 6640Solution: Only adjust line numbers for folding. (Christian Brabandt) 6641Files: runtime/doc/fold.txt, src/ex_docmd.c 6642 6643Patch 7.4.1036 6644Problem: Only terminals with up to 256 colors work properly. 6645Solution: Use the 256 color behavior for all terminals with 256 or more 6646 colors. (Robert de Bath, closes #504) 6647Files: src/syntax.c 6648 6649Patch 7.4.1037 6650Problem: Using "q!" when there is a modified hidden buffer does not unload 6651 the current buffer, resulting in the need to abandon it again. 6652Solution: When using "q!" unload the current buffer when needed. (Yasuhiro 6653 Matsumoto, Hirohito Higashi) 6654Files: src/testdir/test31.in, src/testdir/test31.ok, 6655 runtime/doc/editing.txt, src/ex_cmds2.c, src/ex_docmd.c, 6656 src/gui.c, src/gui_gtk_x11.c, src/os_unix.c, 6657 src/proto/ex_cmds2.pro 6658 6659Patch 7.4.1038 6660Problem: Still get a warning for a deprecated function with gdk-pixbuf 6661 2.31. 6662Solution: Change minimum minor version from 32 to 31. 6663Files: src/configure.in, src/auto/configure 6664 6665Patch 7.4.1039 (after 7.4.1037) 6666Problem: Test 31 fails with small build. 6667Solution: Bail out for small build. (Hirohito Higashi) 6668Files: src/testdir/test31.in 6669 6670Patch 7.4.1040 6671Problem: The tee command is not available on MS-Windows. 6672Solution: Adjust tee.c for MSVC and add a makefile. (Yasuhiro Matsumoto) 6673Files: src/tee/tee.c, src/tee/Make_mvc.mak, src/Make_mvc.mak 6674 6675Patch 7.4.1041 6676Problem: Various small things. 6677Solution: Add file to list of distributed files. Adjust README. Fix typo. 6678Files: Filelist, src/testdir/README.txt, src/testdir/test_charsearch.in, 6679 src/INSTALLmac.txt 6680 6681Patch 7.4.1042 6682Problem: g-CTRL-G shows the word count, but there is no way to get the word 6683 count in a script. 6684Solution: Add the wordcount() function. (Christian Brabandt) 6685Files: runtime/doc/editing.txt, runtime/doc/eval.txt, 6686 runtime/doc/usr_41.txt, src/eval.c, src/normal.c, src/ops.c, 6687 src/proto/ops.pro, src/testdir/test_wordcount.in, 6688 src/testdir/test_wordcount.ok, src/testdir/Make_all.mak 6689 6690Patch 7.4.1043 6691Problem: Another small thing. 6692Solution: Now really update the Mac install text. 6693Files: src/INSTALLmac.txt 6694 6695Patch 7.4.1044 (after 7.4.1042) 6696Problem: Can't build without the +eval feature. 6697Solution: Add #ifdef. 6698Files: src/ops.c 6699 6700Patch 7.4.1045 6701Problem: Having shadow and coverage on the same build results in the source 6702 files not being available in the coverage view. 6703Solution: Move using shadow to the normal build. 6704Files: .travis.yml 6705 6706Patch 7.4.1046 6707Problem: No test coverage for menus. 6708Solution: Load the standard menus and check there is no error. 6709Files: src/testdir/test_menu.vim, src/testdir/test_alot.vim 6710 6711Patch 7.4.1047 (after patch 7.4.1042) 6712Problem: Tests fail on MS-Windows. 6713Solution: Set 'selection' to inclusive. 6714Files: src/testdir/test_wordcount.in 6715 6716Patch 7.4.1048 (after patch 7.4.1047) 6717Problem: Wordcount test still fail on MS-Windows. 6718Solution: Set 'fileformat' to "unix". 6719Files: src/testdir/test_wordcount.in 6720 6721Patch 7.4.1049 (after patch 7.4.1048) 6722Problem: Wordcount test still fails on MS-Windows. 6723Solution: Set 'fileformats' to "unix". 6724Files: src/testdir/test_wordcount.in 6725 6726Patch 7.4.1050 6727Problem: Warning for unused var with tiny features. (Tony Mechelynck) 6728Solution: Add #ifdef. Use vim_snprintf(). Reduce number of statements. 6729Files: src/ops.c 6730 6731Patch 7.4.1051 6732Problem: Segfault when unletting "count". 6733Solution: Check for readonly and locked first. (Dominique Pelle) 6734 Add a test. 6735Files: src/eval.c, src/testdir/test_alot.vim, src/testdir/test_unlet.vim 6736 6737Patch 7.4.1052 6738Problem: Illegal memory access with weird syntax command. (Dominique Pelle) 6739Solution: Check for column past end of line. 6740Files: src/syntax.c 6741 6742Patch 7.4.1053 6743Problem: Insufficient testing for quickfix commands. 6744Solution: Add a new style quickfix test. (Yegappan Lakshmanan) 6745Files: src/testdir/Make_all.mak, src/testdir/test_quickfix.vim 6746 6747Patch 7.4.1054 6748Problem: Illegal memory access. 6749Solution: Check for missing pattern. (Dominique Pelle) 6750Files: src/syntax.c 6751 6752Patch 7.4.1055 6753Problem: Running "make newtests" in src/testdir has no output. 6754Solution: List the messages file when a test fails. (Christian Brabandt) 6755 Update the list of tests. 6756Files: src/Makefile, src/testdir/Makefile 6757 6758Patch 7.4.1056 6759Problem: Don't know why finding spell suggestions is slow. 6760Solution: Add some code to gather profiling information. 6761Files: src/spell.c 6762 6763Patch 7.4.1057 6764Problem: Typos in the :options window. 6765Solution: Fix the typos. (Dominique Pelle) 6766Files: runtime/optwin.vim 6767 6768Patch 7.4.1058 6769Problem: It is not possible to test code that is only reached when memory 6770 allocation fails. 6771Solution: Add the alloc_fail() function. Try it out with :vimgrep. 6772Files: runtime/doc/eval.txt, src/globals.h, src/eval.c, src/quickfix.c, 6773 src/misc2.c, src/proto/misc2.pro, src/testdir/test_quickfix.vim 6774 6775Patch 7.4.1059 6776Problem: Code will never be executed. 6777Solution: Remove the code. 6778Files: src/quickfix.c 6779 6780Patch 7.4.1060 6781Problem: Instructions for writing tests are outdated. 6782Solution: Mention Make_all.mak. Add steps for new style tests. 6783Files: src/testdir/README.txt 6784 6785Patch 7.4.1061 6786Problem: Compiler warning for ignoring return value of fwrite(). 6787Solution: Do use the return value. (idea: Charles Campbell) 6788Files: src/misc2.c, src/proto/misc2.pro 6789 6790Patch 7.4.1062 6791Problem: Building with Ruby on MS-Windows requires a lot of arguments. 6792Solution: Make it simpler. (Ken Takata) 6793Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 6794 6795Patch 7.4.1063 6796Problem: TCL_VER_LONG and DYNAMIC_TCL_VER are not set when building with 6797 Cygwin and MingW. 6798Solution: Add TCL_VER_LONG and DYNAMIC_TCL_VER to the makefile. (Ken Takata) 6799Files: src/Make_cyg_ming.mak 6800 6801Patch 7.4.1064 6802Problem: When a spell file has single letter compounding creating 6803 suggestions takes an awful long time. 6804Solution: Add the NOCOMPOUNDSUGS flag. 6805Files: runtime/doc/spell.txt, src/spell.c 6806 6807Patch 7.4.1065 6808Problem: Cannot use the "dll" options on MS-Windows. 6809Solution: Support the options on all platforms. Use the built-in name as 6810 the default, so that it's clear what Vim is looking for. 6811Files: src/if_python.c, src/if_python3.c, src/if_lua.c, src/if_perl.xs, 6812 src/if_ruby.c, src/option.c, runtime/doc/options.txt, src/Makefile 6813 6814Patch 7.4.1066 (after 7.4.1065) 6815Problem: Build fails on MS-Windows. 6816Solution: Adjust the #ifdefs for "dll" options. 6817Files: src/option.h 6818 6819Patch 7.4.1067 (after 7.4.1065) 6820Problem: Can't build with MingW and Python on MS-Windows. 6821Solution: Move the build flags to CFLAGS. 6822Files: src/Make_cyg_ming.mak 6823 6824Patch 7.4.1068 6825Problem: Wrong way to check for unletting internal variables. 6826Solution: Use a better way. (Olaf Dabrunz) 6827Files: src/testdir/test_unlet.c, src/eval.c 6828 6829Patch 7.4.1069 6830Problem: Compiler warning for unused argument. 6831Solution: Add UNUSED. 6832Files: src/misc2.c 6833 6834Patch 7.4.1070 6835Problem: The Tcl interface can't be loaded dynamically on Unix. 6836Solution: Make it possible to load it dynamically. (Ken Takata) 6837Files: runtime/doc/if_tcl.txt, runtime/doc/options.txt, 6838 runtime/doc/quickref.txt, runtime/optwin.vim, src/Makefile, 6839 src/config.h.in, src/configure.in, src/auto/configure, 6840 src/if_tcl.c, src/option.c, src/option.h 6841 6842Patch 7.4.1071 6843Problem: New style tests are executed in arbitrary order. 6844Solution: Sort the test function names. (Hirohito Higashi) 6845 Fix the quickfix test that depended on the order. 6846Files: src/testdir/runtest.vim, src/testdir/test_quickfix.vim 6847 6848Patch 7.4.1072 6849Problem: Increment test is old style. 6850Solution: Make the increment test a new style test. (Hirohito Higashi) 6851Files: src/Makefile, src/testdir/Make_all.mak, 6852 src/testdir/test_increment.in, src/testdir/test_increment.ok, 6853 src/testdir/test_increment.vim 6854 6855Patch 7.4.1073 6856Problem: Alloc_id depends on numbers, may use the same one twice. It's not 6857 clear from the number what it's for. 6858Solution: Use an enum. Add a function to lookup the enum value from the 6859 name. 6860Files: src/misc2.c, src/vim.h, src/alloc.h, src/globals.h, 6861 src/testdir/runtest.vim, src/proto/misc2.pro, 6862 src/testdir/test_quickfix.vim 6863 6864Patch 7.4.1074 6865Problem: Warning from VC2015 compiler. 6866Solution: Add a type cast. (Mike Williams) 6867Files: src/gui_dwrite.cpp 6868 6869Patch 7.4.1075 6870Problem: Crash when using an invalid command. 6871Solution: Fix generating the error message. (Dominique Pelle) 6872Files: src/ex_docmd.c 6873 6874Patch 7.4.1076 6875Problem: CTRL-A does not work well in right-left mode. 6876Solution: Remove reversing the line, add a test. (Hirohito Higashi) 6877Files: src/ops.c, src/testdir/test_increment.vim 6878 6879Patch 7.4.1077 6880Problem: The build instructions for MS-Windows are incomplete. 6881Solution: Add explanations for how to build with various interfaces. (Ken 6882 Takata) 6883Files: src/INSTALLpc.txt 6884 6885Patch 7.4.1078 6886Problem: MSVC: "make clean" doesn't cleanup in the tee directory. 6887Solution: Add the commands to cleanup tee. (Erich Ritz) 6888Files: src/Make_mvc.mak 6889 6890Patch 7.4.1079 (after 7.4.1073) 6891Problem: New include file missing from distribution. Missing changes to 6892 quickfix code. 6893Solution: Add alloc.h to the list of distributed files. Use the enum in 6894 quickfix code. 6895Files: Filelist, src/quickfix.c 6896 6897Patch 7.4.1080 6898Problem: VS2015 has a function HandleToLong() that is shadowed by the macro 6899 that Vim defines. 6900Solution: Do not define HandleToLong() for MSVC version 1400 and later. 6901 (Mike Williams) 6902Files: src/gui_w32.c 6903 6904Patch 7.4.1081 6905Problem: No test for what previously caused a crash. 6906Solution: Add test for unletting errmsg. 6907Files: src/testdir/test_unlet.vim 6908 6909Patch 7.4.1082 6910Problem: The Tcl interface is always skipping memory free on exit. 6911Solution: Only skip for dynamically loaded Tcl. 6912Files: src/if_tcl.c 6913 6914Patch 7.4.1083 6915Problem: Building GvimExt with VS2015 may fail. 6916Solution: Adjust the makefile. (Mike Williams) 6917Files: src/GvimExt/Makefile 6918 6919Patch 7.4.1084 6920Problem: Using "." to repeat CTRL-A in Visual mode increments the wrong 6921 numbers. 6922Solution: Append right size to the redo buffer. (Ozaki Kiichi) 6923Files: src/normal.c, src/testdir/test_increment.vim 6924 6925Patch 7.4.1085 6926Problem: The CTRL-A and CTRL-X commands do not update the '[ and '] marks. 6927Solution: (Yukihiro Nakadaira) 6928Files: src/ops.c, src/testdir/test_marks.in, src/testdir/test_marks.ok 6929 6930Patch 7.4.1086 6931Problem: Crash with an extremely long buffer name. 6932Solution: Limit the return value of vim_snprintf(). (Dominique Pelle) 6933Files: src/buffer.c 6934 6935Patch 7.4.1087 6936Problem: CTRL-A and CTRL-X do not work properly with blockwise visual 6937 selection if there is a mix of Tab and spaces. 6938Solution: Add OP_NR_ADD and OP_NR_SUB. (Hirohito Higashi) 6939Files: src/testdir/test_increment.vim, src/normal.c, src/ops.c, 6940 src/proto/ops.pro, src/vim.h 6941 6942Patch 7.4.1088 6943Problem: Coverity warns for uninitialized variables. Only one is an actual 6944 problem. 6945Solution: Move the conditions. Don't use endpos if handling an error. 6946Files: src/ops.c 6947 6948Patch 7.4.1089 6949Problem: Repeating CTRL-A doesn't work. 6950Solution: Call prep_redo_cmd(). (Hirohito Higashi) 6951Files: src/normal.c, src/testdir/test_increment.vim 6952 6953Patch 7.4.1090 6954Problem: No tests for :hardcopy and related options. 6955Solution: Add test_hardcopy. 6956Files: src/testdir/test_hardcopy.vim, src/Makefile, 6957 src/testdir/Make_all.mak 6958 6959Patch 7.4.1091 6960Problem: When making a change while need_wait_return is set there is a two 6961 second delay. 6962Solution: Do not assume the ATTENTION prompt was given when need_wait_return 6963 was set already. 6964Files: src/misc1.c 6965 6966Patch 7.4.1092 6967Problem: It is not simple to test for an exception and give a proper error 6968 message. 6969Solution: Add assert_exception(). 6970Files: src/eval.c, runtime/doc/eval.txt 6971 6972Patch 7.4.1093 6973Problem: Typo in test goes unnoticed. 6974Solution: Fix the typo. Give error for wrong arguments to cursor(). 6975 (partly by Hirohito Higashi) Add a test for cursor(). 6976Files: src/testdir/test_searchpos.vim, src/testdir/test_cursor_func.vim, 6977 src/eval.c, src/testdir/test_alot.vim 6978 6979Patch 7.4.1094 6980Problem: Test for :hardcopy fails on MS-Windows. 6981Solution: Check for the +postscript feature. 6982Files: src/testdir/test_hardcopy.vim 6983 6984Patch 7.4.1095 6985Problem: Can't build GvimExt with SDK 7.1. 6986Solution: Support using setenv.bat instead of vcvars32.bat. (Ken Takata) 6987Files: src/Make_mvc.mak, src/GvimExt/Makefile 6988 6989Patch 7.4.1096 6990Problem: Need several lines to verify a command produces an error. 6991Solution: Add assert_fails(). (suggested by Nikolai Pavlov) 6992 Make the quickfix alloc test actually work. 6993Files: src/testdir/test_quickfix.vim, src/eval.c, runtime/doc/eval.txt, 6994 src/misc2.c, src/alloc.h 6995 6996Patch 7.4.1097 6997Problem: Looking up the alloc ID for tests fails. 6998Solution: Fix the line computation. Use assert_fails() for unlet test. 6999Files: src/testdir/runtest.vim, src/testdir/test_unlet.vim 7000 7001Patch 7.4.1098 7002Problem: Still using old style C function declarations. 7003Solution: Always define __ARGS() to include types. Turn a few functions 7004 into ANSI style to find out if this causes problems for anyone. 7005Files: src/vim.h, src/os_unix.h, src/eval.c, src/main.c 7006 7007Patch 7.4.1099 7008Problem: It's not easy to know if Vim supports blowfish. (Smu Johnson) 7009Solution: Add has('crypt-blowfish') and has('crypt-blowfish2'). 7010Files: src/eval.c 7011 7012Patch 7.4.1100 7013Problem: Cygwin makefiles are unused. 7014Solution: Remove them. 7015Files: src/GvimExt/Make_ming.mak, src/GvimExt/Make_cyg.mak, 7016 src/xxd/Make_ming.mak, src/xxd/Make_cyg.mak 7017 7018Patch 7.4.1101 7019Problem: With 'rightleft' and concealing the cursor may move to the wrong 7020 position. 7021Solution: Compute the column differently when 'rightleft' is set. (Hirohito 7022 Higashi) 7023Files: src/screen.c 7024 7025Patch 7.4.1102 7026Problem: Debugger has no stack backtrace support. 7027Solution: Add "backtrace", "frame", "up" and "down" commands. (Alberto 7028 Fanjul, closes #433) 7029Files: runtime/doc/repeat.txt, src/eval.c, src/ex_cmds2.c, src/globals.h, 7030 src/testdir/Make_all.mak, src/testdir/test108.in, 7031 src/testdir/test108.ok 7032 7033Patch 7.4.1103 (after 7.4.1100) 7034Problem: Removed file still in distribution. 7035Solution: Remove Make_cyg.mak from the list of files. 7036Files: Filelist 7037 7038Patch 7.4.1104 7039Problem: Various problems building with MzScheme/Racket. 7040Solution: Make it work with new versions of Racket. (Yukihiro Nakadaira, Ken 7041 Takata) 7042Files: runtime/doc/if_mzsch.txt, src/INSTALLpc.txt, 7043 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/auto/configure, 7044 src/configure.in, src/if_mzsch.c 7045 7046Patch 7.4.1105 7047Problem: When using slices there is a mixup of variable name and namespace. 7048Solution: Recognize variables that can't be a namespace. (Hirohito Higashi) 7049Files: src/eval.c, src/testdir/test_eval.in, src/testdir/test_eval.ok 7050 7051Patch 7.4.1106 7052Problem: The nsis script can't be used from the appveyor build. 7053Solution: Add "ifndef" to allow for variables to be set from the command 7054 line. Remove duplicate SetCompressor command. Support using other 7055 gettext binaries. (Ken Takata) Update build instructions to use 7056 libintl-8.dll. 7057Files: Makefile, nsis/gvim.nsi, src/os_win32.c, src/proto/os_win32.pro, 7058 src/main.c, os_w32exe.c 7059 7060Patch 7.4.1107 7061Problem: Vim can create a directory but not delete it. 7062Solution: Add an argument to delete() to make it possible to delete a 7063 directory, also recursively. 7064Files: src/fileio.c, src/eval.c, src/proto/fileio.pro, 7065 src/testdir/test_delete.vim, src/testdir/test_alot.vim, 7066 runtime/doc/eval.txt 7067 7068Patch 7.4.1108 7069Problem: Expanding "~" halfway a file name. 7070Solution: Handle the file name as one name. (Marco Hinz) Add a test. 7071 Closes #564. 7072Files: src/testdir/test27.in, src/testdir/test27.ok, 7073 src/testdir/test_expand.vim, src/testdir/test_alot.vim, 7074 src/Makefile, src/misc2.c 7075 7076Patch 7.4.1109 (after 7.4.1107) 7077Problem: MS-Windows doesn't have rmdir(). 7078Solution: Add mch_rmdir(). 7079Files: src/os_win32.c, src/proto/os_win32.pro 7080 7081Patch 7.4.1110 7082Problem: Test 108 fails when language is French. 7083Solution: Force English messages. (Dominique Pelle) 7084Files: src/testdir/test108.in 7085 7086Patch 7.4.1111 7087Problem: test_expand fails on MS-Windows. 7088Solution: Always use forward slashes. Remove references to test27. 7089Files: src/testdir/runtest.vim, src/testdir/test_expand.vim, 7090 src/testdir/Make_dos.mak, src/testdir/Make_all.mak, 7091 src/testdir/Make_amiga.mak, src/testdir/Make_ming.mak 7092 7093Patch 7.4.1112 7094Problem: When using ":next" with an illegal file name no error is reported. 7095Solution: Give an error message. 7096Files: src/ex_cmds2.c 7097 7098Patch 7.4.1113 (after 7.4.1105) 7099Problem: Using {ns} in variable name does not work. (lilydjwg) 7100Solution: Fix recognizing colon. Add a test. 7101Files: src/eval.c, src/testdir/test_viml.vim 7102 7103Patch 7.4.1114 (after 7.4.1107) 7104Problem: delete() does not work well with symbolic links. 7105Solution: Recognize symbolic links. 7106Files: src/eval.c, src/fileio.c, src/os_unix.c, src/proto/os_unix.pro, 7107 src/testdir/test_delete.vim, runtime/doc/eval.txt 7108 7109Patch 7.4.1115 7110Problem: MS-Windows: make clean in testdir doesn't clean everything. 7111Solution: Add command to delete X* directories. (Ken Takata) 7112Files: src/testdir/Make_dos.mak 7113 7114Patch 7.4.1116 7115Problem: delete(x, 'rf') does not delete files starting with a dot. 7116Solution: Also delete files starting with a dot. 7117Files: src/misc1.c, src/fileio.c, src/vim.h 7118 7119Patch 7.4.1117 (after 7.4.1116) 7120Problem: No longer get "." and ".." in directory list. 7121Solution: Do not skip "." and ".." unless EW_DODOT is set. 7122Files: src/misc1.c 7123 7124Patch 7.4.1118 7125Problem: Tests hang in 24 line terminal. 7126Solution: Set the 'more' option off. 7127Files: src/testdir/runtest.vim 7128 7129Patch 7.4.1119 7130Problem: argidx() has a wrong value after ":%argdelete". (Yegappan 7131 Lakshmanan) 7132Solution: Correct the value of w_arg_idx. Add a test. 7133Files: src/ex_cmds2.c, src/testdir/test_arglist.vim, 7134 src/testdir/Make_all.mak 7135 7136Patch 7.4.1120 7137Problem: delete(x, 'rf') fails if a directory is empty. (Lcd) 7138Solution: Ignore not finding matches in an empty directory. 7139Files: src/fileio.c, src/misc1.c, src/vim.h, src/testdir/test_delete.vim 7140 7141Patch 7.4.1121 7142Problem: test_expand leaves files behind. 7143Solution: Edit another file before deleting, otherwise the swap file 7144 remains. 7145Files: src/testdir/test_expand.vim 7146 7147Patch 7.4.1122 7148Problem: Test 92 and 93 fail when using gvim on a system with a non utf-8 7149 locale. 7150Solution: Avoid using .gvimrc by adding -U NONE. (Yukihiro Nakadaira) 7151Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 7152 src/testdir/Make_vms.mms, src/testdir/Makefile 7153 7154Patch 7.4.1123 7155Problem: Using ":argadd" when there are no arguments results in the second 7156 argument to be the current one. (Yegappan Lakshmanan) 7157Solution: Correct the w_arg_idx value. 7158Files: src/ex_cmds2.c, src/testdir/test_arglist.vim 7159 7160Patch 7.4.1124 7161Problem: MS-Windows: dead key behavior is not ideal. 7162Solution: Handle dead keys differently when not in Insert or Select mode. 7163 (John Wellesz, closes #399) 7164Files: src/gui_w48.c 7165 7166Patch 7.4.1125 7167Problem: There is no perleval(). 7168Solution: Add perleval(). (Damien) 7169Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c, 7170 src/if_perl.xs, src/proto/if_perl.pro, src/testdir/Make_all.mak, 7171 src/testdir/test_perl.vim 7172 7173Patch 7.4.1126 7174Problem: Can only get the directory of the current window. 7175Solution: Add window and tab arguments to getcwd() and haslocaldir(). 7176 (Thinca, Hirohito Higashi) 7177Files: src/Makefile, src/testdir/Make_all.mak, 7178 src/testdir/test_getcwd.in, src/testdir/test_getcwd.ok, 7179 runtime/doc/eval.txt, patching file src/eval.c 7180 7181Patch 7.4.1127 7182Problem: Both old and new style tests for Perl. 7183Solution: Merge the old tests with the new style tests. 7184Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_perl.in, 7185 src/testdir/test_perl.ok, src/testdir/test_perl.vim 7186 7187Patch 7.4.1128 7188Problem: MS-Windows: delete() does not recognize junctions. 7189Solution: Add mch_isrealdir() for MS-Windows. Update mch_is_symbolic_link(). 7190 (Ken Takata) 7191Files: src/fileio.c, src/os_win32.c, src/proto/os_win32.pro 7192 7193Patch 7.4.1129 7194Problem: Python None value can't be converted to a Vim value. 7195Solution: Just use zero. (Damien) 7196Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok, 7197 src/testdir/test87.in, src/testdir/test87.ok, 7198 7199Patch 7.4.1130 7200Problem: Memory leak in :vimgrep. 7201Solution: Call FreeWild(). (Yegappan Lakshmanan) 7202Files: src/quickfix.c 7203 7204Patch 7.4.1131 7205Problem: New lines in the viminfo file are dropped. 7206Solution: Copy lines starting with "|". Fix that when using :rviminfo in a 7207 function global variables were restored as function-local 7208 variables. 7209Files: src/eval.c, src/structs.h, src/ex_cmds.c, src/misc2.c, 7210 src/proto/misc2.pro, src/testdir/test_viminfo.vim, 7211 src/testdir/Make_all.mak, src/testdir/test74.in, 7212 src/testdir/test74.ok 7213 7214Patch 7.4.1132 7215Problem: Old style tests for the argument list. 7216Solution: Add more new style tests. (Yegappan Lakshmanan) 7217Files: src/testdir/test_arglist.vim, src/testdir/test_argument_0count.in, 7218 src/testdir/test_argument_0count.ok, 7219 src/testdir/test_argument_count.in, src/Makefile, 7220 src/testdir/test_argument_count.ok, src/testdir/Make_all.mak 7221 7222Patch 7.4.1133 7223Problem: Generated function prototypes still have __ARGS(). 7224Solution: Generate function prototypes without __ARGS(). 7225Files: src/Makefile, src/if_ruby.c, src/os_win32.c, 7226 src/proto/blowfish.pro, src/proto/buffer.pro, 7227 src/proto/charset.pro, src/proto/crypt.pro, 7228 src/proto/crypt_zip.pro, src/proto/diff.pro, 7229 src/proto/digraph.pro, src/proto/edit.pro, src/proto/eval.pro, 7230 src/proto/ex_cmds2.pro, src/proto/ex_cmds.pro, 7231 src/proto/ex_docmd.pro, src/proto/ex_eval.pro, 7232 src/proto/ex_getln.pro, src/proto/fileio.pro, src/proto/fold.pro, 7233 src/proto/getchar.pro, src/proto/gui_athena.pro, 7234 src/proto/gui_beval.pro, src/proto/gui_gtk_gresources.pro, 7235 src/proto/gui_gtk.pro, src/proto/gui_gtk_x11.pro, 7236 src/proto/gui_mac.pro, src/proto/gui_motif.pro, 7237 src/proto/gui_photon.pro, src/proto/gui.pro, 7238 src/proto/gui_w16.pro, src/proto/gui_w32.pro, 7239 src/proto/gui_x11.pro, src/proto/gui_xmdlg.pro, 7240 src/proto/hangulin.pro, src/proto/hardcopy.pro, 7241 src/proto/hashtab.pro, src/proto/if_cscope.pro, 7242 src/proto/if_lua.pro, src/proto/if_mzsch.pro, 7243 src/proto/if_ole.pro, src/proto/if_perl.pro, 7244 src/proto/if_perlsfio.pro, src/proto/if_python3.pro, 7245 src/proto/if_python.pro, src/proto/if_ruby.pro, 7246 src/proto/if_tcl.pro, src/proto/if_xcmdsrv.pro, 7247 src/proto/main.pro, src/proto/mark.pro, src/proto/mbyte.pro, 7248 src/proto/memfile.pro, src/proto/memline.pro, src/proto/menu.pro, 7249 src/proto/message.pro, src/proto/misc1.pro, src/proto/misc2.pro, 7250 src/proto/move.pro, src/proto/netbeans.pro, src/proto/normal.pro, 7251 src/proto/ops.pro, src/proto/option.pro, src/proto/os_amiga.pro, 7252 src/proto/os_beos.pro, src/proto/os_mac_conv.pro, 7253 src/proto/os_msdos.pro, src/proto/os_mswin.pro, 7254 src/proto/os_qnx.pro, src/proto/os_unix.pro, src/proto/os_vms.pro, 7255 src/proto/os_win16.pro, src/proto/os_win32.pro, 7256 src/proto/popupmnu.pro, src/proto/pty.pro, src/proto/quickfix.pro, 7257 src/proto/regexp.pro, src/proto/screen.pro, src/proto/search.pro, 7258 src/proto/sha256.pro, src/proto/spell.pro, src/proto/syntax.pro, 7259 src/proto/tag.pro, src/proto/termlib.pro, src/proto/term.pro, 7260 src/proto/ui.pro, src/proto/undo.pro, src/proto/version.pro, 7261 src/proto/winclip.pro, src/proto/window.pro, 7262 src/proto/workshop.pro 7263 7264Patch 7.4.1134 7265Problem: The arglist test fails on MS-Windows. 7266Solution: Only check for failure of argedit on Unix. 7267Files: src/testdir/test_arglist.vim 7268 7269Patch 7.4.1135 7270Problem: One more arglist test fails on MS-Windows. 7271Solution: Don't edit "Y" after editing "y". 7272Files: src/testdir/test_arglist.vim 7273 7274Patch 7.4.1136 7275Problem: Wrong argument to assert_exception() causes a crash. (reported by 7276 Coverity) 7277Solution: Check for NULL pointer. Add a test. 7278Files: src/eval.c, src/testdir/test_assert.vim 7279 7280Patch 7.4.1137 7281Problem: Illegal memory access when using :copen and :cclose. 7282Solution: Avoid that curbuf is invalid. (suggestion by Justin M. Keyes) 7283 Add a test. 7284Files: src/window.c, src/testdir/test_quickfix.vim 7285 7286Patch 7.4.1138 7287Problem: When running gvim in the foreground some icons are missing. 7288 (Taylor Venable) 7289Solution: Move the call to gui_gtk_register_resource(). (Kazunobu Kuriyama) 7290Files: src/gui_gtk_x11.c 7291 7292Patch 7.4.1139 7293Problem: MS-Windows: getftype() returns "file" for symlink to directory. 7294Solution: Make it return "dir". (Ken Takata) 7295Files: src/os_mswin.c 7296 7297Patch 7.4.1140 7298Problem: Recognizing <sid> does not work when the language is Turkish. 7299 (Christian Brabandt) 7300Solution: Use MB_STNICMP() instead of STNICMP(). 7301Files: src/eval.c 7302 7303Patch 7.4.1141 7304Problem: Using searchpair() with a skip expression that uses syntax 7305 highlighting sometimes doesn't work. (David Fishburn) 7306Solution: Reset next_match_idx. (Christian Brabandt) 7307Files: src/syntax.c 7308 7309Patch 7.4.1142 7310Problem: Cannot define keyword characters for a syntax file. 7311Solution: Add the ":syn iskeyword" command. (Christian Brabandt) 7312Files: runtime/doc/options.txt, runtime/doc/syntax.txt, src/buffer.c, 7313 src/option.c, src/structs.h, src/syntax.c, 7314 src/testdir/Make_all.mak, src/testdir/test_syntax.vim 7315 7316Patch 7.4.1143 7317Problem: Can't sort on floating point numbers. 7318Solution: Add the "f" flag to ":sort". (Alex Jakushev) Also add the "f" 7319 flag to sort(). 7320Files: runtime/doc/change.txt, src/ex_cmds.c, src/testdir/test_sort.vim, 7321 src/testdir/test57.in, src/testdir/test57.ok, src/eval.c 7322 7323Patch 7.4.1144 (after 7.4.1143) 7324Problem: Can't build on several systems. 7325Solution: Include float.h. (Christian Robinson, closes #570 #571) 7326Files: src/ex_cmds.c 7327 7328Patch 7.4.1145 7329Problem: Default features are conservative. 7330Solution: Make the default feature set for most of today's systems "huge". 7331Files: src/feature.h, src/configure.in, src/auto/configure 7332 7333Patch 7.4.1146 7334Problem: Can't build with Python 3 interface using MingW. 7335Solution: Update the Makefile. (Yasuhiro Matsumoto, Ken Takata) 7336Files: src/Make_cyg_ming.mak 7337 7338Patch 7.4.1147 7339Problem: Conflict for "chartab". (Kazunobu Kuriyama) 7340Solution: Rename the global one to something less obvious. Move it into 7341 src/chartab.c. 7342Files: src/macros.h, src/globals.h, src/charset.c, src/main.c, 7343 src/option.c, src/screen.c, src/vim.h 7344 7345Patch 7.4.1148 7346Problem: Default for MingW and Cygwin is still "normal". 7347Solution: Use "huge" as default. (Ken Takata) 7348Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 7349 7350Patch 7.4.1149 (after 7.4.1013) 7351Problem: Using the local value of 'errorformat' causes more problems than 7352 it solves. 7353Solution: Revert 7.4.1013. 7354Files: runtime/doc/quickfix.txt, src/quickfix.c 7355 7356Patch 7.4.1150 7357Problem: 'langmap' applies to the first character typed in Select mode. 7358 (David Watson) 7359Solution: Check for SELECTMODE. (Christian Brabandt, closes #572) 7360 Add the 'x' flag to feedkeys(). 7361Files: src/getchar.c, src/normal.c, src/testdir/test_langmap.vim, 7362 src/ex_docmd.c, src/proto/ex_docmd.pro, src/testdir/Make_all.mak, 7363 runtime/doc/eval.txt 7364 7365Patch 7.4.1151 (after 7.4.1150) 7366Problem: Missing change to eval.c 7367Solution: Also change feedkeys(). 7368Files: src/eval.c 7369 7370Patch 7.4.1152 7371Problem: Langmap test fails with normal build. 7372Solution: Check for +langmap feature. 7373Files: src/testdir/test_langmap.vim 7374 7375Patch 7.4.1153 7376Problem: Autocommands triggered by quickfix cannot always get the current 7377 title value. 7378Solution: Call qf_fill_buffer() later. (Christian Brabandt) 7379Files: src/quickfix.c, src/testdir/test_quickfix.vim 7380 7381Patch 7.4.1154 7382Problem: No support for JSON. 7383Solution: Add jsonencode() and jsondecode(). Also add v:false, v:true, 7384 v:null and v:none. 7385Files: src/json.c, src/eval.c, src/proto.h, src/structs.h, src/vim.h, 7386 src/if_lua.c, src/if_mzsch.c, src/if_ruby.c, src/if_py_both.h, 7387 src/globals.h, src/Makefile, src/Make_bc3.mak, src/Make_bc5.mak, 7388 src/Make_cyg_ming.mak, src/Make_dice.mak, src/Make_ivc.mak, 7389 src/Make_manx.mak, src/Make_morph.mak, src/Make_mvc.mak, 7390 src/Make_sas.mak, src/Make_vms.mms, src/proto/json.pro, 7391 src/proto/eval.pro, src/testdir/test_json.vim, 7392 src/testdir/test_alot.vim, Filelist, runtime/doc/eval.txt 7393 7394Patch 7.4.1155 7395Problem: Build with normal features fails. 7396Solution: Always define dict_lookup(). 7397Files: src/eval.c 7398 7399Patch 7.4.1156 7400Problem: Coverity warns for NULL pointer and ignoring return value. 7401Solution: Check for NULL pointer. When dict_add() returns FAIL free the item. 7402Files: src/json.c 7403 7404Patch 7.4.1157 7405Problem: type() does not work for v:true, v:none, etc. 7406Solution: Add new type numbers. 7407Files: src/eval.c, src/testdir/test_json.vim, src/testdir/test_viml.vim 7408 7409Patch 7.4.1158 7410Problem: Still using __ARGS(). 7411Solution: Remove __ARGS() from eval.c 7412Files: src/eval.c 7413 7414Patch 7.4.1159 7415Problem: Automatically generated function prototypes use __ARGS. 7416Solution: Remove __ARGS from osdef.sh. 7417Files: src/osdef.sh, src/osdef1.h.in, src/osdef2.h.in 7418 7419Patch 7.4.1160 7420Problem: No error for jsondecode('"'). 7421Solution: Give an error message for missing double quote. 7422Files: src/json.c 7423 7424Patch 7.4.1161 7425Problem: ":argadd" without argument is supposed to add the current buffer 7426 name to the arglist. 7427Solution: Make it work as documented. (Coot, closes #577) 7428Files: src/ex_cmds.h, src/ex_cmds2.c, src/testdir/test_arglist.vim 7429 7430Patch 7.4.1162 7431Problem: Missing error number in MzScheme. (Dominique Pelle) 7432Solution: Add a proper error number. 7433Files: src/if_mzsch.c 7434 7435Patch 7.4.1163 7436Problem: Expressions "0 + v:true" and "'' . v:true" cause an error. 7437Solution: Return something sensible when using a special variable as a 7438 number or as a string. (suggested by Damien) 7439Files: src/eval.c, src/testdir/test_viml.vim 7440 7441Patch 7.4.1164 7442Problem: No tests for comparing special variables. Error in jsondecode() 7443 not reported. test_json does not work with Japanese system. 7444Solution: Set scriptencoding. (Ken Takata) Add a few more tests. Add error. 7445Files: src/json.c, src/testdir/test_viml.vim, src/testdir/test_json.vim 7446 7447Patch 7.4.1165 7448Problem: When defining DYNAMIC_ICONV_DLL in the makefile, the build fails. 7449Solution: Add #ifdef's. (Taro Muraoka) Try the newer version first. 7450Files: src/mbyte.c, src/os_win32.c 7451 7452Patch 7.4.1166 7453Problem: Can't encode a Funcref into JSON. jsonencode() doesn't handle the 7454 same list or dict twice properly. (Nikolai Pavlov) 7455Solution: Give an error. Reset copyID when the list or dict is finished. 7456Files: src/json.c, src/proto/json.pro, src/testdir/test_json.vim 7457 7458Patch 7.4.1167 7459Problem: No tests for "is" and "isnot" with the new variables. 7460Solution: Add tests. 7461Files: src/testdir/test_viml.vim 7462 7463Patch 7.4.1168 7464Problem: This doesn't give the right result: eval(string(v:true)). (Nikolai 7465 Pavlov) 7466Solution: Make the string "v:true" instead of "true". 7467Files: src/eval.c, src/testdir/test_viml.vim 7468 7469Patch 7.4.1169 7470Problem: The socket I/O is intertwined with the netbeans code. 7471Solution: Start refactoring the netbeans communication to split off the 7472 socket I/O. Add the +channel feature. 7473Files: src/channel.c, src/netbeans.c, src/proto/channel.pro, 7474 src/proto/netbeans.pro, src/proto/gui_w32.pro, src/gui_w32.c, 7475 src/eval.c, src/os_mswin.c, src/ui.c, src/macros.h, Makefile, 7476 src/proto.h, src/feature.h, src/os_unix.c, src/vim.h, 7477 src/configure.in, src/auto/configure, src/config.mk.in, 7478 src/config.aap.in, src/config.h.in, src/Make_bc5.mak, 7479 src/Make_cyg_ming.mak, src/Make_mvc.mak 7480 7481Patch 7.4.1170 (after 7.4.1169) 7482Problem: Missing changes in src/Makefile, Filelist. 7483Solution: Add the missing changes. 7484Files: Filelist, src/Makefile 7485 7486Patch 7.4.1171 7487Problem: Makefile dependencies are outdated. 7488Solution: Run "make depend". Add GTK resource dependencies. 7489Files: src/Makefile 7490 7491Patch 7.4.1172 (after 7.4.1169) 7492Problem: Configure is overly positive. 7493Solution: Insert "test". 7494Files: src/configure.in, src/auto/configure 7495 7496Patch 7.4.1173 (after 7.4.1168) 7497Problem: No test for new behavior of v:true et al. 7498Solution: Add a test. 7499Files: src/testdir/test_viml.vim 7500 7501Patch 7.4.1174 7502Problem: Netbeans contains dead code inside #ifndef INIT_SOCKETS. 7503Solution: Remove the dead code. 7504Files: src/netbeans.c 7505 7506Patch 7.4.1175 (after 7.4.1169) 7507Problem: Can't build with Mingw and Cygwin. 7508Solution: Remove extra "endif". (Christian J. Robinson) 7509Files: src/Make_cyg_ming.mak 7510 7511Patch 7.4.1176 7512Problem: Missing change to proto file. 7513Solution: Update the proto file. (Charles Cooper) 7514Files: src/proto/gui_w32.pro 7515 7516Patch 7.4.1177 7517Problem: The +channel feature is not in :version output. (Tony Mechelynck) 7518Solution: Add the feature string. 7519Files: src/version.c 7520 7521Patch 7.4.1178 7522Problem: empty() doesn't work for the new special variables. 7523Solution: Make empty() work. (Damien) 7524Files: src/eval.c, src/testdir/test_viml.vim 7525 7526Patch 7.4.1179 7527Problem: test_writefile and test_viml do not delete the tempfile. 7528Solution: Delete the tempfile. (Charles Cooper) Add DeleteTheScript(). 7529Files: src/testdir/test_writefile.in, src/testdir/test_viml.vim 7530 7531Patch 7.4.1180 7532Problem: Crash with invalid argument to glob2regpat(). 7533Solution: Check for NULL. (Justin M. Keyes, closes #596) Add a test. 7534Files: src/eval.c, src/testdir/test_glob2regpat.vim, 7535 src/testdir/test_alot.vim 7536 7537Patch 7.4.1181 7538Problem: free_tv() can't handle special variables. (Damien) 7539Solution: Add the variable type. 7540Files: src/eval.c, src/testdir/test_viml.vim 7541 7542Patch 7.4.1182 7543Problem: Still socket code intertwined with netbeans. 7544Solution: Move code from netbeans.c to channel.c 7545Files: src/channel.c, src/netbeans.c, src/proto/channel.pro, 7546 src/proto/netbeans.pro, src/gui.c, src/gui_w48.c 7547 7548Patch 7.4.1183 (after 7.4.1182) 7549Problem: MS-Windows build is broken. 7550Solution: Remove init in wrong place. 7551Files: src/channel.c 7552 7553Patch 7.4.1184 (after 7.4.1182) 7554Problem: MS-Windows build is still broken. 7555Solution: Change nbsock to ch_fd. 7556Files: src/channel.c 7557 7558Patch 7.4.1185 7559Problem: Can't build with TCL on some systems. 7560Solution: Rename the channel_ functions. 7561Files: src/if_tcl.c 7562 7563Patch 7.4.1186 7564Problem: Error messages for security context are hard to translate. 7565Solution: Use one string with %s. (Ken Takata) 7566Files: src/os_unix.c 7567 7568Patch 7.4.1187 7569Problem: MS-Windows channel code only supports one channel. Doesn't build 7570 without netbeans support. 7571Solution: Get the channel index from the socket in the message. Closes #600. 7572Files: src/channel.c, src/netbeans.c, src/gui_w48.c, 7573 src/proto/channel.pro, src/proto/netbeans.pro 7574 7575Patch 7.4.1188 7576Problem: Using older JSON standard. 7577Solution: Update the link. Adjust the text a bit. 7578Files: src/json.c, runtime/doc/eval.txt 7579 7580Patch 7.4.1189 (after 7.4.1165) 7581Problem: Using another language on MS-Windows does not work. (Yongwei Wu) 7582Solution: Undo the change to try loading libintl-8.dll first. 7583Files: src/os_win32.c 7584 7585Patch 7.4.1190 7586Problem: On OSX the default flag for dlopen() is different. 7587Solution: Add RTLD_LOCAL in the configure check. (sv99, closes #604) 7588Files: src/configure.in, src/auto/configure 7589 7590Patch 7.4.1191 7591Problem: The channel feature isn't working yet. 7592Solution: Add the connect(), disconnect(), sendexpr() and sendraw() 7593 functions. Add initial documentation. Add a demo server. 7594Files: src/channel.c, src/eval.c, src/proto/channel.pro, 7595 src/proto/eval.pro, runtime/doc/channel.txt, runtime/doc/eval.txt, 7596 runtime/doc/Makefile, runtime/tools/demoserver.py 7597 7598Patch 7.4.1192 7599Problem: Can't build with FEAT_EVAL but without FEAT_MBYTE. (John 7600 Marriott) 7601Solution: Add #ifdef for FEAT_MBYTE. 7602Files: src/json.c 7603 7604Patch 7.4.1193 7605Problem: Can't build the channel feature on MS-Windows. 7606Solution: Add #ifdef HAVE_POLL. 7607Files: src/channel.c 7608 7609Patch 7.4.1194 7610Problem: Compiler warning for not using return value of fwrite(). 7611Solution: Return OK/FAIL. (Charles Campbell) 7612Files: src/channel.c, src/proto/channel.pro 7613 7614Patch 7.4.1195 7615Problem: The channel feature does not work in the MS-Windows console. 7616Solution: Add win32 console support. (Yasuhiro Matsumoto) 7617Files: src/channel.c, src/gui_w32.c, src/os_mswin.c, src/os_win32.c, 7618 src/proto/gui_w32.pro, src/proto/os_mswin.pro, src/vim.h 7619 7620Patch 7.4.1196 7621Problem: Still using __ARGS. 7622Solution: Remove __ARGS in several files. (script by Hirohito Higashi) 7623Files: src/arabic.c, src/buffer.c, src/charset.c, src/crypt_zip.c, 7624 src/diff.c, src/digraph.c, src/edit.c, src/ex_cmds.c, 7625 src/ex_cmds2.c, src/ex_docmd.c 7626 7627Patch 7.4.1197 7628Problem: Still using __ARGS. 7629Solution: Remove __ARGS in several files. (script by Hirohito Higashi) 7630Files: src/ex_eval.c, src/ex_getln.c, src/farsi.c, src/fileio.c, 7631 src/fold.c, src/getchar.c, src/gui.c, src/gui_at_fs.c, 7632 src/gui_at_sb.c, src/gui_athena.c, src/gui_beval.c, 7633 src/gui_motif.c, src/gui_w32.c, src/gui_w48.c 7634 7635Patch 7.4.1198 7636Problem: Still using __ARGS. 7637Solution: Remove __ARGS in several files. (script by Hirohito Higashi) 7638 Also remove use of HAVE_STDARG_H. 7639Files: src/gui_x11.c, src/hangulin.c, src/hardcopy.c, src/hashtab.c, 7640 src/if_cscope.c, src/if_python3.c, src/if_sniff.c, 7641 src/if_xcmdsrv.c, src/main.c, src/mark.c, src/mbyte.c, 7642 src/memfile.c, src/memfile_test.c, src/memline.c, src/menu.c, 7643 src/message.c, src/misc1.c, src/misc2.c, src/move.c, 7644 src/netbeans.c, src/normal.c 7645 7646Patch 7.4.1199 7647Problem: Still using __ARGS. 7648Solution: Remove __ARGS in several files. (script by Hirohito Higashi) 7649Files: src/ops.c, src/option.c, src/os_amiga.c, src/os_mac_conv.c, 7650 src/os_unix.c, src/os_vms.c, src/os_w32exe.c, src/popupmnu.c, 7651 src/pty.c, src/quickfix.c, src/regexp.c, src/regexp_nfa.c, 7652 src/screen.c, src/search.c, src/sha256.c, src/spell.c, 7653 src/syntax.c, src/tag.c, src/term.c, src/termlib.c, src/ui.c, 7654 src/undo.c, src/version.c, src/window.c 7655 7656Patch 7.4.1200 7657Problem: Still using __ARGS. 7658Solution: Remove __ARGS in several files. (script by Hirohito Higashi) 7659Files: src/blowfish.c, src/ex_cmds2.c, src/ex_getln.c, src/fold.c, 7660 src/gui_beval.c, src/gui_w32.c, src/os_unix.c, src/os_win16.c, 7661 src/pty.c, src/regexp.c, src/syntax.c, src/xpm_w32.c, 7662 src/ex_cmds.h, src/globals.h, src/gui_at_sb.h, src/gui_beval.h, 7663 src/if_cscope.h, src/if_sniff.h, src/nbdebug.h, src/os_unix.h, 7664 src/proto.h, src/structs.h, src/vim.h, src/xpm_w32.h, 7665 src/if_perl.xs, src/proto/if_lua.pro, src/proto/pty.pro, 7666 runtime/tools/xcmdsrv_client.c, 7667 src/Makefile 7668 7669Patch 7.4.1201 7670Problem: One more file still using __ARGS. 7671Solution: Remove __ARGS in the last file. (script by Hirohito Higashi) 7672Files: src/gui_at_sb.c 7673 7674Patch 7.4.1202 7675Problem: Still one more file still using __ARGS. 7676Solution: Remove __ARGS in the last file. (script by Hirohito Higashi) 7677 (closes #612) 7678Files: src/proto/os_mac_conv.pro, src/os_mac_conv.c, src/Makefile 7679 7680Patch 7.4.1203 7681Problem: Still more files still using __ARGS. 7682Solution: Remove __ARGS in really the last files. 7683Files: src/proto/if_mzsch.pro, src/if_mzsch.c, src/vim.h, 7684 src/proto/gui_gtk_gresources.pro, src/proto/gui_mac.pro, 7685 src/proto/if_ole.pro, src/proto/os_qnx.pro, src/Makefile 7686 7687Patch 7.4.1204 7688Problem: Latin1 characters cause encoding conversion. 7689Solution: Remove the characters. 7690Files: src/gui_motif.c 7691 7692Patch 7.4.1205 7693Problem: Using old style function declarations. 7694Solution: Change to new style function declarations. (script by Hirohito 7695 Higashi) 7696Files: src/arabic.c, src/blowfish.c, src/buffer.c, src/channel.c, 7697 src/charset.c, src/crypt.c, src/crypt_zip.c, src/diff.c, 7698 src/digraph.c, src/edit.c, src/eval.c 7699 7700Patch 7.4.1206 7701Problem: Using old style function declarations. 7702Solution: Change to new style function declarations. (script by Hirohito 7703 Higashi) 7704Files: src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c, 7705 src/ex_getln.c, src/farsi.c, src/fileio.c 7706 7707Patch 7.4.1207 7708Problem: Using old style function declarations. 7709Solution: Change to new style function declarations. (script by Hirohito 7710 Higashi) 7711Files: src/fold.c, src/getchar.c, src/gui_at_fs.c, src/gui_athena.c, 7712 src/gui_at_sb.c, src/gui_beval.c, src/gui.c, src/gui_gtk.c, 7713 src/gui_gtk_x11.c, src/gui_mac.c, src/gui_motif.c 7714 7715Patch 7.4.1208 7716Problem: Using old style function declarations. 7717Solution: Change to new style function declarations. (script by Hirohito 7718 Higashi) 7719Files: src/gui_photon.c, src/gui_w32.c, src/gui_w48.c, src/gui_x11.c, 7720 src/hangulin.c, src/hardcopy.c, src/hashtab.c, src/if_cscope.c, 7721 src/if_mzsch.c, src/if_perlsfio.c, src/if_python.c, 7722 src/if_python3.c, src/if_ruby.c, src/if_sniff.c, src/if_tcl.c, 7723 src/if_xcmdsrv.c, src/integration.c 7724 7725Patch 7.4.1209 (after 7.4.1207) 7726Problem: Can't build with Athena. (Elimar Riesebieter) 7727Solution: Fix function declarations. 7728Files: src/gui_athena.c, src/gui_x11.c, src/gui_at_sb.c, src/gui_at_fs.c 7729 7730Patch 7.4.1210 7731Problem: Using old style function declarations. 7732Solution: Change to new style function declarations. (script by Hirohito 7733 Higashi) 7734Files: src/main.c, src/mark.c, src/mbyte.c, src/memfile.c, 7735 src/memfile_test.c, src/memline.c, src/menu.c, src/message.c 7736 7737Patch 7.4.1211 7738Problem: Using old style function declarations. 7739Solution: Change to new style function declarations. (script by Hirohito 7740 Higashi) 7741Files: src/misc1.c, src/misc2.c, src/move.c, src/netbeans.c, 7742 src/normal.c, src/ops.c, src/option.c 7743 7744Patch 7.4.1212 (after 7.4.1207) 7745Problem: Can't build with Motif. 7746Solution: Fix function declaration.(Dominique Pelle) 7747Files: src/gui_motif.c 7748 7749Patch 7.4.1213 7750Problem: Using old style function declarations. 7751Solution: Change to new style function declarations. (script by Hirohito 7752 Higashi) 7753Files: src/os_amiga.c, src/os_mac_conv.c, src/os_msdos.d, src/os_mswin.c, 7754 src/os_qnx.c, src/os_unix.c, src/os_vms.c, src/os_win16.c, 7755 src/os_win32.c, src/popupmnu.c, src/pty.c, src/quickfix.c, 7756 src/regexp.c, src/regexp_nfa.c, src/screen.c 7757 7758Patch 7.4.1214 7759Problem: Using old style function declarations. 7760Solution: Change to new style function declarations. (script by Hirohito 7761 Higashi) 7762Files: src/search.c, src/sha256.c, src/spell.c, src/syntax.c, src/tag.c, 7763 src/term.c, src/termlib.c, src/ui.c, src/undo.c 7764 7765Patch 7.4.1215 7766Problem: Using old style function declarations. 7767Solution: Change to new style function declarations. (script by Hirohito 7768 Higashi) 7769Files: src/version.c, src/winclip.c, src/window.c, src/workshop.c, 7770 src/xpm_w32.c, runtime/doc/doctags.c, 7771 runtime/tools/xcmdsrv_client.c, src/po/sjiscorr.c, src/xxd/xxd.c 7772 7773Patch 7.4.1216 7774Problem: Still using HAVE_STDARG_H. 7775Solution: Assume it's always defined. 7776Files: src/eval.c, src/misc2.c, src/vim.h, src/proto.h, src/configure.in, 7777 src/auto/configure, config.h.in, src/os_amiga.h, src/os_msdos.h, 7778 src/os_vms_conf.h, src/os_win32.h 7779 7780Patch 7.4.1217 7781Problem: Execution of command on channel doesn't work yet. 7782Solution: Implement the "ex" and "normal" commands. 7783Files: src/channel.c, src/proto/channel.pro, src/misc2.c, src/eval.c, 7784 src/ex_docmd.c, src/proto/ex_docmd.pro, src/feature.h 7785 7786Patch 7.4.1218 7787Problem: Missing change in configure. More changes for function style. 7788Solution: Avoid the typos. 7789Files: src/configure.in, src/config.h.in, runtime/tools/ccfilter.c, 7790 src/os_msdos.c 7791 7792Patch 7.4.1219 7793Problem: Build fails with +channel but without +float. 7794Solution: Add #ifdef. 7795Files: src/ex_cmds.c 7796 7797Patch 7.4.1220 7798Problem: Warnings for unused variables in tiny build. (Tony Mechelynck) 7799Solution: Move declarations inside #ifdef. (Hirohito Higashi) 7800Files: src/ex_cmds.c 7801 7802Patch 7.4.1221 7803Problem: Including netbeans and channel support in small and tiny builds. 7804 Build fails with some interfaces. 7805Solution: Only include these features in small build and above. Let 7806 configure fail if trying to enable an interface that won't build. 7807Files: src/configure.in, src/auto/configure 7808 7809Patch 7.4.1222 7810Problem: ":normal" command and others missing in tiny build. 7811Solution: Graduate FEAT_EX_EXTRA. 7812Files: src/feature.h, src/charset.c, src/eval.c, src/ex_cmds.c, 7813 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/getchar.c, 7814 src/normal.c, src/ui.c, src/version.c, src/globals.h 7815 7816Patch 7.4.1223 7817Problem: Crash when setting v:errors to a number. 7818Solution: Free the typval without assuming its type. (Yasuhiro Matsumoto) 7819Files: src/eval.c, src/testdir/test_assert.vim 7820 7821Patch 7.4.1224 7822Problem: Build problems with GTK on BSD. (Mike Williams) 7823Solution: Don't use "$<". Skip building gui_gtk_gresources.h when it doesn't 7824 work. (Kazunobu Kuriyama) 7825Files: src/Makefile 7826 7827Patch 7.4.1225 7828Problem: Still a few old style function declarations. 7829Solution: Make them new style. (Hirohito Higashi) 7830Files: runtime/tools/blink.c, src/eval.c, src/ex_cmds2.c, src/ex_getln.c, 7831 src/fileio.c, src/gui_w32.c, src/gui_x11.c, src/if_perl.xs, 7832 src/os_unix.c, src/po/sjiscorr.c, src/pty.c 7833 7834Patch 7.4.1226 7835Problem: GRESOURCE_HDR is unused. 7836Solution: Remove it. (Kazunobu Kuriyama) 7837Files: src/configure.in, src/auto/configure, src/config.mk.in 7838 7839Patch 7.4.1227 7840Problem: Compiler warnings. 7841Solution: Add UNUSED. Add type cast. (Yegappan Lakshmanan) 7842Files: src/getchar.c, src/os_macosx.m 7843 7844Patch 7.4.1228 7845Problem: copy() and deepcopy() fail with special variables. (Nikolai 7846 Pavlov) 7847Solution: Make it work. Add a test. Closes #614. 7848Files: src/eval.c, src/testdir/test_viml.vim 7849 7850Patch 7.4.1229 7851Problem: "eval" and "expr" channel commands don't work yet. 7852Solution: Implement them. Update the error numbers. Also add "redraw". 7853Files: src/channel.c, src/eval.c, src/json.c, src/ex_docmd.c, 7854 src/proto/channel.pro, src/proto/json.pro, src/proto/ex_docmd.pro, 7855 runtime/doc/channel.txt 7856 7857Patch 7.4.1230 7858Problem: Win32: opening a channel may hang. Not checking for messages 7859 while waiting for characters. 7860Solution: Add a zero timeout. Call parse_queued_messages(). (Yasuhiro 7861 Matsumoto) 7862Files: src/os_win32.c 7863 7864Patch 7.4.1231 7865Problem: JSON messages are not parsed properly. 7866Solution: Queue received messages. 7867Files: src/eval.c src/channel.c, src/json.c, src/proto/eval.pro, 7868 src/proto/channel.pro, src/proto/json.pro, src/structs.h 7869 7870Patch 7.4.1232 7871Problem: Compiler warnings when the Sniff feature is enabled. 7872Solution: Add UNUSED. 7873Files: src/gui_gtk_x11.c 7874 7875Patch 7.4.1233 7876Problem: Channel command may cause a crash. 7877Solution: Check for NULL argument. (Damien) 7878Files: src/channel.c 7879 7880Patch 7.4.1234 7881Problem: Demo server only runs with Python 2. 7882Solution: Make it run with Python 3 as well. (Ken Takata) 7883Files: runtime/tools/demoserver.py 7884 7885Patch 7.4.1235 (after 7.4.1231) 7886Problem: Missing change to eval.c. 7887Solution: Include that change. 7888Files: src/eval.c 7889 7890Patch 7.4.1236 7891Problem: When "syntax manual" was used switching between buffers removes 7892 the highlighting. 7893Solution: Set the syntax option without changing the value. (Anton 7894 Lindqvist) 7895Files: runtime/syntax/manual.vim 7896 7897Patch 7.4.1237 7898Problem: Can't translate message without adding a line break. 7899Solution: Join the two parts of the message. 7900Files: src/memline.c 7901 7902Patch 7.4.1238 7903Problem: Can't handle two messages right after each other. 7904Solution: Find the end of the JSON. Read more when incomplete. Add a C 7905 test for the JSON decoding. 7906Files: src/channel.c, src/json.c, src/proto/json.pro, src/eval.c, 7907 src/Makefile, src/json_test.c, src/memfile_test.c, src/structs.h 7908 7909Patch 7.4.1239 7910Problem: JSON message after the first one is dropped. 7911Solution: Put remainder of message back in the queue. 7912Files: src/channel.c 7913 7914Patch 7.4.1240 7915Problem: Visual studio tools are noisy. 7916Solution: Suppress startup info. (Mike Williams) 7917Files: src/GvimExt/Makefile, src/Make_mvc.mak, src/tee/Make_mvc.mak 7918 7919Patch 7.4.1241 (after 7.4.1238) 7920Problem: Missing change in Makefile due to diff mismatch 7921Solution: Update the list of object files. 7922Files: src/Makefile 7923 7924Patch 7.4.1242 (after 7.4.1238) 7925Problem: json_test fails without the eval feature. 7926Solution: Add #ifdef. 7927Files: src/json_test.c 7928 7929Patch 7.4.1243 7930Problem: Compiler warning for uninitialized variable. 7931Solution: Initialize it. (Elias Diem) 7932Files: src/json.c 7933 7934Patch 7.4.1244 7935Problem: The channel functions don't sort together. 7936Solution: Use a common "ch_" prefix. 7937Files: src/eval.c, runtime/doc/eval.txt, runtime/tools/demoserver.py 7938 7939Patch 7.4.1245 7940Problem: File missing from distribution. 7941Solution: Add json_test.c. 7942Files: Filelist 7943 7944Patch 7.4.1246 7945Problem: The channel functionality isn't tested. 7946Solution: Add a test using a Python test server. 7947Files: src/channel.c, src/proto/channel.pro, 7948 src/testdir/test_channel.vim, src/testdir/test_channel.py, 7949 src/testdir/Make_all.mak 7950 7951Patch 7.4.1247 7952Problem: The channel test doesn't run on MS-Windows. 7953Solution: Make it work on the MS-Windows console. (Ken Takata) 7954Files: src/testdir/test_channel.py, src/testdir/test_channel.vim 7955 7956Patch 7.4.1248 7957Problem: Can't reliably stop the channel test server. Can't start the 7958 server if the python file is not executable. 7959Solution: Use "pkill" instead of "killall". Run the python file as an 7960 argument instead of as an executable. 7961Files: src/testdir/test_channel.vim 7962 7963Patch 7.4.1249 7964Problem: Crash when the process a channel is connected to exits. 7965Solution: Use the file descriptor properly. Add a test. (Damien) 7966 Also add a test for eval(). 7967Files: src/channel.c, src/testdir/test_channel.py, 7968 src/testdir/test_channel.vim 7969 7970Patch 7.4.1250 7971Problem: Running tests in shadow directory fails. 7972Solution: Also link testdir/*.py 7973Files: src/Makefile 7974 7975Patch 7.4.1251 7976Problem: New test file missing from distribution. 7977Solution: Add src/testdir/*.py. 7978Files: Filelist 7979 7980Patch 7.4.1252 7981Problem: The channel test server may receive two messages concatenated. 7982Solution: Split the messages. 7983Files: src/testdir/test_channel.py 7984 7985Patch 7.4.1253 7986Problem: Python test server not displaying second of two commands. 7987 Solaris doesn't have "pkill --full". 7988Solution: Also echo the second command. Use "pkill -f". 7989Files: src/testdir/test_channel.py, src/testdir/test_channel.vim 7990 7991Patch 7.4.1254 7992Problem: Opening a second channel causes a crash. (Ken Takata) 7993Solution: Don't re-allocate the array with channels. 7994Files: src/channel.c, src/testdir/test_channel.vim, 7995 src/testdir/test_channel.py 7996 7997Patch 7.4.1255 7998Problem: Crash for channel "eval" command without third argument. 7999Solution: Check for missing argument. 8000Files: src/channel.c, src/testdir/test_channel.vim, 8001 src/testdir/test_channel.py 8002 8003Patch 7.4.1256 8004Problem: On Mac sys.exit(0) doesn't kill the test server. 8005Solution: Use self.server.shutdown(). (Jun Takimoto) 8006Files: src/testdir/test_channel.py 8007 8008Patch 7.4.1257 8009Problem: Channel test fails in some configurations. 8010Solution: Add check for the +channel feature. 8011Files: src/testdir/test_channel.vim 8012 8013Patch 7.4.1258 8014Problem: The channel test can fail if messages arrive later. 8015Solution: Add a short sleep. (Jun Takimoto) 8016Files: src/testdir/test_channel.vim 8017 8018Patch 7.4.1259 8019Problem: No test for what patch 7.3.414 fixed. 8020Solution: Add a test. (Elias Diem) 8021Files: src/testdir/test_increment.vim 8022 8023Patch 7.4.1260 8024Problem: The channel feature doesn't work on Win32 GUI. 8025Solution: Use WSAGetLastError(). (Ken Takata) 8026Files: src/channel.c, src/testdir/test_channel.vim, src/vim.h 8027 8028Patch 7.4.1261 8029Problem: Pending channel messages are garbage collected. Leaking memory in 8030 ch_sendexpr(). Leaking memory for a decoded JSON string. 8031Solution: Mark the message list as used. Free the encoded JSON. Don't save 8032 the JSON string. 8033Files: src/eval.c, src/channel.c, src/json.c, src/proto/channel.pro 8034 8035Patch 7.4.1262 8036Problem: The channel callback is not invoked. 8037Solution: Make a list of pending callbacks. 8038Files: src/eval.c, src/channel.c, src/proto/channel.pro, 8039 src/testdir/test_channel.vim 8040 8041Patch 7.4.1263 8042Problem: ch_open() hangs when the server isn't running. 8043Solution: Add a timeout. Use a dict to pass arguments. (Yasuhiro Matsumoto) 8044Files: runtime/doc/eval.txt, runtime/doc/channel.txt, src/channel.c, 8045 src/eval.c, src/netbeans.c, src/os_win32.c, src/proto/channel.pro, 8046 src/testdir/test_channel.vim 8047 8048Patch 7.4.1264 8049Problem: Crash when receiving an empty array. 8050Solution: Check for array with wrong number of arguments. (Damien) 8051Files: src/channel.c, src/eval.c, src/testdir/test_channel.py, 8052 src/testdir/test_channel.vim 8053 8054Patch 7.4.1265 8055Problem: Not all channel commands are tested. 8056Solution: Add a test for "normal", "expr" and "redraw". 8057Files: src/testdir/test_channel.py, src/testdir/test_channel.vim 8058 8059Patch 7.4.1266 8060Problem: A BufAdd autocommand may cause an ml_get error (Christian 8061 Brabandt) 8062Solution: Increment RedrawingDisabled earlier. 8063Files: src/ex_cmds.c 8064 8065Patch 7.4.1267 8066Problem: Easy to miss handling all types of variables. 8067Solution: Change the variable type into an enum. 8068Files: src/structs.h, src/eval.c 8069 8070Patch 7.4.1268 8071Problem: Waittime is used as seconds instead of milliseconds. (Hirohito 8072 Higashi) 8073Solution: Divide by 1000. 8074Files: src/channel.c 8075 8076Patch 7.4.1269 8077Problem: Encoding {'key':v:none} to JSON doesn't give an error (Tyru) 8078Solution: Give an error. 8079Files: src/json.c, src/testdir/test_json.vim 8080 8081Patch 7.4.1270 8082Problem: Warnings for missing values in switch. 8083Solution: Change switch to if-else or add values. 8084Files: src/if_py_both.h, src/if_python.c, src/if_python3.c 8085 8086Patch 7.4.1271 8087Problem: assert_false(v:false) reports an error. (Nikolai Pavlov) 8088Solution: Recognize v:true and v:false. (Closes #625) 8089Files: src/eval.c, src/testdir/test_assert.vim 8090 8091Patch 7.4.1272 (after 7.4.1270) 8092Problem: Using future enum value. 8093Solution: Remove it. 8094Files: src/if_python.c, src/if_python3.c 8095 8096Patch 7.4.1273 (after 7.4.1271) 8097Problem: assert_false(v:false) still fails. 8098Solution: Fix the typo. 8099Files: src/eval.c 8100 8101Patch 7.4.1274 8102Problem: Cannot run a job. 8103Solution: Add job_start(), job_status() and job_stop(). Currently only works 8104 for Unix. 8105Files: src/eval.c, src/structs.h, runtime/doc/eval.txt, src/os_unix.c, 8106 src/proto/os_unix.pro, src/feature.h, src/version.c, 8107 src/testdir/test_channel.vim 8108 8109Patch 7.4.1275 (after 7.4.1274) 8110Problem: Build fails on MS-Windows. 8111Solution: Fix wrong #ifdef. 8112Files: src/eval.c 8113 8114Patch 7.4.1276 8115Problem: Warning for not using return value of fcntl(). 8116Solution: Explicitly ignore the return value. 8117Files: src/fileio.c, src/channel.c, src/memfile.c, src/memline.c 8118 8119Patch 7.4.1277 8120Problem: Compiler can complain about missing enum value in switch with some 8121 combination of features. 8122Solution: Remove #ifdefs around case statements. 8123Files: src/eval.c 8124 8125Patch 7.4.1278 8126Problem: When jsonencode() fails it still returns something. 8127Solution: Return an empty string on failure. 8128Files: src/json.c, src/channel.c, src/testdir/test_json.vim, 8129 src/testdir/test_channel.vim, src/testdir/test_channel.py 8130 8131Patch 7.4.1279 8132Problem: jsonencode() is not producing strict JSON. 8133Solution: Add jsencode() and jsdecode(). Make jsonencode() and jsondecode() 8134 strict. 8135Files: src/json.c, src/json_test.c, src/proto/json.pro, src/channel.c, 8136 src/proto/channel.pro, src/eval.c, src/vim.h, src/structs.h, 8137 runtime/doc/eval.txt, runtime/doc/channel.txt, 8138 src/testdir/test_json.vim 8139 8140Patch 7.4.1280 8141Problem: Missing case value. 8142Solution: Add VAR_JOB. 8143Files: src/if_python.c, src/if_python3.c 8144 8145Patch 7.4.1281 8146Problem: No test for skipping over code that isn't evaluated. 8147Solution: Add a test with code that would fail when not skipped. 8148Files: src/testdir/test_viml.vim 8149 8150Patch 7.4.1282 8151Problem: Crash when evaluating the pattern of ":catch" causes an error. 8152 (Dominique Pelle) 8153Solution: Block error messages at this point. 8154Files: src/ex_eval.c 8155 8156Patch 7.4.1283 8157Problem: The job feature isn't available on MS-Windows. 8158Solution: Add the job feature. Fix argument of job_stop(). (Yasuhiro 8159 Matsumoto) 8160Files: src/eval.c, src/feature.h, src/os_win32.c, src/proto/os_win32.pro 8161 8162Patch 7.4.1284 (after 7.4.1282) 8163Problem: Test 49 fails. 8164Solution: Check for a different error message. 8165Files: src/testdir/test49.vim 8166 8167Patch 7.4.1285 8168Problem: Cannot measure elapsed time. 8169Solution: Add reltimefloat(). 8170Files: src/ex_cmds2.c, src/eval.c, src/proto/ex_cmds2.pro, 8171 src/testdir/test_reltime.vim, src/testdir/test_alot.vim 8172 8173Patch 7.4.1286 8174Problem: ch_open() with a timeout doesn't work correctly. 8175Solution: Change how select() is used. Don't give an error on timeout. 8176 Add a test for ch_open() failing. 8177Files: src/channel.c, src/testdir/test_channel.vim 8178 8179Patch 7.4.1287 (after 7.4.1286) 8180Problem: Channel test fails. 8181Solution: Use reltimefloat(). 8182Files: src/testdir/test_channel.vim 8183 8184Patch 7.4.1288 8185Problem: ch_sendexpr() does not use JS encoding. 8186Solution: Use the encoding that fits the channel mode. Refuse using 8187 ch_sendexpr() on a raw channel. 8188Files: src/channel.c, src/proto/channel.pro, src/eval.c 8189 8190Patch 7.4.1289 8191Problem: Channel test fails on MS-Windows, connect() takes too long. 8192Solution: Adjust the test for MS-Windows using "waittime". 8193Files: src/channel.c, src/testdir/test_channel.vim 8194 8195Patch 7.4.1290 8196Problem: Coverity complains about unnecessary check for NULL. 8197Solution: Remove the check. 8198Files: src/eval.c 8199 8200Patch 7.4.1291 8201Problem: On MS-Windows the channel test server doesn't quit. 8202Solution: Use return instead of break. (Ken Takata) 8203Files: src/testdir/test_channel.py 8204 8205Patch 7.4.1292 8206Problem: Some compilers complain about uninitialized variable, even though 8207 all possible cases are handled. (Dominique Pelle) 8208Solution: Add a default initialization. 8209Files: src/eval.c 8210 8211Patch 7.4.1293 8212Problem: Sometimes a channel may hang waiting for a message that was 8213 already discarded. (Ken Takata) 8214Solution: Store the ID of the message blocking on in the channel. 8215Files: src/channel.c 8216 8217Patch 7.4.1294 8218Problem: job_stop() only kills the started process. 8219Solution: Send the signal to the process group. (Olaf Dabrunz) 8220Files: src/os_unix.c 8221 8222Patch 7.4.1295 8223Problem: string(job) doesn't work well on MS-Windows. 8224Solution: Use the process ID. (Yasuhiro Matsumoto) 8225Files: src/eval.c 8226 8227Patch 7.4.1296 8228Problem: Cursor changes column with up motion when the matchparen plugin 8229 saves and restores the cursor position. (Martin Kunev) 8230Solution: Make sure curswant is updated before invoking the autocommand. 8231Files: src/edit.c 8232 8233Patch 7.4.1297 8234Problem: On Mac test_channel leaves python instances running. 8235Solution: Use a small waittime to make ch_open() work. (Ozaki Kiichi) 8236Files: src/testdir/test_channel.vim 8237 8238Patch 7.4.1298 8239Problem: When the channel test fails in an unexpected way the server keeps 8240 running. 8241Solution: Use try/catch. (Ozaki Kiichi) 8242Files: src/testdir/test_channel.vim 8243 8244Patch 7.4.1299 8245Problem: When the server sends a message with ID zero the channel handler 8246 is not invoked. (Christian J. Robinson) 8247Solution: Recognize zero value for the request ID. Add a test for invoking 8248 the channel handler. 8249Files: src/channel.c, src/testdir/test_channel.vim, 8250 src/testdir/test_channel.py 8251 8252Patch 7.4.1300 8253Problem: Cannot test CursorMovedI because there is typeahead. 8254Solution: Add disable_char_avail_for_testing(). 8255Files: src/eval.c, src/getchar.c, src/globals.h, 8256 src/testdir/test_cursor_func.vim, src/testdir/README.txt 8257 8258Patch 7.4.1301 8259Problem: Missing options in ch_open(). 8260Solution: Add s:chopt like in the other calls. (Ozaki Kiichi) 8261Files: src/testdir/test_channel.vim 8262 8263Patch 7.4.1302 8264Problem: Typo in struct field name. (Ken Takata) 8265Solution: Rename jf_pi to jv_pi. 8266Files: src/eval.c, src/os_win32.c, src/structs.h 8267 8268Patch 7.4.1303 8269Problem: A Funcref is not accepted as a callback. 8270Solution: Make a Funcref work. (Damien) 8271Files: src/eval.c, src/testdir/test_channel.vim 8272 8273Patch 7.4.1304 8274Problem: Function names are difficult to read. 8275Solution: Rename jsonencode to json_encode, jsondecode to json_decode, 8276 jsencode to js_encode and jsdecode to js_decode. 8277Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_json.vim 8278 8279Patch 7.4.1305 8280Problem: "\%1l^#.*" does not match on a line starting with "#". 8281Solution: Do not clear the start-of-line flag. (Christian Brabandt) 8282Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test36.in, 8283 src/testdir/test36.ok 8284 8285Patch 7.4.1306 8286Problem: Job control doesn't work well on MS-Windows. 8287Solution: Various fixes. (Ken Takata, Ozaki Kiichi, Yukihiro Nakadaira, 8288 Yasuhiro Matsumoto) 8289Files: src/Make_mvc.mak, src/eval.c, src/os_unix.c, src/os_win32.c, 8290 src/proto/os_unix.pro, src/proto/os_win32.pro, src/structs.h 8291 8292Patch 7.4.1307 8293Problem: Some channel tests fail on MS-Windows. 8294Solution: Disable the failing tests temporarily. 8295Files: src/testdir/test_channel.vim 8296 8297Patch 7.4.1308 (after 7.4.1307) 8298Problem: Typo in test. 8299Solution: Change endf to endif. 8300Files: src/testdir/test_channel.vim 8301 8302Patch 7.4.1309 8303Problem: When a test fails not all relevant info is listed. 8304Solution: Add the errors to the messages. 8305Files: src/testdir/runtest.vim 8306 8307Patch 7.4.1310 8308Problem: Jobs don't open a channel. 8309Solution: Create pipes and add them to the channel. Add ch_logfile(). 8310 Only Unix for now. 8311Files: src/channel.c, src/eval.c, src/os_unix.c, src/structs.h, 8312 src/gui_w48.c, src/proto/channel.pro, src/testdir/test_channel.vim, 8313 src/testdir/test_channel_pipe.py, runtime/doc/eval.txt 8314 8315Patch 7.4.1311 (after 7.4.1310) 8316Problem: sock_T is defined too late. 8317Solution: Move it up. 8318Files: src/vim.h 8319 8320Patch 7.4.1312 (after 7.4.1311) 8321Problem: sock_T is not defined without the +channel feature. 8322Solution: Always define it. 8323Files: src/vim.h 8324 8325Patch 7.4.1313 8326Problem: MS-Windows: Using socket after it was closed causes an exception. 8327Solution: Don't give an error when handling WM_NETBEANS. Re-enable tests 8328 for MS-Windows. 8329Files: src/gui_w48.c, src/testdir/test_channel.vim 8330 8331Patch 7.4.1314 8332Problem: Warning for uninitialized variable. 8333Solution: Initialize it. (Dominique Pelle) 8334Files: src/channel.c 8335 8336Patch 7.4.1315 8337Problem: Using a channel handle does not allow for freeing it when unused. 8338Solution: Add the Channel variable type. 8339Files: src/structs.h, src/channel.c, src/misc2.c, src/eval.c, 8340 src/if_python.c, src/if_python3.c, src/json.c, src/gui_w48.c, 8341 src/netbeans.c, src/proto/channel.pro, src/os_unix.c, 8342 src/testdir/test_channel.py, src/testdir/test_channel.vim 8343 8344Patch 7.4.1316 8345Problem: Can't build MS-Windows console version. (Tux) 8346Solution: Add #ifdefs. 8347Files: src/eval.c 8348 8349Patch 7.4.1317 8350Problem: MS-Windows: channel test fails. 8351Solution: Temporarily disable Test_connect_waittime(). 8352Files: src/testdir/test_channel.vim 8353 8354Patch 7.4.1318 8355Problem: Channel with pipes doesn't work in GUI. 8356Solution: Register input handlers for pipes. 8357Files: src/structs.h, src/feature.h, src/channel.c, src/eval.c, 8358 src/os_unix.c, src/os_win32.c, src/gui_w48.c, src/proto/channel.pro 8359 8360Patch 7.4.1319 (after 7.4.1318) 8361Problem: Tests fail on MS-Windows and on Unix with GUI. 8362Solution: Fix unregistering. 8363Files: src/structs.h, src/channel.c, src/os_unix.c, src/os_win32.c, 8364 src/proto/channel.pro 8365 8366Patch 7.4.1320 8367Problem: Building with Cygwin or MingW with channel but without Netbeans 8368 doesn't work. 8369Solution: Set NETBEANS to "no" when not used. 8370Files: src/Make_cyg_ming.mak 8371 8372Patch 7.4.1321 8373Problem: Compiler complains about missing statement. 8374Solution: Add an empty statement. (Andrei Olsen) 8375Files: src/os_win32.c 8376 8377Patch 7.4.1322 8378Problem: Crash when unletting the variable that holds the channel in a 8379 callback function. (Christian Robinson) 8380Solution: Increase the reference count while invoking the callback. 8381Files: src/eval.c, src/channel.c, src/proto/eval.pro, 8382 src/testdir/test_channel.vim 8383 8384Patch 7.4.1323 8385Problem: Do not get warnings when building with MingW. 8386Solution: Remove the -w flag. (Ken Takata) 8387Files: src/Make_cyg_ming.mak 8388 8389Patch 7.4.1324 8390Problem: Channels with pipes don't work on MS-Windows. 8391Solution: Add pipe I/O support. (Yasuhiro Matsumoto) 8392Files: src/channel.c, src/os_win32.c, src/proto/channel.pro, 8393 src/structs.h, src/vim.h, src/testdir/test_channel.vim 8394 8395Patch 7.4.1325 8396Problem: Channel test fails on difference between Unix and DOS line endings. 8397Solution: Strip off CR. Make assert show difference better. 8398Files: src/eval.c, src/channel.c 8399 8400Patch 7.4.1326 8401Problem: Build rules are bit too complicated. 8402Solution: Remove -lwsock32 from Netbeans, it's already added for the channel 8403 feature that it depends on. (Tony Mechelynck) 8404Files: src/Make_cyg_ming.mak 8405 8406Patch 7.4.1327 8407Problem: Channel test doesn't work if Python executable is python.exe. 8408Solution: Find py.exe or python.exe. (Ken Takata) 8409Files: src/testdir/test_channel.vim 8410 8411Patch 7.4.1328 8412Problem: Can't compile with +job but without +channel. (John Marriott) 8413Solution: Add more #ifdefs. 8414Files: src/os_unix.c 8415 8416Patch 7.4.1329 8417Problem: Crash when using channel that failed to open. 8418Solution: Check for NULL. Update messages. (Yukihiro Nakadaira) 8419Files: src/channel.c, src/eval.c, src/testdir/test_channel.vim 8420 8421Patch 7.4.1330 8422Problem: fd_read() has an unused argument. 8423Solution: Remove the timeout. (Yasuhiro Matsumoto) 8424Files: src/channel.c 8425 8426Patch 7.4.1331 8427Problem: Crash when closing the channel in a callback. (Christian J. 8428 Robinson) 8429Solution: Take the callback out of the list before invoking it. 8430Files: src/channel.c, src/testdir/test_channel.vim 8431 8432Patch 7.4.1332 8433Problem: Problem using Python3 when compiled with MingW. 8434Solution: Define PYTHON3_HOME as a wide character string. (Yasuhiro 8435 Matsumoto) 8436Files: src/Make_cyg_ming.mak 8437 8438Patch 7.4.1333 8439Problem: Channel test fails on non-darwin builds. 8440Solution: Add the "osx" feature and test for that. (Kazunobu Kuriyama) 8441Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_channel.vim 8442 8443Patch 7.4.1334 8444Problem: Many compiler warnings with MingW. 8445Solution: Add type casts. (Yasuhiro Matsumoto) 8446Files: src/channel.c, src/dosinst.h, src/eval.c, src/ex_cmds2.c, 8447 src/ex_getln.c, src/fileio.c, src/if_cscope.c, src/if_perl.xs, 8448 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/main.c, 8449 src/mbyte.c, src/misc1.c, src/option.c, src/os_mswin.c, 8450 src/os_win32.c 8451 8452Patch 7.4.1335 8453Problem: Can't build on MS-Windows with +job but without +channel. (Cesar 8454 Romani) 8455Solution: Add #ifdefs. (Yasuhiro Matsumoto) 8456Files: src/os_win32.c 8457 8458Patch 7.4.1336 8459Problem: Channel NL mode is not supported yet. 8460Solution: Add NL mode support to channels. 8461Files: src/channel.c, src/netbeans.c, src/structs.h, src/os_win32.c, 8462 src/proto/channel.pro, src/proto/os_unix.pro, 8463 src/proto/os_win32.pro, src/testdir/test_channel.vim, 8464 src/testdir/test_channel_pipe.py 8465 8466Patch 7.4.1337 (after 7.4.1336) 8467Problem: Part of the change is missing. 8468Solution: Add changes to eval.c 8469Files: src/eval.c 8470 8471 8472Patch 7.4.1338 (after 7.4.1336) 8473Problem: Another part of the change is missing. 8474Solution: Type os_unix.c right this time. 8475Files: src/os_unix.c 8476 8477Patch 7.4.1339 8478Problem: Warnings when building the GUI with MingW. (Cesar Romani) 8479Solution: Add type casts. (Yasuhiro Matsumoto) 8480Files: src/edit.c, src/gui_w32.c, src/gui_w48.c, src/os_mswin.c, 8481 src/os_win32.c 8482 8483Patch 7.4.1340 (after 7.4.1339) 8484Problem: Merge left extra #endif behind. 8485Solution: Remove the #endif 8486Files: src/os_win32.c 8487 8488Patch 7.4.1341 8489Problem: It's difficult to add more arguments to ch_sendraw() and 8490 ch_sendexpr(). 8491Solution: Make the third option a dictionary. 8492Files: src/eval.c, src/structs.h, src/channel.c, src/os_unix.c, 8493 src/os_win32.c, src/proto/channel.pro, 8494 src/testdir/test_channel.vim, runtime/doc/eval.txt 8495 8496Patch 7.4.1342 8497Problem: On Mac OS/X the waittime must be > 0 for connect to work. 8498Solution: Use select() in a different way. (partly by Kazunobu Kuriyama) 8499 Always use a waittime of 1 or more. 8500Files: src/eval.c, src/channel.c, src/testdir/test_channel.vim 8501 8502Patch 7.4.1343 8503Problem: Can't compile with +job but without +channel. (Andrei Olsen) 8504Solution: Move get_job_options up and adjust #ifdef. 8505Files: src/eval.c 8506 8507Patch 7.4.1344 8508Problem: Can't compile Win32 GUI with tiny features. 8509Solution: Add #ifdef. (Christian Brabandt) 8510Files: src/gui_w32.c 8511 8512Patch 7.4.1345 8513Problem: A few more compiler warnings. (Axel Bender) 8514Solution: Add type casts. 8515Files: src/gui_w32.c, src/gui_w48.c 8516 8517Patch 7.4.1346 8518Problem: Compiler warnings in build with -O2. 8519Solution: Add initializations. 8520Files: src/eval.c 8521 8522Patch 7.4.1347 8523Problem: When there is any error Vim will use a non-zero exit code. 8524Solution: When using ":silent!" do not set the exit code. (Yasuhiro 8525 Matsumoto) 8526Files: src/message.c 8527 8528Patch 7.4.1348 8529Problem: More compiler warnings. (John Marriott) 8530Solution: Add type casts, remove unused variable. 8531Files: src/gui_w32.c 8532 8533Patch 7.4.1349 8534Problem: And some more MingW compiler warnings. (Cesar Romani) 8535Solution: Add type casts. 8536Files: src/if_mzsch.c 8537 8538Patch 7.4.1350 8539Problem: When the test server fails to start Vim hangs. 8540Solution: Check that there is actually something to read from the tty fd. 8541Files: src/os_unix.c 8542 8543Patch 7.4.1351 8544Problem: When the port isn't opened yet when ch_open() is called it may 8545 fail instead of waiting for the specified time. 8546Solution: Loop when select() succeeds but when connect() failed. Also use 8547 channel logging for jobs. Add ch_log(). 8548Files: src/channel.c, src/eval.c, src/netbeans.c, src/proto/channel.pro, 8549 src/testdir/test_channel.vim, src/testdir/test_channel.py 8550 8551Patch 7.4.1352 8552Problem: The test script lists all functions before executing them. 8553Solution: Only list the function currently being executed. 8554Files: src/testdir/runtest.vim 8555 8556Patch 7.4.1353 8557Problem: Test_connect_waittime is skipped for MS-Windows. 8558Solution: Add the test back, it works now. 8559Files: src/testdir/test_channel.vim 8560 8561Patch 7.4.1354 8562Problem: MS-Windows: Mismatch between default compile options and what the 8563 code expects. 8564Solution: Change the default WINVER from 0x0500 to 0x0501. (Ken Takata) 8565Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 8566 8567Patch 7.4.1355 8568Problem: Win32 console and GUI handle channels differently. 8569Solution: Consolidate code between Win32 console and GUI. 8570Files: src/channel.c, src/eval.c, src/gui_w48.c, src/os_win32.c, 8571 src/proto/channel.pro 8572 8573Patch 7.4.1356 8574Problem: Job and channel options parsing is scattered. 8575Solution: Move all option value parsing to get_job_options(); 8576Files: src/channel.c, src/eval.c, src/structs.h, src/proto/channel.pro, 8577 src/testdir/test_channel.vim 8578 8579Patch 7.4.1357 (after 7.4.1356) 8580Problem: Error for returning value from void function. 8581Solution: Don't do that. 8582Files: src/eval.c 8583 8584Patch 7.4.1358 8585Problem: Compiler warning when not building with +crypt. 8586Solution: Add #ifdef. (John Marriott) 8587Files: src/undo.c 8588 8589Patch 7.4.1359 (after 7.4.1356) 8590Problem: Channel test ch_sendexpr() times out. 8591Solution: Increase the timeout 8592Files: src/testdir/test_channel.vim 8593 8594Patch 7.4.1360 8595Problem: Can't remove a callback with ch_setoptions(). 8596Solution: When passing zero or an empty string remove the callback. 8597Files: src/channel.c, src/proto/channel.pro, src/testdir/test_channel.vim 8598 8599Patch 7.4.1361 8600Problem: Channel test fails on Solaris. 8601Solution: Use the 1 msec waittime for all systems. 8602Files: src/channel.c 8603 8604Patch 7.4.1362 (after 7.4.1356) 8605Problem: Using uninitialized value. 8606Solution: Initialize jo_set. 8607Files: src/eval.c 8608 8609Patch 7.4.1363 8610Problem: Compiler warnings with tiny build. 8611Solution: Add #ifdefs. 8612Files: src/gui_w48.c, src/gui_w32.c 8613 8614Patch 7.4.1364 8615Problem: The Win 16 code is not maintained and unused. 8616Solution: Remove the Win 16 support. 8617Files: src/gui_w16.c, src/gui_w32.c, src/gui_w48.c, src/Make_w16.mak, 8618 src/Makefile, src/Make_cyg_ming.mak, src/Make_mvc.mak, 8619 src/proto/gui_w16.pro, src/proto/os_win16.pro, src/guiw16rc.h, 8620 src/vim16.rc, src/vim16.def, src/tools16.bmp, src/eval.c, 8621 src/gui.c, src/misc2.c, src/option.c, src/os_msdos.c, 8622 src/os_mswin.c, src/os_win16.c, src/os_win16.h, src/version.c, 8623 src/winclip.c, src/feature.h, src/proto.h, src/vim.h, Filelist 8624 8625Patch 7.4.1365 8626Problem: Cannot execute a single test function. 8627Solution: Add an argument to filter the functions with. (Yasuhiro Matsumoto) 8628Files: src/testdir/runtest.vim 8629 8630Patch 7.4.1366 8631Problem: Typo in test and resulting error in test result. 8632Solution: Fix the typo and correct the result. (James McCoy, closes #650) 8633Files: src/testdir/test_charsearch.in, src/testdir/test_charsearch.ok 8634 8635Patch 7.4.1367 8636Problem: Compiler warning for unreachable code. 8637Solution: Remove a "break". (Danek Duvall) 8638Files: src/json.c 8639 8640Patch 7.4.1368 8641Problem: One more Win16 file remains. 8642Solution: Delete it. 8643Files: src/proto/os_win16.pro 8644 8645Patch 7.4.1369 8646Problem: Channels don't have a queue for stderr. 8647Solution: Have a queue for each part of the channel. 8648Files: src/channel.c, src/eval.c, src/structs.h, src/netbeans.c, 8649 src/gui_w32.c, src/proto/channel.pro 8650 8651Patch 7.4.1370 8652Problem: The Python test script may keep on running. 8653Solution: Join the threads. (Yasuhiro Matsumoto) 8654Files: src/testdir/test_channel.py 8655 8656Patch 7.4.1371 8657Problem: X11 GUI callbacks don't specify the part of the channel. 8658Solution: Pass the fd instead of the channel ID. 8659Files: src/channel.c 8660 8661Patch 7.4.1372 8662Problem: channel read implementation is incomplete. 8663Solution: Add ch_read() and options for ch_readraw(). 8664Files: src/channel.c, src/eval.c, src/structs.h, src/proto/channel.pro, 8665 src/testdir/test_channel.vim 8666 8667Patch 7.4.1373 8668Problem: Calling a Vim function over a channel requires turning the 8669 arguments into a string. 8670Solution: Add the "call" command. (Damien) Also merge "expr" and "eval" 8671 into one. 8672Files: src/channel.c, src/testdir/test_channel.py, 8673 src/testdir/test_channel.vim 8674 8675Patch 7.4.1374 8676Problem: Channel test hangs on MS-Windows. 8677Solution: Disable the ch_read() that is supposed to time out. 8678Files: src/testdir/test_channel.vim 8679 8680Patch 7.4.1375 8681Problem: Still some Win16 code. 8682Solution: Remove FEAT_GUI_W16.(Hirohito Higashi) 8683Files: src/eval.c, src/ex_cmds.h, src/feature.h, src/gui.h, src/menu.c, 8684 src/misc1.c, src/option.c, src/proto.h, src/structs.h, src/term.c, 8685 src/vim.h, runtime/doc/gui_w16.txt 8686 8687Patch 7.4.1376 8688Problem: ch_setoptions() cannot set all options. 8689Solution: Support more options. 8690Files: src/channel.c, src/eval.c, src/structs.h, runtime/doc/channel.txt, 8691 src/testdir/test_channel.vim 8692 8693Patch 7.4.1377 8694Problem: Test_connect_waittime() is flaky. 8695Solution: Ignore the "Connection reset by peer" error. 8696Files: src/testdir/test_channel.vim 8697 8698Patch 7.4.1378 8699Problem: Can't change job settings after it started. 8700Solution: Add job_setoptions() with the "stoponexit" flag. 8701Files: src/eval.c, src/main.c, src/structs.h, src/proto/eval.pro, 8702 src/testdir/test_channel.vim 8703 8704Patch 7.4.1379 8705Problem: Channel test fails on Win32 console. 8706Solution: Don't sleep when timeout is zero. Call channel_wait() before 8707 channel_read(). Channels are not polled during ":sleep". (Yukihiro 8708 Nakadaira) 8709Files: src/channel.c, src/misc2.c, src/gui_w32.c, src/os_win32.c 8710 8711Patch 7.4.1380 8712Problem: The job exit callback is not implemented. 8713Solution: Add the "exit-cb" option. 8714Files: src/structs.h, src/eval.c, src/channel.c, src/proto/eval.pro, 8715 src/misc2.c, src/macros.h, src/testdir/test_channel.vim 8716 8717Patch 7.4.1381 (after 7.4.1380) 8718Problem: Exit value not available on MS-Windows. 8719Solution: Set the exit value. 8720Files: src/structs.h, src/os_win32.c 8721 8722Patch 7.4.1382 8723Problem: Can't get the job of a channel. 8724Solution: Add ch_getjob(). 8725Files: src/eval.c, runtime/doc/channel.txt, runtime/doc/eval.txt 8726 8727Patch 7.4.1383 8728Problem: GvimExt only loads the old libintl.dll. 8729Solution: Also try loading libint-8.dll. (Ken Takata, closes #608) 8730Files: src/GvimExt/gvimext.cpp, src/GvimExt/gvimext.h 8731 8732Patch 7.4.1384 8733Problem: It is not easy to use a set of plugins and their dependencies. 8734Solution: Add packages, ":loadplugin", 'packpath'. 8735Files: src/main.c, src/ex_cmds2.c, src/option.c, src/option.h, 8736 src/ex_cmds.h, src/eval.c, src/version.c, src/proto/ex_cmds2.pro, 8737 runtime/doc/repeat.txt, runtime/doc/options.txt, 8738 runtime/optwin.vim 8739 8740Patch 7.4.1385 8741Problem: Compiler warning for using array. 8742Solution: Use the right member name. (Yegappan Lakshmanan) 8743Files: src/eval.c 8744 8745Patch 7.4.1386 8746Problem: When the Job exit callback is invoked, the job may be freed too 8747 soon. (Yasuhiro Matsumoto) 8748Solution: Increase refcount. 8749Files: src/eval.c 8750 8751Patch 7.4.1387 8752Problem: Win16 docs still referenced. 8753Solution: Remove Win16 files from the docs Makefile. (Kenichi Ito) 8754Files: runtime/doc/Makefile 8755 8756Patch 7.4.1388 8757Problem: Compiler warning. (Cesar Romani) 8758Solution: Initialize variable. 8759Files: src/ex_cmds2.c 8760 8761Patch 7.4.1389 8762Problem: Incomplete function declaration. 8763Solution: Add "void". (Yasuhiro Matsumoto) 8764Files: src/eval.c 8765 8766Patch 7.4.1390 8767Problem: When building with GTK and glib-compile-resources cannot be found 8768 building Vim fails. (Michael Gehring) 8769Solution: Make GLIB_COMPILE_RESOURCES empty instead of leaving it at "no". 8770 (nuko8, closes #655) 8771Files: src/configure.in, src/auto/configure 8772 8773Patch 7.4.1391 8774Problem: Warning for uninitialized variable. 8775Solution: Set it to zero. (Christian Brabandt) 8776Files: src/eval.c 8777 8778Patch 7.4.1392 8779Problem: Some tests fail for Win32 console version. 8780Solution: Move the tests to SCRIPTS_MORE2. Pass VIMRUNTIME. (Christian 8781 Brabandt) 8782Files: src/testdir/Make_all.mak 8783 8784Patch 7.4.1393 8785Problem: Starting a job hangs in the GUI. (Takuya Fujiwara) 8786Solution: Don't check if ch_job is NULL when checking for an error. 8787 (Yasuhiro Matsumoto) 8788Files: src/channel.c 8789 8790Patch 7.4.1394 8791Problem: Can't sort inside a sort function. 8792Solution: Use a struct to store the sort parameters. (Jacob Niehus) 8793Files: src/eval.c, src/testdir/test_sort.vim 8794 8795Patch 7.4.1395 8796Problem: Using DETACH in quotes is not compatible with the Netbeans 8797 interface. (Xavier de Gaye) 8798Solution: Remove the quotes, only use them for JSON and JS mode. 8799Files: src/netbeans.c, src/channel.c 8800 8801Patch 7.4.1396 8802Problem: Compiler warnings for conversions. 8803Solution: Add type cast. 8804Files: src/ex_cmds2.c 8805 8806Patch 7.4.1397 8807Problem: Sort test fails on MS-Windows. 8808Solution: Correct the compare function. 8809Files: src/testdir/test_sort.vim 8810 8811Patch 7.4.1398 8812Problem: The close-cb option is not implemented yet. 8813Solution: Implement close-cb. (Yasuhiro Matsumoto) 8814Files: src/channel.c, src/eval.c, src/structs.h, src/proto/channel.pro, 8815 src/testdir/test_channel.py, src/testdir/test_channel.vim 8816 8817Patch 7.4.1399 8818Problem: The MS-DOS code does not build. 8819Solution: Remove the old MS-DOS code. 8820Files: Filelist, src/Make_bc3.mak, src/Make_bc5.mak, src/Make_djg.mak, 8821 src/Makefile, src/blowfish.c, src/buffer.c, src/diff.c, 8822 src/digraph.c, src/dosinst.h, src/eval.c, src/ex_cmds.c, 8823 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/feature.h, 8824 src/fileio.c, src/getchar.c, src/globals.h, src/macros.h, 8825 src/main.c, src/mbyte.c, src/memfile.c, src/memline.c, 8826 src/misc1.c, src/misc2.c, src/netbeans.c, src/option.c, 8827 src/option.h, src/os_msdos.c, src/os_msdos.h, src/proto.h, 8828 src/proto/os_msdos.pro, src/regexp.c, src/screen.c, src/structs.h, 8829 src/syntax.c, src/term.c, src/undo.c, src/uninstal.c, 8830 src/version.c, src/vim.h, src/window.c, src/xxd/Make_bc3.mak, 8831 src/xxd/Make_djg.mak 8832 8833 8834Patch 7.4.1400 8835Problem: Perl eval doesn't work properly on 64-bit big-endian machine. 8836Solution: Use 32 bit type for the key. (Danek Duvall) 8837Files: src/if_perl.xs 8838 8839Patch 7.4.1401 8840Problem: Having 'autochdir' set during startup and using diff mode doesn't 8841 work. (Axel Bender) 8842Solution: Don't use 'autochdir' while still starting up. (Christian 8843 Brabandt) 8844Files: src/buffer.c 8845 8846Patch 7.4.1402 8847Problem: GTK 3 is not supported. 8848Solution: Add GTK 3 support. (Kazunobu Kuriyama) 8849Files: runtime/doc/eval.txt, runtime/doc/gui.txt, 8850 runtime/doc/gui_x11.txt, src/auto/configure, src/channel.c, 8851 src/config.h.in, src/configure.in, src/eval.c, src/gui.h, 8852 src/gui_beval.c, src/gui_beval.h, src/gui_gtk.c, src/gui_gtk_f.c, 8853 src/gui_gtk_f.h, src/gui_gtk_x11.c, src/if_mzsch.c, src/mbyte.c, 8854 src/netbeans.c, src/structs.h, src/version.c 8855 8856Patch 7.4.1403 8857Problem: Can't build without the quickfix feature. 8858Solution: Add #ifdefs. Call ex_ni() for unimplemented commands. (Yegappan 8859 Lakshmanan) 8860Files: src/ex_cmds2.c, src/popupmnu.c 8861 8862Patch 7.4.1404 8863Problem: ch_read() doesn't time out on MS-Windows. 8864Solution: Instead of WM_NETBEANS use select(). (Yukihiro Nakadaira) 8865Files: src/channel.c, src/gui_w32.c, src/os_win32.c, src/structs.h, 8866 src/testdir/test_channel.vim, src/vim.h 8867 8868Patch 7.4.1405 8869Problem: Completion menu flickers. 8870Solution: Delay showing the popup menu. (Shougo Matsu, Justin M. Keyes, 8871 closes #656) 8872Files: src/edit.c 8873 8874Patch 7.4.1406 8875Problem: Leaking memory in cs_print_tags_priv(). 8876Solution: Free tbuf. (idea by Forrest Fleming) 8877Files: src/if_cscope.c 8878 8879Patch 7.4.1407 8880Problem: json_encode() does not handle NaN and inf properly. (David 8881 Barnett) 8882Solution: For JSON turn them into "null". For JS use "NaN" and "Infinity". 8883 Add isnan(). 8884Files: src/eval.c, src/json.c, src/testdir/test_json.vim 8885 8886Patch 7.4.1408 8887Problem: MS-Windows doesn't have isnan() and isinf(). 8888Solution: Use _isnan() and _isinf(). 8889Files: src/eval.c, src/json.c 8890 8891Patch 7.4.1409 (after 7.4.1402) 8892Problem: Configure includes GUI despite --disable-gui flag. 8893Solution: Add SKIP_GTK3. (Kazunobu Kuriyama) 8894Files: src/configure.in, src/auto/configure 8895 8896Patch 7.4.1410 8897Problem: Leaking memory in cscope interface. 8898Solution: Free memory when no tab is found. (Christian Brabandt) 8899Files: src/if_cscope.c 8900 8901Patch 7.4.1411 8902Problem: Compiler warning for indent. (Ajit Thakkar) 8903Solution: Indent normally. 8904Files: src/ui.c 8905 8906Patch 7.4.1412 8907Problem: Compiler warning for indent. (Dominique Pelle) 8908Solution: Fix the indent. 8909Files: src/farsi.c 8910 8911Patch 7.4.1413 8912Problem: When calling ch_close() the close callback is invoked, even though 8913 the docs say it isn't. (Christian J. Robinson) 8914Solution: Don't call the close callback. 8915Files: src/eval.c, src/channel.c, src/netbeans.c, src/proto/channel.pro 8916 8917Patch 7.4.1414 8918Problem: Appveyor only builds one feature set. 8919Solution: Build a combination of features and GUI/console. (Christian 8920 Brabandt) 8921Files: appveyor.yml, src/appveyor.bat 8922 8923Patch 7.4.1415 (after 7.4.1414) 8924Problem: Dropped the skip-tags setting. 8925Solution: Put it back. 8926Files: appveyor.yml 8927 8928Patch 7.4.1416 8929Problem: Using "u_char" instead of "char_u", which doesn't work everywhere. 8930 (Jörg Plate) 8931Solution: Use "char_u" always. 8932Files: src/integration.c, src/macros.h 8933 8934Patch 7.4.1417 (after 7.4.1414) 8935Problem: Missing appveyor.bat from the distribution. 8936Solution: Add it to the list of files. 8937Files: Filelist 8938 8939Patch 7.4.1418 8940Problem: job_stop() on MS-Windows does not really stop the job. 8941Solution: Make the default to stop the job forcefully. (Ken Takata) 8942 Make MS-Windows and Unix more similar. 8943Files: src/os_win32.c, src/os_unix.c, runtime/doc/eval.txt 8944 8945Patch 7.4.1419 8946Problem: Tests slowed down because of the "not a terminal" warning. 8947Solution: Add the --not-a-term command line argument. 8948Files: src/main.c, src/testdir/Makefile, src/Make_all.mak, 8949 src/Make_amiga.mak, src/testdir/Make_dos.mak, 8950 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms, 8951 runtime/doc/starting.txt 8952 8953Patch 7.4.1420 (after 7.4.1419) 8954Problem: Missing makefile. 8955Solution: Type the path correctly. 8956Files: src/testdir/Make_all.mak 8957 8958Patch 7.4.1421 8959Problem: May free a channel when a callback may need to be invoked. 8960Solution: Keep the channel when refcount is zero. 8961Files: src/eval.c, src/channel.c, src/proto/channel.pro 8962 8963Patch 7.4.1422 8964Problem: Error when reading fails uses wrong errno. Keeping channel open 8965 after job stops results in test failing. 8966Solution: Move the error up. Add ch_job_killed. 8967Files: src/channel.c, src/eval.c, src/structs.h 8968 8969Patch 7.4.1423 8970Problem: Channel test fails on MS-Windows. 8971Solution: Do not give an error message when reading fails, assume the other 8972 end exited. 8973Files: src/channel.c 8974 8975Patch 7.4.1424 8976Problem: Not using --not-a-term when running tests on MS-Windows. 8977Solution: Use NO_PLUGIN. (Christian Brabandt) 8978Files: src/testdir/Make_dos.mak 8979 8980Patch 7.4.1425 8981Problem: There are still references to MS-DOS support. 8982Solution: Remove most of the help txt and install instructions. (Ken Takata) 8983Files: src/INSTALLpc.txt, runtime/doc/os_msdos.txt, csdpmi4b.zip, 8984 Filelist 8985 8986Patch 7.4.1426 8987Problem: The "out-io" option for jobs is not implemented yet. 8988Solution: Implement the "buffer" value: append job output to a buffer. 8989Files: src/eval.c, src/channel.c, src/structs.h, src/netbeans.c, 8990 runtime/doc/channel.txt 8991 8992Patch 7.4.1427 8993Problem: Trailing comma in enums is not ANSI C. 8994Solution: Remove the trailing commas. 8995Files: src/alloc.h, src/gui_mac.c 8996 8997Patch 7.4.1428 8998Problem: Compiler warning for non-virtual destructor. 8999Solution: Make it virtual. (Yasuhiro Matsumoto) 9000Files: src/gui_dwrite.cpp 9001 9002Patch 7.4.1429 9003Problem: On MS-Windows, when not use renderoptions=type:directx, drawing 9004 emoji will be broken. 9005Solution: Fix usage of unicodepdy. (Yasuhiro Matsumoto) 9006Files: src/gui_w32.c 9007 9008Patch 7.4.1430 9009Problem: When encoding JSON, turning NaN and Infinity into null without 9010 giving an error is not useful. 9011Solution: Pass NaN and Infinity on. If the receiver can't handle them it 9012 will generate the error. 9013Files: src/json.c, src/testdir/test_json.vim, runtime/doc/eval.txt 9014 9015Patch 7.4.1431 9016Problem: Including header files twice. 9017Solution: Remove the extra includes. 9018Files: src/if_cscope.h 9019 9020Patch 7.4.1432 9021Problem: Typo in button text. 9022Solution: Fix the typo. (Dominique Pelle) 9023Files: src/gui_gtk.c 9024 9025Patch 7.4.1433 9026Problem: The Sniff interface is no longer useful, the tool has not been 9027 available for may years. 9028Solution: Delete the Sniff interface and related code. 9029Files: src/if_sniff.c, src/if_sniff.h, src/charset.c, src/edit.c, 9030 src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, 9031 src/gui_gtk_x11.c, src/gui_w32.c, src/gui_x11.c, src/normal.c, 9032 src/os_unix.c, src/os_win32.c, src/term.c, src/ui.c, 9033 src/version.c, src/ex_cmds.h, src/feature.h, src/keymap.h, 9034 src/structs.h, src/vim.h, src/Make_mvc.mak, src/Make_vms.mms, 9035 src/Makefile, src/configure.in, src/auto/configure, 9036 src/config.h.in, src/config.mk.in, runtime/doc/if_sniff.txt, 9037 src/config.aap.in, src/main.aap 9038 9039Patch 7.4.1434 9040Problem: JSON encoding doesn't handle surrogate pair. 9041Solution: Improve multi-byte handling of JSON. (Yasuhiro Matsumoto) 9042Files: src/json.c, src/testdir/test_json.vim 9043 9044Patch 7.4.1435 9045Problem: It is confusing that ch_sendexpr() and ch_sendraw() wait for a 9046 response. 9047Solution: Add ch_evalexpr() and ch_evalraw(). 9048Files: src/eval.c, runtime/doc/channel.txt, runtime/doc/eval.txt, 9049 src/testdir/test_channel.vim 9050 9051Patch 7.4.1436 (after 7.4.1433) 9052Problem: Sniff files still referenced in distribution. 9053Solution: Remove sniff files from distribution. 9054Files: Filelist 9055 9056Patch 7.4.1437 9057Problem: Old system doesn't have isinf() and NAN. (Ben Fritz) 9058Solution: Adjust #ifdefs. Detect isnan() and isinf() functions with 9059 configure. Use a replacement when missing. (Kazunobu Kuriyama) 9060Files: src/eval.c, src/json.c, src/macros.h, src/message.c, 9061 src/config.h.in, src/configure.in, src/auto/configure 9062 9063Patch 7.4.1438 9064Problem: Can't get buffer number of a channel. 9065Solution: Add ch_getbufnr(). 9066Files: src/eval.c, src/channel.c, src/testdir/test_channel.vim, 9067 runtime/doc/channel.txt, runtime/doc/eval.txt 9068 9069Patch 7.4.1439 (after 7.4.1434) 9070Problem: Using uninitialized variable. 9071Solution: Initialize vc_type. 9072Files: src/json.c 9073 9074Patch 7.4.1440 (after 7.4.1437) 9075Problem: Can't build on Windows. 9076Solution: Change #ifdefs. Only define isnan when used. 9077Files: src/macros.h, src/eval.c, src/json.c 9078 9079Patch 7.4.1441 9080Problem: Using empty name instead of no name for channel buffer. 9081Solution: Remove the empty name. 9082Files: src/channel.c 9083 9084Patch 7.4.1442 9085Problem: MS-Windows: more compilation warnings for destructor. 9086Solution: Add "virtual". (Ken Takata) 9087Files: src/if_ole.cpp 9088 9089Patch 7.4.1443 9090Problem: Can't build GTK3 with small features. 9091Solution: Use gtk_widget_get_window(). Fix typos. (Dominique Pelle) 9092Files: src/gui_gtk_x11.c 9093 9094Patch 7.4.1444 9095Problem: Can't build with JSON but without multi-byte. 9096Solution: Fix pointer name. 9097Files: src/json.c 9098 9099Patch 7.4.1445 9100Problem: Memory corruption when 'encoding' is not utf-8. 9101Solution: Convert decoded string later. 9102Files: src/json.c 9103 9104Patch 7.4.1446 9105Problem: Crash when using json_decode(). 9106Solution: Terminate string with a NUL byte. 9107Files: src/json.c 9108 9109Patch 7.4.1447 9110Problem: Memory leak when using ch_read(). (Dominique Pelle) 9111 No log message when stopping a job and a few other situations. 9112 Too many "Nothing to read" messages. Channels are not freed. 9113Solution: Free the listtv. Add more log messages. Remove "Nothing to read" 9114 message. Remove the channel from the job when its refcount 9115 becomes zero. 9116Files: src/eval.c, src/channel.c 9117 9118Patch 7.4.1448 9119Problem: JSON tests fail if 'encoding' is not utf-8. 9120Solution: Force encoding to utf-8. 9121Files: src/testdir/test_json.vim 9122 9123Patch 7.4.1449 9124Problem: Build fails with job feature but without channel feature. 9125Solution: Add #ifdef. 9126Files: src/eval.c 9127 9128Patch 7.4.1450 9129Problem: Json encoding still fails when encoding is not utf-8. 9130Solution: Set 'encoding' before :scriptencoding. Run the json test 9131 separately to avoid affecting other tests. 9132Files: src/testdir/test_json.vim, src/testdir/Make_all.mak, 9133 src/testdir/test_alot.vim 9134 9135Patch 7.4.1451 9136Problem: Vim hangs when a channel has a callback but isn't referenced. 9137Solution: Have channel_unref() only return TRUE when the channel was 9138 actually freed. 9139Files: src/eval.c, src/channel.c, src/proto/channel.pro 9140 9141Patch 7.4.1452 9142Problem: When a callback adds a syntax item either the redraw doesn't 9143 happen right away or in the GUI the cursor is in the wrong 9144 position for a moment. (Jakson Alves de Aquino) 9145Solution: Redraw after the callback was invoked. 9146Files: src/channel.c 9147 9148Patch 7.4.1453 9149Problem: Missing --not-a-term. 9150Solution: Add the argument. 9151Files: src/testdir/Make_amiga.mak 9152 9153Patch 7.4.1454 9154Problem: The exit callback test is flaky. 9155Solution: Loop to wait for a short time up to a second. 9156Files: src/testdir/test_channel.vim 9157 9158Patch 7.4.1455 9159Problem: JSON decoding test for surrogate pairs is in the wrong place. 9160Solution: Move the test lines. (Ken Takata) 9161Files: src/testdir/test_json.vim 9162 9163Patch 7.4.1456 9164Problem: Test 87 fails with Python 3.5. 9165Solution: Work around difference. (Taro Muraoka) 9166Files: src/testdir/test87.in 9167 9168Patch 7.4.1457 9169Problem: Opening a channel with select() is not done properly. 9170Solution: Also used read-fds. Use getsockopt() to check for errors. (Ozaki 9171 Kiichi) 9172Files: src/channel.c 9173 9174Patch 7.4.1458 9175Problem: When a JSON channel has a callback it may never be cleared. 9176Solution: Do not write "DETACH" into a JS or JSON channel. 9177Files: src/channel.c 9178 9179Patch 7.4.1459 (after 7.4.1457) 9180Problem: MS-Windows doesn't know socklen_t. 9181Solution: Use previous method for WIN32. 9182Files: src/channel.c 9183 9184Patch 7.4.1460 9185Problem: Syntax error in rarely used code. 9186Solution: Fix the mch_rename() declaration. (Ken Takata) 9187Files: src/os_unix.c, src/proto/os_unix.pro 9188 9189Patch 7.4.1461 9190Problem: When starting job on MS-Windows all parts of the command are put 9191 in quotes. 9192Solution: Only use quotes when needed. (Yasuhiro Matsumoto) 9193Files: src/eval.c 9194 9195Patch 7.4.1462 9196Problem: Two more rarely used functions with errors. 9197Solution: Add proper argument types. (Dominique Pelle) 9198Files: src/misc2.c, src/termlib.c 9199 9200Patch 7.4.1463 9201Problem: Configure doesn't find isinf() and isnan() on some systems. 9202Solution: Use a configure check that includes math.h. 9203Files: src/configure.in, src/auto/configure 9204 9205Patch 7.4.1464 9206Problem: When the argument of sort() is zero or empty it fails. 9207Solution: Make zero work as documented. (suggested by Yasuhiro Matsumoto) 9208Files: src/eval.c, src/testdir/test_sort.vim 9209 9210Patch 7.4.1465 9211Problem: Coverity reported possible use of NULL pointer when using buffer 9212 output with JSON mode. 9213Solution: Make it actually possible to use JSON mode with a buffer. 9214 Re-encode the JSON to append it to the buffer. 9215Files: src/channel.c, src/testdir/test_channel.vim 9216 9217Patch 7.4.1466 9218Problem: Coverity reports dead code. 9219Solution: Remove the two lines. 9220Files: src/channel.c 9221 9222Patch 7.4.1467 9223Problem: Can't build without the float feature. 9224Solution: Add #ifdefs. (Nick Owens, closes #667) 9225Files: src/eval.c, src/json.c 9226 9227Patch 7.4.1468 9228Problem: Sort test doesn't test with "1" argument. 9229Solution: Also test ignore-case sorting. (Yasuhiro Matsumoto) 9230Files: src/testdir/test_sort.vim 9231 9232Patch 7.4.1469 9233Problem: Channel test sometimes fails, especially on OS/X. (Kazunobu 9234 Kuriyama) 9235Solution: Change the && into ||, call getsockopt() in more situations. 9236 (Ozaki Kiichi) 9237Files: src/channel.c 9238 9239Patch 7.4.1470 9240Problem: Coverity reports missing restore. 9241Solution: Move json_encode() call up. 9242Files: src/channel.c 9243 9244Patch 7.4.1471 9245Problem: Missing out-of-memory check. And Coverity warning. 9246Solution: Bail out when msg is NULL. 9247Files: src/channel.c 9248 9249Patch 7.4.1472 9250Problem: Coverity warning for not using return value. 9251Solution: Add "(void)". 9252Files: src/os_unix.c 9253 9254Patch 7.4.1473 9255Problem: Can't build without the autocommand feature. 9256Solution: Add #ifdefs. (Yegappan Lakshmanan) 9257Files: src/edit.c, src/main.c, src/syntax.c 9258 9259Patch 7.4.1474 9260Problem: Compiler warnings without the float feature. 9261Solution: Move #ifdefs. (John Marriott) 9262Files: src/eval.c 9263 9264Patch 7.4.1475 9265Problem: When using hangulinput with utf-8 a CSI character is 9266 misinterpreted. 9267Solution: Convert CSI to K_CSI. (SungHyun Nam) 9268Files: src/ui.c 9269 9270Patch 7.4.1476 9271Problem: Function arguments marked as unused while they are not. 9272Solution: Remove UNUSED. (Yegappan Lakshmanan) 9273Files: src/diff.c, src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, 9274 src/window.c 9275 9276Patch 7.4.1477 9277Problem: Test_reltime is flaky, it depends on timing. 9278Solution: When it fails run it a second time. 9279Files: src/testdir/runtest.vim 9280 9281Patch 7.4.1478 9282Problem: ":loadplugin" doesn't take care of ftdetect files. 9283Solution: Also load ftdetect scripts when appropriate. 9284Files: src/ex_cmds2.c 9285 9286Patch 7.4.1479 9287Problem: No testfor ":loadplugin". 9288Solution: Add a test. Fix how option is being set. 9289Files: src/ex_cmds2.c, src/testdir/test_loadplugin.vim, 9290 src/testdir/Make_all.mak 9291 9292Patch 7.4.1480 9293Problem: Cannot add a pack directory without loading a plugin. 9294Solution: Add the :packadd command. 9295Files: src/ex_cmds.h, src/ex_cmds2.c, src/proto/ex_cmds2.pro, 9296 src/testdir/test_loadplugin.vim, runtime/doc/repeat.txt 9297 9298Patch 7.4.1481 9299Problem: Can't build with small features. 9300Solution: Add #ifdef. 9301Files: src/ex_cmds2.c 9302 9303Patch 7.4.1482 9304Problem: "timeout" option not supported on ch_eval*(). 9305Solution: Get and use the timeout option from the argument. 9306Files: src/eval.c, src/testdir/test_channel.vim 9307 9308Patch 7.4.1483 9309Problem: A one-time callback is not used for a raw channel. 9310Solution: Use a one-time callback when it exists. 9311Files: src/channel.c, src/testdir/test_channel.vim, 9312 src/testdir/test_channel.py 9313 9314Patch 7.4.1484 9315Problem: Channel "err-io" value "out" is not supported. 9316Solution: Connect stderr to stdout if wanted. 9317Files: src/os_unix.c, src/os_win32.c, src/testdir/test_channel.vim, 9318 src/testdir/test_channel_pipe.py 9319 9320Patch 7.4.1485 9321Problem: Job input from buffer is not implemented. 9322Solution: Implement it. Add "in-top" and "in-bot" options. 9323Files: src/structs.h, src/eval.c, src/channel.c, src/proto/channel.pro, 9324 src/os_unix.c, src/os_win32.c, src/testdir/test_channel.vim 9325 9326Patch 7.4.1486 9327Problem: ":loadplugin" is not optimal, some people find it confusing. 9328Solution: Only use ":packadd" with an optional "!". 9329Files: src/ex_cmds.h, src/ex_cmds2.c, src/testdir/test_loadplugin.vim, 9330 src/testdir/test_packadd.vim, src/testdir/Make_all.mak, 9331 runtime/doc/repeat.txt 9332 9333Patch 7.4.1487 9334Problem: For WIN32 isinf() is defined as a macro. 9335Solution: Define it as an inline function. (ZyX) 9336Files: src/macros.h 9337 9338Patch 7.4.1488 (after 7.4.1475) 9339Problem: Not using key when result from hangul_string_convert() is NULL. 9340Solution: Fall back to not converted string. 9341Files: src/ui.c 9342 9343Patch 7.4.1489 (after 7.4.1487) 9344Problem: "inline" is not supported by old MSVC. 9345Solution: use "__inline". (Ken Takata) 9346Files: src/macros.h 9347 9348Patch 7.4.1490 9349Problem: Compiler warning for unused function. 9350Solution: Add #ifdef. (Dominique Pelle) 9351Files: src/gui_gtk_x11.c 9352 9353Patch 7.4.1491 9354Problem: Visual-block shift breaks multi-byte characters. 9355Solution: Compute column differently. (Yasuhiro Matsumoto) Add a test. 9356Files: src/ops.c, src/testdir/test_visual.vim, src/testdir/Make_all.mak 9357 9358Patch 7.4.1492 9359Problem: No command line completion for ":packadd". 9360Solution: Implement completion. (Hirohito Higashi) 9361Files: src/ex_docmd.c, src/ex_getln.c, src/testdir/test_packadd.vim, 9362 src/vim.h 9363 9364Patch 7.4.1493 9365Problem: Wrong callback invoked for zero-id messages. 9366Solution: Don't use the first one-time callback when the sequence number 9367 doesn't match. 9368Files: src/channel.c, src/testdir/test_channel.vim, 9369 src/testdir/test_channel.py 9370 9371Patch 7.4.1494 9372Problem: clr_history() does not work properly. 9373Solution: Increment hisptr. Add a test. (Yegappan Lakshmanan) 9374Files: src/ex_getln.c, src/testdir/test_history.vim, 9375 src/testdir/Make_all.mak 9376 9377Patch 7.4.1495 9378Problem: Compiler warnings when building on Unix with the job feature but 9379 without the channel feature. 9380Solution: Move #ifdefs. (Dominique Pelle) 9381Files: src/os_unix.c 9382 9383Patch 7.4.1496 9384Problem: Crash when built with GUI but it's not active. (Dominique Pelle) 9385Solution: Check gui.in_use. 9386Files: src/channel.c 9387 9388Patch 7.4.1497 9389Problem: Cursor drawing problem with GTK 3. 9390Solution: Handle blinking differently. (Kazunobu Kuriyama) 9391Files: src/gui_gtk_x11.c 9392 9393Patch 7.4.1498 9394Problem: Error for locked item when using json_decode(). (Shougo Matsu) 9395Solution: Initialize v_lock. 9396Files: src/json.c 9397 9398Patch 7.4.1499 9399Problem: No error message when :packadd does not find anything. 9400Solution: Add an error message. (Hirohito Higashi) 9401Files: runtime/doc/repeat.txt, src/ex_cmds.h, src/ex_cmds2.c, 9402 src/globals.h, src/testdir/test_packadd.vim 9403 9404Patch 7.4.1500 9405Problem: Should_free flag set to FALSE. 9406Solution: Set it to TRUE. (Neovim 4415) 9407Files: src/ex_eval.c 9408 9409Patch 7.4.1501 9410Problem: Garbage collection with an open channel is not tested. 9411Solution: Call garbagecollect() in the test. 9412Files: src/testdir/test_channel.vim 9413 9414Patch 7.4.1502 9415Problem: Writing last-but-one line of buffer to a channel isn't implemented 9416 yet. 9417Solution: Implement it. Fix leaving a swap file behind. 9418Files: src/channel.c, src/structs.h, src/memline.c, src/proto/channel.pro 9419 9420Patch 7.4.1503 9421Problem: Crash when using ch_getjob(). (Damien) 9422Solution: Check for a NULL job. 9423Files: src/eval.c, src/testdir/test_channel.vim 9424 9425Patch 7.4.1504 (after 7.4.1502) 9426Problem: No test for reading last-but-one line. 9427Solution: Add a test. 9428Files: src/testdir/test_channel.vim 9429 9430Patch 7.4.1505 9431Problem: When channel log is enabled get too many "looking for messages" 9432 log entries. 9433Solution: Only give the message after another message. 9434Files: src/channel.c 9435 9436Patch 7.4.1506 9437Problem: Job cannot read from a file. 9438Solution: Implement reading from a file for Unix. 9439Files: src/eval.c, src/os_unix.c, src/os_win32.c, 9440 src/testdir/test_channel.vim 9441 9442Patch 7.4.1507 9443Problem: Crash when starting a job fails. 9444Solution: Check for the channel to be NULL. (idea by Yasuhiro Matsumoto) 9445Files: src/eval.c 9446 9447Patch 7.4.1508 9448Problem: Can't build GvimExt with MingW. 9449Solution: Adjust the makefile. (Ben Fritz) 9450Files: src/GvimExt/Make_ming.mak 9451 9452Patch 7.4.1509 9453Problem: Keeping both a variable for a job and the channel it refers to is 9454 a hassle. 9455Solution: Allow passing the job where a channel is expected. (Damien) 9456Files: src/eval.c, src/testdir/test_channel.vim 9457 9458Patch 7.4.1510 9459Problem: Channel test fails on AppVeyor. 9460Solution: Wait longer than 10 msec if needed. 9461Files: src/testdir/test_channel.vim 9462 9463Patch 7.4.1511 9464Problem: Statusline highlighting is sometimes wrong. 9465Solution: Check for Highlight type. (Christian Brabandt) 9466Files: src/buffer.c 9467 9468Patch 7.4.1512 9469Problem: Channel input from file not supported on MS-Windows. 9470Solution: Implement it. (Yasuhiro Matsumoto) 9471Files: src/os_win32.c, src/testdir/test_channel.vim 9472 9473Patch 7.4.1513 9474Problem: "J" fails if there are not enough lines. (Christian Neukirchen) 9475Solution: Reduce the count, only fail on the last line. 9476Files: src/normal.c, src/testdir/test_join.vim, src/testdir/test_alot.vim 9477 9478Patch 7.4.1514 9479Problem: Channel output to file not implemented yet. 9480Solution: Implement it for Unix. 9481Files: src/os_unix.c, src/testdir/test_channel.vim, 9482 src/testdir/test_channel_pipe.py 9483 9484Patch 7.4.1515 9485Problem: Channel test is a bit flaky. 9486Solution: Instead of a fixed sleep time wait until an expression evaluates 9487 to true. 9488Files: src/testdir/test_channel.vim 9489 9490Patch 7.4.1516 9491Problem: Cannot change file permissions. 9492Solution: Add setfperm(). 9493Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_alot.vim, 9494 src/testdir/test_file_perm.vim 9495 9496Patch 7.4.1517 9497Problem: Compiler warning with 64bit compiler. 9498Solution: Add typecast. (Mike Williams) 9499Files: src/channel.c 9500 9501Patch 7.4.1518 9502Problem: Channel with disconnected in/out/err is not supported. 9503Solution: Implement it for Unix. 9504Files: src/eval.c, src/os_unix.c, src/structs.h, 9505 src/testdir/test_channel.vim, src/testdir/test_channel_pipe.py 9506 9507Patch 7.4.1519 (after 7.4.1514) 9508Problem: Channel output to file not implemented for MS-Windows. 9509Solution: Implement it. (Yasuhiro Matsumoto) 9510Files: src/os_win32.c, src/testdir/test_channel.vim 9511 9512Patch 7.4.1520 9513Problem: Channel test: Waiting for a file to appear doesn't work. 9514Solution: In waitFor() ignore errors. 9515Files: src/testdir/test_channel.vim 9516 9517Patch 7.4.1521 (after 7.4.1516) 9518Problem: File permission test fails on MS-Windows. 9519Solution: Expect a different permission. 9520Files: src/testdir/test_file_perm.vim 9521 9522Patch 7.4.1522 9523Problem: Cannot write channel err to a buffer. 9524Solution: Implement it. 9525Files: src/channel.c, src/testdir/test_channel.vim 9526 9527Patch 7.4.1523 9528Problem: Writing channel to a file fails on MS-Windows. 9529Solution: Disable it for now. 9530Files: src/testdir/test_channel.vim 9531 9532Patch 7.4.1524 9533Problem: Channel test fails on BSD. 9534Solution: Break out of the loop when connect() succeeds. (Ozaki Kiichi) 9535Files: src/channel.c 9536 9537Patch 7.4.1525 9538Problem: On a high resolution screen the toolbar icons are too small. 9539Solution: Add "huge" and "giant" to 'toolbariconsize'. (Brian Gix) 9540Files: src/gui_gtk_x11.c, src/option.h 9541 9542Patch 7.4.1526 9543Problem: Writing to file and not connecting a channel doesn't work for 9544 MS-Windows. 9545Solution: Make it work. (Yasuhiro Matsumoto) 9546Files: src/os_win32.c, src/testdir/test_channel.vim 9547 9548Patch 7.4.1527 9549Problem: Channel test is flaky on MS-Windows. 9550Solution: Limit the select() timeout to 50 msec and try with a new socket if 9551 it fails. 9552Files: src/channel.c 9553 9554Patch 7.4.1528 9555Problem: Using "ever" for packages is confusing. 9556Solution: Use "start", as it's related to startup. 9557Files: src/ex_cmds2.c, runtime/doc/repeat.txt 9558 9559Patch 7.4.1529 9560Problem: Specifying buffer number for channel not implemented yet. 9561Solution: Implement passing a buffer number. 9562Files: src/structs.h, src/channel.c, src/eval.c, 9563 src/testdir/test_channel.vim 9564 9565Patch 7.4.1530 9566Problem: MS-Windows job_start() closes wrong handle. 9567Solution: Close hThread on the process info. (Ken Takata) 9568Files: src/os_win32.c 9569 9570Patch 7.4.1531 9571Problem: Compiler warning for uninitialized variable. (Dominique Pelle) 9572Solution: Always give the variable a value. 9573Files: src/channel.c 9574 9575Patch 7.4.1532 9576Problem: MS-Windows channel leaks file descriptor. 9577Solution: Use CreateFile with the right options. (Yasuhiro Matsumoto) 9578Files: src/os_win32.c 9579 9580Patch 7.4.1533 9581Problem: Using feedkeys() with an empty string disregards 'x' option. 9582Solution: Make 'x' work with an empty string. (Thinca) 9583Files: src/eval.c, src/testdir/test_alot.vim, 9584 src/testdir/test_feedkeys.vim 9585 9586Patch 7.4.1534 9587Problem: Compiler warning for shadowed variable. (Kazunobu Kuriyama) 9588Solution: Rename it. 9589Files: src/eval.c 9590 9591Patch 7.4.1535 9592Problem: The feedkeys test has a one second delay. 9593Solution: Avoid need_wait_return() to delay. (Hirohito Higashi) 9594Files: src/eval.c 9595 9596Patch 7.4.1536 9597Problem: Cannot re-use a channel for another job. 9598Solution: Add the "channel" option to job_start(). 9599Files: src/channel.c, src/eval.c, src/structs.h, src/os_unix.c, 9600 src/os_win32.c, src/proto/channel.pro, 9601 src/testdir/test_channel.vim 9602 9603Patch 7.4.1537 9604Problem: Too many feature flags for pipes, jobs and channels. 9605Solution: Only use FEAT_JOB_CHANNEL. 9606Files: src/structs.h, src/feature.h, src/configure.in, 9607 src/auto/configure, src/config.h.in, src/channel.c, src/eval.c, 9608 src/gui.c, src/main.c, src/memline.c, src/misc2.c, src/os_mswin.c, 9609 src/os_unix.c, src/os_win32.c, src/ui.c, src/version.c, 9610 src/macros.h, src/proto.h, src/vim.h, src/Make_cyg_ming.mak, 9611 src/Make_bc5.mak, src/Make_mvc.mak 9612 9613Patch 7.4.1538 9614Problem: Selection with the mouse does not work in command line mode. 9615Solution: Use cairo functions. (Kazunobu Kuriyama) 9616Files: src/gui_gtk_x11.c 9617 9618Patch 7.4.1539 9619Problem: Too much code in eval.c. 9620Solution: Move job and channel code to channel.c. 9621Files: src/eval.c, src/channel.c, src/proto/channel.pro, 9622 src/proto/eval.pro 9623 9624Patch 7.4.1540 9625Problem: Channel test is a bit flaky. 9626Solution: Increase expected wait time. 9627Files: src/testdir/test_channel.vim 9628 9629Patch 7.4.1541 9630Problem: Missing job_info(). 9631Solution: Implement it. 9632Files: src/eval.c, src/channel.c, src/proto/channel.pro, 9633 src/testdir/test_channel.vim, runtime/doc/eval.txt 9634 9635Patch 7.4.1542 9636Problem: job_start() with a list is not tested. 9637Solution: Call job_start() with a list. 9638Files: src/testdir/test_channel.vim 9639 9640Patch 7.4.1543 9641Problem: Channel log methods are not tested. 9642Solution: Log job activity and check it. 9643Files: src/testdir/test_channel.vim 9644 9645Patch 7.4.1544 9646Problem: On Win32 escaping the command does not work properly. 9647Solution: Reset 'ssl' when escaping the command. (Yasuhiro Matsumoto) 9648Files: src/channel.c 9649 9650Patch 7.4.1545 9651Problem: GTK3: horizontal cursor movement in Visual selection not good. 9652Solution: Make it work better. (Kazunobu Kuriyama) 9653Files: src/gui_gtk_x11.c 9654 9655Patch 7.4.1546 9656Problem: Sticky type checking is more annoying than useful. 9657Solution: Remove the error for changing a variable type. 9658Files: src/eval.c, src/testdir/test_assign.vim, 9659 src/testdir/test_alot.vim, runtime/doc/eval.txt 9660 9661Patch 7.4.1547 9662Problem: Getting a cterm highlight attribute that is not set results in the 9663 string "-1". 9664Solution: Return an empty string. (Taro Muraoka) 9665Files: src/syntax.c, src/testdir/test_alot.vim, 9666 src/testdir/test_syn_attr.vim 9667 9668Patch 7.4.1548 (after 7.4.1546) 9669Problem: Two tests fail. 9670Solution: Adjust the expected error number. Remove check for type. 9671Files: src/testdir/test101.ok, src/testdir/test55.in, 9672 src/testdir/test55.ok 9673 9674Patch 7.4.1549 (after 7.4.1547) 9675Problem: Test for syntax attributes fails in Win32 GUI. 9676Solution: Use an existing font name. 9677Files: src/testdir/test_syn_attr.vim 9678 9679Patch 7.4.1550 9680Problem: Cannot load packages early. 9681Solution: Add the ":packloadall" command. 9682Files: src/ex_cmds.h, src/ex_cmds2.c, src/main.c, 9683 src/proto/ex_cmds2.pro, src/testdir/test_packadd.vim 9684 9685Patch 7.4.1551 9686Problem: Cannot generate help tags in all doc directories. 9687Solution: Make ":helptags ALL" work. 9688Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/ex_cmds.c, src/vim.h 9689 src/testdir/test_packadd.vim 9690 9691Patch 7.4.1552 9692Problem: ":colorscheme" does not use 'packpath'. 9693Solution: Also use in "start" and "opt" directories in 'packpath'. 9694Files: src/ex_cmds2.c, src/gui.c, src/hardcopy.c, src/os_mswin.c, 9695 src/spell.c, src/tag.c, src/if_py_both.h, src/vim.h, 9696 src/digraph.c, src/eval.c, src/ex_docmd.c, src/main.c, 9697 src/option.c, src/syntax.c, src/testdir/test_packadd.vim 9698 9699Patch 7.4.1553 9700Problem: ":runtime" does not use 'packpath'. 9701Solution: Add "what" argument. 9702Files: src/ex_cmds2.c, src/vim.h, runtime/doc/repeat.txt, 9703 src/testdir/test_packadd.vim 9704 9705Patch 7.4.1554 9706Problem: Completion for :colorscheme does not use 'packpath'. 9707Solution: Make it work, add a test. (Hirohito Higashi) 9708Files: src/ex_getln.c, src/testdir/test_packadd.vim 9709 9710Patch 7.4.1555 9711Problem: List of test targets incomplete. 9712Solution: Add newly added tests. 9713Files: src/Makefile 9714 9715Patch 7.4.1556 9716Problem: "make install" changes the help tags file, causing it to differ 9717 from the repository. 9718Solution: Move it aside and restore it. 9719Files: src/Makefile 9720 9721Patch 7.4.1557 9722Problem: Windows cannot be identified. 9723Solution: Add a unique window number to each window and functions to use it. 9724Files: src/structs.h, src/window.c, src/eval.c, src/proto/eval.pro, 9725 src/proto/window.pro, src/testdir/test_window_id.vim, 9726 src/testdir/Make_all.mak, runtime/doc/eval.txt 9727 9728Patch 7.4.1558 9729Problem: It is not easy to find out what windows display a buffer. 9730Solution: Add win_findbuf(). 9731Files: src/eval.c, src/window.c, src/proto/window.pro, 9732 src/testdir/test_window_id.vim, runtime/doc/eval.txt 9733 9734Patch 7.4.1559 9735Problem: Passing cookie to a callback is clumsy. 9736Solution: Change function() to take arguments and return a partial. 9737Files: src/structs.h, src/channel.c, src/eval.c, src/if_python.c, 9738 src/if_python3.c, src/if_py_both.h, src/json.c, 9739 src/proto/eval.pro, src/testdir/test_partial.vim, 9740 src/testdir/test_alot.vim, runtime/doc/eval.txt 9741 9742Patch 7.4.1560 9743Problem: Dict options with a dash are more difficult to use. 9744Solution: Use an underscore, so that dict.err_io can be used. 9745Files: src/channel.c, src/structs.h, src/testdir/test_channel.vim, 9746 runtime/doc/channel.txt 9747 9748Patch 7.4.1561 (after 7.4.1559) 9749Problem: Missing update to proto file. 9750Solution: Change the proto file. 9751Files: src/proto/channel.pro 9752 9753Patch 7.4.1562 9754Problem: ":helptags ALL" crashes. (Lcd) 9755Solution: Don't free twice. 9756Files: src/ex_cmds.c 9757 9758Patch 7.4.1563 9759Problem: Partial test fails on windows. 9760Solution: Return 1 or -1 from compare function. 9761Files: src/testdir/test_partial.vim 9762 9763Patch 7.4.1564 9764Problem: An empty list in function() causes an error. 9765Solution: Handle an empty list like there is no list of arguments. 9766Files: src/eval.c, src/testdir/test_partial.vim 9767 9768Patch 7.4.1565 9769Problem: Crash when assert_equal() runs into a NULL string. 9770Solution: Check for NULL. (Dominique) Add a test. 9771Files: src/eval.c, src/testdir/test_assert.vim 9772 9773Patch 7.4.1566 9774Problem: Compiler warning for shadowed variable. (Kazunobu Kuriyama) 9775Solution: Remove the inner one. 9776Files: src/eval.c 9777 9778Patch 7.4.1567 9779Problem: Crash in assert_fails(). 9780Solution: Check for NULL. (Dominique Pelle) Add a test. 9781Files: src/eval.c, src/testdir/test_assert.vim 9782 9783Patch 7.4.1568 9784Problem: Using CTRL-] in help on option in parentheses doesn't work. 9785Solution: Skip the "(" in "('". (Hirohito Higashi) 9786Files: src/ex_cmds.c 9787 9788Patch 7.4.1569 9789Problem: Using old style tests for quickfix. 9790Solution: Change them to new style tests. (Yegappan Lakshmanan) 9791Files: src/testdir/Make_all.mak, src/testdir/test106.in, 9792 src/testdir/test106.ok, src/testdir/test_qf_title.in, 9793 src/testdir/test_qf_title.ok, src/testdir/test_quickfix.vim 9794 9795Patch 7.4.1570 9796Problem: There is no way to avoid the message when editing a file. 9797Solution: Add the "F" flag to 'shortmess'. (Shougo Matsu, closes #686) 9798Files: runtime/doc/options.txt, src/buffer.c, src/ex_cmds.c, 9799 src/option.h 9800 9801Patch 7.4.1571 9802Problem: No test for ":help". 9803Solution: Add a test for what 7.4.1568 fixed. (Hirohito Higashi) 9804Files: src/testdir/test_alot.vim, src/testdir/test_help_tagjump.vim 9805 9806Patch 7.4.1572 9807Problem: Setting 'compatible' in test influences following tests. 9808Solution: Turn 'compatible' off again. 9809Files: src/testdir/test_backspace_opt.vim 9810 9811Patch 7.4.1573 9812Problem: Tests get stuck at the more prompt. 9813Solution: Move the backspace test out of test_alot. 9814Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak 9815 9816Patch 7.4.1574 9817Problem: ":undo 0" does not work. (Florent Fayolle) 9818Solution: Make it undo all the way. (closes #688) 9819Files: src/undo.c, src/testdir/test_undolevels.vim, 9820 src/testdir/test_ex_undo.vim, src/testdir/test_alot.vim 9821 9822Patch 7.4.1575 9823Problem: Using wrong size for struct. 9824Solution: Use the size for wide API. (Ken Takata) 9825Files: src/gui_w32.c 9826 9827Patch 7.4.1576 9828Problem: Write error of viminfo file is not handled properly. (Christian 9829 Neukirchen) 9830Solution: Check the return value of fclose(). (closes #682) 9831Files: src/ex_cmds.c 9832 9833Patch 7.4.1577 9834Problem: Cannot pass "dict.Myfunc" around as a partial. 9835Solution: Create a partial when expected. 9836Files: src/eval.c, src/testdir/test_partial.vim 9837 9838Patch 7.4.1578 9839Problem: There is no way to invoke a function later or periodically. 9840Solution: Add timer support. 9841Files: src/eval.c, src/ex_cmds2.c, src/screen.c, src/ex_docmd.c, 9842 src/feature.h, src/gui.c, src/proto/eval.pro, 9843 src/proto/ex_cmds2.pro, src/proto/screen.pro, src/structs.h, 9844 src/version.c, src/testdir/test_alot.vim, 9845 src/testdir/test_timers.vim, runtime/doc/eval.txt 9846 9847Patch 7.4.1579 (after 7.4.1578) 9848Problem: Missing changes in channel.c 9849Solution: Include the changes. 9850Files: src/channel.c 9851 9852Patch 7.4.1580 9853Problem: Crash when using function reference. (Luchr) 9854Solution: Set initial refcount. (Ken Takata, closes #690) 9855Files: src/eval.c, src/testdir/test_partial.vim 9856 9857Patch 7.4.1581 9858Problem: Using ":call dict.func()" where the function is a partial does 9859 not work. Using "dict.func()" where the function does not take a 9860 Dictionary does not work. 9861Solution: Handle partial properly in ":call". (Yasuhiro Matsumoto) 9862Files: src/eval.c, src/testdir/test_partial.vim, src/testdir/test55.ok 9863 9864Patch 7.4.1582 9865Problem: Get E923 when using function(dict.func, [], dict). (Kent Sibilev) 9866 Storing a function with a dict in a variable drops the dict if the 9867 function is script-local. 9868Solution: Translate the function name. Use dict arg if present. 9869Files: src/eval.c, src/testdir/test_partial.vim 9870 9871Patch 7.4.1583 9872Problem: Warning for uninitialized variable. 9873Solution: Initialize it. (Dominique) 9874Files: src/ex_cmds2.c 9875 9876Patch 7.4.1584 9877Problem: Timers don't work for Win32 console. 9878Solution: Add check_due_timer() in WaitForChar(). 9879Files: src/os_win32.c 9880 9881Patch 7.4.1585 9882Problem: Partial is not recognized everywhere. 9883Solution: Check for partial in trans_function_name(). (Yasuhiro Matsumoto) 9884 Add a test. 9885Files: src/eval.c, src/testdir/test_partial.vim 9886 9887Patch 7.4.1586 9888Problem: Nesting partials doesn't work. 9889Solution: Append arguments. (Ken Takata) 9890Files: src/eval.c, src/testdir/test_partial.vim 9891 9892Patch 7.4.1587 9893Problem: Compiler warnings with 64 bit compiler. 9894Solution: Add type casts. (Mike Williams) 9895Files: src/ex_cmds2.c 9896 9897Patch 7.4.1588 9898Problem: Old style test for quickfix. 9899Solution: Turn test 96 into a new style test. 9900Files: src/testdir/Make_all.mak, src/testdir/test96.in, 9901 src/testdir/test96.ok, src/testdir/test_quickfix.vim 9902 9903Patch 7.4.1589 9904Problem: Combining dict and args with partial doesn't always work. 9905Solution: Use the arguments from the partial. 9906Files: src/eval.c, src/testdir/test_partial.vim 9907 9908Patch 7.4.1590 9909Problem: Warning for shadowed variable. (Christian Brabandt) 9910Solution: Move the variable into a local block. 9911Files: src/eval.c 9912 9913Patch 7.4.1591 9914Problem: The quickfix title is truncated. 9915Solution: Save the command before it is truncated. (Anton Lindqvist) 9916Files: src/quickfix.c, src/testdir/test_quickfix.vim 9917 9918Patch 7.4.1592 9919Problem: Quickfix code using memory after being freed. (Dominique Pelle) 9920Solution: Detect that the window was closed. (Hirohito Higashi) 9921Files: src/quickfix.c, src/testdir/test_quickfix.vim 9922 9923Patch 7.4.1593 9924Problem: Using channel timeout instead of request timeout. (Coverity) 9925Solution: Remove the extra assignment. 9926Files: src/channel.c 9927 9928Patch 7.4.1594 9929Problem: Timers don't work on Unix. 9930Solution: Add missing code. 9931Files: src/os_unix.c 9932 9933Patch 7.4.1595 9934Problem: Not checking for failed open(). (Coverity) 9935Solution: Check file descriptor not being negative. 9936Files: src/os_unix.c 9937 9938Patch 7.4.1596 9939Problem: Memory leak. (Coverity) 9940Solution: Free the pattern. 9941Files: src/ex_cmds2.c 9942 9943Patch 7.4.1597 9944Problem: Memory leak when out of memory. (Coverity) 9945Solution: Free the name. 9946Files: src/eval.c 9947 9948Patch 7.4.1598 9949Problem: When starting the GUI fails a swap file is left behind. (Joerg 9950 Plate) 9951Solution: Preserve files before exiting. (closes #692) 9952Files: src/main.c, src/gui.c 9953 9954Patch 7.4.1599 9955Problem: No link to Coverity. 9956Solution: Add Coverity badge in README. 9957Files: README.md 9958 9959Patch 7.4.1600 9960Problem: libs directory is not useful. 9961Solution: Remove arp.library, it was only for very old Amiga versions. 9962Files: libs/arp.library, Filelist 9963 9964Patch 7.4.1601 9965Problem: README files take a lot of space in the top directory. 9966Solution: Move most of them to "READMEdir". 9967Files: Filelist, Makefile, README.txt.info, README_ami.txt, 9968 README_ami.txt.info, README_amibin.txt, README_amibin.txt.info, 9969 README_amisrc.txt, README_amisrc.txt.info, README_bindos.txt, 9970 README_dos.txt, README_extra.txt, README_mac.txt, README_ole.txt, 9971 README_os2.txt, README_os390.txt, README_src.txt, 9972 README_srcdos.txt, README_unix.txt, README_vms.txt, 9973 README_w32s.txt, READMEdir/README.txt.info, 9974 READMEdir/README_ami.txt, READMEdir/README_ami.txt.info, 9975 READMEdir/README_amibin.txt, READMEdir/README_amibin.txt.info, 9976 READMEdir/README_amisrc.txt, READMEdir/README_amisrc.txt.info, 9977 READMEdir/README_bindos.txt, READMEdir/README_dos.txt, 9978 READMEdir/README_extra.txt, READMEdir/README_mac.txt, 9979 READMEdir/README_ole.txt, READMEdir/README_os2.txt, 9980 READMEdir/README_os390.txt, READMEdir/README_src.txt, 9981 READMEdir/README_srcdos.txt, READMEdir/README_unix.txt, 9982 READMEdir/README_vms.txt, READMEdir/README_w32s.txt, 9983 9984Patch 7.4.1602 9985Problem: Info files take space in the top directory. 9986Solution: Move them to "READMEdir". 9987Files: Filelist, src.info, Contents.info, runtime.info, vimdir.info, 9988 Vim.info, Xxd.info, READMEdir/src.info, READMEdir/Contents.info, 9989 READMEdir/runtime.info, READMEdir/vimdir.info, READMEdir/Vim.info, 9990 READMEdir/Xxd.info 9991 9992Patch 7.4.1603 9993Problem: Timer with an ":echo" command messes up display. 9994Solution: Redraw depending on the mode. (Hirohito Higashi) Avoid the more 9995 prompt being used recursively. 9996Files: src/screen.c, src/message.c 9997 9998Patch 7.4.1604 9999Problem: Although emoji characters are ambiguous width, best is to treat 10000 them as full width. 10001Solution: Update the Unicode character tables. Add the 'emoji' options. 10002 (Yasuhiro Matsumoto) 10003Files: runtime/doc/options.txt, runtime/optwin.vim, 10004 runtime/tools/unicode.vim, src/mbyte.c, src/option.c, src/option.h 10005 10006Patch 7.4.1605 10007Problem: Catching exception that won't be thrown. 10008Solution: Remove try/catch. 10009Files: src/testdir/test55.in 10010 10011Patch 7.4.1606 10012Problem: Having type() handle a Funcref that is or isn't a partial 10013 differently causes problems for existing scripts. 10014Solution: Make type() return the same value. (Thinca) 10015Files: src/eval.c, src/testdir/test_viml.vim 10016 10017Patch 7.4.1607 10018Problem: Comparing a function that exists on two dicts is not backwards 10019 compatible. (Thinca) 10020Solution: Only compare the function, not what the partial adds. 10021Files: src/eval.c, src/testdir/test_alot.vim, src/testdir/test_expr.vim 10022 10023Patch 7.4.1608 10024Problem: string() doesn't handle a partial. 10025Solution: Make a string from a partial. 10026Files: src/eval.c, src/testdir/test_partial.vim 10027 10028Patch 7.4.1609 10029Problem: Contents file is only for Amiga distro. 10030Solution: Move it to "READMEdir". Update some info. 10031Files: Filelist, Contents, READMEdir/Contents 10032 10033Patch 7.4.1610 10034Problem: Compiler warnings for non-virtual destructor. 10035Solution: Mark the classes final. (Ken Takata) 10036Files: src/Make_cyg_ming.mak, src/gui_dwrite.cpp, src/if_ole.cpp 10037 10038Patch 7.4.1611 10039Problem: The versplit feature makes the code unnecessary complicated. 10040Solution: Remove FEAT_VERTSPLIT, always support vertical splits when 10041 FEAT_WINDOWS is defined. 10042Files: src/buffer.c, src/charset.c, src/eval.c, src/ex_cmds.c, 10043 src/ex_docmd.c, src/ex_getln.c, src/gui.c, src/if_lua.c, 10044 src/if_mzsch.c, src/if_ruby.c, src/main.c, src/misc1.c, 10045 src/misc2.c, src/move.c, src/normal.c, src/option.c, 10046 src/quickfix.c, src/screen.c, src/syntax.c, src/term.c, src/ui.c, 10047 src/window.c, src/globals.h, src/gui.h, src/if_py_both.h, 10048 src/option.h, src/structs.h, src/term.h 10049 src/feature.h, src/vim.h, src/version.c 10050 10051Patch 7.4.1612 (after 7.4.1611) 10052Problem: Can't build with small features. 10053Solution: Move code and #ifdefs. 10054Files: src/ex_getln.c 10055 10056Patch 7.4.1613 (after 7.4.1612) 10057Problem: Still can't build with small features. 10058Solution: Adjust #ifdefs. 10059Files: src/ex_getln.c 10060 10061Patch 7.4.1614 10062Problem: Still quickfix test in old style. 10063Solution: Turn test 10 into a new style test. 10064Files: src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 10065 src/testdir/main.aap, src/testdir/test10.in, 10066 src/testdir/test10.ok, src/testdir/test_quickfix.vim, 10067 src/testdir/test10a.in, src/testdir/test10a.ok 10068 10069Patch 7.4.1615 10070Problem: Build fails with tiny features. 10071Solution: Adjust #ifdefs. 10072Files: src/normal.c, src/window.c 10073 10074Patch 7.4.1616 10075Problem: Malformed channel request causes a hang. 10076Solution: Drop malformed message. (Damien) 10077Files: src/channel.c, src/testdir/test_channel.vim, 10078 src/testdir/test_channel.py 10079 10080Patch 7.4.1617 10081Problem: When a JSON message is split it isn't decoded. 10082Solution: Wait a short time for the rest of the message to arrive. 10083Files: src/channel.c, src/json.c, src/structs.h, 10084 src/testdir/test_channel.vim, src/testdir/test_channel.py 10085 10086Patch 7.4.1618 10087Problem: Starting job with output to buffer changes options in the current 10088 buffer. 10089Solution: Set "curbuf" earlier. (Yasuhiro Matsumoto) 10090Files: src/channel.c 10091 10092Patch 7.4.1619 10093Problem: When 'fileformats' is set in the vimrc it applies to new buffers 10094 but not the initial buffer. 10095Solution: Set 'fileformat' when starting up. (Mike Williams) 10096Files: src/option.c 10097 10098Patch 7.4.1620 10099Problem: Emoji characters are not considered as a kind of word character. 10100Solution: Give emoji characters a word class number. (Yasuhiro Matsumoto) 10101Files: src/mbyte.c 10102 10103Patch 7.4.1621 10104Problem: Channel test doesn't work with Python 2.6. 10105Solution: Add number in formatting placeholder. (Wiredool) 10106Files: src/testdir/test_channel.py 10107 10108Patch 7.4.1622 10109Problem: Channel demo doesn't work with Python 2.6. 10110Solution: Add number in formatting placeholder 10111Files: runtime/tools/demoserver.py 10112 10113Patch 7.4.1623 10114Problem: All Channels share the message ID, it keeps getting bigger. 10115Solution: Use a message ID per channel. 10116Files: src/channel.c, src/proto/channel.pro, src/structs.h 10117 10118Patch 7.4.1624 10119Problem: Can't get info about a channel. 10120Solution: Add ch_info(). 10121Files: src/eval.c, src/channel.c, src/proto/channel.pro, 10122 src/testdir/test_channel.vim, runtime/doc/eval.txt 10123 10124Patch 7.4.1625 10125Problem: Trying to close file descriptor that isn't open. 10126Solution: Check for negative number. 10127Files: src/os_unix.c 10128 10129Patch 7.4.1626 (after 7.4.1624) 10130Problem: Missing changes to structs. 10131Solution: Include the changes. 10132Files: src/structs.h 10133 10134Patch 7.4.1627 10135Problem: Channel out_cb and err_cb are not tested. 10136Solution: Add a test. 10137Files: src/testdir/test_channel.vim 10138 10139Patch 7.4.1628 10140Problem: 64-bit Compiler warning. 10141Solution: Change type of variable. (Mike Williams) 10142Files: src/channel.c 10143 10144Patch 7.4.1629 10145Problem: Handling emoji characters as full width has problems with 10146 backwards compatibility. 10147Solution: Remove ambiguous and double width characters from the emoji table. 10148 Use a separate table for the character class. 10149 (partly by Yasuhiro Matsumoto) 10150Files: runtime/tools/unicode.vim, src/mbyte.c 10151 10152Patch 7.4.1630 10153Problem: Unicode table for double width is outdated. 10154Solution: Update to the latest Unicode standard. 10155Files: src/mbyte.c 10156 10157Patch 7.4.1631 10158Problem: Compiler doesn't understand switch on all enum values. (Tony 10159 Mechelynck) 10160Solution: Initialize variable. 10161Files: src/channel.c 10162 10163Patch 7.4.1632 10164Problem: List of test targets is outdated. 10165Solution: Update to current list of test targets. 10166Files: src/Makefile 10167 10168Patch 7.4.1633 10169Problem: If the help tags file was removed "make install" fails. (Tony 10170 Mechelynck) 10171Solution: Only try moving the file if it exists. 10172Files: src/Makefile 10173 10174Patch 7.4.1634 10175Problem: Vertical movement after CTRL-A ends up in the wrong column. 10176 (Urtica Dioica) 10177Solution: Set curswant when appropriate. (Hirohito Higashi) 10178Files: src/ops.c, src/testdir/test_increment.vim 10179 10180Patch 7.4.1635 10181Problem: Channel test is a bit flaky. 10182Solution: Remove 'DETACH' if it's there. 10183Files: src/testdir/test_channel.vim 10184 10185Patch 7.4.1636 10186Problem: When 'F' is in 'shortmess' the prompt for the encryption key isn't 10187 displayed. (Toothpik) 10188Solution: Reset msg_silent. 10189Files: src/ex_getln.c 10190 10191Patch 7.4.1637 10192Problem: Can't build with older MinGW compiler. 10193Solution: Change option from c++11 to gnu++11. (Ken Takata) 10194Files: src/Make_cyg_ming.mak 10195 10196Patch 7.4.1638 10197Problem: When binding a function to a dict the reference count is wrong. 10198Solution: Decrement dict reference count, only reference the function when 10199 actually making a copy. (Ken Takata) 10200Files: src/eval.c, src/testdir/test_partial.vim 10201 10202Patch 7.4.1639 10203Problem: Invoking garbage collection may cause a double free. 10204Solution: Don't free the dict in a partial when recursive is FALSE. 10205Files: src/eval.c 10206 10207Patch 7.4.1640 10208Problem: Crash when an autocommand changes a quickfix list. (Dominique) 10209Solution: Check whether an entry is still valid. (Yegappan Lakshmanan, 10210 Hirohito Higashi) 10211Files: src/quickfix.c, src/testdir/test_quickfix.vim 10212 10213Patch 7.4.1641 10214Problem: Using unterminated string. 10215Solution: Add NUL before calling vim_strsave_shellescape(). (James McCoy) 10216Files: src/eval.c, src/testdir/test105.in, src/testdir/test105.ok 10217 10218Patch 7.4.1642 10219Problem: Handling emoji characters as full width has problems with 10220 backwards compatibility. 10221Solution: Only put characters in the 1f000 range in the emoji table. 10222Files: runtime/tools/unicode.vim, src/mbyte.c 10223 10224Patch 7.4.1643 (after 7.4.1641) 10225Problem: Terminating file name has side effects. 10226Solution: Restore the character. (mostly by James McCoy, closes #713) 10227Files: src/eval.c, src/testdir/test105.in, src/testdir/test105.ok 10228 10229Patch 7.4.1644 10230Problem: Using string() on a partial that exists in the dictionary it binds 10231 results in an error. (Nikolai Pavlov) 10232Solution: Make string() not fail on a recursively nested structure. (Ken 10233 Takata) 10234Files: src/eval.c, src/testdir/test_partial.vim 10235 10236Patch 7.4.1645 10237Problem: When a dict contains a partial it can't be redefined as a 10238 function. (Nikolai Pavlov) 10239Solution: Remove the partial when overwriting with a function. 10240Files: src/eval.c, src/testdir/test_partial.vim 10241 10242Patch 7.4.1646 10243Problem: Using Python vim.bindeval() on a partial doesn't work. (Nikolai 10244 Pavlov) 10245Solution: Add VAR_PARTIAL support in Python. 10246Files: src/if_py_both.h, src/testdir/test_partial.vim 10247 10248Patch 7.4.1647 10249Problem: Using freed memory after setqflist() and ":caddbuffer". (Dominique) 10250Solution: Set qf_ptr when adding the first item to the quickfix list. 10251Files: src/quickfix.c, src/testdir/test_quickfix.vim 10252 10253Patch 7.4.1648 10254Problem: Compiler has a problem copying a string into di_key[]. (Yegappan 10255 Lakshmanan) 10256Solution: Add dictitem16_T. 10257Files: src/structs.h, src/eval.c 10258 10259Patch 7.4.1649 10260Problem: The matchit plugin needs to be copied to be used. 10261Solution: Put the matchit plugin in an optional package. 10262Files: Filelist, runtime/macros/matchit.vim, runtime/macros/matchit.txt, 10263 runtime/macros/README.txt, src/Makefile, 10264 runtime/pack/dist/opt/matchit/plugin/matchit.vim, 10265 runtime/pack/dist/opt/matchit/doc/matchit.txt, 10266 runtime/pack/dist/opt/matchit/doc/tags, 10267 runtime/doc/usr_05.txt, runtime/doc/usr_toc.txt 10268 10269Patch 7.4.1650 10270Problem: Quickfix test fails. 10271Solution: Accept any number of matches. 10272Files: src/testdir/test_quickfix.vim 10273 10274Patch 7.4.1651 10275Problem: Some dead (MSDOS) code remains. 10276Solution: Remove the unused lines. (Ken Takata) 10277Files: src/misc1.c 10278 10279Patch 7.4.1652 10280Problem: Old style test for fnamemodify(). 10281Solution: Turn it into a new style test. 10282Files: src/testdir/test105.in, src/testdir/test105.ok, 10283 src/testdir/test_fnamemodify.vim, src/testdir/test_alot.vim, 10284 src/testdir/Make_all.mak 10285 10286Patch 7.4.1653 (after 7.4.1649) 10287Problem: Users who loaded matchit.vim manually have to change their 10288 startup. (Gary Johnson) 10289Solution: Add a file in the old location that loads the package. 10290Files: runtime/macros/matchit.vim, Filelist 10291 10292Patch 7.4.1654 10293Problem: Crash when using expand('%:S') in a buffer without a name. 10294Solution: Don't set a NUL. (James McCoy, closes #714) 10295Files: src/eval.c, src/testdir/test_fnamemodify.vim 10296 10297Patch 7.4.1655 10298Problem: remote_expr() hangs. (Ramel) 10299Solution: Check for messages in the waiting loop. 10300Files: src/if_xcmdsrv.c 10301 10302Patch 7.4.1656 10303Problem: Crash when using partial with a timer. 10304Solution: Increment partial reference count. (Hirohito Higashi) 10305Files: src/eval.c, src/testdir/test_timers.vim 10306 10307Patch 7.4.1657 10308Problem: On Unix in a terminal: channel messages are not handled right away. 10309 (Jackson Alves de Aquino) 10310Solution: Break the loop for timers when something was received. 10311Files: src/os_unix.c 10312 10313Patch 7.4.1658 10314Problem: A plugin does not know when VimEnter autocommands were already 10315 triggered. 10316Solution: Add the v:vim_did_enter variable. 10317Files: src/eval.c, src/main.c, src/vim.h, src/testdir/test_autocmd.vim, 10318 src/testdir/test_alot.vim, runtime/doc/autocmd.txt, 10319 runtime/doc/eval.txt 10320 10321Patch 7.4.1659 (after 7.4.1657) 10322Problem: Compiler warning for argument type. (Manuel Ortega) 10323Solution: Remove "&". 10324Files: src/os_unix.c 10325 10326Patch 7.4.1660 10327Problem: has('patch-7.4.1') doesn't work. 10328Solution: Fix off-by-one error. (Thinca) 10329Files: src/eval.c, src/testdir/test_expr.vim, src/testdir/test60.in, 10330 src/testdir/test60.ok 10331 10332Patch 7.4.1661 10333Problem: No test for special characters in channel eval command. 10334Solution: Testing sending and receiving text with special characters. 10335Files: src/testdir/test_channel.vim, src/testdir/test_channel.py 10336 10337Patch 7.4.1662 10338Problem: No test for an invalid Ex command on a channel. 10339Solution: Test handling an invalid command gracefully. Avoid getting an 10340 error message, do write it to the channel log. 10341Files: src/channel.c, src/testdir/test_channel.vim, 10342 src/testdir/test_channel.py 10343 10344Patch 7.4.1663 10345Problem: In tests it's often useful to check if a pattern matches. 10346Solution: Add assert_match(). 10347Files: src/eval.c, src/testdir/test_assert.vim, 10348 src/testdir/test_channel.vim, runtime/doc/eval.txt 10349 10350Patch 7.4.1664 10351Problem: Crash in :cgetexpr. 10352Solution: Check for NULL pointer. (Dominique) Add a test. 10353Files: src/quickfix.c, src/testdir/test_quickfix.vim 10354 10355Patch 7.4.1665 10356Problem: Crash when calling job_start() with a NULL string. (Dominique) 10357Solution: Check for an invalid argument. 10358Files: src/channel.c, src/testdir/test_channel.vim 10359 10360Patch 7.4.1666 10361Problem: When reading JSON from a channel all readahead is used. 10362Solution: Use the fill function to reduce overhead. 10363Files: src/channel.c, src/json.c, src/structs.h 10364 10365Patch 7.4.1667 10366Problem: Win32: waiting on a pipe with fixed sleep time. 10367Solution: Start with a short delay and increase it when looping. 10368Files: src/channel.c 10369 10370Patch 7.4.1668 10371Problem: channel_get_all() does multiple allocations. 10372Solution: Compute the size and allocate once. 10373Files: src/channel.c 10374 10375Patch 7.4.1669 10376Problem: When writing buffer lines to a pipe Vim may block. 10377Solution: Avoid blocking, write more lines later. 10378Files: src/channel.c, src/misc2.c, src/os_unix.c, src/structs.h, 10379 src/vim.h, src/proto/channel.pro, src/testdir/test_channel.vim 10380 10381Patch 7.4.1670 10382Problem: Completion doesn't work well for a variable containing "#". 10383Solution: Recognize the "#". (Watiko) 10384Files: src/eval.c 10385 10386Patch 7.4.1671 10387Problem: When help exists in multiple languages, adding @ab while "ab" is 10388 the default help language is unnecessary. 10389Solution: Leave out "@ab" when not needed. (Ken Takata) 10390Files: src/ex_getln.c 10391 10392Patch 7.4.1672 10393Problem: The Dvorak support is a bit difficult to install. 10394Solution: Turn it into an optional package. 10395Files: runtime/macros/dvorak, runtime/macros/README.txt, 10396 runtime/pack/dist/opt/dvorak/plugin/dvorak.vim, 10397 runtime/pack/dist/opt/dvorak/dvorak/enable.vim, 10398 runtime/pack/dist/opt/dvorak/dvorak/disable.vim 10399 10400Patch 7.4.1673 10401Problem: The justify plugin has to be copied or sourced to be used. 10402Solution: Turn it into a package. 10403Files: runtime/macros/justify.vim, runtime/macros/README.txt, 10404 runtime/pack/dist/opt/justify/plugin/justify.vim, Filelist 10405 10406Patch 7.4.1674 10407Problem: The editexisting plugin has to be copied or sourced to be used. 10408Solution: Turn it into a package. 10409Files: runtime/macros/editexisting.vim, runtime/macros/README.txt, 10410 runtime/pack/dist/opt/editexisting/plugin/editexisting.vim, 10411 Filelist 10412 10413Patch 7.4.1675 10414Problem: The swapmous plugin has to be copied or sourced to be used. 10415Solution: Turn it into the swapmouse package. 10416Files: runtime/macros/swapmous.vim, runtime/macros/README.txt, 10417 runtime/pack/dist/opt/swapmouse/plugin/swapmouse.vim, Filelist 10418 10419Patch 7.4.1676 10420Problem: The shellmenu plugin has to be copied or sourced to be used. 10421Solution: Turn it into a package. 10422Files: runtime/macros/shellmenu.vim, runtime/macros/README.txt, 10423 runtime/pack/dist/opt/shellmenu/plugin/shellmenu.vim, Filelist 10424 10425Patch 7.4.1677 10426Problem: A reference to the removed file_select plugin remains. 10427Solution: Remove it. 10428Files: runtime/macros/README.txt 10429 10430Patch 7.4.1678 10431Problem: Warning for unused argument. 10432Solution: Add UNUSED. (Dominique Pelle) 10433Files: src/if_mzsch.c 10434 10435Patch 7.4.1679 10436Problem: Coverity: copying value of v_lock without initializing it. 10437Solution: Init v_lock in rettv_list_alloc() and rettv_dict_alloc(). 10438Files: src/eval.c 10439 10440Patch 7.4.1680 10441Problem: Coverity warns for not checking name length (false positive). 10442Solution: Only copy the characters we know are there. 10443Files: src/channel.c 10444 10445Patch 7.4.1681 10446Problem: Coverity warns for fixed size buffer length (false positive). 10447Solution: Add a check for the name length. 10448Files: src/eval.c 10449 10450Patch 7.4.1682 10451Problem: Coverity: no check for NULL. 10452Solution: Add check for invalid argument to assert_match(). 10453Files: src/eval.c 10454 10455Patch 7.4.1683 10456Problem: Generated .bat files do not support --nofork. 10457Solution: Add check for --nofork. Also add "setlocal". (Kevin Cantú, 10458 closes #659) 10459Files: src/dosinst.c 10460 10461Patch 7.4.1684 10462Problem: README text is slightly outdated. 10463Solution: Mention the READMEdir directory. 10464Files: README.md, README.txt 10465 10466Patch 7.4.1685 10467Problem: There is no easy way to get all the information about a match. 10468Solution: Add matchstrpos(). (Ozaki Kiichi) 10469Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/eval.c, 10470 src/testdir/test_alot.vim, src/testdir/test_matchstrpos.vim 10471 10472Patch 7.4.1686 10473Problem: When running tests $HOME/.viminfo is written. (James McCoy) 10474Solution: Add 'nviminfo' to the 'viminfo' option. (closes #722) 10475Files: src/testdir/test_backspace_opt.vim, src/testdir/test_viminfo.vim, 10476 src/testdir/runtest.vim. 10477 10478Patch 7.4.1687 10479Problem: The channel close_cb option does not work. 10480Solution: Use jo_close_partial instead of jo_err_partial. (Damien) 10481Files: src/channel.c, src/testdir/test_channel.vim 10482 10483Patch 7.4.1688 10484Problem: MzScheme does not support partial. 10485Solution: Add minimal partial support. (Ken Takata) 10486Files: src/if_mzsch.c 10487 10488Patch 7.4.1689 10489Problem: Ruby interface has inconsistent coding style. 10490Solution: Fix the coding style. (Ken Takata) 10491Files: src/if_ruby.c 10492 10493Patch 7.4.1690 10494Problem: Can't compile with the conceal feature but without multi-byte. 10495Solution: Adjust #ifdef. (Owen Leibman) 10496Files: src/eval.c, src/window.c 10497 10498Patch 7.4.1691 10499Problem: When switching to a new buffer and an autocommand applies syntax 10500 highlighting an ml_get error may occur. 10501Solution: Check "syn_buf" against the buffer in the window. (Alexander von 10502 Buddenbrock, closes #676) 10503Files: src/syntax.c 10504 10505Patch 7.4.1692 10506Problem: feedkeys('i', 'x') gets stuck, waits for a character to be typed. 10507Solution: Behave like ":normal". (Yasuhiro Matsumoto) 10508Files: src/eval.c, src/testdir/test_feedkeys.vim 10509 10510Patch 7.4.1693 10511Problem: Building the Perl interface gives compiler warnings. 10512Solution: Remove a pragma. Add noreturn attributes. (Damien) 10513Files: src/if_perl.xs 10514 10515Patch 7.4.1694 10516Problem: Win32 gvim doesn't work with "dvorakj" input method. 10517Solution: Wait for QS_ALLINPUT instead of QS_ALLEVENTS. (Yukihiro Nakadaira) 10518Files: src/gui_w32.c 10519 10520Patch 7.4.1695 10521Problem: ":syn reset" clears the effect ":syn iskeyword". (James McCoy) 10522Solution: Remove clearing the syntax keywords. 10523Files: src/syntax.c 10524 10525Patch 7.4.1696 10526Problem: When using :stopinsert in a silent mapping the "INSERT" message 10527 isn't cleared. (Coacher) 10528Solution: Always clear the message. (Christian Brabandt, closes #718) 10529Files: src/ex_docmd.c, src/proto/screen.pro, src/screen.c 10530 10531Patch 7.4.1697 10532Problem: Display problems when the 'ambiwidth' and 'emoji' options are not 10533 set properly or the terminal doesn't behave as expected. 10534Solution: After drawing an ambiguous width character always position the 10535 cursor. 10536Files: src/mbyte.c, src/screen.c, src/proto/mbyte.pro 10537 10538Patch 7.4.1698 10539Problem: Two tests fail when running tests with MinGW. (Michael Soyka) 10540Solution: Convert test_getcwd.ok test_wordcount.ok to unix fileformat. 10541Files: src/testdir/Make_ming.mak 10542 10543Patch 7.4.1699 10544Problem: :packadd does not work the same when used early or late. 10545Solution: Always load plugins matching "plugin/**/*.vim". 10546Files: src/ex_cmds2.c, src/testdir/test_packadd.vim 10547 10548Patch 7.4.1700 10549Problem: Equivalence classes are not properly tested. 10550Solution: Add tests for multi-byte and latin1. Fix an error. (Owen Leibman) 10551Files: src/regexp.c, src/testdir/Make_all.mak, 10552 src/testdir/test_alot_latin.vim, src/testdir/test_alot_utf8.vim, 10553 src/testdir/test_regexp_latin.vim, 10554 src/testdir/test_regexp_utf8.vim 10555 10556Patch 7.4.1701 10557Problem: Equivalence classes still tested in old style tests. 10558Solution: Remove the duplicate. 10559Files: src/testdir/test44.in, src/testdir/test44.ok, 10560 src/testdir/test99.in, src/testdir/test99.ok 10561 10562Patch 7.4.1702 10563Problem: Using freed memory when parsing 'printoptions' fails. 10564Solution: Save the old options and restore them in case of an error. 10565 (Dominique) 10566Files: src/hardcopy.c, src/testdir/test_hardcopy.vim 10567 10568Patch 7.4.1703 10569Problem: Can't assert for not equal and not matching. 10570Solution: Add assert_notmatch() and assert_notequal(). 10571Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_assert.vim 10572 10573Patch 7.4.1704 10574Problem: Using freed memory with "wincmd p". (Dominique Pelle) 10575Solution: Also clear "prevwin" in other tab pages. 10576Files: src/window.c 10577 10578Patch 7.4.1705 10579Problem: The 'guifont' option does not allow for a quality setting. 10580Solution: Add the "q" item, supported on MS-Windows. (Yasuhiro Matsumoto) 10581Files: runtime/doc/options.txt, src/gui_w32.c, src/os_mswin.c, 10582 src/proto/os_mswin.pro 10583 10584Patch 7.4.1706 10585Problem: Old style function declaration breaks build. 10586Solution: Remove __ARGS(). 10587Files: src/proto/os_mswin.pro 10588 10589Patch 7.4.1707 10590Problem: Cannot use empty dictionary key, even though it can be useful. 10591Solution: Allow using an empty dictionary key. 10592Files: src/hashtab.c, src/eval.c, src/testdir/test_expr.vim 10593 10594Patch 7.4.1708 10595Problem: New regexp engine does not work properly with EBCDIC. 10596Solution: Define equivalence class characters. (Owen Leibman) 10597Files: src/regexp_nfa.c 10598 10599Patch 7.4.1709 10600Problem: Mistake in #ifdef. 10601Solution: Change PROOF_QUALITY to DRAFT_QUALITY. (Ken Takata) 10602Files: src/os_mswin.c 10603 10604Patch 7.4.1710 10605Problem: Not all output of an external command is read. 10606Solution: Avoid timing out when the process has exited. (closes #681) 10607Files: src/os_unix.c 10608 10609Patch 7.4.1711 10610Problem: When using try/catch in 'statusline' it is still considered an 10611 error and the status line will be disabled. 10612Solution: Check did_emsg instead of called_emsg. (haya14busa, closes #729) 10613Files: src/screen.c, src/testdir/test_statusline.vim, 10614 src/testdir/test_alot.vim 10615 10616Patch 7.4.1712 10617Problem: For plugins in packages, plugin authors need to take care of all 10618 dependencies. 10619Solution: When loading "start" packages and for :packloadall, first add all 10620 directories to 'runtimepath' before sourcing plugins. 10621Files: src/ex_cmds2.c, src/testdir/test_packadd.vim 10622 10623Patch 7.4.1713 10624Problem: GTK GUI doesn't work on Wayland. 10625Solution: Specify that only the X11 backend is allowed. (Simon McVittie) 10626Files: src/gui_gtk_x11.c 10627 10628Patch 7.4.1714 10629Problem: Non-GUI specific settings in the gvimrc_example file. 10630Solution: Move some settings to the vimrc_example file. Remove setting 10631 'hlsearch' again. (suggested by Hirohito Higashi) 10632Files: runtime/vimrc_example.vim, runtime/gvimrc_example.vim 10633 10634Patch 7.4.1715 10635Problem: Double free when a partial is in a cycle with a list or dict. 10636 (Nikolai Pavlov) 10637Solution: Do not free a nested list or dict used by the partial. 10638Files: src/eval.c, src/testdir/test_partial.vim 10639 10640Patch 7.4.1716 10641Problem: 'autochdir' doesn't work for the first file. (Rob Hoelz) 10642Solution: Call DO_AUTOCHDIR after startup. (Christian Brabandt, closes #704) 10643Files: src/main.c 10644 10645Patch 7.4.1717 10646Problem: Leaking memory when opening a channel fails. 10647Solution: Unreference partials in job options. 10648Files: src/eval.c, src/channel.c, src/proto/channel.pro, 10649 src/testdir/test_channel.vim 10650 10651Patch 7.4.1718 10652Problem: Coverity: not using return value of set_ref_in_item(). 10653Solution: Use the return value. 10654Files: src/eval.c 10655 10656Patch 7.4.1719 10657Problem: Leaking memory when there is a cycle involving a job and a 10658 partial. 10659Solution: Add a copyID to job and channel. Set references in items referred 10660 by them. Go through all jobs and channels to find unreferenced 10661 items. Also, decrement reference counts when garbage collecting. 10662Files: src/eval.c, src/channel.c, src/netbeans.c, src/globals.h, 10663 src/ops.c, src/regexp.c, src/tag.c, src/proto/channel.pro, 10664 src/proto/eval.pro, src/testdir/test_partial.vim, src/structs.h 10665 10666Patch 7.4.1720 10667Problem: Tests fail without the job feature. 10668Solution: Skip tests when the job feature is not present. 10669Files: src/testdir/test_partial.vim 10670 10671Patch 7.4.1721 10672Problem: The vimtbar files are unused. 10673Solution: Remove them. (Ken Takata) 10674Files: src/vimtbar.dll, src/vimtbar.h, src/vimtbar.lib, Filelist 10675 10676Patch 7.4.1722 10677Problem: Crash when calling garbagecollect() after starting a job. 10678Solution: Set the copyID on job and channel. (Hirohito Higashi, Ozaki 10679 Kiichi) 10680Files: src/eval.c 10681 10682Patch 7.4.1723 10683Problem: When using try/catch in 'tabline' it is still considered an 10684 error and the tabline will be disabled. 10685Solution: Check did_emsg instead of called_emsg. (haya14busa, closes #746) 10686Files: src/screen.c, src/testdir/test_tabline.vim, 10687 src/testdir/test_alot.vim 10688 10689Patch 7.4.1724 (after 7.4.1723) 10690Problem: Tabline test fails in GUI. 10691Solution: Remove 'e' from 'guioptions'. 10692Files: src/testdir/test_tabline.vim 10693 10694Patch 7.4.1725 10695Problem: Compiler errors for non-ANSI compilers. 10696Solution: Remove // comment. Remove comma at end of enum. (Michael Jarvis) 10697Files: src/eval.c 10698 10699Patch 7.4.1726 10700Problem: ANSI compiler complains about string length. 10701Solution: Split long string in two parts. (Michael Jarvis) 10702Files: src/ex_cmds.c 10703 10704Patch 7.4.1727 10705Problem: Cannot detect a crash in tests when caused by garbagecollect(). 10706Solution: Add garbagecollect_for_testing(). Do not free a job if is still 10707 useful. 10708Files: src/channel.c, src/eval.c, src/getchar.c, src/main.c, src/vim.h, 10709 src/proto/eval.pro, src/testdir/runtest.vim, 10710 src/testdir/test_channel.vim, runtime/doc/eval.txt 10711 10712Patch 7.4.1728 10713Problem: The help for functions require a space after the "(". 10714Solution: Make CTRL-] on a function name ignore the arguments. (Hirohito 10715 Higashi) 10716Files: src/ex_cmds.c, src/testdir/test_help_tagjump.vim, 10717 runtime/doc/eval.txt 10718 10719Patch 7.4.1729 10720Problem: The Perl interface cannot use 'print' operator for writing 10721 directly in standard IO. 10722Solution: Add a minimal implementation of PerlIO Layer feature and try to 10723 use it for STDOUT/STDERR. (Damien) 10724Files: src/if_perl.xs, src/testdir/test_perl.vim 10725 10726Patch 7.4.1730 10727Problem: It is not easy to get a character out of a string. 10728Solution: Add strgetchar() and strcharpart(). 10729Files: src/eval.c, src/testdir/test_expr.vim 10730 10731Patch 7.4.1731 10732Problem: Python: turns partial into simple funcref. 10733Solution: Use partials like partials. (Nikolai Pavlov, closes #734) 10734Files: runtime/doc/if_pyth.txt, src/eval.c, src/if_py_both.h, 10735 src/if_python.c, src/if_python3.c, src/proto/eval.pro, 10736 src/testdir/test86.in, src/testdir/test86.ok, 10737 src/testdir/test87.in, src/testdir/test87.ok 10738 10739Patch 7.4.1732 10740Problem: Folds may close when using autocomplete. (Anmol Sethi) 10741Solution: Increment/decrement disable_fold. (Christian Brabandt, closes 10742 #643) 10743Files: src/edit.c, src/fold.c, src/globals.h 10744 10745Patch 7.4.1733 10746Problem: "make install" doesn't know about cross-compiling. (Christian 10747 Neukirchen) 10748Solution: Add CROSS_COMPILING. (closes #740) 10749Files: src/configure.in, src/auto/configure, src/config.mk.in, 10750 src/Makefile 10751 10752Patch 7.4.1734 (after 7.4.1730) 10753Problem: Test fails when not using utf-8. 10754Solution: Split test in regular and utf-8 part. 10755Files: src/testdir/test_expr.vim, src/testdir/test_expr_utf8.vim, 10756 src/testdir/test_alot_utf8.vim 10757 10758Patch 7.4.1735 10759Problem: It is not possible to only see part of the message history. It is 10760 not possible to clear messages. 10761Solution: Add a count to ":messages" and a clear argument. (Yasuhiro 10762 Matsumoto) 10763Files: runtime/doc/message.txt, src/ex_cmds.h, src/message.c, 10764 src/testdir/test_messages.vim, src/testdir/test_alot.vim 10765 10766Patch 7.4.1736 (after 7.4.1731) 10767Problem: Unused variable. 10768Solution: Remove it. (Yasuhiro Matsumoto) 10769Files: src/if_py_both.h 10770 10771Patch 7.4.1737 10772Problem: Argument marked as unused is used. 10773Solution: Remove UNUSED. 10774Files: src/message.c 10775 10776Patch 7.4.1738 10777Problem: Count for ":messages" depends on number of lines. 10778Solution: Add ADDR_OTHER address type. 10779Files: src/ex_cmds.h 10780 10781Patch 7.4.1739 10782Problem: Messages test fails on MS-Windows. 10783Solution: Adjust the asserts. Skip the "messages maintainer" line if not 10784 showing all messages. 10785Files: src/message.c, src/testdir/test_messages.vim 10786 10787Patch 7.4.1740 10788Problem: syn-cchar defined with matchadd() does not appear if there are no 10789 other syntax definitions which matches buffer text. 10790Solution: Check for startcol. (Ozaki Kiichi, haya14busa, closes #757) 10791Files: src/screen.c, src/testdir/Make_all.mak, 10792 src/testdir/test_alot_utf8.vim, src/testdir/test_match_conceal.in, 10793 src/testdir/test_match_conceal.ok, 10794 src/testdir/test_matchadd_conceal.vim, 10795 src/testdir/test_matchadd_conceal_utf8.vim, 10796 src/testdir/test_undolevels.vim 10797 10798Patch 7.4.1741 10799Problem: Not testing utf-8 characters. 10800Solution: Move the right asserts to the test_expr_utf8 test. 10801Files: src/testdir/test_expr.vim, src/testdir/test_expr_utf8.vim 10802 10803Patch 7.4.1742 10804Problem: strgetchar() does not work correctly. 10805Solution: use mb_cptr2len(). Add a test. (Naruhiko Nishino) 10806Files: src/eval.c, src/testdir/test_expr_utf8.vim 10807 10808Patch 7.4.1743 10809Problem: Clang warns for uninitialized variable. (Michael Jarvis) 10810Solution: Initialize it. 10811Files: src/if_py_both.h 10812 10813Patch 7.4.1744 10814Problem: Python: Converting a sequence may leak memory. 10815Solution: Decrement a reference. (Nikolai Pavlov) 10816Files: src/if_py_both.h 10817 10818Patch 7.4.1745 10819Problem: README file is not clear about where to get Vim. 10820Solution: Add links to github, releases and the Windows installer. 10821 (Suggested by Christian Brabandt) 10822Files: README.md, README.txt 10823 10824Patch 7.4.1746 10825Problem: Memory leak in Perl. 10826Solution: Decrement the reference count. Add a test. (Damien) 10827Files: src/if_perl.xs, src/testdir/test_perl.vim 10828 10829Patch 7.4.1747 10830Problem: Coverity: missing check for NULL pointer. 10831Solution: Check for out of memory. 10832Files: src/if_py_both.h 10833 10834Patch 7.4.1748 10835Problem: "gD" does not find match in first column of first line. (Gary 10836 Johnson) 10837Solution: Accept match at the cursor. 10838Files: src/normal.c, src/testdir/test_goto.vim, src/testdir/test_alot.vim 10839 10840Patch 7.4.1749 10841Problem: When using GTK 3.20 there are a few warnings. 10842Solution: Use new functions when available. (Kazunobu Kuriyama) 10843Files: src/gui_beval.c src/gui_gtk_x11.c 10844 10845Patch 7.4.1750 10846Problem: When a buffer gets updated while in command line mode, the screen 10847 may be messed up. 10848Solution: Postpone the redraw when the screen is scrolled. 10849Files: src/channel.c 10850 10851Patch 7.4.1751 10852Problem: Crash when 'tagstack' is off. (Dominique Pelle) 10853Solution: Fix it. (Hirohito Higashi) 10854Files: src/tag.c, src/testdir/test_alot.vim, src/testdir/test_tagjump.vim 10855 10856Patch 7.4.1752 10857Problem: When adding to the quickfix list the current position is reset. 10858Solution: Do not reset the position when not needed. (Yegappan Lakshmanan) 10859Files: src/quickfix.c, src/testdir/test_quickfix.vim 10860 10861Patch 7.4.1753 10862Problem: "noinsert" in 'completeopt' is sometimes ignored. 10863Solution: Set the variables when the 'completeopt' was set. (Ozaki Kiichi) 10864Files: src/edit.c, src/option.c, src/proto/edit.pro 10865 10866Patch 7.4.1754 10867Problem: When 'filetype' was set and reloading a buffer which does not 10868 cause it to be set, the syntax isn't loaded. (KillTheMule) 10869Solution: Remember whether the FileType event was fired and fire it if not. 10870 (Anton Lindqvist, closes #747) 10871Files: src/fileio.c, src/testdir/test_syntax.vim 10872 10873Patch 7.4.1755 10874Problem: When using getreg() on a non-existing register a NULL list is 10875 returned. (Bjorn Linse) 10876Solution: Allocate an empty list. Add a test. 10877Files: src/eval.c, src/testdir/test_expr.vim 10878 10879Patch 7.4.1756 10880Problem: "dll" options are not expanded. 10881Solution: Expand environment variables. (Ozaki Kiichi) 10882Files: src/option.c, src/testdir/test_alot.vim, 10883 src/testdir/test_expand_dllpath.vim 10884 10885Patch 7.4.1757 10886Problem: When using complete() it may set 'modified' even though nothing 10887 was inserted. 10888Solution: Use Down/Up instead of Next/Previous match. (Shougo Matsu, closes 10889 #745) 10890Files: src/edit.c 10891 10892Patch 7.4.1758 10893Problem: Triggering CursorHoldI when in CTRL-X mode causes problems. 10894Solution: Do not trigger CursorHoldI in CTRL-X mode. Add "!" flag to 10895 feedkeys() (test with that didn't work though). 10896Files: src/edit.c, src/eval.c 10897 10898Patch 7.4.1759 10899Problem: When using feedkeys() in a timer the inserted characters are not 10900 used right away. 10901Solution: Break the wait loop when characters have been added to typebuf. 10902 use this for testing CursorHoldI. 10903Files: src/gui.c, src/os_win32.c, src/os_unix.c, 10904 src/testdir/test_autocmd.vim 10905 10906Patch 7.4.1760 (after 7.4.1759) 10907Problem: Compiler warning for unused variable. 10908Solution: Add #ifdef. (John Marriott) 10909Files: src/os_win32.c 10910 10911Patch 7.4.1761 10912Problem: Coverity complains about ignoring return value. 10913Solution: Add "(void)" to get rid of the warning. 10914Files: src/eval.c 10915 10916Patch 7.4.1762 10917Problem: Coverity: useless assignments. 10918Solution: Remove them. 10919Files: src/search.c 10920 10921Patch 7.4.1763 10922Problem: Coverity: useless assignment. 10923Solution: Add #if 0. 10924Files: src/spell.c 10925 10926Patch 7.4.1764 10927Problem: C++ style comment. (Ken Takata) 10928Solution: Finish the work started here: don't call perror() when stderr 10929 isn't working. 10930Files: src/os_unix.c 10931 10932Patch 7.4.1765 10933Problem: Undo options are not together in the options window. 10934Solution: Put them together. (Gary Johnson) 10935Files: runtime/optwin.vim 10936 10937Patch 7.4.1766 10938Problem: Building instructions for MS-Windows are outdated. 10939Solution: Mention setting SDK_INCLUDE_DIR. (Ben Franklin, closes #771) Move 10940 outdated instructions further down. 10941Files: src/INSTALLpc.txt 10942 10943Patch 7.4.1767 10944Problem: When installing Vim on a GTK system the icon cache is not updated. 10945Solution: Update the GTK icon cache when possible. (Kazunobu Kuriyama) 10946Files: src/Makefile, src/configure.in, src/config.mk.in, 10947 src/auto/configure 10948 10949Patch 7.4.1768 10950Problem: Arguments of setqflist() are not checked properly. 10951Solution: Add better checks, add a test. (Nikolai Pavlov, Hirohito Higashi, 10952 closes #661) 10953Files: src/eval.c, src/testdir/test_quickfix.vim 10954 10955Patch 7.4.1769 10956Problem: No "closed", "errors" and "encoding" attribute on Python output. 10957Solution: Add attributes and more tests. (Roland Puntaier, closes #622) 10958Files: src/if_py_both.h, src/if_python.c, src/if_python3.c, 10959 src/testdir/test86.in, src/testdir/test86.ok, 10960 src/testdir/test87.in, src/testdir/test87.ok 10961 10962Patch 7.4.1770 10963Problem: Cannot use true color in the terminal. 10964Solution: Add the 'guicolors' option. (Nikolai Pavlov) 10965Files: runtime/doc/options.txt, runtime/doc/term.txt, 10966 runtime/doc/various.txt, src/auto/configure, src/config.h.in, 10967 src/configure.in, src/eval.c, src/globals.h, src/hardcopy.c, 10968 src/option.c, src/option.h, src/proto/term.pro, src/screen.c, 10969 src/structs.h, src/syntax.c, src/term.c, src/term.h, 10970 src/version.c, src/vim.h 10971 10972Patch 7.4.1771 (after 7.4.1768) 10973Problem: Warning for unused variable. 10974Solution: Add #ifdef. (John Marriott) 10975Files: src/eval.c 10976 10977Patch 7.4.1772 (after 7.4.1767) 10978Problem: Installation fails when $GTK_UPDATE_ICON_CACHE is empty. 10979Solution: Add quotes. (Kazunobu Kuriyama) 10980Files: src/Makefile 10981 10982Patch 7.4.1773 (after 7.4.1770) 10983Problem: Compiler warnings. (Dominique Pelle) 10984Solution: Add UNUSED. Add type cast. Avoid a buffer overflow. 10985Files: src/syntax.c, src/term.c 10986 10987Patch 7.4.1774 (after 7.4.1770) 10988Problem: Cterm true color feature has warnings. 10989Solution: Add type casts. 10990Files: src/screen.c, src/syntax.c, src/term.c 10991 10992Patch 7.4.1775 10993Problem: The rgb.txt file is not installed. 10994Solution: Install the file. (Christian Brabandt) 10995Files: src/Makefile 10996 10997Patch 7.4.1776 10998Problem: Using wrong buffer length. 10999Solution: use the right name. (Kazunobu Kuriyama) 11000Files: src/term.c 11001 11002Patch 7.4.1777 11003Problem: Newly added features can escape the sandbox. 11004Solution: Add checks for restricted and secure. (Yasuhiro Matsumoto) 11005Files: src/eval.c 11006 11007Patch 7.4.1778 11008Problem: When using the term truecolor feature, the t_8f and t_8b termcap 11009 options are not set by default. 11010Solution: Move the values to before BT_EXTRA_KEYS. (Christian Brabandt) 11011Files: src/term.c 11012 11013Patch 7.4.1779 11014Problem: Using negative index in strcharpart(). (Yegappan Lakshmanan) 11015Solution: Assume single byte when using a negative index. 11016Files: src/eval.c 11017 11018Patch 7.4.1780 11019Problem: Warnings reported by cppcheck. 11020Solution: Fix the warnings. (Dominique Pelle) 11021Files: src/ex_cmds2.c, src/json.c, src/misc1.c, src/ops.c, 11022 src/regexp_nfa.c 11023 11024Patch 7.4.1781 11025Problem: synIDattr() does not respect 'guicolors'. 11026Solution: Change the condition for the mode. (Christian Brabandt) 11027Files: src/eval.c 11028 11029Patch 7.4.1782 11030Problem: strcharpart() does not work properly with some multi-byte 11031 characters. 11032Solution: Use mb_cptr2len() instead of mb_char2len(). (Hirohito Higashi) 11033Files: src/eval.c, src/testdir/test_expr_utf8.vim 11034 11035Patch 7.4.1783 11036Problem: The old regexp engine doesn't handle character classes correctly. 11037 (Manuel Ortega) 11038Solution: Use regmbc() instead of regc(). Add a test. 11039Files: src/regexp.c, src/testdir/test_regexp_utf8.vim 11040 11041Patch 7.4.1784 11042Problem: The termtruecolor feature is enabled differently from many other 11043 features. 11044Solution: Enable the termtruecolor feature for the big build, not through 11045 configure. 11046Files: src/configure.in, src/config.h.in, src/auto/configure, 11047 src/feature.h 11048 11049Patch 7.4.1785 (after 7.4.1783) 11050Problem: Regexp test fails on windows. 11051Solution: set 'isprint' to the right value for testing. 11052Files: src/testdir/test_regexp_utf8.vim 11053 11054Patch 7.4.1786 11055Problem: Compiled-in colors do not match rgb.txt. 11056Solution: Use the rgb.txt colors. (Kazunobu Kuriyama) 11057Files: src/term.c 11058 11059Patch 7.4.1787 11060Problem: When a job ends the close callback is invoked before other 11061 callbacks. On Windows the close callback is not called. 11062Solution: First invoke out/err callbacks before the close callback. 11063 Make the close callback work on Windows. 11064Files: src/channel.c, src/proto/channel.pro, 11065 src/testdir/test_channel.vim, src/testdir/test_channel_pipe.py 11066 11067Patch 7.4.1788 11068Problem: NSIS script is missing packages. 11069Solution: Add the missing directories. (Ken Takata) 11070Files: nsis/gvim.nsi 11071 11072Patch 7.4.1789 11073Problem: Cannot use ch_read() in the close callback. 11074Solution: Do not discard the channel if there is readahead. Do not discard 11075 readahead if there is a close callback. 11076Files: src/eval.c, src/channel.c, src/proto/channel.pro, 11077 src/testdir/test_channel.vim 11078 11079Patch 7.4.1790 11080Problem: Leading white space in a job command matters. (Andrew Stewart) 11081Solution: Skip leading white space. 11082Files: src/os_unix.c 11083 11084Patch 7.4.1791 11085Problem: Channel could be garbage collected too early. 11086Solution: Don't free a channel or remove it from a job when it is still 11087 useful. 11088Files: src/channel.c 11089 11090Patch 7.4.1792 11091Problem: Color name decoding is implemented several times. 11092Solution: Move it to term.c. (Christian Brabandt) 11093Files: src/gui_mac.c, src/gui_photon.c, src/gui_w32.c, 11094 src/proto/term.pro, src/term.c 11095 11096Patch 7.4.1793 11097Problem: Some character classes may differ between systems. On OS/X the 11098 regexp test fails. 11099Solution: Make this less dependent on the system. (idea by Kazunobu Kuriyama) 11100Files: src/regexp.c, src/regexp_nfa.c 11101 11102Patch 7.4.1794 (after 7.4.1792) 11103Problem: Can't build on MS-Windows. 11104Solution: Add missing declaration. 11105Files: src/gui_w32.c 11106 11107Patch 7.4.1795 11108Problem: Compiler warning for redefining RGB. (John Marriott) 11109Solution: Rename it to TORGB. 11110Files: src/term.c 11111 11112Patch 7.4.1796 (after 7.4.1795) 11113Problem: Colors are wrong on MS-Windows. (Christian Robinson) 11114Solution: Use existing RGB macro if it exists. (Ken Takata) 11115Files: src/term.c 11116 11117Patch 7.4.1797 11118Problem: Warning from Windows 64 bit compiler. 11119Solution: Change int to size_t. (Mike Williams) 11120Files: src/term.c 11121 11122Patch 7.4.1798 11123Problem: Still compiler warning for unused return value. (Charles Campbell) 11124Solution: Assign to ignoredp. 11125Files: src/term.c 11126 11127Patch 7.4.1799 11128Problem: 'guicolors' is a confusing option name. 11129Solution: Use 'termguicolors' instead. (Hirohito Higashi, Ken Takata) 11130Files: runtime/doc/options.txt, runtime/doc/term.txt, 11131 runtime/doc/various.txt, runtime/syntax/dircolors.vim, src/eval.c, 11132 src/feature.h, src/globals.h, src/hardcopy.c, src/option.c, 11133 src/option.h, src/proto/term.pro, src/screen.c, src/structs.h, 11134 src/syntax.c, src/term.c, src/version.c, src/vim.h 11135 11136Patch 7.4.1800 (after 7.4.1799) 11137Problem: Unnecessary #ifdef. 11138Solution: Just use USE_24BIT. (Ken Takata) 11139Files: src/syntax.c 11140 11141Patch 7.4.1801 11142Problem: Make uninstall leaves file behind. 11143Solution: Delete rgb.txt. (Kazunobu Kuriyama) 11144Files: src/Makefile 11145 11146Patch 7.4.1802 11147Problem: Quickfix doesn't handle long lines well, they are split. 11148Solution: Drop characters after a limit. (Anton Lindqvist) 11149Files: src/quickfix.c, src/testdir/test_quickfix.vim, 11150 src/testdir/samples/quickfix.txt 11151 11152Patch 7.4.1803 11153Problem: GTK3 doesn't handle menu separators properly. 11154Solution: Use gtk_separator_menu_item_new(). (Kazunobu Kuriyama) 11155Files: src/gui_gtk.c 11156 11157Patch 7.4.1804 11158Problem: Can't use Vim as MANPAGER. 11159Solution: Add manpager.vim. (Enno Nagel, closes #491) 11160Files: runtime/doc/filetype.txt, runtime/plugin/manpager.vim 11161 11162Patch 7.4.1805 11163Problem: Running tests in shadow dir fails. 11164Solution: Link the samples directory 11165Files: src/Makefile 11166 11167Patch 7.4.1806 11168Problem: 'termguicolors' option missing from the options window. 11169Solution: Add the entry. 11170Files: runtime/optwin.vim 11171 11172Patch 7.4.1807 11173Problem: Test_out_close_cb sometimes fails. 11174Solution: Always write DETACH to out, not err. 11175Files: src/channel.c, src/testdir/test_channel.vim 11176 11177Patch 7.4.1808 (after 7.4.1806) 11178Problem: Using wrong feature name to check for 'termguicolors'. 11179Solution: Use the right feature name. (Ken Takata) 11180Files: runtime/optwin.vim 11181 11182Patch 7.4.1809 (after 7.4.1808) 11183Problem: Using wrong short option name for 'termguicolors'. 11184Solution: Use the option name. 11185Files: runtime/optwin.vim 11186 11187Patch 7.4.1810 11188Problem: Sending DETACH after a channel was closed isn't useful. 11189Solution: Only add DETACH for a netbeans channel. 11190Files: src/channel.c, src/testdir/test_channel.vim 11191 11192Patch 7.4.1811 11193Problem: Netbeans channel gets garbage collected. 11194Solution: Set reference in nb_channel. 11195Files: src/eval.c, src/netbeans.c, src/proto/netbeans.pro 11196 11197Patch 7.4.1812 11198Problem: Failure on startup with Athena and Motif. 11199Solution: Check for INVALCOLOR. (Kazunobu Kuriyama) 11200Files: src/syntax.c, src/vim.h 11201 11202Patch 7.4.1813 11203Problem: Memory access error when running test_quickfix. 11204Solution: Allocate one more byte. (Yegappan Lakshmanan) 11205Files: src/quickfix.c 11206 11207Patch 7.4.1814 11208Problem: A channel may be garbage collected while it's still being used by 11209 a job. (James McCoy) 11210Solution: Mark the channel as used if the job is still used. Do the same 11211 for channels that are still used. 11212Files: src/eval.c, src/channel.c, src/proto/channel.pro 11213 11214Patch 7.4.1815 11215Problem: Compiler warnings for unused variables. (Ajit Thakkar) 11216Solution: Add a dummy initialization. (Yasuhiro Matsumoto) 11217Files: src/quickfix.c 11218 11219Patch 7.4.1816 11220Problem: Looping over a null list throws an error. 11221Solution: Skip over the for loop. 11222Files: src/eval.c, src/testdir/test_expr.vim 11223 11224Patch 7.4.1817 11225Problem: The screen is not updated if a callback is invoked when closing a 11226 channel. 11227Solution: Invoke redraw_after_callback(). 11228Files: src/channel.c 11229 11230Patch 7.4.1818 11231Problem: Help completion adds @en to all matches except the first one. 11232Solution: Remove "break", go over all items. 11233Files: src/ex_getln.c 11234 11235Patch 7.4.1819 11236Problem: Compiler warnings when sprintf() is a macro. 11237Solution: Don't interrupt sprintf() with an #ifdef. (Michael Jarvis, 11238 closes #788) 11239Files: src/fileio.c, src/tag.c, src/term.c 11240 11241Patch 7.4.1820 11242Problem: Removing language from help tags too often. 11243Solution: Only remove @en when not needed. (Hirohito Higashi) 11244Files: src/ex_getln.c, src/testdir/test_help_tagjump.vim 11245 11246Patch 7.4.1821 (after 7.4.1820) 11247Problem: Test fails on MS-Windows. 11248Solution: Sort the completion results. 11249Files: src/testdir/test_help_tagjump.vim 11250 11251Patch 7.4.1822 11252Problem: Redirecting stdout of a channel to "null" doesn't work. (Nicola) 11253Solution: Correct the file descriptor number. 11254Files: src/os_unix.c 11255 11256Patch 7.4.1823 11257Problem: Warning from 64 bit compiler. 11258Solution: Add type cast. (Mike Williams) 11259Files: src/quickfix.c 11260 11261Patch 7.4.1824 11262Problem: When a job is no longer referenced and does not have an exit 11263 callback the process may hang around in defunct state. (Nicola) 11264Solution: Call job_status() if the job is running and won't get freed 11265 because it might still be useful. 11266Files: src/channel.c 11267 11268Patch 7.4.1825 11269Problem: When job writes to buffer nothing is written. (Nicola) 11270Solution: Do not discard a channel before writing is done. 11271Files: src/channel.c 11272 11273Patch 7.4.1826 11274Problem: Callbacks are invoked when it's not safe. (Andrew Stewart) 11275Solution: When a channel is to be closed don't invoke callbacks right away, 11276 wait for a safe moment. 11277Files: src/structs.h, src/channel.c 11278 11279Patch 7.4.1827 11280Problem: No error when invoking a callback when it's not safe. 11281Solution: Add an error message. Avoid the error when freeing a channel. 11282Files: src/structs.h, src/channel.c 11283 11284Patch 7.4.1828 11285Problem: May try to access buffer that's already freed. 11286Solution: When freeing a buffer remove it from any channel. 11287Files: src/buffer.c, src/channel.c, src/proto/channel.pro 11288 11289Patch 7.4.1829 (after 7.4.1828) 11290Problem: No message on channel log when buffer was freed. 11291Solution: Log a message. 11292Files: src/channel.c 11293 11294Patch 7.4.1830 11295Problem: non-antialiased misnamed. 11296Solution: Use NONANTIALIASED and NONANTIALIASED_QUALITY. (Kim Brouer, 11297 closes #793) 11298Files: src/os_mswin.c, runtime/doc/options.txt 11299 11300Patch 7.4.1831 11301Problem: When timer_stop() is called with a string there is no proper error 11302 message. 11303Solution: Require getting a number. (Bjorn Linse) 11304Files: src/eval.c 11305 11306Patch 7.4.1832 11307Problem: Memory leak in debug commands. 11308Solution: Free memory before overwriting the pointer. (hint by Justin Keyes) 11309Files: src/ex_cmds2.c 11310 11311Patch 7.4.1833 11312Problem: Cannot use an Ex command for 'keywordprg'. 11313Solution: Accept an Ex command. (Nelo-Thara Wallus) 11314Files: src/normal.c, runtime/doc/options.txt 11315 11316Patch 7.4.1834 11317Problem: Possible crash when conceal is active. 11318Solution: Check for the screen to be valid when redrawing a line. 11319Files: src/screen.c 11320 11321Patch 7.4.1835 11322Problem: When splitting and closing a window the status height changes. 11323Solution: Compute the frame height correctly. (Hirohito Higashi) 11324Files: src/window.c, src/testdir/test_alot.vim, 11325 src/testdir/test_window_cmd.vim 11326 11327Patch 7.4.1836 11328Problem: When using a partial on a dictionary it always gets bound to that 11329 dictionary. 11330Solution: Make a difference between binding a function to a dictionary 11331 explicitly or automatically. 11332Files: src/structs.h, src/eval.c, src/testdir/test_partial.vim, 11333 runtime/doc/eval.txt 11334 11335Patch 7.4.1837 11336Problem: The BufUnload event is triggered twice, when :bunload is used with 11337 `bufhidden` set to `unload` or `delete`. 11338Solution: Do not trigger the event when ml_mfp is NULL. (Hirohito Higashi) 11339Files: src/buffer.c, src/testdir/test_autocmd.vim 11340 11341Patch 7.4.1838 11342Problem: Functions specifically for testing do not sort together. 11343Solution: Rename garbagecollect_for_testing() to test_garbagecollect_now(). 11344 Add test_null_list(), test_null_dict(), etc. 11345Files: src/eval.c, src/testdir/test_expr.vim, 11346 src/testdir/test_channel.vim, runtime/doc/eval.txt 11347 11348Patch 7.4.1839 11349Problem: Cannot get the items stored in a partial. 11350Solution: Support using get() on a partial. 11351Files: src/eval.c, src/testdir/test_partial.vim, runtime/doc/eval.txt 11352 11353Patch 7.4.1840 11354Problem: When using packages an "after" directory cannot be used. 11355Solution: Add the "after" directory of the package to 'runtimepath' if it 11356 exists. 11357Files: src/ex_cmds2.c, src/testdir/test_packadd.vim 11358 11359Patch 7.4.1841 11360Problem: The code to reallocate the buffer used for quickfix is repeated. 11361Solution: Move the code to a function. (Yegappan Lakshmanan, closes #831) 11362Files: src/quickfix.c, src/testdir/test_quickfix.vim 11363 11364Patch 7.4.1842 (after 7.4.1839) 11365Problem: get() works for Partial but not for Funcref. 11366Solution: Accept Funcref. Also return the function itself. (Nikolai Pavlov) 11367Files: src/eval.c, src/testdir/test_partial.vim, runtime/doc/eval.txt 11368 11369Patch 7.4.1843 11370Problem: Tests involving Python are flaky. 11371Solution: Set the pt_auto field. Add tests. (Nikolai Pavlov) 11372Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/testdir/test86.in, 11373 src/testdir/test86.ok, src/testdir/test87.in, 11374 src/testdir/test87.ok 11375 11376Patch 7.4.1844 11377Problem: Using old function name in comment. More functions should start 11378 with test_. 11379Solution: Rename function in comment. (Hirohito Higashi) Rename 11380 disable_char_avail_for_testing() to test_disable_char_avail(). 11381 And alloc_fail() to test_alloc_fail(). 11382Files: src/eval.c, src/getchar.c, src/testdir/runtest.vim, 11383 src/testdir/test_cursor_func.vim, src/testdir/test_quickfix.vim, 11384 runtime/doc/eval.txt 11385 11386Patch 7.4.1845 11387Problem: Mentioning NetBeans when reading from channel. (Ramel Eshed) 11388Solution: Make the text more generic. 11389Files: src/channel.c 11390 11391Patch 7.4.1846 11392Problem: Ubsan detects a multiplication overflow. 11393Solution: Don't use orig_mouse_time when it's zero. (Dominique Pelle) 11394Files: src/term.c 11395 11396Patch 7.4.1847 11397Problem: Getting an item from a NULL dict crashes. Setting a register to a 11398 NULL list crashes. (Nikolai Pavlov, issue #768) Comparing a NULL 11399 dict with a NULL dict fails. 11400Solution: Properly check for NULL. 11401Files: src/eval.c, src/testdir/test_expr.vim 11402 11403Patch 7.4.1848 11404Problem: Can't build with Strawberry Perl 5.24. 11405Solution: Define S_SvREFCNT_dec() if needed. (Damien, Ken Takata) 11406Files: src/if_perl.xs 11407 11408Patch 7.4.1849 11409Problem: Still trying to read from channel that is going to be closed. 11410 (Ramel Eshed) 11411Solution: Check if ch_to_be_closed is set. 11412Files: src/channel.c 11413 11414Patch 7.4.1850 11415Problem: GUI freezes when using a job. (Shougo Matsu) 11416Solution: Unregister the channel when there is an input error. 11417Files: src/channel.c 11418 11419Patch 7.4.1851 11420Problem: test_syn_attr fails when using the GUI. (Dominique Pelle) 11421Solution: Escape the font name properly. 11422Files: src/testdir/test_syn_attr.vim 11423 11424Patch 7.4.1852 11425Problem: Unix: Cannot run all tests with the GUI. 11426Solution: Add the "testgui" target. 11427Files: src/Makefile, src/testdir/Makefile 11428 11429Patch 7.4.1853 11430Problem: Crash when job and channel are in the same dict while using 11431 partials. (Luc Hermitte) 11432Solution: Do not decrement the channel reference count too early. 11433Files: src/channel.c 11434 11435Patch 7.4.1854 11436Problem: When setting 'termguicolors' the Ignore highlighting doesn't work. 11437 (Charles Campbell) 11438Solution: Handle the color names "fg" and "bg" when the GUI isn't running 11439 and no colors are specified, fall back to black and white. 11440Files: src/syntax.c 11441 11442Patch 7.4.1855 11443Problem: Valgrind reports memory leak for job that is not freed. 11444Solution: Free all jobs on exit. Add test for failing job. 11445Files: src/channel.c, src/misc2.c, src/proto/channel.pro, 11446 src/testdir/test_partial.vim 11447 11448Patch 7.4.1856 (after 7.4.1855) 11449Problem: failing job test fails on MS-Windows. 11450Solution: Expect "fail" status instead of "dead". 11451Files: src/testdir/test_partial.vim 11452 11453Patch 7.4.1857 11454Problem: When a channel appends to a buffer that is 'nomodifiable' there is 11455 an error but appending is done anyway. 11456Solution: Add the 'modifiable' option. Refuse to write to a 'nomodifiable' 11457 when the value is 1. 11458Files: src/structs.h, src/channel.c, src/testdir/test_channel.vim, 11459 runtime/doc/channel.txt 11460 11461Patch 7.4.1858 11462Problem: When a channel writes to a buffer it doesn't find a buffer by the 11463 short name but re-uses it anyway. 11464Solution: Find buffer also by the short name. 11465Files: src/channel.c, src/buffer.c, src/vim.h 11466 11467Patch 7.4.1859 11468Problem: Cannot use a function reference for "exit_cb". 11469Solution: Use get_callback(). (Yegappan Lakshmanan) 11470Files: src/channel.c, src/structs.h 11471 11472Patch 7.4.1860 11473Problem: Using a partial for timer_start() may cause a crash. 11474Solution: Set the copyID in timer objects. (Ozaki Kiichi) 11475Files: src/testdir/test_timers.vim, src/eval.c, src/ex_cmds2.c, 11476 src/proto/ex_cmds2.pro 11477 11478Patch 7.4.1861 11479Problem: Compiler warnings with 64 bit compiler. 11480Solution: Change int to size_t. (Mike Williams) 11481Files: src/ex_cmds2.c 11482 11483Patch 7.4.1862 11484Problem: string() with repeated argument does not give a result usable by 11485 eval(). 11486Solution: Refactor echo_string and tv2string(), moving the common part to 11487 echo_string_core(). (Ken Takata) 11488Files: src/eval.c, src/testdir/test_viml.vim, src/testdir/test86.ok, 11489 src/testdir/test87.ok 11490 11491Patch 7.4.1863 11492Problem: Compiler warnings on Win64. 11493Solution: Adjust types, add type casts. (Ken Takata) 11494Files: src/if_mzsch.c, src/if_perl.xs, src/if_ruby.c, src/version.c 11495 11496Patch 7.4.1864 11497Problem: Python: encoding error with Python 2. 11498Solution: Use "getcwdu" instead of "getcwd". (Ken Takata) 11499Files: src/if_py_both.h 11500 11501Patch 7.4.1865 11502Problem: Memory leaks in test49. (Dominique Pelle) 11503Solution: Use NULL instead of an empty string. 11504Files: src/eval.c 11505 11506Patch 7.4.1866 11507Problem: Invalid memory access when exiting with EXITFREE defined. 11508 (Dominique Pelle) 11509Solution: Set "really_exiting" and skip error messages. 11510Files: src/misc2.c, src/eval.c 11511 11512Patch 7.4.1867 11513Problem: Memory leak in test_matchstrpos. 11514Solution: Free the string before overwriting. (Yegappan Lakshmanan) 11515Files: src/eval.c 11516 11517Patch 7.4.1868 11518Problem: Setting really_exiting causes memory leaks to be reported. 11519Solution: Add the in_free_all_mem flag. 11520Files: src/globals.h, src/misc2.c, src/eval.c 11521 11522Patch 7.4.1869 11523Problem: Can't build with old version of Perl. 11524Solution: Define PERLIO_FUNCS_DECL. (Tom G. Christensen) 11525Files: src/if_perl.xs 11526 11527Patch 7.4.1870 (after 7.4.1863) 11528Problem: One more Win64 compiler warning. 11529Solution: Change declared argument type. (Ken Takata) 11530Files: src/if_mzsch.c 11531 11532Patch 7.4.1871 11533Problem: Appending to the quickfix list while the quickfix window is open 11534 is very slow. 11535Solution: Do not delete all the lines, only append the new ones. Avoid 11536 using a window while updating the list. (closes #841) 11537Files: src/quickfix.c 11538 11539Patch 7.4.1872 11540Problem: Still build problem with old version of Perl. 11541Solution: Also define SvREFCNT_inc_void_NN if needed. (Tom G. Christensen) 11542Files: src/if_perl.xs 11543 11544Patch 7.4.1873 11545Problem: When a callback adds a timer the GUI doesn't use it until later. 11546 (Ramel Eshed) 11547Solution: Return early if a callback adds a timer. 11548Files: src/ex_cmds2.c, src/gui_gtk_x11.c, src/gui_w32.c, src/gui_x11.c, 11549 src/globals.h 11550 11551Patch 7.4.1874 11552Problem: Unused variable in Win32 code. 11553Solution: Remove it. (Mike Williams) 11554Files: src/gui_w32.c 11555 11556Patch 7.4.1875 11557Problem: Comparing functions and partials doesn't work well. 11558Solution: Add tests. (Nikolai Pavlov) Compare the dict and arguments in the 11559 partial. (closes #813) 11560Files: src/eval.c, src/testdir/test_partial.vim 11561 11562Patch 7.4.1876 11563Problem: Typing "k" at the hit-enter prompt has no effect. 11564Solution: Don't assume recursive use of the prompt if a character was typed. 11565 (Hirohito Higashi) 11566Files: src/message.c 11567 11568Patch 7.4.1877 11569Problem: No test for invoking "close_cb" when writing to a buffer. 11570Solution: Add using close_cb to a test case. 11571Files: src/testdir/test_channel.vim 11572 11573Patch 7.4.1878 11574Problem: Whether a job has exited isn't detected until a character is 11575 typed. After calling exit_cb the cursor is in the wrong place. 11576Solution: Don't wait forever for a character to be typed when there is a 11577 pending job. Update the screen if needed after calling exit_cb. 11578Files: src/os_unix.c, src/channel.c, src/proto/channel.pro 11579 11580Patch 7.4.1879 (after 7.4.1877) 11581Problem: Channel test is flaky. 11582Solution: Wait for close_cb to be invoked. 11583Files: src/testdir/test_channel.vim 11584 11585Patch 7.4.1880 11586Problem: MS-Windows console build defaults to not having +channel. 11587Solution: Include the channel feature if building with huge features. 11588Files: src/Make_mvc.mak 11589 11590Patch 7.4.1881 11591Problem: Appending to a long quickfix list is slow. 11592Solution: Add qf_last. 11593Files: src/quickfix.c 11594 11595Patch 7.4.1882 11596Problem: Check for line break at end of line wrong. (Dominique Pelle) 11597Solution: Correct the logic. 11598Files: src/quickfix.c 11599 11600Patch 7.4.1883 11601Problem: Cppcheck found 2 incorrect printf formats. 11602Solution: Use %ld and %lx. (Dominique Pelle) 11603Files: src/VisVim/Commands.cpp, src/gui_mac.c 11604 11605Patch 7.4.1884 11606Problem: Updating marks in a quickfix list is very slow when the list is 11607 long. 11608Solution: Only update marks if the buffer has a quickfix entry. 11609Files: src/structs.h, src/quickfix.c 11610 11611Patch 7.4.1885 11612Problem: MinGW console build defaults to not having +channel. 11613Solution: Include the channel feature if building with huge features. (Ken 11614 Takata) 11615Files: src/Make_cyg_ming.mak 11616 11617Patch 7.4.1886 11618Problem: When waiting for a character is interrupted by receiving channel 11619 data and the first character of a mapping was typed, the mapping 11620 times out. (Ramel Eshed) 11621Solution: When dealing with channel data don't return from mch_inchar(). 11622Files: src/getchar.c, src/proto/getchar.pro, src/os_unix.c 11623 11624Patch 7.4.1887 11625Problem: When receiving channel data 'updatetime' is not respected. 11626Solution: Recompute the waiting time after being interrupted. 11627Files: src/os_unix.c 11628 11629Patch 7.4.1888 11630Problem: Wrong computation of remaining wait time in RealWaitForChar() 11631Solution: Remember the original waiting time. 11632Files: src/os_unix.c 11633 11634Patch 7.4.1889 11635Problem: When umask is set to 0177 Vim can't create temp files. (Lcd) 11636Solution: Also correct umask when using mkdtemp(). 11637Files: src/fileio.c 11638 11639Patch 7.4.1890 11640Problem: GUI: When channel data is received the cursor blinking is 11641 interrupted. (Ramel Eshed) 11642Solution: Don't update the cursor when it is blinking. 11643Files: src/screen.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, 11644 src/gui_mac.c, src/proto/gui_mac.pro, src/gui_photon.c, 11645 src/proto/gui_photon.pro, src/gui_w32.c, src/proto/gui_w32.pro, 11646 src/gui_x11.c, src/proto/gui_x11.pro 11647 11648Patch 7.4.1891 11649Problem: Channel reading very long lines is slow. 11650Solution: Collapse multiple buffers until a NL is found. 11651Files: src/channel.c, src/netbeans.c, src/proto/channel.pro, 11652 src/structs.h 11653 11654Patch 7.4.1892 11655Problem: balloon eval only gets the window number, not the ID. 11656Solution: Add v:beval_winid. 11657Files: src/eval.c, src/gui_beval.c, src/vim.h 11658 11659Patch 7.4.1893 11660Problem: Cannot easily get the window ID for a buffer. 11661Solution: Add bufwinid(). 11662Files: src/eval.c, runtime/doc/eval.txt 11663 11664Patch 7.4.1894 11665Problem: Cannot get the window ID for a mouse click. 11666Solution: Add v:mouse_winid. 11667Files: src/eval.c, src/vim.h, runtime/doc/eval.txt 11668 11669Patch 7.4.1895 11670Problem: Cannot use a window ID where a window number is expected. 11671Solution: Add LOWEST_WIN_ID, so that the window ID can be used where a 11672 number is expected. 11673Files: src/window.c, src/eval.c, src/vim.h, runtime/doc/eval.txt, 11674 src/testdir/test_window_id.vim 11675 11676Patch 7.4.1896 11677Problem: Invoking mark_adjust() when adding a new line below the last line 11678 is pointless. 11679Solution: Skip calling mark_adjust() when appending below the last line. 11680Files: src/misc1.c, src/ops.c 11681 11682Patch 7.4.1897 11683Problem: Various typos, long lines and style mistakes. 11684Solution: Fix the typos, wrap lines, improve style. 11685Files: src/buffer.c, src/ex_docmd.c, src/getchar.c, src/option.c, 11686 src/main.aap, src/testdir/README.txt, 11687 src/testdir/test_reltime.vim, src/testdir/test_tagjump.vim, 11688 src/INSTALL, src/config.aap.in, src/if_mzsch.c 11689 11690Patch 7.4.1898 11691Problem: User commands don't support modifiers. 11692Solution: Add the <mods> item. (Yegappan Lakshmanan, closes #829) 11693Files: runtime/doc/map.txt, src/ex_docmd.c, src/testdir/Make_all.mak, 11694 src/testdir/test_usercommands.vim 11695 11696Patch 7.4.1899 11697Problem: GTK 3: cursor blinking doesn't work well. 11698Solution: Instead of gui_gtk_window_clear() use gui_mch_clear_block(). 11699 (Kazunobu Kuriyama) 11700Files: src/gui_gtk_x11.c 11701 11702Patch 7.4.1900 11703Problem: Using CTRL-] in the help on "{address}." doesn't work. 11704Solution: Recognize an item in {}. (Hirohito Higashi, closes #814) 11705Files: src/ex_cmds.c, src/testdir/test_help_tagjump.vim 11706 11707Patch 7.4.1901 11708Problem: Win32: the "Disabled" menu items would appear enabled. 11709Solution: Use submenu_id if there is a parent. (Shane Harper, closes #834) 11710Files: src/gui_w32.c 11711 11712Patch 7.4.1902 11713Problem: No test for collapsing buffers for a channel. Some text is lost. 11714Solution: Add a simple test. Set rq_buflen correctly. 11715Files: src/channel.c, src/testdir/test_channel.vim, 11716 src/testdir/test_channel_pipe.py 11717 11718Patch 7.4.1903 11719Problem: When writing viminfo merging current history with history in 11720 viminfo may drop recent history entries. 11721Solution: Add new format for viminfo lines, use it for history entries. Use 11722 a timestamp for ordering the entries. Add test_settime(). 11723 Add the viminfo version. Does not do merging on timestamp yet. 11724Files: src/eval.c, src/ex_getln.c, src/ex_cmds.c, src/structs.h, 11725 src/globals.h, src/proto/ex_cmds.pro, src/proto/ex_getln.pro, 11726 src/testdir/test_viminfo.vim 11727 11728Patch 7.4.1904 (after 7.4.1903) 11729Problem: Build fails. 11730Solution: Add missing changes. 11731Files: src/vim.h 11732 11733Patch 7.4.1905 (after 7.4.1903) 11734Problem: Some compilers can't handle a double semicolon. 11735Solution: Remove one semicolon. 11736Files: src/ex_cmds.c 11737 11738Patch 7.4.1906 11739Problem: Collapsing channel buffers and searching for NL does not work 11740 properly. (Xavier de Gaye, Ramel Eshed) 11741Solution: Do not assume the buffer contains a NUL or not. Change NUL bytes 11742 to NL to avoid the string is truncated. 11743Files: src/channel.c, src/netbeans.c, src/proto/channel.pro 11744 11745Patch 7.4.1907 11746Problem: Warnings from 64 bit compiler. 11747Solution: Change type to size_t. (Mike Williams) 11748Files: src/ex_cmds.c 11749 11750Patch 7.4.1908 11751Problem: Netbeans uses uninitialized pointer and freed memory. 11752Solution: Set "buffer" at the right place (hint by Ken Takata) 11753Files: src/netbeans.c 11754 11755Patch 7.4.1909 11756Problem: Doubled semicolons. 11757Solution: Reduce to one. (Dominique Pelle) 11758Files: src/dosinst.c, src/fold.c, src/gui_gtk_x11.c, src/gui_w32.c, 11759 src/main.c, src/misc2.c 11760 11761Patch 7.4.1910 11762Problem: Tests using external command to delete directory. 11763Solution: Use delete(). 11764Files: src/testdir/test17.in, src/testdir/test73.in, 11765 src/testdir/test_getcwd.in 11766 11767Patch 7.4.1911 11768Problem: Recent history lines may be lost when exiting Vim. 11769Solution: Merge history using the timestamp. 11770Files: src/ex_getln.c, src/ex_cmds.c, src/vim.h, src/proto/ex_getln.pro, 11771 src/testdir/test_viminfo.vim 11772 11773Patch 7.4.1912 11774Problem: No test for using setqflist() on an older quickfix list. 11775Solution: Add a couple of tests. 11776Files: src/testdir/test_quickfix.vim 11777 11778Patch 7.4.1913 11779Problem: When ":doautocmd" is used modelines are used even when no 11780 autocommands were executed. (Daniel Hahler) 11781Solution: Skip processing modelines. (closes #854) 11782Files: src/fileio.c, src/ex_cmds.c, src/ex_docmd.c, src/proto/fileio.pro 11783 11784Patch 7.4.1914 11785Problem: Executing autocommands while using the signal stack has a high 11786 chance of crashing Vim. 11787Solution: Don't invoke autocommands when on the signal stack. 11788Files: src/os_unix.c 11789 11790Patch 7.4.1915 11791Problem: The effect of the PopupMenu autocommand isn't directly visible. 11792Solution: Call gui_update_menus() before displaying the popup menu. (Shane 11793 Harper, closes #855) 11794Files: src/menu.c 11795 11796Patch 7.4.1916 (after 7.4.1906) 11797Problem: No proper test for what 7.4.1906 fixes. 11798Solution: Add a test for reading many lines. 11799Files: src/testdir/test_channel.vim 11800 11801Patch 7.4.1917 11802Problem: History lines read from viminfo in different encoding than when 11803 writing are not converted. 11804Solution: Convert the history lines. 11805Files: src/ex_cmds.c, src/testdir/test_viminfo.vim 11806 11807Patch 7.4.1918 11808Problem: Not enough testing for parsing viminfo lines. 11809Solution: Add test with viminfo lines in bad syntax. Fix memory leak. 11810Files: src/ex_cmds.c, src/ex_getln.c, src/testdir/test_viminfo.vim 11811 11812Patch 7.4.1919 11813Problem: Register contents is not merged when writing viminfo. 11814Solution: Use timestamps for register contents. 11815Files: src/ops.c, src/ex_getln.c, src/ex_cmds.c, src/proto/ex_cmds.pro, 11816 src/proto/ex_getln.pro, src/proto/ops.pro, src/vim.h 11817 11818Patch 7.4.1920 (after 7.4.1919) 11819Problem: Missing test changes. 11820Solution: Update viminfo test. 11821Files: src/testdir/test_viminfo.vim 11822 11823Patch 7.4.1921 (after 7.4.1919) 11824Problem: vim_time() not included when needed. 11825Solution: Adjust #ifdef. 11826Files: src/ex_cmds.c 11827 11828Patch 7.4.1922 11829Problem: Ruby 2.4.0 unifies Fixnum and Bignum into Integer. 11830Solution: Use rb_cInteger. (Weiyong Mao) 11831Files: src/if_ruby.c 11832 11833Patch 7.4.1923 11834Problem: Command line editing is not tested much. 11835Solution: Add tests for expanding the file name and 'wildmenu'. 11836Files: src/testdir/test_cmdline.vim, src/testdir/Make_all.mak 11837 11838Patch 7.4.1924 11839Problem: Missing "void" for functions without argument. 11840Solution: Add "void". (Hirohito Higashi) 11841Files: src/channel.c, src/edit.c, src/ex_cmds2.c, src/ops.c, src/screen.c 11842 11843Patch 7.4.1925 11844Problem: Viminfo does not merge file marks properly. 11845Solution: Use a timestamp. Add the :clearjumps command. 11846Files: src/mark.c, src/ex_cmds.c, src/ex_docmd.c, src/proto/mark.pro, 11847 src/structs.h, src/vim.h, src/ex_cmds.h, 11848 src/testdir/test_viminfo.vim 11849 11850Patch 7.4.1926 11851Problem: Possible crash with many history items. 11852Solution: Avoid the index going past the last item. 11853Files: src/ex_getln.c 11854 11855Patch 7.4.1927 11856Problem: Compiler warning for signed/unsigned. 11857Solution: Add type cast. 11858Files: src/if_mzsch.c 11859 11860Patch 7.4.1928 11861Problem: Overwriting pointer argument. 11862Solution: Assign to what it points to. (Dominique Pelle) 11863Files: src/fileio.c 11864 11865Patch 7.4.1929 11866Problem: Inconsistent indenting and weird name. 11867Solution: Fix indent, make name all upper case. (Ken Takata) 11868Files: src/if_ruby.c 11869 11870Patch 7.4.1930 11871Problem: Can't build without +spell but with +quickfix. (Charles) 11872Solution: Add better #ifdef around ml_append_buf(). (closes #864) 11873Files: src/memline.c 11874 11875Patch 7.4.1931 11876Problem: Using both old and new style file mark lines from viminfo. 11877Solution: Skip the old style lines if the viminfo file was written with a 11878 Vim version that supports the new style. 11879Files: src/ex_cmds.c 11880 11881Patch 7.4.1932 11882Problem: When writing viminfo the jumplist is not merged with the one in 11883 the viminfo file. 11884Solution: Merge based on timestamp. 11885Files: src/mark.c, src/testdir/test_viminfo.vim 11886 11887Patch 7.4.1933 11888Problem: Compiler warning about uninitialized variable. (Yegappan) 11889Solution: Give it a dummy value. 11890Files: src/ex_getln.c 11891 11892Patch 7.4.1934 11893Problem: New style tests not executed with MinGW compiler. 11894Solution: Add new style test support. (Yegappan Lakshmanan) 11895Files: src/testdir/Make_ming.mak 11896 11897Patch 7.4.1935 11898Problem: When using the GUI search/replace a second match right after the 11899 replacement is skipped. 11900Solution: Add the SEARCH_START flag. (Mleddy) 11901Files: src/gui.c 11902 11903Patch 7.4.1936 11904Problem: Off-by-one error in bounds check. (Coverity) 11905Solution: Check register number properly. 11906Files: src/ops.c 11907 11908Patch 7.4.1937 11909Problem: No test for directory stack in quickfix. 11910Solution: Add a test. (Yegappan Lakshmanan) 11911Files: src/testdir/test_quickfix.vim 11912 11913Patch 7.4.1938 11914Problem: When writing viminfo numbered marks were duplicated. 11915Solution: Check for duplicates between current numbered marks and the ones 11916 read from viminfo. 11917Files: src/mark.c 11918 11919Patch 7.4.1939 11920Problem: Memory access error when reading viminfo. (Dominique Pelle) 11921Solution: Correct index in jumplist when at the end. 11922Files: src/mark.c, src/testdir/test_viminfo.vim 11923 11924Patch 7.4.1940 11925Problem: "gd" hangs in some situations. (Eric Biggers) 11926Solution: Remove the SEARCH_START flag when looping. Add a test. 11927Files: src/normal.c, src/testdir/test_goto.vim 11928 11929Patch 7.4.1941 11930Problem: Not all quickfix tests are also done with the location lists. 11931Solution: Test more quickfix code. Use user commands instead of "exe". 11932 (Yegappan Lakshmanan) 11933Files: src/testdir/test_quickfix.vim 11934 11935Patch 7.4.1942 11936Problem: Background is not drawn properly when 'termguicolors' is set. 11937Solution: Check cterm_normal_bg_color. (Jacob Niehus, closes #805) 11938Files: src/screen.c 11939 11940Patch 7.4.1943 11941Problem: Coverity warns for unreachable code. 11942Solution: Remove the code that won't do anything. 11943Files: src/mark.c 11944 11945Patch 7.4.1944 11946Problem: Win32: Cannot compile with XPM feature using VC2015 11947Solution: Add XPM libraries compiled with VC2015, and enable to build 11948 gvim.exe which supports XPM using VC2015. (Ken Takata) 11949Files: src/Make_mvc.mak, src/xpm/x64/lib-vc14/libXpm.lib, 11950 src/xpm/x86/lib-vc14/libXpm.lib 11951 11952Patch 7.4.1945 11953Problem: The Man plugin doesn't work that well. 11954Solution: Use "g:ft_man_open_mode" to be able open man pages in vert split 11955 or separate tab. Set nomodifiable for buffer with man content. Add 11956 a test. (Andrey Starodubtsev, closes #873) 11957Files: runtime/ftplugin/man.vim, src/testdir/test_man.vim, 11958 src/testdir/Make_all.mak 11959 11960Patch 7.4.1946 (after 7.4.1944) 11961Problem: File list does not include new XPM libraries. 11962Solution: Add the file list entries. 11963Files: Filelist 11964 11965Patch 7.4.1947 11966Problem: Viminfo continuation line with wrong length isn't skipped. (Marius 11967 Gedminas) 11968Solution: Skip a line when encountering an error, but not two lines. 11969Files: src/ex_cmds.c 11970 11971Patch 7.4.1948 11972Problem: Using Ctrl-A with double-byte encoding may result in garbled text. 11973Solution: Skip to the start of a character. (Hirohito Higashi) 11974Files: src/ops.c 11975 11976Patch 7.4.1949 11977Problem: Minor problems with the quickfix code. 11978Solution: Fix the problems. (Yegappan Lakshmanan) 11979Files: src/quickfix.c, src/testdir/test_quickfix.vim 11980 11981Patch 7.4.1950 11982Problem: Quickfix long lines test not executed for buffer. 11983Solution: Call the function to test long lines. (Yegappan Lakshmanan) 11984Files: src/testdir/test_quickfix.vim 11985 11986Patch 7.4.1951 11987Problem: Ruby test is old style. 11988Solution: Convert to a new style test. (Ken Takata) 11989Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_ruby.in, 11990 src/testdir/test_ruby.ok, src/testdir/test_ruby.vim 11991 11992Patch 7.4.1952 11993Problem: Cscope interface does not support finding assignments. 11994Solution: Add the "a" command. (ppettina, closes #882) 11995Files: runtime/doc/if_cscop.txt, src/if_cscope.c 11996 11997Patch 7.4.1953 11998Problem: Not all parts of the quickfix code are tested. 11999Solution: Add more tests. (Yegappan Lakshmanan) 12000Files: src/testdir/samples/quickfix.txt, 12001 src/testdir/test_quickfix.vim 12002 12003Patch 7.4.1954 (after 7.4.1948) 12004Problem: No test for what 7.4.1948 fixes. 12005Solution: Add a test. (Hirohito Higashi, closes #880) 12006Files: src/Makefile, src/testdir/Make_all.mak, 12007 src/testdir/test_increment_dbcs.vim 12008 12009Patch 7.4.1955 12010Problem: Using 32-bit Perl with 64-bit time_t causes memory corruption. 12011 (Christian Brabandt) 12012Solution: Use time_T instead of time_t for global variables. (Ken Takata) 12013Files: src/ex_cmds.c, src/globals.h, src/misc2.c, src/proto/ex_cmds.pro, 12014 src/proto/misc2.pro, src/structs.h, src/vim.h 12015 12016Patch 7.4.1956 12017Problem: When using CTRL-W f and pressing "q" at the ATTENTION dialog the 12018 newly opened window is not closed. 12019Solution: Close the window and go back to the original one. (Norio Takagi, 12020 Hirohito Higashi) 12021Files: src/window.c, src/testdir/test_window_cmd.vim 12022 12023Patch 7.4.1957 12024Problem: Perl interface has obsolete workaround. 12025Solution: Remove the workaround added by 7.3.623. (Ken Takata) 12026Files: src/if_perl.xs 12027 12028Patch 7.4.1958 12029Problem: Perl interface preprocessor statements not nicely indented. 12030Solution: Improve the indenting. (Ken Takata) 12031Files: src/if_perl.xs 12032 12033Patch 7.4.1959 12034Problem: Crash when running test_channel.vim on Windows. 12035Solution: Check for NULL pointer result from FormatMessage(). (Christian 12036 Brabandt) 12037Files: src/channel.c 12038 12039Patch 7.4.1960 12040Problem: Unicode standard 9 was released. 12041Solution: Update the character property tables. (Christian Brabandt) 12042Files: src/mbyte.c 12043 12044Patch 7.4.1961 12045Problem: When 'insertmode' is reset while doing completion the popup menu 12046 remains even though Vim is in Normal mode. 12047Solution: Ignore stop_insert_mode when the popup menu is visible. Don't set 12048 stop_insert_mode when 'insertmode' was already off. (Christian 12049 Brabandt) 12050Files: src/edit.c, src/option.c, src/Makefile, src/testdir/test_alot.vim, 12051 src/testdir/test_popup.vim 12052 12053Patch 7.4.1962 12054Problem: Two test files for increment/decrement. 12055Solution: Move the old style test into the new style test. (Hirohito 12056 Higashi, closes #881) 12057Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/main.aap, 12058 src/testdir/test35.in, src/testdir/test35.ok, 12059 src/testdir/test_increment.vim 12060 12061Patch 7.4.1963 12062Problem: Running Win32 Vim in mintty does not work. 12063Solution: Detect mintty and give a helpful error message. (Ken Takata) 12064Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/iscygpty.c, 12065 src/iscygpty.h, src/main.c, Filelist 12066 12067Patch 7.4.1964 12068Problem: The quickfix init function is too big. 12069Solution: Factor out parsing 'errorformat' to a separate function. (Yegappan 12070 Lakshmanan) 12071Files: src/quickfix.c 12072 12073Patch 7.4.1965 12074Problem: When using a job in raw mode to append to a buffer garbage 12075 characters are added. 12076Solution: Do not replace the trailing NUL with a NL. (Ozaki Kiichi) 12077Files: src/channel.c, src/testdir/test_channel.vim 12078 12079Patch 7.4.1966 12080Problem: Coverity reports a resource leak. 12081Solution: Close "fd" also when bailing out. 12082Files: src/quickfix.c 12083 12084Patch 7.4.1967 12085Problem: Falling back from NFA to old regexp engine does not work properly. 12086 (fritzophrenic) 12087Solution: Do not restore nfa_match. (Christian Brabandt, closes #867) 12088Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 12089 12090Patch 7.4.1968 12091Problem: Invalid memory access with "\<C-">. 12092Solution: Do not recognize this as a special character. (Dominique Pelle) 12093Files: src/misc2.c, src/testdir/test_expr.vim 12094 12095Patch 7.4.1969 12096Problem: When the netbeans channel is closed consuming the buffer may cause 12097 a crash. 12098Solution: Check for nb_channel not to be NULL. (Xavier de Gaye) 12099Files: src/netbeans.c 12100 12101Patch 7.4.1970 12102Problem: Using ":insert" in an empty buffer sets the jump mark. (Ingo 12103 Karkat) 12104Solution: Don't adjust marks when replacing the empty line in an empty 12105 buffer. (closes #892) 12106Files: src/ex_cmds.c, src/testdir/test_jumps.vim, 12107 src/testdir/test_alot.vim 12108 12109Patch 7.4.1971 12110Problem: It is not easy to see unrecognized error lines below the current 12111 error position. 12112Solution: Add ":clist +count". 12113Files: src/quickfix.c, runtime/doc/quickfix.txt 12114 12115Patch 7.4.1972 12116Problem: On Solaris select() does not work as expected when there is 12117 typeahead. 12118Solution: Add ICANON when sleeping. (Ozaki Kiichi) 12119Files: src/os_unix.c 12120 12121Patch 7.4.1973 12122Problem: On MS-Windows the package directory may be added at the end 12123 because of forward/backward slash differences. (Matthew 12124 Desjardins) 12125Solution: Ignore slash differences. 12126Files: src/ex_cmds2.c 12127 12128Patch 7.4.1974 12129Problem: GUI has a problem with some termcodes. 12130Solution: Handle negative numbers. (Kazunobu Kuriyama) 12131Files: src/gui.c 12132 12133Patch 7.4.1975 12134Problem: On MS-Windows large files (> 2Gbyte) cause problems. 12135Solution: Use "off_T" instead of "off_t". Use "stat_T" instead of "struct 12136 stat". Use 64 bit system functions if available. (Ken Takata) 12137Files: src/Makefile, src/buffer.c, src/diff.c, src/eval.c, src/ex_cmds.c, 12138 src/ex_cmds2.c, src/fileio.c, src/gui.c, src/gui_at_fs.c, 12139 src/if_cscope.c, src/main.c, src/memfile.c, src/memline.c, 12140 src/misc1.c, src/misc2.c, src/netbeans.c, src/os_mswin.c, 12141 src/os_win32.c, src/proto/fileio.pro, src/proto/memline.pro, 12142 src/proto/os_mswin.pro, src/pty.c, src/quickfix.c, src/spell.c, 12143 src/structs.h, src/tag.c, src/testdir/Make_all.mak, 12144 src/testdir/test_largefile.vim, src/testdir/test_stat.vim, 12145 src/undo.c, src/vim.h 12146 12147Patch 7.4.1976 12148Problem: Number variables are not 64 bits while they could be. 12149Solution: Add the num64 feature. (Ken Takata, Yasuhiro Matsumoto) 12150Files: runtime/doc/eval.txt, runtime/doc/various.txt, 12151 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/charset.c, 12152 src/eval.c, src/ex_cmds.c, src/ex_getln.c, src/feature.h, 12153 src/fileio.c, src/fold.c, src/json.c, src/message.c, src/misc1.c, 12154 src/misc2.c, src/ops.c, src/option.c, src/proto/charset.pro, 12155 src/proto/eval.pro, src/quickfix.c, src/structs.h, 12156 src/testdir/test_viml.vim, src/version.c 12157 12158Patch 7.4.1977 12159Problem: With 64 bit changes don't need three calls to sprintf(). 12160Solution: Simplify the code, use vim_snprintf(). (Ken Takata) 12161Files: src/fileio.c 12162 12163Patch 7.4.1978 (after 7.4.1975) 12164Problem: Large file test does not delete its output. 12165Solution: Delete the output. Check size properly when possible. (Ken Takata) 12166Files: src/testdir/test_largefile.vim 12167 12168Patch 7.4.1979 (after 7.4.1976) 12169Problem: Getting value of binary option is wrong. (Kent Sibilev) 12170Solution: Fix type cast. Add a test. 12171Files: src/option.c, src/testdir/test_expr.vim 12172 12173Patch 7.4.1980 12174Problem: 'errorformat' is parsed for every call to ":caddexpr". Can't add 12175 to two location lists asynchronously. 12176Solution: Keep the previously parsed data when appropriate. (mostly by 12177 Yegappan Lakshmanan) 12178Files: src/quickfix.c, src/testdir/test_quickfix.vim 12179 12180Patch 7.4.1981 12181Problem: No testing for Farsi code. 12182Solution: Add a minimal test. Clean up Farsi code. 12183Files: src/farsi.c, src/Makefile, src/charset.c, src/normal.c, 12184 src/proto/main.pro, src/testdir/Make_all.mak, 12185 src/testdir/test_farsi.vim 12186 12187Patch 7.4.1982 12188Problem: Viminfo file contains duplicate change marks. 12189Solution: Drop duplicate marks. 12190Files: src/mark.c 12191 12192Patch 7.4.1983 12193Problem: farsi.c and arabic.c are included in a strange way. 12194Solution: Build them like other files. 12195Files: src/main.c, src/farsi.c, src/arabic.c, src/proto.h, 12196 src/proto/main.pro, src/proto/farsi.pro, src/proto/arabic.pro, 12197 src/Makefile, src/Make_bc5.mak, src/Make_cyg_ming.mak, 12198 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, 12199 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak, 12200 Filelist 12201 12202Patch 7.4.1984 12203Problem: Not all quickfix features are tested. 12204Solution: Add a few more tests. (Yegappan Lakshmanan) 12205Files: src/testdir/test_quickfix.vim 12206 12207Patch 7.4.1985 (after 7.4.1983) 12208Problem: Missing changes in VMS build file. 12209Solution: Use the right file name. 12210Files: src/Make_vms.mms 12211 12212Patch 7.4.1986 12213Problem: Compiler warns for loss of data. 12214Solution: Use size_t instead of int. (Christian Brabandt) 12215Files: src/ex_cmds2.c 12216 12217Patch 7.4.1987 12218Problem: When copying unrecognized lines for viminfo, end up with useless 12219 continuation lines. 12220Solution: Skip continuation lines. 12221Files: src/ex_cmds.c 12222 12223Patch 7.4.1988 12224Problem: When updating viminfo with file marks there is no time order. 12225Solution: Remember the time when a buffer was last used, store marks for 12226 the most recently used buffers. 12227Files: src/buffer.c, src/structs.h, src/mark.c, src/main.c, 12228 src/ex_cmds.c, src/proto/mark.pro, src/testdir/test_viminfo.vim 12229 12230Patch 7.4.1989 12231Problem: filter() and map() only accept a string argument. 12232Solution: Implement using a Funcref argument (Yasuhiro Matsumoto, Ken 12233 Takata) 12234Files: runtime/doc/eval.txt, src/Makefile, src/eval.c, 12235 src/testdir/test_alot.vim, src/testdir/test_filter_map.vim, 12236 src/testdir/test_partial.vim 12237 12238Patch 7.4.1990 (after 7.4.1952) 12239Problem: Cscope items are not sorted. 12240Solution: Put the new "a" command first. (Ken Takata) 12241Files: src/if_cscope.c 12242 12243Patch 7.4.1991 12244Problem: glob() does not add a symbolic link when there are no wildcards. 12245Solution: Remove the call to mch_getperm(). 12246Files: src/misc1.c 12247 12248Patch 7.4.1992 12249Problem: Values for true and false can be confusing. 12250Solution: Update the documentation. Add a test. Make v:true evaluate to 12251 TRUE for a non-zero-arg. 12252Files: runtime/doc/eval.txt, src/eval.c, src/Makefile, 12253 src/testdir/test_true_false.vim, src/testdir/test_alot.vim 12254 12255Patch 7.4.1993 12256Problem: Not all TRUE and FALSE arguments are tested. 12257Solution: Add a few more tests. 12258Files: src/testdir/test_true_false.vim 12259 12260Patch 7.4.1994 (after 7.4.1993) 12261Problem: True-false test fails. 12262Solution: Filter the dict to only keep the value that matters. 12263Files: src/testdir/test_true_false.vim 12264 12265Patch 7.4.1995 12266Problem: GUI: cursor drawn in wrong place if a timer callback causes a 12267 screen update. (David Samvelyan) 12268Solution: Also redraw the cursor when it's blinking and on. 12269Files: src/gui_gtk_x11.c, src/gui_mac.c, src/gui_photon.c, src/gui_w32.c, 12270 src/gui_x11.c, src/screen.c, src/proto/gui_gtk_x11.pro, 12271 src/proto/gui_mac.pro, src/proto/gui_photon.pro, 12272 src/proto/gui_w32.pro, src/proto/gui_x11.pro 12273 12274Patch 7.4.1996 12275Problem: Capturing the output of a command takes a few commands. 12276Solution: Add evalcmd(). 12277Files: src/eval.c, runtime/doc/eval.txt, src/testdir/test_alot.vim, 12278 src/Makefile, src/testdir/test_evalcmd.vim 12279 12280Patch 7.4.1997 12281Problem: Cannot easily scroll the quickfix window. 12282Solution: Add ":cbottom". 12283Files: src/ex_cmds.h, src/quickfix.c, src/proto/quickfix.pro, 12284 src/ex_docmd.c, src/testdir/test_quickfix.vim, 12285 runtime/doc/quickfix.txt 12286 12287Patch 7.4.1998 12288Problem: When writing buffer lines to a job there is no NL to NUL 12289 conversion. 12290Solution: Make it work symmetrical with writing lines from a job into a 12291 buffer. 12292Files: src/channel.c, src/proto/channel.pro, src/netbeans.c 12293 12294Patch 7.4.1999 12295Problem: evalcmd() doesn't work recursively. 12296Solution: Use redir_evalcmd instead of redir_vname. 12297Files: src/message.c, src/eval.c, src/globals.h, src/proto/eval.pro, 12298 src/testdir/test_evalcmd.vim 12299 12300Patch 7.4.2000 (after 7.4.1999) 12301Problem: Evalcmd test fails. 12302Solution: Add missing piece. 12303Files: src/ex_docmd.c 12304 12305Patch 7.4.2001 (after 7.4.2000) 12306Problem: Tiny build fails. (Tony Mechelynck) 12307Solution: Add #ifdef. 12308Files: src/ex_docmd.c 12309 12310Patch 7.4.2002 12311Problem: Crash when passing number to filter() or map(). 12312Solution: Convert to a string. (Ozaki Kiichi) 12313Files: src/eval.c, src/testdir/test_filter_map.vim 12314 12315Patch 7.4.2003 12316Problem: Still cursor flickering when a callback updates the screen. (David 12317 Samvelyan) 12318Solution: Put the cursor in the right position after updating the screen. 12319Files: src/screen.c 12320 12321Patch 7.4.2004 12322Problem: GUI: cursor displayed in the wrong position. 12323Solution: Correct screen_cur_col and screen_cur_row. 12324Files: src/screen.c 12325 12326Patch 7.4.2005 12327Problem: After using evalcmd() message output is in the wrong position. 12328 (Christian Brabandt) 12329Solution: Reset msg_col. 12330Files: src/eval.c 12331 12332Patch 7.4.2006 12333Problem: Crash when using tabnext in BufUnload autocmd. (Norio Takagi) 12334Solution: First check that the current buffer is the right one. (Hirohito 12335 Higashi) 12336Files: src/buffer.c, src/testdir/test_autocmd.vim 12337 12338Patch 7.4.2007 12339Problem: Running the tests leaves a viminfo file behind. 12340Solution: Make the viminfo option empty. 12341Files: src/testdir/runtest.vim 12342 12343Patch 7.4.2008 12344Problem: evalcmd() has a confusing name. 12345Solution: Rename to execute(). Make silent optional. Support a list of 12346 commands. 12347Files: src/eval.c, src/ex_docmd.c, src/message.c, src/globals.h, 12348 src/proto/eval.pro, src/Makefile, src/testdir/test_evalcmd.vim, 12349 src/testdir/test_execute_func.vim, src/testdir/test_alot.vim, 12350 runtime/doc/eval.txt 12351 12352Patch 7.4.2009 (after 7.4.2008) 12353Problem: Messages test fails. 12354Solution: Don't set redir_execute before returning. Add missing version 12355 number. 12356Files: src/eval.c 12357 12358Patch 7.4.2010 12359Problem: There is a :cbottom command but no :lbottom command. 12360Solution: Add :lbottom. (Yegappan Lakshmanan) 12361Files: runtime/doc/index.txt, runtime/doc/quickfix.txt, src/ex_cmds.h, 12362 src/quickfix.c, src/testdir/test_quickfix.vim 12363 12364Patch 7.4.2011 12365Problem: It is not easy to get a list of command arguments. 12366Solution: Add getcompletion(). (Yegappan Lakshmanan) 12367Files: runtime/doc/eval.txt, src/eval.c, src/ex_docmd.c, 12368 src/proto/ex_docmd.pro, src/testdir/test_cmdline.vim 12369 12370Patch 7.4.2012 (after 7.4.2011) 12371Problem: Test for getcompletion() does not pass on all systems. 12372Solution: Only test what is supported. 12373Files: src/testdir/test_cmdline.vim 12374 12375Patch 7.4.2013 12376Problem: Using "noinsert" in 'completeopt' breaks redo. 12377Solution: Set compl_curr_match. (Shougo Matsu, closes #874) 12378Files: src/edit.c, src/testdir/test_popup.vim 12379 12380Patch 7.4.2014 12381Problem: Using "noinsert" in 'completeopt' does not insert match. 12382Solution: Set compl_enter_selects. (Shougo Matsu, closes #875) 12383Files: src/edit.c, src/testdir/test_popup.vim 12384 12385Patch 7.4.2015 12386Problem: When a file gets a name when writing it 'acd' is not effective. 12387 (Dan Church) 12388Solution: Invoke DO_AUTOCHDIR after writing the file. (Allen Haim, closes 12389 #777, closes #803) Add test_autochdir() to enable 'acd' before 12390 "starting" is reset. 12391Files: src/ex_cmds.c, src/buffer.c, src/eval.c, src/globals.h, 12392 src/Makefile, src/testdir/test_autochdir.vim, 12393 src/testdir/Make_all.mak 12394 12395Patch 7.4.2016 12396Problem: Warning from MinGW about _WIN32_WINNT redefined. (John Marriott) 12397Solution: First undefine it. (Ken Takata) 12398Files: src/Make_cyg_ming.mak 12399 12400Patch 7.4.2017 12401Problem: When there are many errors adding them to the quickfix list takes 12402 a long time. 12403Solution: Add BLN_NOOPT. Don't call buf_valid() in buf_copy_options(). 12404 Remember the last file name used. When going through the buffer 12405 list start from the end of the list. Only call buf_valid() when 12406 autocommands were executed. 12407Files: src/buffer.c, src/option.c, src/quickfix.c, src/vim.h 12408 12409Patch 7.4.2018 12410Problem: buf_valid() can be slow when there are many buffers. 12411Solution: Add bufref_valid(), only go through the buffer list when a buffer 12412 was freed. 12413Files: src/structs.h, src/buffer.c, src/quickfix.c, src/proto/buffer.pro 12414 12415Patch 7.4.2019 12416Problem: When ignoring case utf_fold() may consume a lot of time. 12417Solution: Optimize for ASCII. 12418Files: src/mbyte.c 12419 12420Patch 7.4.2020 12421Problem: Can't build without +autocmd feature. 12422Solution: Adjust #ifdefs. 12423Files: src/buffer.c 12424 12425Patch 7.4.2021 12426Problem: Still too many buf_valid() calls. 12427Solution: Make au_new_curbuf a bufref. Use bufref_valid() in more places. 12428Files: src/ex_cmds.c, src/buffer.c, src/globals.h 12429 12430Patch 7.4.2022 12431Problem: Warnings from 64 bit compiler. 12432Solution: Add type casts. (Mike Williams) 12433Files: src/eval.c 12434 12435Patch 7.4.2023 12436Problem: buflist_findname_stat() may find a dummy buffer. 12437Solution: Set the BF_DUMMY flag after loading a dummy buffer. Start 12438 finding buffers from the end of the list. 12439Files: src/quickfix.c, src/buffer.c 12440 12441Patch 7.4.2024 12442Problem: More buf_valid() calls can be optimized. 12443Solution: Use bufref_valid() instead. 12444Files: src/buffer.c, src/ex_cmds.c, src/structs.h, src/channel.c, 12445 src/diff.c, src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, 12446 src/ex_getln.c, src/fileio.c, src/main.c, src/misc2.c, 12447 src/netbeans.c, src/quickfix.c, src/spell.c, src/term.c, 12448 src/if_py_both.h, src/window.c, src/proto/buffer.pro, 12449 src/proto/window.pro 12450 12451Patch 7.4.2025 12452Problem: The cursor blinking stops or is irregular when receiving date over 12453 a channel and writing it in a buffer, and when updating the status 12454 line. (Ramel Eshed) 12455Solution: Make it a bit better by flushing GUI output. Don't redraw the 12456 cursor after updating the screen if the blink state is off. 12457Files: src/gui_gtk_x11.c, src/screen.c 12458 12459Patch 7.4.2026 12460Problem: Reference counting for callbacks isn't right. 12461Solution: Add free_callback(). (Ken Takata) Fix reference count. 12462Files: src/channel.c, src/eval.c, src/ex_cmds2.c, src/proto/eval.pro 12463 12464Patch 7.4.2027 12465Problem: Can't build with +eval but without +menu. 12466Solution: Add #ifdef. (John Marriott) 12467Files: src/eval.c 12468 12469Patch 7.4.2028 12470Problem: cppcheck warns for using index before limits check. 12471Solution: Swap the expressions. (Dominique Pelle) 12472Files: src/mbyte.c 12473 12474Patch 7.4.2029 12475Problem: printf() does not work with 64 bit numbers. 12476Solution: use the "L" length modifier. (Ken Takata) 12477Files: src/message.c, src/testdir/test_expr.vim 12478 12479Patch 7.4.2030 12480Problem: ARCH must be set properly when using MinGW. 12481Solution: Detect the default value of ARCH from the current compiler. (Ken 12482 Takata) 12483Files: src/Make_cyg_ming.mak 12484 12485Patch 7.4.2031 12486Problem: The list_lbr_utf8 test fails if ~/.vim/syntax/c.vim sets 12487 'textwidth' to a non-zero value. (Oyvind A. Holm) 12488Solution: Add a setup.vim file that sets 'runtimepath' and $HOME to a safe 12489 value. (partly by Christian Brabandt, closes #912) 12490Files: src/testdir/setup.vim, src/testdir/amiga.vim, src/testdir/dos.vim, 12491 src/testdir/unix.vim, src/testdir/vms.vim, src/testdir/runtest.vim 12492 12493Patch 7.4.2032 (after 7.4.2030) 12494Problem: Build fails with 64 bit MinGW. (Axel Bender) 12495Solution: Handle dash vs. underscore. (Ken Takata, Hirohito Higashi) 12496Files: src/Make_cyg_ming.mak 12497 12498Patch 7.4.2033 12499Problem: 'cscopequickfix' option does not accept new value "a". 12500Solution: Adjust list of command characters. (Ken Takata) 12501Files: src/option.h, src/Makefile, src/testdir/test_cscope.vim, 12502 src/testdir/Make_all.mak 12503 12504Patch 7.4.2034 (after 7.4.2032) 12505Problem: Build fails with some version of MinGW. (illusorypan) 12506Solution: Recognize mingw32. (Ken Takata, closes #921) 12507Files: src/Make_cyg_ming.mak 12508 12509Patch 7.4.2035 12510Problem: On Solaris with ZFS the ACL may get removed. 12511Solution: Always restore the ACL for Solaris ZFS. (Danek Duvall) 12512Files: src/fileio.c 12513 12514Patch 7.4.2036 12515Problem: Looking up a buffer by number is slow if there are many. 12516Solution: Use a hashtab. 12517Files: src/structs.h, src/buffer.c 12518 12519Patch 7.4.2037 (after 7.4.2036) 12520Problem: Small build fails. 12521Solution: Adjust #ifdefs. 12522Files: src/hashtab.c 12523 12524Patch 7.4.2038 (after 7.4.2036) 12525Problem: Small build still fails. 12526Solution: Adjust more #ifdefs. 12527Files: src/globals.h, src/buffer.c 12528 12529Patch 7.4.2039 12530Problem: The Netbeans integration is not tested. 12531Solution: Add a first Netbeans test. 12532Files: src/testdir/test_netbeans.vim, src/testdir/test_netbeans.py, 12533 src/testdir/Make_all.mak, src/Makefile, 12534 src/testdir/test_channel.vim, src/testdir/shared.vim 12535 12536Patch 7.4.2040 12537Problem: New files missing from distribution. 12538Solution: Add new test scripts. 12539Files: Filelist 12540 12541Patch 7.4.2041 12542Problem: Netbeans file authentication not tested. 12543Solution: Add a test. 12544Files: src/testdir/test_netbeans.vim 12545 12546Patch 7.4.2042 12547Problem: GTK: display updating is not done properly and can be slow. 12548Solution: Use gdk_display_flush() instead of gdk_display_sync(). Don't call 12549 gdk_window_process_updates(). (Kazunobu Kuriyama) 12550Files: src/gui_gtk_x11.c 12551 12552Patch 7.4.2043 12553Problem: setbuvfar() causes a screen redraw. 12554Solution: Only use aucmd_prepbuf() for options. 12555Files: src/eval.c 12556 12557Patch 7.4.2044 12558Problem: filter() and map() either require a string or defining a function. 12559Solution: Support lambda, a short way to define a function that evaluates an 12560 expression. (Yasuhiro Matsumoto, Ken Takata) 12561Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_alot.vim, 12562 src/Makefile, src/testdir/test_channel.vim, 12563 src/testdir/test_lambda.vim 12564 12565Patch 7.4.2045 12566Problem: Memory leak when using a function callback. 12567Solution: Don't save the function name when it's in the partial. 12568Files: src/channel.c 12569 12570Patch 7.4.2046 12571Problem: The qf_init_ext() function is too big. 12572Solution: Refactor it. (Yegappan Lakshmanan) 12573Files: src/quickfix.c 12574 12575Patch 7.4.2047 12576Problem: Compiler warning for initializing a struct. 12577Solution: Initialize in another way. (Anton Lindqvist) 12578Files: src/quickfix.c 12579 12580Patch 7.4.2048 12581Problem: There is still code and help for unsupported systems. 12582Solution: Remove the code and text. (Hirohito Higashi) 12583Files: runtime/doc/eval.txt, runtime/lang/menu_sk_sk.vim, 12584 runtime/menu.vim, runtime/optwin.vim, src/Make_bc5.mak, 12585 src/ex_docmd.c, src/feature.h, src/fileio.c, src/globals.h, 12586 src/main.c, src/memfile.c, src/memline.c, src/misc1.c, 12587 src/misc2.c, src/option.c, src/option.h, src/os_unix.c, 12588 src/os_unix.h, src/proto.h, src/term.c, src/undo.c, src/version.c, 12589 src/vim.h, src/xxd/xxd.c 12590 12591Patch 7.4.2049 12592Problem: There is no way to get a list of the error lists. 12593Solution: Add ":chistory" and ":lhistory". 12594Files: src/ex_cmds.h, src/quickfix.c, src/ex_docmd.c, src/message.c, 12595 src/proto/quickfix.pro, src/testdir/test_quickfix.vim 12596 12597Patch 7.4.2050 12598Problem: When using ":vimgrep" may end up with duplicate buffers. 12599Solution: When adding an error list entry pass the buffer number if possible. 12600Files: src/quickfix.c, src/testdir/test_quickfix.vim 12601 12602Patch 7.4.2051 12603Problem: No proper testing of trunc_string(). 12604Solution: Add a unittest for message.c. 12605Files: src/Makefile, src/message.c, src/message_test.c, src/main.c, 12606 src/proto/main.pro, src/structs.h 12607 12608Patch 7.4.2052 12609Problem: Coverage report is messed up by the unittests. 12610Solution: Add a separate test target for script tests. Use that when 12611 collecting coverage information. 12612Files: src/Makefile 12613 12614Patch 7.4.2053 12615Problem: Can't run scripttests in the top directory. 12616Solution: Add targets to the top Makefile. 12617Files: Makefile 12618 12619Patch 7.4.2054 (after 7.4.2048) 12620Problem: Wrong part of #ifdef removed. 12621Solution: Use the right part. (Hirohito Higashi) 12622Files: src/os_unix.c 12623 12624Patch 7.4.2055 12625Problem: eval.c is too big 12626Solution: Move Dictionary functions to dict.c 12627Files: src/eval.c, src/dict.c, src/vim.h, src/globals.h, 12628 src/proto/eval.pro, src/proto/dict.pro, src/Makefile, Filelist 12629 12630Patch 7.4.2056 (after 7.4.2055) 12631Problem: Build fails. 12632Solution: Add missing changes. 12633Files: src/proto.h 12634 12635Patch 7.4.2057 12636Problem: eval.c is too big. 12637Solution: Move List functions to list.c 12638Files: src/eval.c, src/dict.c, src/list.c, src/proto.h, src/Makefile, 12639 src/globals.h, src/proto/eval.pro, src/proto/list.pro, Filelist 12640 12641Patch 7.4.2058 12642Problem: eval.c is too big. 12643Solution: Move user functions to userfunc.c 12644Files: src/userfunc.c, src/eval.c, src/vim.h, src/globals.h, 12645 src/structs.h, src/proto.h, src/Makefile, src/proto/eval.pro, 12646 src/proto/userfunc.pro, Filelist 12647 12648Patch 7.4.2059 12649Problem: Non-Unix builds fail. 12650Solution: Update Makefiles for new files. 12651Files: src/Make_bc5.mak, src/Make_cyg_ming.mak, src/Make_dice.mak, 12652 src/Make_ivc.mak, src/Make_manx.mak, src/Make_morph.mak, 12653 src/Make_mvc.mak, src/Make_sas.mak 12654 12655Patch 7.4.2060 (after 7.4.2059) 12656Problem: Wrong file name. 12657Solution: Fix typo. 12658Files: src/Make_mvc.mak 12659 12660Patch 7.4.2061 12661Problem: qf_init_ext() is too big. 12662Solution: Move code to qf_parse_line() (Yegappan Lakshmanan) 12663Files: src/quickfix.c, src/testdir/test_quickfix.vim 12664 12665Patch 7.4.2062 12666Problem: Using dummy variable to compute struct member offset. 12667Solution: Use offsetof(). 12668Files: src/globals.h, src/macros.h, src/vim.h, src/spell.c 12669 12670Patch 7.4.2063 12671Problem: eval.c is still too big. 12672Solution: Split off internal functions to evalfunc.c. 12673Files: src/eval.c, src/evalfunc.c, src/list.c, src/proto.h, 12674 src/globals.h, src/vim.h, src/proto/eval.pro, 12675 src/proto/evalfunc.pro, src/proto/list.pro, src/Makefile, Filelist, 12676 src/Make_bc5.mak, src/Make_cyg_ming.mak, src/Make_dice.mak, 12677 src/Make_ivc.mak, src/Make_manx.mak, src/Make_morph.mak, 12678 src/Make_mvc.mak, src/Make_sas.mak 12679 12680Patch 7.4.2064 12681Problem: Coverity warns for possible buffer overflow. 12682Solution: Use vim_strcat() instead of strcat(). 12683Files: src/quickfix.c 12684 12685Patch 7.4.2065 12686Problem: Compiler warns for uninitialized variable. (John Marriott) 12687Solution: Set lnum to the right value. 12688Files: src/evalfunc.c 12689 12690Patch 7.4.2066 12691Problem: getcompletion() not well tested. 12692Solution: Add more testing. 12693Files: src/testdir/test_cmdline.vim 12694 12695Patch 7.4.2067 12696Problem: Compiler warning for char/char_u conversion. (Tony Mechelynck) 12697 Inefficient code. 12698Solution: Use more lines to fill with spaces. (Nikolai Pavlov) Add type cast. 12699Files: src/quickfix.c 12700 12701Patch 7.4.2068 12702Problem: Not all arguments of trunc_string() are tested. Memory access 12703 error when running the message tests. 12704Solution: Add another test case. (Yegappan Lakshmanan) Make it easy to run 12705 unittests with valgrind. Fix the access error. 12706Files: src/message.c, src/message_test.c, src/Makefile 12707 12708Patch 7.4.2069 12709Problem: spell.c is too big. 12710Solution: Split it in spell file handling and spell checking. 12711Files: src/spell.c, src/spellfile.c, src/spell.h, src/Makefile, 12712 src/proto/spell.pro, src/proto/spellfile.pro, src/proto.h 12713 Filelist, src/Make_bc5.mak, src/Make_cyg_ming.mak, 12714 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, 12715 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak 12716 12717Patch 7.4.2070 (after 7.4.2069) 12718Problem: Missing change to include file. 12719Solution: Include the spell header file. 12720Files: src/vim.h 12721 12722Patch 7.4.2071 12723Problem: The return value of type() is difficult to use. 12724Solution: Define v:t_ constants. (Ken Takata) 12725Files: runtime/doc/eval.txt, src/eval.c, src/evalfunc.c, 12726 src/testdir/test_channel.vim, src/testdir/test_viml.vim, src/vim.h 12727 12728Patch 7.4.2072 12729Problem: substitute() does not support a Funcref argument. 12730Solution: Support a Funcref like it supports a string starting with "\=". 12731Files: src/evalfunc.c, src/regexp.c, src/eval.c, src/proto/eval.pro, 12732 src/proto/regexp.pro, src/testdir/test_expr.vim 12733 12734Patch 7.4.2073 12735Problem: rgb.txt is read for every color name. 12736Solution: Load rgb.txt once. (Christian Brabandt) Add a test. 12737Files: runtime/rgb.txt, src/term.c, src/testdir/test_syn_attr.vim 12738 12739Patch 7.4.2074 12740Problem: One more place using a dummy variable. 12741Solution: Use offsetof(). (Ken Takata) 12742Files: src/userfunc.c 12743 12744Patch 7.4.2075 12745Problem: No autocommand event to initialize a window or tab page. 12746Solution: Add WinNew and TabNew events. (partly by Felipe Morales) 12747Files: src/fileio.c, src/window.c, src/vim.h, 12748 src/testdir/test_autocmd.vim, runtime/doc/autocmd.txt 12749 12750Patch 7.4.2076 12751Problem: Syntax error when dict has '>' key. 12752Solution: Check for endchar. (Ken Takata) 12753Files: src/userfunc.c, src/testdir/test_lambda.vim 12754 12755Patch 7.4.2077 12756Problem: Cannot update 'tabline' when a tab was closed. 12757Solution: Add the TabClosed autocmd event. (partly by Felipe Morales) 12758Files: src/fileio.c, src/window.c, src/vim.h, 12759 src/testdir/test_autocmd.vim, runtime/doc/autocmd.txt 12760 12761Patch 7.4.2078 12762Problem: Running checks in po directory fails. 12763Solution: Add colors used in syntax.c to the builtin color table. 12764Files: src/term.c 12765 12766Patch 7.4.2079 12767Problem: Netbeans test fails on non-Unix systems. 12768Solution: Only do the permission check on Unix systems. 12769Files: src/testdir/test_netbeans.vim 12770 12771Patch 7.4.2080 12772Problem: When using PERROR() on some systems assert_fails() does not see 12773 the error. 12774Solution: Make PERROR() always report the error. 12775Files: src/vim.h, src/message.c, src/proto/message.pro 12776 12777Patch 7.4.2081 12778Problem: Line numbers in the error list are not always adjusted. 12779Solution: Set b_has_qf_entry properly. (Yegappan Lakshmanan) 12780Files: src/quickfix.c, src/structs.h, src/testdir/test_quickfix.vim 12781 12782Patch 7.4.2082 12783Problem: Not much test coverage for digraphs. 12784Solution: Add a new style digraph test. (Christian Brabandt) 12785Files: src/Makefile, src/testdir/test_alot.vim, 12786 src/testdir/test_digraph.vim 12787 12788Patch 7.4.2083 12789Problem: Coverity complains about not restoring a value. 12790Solution: Restore the value, although it's not really needed. Change return 12791 to jump to cleanup, might leak memory. 12792Files: src/userfunc.c 12793 12794Patch 7.4.2084 12795Problem: New digraph test makes testing hang. 12796Solution: Don't set "nocp". 12797Files: src/testdir/test_digraph.vim 12798 12799Patch 7.4.2085 12800Problem: Digraph tests fails on some systems. 12801Solution: Run it separately and set 'encoding' early. 12802Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim, 12803 src/testdir/test_digraph.vim 12804 12805Patch 7.4.2086 12806Problem: Using the system default encoding makes tests unpredictable. 12807Solution: Always use utf-8 or latin1 in the new style tests. Remove setting 12808 encoding and scriptencoding where it is not needed. 12809Files: src/testdir/runtest.vim, src/testdir/test_channel.vim, 12810 src/testdir/test_digraph.vim, src/testdir/test_expand_dllpath.vim, 12811 src/testdir/test_expr_utf8.vim, src/testdir/test_json.vim, 12812 src/testdir/test_matchadd_conceal_utf8.vim, 12813 src/testdir/test_regexp_utf8.vim, src/testdir/test_visual.vim, 12814 src/testdir/test_alot_utf8.vim, 12815 12816Patch 7.4.2087 12817Problem: Digraph code test coverage is still low. 12818Solution: Add more tests. (Christian Brabandt) 12819Files: src/testdir/test_digraph.vim 12820 12821Patch 7.4.2088 (after 7.4.2087) 12822Problem: Keymap test fails with normal features. 12823Solution: Bail out if the keymap feature is not supported. 12824Files: src/testdir/test_digraph.vim 12825 12826Patch 7.4.2089 12827Problem: Color handling of X11 GUIs is too complicated. 12828Solution: Simplify the code. Use RGBA where appropriate. (Kazunobu 12829 Kuriyama) 12830Files: src/gui.h, src/gui_beval.c, src/gui_gtk_x11.c, src/netbeans.c 12831 12832Patch 7.4.2090 12833Problem: Using submatch() in a lambda passed to substitute() is verbose. 12834Solution: Use a static list and pass it as an optional argument to the 12835 function. Fix memory leak. 12836Files: src/structs.h, src/list.c, src/userfunc.c, src/channel.c, 12837 src/eval.c, src/evalfunc.c, src/ex_cmds2.c, src/regexp.c, 12838 src/proto/list.pro, src/proto/userfunc.pro, 12839 src/testdir/test_expr.vim, runtime/doc/eval.txt 12840 12841Patch 7.4.2091 12842Problem: Coverity reports a resource leak when out of memory. 12843Solution: Close the file before returning. 12844Files: src/term.c 12845 12846Patch 7.4.2092 12847Problem: GTK 3 build fails with older GTK version. 12848Solution: Check the pango version. (Kazunobu Kuriyama) 12849Files: src/gui_beval.c 12850 12851Patch 7.4.2093 12852Problem: Netbeans test fails once in a while. Leaving log file behind. 12853Solution: Add it to the list of flaky tests. Disable logfile. 12854Files: src/testdir/runtest.vim, src/testdir/test_channel.vim 12855 12856Patch 7.4.2094 12857Problem: The color allocation in X11 is overly complicated. 12858Solution: Remove find_closest_color(), XAllocColor() already does this. 12859 (Kazunobu Kuriyama) 12860Files: src/gui_x11.c 12861 12862Patch 7.4.2095 12863Problem: Man test fails when run with the GUI. 12864Solution: Adjust for different behavior of GUI. Add assert_inrange(). 12865Files: src/eval.c, src/evalfunc.c, src/proto/eval.pro, 12866 src/testdir/test_assert.vim, src/testdir/test_man.vim, 12867 runtime/doc/eval.txt 12868 12869Patch 7.4.2096 12870Problem: Lambda functions show up with completion. 12871Solution: Don't show lambda functions. (Ken Takata) 12872Files: src/userfunc.c, src/testdir/test_cmdline.vim 12873 12874Patch 7.4.2097 12875Problem: Warning from 64 bit compiler. 12876Solution: use size_t instead of int. (Mike Williams) 12877Files: src/message.c 12878 12879Patch 7.4.2098 12880Problem: Text object tests are old style. 12881Solution: Turn them into new style tests. (James McCoy, closes #941) 12882Files: src/testdir/Make_all.mak, src/testdir/test_textobjects.in, 12883 src/testdir/test_textobjects.ok, src/testdir/test_textobjects.vim, 12884 src/Makefile 12885 12886Patch 7.4.2099 12887Problem: When a keymap is active only "(lang)" is displayed. (Ilya 12888 Dogolazky) 12889Solution: Show the keymap name. (Dmitri Vereshchagin, closes #933) 12890Files: src/buffer.c, src/proto/screen.pro, src/screen.c 12891 12892Patch 7.4.2100 12893Problem: "cgn" and "dgn" do not work correctly with a single character 12894 match and the replacement includes the searched pattern. (John 12895 Beckett) 12896Solution: If the match is found in the wrong column try in the next column. 12897 Turn the test into new style. (Christian Brabandt) 12898Files: src/search.c, src/testdir/Make_all.mak, src/Makefile, 12899 src/testdir/test53.in, src/testdir/test53.ok, 12900 src/testdir/test_gn.vim 12901 12902Patch 7.4.2101 12903Problem: Looping over windows, buffers and tab pages is inconsistent. 12904Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan) 12905Files: src/buffer.c, src/diff.c, src/edit.c, src/eval.c, src/evalfunc.c, 12906 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/fileio.c, 12907 src/globals.h, src/gui.c, src/gui_mac.c, src/if_lua.c, 12908 src/if_mzsch.c, src/if_perl.xs, src/if_ruby.c, src/if_tcl.c, 12909 src/main.c, src/mark.c, src/memfile.c, src/memline.c, src/misc1.c, 12910 src/move.c, src/netbeans.c, src/normal.c, src/option.c, 12911 src/quickfix.c, src/screen.c, src/spell.c, src/term.c, 12912 src/window.c, src/workshop.c 12913 12914Patch 7.4.2102 (after 7.4.2101) 12915Problem: Tiny build with GUI fails. 12916Solution: Revert one FOR_ALL_ change. 12917Files: src/gui.c 12918 12919Patch 7.4.2103 12920Problem: Can't have "augroup END" right after ":au!". 12921Solution: Check for the bar character before the command argument. 12922Files: src/fileio.c, src/testdir/test_autocmd.vim, 12923 runtime/doc/autocmd.txt 12924 12925Patch 7.4.2104 12926Problem: Code duplication when unreferencing a function. 12927Solution: De-duplicate. 12928Files: src/userfunc.c 12929 12930Patch 7.4.2105 12931Problem: Configure reports default features to be "normal" while it is 12932 "huge". 12933Solution: Change the default text. Build with newer autoconf. 12934Files: src/configure.in, src/auto/configure 12935 12936Patch 7.4.2106 12937Problem: Clang warns about missing field in initializer. 12938Solution: Define COMMA and use it. (Kazunobu Kuriyama) 12939Files: src/ex_cmds.c, src/globals.h, src/vim.h 12940 12941Patch 7.4.2107 (after 7.4.2106) 12942Problem: Misplaced equal sign. 12943Solution: Remove it. 12944Files: src/globals.h 12945 12946Patch 7.4.2108 12947Problem: Netbeans test is flaky. 12948Solution: Wait for the cursor to be positioned. 12949Files: src/testdir/test_netbeans.vim 12950 12951Patch 7.4.2109 12952Problem: Setting 'display' to "lastline" is a drastic change, while 12953 omitting it results in lots of "@" lines. 12954Solution: Add "truncate" to show "@@@" for a truncated line. 12955Files: src/option.h, src/screen.c, runtime/doc/options.txt 12956 12957Patch 7.4.2110 12958Problem: When there is an CmdUndefined autocmd then the error for a missing 12959 command is E464 instead of E492. (Manuel Ortega) 12960Solution: Don't let the pointer be NULL. 12961Files: src/ex_docmd.c, src/testdir/test_usercommands.vim 12962 12963Patch 7.4.2111 12964Problem: Defaults are very conservative. 12965Solution: Move settings from vimrc_example.vim to defaults.vim. Load 12966 defaults.vim if no .vimrc was found. 12967Files: src/main.c, src/version.c, src/os_amiga.h, src/os_dos.h, 12968 src/os_mac.h, src/os_unix.h, src/feature.h, src/Makefile, 12969 runtime/vimrc_example.vim, runtime/defaults.vim, 12970 runtime/evim.vim, Filelist, runtime/doc/starting.txt 12971 12972Patch 7.4.2112 12973Problem: getcompletion(.., 'dir') returns a match with trailing "*" when 12974 there are no matches. (Chdiza) 12975Solution: Return an empty list when there are no matches. Add a trailing 12976 slash to directories. (Yegappan Lakshmanan) Add tests for no 12977 matches. (closes #947) 12978Files: src/evalfunc.c, src/testdir/test_cmdline.vim 12979 12980Patch 7.4.2113 12981Problem: Test for undo is flaky. 12982Solution: Turn it into a new style test. Use test_settime() to avoid 12983 flakyness. 12984Files: src/Makefile, src/undo.c, src/testdir/test61.in, 12985 src/testdir/test61.ok, src/testdir/test_undo.vim, 12986 src/testdir/test_undolevels.vim, src/testdir/Make_all.mak, 12987 src/testdir/test_alot.vim 12988 12989Patch 7.4.2114 12990Problem: Tiny build fails. 12991Solution: Always include vim_time(). 12992Files: src/ex_cmds.c 12993 12994Patch 7.4.2115 12995Problem: Loading defaults.vim with -C argument. 12996Solution: Don't load the defaults script with -C argument. Test sourcing 12997 the defaults script. Set 'display' to "truncate". 12998Files: src/main.c, src/Makefile, runtime/defaults.vim, 12999 src/testdir/test_startup.vim, src/testdir/Make_all.mak 13000 13001Patch 7.4.2116 13002Problem: The default vimrc for Windows is very conservative. 13003Solution: Use the defaults.vim in the Windows installer. 13004Files: src/dosinst.c 13005 13006Patch 7.4.2117 13007Problem: Deleting an augroup that still has autocmds does not give a 13008 warning. The next defined augroup takes its place. 13009Solution: Give a warning and prevent the index being used for another group 13010 name. 13011Files: src/fileio.c, src/testdir/test_autocmd.vim 13012 13013Patch 7.4.2118 13014Problem: Mac: can't build with tiny features. 13015Solution: Don't define FEAT_CLIPBOARD unconditionally. (Kazunobu Kuriyama) 13016Files: src/vim.h 13017 13018Patch 7.4.2119 13019Problem: Closures are not supported. 13020Solution: Capture variables in lambdas from the outer scope. (Yasuhiro 13021 Matsumoto, Ken Takata) 13022Files: runtime/doc/eval.txt, src/eval.c, src/ex_cmds2.c, src/globals.h, 13023 src/proto/eval.pro, src/proto/userfunc.pro, 13024 src/testdir/test_lambda.vim, src/userfunc.c 13025 13026Patch 7.4.2120 13027Problem: User defined functions can't be a closure. 13028Solution: Add the "closure" argument. Allow using :unlet on a bound 13029 variable. (Yasuhiro Matsumoto, Ken Takata) 13030Files: runtime/doc/eval.txt, src/testdir/test_lambda.vim, src/userfunc.c, 13031 src/eval.c src/proto/userfunc.pro 13032 13033Patch 7.4.2121 13034Problem: No easy way to check if lambda and closure are supported. 13035Solution: Add the +lambda feature. 13036Files: src/evalfunc.c, src/version.c, src/testdir/test_lambda.vim 13037 13038Patch 7.4.2122 (after 7.4.2118) 13039Problem: Mac: don't get +clipboard in huge build. 13040Solution: Move #define down below including feature.h 13041Files: src/vim.h 13042 13043Patch 7.4.2123 13044Problem: No new style test for diff mode. 13045Solution: Add a test. Check that folds are in sync. 13046Files: src/Makefile, src/testdir/test_diffmode.vim, 13047 src/testdir/Make_all.mak, src/testdir/test47.in, 13048 src/testdir/test47.ok 13049 13050Patch 7.4.2124 13051Problem: diffmode test leaves files behind, breaking another test. 13052Solution: Delete the files. 13053Files: src/testdir/test_diffmode.vim 13054 13055Patch 7.4.2125 13056Problem: Compiler warning for loss of data. 13057Solution: Add a type cast. (Christian Brabandt) 13058Files: src/message.c 13059 13060Patch 7.4.2126 13061Problem: No tests for :diffget and :diffput 13062Solution: Add tests. 13063Files: src/testdir/test_diffmode.vim 13064 13065Patch 7.4.2127 13066Problem: The short form of ":noswapfile" is ":noswap" instead of ":nos". 13067 (Kent Sibilev) 13068Solution: Only require three characters. Add a test for the short forms. 13069Files: src/ex_docmd.c, src/testdir/test_usercommands.vim 13070 13071Patch 7.4.2128 13072Problem: Memory leak when saving for undo fails. 13073Solution: Free allocated memory. (Hirohito Higashi) 13074Files: src/ex_cmds.c 13075 13076Patch 7.4.2129 13077Problem: Memory leak when using timer_start(). (Dominique Pelle) 13078Solution: Don't copy the callback when using a partial. 13079Files: src/evalfunc.c 13080 13081Patch 7.4.2130 13082Problem: Pending timers cause false memory leak reports. 13083Solution: Free all timers on exit. 13084Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/misc2.c 13085 13086Patch 7.4.2131 13087Problem: More memory leaks when using partial, e.g. for "exit-cb". 13088Solution: Don't copy the callback when using a partial. 13089Files: src/channel.c 13090 13091Patch 7.4.2132 13092Problem: test_partial has memory leaks reported. 13093Solution: Add a note about why this happens. 13094Files: src/testdir/test_partial.vim 13095 13096Patch 7.4.2133 (after 7.4.2128) 13097Problem: Can't build with tiny features. 13098Solution: Add #ifdef. 13099Files: src/ex_cmds.c 13100 13101Patch 7.4.2134 13102Problem: No error for using function() badly. 13103Solution: Check for passing wrong function name. (Ken Takata) 13104Files: src/eval.c, src/evalfunc.c, src/proto/userfunc.pro, 13105 src/testdir/test_expr.vim, src/userfunc.c, src/vim.h 13106 13107Patch 7.4.2135 13108Problem: Various tiny issues. 13109Solution: Update comments, white space, etc. 13110Files: src/diff.c, src/digraph.c, src/testdir/test80.in, 13111 src/testdir/test_channel.vim, src/testdir/Makefile, 13112 runtime/menu.vim, src/INSTALLpc.txt, src/xpm/README.txt 13113 13114Patch 7.4.2136 13115Problem: Closure function fails. 13116Solution: Don't reset uf_scoped when it points to another funccal. 13117Files: src/userfunc.c, src/testdir/test_lambda.vim 13118 13119Patch 7.4.2137 13120Problem: Using function() with a name will find another function when it is 13121 redefined. 13122Solution: Add funcref(). Refer to lambda using a partial. Fix several 13123 reference counting issues. 13124Files: src/vim.h, src/structs.h, src/userfunc.c, src/eval.c, 13125 src/evalfunc.c, src/channel.c, src/proto/eval.pro, 13126 src/proto/userfunc.pro, src/if_mzsch.c, src/regexp.c, src/misc2.c, 13127 src/if_py_both.h, src/testdir/test_expr.vim, runtime/doc/eval.txt 13128 13129Patch 7.4.2138 13130Problem: Test 86 and 87 fail. 13131Solution: Call func_ref() also for regular functions. 13132Files: src/if_py_both.h 13133 13134Patch 7.4.2139 13135Problem: :delfunction causes illegal memory access. 13136Solution: Correct logic when deciding to free a function. 13137Files: src/userfunc.c, src/testdir/test_lambda.vim 13138 13139Patch 7.4.2140 13140Problem: Tiny build fails. 13141Solution: Add dummy typedefs. 13142Files: src/structs.h 13143 13144Patch 7.4.2141 13145Problem: Coverity reports bogus NULL check. 13146Solution: When checking for a variable in the funccal scope don't pass the 13147 varname. 13148Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c 13149 13150Patch 7.4.2142 13151Problem: Leaking memory when redefining a function. 13152Solution: Don't increment the function reference count when it's found by 13153 name. Don't remove the wrong function from the hashtab. More 13154 reference counting fixes. 13155Files: src/structs.h, src/userfunc.c 13156 13157Patch 7.4.2143 13158Problem: A funccal is garbage collected while it can still be used. 13159Solution: Set copyID in all referenced functions. Do not list lambda 13160 functions with ":function". 13161Files: src/userfunc.c, src/proto/userfunc.pro, src/eval.c, 13162 src/testdir/test_lambda.vim 13163 13164Patch 7.4.2144 13165Problem: On MS-Windows quickfix does not handle a line with 1023 bytes 13166 ending in CR-LF properly. 13167Solution: Don't consider CR a line break. (Ken Takata) 13168Files: src/quickfix.c 13169 13170Patch 7.4.2145 13171Problem: Win32: Using CreateThread/ExitThread is not safe. 13172Solution: Use _beginthreadex and return from the thread. (Ken Takata) 13173Files: src/os_win32.c 13174 13175Patch 7.4.2146 13176Problem: Not enough testing for popup menu. CTRL-E does not always work 13177 properly. 13178Solution: Add more tests. When using CTRL-E check if the popup menu is 13179 visible. (Christian Brabandt) 13180Files: src/edit.c, src/testdir/test_popup.vim 13181 13182Patch 7.4.2147 (after 7.4.2146) 13183Problem: test_alot fails. 13184Solution: Close window. 13185Files: src/testdir/test_popup.vim 13186 13187Patch 7.4.2148 13188Problem: Not much testing for cscope. 13189Solution: Add a test that uses the cscope program. (Christian Brabandt) 13190Files: src/testdir/test_cscope.vim 13191 13192Patch 7.4.2149 13193Problem: If a test leaves a window open a following test may fail. 13194Solution: Always close extra windows after running a test. 13195Files: src/testdir/runtest.vim, src/testdir/test_popup.vim 13196 13197Patch 7.4.2150 13198Problem: Warning with MinGW 64. (John Marriott) 13199Solution: Change return type. (Ken Takata) 13200Files: src/os_win32.c 13201 13202Patch 7.4.2151 13203Problem: Quickfix test fails on MS-Windows. 13204Solution: Close the help window. (Christian Brabandt) 13205Files: src/testdir/test_quickfix.vim 13206 13207Patch 7.4.2152 13208Problem: No proper translation of messages with a count. 13209Solution: Use ngettext(). (Sergey Alyoshin) 13210Files: src/evalfunc.c, src/fold.c, src/os_win32.c, src/screen.c, src/vim.h 13211 13212Patch 7.4.2153 13213Problem: GUI test isn't testing much. 13214Solution: Turn into a new style test. Execute a shell command. 13215Files: src/testdir/test_gui.vim, src/testdir/test16.in, 13216 src/testdir/test16.ok, src/testdir/Make_all.mak, src/Makefile, 13217 src/testdir/Make_vms.mms 13218 13219Patch 7.4.2154 13220Problem: Test_communicate() fails sometimes. 13221Solution: Add it to the flaky tests. 13222Files: src/testdir/runtest.vim 13223 13224Patch 7.4.2155 13225Problem: Quotes make GUI test fail on MS-Windows. 13226Solution: Remove quotes, strip white space. 13227Files: src/testdir/test_gui.vim 13228 13229Patch 7.4.2156 13230Problem: Compiler warning. 13231Solution: Add type cast. (Ken Takata, Mike Williams) 13232Files: src/os_win32.c 13233 13234Patch 7.4.2157 13235Problem: Test_job_start_fails() is expected to report memory leaks, making 13236 it hard to see other leaks in test_partial. 13237Solution: Move Test_job_start_fails() to a separate test file. 13238Files: src/testdir/test_partial.vim, src/testdir/test_job_fails.vim, 13239 src/Makefile, src/testdir/Make_all.mak 13240 13241Patch 7.4.2158 13242Problem: Result of getcompletion('', 'cscope') depends on previous 13243 completion. (Christian Brabandt) 13244Solution: Call set_context_in_cscope_cmd(). 13245Files: src/evalfunc.c, src/testdir/test_cmdline.vim 13246 13247Patch 7.4.2159 13248Problem: Insufficient testing for cscope. 13249Solution: Add more tests. (Dominique Pelle) 13250Files: src/testdir/test_cscope.vim 13251 13252Patch 7.4.2160 13253Problem: setmatches() mixes up values. (Nikolai Pavlov) 13254Solution: Save the string instead of reusing a shared buffer. 13255Files: src/dict.c, src/evalfunc.c, src/testdir/test_expr.vim, 13256 13257Patch 7.4.2161 (after 7.4.2160) 13258Problem: Expression test fails without conceal feature. 13259Solution: Only check "conceal" with the conceal feature. 13260Files: src/testdir/test_expr.vim 13261 13262Patch 7.4.2162 13263Problem: Result of getcompletion('', 'sign') depends on previous 13264 completion. 13265Solution: Call set_context_in_sign_cmd(). (Dominique Pelle) 13266Files: src/evalfunc.c, src/testdir/test_cmdline.vim 13267 13268Patch 7.4.2163 13269Problem: match() and related functions tested with old style test. 13270Solution: Convert to new style test. (Hirohito Higashi) 13271Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test63.in, 13272 src/testdir/test63.ok, src/testdir/test_alot.vim, 13273 src/testdir/test_match.vim, src/testdir/test_matchstrpos.vim 13274 13275Patch 7.4.2164 13276Problem: It is not possible to use plugins in an "after" directory to tune 13277 the behavior of a package. 13278Solution: First load plugins from non-after directories, then packages and 13279 finally plugins in after directories. 13280 Reset 'loadplugins' before executing --cmd arguments. 13281Files: src/main.c, src/vim.h, src/ex_cmds2.c, src/testdir/Makefile, 13282 src/testdir/shared.vim, src/testdir/test_startup.vim, 13283 src/testdir/setup.vim, runtime/doc/starting.txt 13284 13285Patch 7.4.2165 (after 7.4.2164) 13286Problem: Startup test fails on MS-Windows. 13287Solution: Don't check output if RunVim() returns zero. 13288Files: src/testdir/test_startup.vim 13289 13290Patch 7.4.2166 (after 7.4.2164) 13291Problem: Small build can't run startup test. 13292Solution: Skip the test. 13293Files: src/testdir/test_startup.vim 13294 13295Patch 7.4.2167 (after 7.4.2164) 13296Problem: Small build can't run tests. 13297Solution: Don't try setting 'packpath'. 13298Files: src/testdir/setup.vim 13299 13300Patch 7.4.2168 13301Problem: Not running the startup test on MS-Windows. 13302Solution: Write vimcmd. 13303Files: src/testdir/Make_ming.mak, src/testdir/Make_dos.mak 13304 13305Patch 7.4.2169 (after 7.4.2168) 13306Problem: Startup test gets stuck on MS-Windows. 13307Solution: Use double quotes. 13308Files: src/testdir/shared.vim, src/testdir/test_startup.vim 13309 13310Patch 7.4.2170 13311Problem: Cannot get information about timers. 13312Solution: Add timer_info(). 13313Files: src/evalfunc.c, src/ex_cmds2.c, src/proto/ex_cmds2.pro, 13314 runtime/doc/eval.txt 13315 13316Patch 7.4.2171 (after 7.4.2170) 13317Problem: MS-Windows build fails. 13318Solution: Add QueryPerformanceCounter(). 13319Files: src/ex_cmds2.c 13320 13321Patch 7.4.2172 13322Problem: No test for "vim --help". 13323Solution: Add a test. 13324Files: src/testdir/test_startup.vim, src/testdir/shared.vim 13325 13326Patch 7.4.2173 (after 7.4.2172) 13327Problem: Can't test help on MS-Windows. 13328Solution: Skip the test. 13329Files: src/testdir/test_startup.vim 13330 13331Patch 7.4.2174 13332Problem: Adding duplicate flags to 'whichwrap' leaves commas behind. 13333Solution: Also remove the commas. (Naruhiko Nishino) 13334Files: src/Makefile, src/option.c, src/testdir/Make_all.mak, 13335 src/testdir/test_alot.vim, src/testdir/test_options.in, 13336 src/testdir/test_options.ok, src/testdir/test_options.vim 13337 13338Patch 7.4.2175 13339Problem: Insufficient testing of cscope. 13340Solution: Add more tests. (Dominique Pelle) 13341Files: src/testdir/test_cscope.vim 13342 13343Patch 7.4.2176 13344Problem: #ifdefs in main() are complicated. 13345Solution: Always define vim_main2(). Move params to the file level. 13346 (suggested by Ken Takata) 13347Files: src/main.c, src/structs.h, src/vim.h, src/if_mzsch.c, 13348 src/proto/if_mzsch.pro 13349 13350Patch 7.4.2177 13351Problem: No testing for -C and -N command line flags, file arguments, 13352 startuptime. 13353Solution: Add tests. 13354Files: src/testdir/test_startup.vim, src/testdir/shared.vim 13355 13356Patch 7.4.2178 13357Problem: No test for reading from stdin. 13358Solution: Add a test. 13359Files: src/testdir/test_startup.vim, src/testdir/shared.vim 13360 13361Patch 7.4.2179 (after 7.4.2178) 13362Problem: Reading from stdin test fails on MS-Windows. 13363Solution: Strip the extra space. 13364Files: src/testdir/test_startup.vim 13365 13366Patch 7.4.2180 13367Problem: There is no easy way to stop all timers. There is no way to 13368 temporary pause a timer. 13369Solution: Add timer_stopall() and timer_pause(). 13370Files: src/evalfunc.c, src/ex_cmds2.c, src/proto/ex_cmds2.pro, 13371 src/structs.h, src/testdir/test_timers.vim, 13372 src/testdir/shared.vim, runtime/doc/eval.txt 13373 13374Patch 7.4.2181 13375Problem: Compiler warning for unused variable. 13376Solution: Remove it. (Dominique Pelle) 13377Files: src/ex_cmds2.c 13378 13379Patch 7.4.2182 13380Problem: Color Grey40 used in startup but not in the short list. 13381Solution: Add Grey40 to the builtin colors. 13382Files: src/term.c 13383 13384Patch 7.4.2183 13385Problem: Sign tests are old style. 13386Solution: Turn them into new style tests. (Dominique Pelle) 13387Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_signs.in, 13388 src/testdir/test_signs.ok, src/testdir/test_signs.vim, 13389 13390Patch 7.4.2184 13391Problem: Tests that use RunVim() do not actually perform the test. 13392Solution: Use "return" instead of "call". (Ken Takata) 13393Files: src/testdir/shared.vim 13394 13395Patch 7.4.2185 13396Problem: Test glob2regpat does not test much. 13397Solution: Add a few more test cases. (Dominique Pelle) 13398Files: src/testdir/test_glob2regpat.vim 13399 13400Patch 7.4.2186 13401Problem: Timers test is flaky. 13402Solution: Relax the sleep time check. 13403Files: src/testdir/test_timers.vim 13404 13405Patch 7.4.2187 (after 7.4.2185) 13406Problem: glob2regpat test fails on Windows. 13407Solution: Remove the checks that use backslashes. 13408Files: src/testdir/test_glob2regpat.vim 13409 13410Patch 7.4.2188 (after 7.4.2146) 13411Problem: Completion does not work properly with some plugins. 13412Solution: Revert the part related to typing CTRL-E. (closes #972) 13413Files: src/edit.c, src/testdir/test_popup.vim 13414 13415Patch 7.4.2189 13416Problem: Cannot detect encoding in a fifo. 13417Solution: Extend the stdin way of detecting encoding to fifo. Add a test 13418 for detecting encoding on stdin and fifo. (Ken Takata) 13419Files: src/buffer.c, src/fileio.c, src/Makefile, 13420 src/testdir/Make_all.mak, src/testdir/test_startup_utf8.vim, 13421 src/vim.h 13422 13423Patch 7.4.2190 13424Problem: When startup test fails it's not easy to find out why. 13425 GUI test fails with Gnome. 13426Solution: Add the help entry matches to a list an assert that. 13427 Set $HOME for Gnome to create .gnome2 directory. 13428Files: src/testdir/test_startup.vim, src/testdir/test_gui.vim 13429 13430Patch 7.4.2191 13431Problem: No automatic prototype for vim_main2(). 13432Solution: Move the #endif. (Ken Takata) 13433Files: src/main.c, src/vim.h, src/proto/main.pro 13434 13435Patch 7.4.2192 13436Problem: Generating prototypes with Cygwin doesn't work well. 13437Solution: Change #ifdefs. (Ken Takata) 13438Files: src/gui.h, src/gui_w32.c, src/ops.c, src/proto/fileio.pro, 13439 src/proto/message.pro, src/proto/normal.pro, src/proto/ops.pro, 13440 src/vim.h 13441 13442Patch 7.4.2193 13443Problem: With Gnome when the GUI can't start test_startup hangs. 13444Solution: Call gui_mch_early_init_check(). (Hirohito Higashi) 13445Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro 13446 13447Patch 7.4.2194 13448Problem: Sign tests don't cover enough. 13449Solution: Add more test cases. (Dominique Pelle) 13450Files: src/testdir/test_signs.vim 13451 13452Patch 7.4.2195 13453Problem: MS-Windows: The vimrun program does not support Unicode. 13454Solution: Use GetCommandLineW(). Cleanup old #ifdefs. (Ken Takata) 13455Files: src/vimrun.c 13456 13457Patch 7.4.2196 13458Problem: glob2regpat test doesn't test everything on MS-Windows. 13459Solution: Add patterns with backslash handling. 13460Files: src/testdir/test_glob2regpat.vim 13461 13462Patch 7.4.2197 13463Problem: All functions are freed on exit, which may hide leaks. 13464Solution: Only free named functions, not reference counted ones. 13465Files: src/userfunc.c 13466 13467Patch 7.4.2198 13468Problem: Test alot sometimes fails under valgrind. (Dominique Pelle) 13469Solution: Avoid passing a callback with the wrong number of arguments. 13470Files: src/testdir/test_partial.vim 13471 13472Patch 7.4.2199 13473Problem: In the GUI the cursor is hidden when redrawing any window, 13474 causing flicker. 13475Solution: Only undraw the cursor when updating the window it's in. 13476Files: src/screen.c, src/gui.c, src/proto/gui.pro, src/gui_gtk_x11.c 13477 13478Patch 7.4.2200 13479Problem: Cannot get all information about a quickfix list. 13480Solution: Add an optional argument to get/set loc/qf list(). (Yegappan 13481 Lakshmanan) 13482Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/quickfix.pro, 13483 src/quickfix.c, src/tag.c, src/testdir/test_quickfix.vim 13484 13485Patch 7.4.2201 13486Problem: The sign column disappears when the last sign is deleted. 13487Solution: Add the 'signcolumn' option. (Christian Brabandt) 13488Files: runtime/doc/options.txt, runtime/optwin.vim, src/edit.c, 13489 src/move.c, src/option.c, src/option.h, src/proto/option.pro, 13490 src/screen.c, src/structs.h, src/testdir/test_options.vim 13491 13492Patch 7.4.2202 13493Problem: Build fails with small features. 13494Solution: Correct option initialization. 13495Files: src/option.c 13496 13497Patch 7.4.2203 13498Problem: Test fails with normal features. 13499Solution: Check is signs are supported. 13500Files: src/testdir/test_options.vim 13501 13502Patch 7.4.2204 13503Problem: It is not easy to get information about buffers, windows and 13504 tabpages. 13505Solution: Add getbufinfo(), getwininfo() and gettabinfo(). (Yegappan 13506 Lakshmanan) 13507Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/dict.c, 13508 src/evalfunc.c, src/option.c, src/proto/dict.pro, 13509 src/proto/option.pro, src/proto/window.pro, 13510 src/testdir/Make_all.mak, src/testdir/test_bufwintabinfo.vim, 13511 src/window.c, src/Makefile 13512 13513Patch 7.4.2205 13514Problem: 'wildignore' always applies to getcompletion(). 13515Solution: Add an option to use 'wildignore' or not. (Yegappan Lakshmanan) 13516Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_cmdline.vim 13517 13518Patch 7.4.2206 13519Problem: Warning for unused function. 13520Solution: Put the function inside #ifdef. (John Marriott) 13521Files: src/evalfunc.c 13522 13523Patch 7.4.2207 13524Problem: The +xpm feature is not sorted properly in :version output. 13525Solution: Move it up. (Tony Mechelynck) 13526Files: src/version.c 13527 13528Patch 7.4.2208 13529Problem: Test for mappings is old style. 13530Solution: Convert the test to new style. 13531Files: src/testdir/test_mapping.vim, src/testdir/test_mapping.in, 13532 src/testdir/test_mapping.ok, src/Makefile, 13533 src/testdir/test_alot.vim, src/testdir/Make_all.mak 13534 13535Patch 7.4.2209 13536Problem: Cannot map <M-">. (Stephen Riehm) 13537Solution: Solve the memory access problem in another way. (Dominique Pelle) 13538 Allow for using <M-\"> in a string. 13539Files: src/eval.c, src/gui_mac.c, src/misc2.c, src/option.c, 13540 src/proto/misc2.pro, src/syntax.c, src/term.c, 13541 src/testdir/test_mapping.vim 13542 13543Patch 7.4.2210 13544Problem: On OSX configure mixes up a Python framework and the Unix layout. 13545Solution: Make configure check properly. (Tim D. Smith, closes #980) 13546Files: src/configure.in, src/auto/configure 13547 13548Patch 7.4.2211 13549Problem: Mouse support is not automatically enabled with simple term. 13550Solution: Recognize "st" and other names. (Manuel Schiller, closes #963) 13551Files: src/os_unix.c 13552 13553Patch 7.4.2212 13554Problem: Mark " is not set when closing a window in another tab. (Guraga) 13555Solution: Check all tabs for the window to be valid. (based on patch by 13556 Hirohito Higashi, closes #974) 13557Files: src/window.c, src/proto/window.pro, src/buffer.c, 13558 src/testdir/test_viminfo.vim 13559 13560Patch 7.4.2213 13561Problem: Cannot highlight the "~" lines at the end of a window differently. 13562Solution: Add the EndOfBuffer highlighting. (Marco Hinz, James McCoy) 13563Files: runtime/doc/options.txt, runtime/doc/syntax.txt, src/option.c, 13564 src/screen.c, src/syntax.c, src/vim.h 13565 13566Patch 7.4.2214 13567Problem: A font that uses ligatures messes up the screen display. 13568Solution: Put spaces between characters when building the glyph table. 13569 (based on a patch from Manuel Schiller) 13570Files: src/gui_gtk_x11.c 13571 13572Patch 7.4.2215 13573Problem: It's not easy to find out if a window is a quickfix or location 13574 list window. 13575Solution: Add "loclist" and "quickfix" entries to the dict returned by 13576 getwininfo(). (Yegappan Lakshmanan) 13577Files: runtime/doc/eval.txt, src/evalfunc.c, 13578 src/testdir/test_bufwintabinfo.vim 13579 13580Patch 7.4.2216 (after 7.4.2215) 13581Problem: Test fails without the +sign feature. 13582Solution: Only check for signcolumn with the +sign feature. 13583Files: src/testdir/test_bufwintabinfo.vim 13584 13585Patch 7.4.2217 13586Problem: When using matchaddpos() a character after the end of the line can 13587 be highlighted. 13588Solution: Only highlight existing characters. (Hirohito Higashi) 13589Files: src/screen.c, src/structs.h, src/testdir/test_match.vim 13590 13591Patch 7.4.2218 13592Problem: Can't build with +timers when +digraph is not included. 13593Solution: Change #ifdef for e_number_exp. (Damien) 13594Files: src/globals.h 13595 13596Patch 7.4.2219 13597Problem: Recursive call to substitute gets stuck in sandbox. (Nikolai 13598 Pavlov) 13599Solution: Handle the recursive call. (Christian Brabandt, closes #950) 13600 Add a test. 13601Files: src/ex_cmds.c, src/testdir/test_regexp_latin.vim 13602 13603Patch 7.4.2220 13604Problem: printf() gives an error when the argument for %s is not a string. 13605 (Ozaki Kiichi) 13606Solution: Behave like invoking string() on the argument. (Ken Takata) 13607Files: runtime/doc/eval.txt, src/message.c, src/testdir/test_expr.vim 13608 13609Patch 7.4.2221 13610Problem: printf() does not support binary format. 13611Solution: Add %b and %B. (Ozaki Kiichi) 13612Files: runtime/doc/eval.txt, src/message.c, src/testdir/test_expr.vim 13613 13614Patch 7.4.2222 13615Problem: Sourcing a script where a character has 0x80 as a second byte does 13616 not work. (Filipe L B Correia) 13617Solution: Turn 0x80 into K_SPECIAL KS_SPECIAL KE_FILLER. (Christian 13618 Brabandt, closes #728) Add a test case. 13619Files: src/getchar.c, src/proto/getchar.pro, src/misc1.c, 13620 src/testdir/test_regexp_utf8.vim 13621 13622Patch 7.4.2223 13623Problem: Buffer overflow when using latin1 character with feedkeys(). 13624Solution: Check for an illegal character. Add a test. 13625Files: src/testdir/test_regexp_utf8.vim, src/testdir/test_source_utf8.vim, 13626 src/testdir/test_alot_utf8.vim, src/Makefile, src/getchar.c, 13627 src/macros.h, src/evalfunc.c, src/os_unix.c, src/os_win32.c, 13628 src/spell.c, 13629 13630Patch 7.4.2224 13631Problem: Compiler warnings with older compiler and 64 bit numbers. 13632Solution: Add "LL" to large values. (Mike Williams) 13633Files: src/eval.c, src/evalfunc.c 13634 13635Patch 7.4.2225 13636Problem: Crash when placing a sign in a deleted buffer. 13637Solution: Check for missing buffer name. (Dominique Pelle). Add a test. 13638Files: src/ex_cmds.c, src/testdir/test_signs.vim 13639 13640Patch 7.4.2226 13641Problem: The field names used by getbufinfo(), gettabinfo() and 13642 getwininfo() are not consistent. 13643Solution: Use bufnr, winnr and tabnr. (Yegappan Lakshmanan) 13644Files: runtime/doc/eval.txt, src/evalfunc.c, 13645 src/testdir/test_bufwintabinfo.vim 13646 13647Patch 7.4.2227 13648Problem: Tab page tests are old style. 13649Solution: Change into new style tests. (Hirohito Higashi) 13650Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test62.in, 13651 src/testdir/test62.ok, src/testdir/test_alot.vim, 13652 src/testdir/test_tabpage.vim 13653 13654Patch 7.4.2228 13655Problem: Test files have inconsistent modelines. 13656Solution: Don't set 'tabstop' to 2, use 'sts' and 'sw'. 13657Files: src/testdir/README.txt, src/testdir/test_backspace_opt.vim, 13658 src/testdir/test_digraph.vim, src/testdir/test_gn.vim 13659 src/testdir/test_help_tagjump.vim, 13660 src/testdir/test_increment_dbcs.vim, 13661 src/testdir/test_increment.vim, src/testdir/test_match.vim, 13662 src/testdir/test_tagjump.vim, src/testdir/test_window_cmd.vim, 13663 src/testdir/test_regexp_latin.vim, src/testdir/test_timers.vim 13664 13665Patch 7.4.2229 13666Problem: Startup test fails on Solaris. 13667Solution: Recognize a character device. (Danek Duvall) 13668Files: src/buffer.c, src/fileio.c, src/proto/fileio.pro, src/vim.h 13669 13670Patch 7.4.2230 13671Problem: There is no equivalent of 'smartcase' for a tag search. 13672Solution: Add value "followscs" and "smart" to 'tagcase'. (Christian 13673 Brabandt, closes #712) Turn tagcase test into new style. 13674Files: runtime/doc/options.txt, runtime/doc/tagsrch.txt, src/option.h, 13675 src/tag.c, src/search.c, src/proto/search.pro, 13676 src/testdir/test_tagcase.in, src/testdir/test_tagcase.ok, 13677 src/testdir/test_tagcase.vim, src/Makefile, 13678 src/testdir/Make_all.mak, src/testdir/test_alot.vim 13679 13680Patch 7.4.2231 13681Problem: ":oldfiles" output is a very long list. 13682Solution: Add a pattern argument. (Coot, closes #575) 13683Files: runtime/doc/starting.txt, src/ex_cmds.h, src/eval.c, 13684 src/ex_cmds.c, src/proto/eval.pro, src/proto/ex_cmds.pro, 13685 src/testdir/test_viminfo.vim 13686 13687Patch 7.4.2232 13688Problem: The default ttimeoutlen is very long. 13689Solution: Use "100". (Hirohito Higashi) 13690Files: runtime/defaults.vim 13691 13692Patch 7.4.2233 13693Problem: Crash when using funcref() with invalid name. (Dominique Pelle) 13694Solution: Check for NULL translated name. 13695Files: src/evalfunc.c, src/testdir/test_expr.vim 13696 13697Patch 7.4.2234 13698Problem: Can't build with +eval but without +quickfix. (John Marriott) 13699Solution: Move skip_vimgrep_pat() to separate #ifdef block. 13700Files: src/quickfix.c 13701 13702Patch 7.4.2235 13703Problem: submatch() does not check for a valid argument. 13704Solution: Give an error if the argument is out of range. (Dominique Pelle) 13705Files: src/evalfunc.c, src/testdir/test_expr.vim 13706 13707Patch 7.4.2236 13708Problem: The 'langnoremap' option leads to double negatives. And it does 13709 not work for the last character of a mapping. 13710Solution: Add 'langremap' with the opposite value. Keep 'langnoremap' for 13711 backwards compatibility. Make it work for the last character of a 13712 mapping. Make the test work. 13713Files: runtime/doc/options.txt, runtime/defaults.vim, src/option.c, 13714 src/option.h, src/macros.h, src/testdir/test_mapping.vim 13715 13716Patch 7.4.2237 13717Problem: Can't use "." and "$" with ":tab". 13718Solution: Support a range for ":tab". (Hirohito Higashi) 13719Files: runtime/doc/tabpage.txt, src/ex_docmd.c, 13720 src/testdir/test_tabpage.vim 13721 13722Patch 7.4.2238 13723Problem: With SGR mouse reporting (suckless terminal) the mouse release and 13724 scroll up/down is confused. 13725Solution: Don't see a release as a scroll up/down. (Ralph Eastwood) 13726Files: src/term.c 13727 13728Patch 7.4.2239 13729Problem: Warning for missing declaration of skip_vimgrep_pat(). (John 13730 Marriott) 13731Solution: Move it to another file. 13732Files: src/quickfix.c, src/proto/quickfix.pro, src/ex_cmds.c, 13733 src/proto/ex_cmds.pro 13734 13735Patch 7.4.2240 13736Problem: Tests using the sleep time can be flaky. 13737Solution: Use reltime() if available. (Partly by Shane Harper) 13738Files: src/testdir/shared.vim, src/testdir/test_timers.vim 13739 13740Patch 7.4.2241 (after 7.4.2240) 13741Problem: Timer test sometimes fails. 13742Solution: Increase the maximum time for repeating timer. 13743Files: src/testdir/test_timers.vim 13744 13745Patch 7.4.2242 (after 7.4.2240) 13746Problem: Timer test sometimes fails. 13747Solution: Increase the maximum time for callback timer test. 13748Files: src/testdir/test_timers.vim 13749 13750Patch 7.4.2243 13751Problem: Warning for assigning negative value to unsigned. (Danek Duvall) 13752Solution: Make cterm_normal_fg_gui_color and _bg_ guicolor_T, cast to long_u 13753 only when an unsigned is needed. 13754Files: src/structs.h, src/globals.h, src/screen.c, src/term.c, 13755 src/syntax.c, src/gui_gtk_x11.c, src/gui.c, src/gui_mac.c, 13756 src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, 13757 src/proto/term.pro, src/proto/gui_gtk_x11.pro, 13758 src/proto/gui_mac.pro, src/proto/gui_photon.pro, 13759 src/proto/gui_w32.pro, src/proto/gui_x11.pro 13760 13761Patch 7.4.2244 13762Problem: Adding pattern to ":oldfiles" is not a generic solution. 13763Solution: Add the ":filter /pat/ cmd" command modifier. Only works for some 13764 commands right now. 13765Files: src/structs.h, src/ex_docmd.c, src/ex_cmds.h, src/message.c, 13766 src/proto/message.pro, runtime/doc/starting.txt, 13767 runtime/doc/various.txt, src/testdir/test_viminfo.vim, 13768 src/testdir/test_alot.vim, src/testdir/test_filter_cmd.vim, 13769 src/Makefile 13770 13771Patch 7.4.2245 (after 7.4.2244) 13772Problem: Filter test fails. 13773Solution: Include missing changes. 13774Files: src/buffer.c 13775 13776Patch 7.4.2246 (after 7.4.2244) 13777Problem: Oldfiles test fails. 13778Solution: Include missing changes. 13779Files: src/ex_cmds.c 13780 13781Patch 7.4.2247 (after 7.4.2244) 13782Problem: Tiny build fails. (Tony Mechelynck) 13783Solution: Remove #ifdef. 13784Files: src/ex_cmds.c 13785 13786Patch 7.4.2248 13787Problem: When cancelling the :ptjump prompt a preview window is opened for 13788 a following command. 13789Solution: Reset g_do_tagpreview. (Hirohito Higashi) Add a test. Avoid that 13790 the test runner gets stuck in trying to close a window. 13791Files: src/tag.c, src/testdir/test_tagjump.vim, src/testdir/runtest.vim 13792 13793Patch 7.4.2249 13794Problem: Missing colon in error message. 13795Solution: Add the colon. (Dominique Pelle) 13796Files: src/userfunc.c 13797 13798Patch 7.4.2250 13799Problem: Some error messages cannot be translated. 13800Solution: Enclose them in _() and N_(). (Dominique Pelle) 13801Files: src/channel.c, src/evalfunc.c, src/ex_cmds.c, src/spell.c, 13802 src/window.c 13803 13804Patch 7.4.2251 13805Problem: In rare cases diffing 4 buffers is not enough. 13806Solution: Raise the limit to 8. (closes #1000) 13807Files: src/structs.h, runtime/doc/diff.txt 13808 13809Patch 7.4.2252 13810Problem: Compiler warnings for signed/unsigned in expression. 13811Solution: Remove type cast. (Dominique Pelle) 13812Files: src/vim.h 13813 13814Patch 7.4.2253 13815Problem: Check for Windows 3.1 will always return false. (Christian 13816 Brabandt) 13817Solution: Remove the dead code. 13818Files: src/gui_w32.c, src/evalfunc.c, src/ex_cmds.c, src/option.c, 13819 src/os_win32.c, src/version.c, src/proto/gui_w32.pro 13820 13821Patch 7.4.2254 13822Problem: Compiler warnings in MzScheme code. 13823Solution: Add UNUSED. Remove unreachable code. 13824Files: src/if_mzsch.c 13825 13826Patch 7.4.2255 13827Problem: The script that checks translations can't handle plurals. 13828Solution: Check for plural msgid and msgstr entries. Leave the cursor on 13829 the first error. 13830Files: src/po/check.vim 13831 13832Patch 7.4.2256 13833Problem: Coverity complains about null pointer check. 13834Solution: Remove wrong and superfluous error check. 13835Files: src/eval.c 13836 13837Patch 7.4.2257 13838Problem: Coverity complains about not checking for NULL. 13839Solution: Check for out of memory. 13840Files: src/if_py_both.h 13841 13842Patch 7.4.2258 13843Problem: Two JSON messages are sent without a separator. 13844Solution: Separate messages with a NL. (closes #1001) 13845Files: src/json.c, src/channel.c, src/vim.h, src/testdir/test_channel.py, 13846 src/testdir/test_channel.vim, runtime/doc/channel.txt 13847 13848Patch 7.4.2259 13849Problem: With 'incsearch' can only see the next match. 13850Solution: Make CTRL-N/CTRL-P move to the previous/next match. (Christian 13851 Brabandt) 13852Files: runtime/doc/cmdline.txt, src/ex_getln.c, src/testdir/Make_all.mak, 13853 src/testdir/test_search.vim, src/Makefile 13854 13855Patch 7.4.2260 (after 7.4.2258) 13856Problem: Channel test is flaky. 13857Solution: Add a newline to separate JSON messages. 13858Files: src/testdir/test_channel.vim 13859 13860Patch 7.4.2261 (after 7.4.2259) 13861Problem: Build fails with small features. 13862Solution: Move "else" inside the #ifdef. 13863Files: src/ex_getln.c 13864 13865Patch 7.4.2262 13866Problem: Fail to read register content from viminfo if it is 438 characters 13867 long. (John Chen) 13868Solution: Adjust the check for line wrapping. (closes #1010) 13869Files: src/testdir/test_viminfo.vim, src/ex_cmds.c 13870 13871Patch 7.4.2263 13872Problem: :filter does not work for many commands. Can only get matching 13873 messages. 13874Solution: Make :filter work for :command, :map, :list, :number and :print. 13875 Make ":filter!" show non-matching lines. 13876Files: src/getchar.c, src/ex_cmds.c, src/ex_cmds.h, src/ex_docmd.c, 13877 src/message.c, src/structs.h, src/testdir/test_filter_cmd.vim 13878 13879Patch 7.4.2264 13880Problem: When adding entries to an empty quickfix list the title is reset. 13881Solution: Improve handling of the title. (Yegappan Lakshmanan) 13882Files: src/testdir/test_quickfix.vim, src/quickfix.c 13883 13884Patch 7.4.2265 13885Problem: printf() isn't tested much. 13886Solution: Add more tests for printf(). (Dominique Pelle) 13887Files: src/testdir/test_expr.vim 13888 13889Patch 7.4.2266 (after 7.4.2265) 13890Problem: printf() test fails on Windows. "-inf" is not used. 13891Solution: Check for Windows-specific values for "nan". Add sign to "inf" 13892 when appropriate. 13893Files: src/message.c, src/testdir/test_expr.vim 13894 13895Patch 7.4.2267 (after 7.4.2266) 13896Problem: Build fails on MS-Windows. 13897Solution: Add define to get isinf(). 13898Files: src/message.c 13899 13900Patch 7.4.2268 (after 7.4.2259) 13901Problem: Using CTRL-N and CTRL-P for incsearch shadows completion keys. 13902Solution: Use CTRL-T and CTRL-G instead. 13903Files: runtime/doc/cmdline.txt, src/ex_getln.c, 13904 src/testdir/test_search.vim 13905 13906Patch 7.4.2269 13907Problem: Using 'hlsearch' highlighting instead of matchpos if there is no 13908 search match. 13909Solution: Pass NULL as last item to next_search_hl() when searching for 13910 'hlsearch' match. (Shane Harper, closes #1013) 13911Files: src/screen.c, src/testdir/test_match.vim 13912 13913Patch 7.4.2270 13914Problem: Insufficient testing for NUL bytes on a raw channel. 13915Solution: Add a test for writing and reading. 13916Files: src/testdir/test_channel.vim 13917 13918Patch 7.4.2271 13919Problem: Netbeans test doesn't read settings from file. 13920Solution: Use "-Xnbauth". 13921Files: src/testdir/test_netbeans.vim 13922 13923Patch 7.4.2272 13924Problem: getbufinfo(), getwininfo() and gettabinfo() are inefficient. 13925Solution: Instead of making a copy of the variables dictionary, use a 13926 reference. 13927Files: src/evalfunc.c 13928 13929Patch 7.4.2273 13930Problem: getwininfo() and getbufinfo() are inefficient. 13931Solution: Do not make a copy of all window/buffer-local options. Make it 13932 possible to get them with gettabwinvar() or getbufvar(). 13933Files: src/evalfunc.c, src/eval.c, src/testdir/test_bufwintabinfo.vim, 13934 runtime/doc/eval.txt 13935 13936Patch 7.4.2274 13937Problem: Command line completion on "find **/filename" drops sub-directory. 13938Solution: Handle this case separately. (Harm te Hennepe, closes #932, closes 13939 #939) 13940Files: src/misc1.c, src/testdir/test_cmdline.vim 13941 13942Patch 7.4.2275 13943Problem: ":diffoff!" does not remove filler lines. 13944Solution: Force a redraw and invalidate the cursor. (closes #1014) 13945Files: src/diff.c, src/testdir/test_diffmode.vim 13946 13947Patch 7.4.2276 13948Problem: Command line test fails on Windows when run twice. 13949Solution: Wipe the buffer so that the directory can be deleted. 13950Files: src/testdir/test_cmdline.vim 13951 13952Patch 7.4.2277 13953Problem: Memory leak in getbufinfo() when there is a sign. (Dominique 13954 Pelle) 13955Solution: Remove extra vim_strsave(). 13956Files: src/evalfunc.c 13957 13958Patch 7.4.2278 13959Problem: New users have no idea of the 'scrolloff' option. 13960Solution: Set 'scrolloff' in defaults.vim. 13961Files: runtime/defaults.vim 13962 13963Patch 7.4.2279 13964Problem: Starting diff mode with the cursor in the last line might end up 13965 only showing one closed fold. (John Beckett) 13966Solution: Scroll the window to show the same relative cursor position. 13967Files: src/diff.c, src/window.c, src/proto/window.pro 13968 13969Patch 7.4.2280 13970Problem: printf() doesn't handle infinity float values correctly. 13971Solution: Add a table with possible infinity values. (Dominique Pelle) 13972Files: src/message.c, src/testdir/test_expr.vim 13973 13974Patch 7.4.2281 13975Problem: Timer test fails sometimes. 13976Solution: Reduce minimum time by 1 msec. 13977Files: src/testdir/test_timers.vim 13978 13979Patch 7.4.2282 13980Problem: When a child process is very fast waiting 10 msec for it is 13981 noticeable. (Ramel Eshed) 13982Solution: Start waiting for 1 msec and gradually increase. 13983Files: src/os_unix.c 13984 13985Patch 7.4.2283 13986Problem: Part of ":oldfiles" command isn't cleared. (Lifepillar) 13987Solution: Clear the rest of the line. (closes 1018) 13988Files: src/ex_cmds.c 13989 13990Patch 7.4.2284 13991Problem: Comment in scope header file is outdated. (KillTheMule) 13992Solution: Point to the help instead. (closes #1017) 13993Files: src/if_cscope.h 13994 13995Patch 7.4.2285 13996Problem: Generated files are outdated. 13997Solution: Generate the files. Avoid errors when generating prototypes. 13998Files: src/if_mzsch.h, src/Makefile, src/option.h, src/os_mac_conv.c, 13999 src/os_amiga.c, src/vim.h, src/structs.h, src/os_win32.c, 14000 src/if_lua.c, src/proto/mbyte.pro 14001 14002Patch 7.4.2286 14003Problem: The tee program isn't included. Makefile contains build 14004 instructions that don't work. 14005Solution: Update the Filelist and build instructions. Remove build 14006 instructions for DOS and old Windows. Add the tee program. 14007Files: Filelist, Makefile, nsis/gvim.nsi 14008 14009Patch 7.4.2287 14010Problem: The callback passed to ch_sendraw() is not used. 14011Solution: Pass the read part, not the send part. (haya14busa, closes #1019) 14012Files: src/channel.c, src/testdir/test_channel.vim 14013 14014Patch 7.4.2288 14015Problem: MS-Windows build instructions are clumsy. "dosbin" doesn't build. 14016Solution: Add rename.bat. Fix building "dosbin". 14017Files: Makefile, Filelist, rename.bat 14018 14019Patch 7.4.2289 14020Problem: When installing and $DESTDIR is set the icons probably won't be 14021 installed. 14022Solution: Create the icon directories if $DESTDIR is not empty. (Danek 14023 Duvall) 14024Files: src/Makefile 14025 14026Patch 7.4.2290 14027Problem: Compiler warning in tiny build. (Tony Mechelynck) 14028Solution: Add #ifdef around infinity_str(). 14029Files: src/message.c 14030 14031Patch 7.4.2291 14032Problem: printf() handles floats wrong when there is a sign. 14033Solution: Fix placing the sign. Add tests. (Dominique Pelle) 14034Files: src/testdir/test_expr.vim, runtime/doc/eval.txt, src/message.c 14035 14036Patch 7.4.2292 (after 7.4.2291) 14037Problem: Not all systems understand %F in printf(). 14038Solution: Use %f. 14039Files: src/message.c 14040 14041Patch 7.4.2293 14042Problem: Modelines in source code are inconsistent. 14043Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino) 14044Files: src/alloc.h, src/arabic.c, src/arabic.h, src/ascii.h, 14045 src/blowfish.c, src/buffer.c, src/channel.c, src/charset.c, 14046 src/crypt.c, src/crypt_zip.c, src/dict.c, src/diff.c, 14047 src/digraph.c, src/dosinst.c, src/dosinst.h, src/edit.c, 14048 src/eval.c, src/evalfunc.c, src/ex_cmds.c, src/ex_cmds.h, 14049 src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, 14050 src/farsi.c, src/farsi.h, src/feature.h, src/fileio.c, src/fold.c, 14051 src/getchar.c, src/glbl_ime.cpp, src/glbl_ime.h, src/globals.h, 14052 src/gui.c, src/gui.h, src/gui_at_fs.c, src/gui_at_sb.c, 14053 src/gui_at_sb.h, src/gui_athena.c, src/gui_beval.c, 14054 src/gui_beval.h, src/gui_gtk.c, src/gui_gtk_f.c, src/gui_gtk_f.h, 14055 src/gui_gtk_vms.h, src/gui_gtk_x11.c, src/gui_mac.c, 14056 src/gui_motif.c, src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, 14057 src/gui_x11_pm.h, src/gui_xmdlg.c, src/gui_xmebw.c, 14058 src/gui_xmebw.h, src/gui_xmebwp.h, src/hangulin.c, src/hardcopy.c, 14059 src/hashtab.c, src/if_cscope.c, src/if_cscope.h, src/if_mzsch.c, 14060 src/if_mzsch.h, src/if_ole.cpp, src/if_perl.xs, src/if_perlsfio.c, 14061 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/if_xcmdsrv.c, 14062 src/integration.c, src/integration.h, src/iscygpty.c, src/json.c, 14063 src/json_test.c, src/keymap.h, src/list.c, src/macros.h, 14064 src/main.c, src/mark.c, src/mbyte.c, src/memfile.c, 14065 src/memfile_test.c, src/memline.c, src/menu.c, src/message.c, 14066 src/message_test.c, src/misc1.c, src/misc2.c, src/move.c, 14067 src/nbdebug.c, src/nbdebug.h, src/netbeans.c, src/normal.c, 14068 src/ops.c, src/option.c, src/option.h, src/os_amiga.c, 14069 src/os_amiga.h, src/os_beos.c, src/os_beos.h, src/os_dos.h, 14070 src/os_mac.h, src/os_mac_conv.c, src/os_macosx.m, src/os_mint.h, 14071 src/os_mswin.c, src/os_qnx.c, src/os_qnx.h, src/os_unix.c, 14072 src/os_unix.h, src/os_unixx.h, src/os_vms.c, src/os_w32dll.c, 14073 src/os_w32exe.c, src/os_win32.c, src/os_win32.h, src/popupmnu.c, 14074 src/proto.h, src/pty.c, src/quickfix.c, src/regexp.c, 14075 src/regexp.h, src/regexp_nfa.c, src/screen.c, src/search.c, 14076 src/sha256.c, src/spell.c, src/spell.h, src/spellfile.c, 14077 src/structs.h, src/syntax.c, src/tag.c, src/term.c, src/term.h, 14078 src/termlib.c, src/ui.c, src/undo.c, src/uninstal.c, 14079 src/userfunc.c, src/version.c, src/version.h, src/vim.h, 14080 src/vim.rc, src/vimio.h, src/vimrun.c, src/winclip.c, 14081 src/window.c, src/workshop.c, src/workshop.h, src/wsdebug.c, 14082 src/wsdebug.h, src/xpm_w32.c 14083 14084Patch 7.4.2294 14085Problem: Sign test fails on MS-Windows when using the distributed zip 14086 archives. 14087Solution: Create dummy files instead of relying on files in the pixmaps 14088 directory. 14089Files: src/testdir/test_signs.vim 14090 14091Patch 7.4.2295 (after 7.4.2293) 14092Problem: Cscope test fails. 14093Solution: Avoid checking for specific line and column numbers. 14094Files: src/testdir/test_cscope.vim 14095 14096Patch 7.4.2296 14097Problem: No tests for :undolist and "U" command. 14098Solution: Add tests. (Dominique Pelle) 14099Files: src/testdir/test_undo.vim 14100 14101Patch 7.4.2297 14102Problem: When starting a job that reads from a buffer and reaching the end, 14103 the job hangs. 14104Solution: Close the pipe or socket when all lines were read. 14105Files: src/channel.c, src/testdir/test_channel.vim 14106 14107Patch 7.4.2298 14108Problem: It is not possible to close the "in" part of a channel. 14109Solution: Add ch_close_in(). 14110Files: src/evalfunc.c, src/channel.c, src/proto/channel.pro, 14111 src/testdir/test_channel.vim, runtime/doc/eval.txt, 14112 runtime/doc/channel.txt 14113 14114Patch 7.4.2299 14115Problem: QuickFixCmdPre and QuickFixCmdPost autocommands are not always 14116 triggered. 14117Solution: Also trigger on ":cexpr", ":cbuffer", etc. (Yegappan Lakshmanan) 14118Files: src/quickfix.c, src/testdir/test_quickfix.vim 14119 14120Patch 7.4.2300 14121Problem: Get warning for deleting autocommand group when the autocommand 14122 using the group is scheduled for deletion. (Pavol Juhas) 14123Solution: Check for deleted autocommand. 14124Files: src/fileio.c, src/testdir/test_autocmd.vim 14125 14126Patch 7.4.2301 14127Problem: MS-Windows: some files remain after testing. 14128Solution: Close the channel output file. Wait for the file handle to be 14129 closed before deleting the file. 14130Files: src/os_win32.c, src/testdir/test_channel.vim 14131 14132Patch 7.4.2302 14133Problem: Default interface versions for MS-Windows are outdated. 14134Solution: Use Active Perl 5.24, Python 3.5.2. Could only make it work with 14135 Ruby 1.9.2. 14136Files: src/bigvim.bat, src/bigvim64.bat, src/Make_mvc.mak 14137 14138Patch 7.4.2303 14139Problem: When using "is" the mode isn't always updated. 14140Solution: Redraw the command line. (Christian Brabandt) 14141Files: src/search.c 14142 14143Patch 7.4.2304 14144Problem: In a timer callback the timer itself can't be found or stopped. 14145 (Thinca) 14146Solution: Do not remove the timer from the list, remember whether it was 14147 freed. 14148Files: src/ex_cmds2.c, src/testdir/test_timers.vim 14149 14150Patch 7.4.2305 14151Problem: Marks, writefile and nested function tests are old style. 14152Solution: Turn them into new style tests. (Yegappan Lakshmanan) 14153Files: src/testdir/Make_all.mak, src/testdir/test_marks.in, 14154 src/testdir/test_marks.ok, src/testdir/test_marks.vim, 14155 src/testdir/test_nested_function.in, 14156 src/testdir/test_nested_function.ok, 14157 src/testdir/test_nested_function.vim, 14158 src/testdir/test_writefile.in, src/testdir/test_writefile.ok, 14159 src/testdir/test_writefile.vim, src/Makefile 14160 14161Patch 7.4.2306 14162Problem: Default value for 'langremap' is wrong. 14163Solution: Set the right value. (Jürgen Krämer) Add a test. 14164Files: src/option.c, src/testdir/test_mapping.vim 14165 14166Patch 7.4.2307 14167Problem: Several tests are old style. 14168Solution: Turn them into new style tests. (Yegappan Lakshmanan) 14169Files: src/testdir/Make_all.mak, src/testdir/test102.in, 14170 src/testdir/test102.ok, src/testdir/test46.in, 14171 src/testdir/test46.ok, src/testdir/test81.in, 14172 src/testdir/test81.ok, src/testdir/test_charsearch.in, 14173 src/testdir/test_charsearch.ok, src/testdir/test_charsearch.vim, 14174 src/testdir/test_fnameescape.vim, src/testdir/test_substitute.vim, 14175 src/Makefile 14176 14177Patch 7.4.2308 (after 7.4.2307) 14178Problem: Old charsearch test still listed in Makefile. 14179Solution: Remove the line. 14180Files: src/testdir/Make_all.mak 14181 14182Patch 7.4.2309 14183Problem: Crash when doing tabnext in a BufUnload autocmd. (Dominique Pelle) 14184Solution: When detecting that the tab page changed, don't just abort but 14185 delete the window where w_buffer is NULL. 14186Files: src/window.c, src/testdir/test_tabpage.vim 14187 14188Patch 7.4.2310 (after 7.4.2304) 14189Problem: Accessing freed memory when a timer does not repeat. 14190Solution: Free after removing it. (Dominique Pelle) 14191Files: src/ex_cmds2.c 14192 14193Patch 7.4.2311 14194Problem: Appveyor 64 bit build still using Python 3.4 14195Solution: Switch to Python 3.5. (Ken Takata, closes #1032) 14196Files: appveyor.yml, src/appveyor.bat 14197 14198Patch 7.4.2312 14199Problem: Crash when autocommand moves to another tab. (Dominique Pelle) 14200Solution: When navigating to another window halfway the :edit command go 14201 back to the right window. 14202Files: src/buffer.c, src/ex_cmds.c, src/ex_getln.c, src/ex_docmd.c, 14203 src/window.c, src/proto/ex_getln.pro, src/testdir/test_tabpage.vim 14204 14205Patch 7.4.2313 14206Problem: Crash when deleting an augroup and listing an autocommand. 14207 (Dominique Pelle) 14208Solution: Make sure deleted_augroup is valid. 14209Files: src/fileio.c, src/testdir/test_autocmd.vim 14210 14211Patch 7.4.2314 14212Problem: No error when deleting an augroup while it's the current one. 14213Solution: Disallow deleting an augroup when it's the current one. 14214Files: src/fileio.c, src/testdir/test_autocmd.vim 14215 14216Patch 7.4.2315 14217Problem: Insufficient testing for Normal mode commands. 14218Solution: Add a big test. (Christian Brabandt, closes #1029) 14219Files: src/Makefile, src/testdir/Make_all.mak, 14220 src/testdir/test_normal.vim 14221 14222Patch 7.4.2316 14223Problem: Channel sort test is flaky. 14224Solution: Add a check the output has been read. 14225Files: src/testdir/test_channel.vim 14226 14227Patch 7.4.2317 (after 7.4.2315) 14228Problem: Normal mode tests fail on MS-Windows. 14229Solution: Do some tests only on Unix. Set 'fileformat' to "unix". 14230Files: src/testdir/test_normal.vim 14231 14232Patch 7.4.2318 14233Problem: When 'incsearch' is not set CTRL-T and CTRL-G are not inserted as 14234 before. 14235Solution: Move #ifdef and don't use goto. 14236Files: src/ex_getln.c 14237 14238Patch 7.4.2319 14239Problem: No way for a system wide vimrc to stop loading defaults.vim. 14240 (Christian Hesse) 14241Solution: Bail out of defaults.vim if skip_defaults_vim was set. 14242Files: runtime/defaults.vim 14243 14244Patch 7.4.2320 14245Problem: Redraw problem when using 'incsearch'. 14246Solution: Save the current view when deleting characters. (Christian 14247 Brabandt) Fix that the '" mark is set in the wrong position. Don't 14248 change the search start when using BS. 14249Files: src/ex_getln.c, src/normal.c, src/testdir/test_search.vim 14250 14251Patch 7.4.2321 14252Problem: When a test is commented out we forget about it. 14253Solution: Let a test throw an exception with "Skipped" and list skipped test 14254 functions. (Christian Brabandt) 14255Files: src/testdir/Makefile, src/testdir/runtest.vim, 14256 src/testdir/test_popup.vim, src/testdir/README.txt 14257 14258Patch 7.4.2322 14259Problem: Access memory beyond the end of the line. (Dominique Pelle) 14260Solution: Adjust the cursor column. 14261Files: src/move.c, src/testdir/test_normal.vim 14262 14263Patch 7.4.2323 14264Problem: Using freed memory when using 'formatexpr'. (Dominique Pelle) 14265Solution: Make a copy of 'formatexpr' before evaluating it. 14266Files: src/ops.c, src/testdir/test_normal.vim 14267 14268Patch 7.4.2324 14269Problem: Crash when editing a new buffer and BufUnload autocommand wipes 14270 out the new buffer. (Norio Takagi) 14271Solution: Don't allow wiping out this buffer. (partly by Hirohito Higashi) 14272 Move old style test13 into test_autocmd. Avoid ml_get error when 14273 editing a file. 14274Files: src/structs.h, src/buffer.c, src/ex_cmds.c, src/ex_docmd.c, 14275 src/window.c, src/testdir/test13.in, src/testdir/test13.ok, 14276 src/testdir/test_autocmd.vim, src/testdir/Make_all.mak, 14277 src/Makefile 14278 14279Patch 7.4.2325 (after 7.4.2324) 14280Problem: Tiny build fails. 14281Solution: Add #ifdef. 14282Files: src/buffer.c 14283 14284Patch 7.4.2326 14285Problem: Illegal memory access when Visual selection starts in invalid 14286 position. (Dominique Pelle) 14287Solution: Correct position when needed. 14288Files: src/normal.c, src/misc2.c, src/proto/misc2.pro 14289 14290Patch 7.4.2327 14291Problem: Freeing a variable that is on the stack. 14292Solution: Don't free res_tv or err_tv. (Ozaki Kiichi) 14293Files: src/channel.c 14294 14295Patch 7.4.2328 14296Problem: Crash when BufWinLeave autocmd goes to another tab page. (Hirohito 14297 Higashi) 14298Solution: Make close_buffer() go back to the right window. 14299Files: src/buffer.c, src/testdir/test_autocmd.vim 14300 14301Patch 7.4.2329 14302Problem: Error for min() and max() contains %s. (Nikolai Pavlov) 14303Solution: Pass the function name. (closes #1040) 14304Files: src/evalfunc.c, src/testdir/test_expr.vim 14305 14306Patch 7.4.2330 14307Problem: Coverity complains about not checking curwin to be NULL. 14308Solution: Use firstwin to avoid the warning. 14309Files: src/buffer.c 14310 14311Patch 7.4.2331 14312Problem: Using CTRL-X CTRL-V to complete a command line from Insert mode 14313 does not work after entering an expression on the command line. 14314Solution: Don't use "ccline" when not actually using a command line. (test 14315 by Hirohito Higashi) 14316Files: src/edit.c, src/ex_getln.c, src/proto/ex_getln.pro, 14317 src/testdir/test_popup.vim 14318 14319Patch 7.4.2332 14320Problem: Crash when stop_timer() is called in a callback of a callback. 14321 Vim hangs when the timer callback uses too much time. 14322Solution: Set tr_id to -1 when a timer is to be deleted. Don't keep calling 14323 callbacks forever. (Ozaki Kiichi) 14324Files: src/evalfunc.c, src/ex_cmds2.c, src/structs.h, 14325 src/proto/ex_cmds2.pro, src/testdir/test_timers.vim 14326 14327Patch 7.4.2333 14328Problem: Outdated comments in test. 14329Solution: Cleanup normal mode test. (Christian Brabandt) 14330Files: src/testdir/test_normal.vim 14331 14332Patch 7.4.2334 14333Problem: On MS-Windows test_getcwd leaves Xtopdir behind. 14334Solution: Set 'noswapfile'. (Michael Soyka) 14335Files: src/testdir/test_getcwd.in 14336 14337Patch 7.4.2335 14338Problem: taglist() is slow. (Luc Hermitte) 14339Solution: Check for CTRL-C less often when doing a linear search. (closes 14340 #1044) 14341Files: src/tag.c 14342 14343Patch 7.4.2336 14344Problem: Running normal mode tests leave a couple of files behind. 14345 (Yegappan Lakshmanan) 14346Solution: Delete the files. (Christian Brabandt) 14347Files: src/testdir/test_normal.vim 14348 14349Patch 7.4.2337 14350Problem: taglist() is still slow. (Luc Hermitte) 14351Solution: Check for CTRL-C less often when finding duplicates. 14352Files: src/tag.c 14353 14354Patch 7.4.2338 14355Problem: Can't build with small features. (John Marriott) 14356Solution: Nearly always define FEAT_TAG_BINS. 14357Files: src/feature.h, src/tag.c 14358 14359Patch 7.4.2339 14360Problem: Tab page test fails when run as fake root. 14361Solution: Check 'buftype' instead of 'filetype'. (James McCoy, closes #1042) 14362Files: src/testdir/test_tabpage.vim 14363 14364Patch 7.4.2340 14365Problem: MS-Windows: Building with Ruby uses old version. 14366Solution: Update to 2.2.X. Use clearer name for the API version. (Ken 14367 Takata) 14368Files: Makefile, src/INSTALLpc.txt, src/Make_cyg_ming.mak, 14369 src/Make_mvc.mak, src/bigvim.bat 14370 14371Patch 7.4.2341 14372Problem: Tiny things. Test doesn't clean up properly. 14373Solution: Adjust comment and white space. Restore option value. 14374Files: src/ex_cmds.c, src/message.c, src/testdir/test_autocmd.vim 14375 14376Patch 7.4.2342 14377Problem: Typo in MS-Windows build script. 14378Solution: change "w2" to "22". 14379Files: src/bigvim.bat 14380 14381Patch 7.4.2343 14382Problem: Too many old style tests. 14383Solution: Turn several into new style tests. (Yegappan Lakshmanan) 14384Files: src/testdir/Make_all.mak, src/testdir/test101.in, 14385 src/testdir/test101.ok, src/testdir/test18.in, 14386 src/testdir/test18.ok, src/testdir/test2.in, src/testdir/test2.ok, 14387 src/testdir/test21.in, src/testdir/test21.ok, 14388 src/testdir/test6.in, src/testdir/test6.ok, 14389 src/testdir/test_arglist.vim, src/testdir/test_charsearch.vim, 14390 src/testdir/test_fnameescape.vim, src/testdir/test_gf.vim, 14391 src/testdir/test_hlsearch.vim, src/testdir/test_smartindent.vim, 14392 src/testdir/test_tagjump.vim, src/Makefile 14393 14394Patch 7.4.2344 14395Problem: The "Reading from channel output..." message can be unwanted. 14396 Appending to a buffer leaves an empty first line behind. 14397Solution: Add the "out_msg" and "err_msg" options. Writing the first line 14398 overwrites the first, empty line. 14399Files: src/structs.h, src/channel.c, src/testdir/test_channel.vim, 14400 runtime/doc/channel.txt 14401 14402Patch 7.4.2345 (after 7.4.2340) 14403Problem: For MinGW RUBY_API_VER_LONG isn't set correctly. Many default 14404 version numbers are outdated. 14405Solution: Set RUBY_API_VER_LONG to RUBY_VER_LONG. Use latest stable releases 14406 for defaults. (Ken Takata) 14407Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 14408 14409Patch 7.4.2346 14410Problem: Autocommand test fails when run directly, passes when run as part 14411 of test_alot. 14412Solution: Add command to make the cursor move. Close a tab page. 14413Files: src/testdir/test_autocmd.vim 14414 14415Patch 7.4.2347 14416Problem: Crash when closing a buffer while Visual mode is active. 14417 (Dominique Pelle) 14418Solution: Adjust the position before computing the number of lines. 14419 When closing the current buffer stop Visual mode. 14420Files: src/buffer.c, src/normal.c, src/testdir/test_normal.vim 14421 14422Patch 7.4.2348 14423Problem: Crash on exit when EXITFREE is defined. (Dominique Pelle) 14424Solution: Don't access curwin when exiting. 14425Files: src/buffer.c 14426 14427Patch 7.4.2349 14428Problem: Valgrind reports using uninitialized memory. (Dominique Pelle) 14429Solution: Check the length before checking for a NUL. 14430Files: src/message.c 14431 14432Patch 7.4.2350 14433Problem: Test 86 and 87 fail with some version of Python. 14434Solution: Unify "can't" and "cannot". Unify quotes. 14435Files: src/testdir/test86.in, src/testdir/test86.ok, 14436 src/testdir/test87.in, src/testdir/test87.ok 14437 14438Patch 7.4.2351 14439Problem: Netbeans test fails when run from unpacked MS-Windows sources. 14440Solution: Open README.txt instead of Makefile. 14441Files: src/testdir/test_netbeans.py, src/testdir/test_netbeans.vim 14442 14443Patch 7.4.2352 14444Problem: Netbeans test fails in shadow directory. 14445Solution: Also copy README.txt to the shadow directory. 14446Files: src/Makefile 14447 14448Patch 7.4.2353 14449Problem: Not enough test coverage for Normal mode commands. 14450Solution: Add more tests. (Christian Brabandt) 14451Files: src/testdir/test_normal.vim 14452 14453Patch 7.4.2354 14454Problem: The example that explains nested backreferences does not work 14455 properly with the new regexp engine. (Harm te Hennepe) 14456Solution: Also save the end position when adding a state. (closes #990) 14457Files: src/regexp_nfa.c, src/testdir/test_regexp_latin.vim 14458 14459Patch 7.4.2355 14460Problem: Regexp fails to match when using "\>\)\?". (Ramel) 14461Solution: When a state is already in the list, but addstate_here() is used 14462 and the existing state comes later, add the new state anyway. 14463Files: src/regexp_nfa.c, src/testdir/test_regexp_latin.vim 14464 14465Patch 7.4.2356 14466Problem: Reading past end of line when using previous substitute pattern. 14467 (Dominique Pelle) 14468Solution: Don't set "pat" only set "searchstr". 14469Files: src/search.c, src/testdir/test_search.vim 14470 14471Patch 7.4.2357 14472Problem: Attempt to read history entry while not initialized. 14473Solution: Skip when the index is negative. 14474Files: src/ex_getln.c 14475 14476Patch 7.4.2358 14477Problem: Compiler warnings with Solaris Studio when using GTK3. (Danek 14478 Duvall) 14479Solution: Define FUNC2GENERIC depending on the system. (Kazunobu Kuriyama) 14480Files: src/gui.h, src/gui_beval.c, src/gui_gtk_f.c 14481 14482Patch 7.4.2359 14483Problem: Memory leak in timer_start(). 14484Solution: Check the right field to be NULL. 14485Files: src/evalfunc.c, src/testdir/test_timers.vim 14486 14487Patch 7.4.2360 14488Problem: Invalid memory access when formatting. (Dominique Pelle) 14489Solution: Make sure cursor line and column are associated. 14490Files: src/misc1.c 14491 14492Patch 7.4.2361 14493Problem: Checking for last_timer_id to overflow is not reliable. (Ozaki 14494 Kiichi) 14495Solution: Check for the number not going up. 14496Files: src/ex_cmds2.c 14497 14498Patch 7.4.2362 14499Problem: Illegal memory access with ":1@". (Dominique Pelle) 14500Solution: Correct cursor column after setting the line number. Also avoid 14501 calling end_visual_mode() when not in Visual mode. 14502Files: src/ex_docmd.c, src/buffer.c 14503 14504Patch 7.4.2363 14505Problem: Superfluous function prototypes. 14506Solution: Remove them. 14507Files: src/regexp.c 14508 14509Patch 7.4.2364 14510Problem: Sort test sometimes fails. 14511Solution: Add it to the list of flaky tests. 14512Files: src/testdir/runtest.vim 14513 14514Patch 7.4.2365 14515Problem: Needless line break. Confusing directory name. 14516Solution: Remove line break. Prepend "../" to "tools". 14517Files: Makefile, src/normal.c 14518 14519Patch 7.4.2366 14520Problem: MS-Windows gvim.exe does not have DirectX support. 14521Solution: Add the DIRECTX to the script. 14522Files: src/bigvim.bat 14523 14524Patch 7.4.2367 (after 7.4.2364) 14525Problem: Test runner misses a comma. 14526Solution: Add the comma. 14527Files: src/testdir/runtest.vim 14528 14529 14530============================================================================== 14531VERSION 8.1 *version-8.1* *version8.1* *vim-8.1* 14532 14533This section is about improvements made between version 8.0 and 8.1. 14534 14535This release has hundreds of bug fixes, there is a new feature and there are 14536many minor improvements. 14537 14538 14539The terminal window *new-terminal-window* 14540------------------- 14541 14542You can now open a window which functions as a terminal. You can use it for: 14543- Running a command, such as "make", while editing in other windows 14544- Running a shell and execute several commands 14545- Use the terminal debugger plugin, see |terminal-debugger| 14546 14547All of this is especially useful when running Vim on a remote (ssh) 14548connection, when you can't easily open more terminals. 14549 14550For more information see |terminal-window|. 14551 14552 14553Changed *changed-8.1* 14554------- 14555 14556Internal: A few C99 features are now allowed such as // comments and a 14557comma after the last enum entry. See |style-compiler|. 14558 14559Since patch 8.0.0029 removed support for older MS-Windows systems, only 14560MS-Windows XP and later are supported. 14561 14562 14563Added *added-8.1* 14564----- 14565 14566Various syntax, indent and other plugins were added. 14567 14568Quickfix improvements (by Yegappan Lakshmanan): 14569 Added support for modifying any quickfix/location list in the quickfix 14570 stack. 14571 Added a unique identifier for every quickfix/location list. 14572 Added support for associating any Vim type as a context information to 14573 a quickfix/location list. 14574 Enhanced the getqflist(), getloclist(), setqflist() and setloclist() 14575 functions to get and set the various quickfix/location list attributes. 14576 Added the QuickFixLine highlight group to highlight the current line 14577 in the quickfix window. 14578 The quickfix buffer b:changedtick variable is incremented for every 14579 change to the contained quickfix list. 14580 Added a changedtick variable to a quickfix/location list which is 14581 incremented when the list is modified. 14582 Added support for parsing text using 'errorformat' without creating a 14583 new quickfix list. 14584 Added support for the "module" item to a quickfix entry which can be 14585 used for display purposes instead of a long file name. 14586 Added support for freeing all the lists in the quickfix/location stack. 14587 When opening a quickfix window using the :copen/:cwindow commands, the 14588 supplied split modifiers are used. 14589 14590Functions: 14591 All the term_ functions. 14592 14593 |assert_beeps()| 14594 |assert_equalfile()| 14595 |assert_report()| 14596 |balloon_show()| 14597 |balloon_split()| 14598 |ch_canread()| 14599 |getchangelist()| 14600 |getjumplist()| 14601 |getwinpos()| 14602 |pyxeval()| 14603 |remote_startserver()| 14604 |setbufline()| 14605 |test_ignore_error()| 14606 |test_override()| 14607 |trim()| 14608 |win_screenpos()| 14609 14610Autocommands: 14611 |CmdlineChanged| 14612 |CmdlineEnter| 14613 |CmdlineLeave| 14614 |ColorSchemePre| 14615 |DirChanged| 14616 |ExitPre| 14617 |TerminalOpen| 14618 |TextChangedP| 14619 |TextYankPost| 14620 14621Commands: 14622 |:pyx| 14623 |:pythonx| 14624 |:pyxdo| 14625 |:pyxfile| 14626 |:terminal| 14627 |:tmapclear| 14628 |:tmap| 14629 |:tnoremap| 14630 |:tunmap| 14631 14632Options: 14633 'balloonevalterm' 14634 'imstyle' 14635 'mzschemedll' 14636 'mzschemegcdll' 14637 'makeencoding' 14638 'pumwidth' 14639 'pythonhome' 14640 'pythonthreehome' 14641 'pyxversion' 14642 'termwinkey' 14643 'termwinscroll' 14644 'termwinsize' 14645 'viminfofile' 14646 'winptydll' 14647 14648 14649Patches *patches-8.1* 14650------- 14651 14652Patch 8.0.0001 14653Problem: Intro screen still mentions version7. (Paul) 14654Solution: Change it to version8. 14655Files: src/version.c 14656 14657Patch 8.0.0002 14658Problem: The netrw plugin does not work. 14659Solution: Make it accept version 8.0. 14660Files: runtime/autoload/netrw.vim 14661 14662Patch 8.0.0003 14663Problem: getwinvar() returns wrong Value of boolean and number options, 14664 especially non big endian systems. (James McCoy) 14665Solution: Cast the pointer to long or int. (closes #1060) 14666Files: src/option.c, src/testdir/test_bufwintabinfo.vim 14667 14668Patch 8.0.0004 14669Problem: A string argument for function() that is not a function name 14670 results in an error message with NULL. (Christian Brabandt) 14671Solution: Use the argument for the error message. 14672Files: src/evalfunc.c, src/testdir/test_expr.vim 14673 14674Patch 8.0.0005 14675Problem: Netbeans test fails with Python 3. (Jonathonf) 14676Solution: Encode the string before sending it. (closes #1070) 14677Files: src/testdir/test_netbeans.py 14678 14679Patch 8.0.0006 14680Problem: ":lb" is interpreted as ":lbottom" while the documentation says it 14681 means ":lbuffer". 14682Solution: Adjust the order of the commands. (haya14busa, closes #1093) 14683Files: src/ex_cmds.h 14684 14685Patch 8.0.0007 14686Problem: Vim 7.4 is still mentioned in a few places. 14687Solution: Update to Vim 8. (Uncle Bill, closes #1094) 14688Files: src/INSTALLpc.txt, src/vimtutor, uninstal.txt 14689 14690Patch 8.0.0008 14691Problem: Popup complete test is disabled. 14692Solution: Enable the test and change the assert. (Hirohito Higashi) 14693Files: src/testdir/test_popup.vim 14694 14695Patch 8.0.0009 14696Problem: Unnecessary workaround for AppVeyor. 14697Solution: Revert patch 7.4.990. (Christian Brabandt) 14698Files: appveyor.yml 14699 14700Patch 8.0.0010 14701Problem: Crash when editing file that starts with crypt header. (igor2x) 14702Solution: Check for length of text. (Christian Brabandt) Add a test. 14703Files: src/fileio.c, src/testdir/test_crypt.vim, src/Makefile, 14704 src/testdir/Make_all.mak 14705 14706Patch 8.0.0011 14707Problem: On OSX Test_pipe_through_sort_all() sometimes fails. 14708Solution: Add the test to the list of flaky tests. 14709Files: src/testdir/runtest.vim 14710 14711Patch 8.0.0012 14712Problem: Typos in comments. 14713Solution: Change "its" to "it's". (Matthew Brener, closes #1088) 14714Files: src/evalfunc.c, src/main.aap, src/nbdebug.c, src/netbeans.c, 14715 src/quickfix.c, src/workshop.c, src/wsdebug.c 14716 14717Patch 8.0.0013 (after 8.0.0011) 14718Problem: Missing comma in list. 14719Solution: Add the comma. 14720Files: src/testdir/runtest.vim 14721 14722Patch 8.0.0014 14723Problem: Crypt tests are old style. 14724Solution: Convert to new style. 14725Files: src/testdir/test71.in, src/testdir/test71.ok, 14726 src/testdir/test71a.in, src/testdir/test_crypt.vim, src/Makefile, 14727 src/testdir/Make_all.mak 14728 14729Patch 8.0.0015 14730Problem: Can't tell which part of a channel has "buffered" status. 14731Solution: Add an optional argument to ch_status(). Let ch_info() also 14732 return "buffered" for out_status and err_status. 14733Files: src/evalfunc.c, src/channel.c, src/proto/channel.pro, 14734 src/testdir/test_channel.vim, runtime/doc/eval.txt 14735 14736Patch 8.0.0016 (after 8.0.0015) 14737Problem: Build fails. 14738Solution: Include missing change. 14739Files: src/eval.c 14740 14741Patch 8.0.0017 14742Problem: Cannot get the number of the current quickfix or location list. 14743Solution: Use the current list if "nr" in "what" is zero. (Yegappan 14744 Lakshmanan) Remove debug command from test. 14745Files: src/quickfix.c, src/testdir/test_quickfix.vim, 14746 runtime/doc/eval.txt 14747 14748Patch 8.0.0018 14749Problem: When using ":sleep" channel input is not handled. 14750Solution: When there is a channel check for input also when not in raw mode. 14751 Check every 100 msec. 14752Files: src/channel.c, src/proto/channel.pro, src/ui.c, src/proto/ui.pro, 14753 src/ex_docmd.c, src/os_amiga.c, src/proto/os_amiga.pro, 14754 src/os_unix.c, src/proto/os_unix.pro, src/os_win32.c, 14755 src/proto/os_win32.pro 14756 14757Patch 8.0.0019 14758Problem: Test_command_count is old style. 14759Solution: Turn it into a new style test. (Naruhiko Nishino) 14760 Use more assert functions. 14761Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_alot.vim, 14762 src/testdir/test_autocmd.vim, src/testdir/test_command_count.in, 14763 src/testdir/test_command_count.ok, 14764 src/testdir/test_command_count.vim 14765 14766Patch 8.0.0020 14767Problem: The regexp engines are not reentrant. 14768Solution: Add regexec_T and save/restore the state when needed. 14769Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_expr.vim, 14770 runtime/doc/eval.txt, runtime/doc/change.txt 14771 14772Patch 8.0.0021 14773Problem: In the GUI when redrawing the cursor it may be on the second half 14774 of a double byte character. 14775Solution: Correct the cursor column. (Yasuhiro Matsumoto) 14776Files: src/screen.c 14777 14778Patch 8.0.0022 14779Problem: If a channel in NL mode is missing the NL at the end the remaining 14780 characters are dropped. 14781Solution: When the channel is closed use the remaining text. (Ozaki Kiichi) 14782Files: src/channel.c, src/testdir/test_channel.vim 14783 14784Patch 8.0.0023 14785Problem: "gd" and "gD" may find a match in a comment or string. 14786Solution: Ignore matches in comments and strings. (Anton Lindqvist) 14787Files: src/normal.c, src/testdir/test_goto.vim 14788 14789Patch 8.0.0024 14790Problem: When the netbeans channel closes, "DETACH" is put in the output 14791 part. (Ozaki Kiichi) 14792Solution: Write "DETACH" in the socket part. 14793Files: src/channel.c, src/testdir/test_netbeans.vim 14794 14795Patch 8.0.0025 14796Problem: Inconsistent use of spaces vs tabs in gd test. 14797Solution: Use tabs. (Anton Lindqvist) 14798Files: src/testdir/test_goto.vim 14799 14800Patch 8.0.0026 14801Problem: Error format with %W, %C and %Z does not work. (Gerd Wachsmuth) 14802Solution: Skip code when qf_multiignore is set. (Lcd) 14803Files: src/quickfix.c, src/testdir/test_quickfix.vim 14804 14805Patch 8.0.0027 14806Problem: A channel is closed when reading on stderr or stdout fails, but 14807 there may still be something to read on another part. 14808Solution: Turn ch_to_be_closed into a bitfield. (Ozaki Kiichi) 14809Files: src/channel.c, src/eval.c, src/structs.h, src/proto/channel.pro, 14810 src/testdir/test_channel.vim 14811 14812Patch 8.0.0028 14813Problem: Superfluous semicolons. 14814Solution: Remove them. (Ozaki Kiichi) 14815Files: src/ex_cmds2.c 14816 14817Patch 8.0.0029 14818Problem: Code for MS-Windows is complicated because of the exceptions for 14819 old systems. 14820Solution: Drop support for MS-Windows older than Windows XP. (Ken Takata) 14821Files: runtime/doc/gui_w32.txt, runtime/doc/os_win32.txt, 14822 runtime/doc/todo.txt, src/GvimExt/Makefile, src/Make_mvc.mak, 14823 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/gui_w32.c, 14824 src/if_cscope.c, src/misc1.c, src/misc2.c, src/option.c, 14825 src/os_mswin.c, src/os_win32.c, src/os_win32.h, 14826 src/proto/os_mswin.pro, src/proto/os_win32.pro, src/version.c 14827 14828Patch 8.0.0030 14829Problem: Mouse mode is not automatically detected for tmux. 14830Solution: Check for 'term' to be "tmux". (Michael Henry) 14831Files: src/os_unix.c 14832 14833Patch 8.0.0031 14834Problem: After ":bwipeout" 'fileformat' is not set to the right default. 14835Solution: Get the default from 'fileformats'. (Mike Williams) 14836Files: src/option.c, src/Makefile, src/testdir/test_fileformat.vim, 14837 src/testdir/test_alot.vim 14838 14839Patch 8.0.0032 14840Problem: Tests may change the input file when something goes wrong. 14841Solution: Avoid writing the input file. 14842Files: src/testdir/test51.in, src/testdir/test67.in, 14843 src/testdir/test97.in, src/testdir/test_tabpage.vim 14844 14845Patch 8.0.0033 14846Problem: Cannot use overlapping positions with matchaddpos(). 14847Solution: Check end of match. (Ozaki Kiichi) Add a test (Hirohito Higashi) 14848Files: src/screen.c, src/testdir/test_match.vim 14849 14850Patch 8.0.0034 14851Problem: No completion for ":messages". 14852Solution: Complete "clear" argument. (Hirohito Higashi) 14853Files: src/ex_docmd.c, src/ex_getln.c, src/proto/ex_docmd.pro, 14854 src/testdir/test_cmdline.vim, src/vim.h, 14855 runtime/doc/eval.txt, runtime/doc/map.txt 14856 14857Patch 8.0.0035 (after 7.4.2013) 14858Problem: Order of matches for 'omnifunc' is messed up. (Danny Su) 14859Solution: Do not set compl_curr_match when called from complete_check(). 14860 (closes #1168) 14861Files: src/edit.c, src/evalfunc.c, src/proto/edit.pro, src/search.c, 14862 src/spell.c, src/tag.c, src/testdir/test76.in, 14863 src/testdir/test76.ok, src/testdir/test_popup.vim, src/Makefile, 14864 src/testdir/Make_all.mak 14865 14866Patch 8.0.0036 14867Problem: Detecting that a job has finished may take a while. 14868Solution: Check for a finished job more often (Ozaki Kiichi) 14869Files: src/channel.c, src/os_unix.c, src/os_win32.c, 14870 src/proto/os_unix.pro, src/proto/os_win32.pro, 14871 src/testdir/test_channel.vim 14872 14873Patch 8.0.0037 14874Problem: Get E924 when switching tabs. () 14875Solution: Use win_valid_any_tab() instead of win_valid(). (Martin Vuille, 14876 closes #1167, closes #1171) 14877Files: src/quickfix.c, src/testdir/test_quickfix.vim 14878 14879Patch 8.0.0038 14880Problem: OPEN_CHR_FILES not defined for FreeBSD using Debian userland 14881 files. 14882Solution: Check for __FreeBSD_kernel__. (James McCoy, closes #1166) 14883Files: src/vim.h 14884 14885Patch 8.0.0039 14886Problem: When Vim 8 reads an old viminfo and exits, the next time marks are 14887 not read from viminfo. (Ned Batchelder) 14888Solution: Set a mark when it wasn't set before, even when the timestamp is 14889 zero. (closes #1170) 14890Files: src/mark.c, src/testdir/test_viminfo.vim 14891 14892Patch 8.0.0040 (after 8.0.0033) 14893Problem: Whole line highlighting with matchaddpos() does not work. 14894Solution: Check for zero length. (Hirohito Higashi) 14895Files: src/screen.c, src/testdir/test_match.vim 14896 14897Patch 8.0.0041 14898Problem: When using Insert mode completion but not actually inserting 14899 anything an undo item is still created. (Tommy Allen) 14900Solution: Do not call stop_arrow() when not inserting anything. 14901Files: src/edit.c, src/testdir/test_popup.vim 14902 14903Patch 8.0.0042 (after 8.0.0041) 14904Problem: When using Insert mode completion with 'completeopt' containing 14905 "noinsert" change is not saved for undo. (Tommy Allen) 14906Solution: Call stop_arrow() before inserting for pressing Enter. 14907Files: src/edit.c, src/testdir/test_popup.vim 14908 14909Patch 8.0.0043 (after 8.0.0041) 14910Problem: When using Insert mode completion with 'completeopt' containing 14911 "noinsert" with CTRL-N the change is not saved for undo. (Tommy 14912 Allen) 14913Solution: Call stop_arrow() before inserting for any key. 14914Files: src/edit.c, src/testdir/test_popup.vim 14915 14916Patch 8.0.0044 14917Problem: In diff mode the cursor may end up below the last line, resulting 14918 in an ml_get error. 14919Solution: Check the line to be valid. 14920Files: src/move.c, src/diff.c, src/proto/diff.pro, 14921 src/testdir/test_diffmode.vim 14922 14923Patch 8.0.0045 14924Problem: Calling job_stop() right after job_start() does not work. 14925Solution: Block signals while fork is still busy. (Ozaki Kiichi, closes 14926 #1155) 14927Files: src/auto/configure, src/config.h.in, src/configure.in, 14928 src/os_unix.c, src/testdir/test_channel.vim 14929 14930Patch 8.0.0046 14931Problem: Using NUL instead of NULL. 14932Solution: Change to NULL. (Dominique Pelle) 14933Files: src/ex_cmds.c, src/json.c 14934 14935Patch 8.0.0047 14936Problem: Crash when using the preview window from an unnamed buffer. 14937 (lifepillar) 14938Solution: Do not clear the wrong buffer. (closes #1200) 14939Files: src/popupmnu.c 14940 14941Patch 8.0.0048 14942Problem: On Windows job_stop() stops cmd.exe, not the processes it runs. 14943 (Linwei) 14944Solution: Iterate over all processes and terminate the one where the parent 14945 is the job process. (Yasuhiro Matsumoto, closes #1184) 14946Files: src/os_win32.c, src/structs.h 14947 14948Patch 8.0.0049 14949Problem: When a match ends in part of concealed text highlighting, it might 14950 mess up concealing by resetting prev_syntax_id. 14951Solution: Do not reset prev_syntax_id and add a test to verify. (Christian 14952 Brabandt, closes #1092) 14953Files: src/screen.c, src/testdir/test_matchadd_conceal.vim 14954 14955Patch 8.0.0050 14956Problem: An exiting job is detected with a large latency. 14957Solution: Check for pending job more often. (Ozaki Kiichi) Change the 14958 double loop in mch_inchar() into one. 14959Files: src/channel.c, src/os_unix.c, src/testdir/shared.vim, 14960 src/testdir/test_channel.vim 14961 14962Patch 8.0.0051 (after 8.0.0048) 14963Problem: New code for job_stop() breaks channel test on AppVeyor. 14964Solution: Revert the change. 14965Files: src/os_win32.c, src/structs.h 14966 14967Patch 8.0.0052 (after 8.0.0049) 14968Problem: Conceal test passes even without the bug fix. 14969Solution: Add a redraw command. (Christian Brabandt) 14970Files: src/testdir/test_matchadd_conceal.vim 14971 14972Patch 8.0.0053 (after 8.0.0047) 14973Problem: No test for what 8.0.0047 fixes. 14974Solution: Add a test. (Hirohito Higashi) 14975Files: src/testdir/test_popup.vim 14976 14977Patch 8.0.0054 (after 8.0.0051) 14978Problem: On Windows job_stop() stops cmd.exe, not the processes it runs. 14979 (Linwei) 14980Solution: Iterate over all processes and terminate the one where the parent 14981 is the job process. Now only when there is no job object. 14982 (Yasuhiro Matsumoto, closes #1203) 14983Files: src/os_win32.c 14984 14985Patch 8.0.0055 14986Problem: Minor comment and style deficiencies. 14987Solution: Update comments and fix style. 14988Files: src/buffer.c, src/misc2.c, src/os_unix.c 14989 14990Patch 8.0.0056 14991Problem: When setting 'filetype' there is no check for a valid name. 14992Solution: Only allow valid characters in 'filetype', 'syntax' and 'keymap'. 14993Files: src/option.c, src/testdir/test_options.vim 14994 14995Patch 8.0.0057 (after 8.0.0056) 14996Problem: Tests fail without the 'keymap' features. 14997Solution: Check for feature in test. 14998Files: src/testdir/test_options.vim 14999 15000Patch 8.0.0058 15001Problem: Positioning of the popup menu is not good. 15002Solution: Position it better. (Hirohito Higashi) 15003Files: src/popupmnu.c 15004 15005Patch 8.0.0059 15006Problem: Vim does not build on VMS systems. 15007Solution: Various changes for VMS. (Zoltan Arpadffy) 15008Files: src/json.c, src/macros.h, src/Make_vms.mms, src/os_unix.c, 15009 src/os_unix.h, src/os_vms.c, src/os_vms_conf.h, 15010 src/proto/os_vms.pro, src/testdir/Make_vms.mms 15011 15012Patch 8.0.0060 15013Problem: When using an Ex command for 'keywordprg' it is escaped as with a 15014 shell command. (Romain Lafourcade) 15015Solution: Escape for an Ex command. (closes #1175) 15016Files: src/normal.c, src/testdir/test_normal.vim 15017 15018Patch 8.0.0061 (after 8.0.0058) 15019Problem: Compiler warning for unused variable. 15020Solution: Add #ifdef. (John Marriott) 15021Files: src/popupmnu.c 15022 15023Patch 8.0.0062 15024Problem: No digraph for HORIZONTAL ELLIPSIS. 15025Solution: Use ",.". (Hans Ginzel, closes #1226) 15026Files: src/digraph.c, runtime/doc/digraph.txt 15027 15028Patch 8.0.0063 15029Problem: Compiler warning for comparing with unsigned. (Zoltan Arpadffy) 15030Solution: Change <= to ==. 15031Files: src/undo.c 15032 15033Patch 8.0.0064 (after 8.0.0060) 15034Problem: Normal test fails on MS-Windows. 15035Solution: Don't try using an illegal file name. 15036Files: src/testdir/test_normal.vim 15037 15038Patch 8.0.0065 (after 8.0.0056) 15039Problem: Compiler warning for unused function in tiny build. (Tony 15040 Mechelynck) 15041Solution: Add #ifdef. 15042Files: src/option.c 15043 15044Patch 8.0.0066 15045Problem: when calling an operator function when 'linebreak' is set, it is 15046 internally reset before calling the operator function. 15047Solution: Restore 'linebreak' before calling op_function(). (Christian 15048 Brabandt) 15049Files: src/normal.c, src/testdir/test_normal.vim 15050 15051Patch 8.0.0067 15052Problem: VMS has a problem with infinity. 15053Solution: Avoid an overflow. (Zoltan Arpadffy) 15054Files: src/json.c, src/macros.h 15055 15056Patch 8.0.0068 15057Problem: Checking did_throw after executing autocommands is wrong. (Daniel 15058 Hahler) 15059Solution: Call aborting() instead, and only when autocommands were executed. 15060Files: src/quickfix.c, src/if_cscope.c, src/testdir/test_quickfix.vim 15061 15062Patch 8.0.0069 15063Problem: Compiler warning for self-comparison. 15064Solution: Define ONE_WINDOW and add #ifdef. 15065Files: src/globals.h, src/buffer.c, src/ex_docmd.c, src/move.c, 15066 src/screen.c, src/quickfix.c, src/window.c 15067 15068Patch 8.0.0070 15069Problem: Tests referred in Makefile that no longer exist. 15070Solution: Remove test71 and test74 entries. (Michael Soyka) 15071Files: src/testdir/Mak_ming.mak 15072 15073Patch 8.0.0071 15074Problem: Exit value from a shell command is wrong. (Hexchain Tong) 15075Solution: Do not check for ended jobs while waiting for a shell command. 15076 (ichizok, closes #1196) 15077Files: src/os_unix.c 15078 15079Patch 8.0.0072 15080Problem: MS-Windows: Crash with long font name. (Henry Hu) 15081Solution: Fix comparing with LF_FACESIZE. (Ken Takata, closes #1243) 15082Files: src/os_mswin.c 15083 15084Patch 8.0.0073 (after 8.0.0069) 15085Problem: More comparisons between firstwin and lastwin. 15086Solution: Use ONE_WINDOW for consistency. (Hirohito Higashi) 15087Files: src/buffer.c, src/ex_cmds.c, src/ex_docmd.c, src/option.c, 15088 src/window.c 15089 15090Patch 8.0.0074 15091Problem: Cannot make Vim fail on an internal error. 15092Solution: Add IEMSG() and IEMSG2(). (Dominique Pelle) Avoid reporting an 15093 internal error without mentioning where. 15094Files: src/globals.h, src/blowfish.c, src/dict.c, src/edit.c, src/eval.c, 15095 src/evalfunc.c, src/ex_eval.c, src/getchar.c, src/gui_beval.c, 15096 src/gui_w32.c, src/hangulin.c, src/hashtab.c, src/if_cscope.c, 15097 src/json.c, src/memfile.c, src/memline.c, src/message.c, 15098 src/misc2.c, src/option.c, src/quickfix.c, src/regexp.c, 15099 src/spell.c, src/undo.c, src/userfunc.c, src/vim.h, src/window.c, 15100 src/proto/misc2.pro, src/proto/message.pro, src/Makefile 15101 15102Patch 8.0.0075 15103Problem: Using number for exception type lacks type checking. 15104Solution: Use an enum. 15105Files: src/structs.h, src/ex_docmd.c, src/ex_eval.c, 15106 src/proto/ex_eval.pro 15107 15108Patch 8.0.0076 15109Problem: Channel log has double parens ()(). 15110Solution: Remove () for write_buf_line. (Yasuhiro Matsumoto) 15111Files: src/channel.c 15112 15113Patch 8.0.0077 15114Problem: The GUI code is not tested by Travis. 15115Solution: Install the virtual framebuffer. 15116Files: .travis.yml 15117 15118Patch 8.0.0078 15119Problem: Accessing freed memory in quickfix. 15120Solution: Reset pointer when freeing 'errorformat'. (Dominique Pelle) 15121Files: src/quickfix.c, src/testdir/test_quickfix.vim 15122 15123Patch 8.0.0079 15124Problem: Accessing freed memory in quickfix. (Dominique Pelle) 15125Solution: Do not free the current list when adding to it. 15126Files: src/quickfix.c, src/testdir/test_quickfix.vim 15127 15128Patch 8.0.0080 15129Problem: The OS X build fails on Travis. 15130Solution: Skip the virtual framebuffer on OS X. 15131Files: .travis.yml 15132 15133Patch 8.0.0081 15134Problem: Inconsistent function names. 15135Solution: Rename do_cscope to ex_cscope. Clean up comments. 15136Files: src/ex_cmds.h, src/if_cscope.c, src/ex_docmd.c, 15137 src/proto/if_cscope.pro 15138 15139Patch 8.0.0082 15140Problem: Extension for configure should be ".ac". 15141Solution: Rename configure.in to configure.ac. (James McCoy, closes #1173) 15142Files: src/configure.in, src/configure.ac, Filelist, src/Makefile, 15143 src/blowfish.c, src/channel.c, src/config.h.in, src/main.aap, 15144 src/os_unix.c, src/INSTALL, src/mysign 15145 15146Patch 8.0.0083 15147Problem: Using freed memory with win_getid(). (Dominique Pelle) 15148Solution: For the current tab use curwin. 15149Files: src/window.c, src/testdir/test_window_id.vim 15150 15151Patch 8.0.0084 15152Problem: Using freed memory when adding to a quickfix list. (Dominique 15153 Pelle) 15154Solution: Clear the directory name. 15155Files: src/quickfix.c, src/testdir/test_quickfix.vim 15156 15157Patch 8.0.0085 15158Problem: Using freed memory with recursive function call. (Dominique Pelle) 15159Solution: Make a copy of the function name. 15160Files: src/eval.c, src/testdir/test_nested_function.vim 15161 15162Patch 8.0.0086 15163Problem: Cannot add a comment after ":hide". (Norio Takagi) 15164Solution: Make it work, add a test. (Hirohito Higashi) 15165Files: src/Makefile, src/ex_cmds.h, src/ex_docmd.c, 15166 src/testdir/Make_all.mak, src/testdir/test_hide.vim 15167 15168Patch 8.0.0087 15169Problem: When the channel callback gets job info the job may already have 15170 been deleted. (lifepillar) 15171Solution: Do not delete the job when the channel is still useful. (ichizok, 15172 closes #1242, closes #1245) 15173Files: src/channel.c, src/eval.c, src/os_unix.c, src/os_win32.c, 15174 src/structs.h, src/testdir/test_channel.vim 15175 15176Patch 8.0.0088 15177Problem: When a test fails in Setup or Teardown the problem is not reported. 15178Solution: Add a try/catch. (Hirohito Higashi) 15179Files: src/testdir/runtest.vim 15180 15181Patch 8.0.0089 15182Problem: Various problems with GTK 3.22.2. 15183Solution: Fix the problems, add #ifdefs. (Kazunobu Kuriyama) 15184Files: src/gui_beval.c, src/gui_gtk.c, src/gui_gtk_x11.c 15185 15186Patch 8.0.0090 15187Problem: Cursor moved after last character when using 'breakindent'. 15188Solution: Fix the cursor positioning. Turn the breakindent test into new 15189 style. (Christian Brabandt) 15190Files: src/screen.c, src/testdir/Make_all.mak, 15191 src/testdir/test_breakindent.in, src/testdir/test_breakindent.ok, 15192 src/testdir/test_breakindent.vim, src/Makefile 15193 15194Patch 8.0.0091 15195Problem: Test_help_complete sometimes fails in MS-Windows console. 15196Solution: Use getcompletion() instead of feedkeys() and command line 15197 completion. (Hirohito Higashi) 15198Files: src/testdir/test_help_tagjump.vim 15199 15200Patch 8.0.0092 15201Problem: C indenting does not support nested namespaces that C++ 17 has. 15202Solution: Add check that passes double colon inside a name. (Pauli, closes 15203 #1214) 15204Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 15205 15206Patch 8.0.0093 15207Problem: Not using multiprocess build feature. 15208Solution: Enable multiprocess build with MSVC 10. (Ken Takata) 15209Files: src/Make_mvc.mak 15210 15211Patch 8.0.0094 15212Problem: When vimrun.exe is not found the error message is not properly 15213 encoded. 15214Solution: Use utf-16 and MessageBoxW(). (Ken Takata) 15215Files: src/os_win32.c 15216 15217Patch 8.0.0095 15218Problem: Problems with GTK 3.22.2 fixed in 3.22.4. 15219Solution: Adjust the #ifdefs. (Kazunobu Kuriyama) 15220Files: src/gui_gtk_x11.c 15221 15222Patch 8.0.0096 15223Problem: When the input or output is not a tty Vim appears to hang. 15224Solution: Add the --ttyfail argument. Also add the "ttyin" and "ttyout" 15225 features to be able to check in Vim script. 15226Files: src/globals.h, src/structs.h, src/main.c, src/evalfunc.c, 15227 runtime/doc/starting.txt, runtime/doc/eval.txt 15228 15229Patch 8.0.0097 15230Problem: When a channel callback consumes a lot of time Vim becomes 15231 unresponsive. (skywind) 15232Solution: Bail out of checking channel readahead after 100 msec. 15233Files: src/os_unix.c, src/misc2.c, src/vim.h, src/os_win32.c, 15234 src/channel.c 15235 15236Patch 8.0.0098 (after 8.0.0097) 15237Problem: Can't build on MS-Windows. 15238Solution: Add missing parenthesis. 15239Files: src/vim.h 15240 15241Patch 8.0.0099 15242Problem: Popup menu always appears above the cursor when it is in the lower 15243 half of the screen. (Matt Gardner) 15244Solution: Compute the available space better. (Hirohito Higashi, 15245 closes #1241) 15246Files: src/popupmnu.c 15247 15248Patch 8.0.0100 15249Problem: Options that are a file name may contain non-filename characters. 15250Solution: Check for more invalid characters. 15251Files: src/option.c 15252 15253Patch 8.0.0101 15254Problem: Some options are not strictly checked. 15255Solution: Add flags for stricter checks. 15256Files: src/option.c 15257 15258Patch 8.0.0102 (after 8.0.0101) 15259Problem: Cannot set 'dictionary' to a path. 15260Solution: Allow for slash and backslash. Add a test (partly by Daisuke 15261 Suzuki, closes #1279, closes #1284) 15262Files: src/option.c, src/testdir/test_options.vim 15263 15264Patch 8.0.0103 15265Problem: May not process channel readahead. (skywind) 15266Solution: If there is readahead don't block on input. 15267Files: src/channel.c, src/proto/channel.pro, src/os_unix.c, 15268 src/os_win32.c, src/misc2.c 15269 15270Patch 8.0.0104 15271Problem: Value of 'thesaurus' option not checked properly. 15272Solution: Add P_NDNAME flag. (Daisuke Suzuki) 15273Files: src/option.c, src/testdir/test_options.vim 15274 15275Patch 8.0.0105 15276Problem: When using ch_read() with zero timeout, can't tell the difference 15277 between reading an empty line and nothing available. 15278Solution: Add ch_canread(). 15279Files: src/evalfunc.c, src/channel.c, src/proto/channel.pro, 15280 src/testdir/test_channel.vim, src/testdir/shared.vim, 15281 runtime/doc/eval.txt, runtime/doc/channel.txt 15282 15283Patch 8.0.0106 (after 8.0.0100) 15284Problem: Cannot use a semicolon in 'backupext'. (Jeff) 15285Solution: Allow for a few more characters when "secure" isn't set. 15286Files: src/option.c 15287 15288Patch 8.0.0107 15289Problem: When reading channel output in a timer, messages may go missing. 15290 (Skywind) 15291Solution: Add the "drop" option. Write error messages in the channel log. 15292 Don't have ch_canread() check for the channel being open. 15293Files: src/structs.h, src/channel.c, src/message.c, src/evalfunc.c, 15294 src/proto/channel.pro, runtime/doc/channel.txt 15295 15296Patch 8.0.0108 (after 8.0.0107) 15297Problem: The channel "drop" option is not tested. 15298Solution: Add a test. 15299Files: src/testdir/test_channel.vim 15300 15301Patch 8.0.0109 15302Problem: Still checking if memcmp() exists while every system should have 15303 it now. 15304Solution: Remove vim_memcmp(). (James McCoy, closes #1295) 15305Files: src/config.h.in, src/configure.ac, src/misc2.c, src/os_vms_conf.h, 15306 src/osdef1.h.in, src/search.c, src/tag.c, src/vim.h 15307 15308Patch 8.0.0110 15309Problem: Drop command doesn't use existing window. 15310Solution: Check the window width properly. (Hirohito Higashi) 15311Files: src/buffer.c, src/testdir/test_tabpage.vim 15312 15313Patch 8.0.0111 15314Problem: The :history command is not tested. 15315Solution: Add tests. (Dominique Pelle) 15316Files: runtime/doc/cmdline.txt, src/testdir/test_history.vim 15317 15318Patch 8.0.0112 15319Problem: Tests 92 and 93 are old style. 15320Solution: Make test92 and test93 new style. (Hirohito Higashi, closes #1289) 15321Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 15322 src/testdir/test92.in, src/testdir/test92.ok, 15323 src/testdir/test93.in, src/testdir/test93.ok, 15324 src/testdir/test_mksession.vim, 15325 src/testdir/test_mksession_utf8.vim 15326 15327Patch 8.0.0113 15328Problem: MS-Windows: message box to prompt for saving changes may appear on 15329 the wrong monitor. 15330Solution: Adjust the CenterWindow function. (Ken Takata) 15331Files: src/gui_w32.c 15332 15333Patch 8.0.0114 15334Problem: Coding style not optimal. 15335Solution: Add spaces. (Ken Takata) 15336Files: src/gui_w32.c, src/os_mswin.c 15337 15338Patch 8.0.0115 15339Problem: When building with Cygwin libwinpthread isn't found. 15340Solution: Link winpthread statically. (jmmerz, closes #1255, closes #1256) 15341Files: src/Make_cyg_ming.mak 15342 15343Patch 8.0.0116 15344Problem: When reading English help and using CTRl-] the language from 15345 'helplang' is used. 15346Solution: Make help tag jumps keep the language. (Tatsuki, test by Hirohito 15347 Higashi, closes #1249) 15348Files: src/tag.c, src/testdir/test_help_tagjump.vim 15349 15350Patch 8.0.0117 15351Problem: Parallel make fails. (J. Lewis Muir) 15352Solution: Make sure the objects directory exists. (closes #1259) 15353Files: src/Makefile 15354 15355Patch 8.0.0118 15356Problem: "make proto" adds extra function prototype. 15357Solution: Add #ifdef. 15358Files: src/misc2.c 15359 15360Patch 8.0.0119 15361Problem: No test for using CTRL-R on the command line. 15362Solution: Add a test. (Dominique Pelle) And some more. 15363Files: src/testdir/test_cmdline.vim 15364 15365Patch 8.0.0120 15366Problem: Channel test is still flaky on OS X. 15367Solution: Set the drop argument to "never". 15368Files: src/testdir/test_channel.vim 15369 15370Patch 8.0.0121 15371Problem: Setting 'cursorline' changes the curswant column. (Daniel Hahler) 15372Solution: Add the P_RWINONLY flag. (closes #1297) 15373Files: src/option.c, src/testdir/test_goto.vim 15374 15375Patch 8.0.0122 15376Problem: Channel test is still flaky on OS X. 15377Solution: Add a short sleep. 15378Files: src/testdir/test_channel.py 15379 15380Patch 8.0.0123 15381Problem: Modern Sun compilers define "__sun" instead of "sun". 15382Solution: Use __sun. (closes #1296) 15383Files: src/mbyte.c, src/pty.c, src/os_unixx.h, src/vim.h 15384 15385Patch 8.0.0124 15386Problem: Internal error for assert_inrange(1, 1). 15387Solution: Adjust number of allowed arguments. (Dominique Pelle) 15388Files: src/evalfunc.c, src/testdir/test_assert.vim 15389 15390Patch 8.0.0125 15391Problem: Not enough testing for entering Ex commands. 15392Solution: Add test for CTRL-\ e {expr}. (Dominique Pelle) 15393Files: src/testdir/test_cmdline.vim 15394 15395Patch 8.0.0126 15396Problem: Display problem with 'foldcolumn' and a wide character. 15397 (esiegerman) 15398Solution: Don't use "extra" but an allocated buffer. (Christian Brabandt, 15399 closes #1310) 15400Files: src/screen.c, src/testdir/Make_all.mak, src/Makefile, 15401 src/testdir/test_display.vim 15402 15403Patch 8.0.0127 15404Problem: Cancelling completion still inserts text when formatting is done 15405 for 'textwidth'. (lacygoill) 15406Solution: Don't format when CTRL-E was typed. (Hirohito Higashi, 15407 closes #1312) 15408Files: src/edit.c, src/testdir/test_popup.vim 15409 15410Patch 8.0.0128 (after 8.0.0126) 15411Problem: Display test fails on MS-Windows. 15412Solution: Set 'isprint' to "@". 15413Files: src/testdir/test_display.vim 15414 15415Patch 8.0.0129 15416Problem: Parallel make still doesn't work. (Lewis Muir) 15417Solution: Define OBJ_MAIN. 15418Files: src/Makefile 15419 15420Patch 8.0.0130 15421Problem: Configure uses "ushort" while the Vim code doesn't. 15422Solution: Use "unsigned short" instead. (Fredrik Fornwall, closes #1314) 15423Files: src/configure.ac, src/auto/configure 15424 15425Patch 8.0.0131 15426Problem: Not enough test coverage for syntax commands. 15427Solution: Add more tests. (Dominique Pelle) 15428Files: src/testdir/test_syntax.vim 15429 15430Patch 8.0.0132 (after 8.0.0131) 15431Problem: Test fails because of using :finish. 15432Solution: Change to return. 15433Files: src/testdir/test_syntax.vim 15434 15435Patch 8.0.0133 15436Problem: "2;'(" causes ml_get errors in an empty buffer. (Dominique Pelle) 15437Solution: Check the cursor line earlier. 15438Files: src/ex_docmd.c, src/testdir/test_cmdline.vim 15439 15440Patch 8.0.0134 15441Problem: Null pointer access reported by UBsan. 15442Solution: Check curwin->w_buffer is not NULL. (Yegappan Lakshmanan) 15443Files: src/ex_cmds.c 15444 15445Patch 8.0.0135 15446Problem: An address relative to the current line, ":.,+3y", does not work 15447 properly on a closed fold. (Efraim Yawitz) 15448Solution: Correct for including the closed fold. (Christian Brabandt) 15449Files: src/ex_docmd.c, src/testdir/test_fold.vim, 15450 src/testdir/Make_all.mak, src/Makefile 15451 15452Patch 8.0.0136 15453Problem: When using indent folding and changing indent the wrong fold is 15454 opened. (Jonathan Fudger) 15455Solution: Open the fold under the cursor a bit later. (Christian Brabandt) 15456Files: src/ops.c, src/testdir/test_fold.vim 15457 15458Patch 8.0.0137 15459Problem: When 'maxfuncdepth' is set above 200 the nesting is limited to 15460 200. (Brett Stahlman) 15461Solution: Allow for Ex command recursion depending on 'maxfuncdepth'. 15462Files: src/ex_docmd.c, src/testdir/test_nested_function.vim 15463 15464Patch 8.0.0138 (after 8.0.0137) 15465Problem: Small build fails. 15466Solution: Add #ifdef. 15467Files: src/ex_docmd.c 15468 15469Patch 8.0.0139 (after 8.0.0135) 15470Problem: Warning for unused argument. 15471Solution: Add UNUSED. 15472Files: src/ex_docmd.c 15473 15474Patch 8.0.0140 15475Problem: Pasting inserted text in Visual mode does not work properly. 15476 (Matthew Malcomson) 15477Solution: Stop Visual mode before stuffing the inserted text. (Christian 15478 Brabandt, from neovim #5709) 15479Files: src/ops.c, src/testdir/test_visual.vim 15480 15481Patch 8.0.0141 (after 8.0.0137) 15482Problem: Nested function test fails on AppVeyor. 15483Solution: Disable the test on Windows for now. 15484Files: src/testdir/test_nested_function.vim 15485 15486Patch 8.0.0142 15487Problem: Normal colors are wrong with 'termguicolors'. 15488Solution: Initialize to INVALCOLOR instead of zero. (Ben Jackson, closes 15489 #1344) 15490Files: src/syntax.c 15491 15492Patch 8.0.0143 15493Problem: Line number of current buffer in getbufinfo() is wrong. 15494Solution: For the current buffer use the current line number. (Ken Takata) 15495Files: src/evalfunc.c 15496 15497Patch 8.0.0144 15498Problem: When using MSVC the GvimExt directory is cleaned twice. 15499Solution: Remove the lines. (Ken Takata) 15500Files: src/Make_mvc.mak 15501 15502Patch 8.0.0145 15503Problem: Running tests on MS-Windows is a little bit noisy. 15504Solution: Redirect some output to "nul". (Ken Takata) 15505Files: src/testdir/Make_dos.mak 15506 15507Patch 8.0.0146 15508Problem: When using 'termguicolors' on MS-Windows the RGB definition causes 15509 the colors to be wrong. 15510Solution: Undefined RGB and use our own. (Gabriel Barta) 15511Files: src/term.c 15512 15513Patch 8.0.0147 15514Problem: searchpair() does not work when 'magic' is off. (Chris Paul) 15515Solution: Add \m in the pattern. (Christian Brabandt, closes #1341) 15516Files: src/evalfunc.c, src/testdir/test_search.vim 15517 15518Patch 8.0.0148 15519Problem: When a C preprocessor statement has two line continuations the 15520 following line does not have the right indent. (Ken Takata) 15521Solution: Add the indent of the previous continuation line. (Hirohito 15522 Higashi) 15523Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 15524 15525Patch 8.0.0149 15526Problem: ":earlier" and ":later" do not work after startup or reading the 15527 undo file. 15528Solution: Use absolute time stamps instead of relative to the Vim start 15529 time. (Christian Brabandt, Pavel Juhas, closes #1300, closes 15530 #1254) 15531Files: src/testdir/test_undo.vim, src/undo.c 15532 15533Patch 8.0.0150 15534Problem: When the pattern of :filter does not have a separator then 15535 completion of the command fails. 15536Solution: Skip over the pattern. (Ozaki Kiichi, closes #1299) 15537Files: src/ex_docmd.c, src/testdir/test_filter_cmd.vim 15538 15539Patch 8.0.0151 15540Problem: To pass buffer content to system() and systemlist() one has to 15541 first create a string or list. 15542Solution: Allow passing a buffer number. (LemonBoy, closes #1240) 15543Files: runtime/doc/eval.txt, src/Makefile, src/evalfunc.c, 15544 src/testdir/Make_all.mak, src/testdir/test_system.vim 15545 15546Patch 8.0.0152 15547Problem: Running the channel test creates channellog. 15548Solution: Delete the debug line. 15549Files: src/testdir/test_channel.vim 15550 15551Patch 8.0.0153 (after 8.0.0151) 15552Problem: system() test fails on MS-Windows. 15553Solution: Deal with extra space and CR. 15554Files: src/testdir/test_system.vim 15555 15556Patch 8.0.0154 (after 8.0.0151) 15557Problem: system() test fails on OS/X. 15558Solution: Deal with leading spaces. 15559Files: src/testdir/test_system.vim 15560 15561Patch 8.0.0155 15562Problem: When sorting zero elements a NULL pointer is passed to qsort(), 15563 which ubsan warns for. 15564Solution: Don't call qsort() if there are no elements. (Dominique Pelle) 15565Files: src/syntax.c 15566 15567Patch 8.0.0156 15568Problem: Several float functions are not covered by tests. 15569Solution: Add float tests. (Dominique Pelle) 15570Files: src/Makefile, src/testdir/test_alot.vim, 15571 src/testdir/test_float_func.vim 15572 15573Patch 8.0.0157 15574Problem: No command line completion for ":syntax spell" and ":syntax sync". 15575Solution: Implement the completion. (Dominique Pelle) 15576Files: src/syntax.c, src/testdir/test_syntax.vim 15577 15578Patch 8.0.0158 (after 8.0.0156) 15579Problem: On MS-Windows some float functions return a different value when 15580 passed unusual values. strtod() doesn't work for "inf" and "nan". 15581Solution: Accept both results. Fix str2float() for MS-Windows. Also 15582 reorder assert function arguments. 15583Files: src/testdir/test_float_func.vim, src/eval.c 15584 15585Patch 8.0.0159 15586Problem: Using a NULL pointer when using feedkeys() to trigger drawing a 15587 tabline. 15588Solution: Skip drawing a tabline if TabPageIdxs is NULL. (Dominique Pelle) 15589 Also fix recursing into getcmdline() from the cmd window. 15590Files: src/screen.c, src/ex_getln.c 15591 15592Patch 8.0.0160 15593Problem: EMSG() is sometimes used for internal errors. 15594Solution: Change them to IEMSG(). (Dominique Pelle) And a few more. 15595Files: src/regexp_nfa.c, src/channel.c, src/eval.c 15596 15597Patch 8.0.0161 (after 8.0.0159) 15598Problem: Build fails when using small features. 15599Solution: Update #ifdef for using save_ccline. (Hirohito Higashi) 15600Files: src/ex_getln.c 15601 15602Patch 8.0.0162 15603Problem: Build error on Fedora 23 with small features and gnome2. 15604Solution: Undefine ngettext(). (Hirohito Higashi) 15605Files: src/gui_gtk.c, src/gui_gtk_x11.c 15606 15607Patch 8.0.0163 15608Problem: Ruby 2.4 no longer supports rb_cFixnum. 15609Solution: move rb_cFixnum into an #ifdef. (Kazuki Sakamoto, closes #1365) 15610Files: src/if_ruby.c 15611 15612Patch 8.0.0164 15613Problem: Outdated and misplaced comments. 15614Solution: Fix the comments. 15615Files: src/charset.c, src/getchar.c, src/list.c, src/misc2.c, 15616 src/testdir/README.txt 15617 15618Patch 8.0.0165 15619Problem: Ubsan warns for integer overflow. 15620Solution: Swap two conditions. (Dominique Pelle) 15621Files: src/regexp_nfa.c 15622 15623Patch 8.0.0166 15624Problem: JSON with a duplicate key gives an internal error. (Lcd) 15625Solution: Give a normal error. Avoid an error when parsing JSON from a 15626 remote client fails. 15627Files: src/evalfunc.c, src/json.c, src/channel.c, 15628 src/testdir/test_json.vim 15629 15630Patch 8.0.0167 15631Problem: str2nr() and str2float() do not always work with negative values. 15632Solution: Be more flexible about handling signs. (LemonBoy, closes #1332) 15633 Add more tests. 15634Files: src/evalfunc.c, src/testdir/test_float_func.vim, 15635 src/testdir/test_functions.vim, src/testdir/test_alot.vim, 15636 src/Makefile 15637 15638Patch 8.0.0168 15639Problem: Still some float functionality is not covered by tests. 15640Solution: Add more tests. (Dominique Pelle, closes #1364) 15641Files: src/testdir/test_float_func.vim 15642 15643Patch 8.0.0169 15644Problem: For complicated string json_decode() may run out of stack space. 15645Solution: Change the recursive solution into an iterative solution. 15646Files: src/json.c 15647 15648Patch 8.0.0170 (after 8.0.0169) 15649Problem: Channel test fails for using freed memory. 15650Solution: Fix memory use in json_decode(). 15651Files: src/json.c 15652 15653Patch 8.0.0171 15654Problem: JS style JSON does not support single quotes. 15655Solution: Allow for single quotes. (Yasuhiro Matsumoto, closes #1371) 15656Files: src/json.c, src/testdir/test_json.vim, src/json_test.c, 15657 runtime/doc/eval.txt 15658 15659Patch 8.0.0172 (after 8.0.0159) 15660Problem: The command selected in the command line window is not executed. 15661 (Andrey Starodubtsev) 15662Solution: Save and restore the command line at a lower level. (closes #1370) 15663Files: src/ex_getln.c, src/testdir/test_history.vim 15664 15665Patch 8.0.0173 15666Problem: When compiling with EBCDIC defined the build fails. (Yaroslav 15667 Kuzmin) 15668Solution: Move sortFunctions() to the right file. Avoid warning for 15669 redefining __SUSV3. 15670Files: src/eval.c, src/evalfunc.c, src/os_unixx.h 15671 15672Patch 8.0.0174 15673Problem: For completion "locale -a" is executed on MS-Windows, even though 15674 it most likely won't work. 15675Solution: Skip executing "locale -a" on MS-Windows. (Ken Takata) 15676Files: src/ex_cmds2.c 15677 15678Patch 8.0.0175 15679Problem: Setting language in gvim on MS-Windows does not work when 15680 libintl.dll is dynamically linked with msvcrt.dll. 15681Solution: Use putenv() from libintl as well. (Ken Takata, closes #1082) 15682Files: src/mbyte.c, src/misc1.c, src/os_win32.c, src/proto/os_win32.pro, 15683 src/vim.h 15684 15685Patch 8.0.0176 15686Problem: Using :change in between :function and :endfunction fails. 15687Solution: Recognize :change inside a function. (ichizok, closes #1374) 15688Files: src/userfunc.c, src/testdir/test_viml.vim 15689 15690Patch 8.0.0177 15691Problem: When opening a buffer on a directory and inside a try/catch then 15692 the BufEnter event is not triggered. 15693Solution: Return NOTDONE from readfile() for a directory and deal with the 15694 three possible return values. (Justin M. Keyes, closes #1375, 15695 closes #1353) 15696Files: src/buffer.c, src/ex_cmds.c, src/ex_docmd.c, src/fileio.c, 15697 src/memline.c 15698 15699Patch 8.0.0178 15700Problem: test_command_count may fail when a previous test interferes, seen 15701 on MS-Windows. 15702Solution: Run it separately. 15703Files: src/testdir/test_alot.vim, src/testdir/Make_all.mak 15704 15705Patch 8.0.0179 15706Problem: 'formatprg' is a global option but the value may depend on the 15707 type of buffer. (Sung Pae) 15708Solution: Make 'formatprg' global-local. (closes #1380) 15709Files: src/structs.h, src/option.h, src/option.c, src/normal.c, 15710 runtime/doc/options.txt, src/testdir/test_normal.vim 15711 15712Patch 8.0.0180 15713Problem: Error E937 is used both for duplicate key in JSON and for trying 15714 to delete a buffer that is in use. 15715Solution: Rename the JSON error to E938. (Norio Takagi, closes #1376) 15716Files: src/json.c, src/testdir/test_json.vim 15717 15718Patch 8.0.0181 15719Problem: When 'cursorbind' and 'cursorcolumn' are both on, the column 15720 highlight in non-current windows is wrong. 15721Solution: Add validate_cursor(). (Masanori Misono, closes #1372) 15722Files: src/move.c 15723 15724Patch 8.0.0182 15725Problem: When 'cursorbind' and 'cursorline' are set, but 'cursorcolumn' is 15726 not, then the cursor line highlighting is not updated. (Hirohito 15727 Higashi) 15728Solution: Call redraw_later() with NOT_VALID. 15729Files: src/move.c 15730 15731Patch 8.0.0183 15732Problem: Ubsan warns for using a pointer that is not aligned. 15733Solution: First copy the address. (Yegappan Lakshmanan) 15734Files: src/channel.c 15735 15736Patch 8.0.0184 15737Problem: When in Ex mode and an error is caught by try-catch, Vim still 15738 exits with a non-zero exit code. 15739Solution: Don't set ex_exitval when inside a try-catch. (partly by Christian 15740 Brabandt) 15741Files: src/message.c, src/testdir/test_system.vim 15742 15743Patch 8.0.0185 (after 8.0.0184) 15744Problem: The system() test fails on MS-Windows. 15745Solution: Skip the test on MS-Windows. 15746Files: src/testdir/test_system.vim 15747 15748Patch 8.0.0186 15749Problem: The error message from assert_notequal() is confusing. 15750Solution: Only mention the expected value. 15751Files: src/eval.c, src/testdir/test_assert.vim 15752 15753Patch 8.0.0187 15754Problem: Building with a new Ruby version fails. 15755Solution: Use ruby_sysinit() instead of NtInitialize(). (Tomas Volf, 15756 closes #1382) 15757Files: src/if_ruby.c 15758 15759Patch 8.0.0188 (after 8.0.0182) 15760Problem: Using NOT_VALID for redraw_later() to update the cursor 15761 line/column highlighting is not efficient. 15762Solution: Call validate_cursor() when 'cul' or 'cuc' is set. 15763Files: src/move.c 15764 15765Patch 8.0.0189 15766Problem: There are no tests for the :profile command. 15767Solution: Add tests. (Dominique Pelle, closes #1383) 15768Files: src/Makefile, src/testdir/Make_all.mak, 15769 src/testdir/test_profile.vim 15770 15771Patch 8.0.0190 15772Problem: Detecting duplicate tags uses a slow linear search. 15773Solution: Use a much faster hash table solution. (James McCoy, closes #1046) 15774 But don't add hi_keylen, it makes hash tables 50% bigger. 15775Files: src/tag.c 15776 15777Patch 8.0.0191 (after 8.0.0187) 15778Problem: Some systems do not have ruby_sysinit(), causing the build to 15779 fail. 15780Solution: Clean up how ruby_sysinit() and NtInitialize() are used. (Taro 15781 Muraoka) 15782Files: src/if_ruby.c 15783 15784Patch 8.0.0192 (after 8.0.0190) 15785Problem: Build fails with tiny features. 15786Solution: Change #ifdef for hash_clear(). Avoid warning for unused 15787 argument. 15788Files: src/hashtab.c, src/if_cscope.c 15789 15790Patch 8.0.0193 (after 8.0.0188) 15791Problem: Accidentally removed #ifdef. 15792Solution: Put it back. (Masanori Misono) 15793Files: src/move.c 15794 15795Patch 8.0.0194 (after 8.0.0189) 15796Problem: Profile tests fails if total and self time are equal. 15797Solution: Make one time optional. 15798Files: src/testdir/test_profile.vim 15799 15800Patch 8.0.0195 (after 8.0.0190) 15801Problem: Jumping to a tag that is a static item in the current file fails. 15802 (Kazunobu Kuriyama) 15803Solution: Make sure the first byte of the tag key is not NUL. (Suggested by 15804 James McCoy, closes #1387) 15805Files: src/tag.c, src/testdir/test_tagjump.vim 15806 15807Patch 8.0.0196 (after 8.0.0194) 15808Problem: The test for :profile is slow and does not work on MS-Windows. 15809Solution: Use the "-es" argument. (Dominique Pelle) Swap single and double 15810 quotes for system() 15811Files: src/testdir/test_profile.vim 15812 15813Patch 8.0.0197 15814Problem: On MS-Windows the system() test skips a few parts. 15815Solution: Swap single and double quotes for the command. 15816Files: src/testdir/test_system.vim 15817 15818Patch 8.0.0198 15819Problem: Some syntax arguments take effect even after "if 0". (Taylor 15820 Venable) 15821Solution: Properly skip the syntax statements. Make "syn case" and "syn 15822 conceal" report the current state. Fix that "syn clear" didn't 15823 reset the conceal flag. Add tests for :syntax skipping properly. 15824Files: src/syntax.c, src/testdir/test_syntax.vim 15825 15826Patch 8.0.0199 15827Problem: Warning for an unused parameter when the libcall feature is 15828 disabled. Warning for a function type cast when compiling with 15829 -pedantic. 15830Solution: Add UNUSED. Use a different type cast. (Damien Molinier) 15831Files: src/evalfunc.c, src/os_unix.c 15832 15833Patch 8.0.0200 15834Problem: Some syntax arguments are not tested. 15835Solution: Add more syntax command tests. 15836Files: src/testdir/test_syntax.vim 15837 15838Patch 8.0.0201 15839Problem: When completing a group name for a highlight or syntax command 15840 cleared groups are included. 15841Solution: Skip groups that have been cleared. 15842Files: src/syntax.c, src/testdir/test_syntax.vim 15843 15844Patch 8.0.0202 15845Problem: No test for invalid syntax group name. 15846Solution: Add a test for group name error and warning. 15847Files: src/testdir/test_syntax.vim 15848 15849Patch 8.0.0203 15850Problem: Order of complication flags is sometimes wrong. 15851Solution: Put interface-specific flags before ALL_CFLAGS. (idea by Yousong 15852 Zhou, closes #1100) 15853Files: src/Makefile 15854 15855Patch 8.0.0204 15856Problem: Compiler warns for uninitialized variable. (Tony Mechelynck) 15857Solution: When skipping set "id" to -1. 15858Files: src/syntax.c 15859 15860Patch 8.0.0205 15861Problem: After :undojoin some commands don't work properly, such as :redo. 15862 (Matthew Malcomson) 15863Solution: Don't set curbuf->b_u_curhead. (closes #1390) 15864Files: src/undo.c, src/testdir/test_undo.vim 15865 15866Patch 8.0.0206 15867Problem: Test coverage for :retab insufficient. 15868Solution: Add test for :retab. (Dominique Pelle, closes #1391) 15869Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/test_retab.vim 15870 15871Patch 8.0.0207 15872Problem: Leaking file descriptor when system() cannot find the buffer. 15873 (Coverity) 15874Solution: Close the file descriptor. (Dominique Pelle, closes #1398) 15875Files: src/evalfunc.c 15876 15877Patch 8.0.0208 15878Problem: Internally used commands for CTRL-Z and mouse click end up in 15879 history. (Matthew Malcomson) 15880Solution: Use do_cmdline_cmd() instead of stuffing them in the readahead 15881 buffer. (James McCoy, closes #1395) 15882Files: src/edit.c, src/normal.c 15883 15884Patch 8.0.0209 15885Problem: When using :substitute with the "c" flag and 'cursorbind' is set 15886 the cursor is not updated in other windows. 15887Solution: Call do_check_cursorbind(). (Masanori Misono) 15888Files: src/ex_cmds.c 15889 15890Patch 8.0.0210 15891Problem: Vim does not support bracketed paste, as implemented by xterm and 15892 other terminals. 15893Solution: Add t_BE, t_BD, t_PS and t_PE. 15894Files: src/term.c, src/term.h, src/option.c, src/misc2.c, src/keymap.h, 15895 src/edit.c, src/normal.c, src/evalfunc.c, src/getchar.c, 15896 src/vim.h, src/proto/edit.pro, runtime/doc/term.txt 15897 15898Patch 8.0.0211 (after 8.0.0210) 15899Problem: Build fails if the multi-byte feature is disabled. 15900Solution: Change #ifdef around ins_char_bytes. 15901Files: src/misc1.c 15902 15903Patch 8.0.0212 15904Problem: The buffer used to store a key name theoretically could be too 15905 small. (Coverity) 15906Solution: Count all possible modifier characters. Add a check for the 15907 length just in case. 15908Files: src/keymap.h, src/misc2.c 15909 15910Patch 8.0.0213 15911Problem: The Netbeans "specialKeys" command does not check if the argument 15912 fits in the buffer. (Coverity) 15913Solution: Add a length check. 15914Files: src/netbeans.c 15915 15916Patch 8.0.0214 15917Problem: Leaking memory when syntax cluster id is unknown. (Coverity) 15918Solution: Free the memory. 15919Files: src/syntax.c 15920 15921Patch 8.0.0215 15922Problem: When a Cscope line contains CTRL-L a NULL pointer may be used. 15923 (Coverity) 15924Solution: Don't check for an emacs tag in a cscope line. 15925Files: src/tag.c 15926 15927Patch 8.0.0216 15928Problem: When decoding JSON with a JS style object the JSON test may use a 15929 NULL pointer. (Coverity) 15930Solution: Check for a NULL pointer. 15931Files: src/json.c, src/json_test.c 15932 15933Patch 8.0.0217 (after 8.0.0215) 15934Problem: Build fails without the cscope feature. 15935Solution: Add #ifdef. 15936Files: src/tag.c 15937 15938Patch 8.0.0218 15939Problem: No command line completion for :cexpr, :cgetexpr, :caddexpr, etc. 15940Solution: Make completion work. (Yegappan Lakshmanan) Add a test. 15941Files: src/ex_docmd.c, src/testdir/test_cmdline.vim 15942 15943Patch 8.0.0219 15944Problem: Ubsan reports errors for integer overflow. 15945Solution: Define macros for minimum and maximum values. Select an 15946 expression based on the value. (Mike Williams) 15947Files: src/charset.c, src/eval.c, src/evalfunc.c, src/structs.h, 15948 src/testdir/test_viml.vim 15949 15950Patch 8.0.0220 15951Problem: Completion for :match does not show "none" and other missing 15952 highlight names. 15953Solution: Skip over cleared entries before checking the index to be at the 15954 end. 15955Files: src/syntax.c, src/testdir/test_cmdline.vim 15956 15957Patch 8.0.0221 15958Problem: Checking if PROTO is defined inside a function has no effect. 15959Solution: Remove the check for PROTO. (Hirohito Higashi) 15960Files: src/misc1.c 15961 15962Patch 8.0.0222 15963Problem: When a multi-byte character ends in a zero byte, putting blockwise 15964 text puts it before the character instead of after it. 15965Solution: Use int instead of char for the character under the cursor. 15966 (Luchr, closes #1403) Add a test. 15967Files: src/ops.c, src/testdir/test_put.vim, src/Makefile, 15968 src/testdir/test_alot.vim 15969 15970Patch 8.0.0223 15971Problem: Coverity gets confused by the flags passed to find_tags() and 15972 warns about uninitialized variable. 15973Solution: Disallow using cscope and help tags at the same time. 15974Files: src/tag.c 15975 15976Patch 8.0.0224 15977Problem: When 'fileformats' is changed in a BufReadPre auto command, it 15978 does not take effect in readfile(). (Gary Johnson) 15979Solution: Check the value of 'fileformats' after executing auto commands. 15980 (Christian Brabandt) 15981Files: src/fileio.c, src/testdir/test_fileformat.vim 15982 15983Patch 8.0.0225 15984Problem: When a block is visually selected and put is used on the end of 15985 the selection only one line is changed. 15986Solution: Check for the end properly. (Christian Brabandt, neovim issue 15987 5781) 15988Files: src/ops.c, src/testdir/test_put.vim 15989 15990Patch 8.0.0226 15991Problem: The test for patch 8.0.0224 misses the CR characters and passes 15992 even without the fix. (Christian Brabandt) 15993Solution: Use double quotes and \<CR>. 15994Files: src/testdir/test_fileformat.vim 15995 15996Patch 8.0.0227 15997Problem: Crash when 'fileformat' is forced to "dos" and the first line in 15998 the file is empty and does not have a CR character. 15999Solution: Don't check for CR before the start of the buffer. 16000Files: src/fileio.c, src/testdir/test_fileformat.vim 16001 16002Patch 8.0.0228 (after 8.0.0210) 16003Problem: When pasting test in an xterm on the command line it is surrounded 16004 by <PasteStart> and <PasteEnd>. (Johannes Kaltenbach) 16005Solution: Add missing changes. 16006Files: src/ex_getln.c, src/term.c 16007 16008Patch 8.0.0229 (after 8.0.0179) 16009Problem: When freeing a buffer the local value of the 'formatprg' option is 16010 not cleared. 16011Solution: Add missing change. 16012Files: src/buffer.c 16013 16014Patch 8.0.0230 (after 8.0.0210) 16015Problem: When using bracketed paste line breaks are not respected. 16016Solution: Turn CR characters into a line break if the text is being 16017 inserted. (closes #1404) 16018Files: src/edit.c 16019 16020Patch 8.0.0231 16021Problem: There are no tests for bracketed paste mode. 16022Solution: Add a test. Fix repeating with "normal .". 16023Files: src/edit.c, src/testdir/test_paste.vim, src/Makefile, 16024 src/testdir/Make_all.mak 16025 16026Patch 8.0.0232 16027Problem: Pasting in Insert mode does not work when bracketed paste is used 16028 and 'esckeys' is off. 16029Solution: When 'esckeys' is off disable bracketed paste in Insert mode. 16030Files: src/edit.c 16031 16032Patch 8.0.0233 (after 8.0.0231) 16033Problem: The paste test fails if the GUI is being used. 16034Solution: Skip the test in the GUI. 16035Files: src/testdir/test_paste.vim 16036 16037Patch 8.0.0234 (after 8.0.0225) 16038Problem: When several lines are visually selected and one of them is short, 16039 using put may cause a crash. (Axel Bender) 16040Solution: Check for a short line. (Christian Brabandt) 16041Files: src/ops.c, src/testdir/test_put.vim 16042 16043Patch 8.0.0235 16044Problem: Memory leak detected when running tests for diff mode. 16045Solution: Free p_extra_free. 16046Files: src/screen.c 16047 16048Patch 8.0.0236 (after 8.0.0234) 16049Problem: Gcc complains that a variable may be used uninitialized. Confusion 16050 between variable and label name. (John Marriott) 16051Solution: Initialize it. Rename end to end_lnum. 16052Files: src/ops.c 16053 16054Patch 8.0.0237 16055Problem: When setting wildoptions=tagfile the completion context is not set 16056 correctly. (desjardins) 16057Solution: Check for EXPAND_TAGS_LISTFILES. (Christian Brabandt, closes #1399) 16058Files: src/ex_getln.c, src/testdir/test_cmdline.vim 16059 16060Patch 8.0.0238 16061Problem: When using bracketed paste autoindent causes indent to be 16062 increased. 16063Solution: Disable 'ai' and set 'paste' temporarily. (Ken Takata) 16064Files: src/edit.c, src/testdir/test_paste.vim 16065 16066Patch 8.0.0239 16067Problem: The address sanitizer sometimes finds errors, but it needs to be 16068 run manually. 16069Solution: Add an environment to Travis with clang and the address sanitizer. 16070 (Christian Brabandt) Also include changes only on github. 16071Files: .travis.yml 16072 16073Patch 8.0.0240 (after 8.0.0239) 16074Problem: The clang build on CI fails with one configuration. 16075Solution: Redo a previous patch that was accidentally reverted. 16076Files: .travis.yml 16077 16078Patch 8.0.0241 16079Problem: Vim defines a mch_memmove() function but it doesn't work, thus is 16080 always unused. 16081Solution: Remove the mch_memmove implementation. (suggested by Dominique 16082 Pelle) 16083Files: src/os_unix.h, src/misc2.c, src/vim.h 16084 16085Patch 8.0.0242 16086Problem: Completion of user defined functions is not covered by tests. 16087Solution: Add tests. Also test various errors of user-defined commands. 16088 (Dominique Pelle, closes #1413) 16089Files: src/testdir/test_usercommands.vim 16090 16091Patch 8.0.0243 16092Problem: When making a character lower case with tolower() changes the byte 16093 count, it is not made lower case. 16094Solution: Add strlow_save(). (Dominique Pelle, closes #1406) 16095Files: src/evalfunc.c, src/misc2.c, src/proto/misc2.pro, 16096 src/testdir/test_functions.vim 16097 16098Patch 8.0.0244 16099Problem: When the user sets t_BE empty after startup to disable bracketed 16100 paste, this has no direct effect. 16101Solution: When t_BE is made empty write t_BD. When t_BE is made non-empty 16102 write the new value. 16103Files: src/option.c 16104 16105Patch 8.0.0245 16106Problem: The generated zh_CN.cp936.po message file is not encoded properly. 16107Solution: Instead of using zh_CN.po as input, use zh_CN.UTF-8.po. 16108Files: src/po/Makefile 16109 16110Patch 8.0.0246 16111Problem: Compiler warnings for int to pointer conversion. 16112Solution: Fix macro for mch_memmove(). (John Marriott) 16113Files: src/vim.h 16114 16115Patch 8.0.0247 16116Problem: Under some circumstances, one needs to type Ctrl-N or Ctrl-P twice 16117 to have a menu entry selected. (Lifepillar) 16118Solution: call ins_compl_free(). (Christian Brabandt, closes #1411) 16119Files: src/edit.c, src/testdir/test_popup.vim 16120 16121Patch 8.0.0248 16122Problem: vim_strcat() cannot handle overlapping arguments. 16123Solution: Use mch_memmove() instead of strcpy(). (Justin M. Keyes, 16124 closes #1415) 16125Files: src/misc2.c 16126 16127Patch 8.0.0249 16128Problem: When two submits happen quick after each other, the tests for the 16129 first one may error out. 16130Solution: Use a git depth of 10 instead of 1. (Christian Brabandt) 16131Files: .travis.yml 16132 16133Patch 8.0.0250 16134Problem: When virtcol() gets a column that is not the first byte of a 16135 multi-byte character the result is unpredictable. (Christian 16136 Ludwig) 16137Solution: Correct the column to the first byte of a multi-byte character. 16138 Change the utf-8 test to new style. 16139Files: src/charset.c, src/testdir/test_utf8.in, src/testdir/test_utf8.ok, 16140 src/testdir/test_utf8.vim, src/Makefile, src/testdir/Make_all.mak, 16141 src/testdir/test_alot_utf8.vim 16142 16143Patch 8.0.0251 16144Problem: It is not so easy to write a script that works with both Python 2 16145 and Python 3, even when the Python code works with both. 16146Solution: Add 'pyxversion', :pyx, etc. (Marc Weber, Ken Takata) 16147Files: Filelist, runtime/doc/eval.txt, runtime/doc/if_pyth.txt, 16148 runtime/doc/index.txt, runtime/doc/options.txt, 16149 runtime/optwin.vim, runtime/doc/quickref.txt, 16150 runtime/doc/usr_41.txt, src/Makefile, src/evalfunc.c, 16151 src/ex_cmds.h, src/ex_cmds2.c, src/ex_docmd.c, src/if_python.c, 16152 src/if_python3.c, src/option.c, src/option.h, 16153 src/proto/ex_cmds2.pro, src/testdir/Make_all.mak, 16154 src/testdir/pyxfile/py2_magic.py, 16155 src/testdir/pyxfile/py2_shebang.py, 16156 src/testdir/pyxfile/py3_magic.py, 16157 src/testdir/pyxfile/py3_shebang.py, src/testdir/pyxfile/pyx.py, 16158 src/testdir/test_pyx2.vim, src/testdir/test_pyx3.vim 16159 src/userfunc.c 16160 16161Patch 8.0.0252 16162Problem: Characters below 256 that are not one byte are not always 16163 recognized as word characters. 16164Solution: Make vim_iswordc() and vim_iswordp() work the same way. Add a test 16165 for this. (Ozaki Kiichi) 16166Files: src/Makefile, src/charset.c, src/kword_test.c, src/mbyte.c, 16167 src/proto/mbyte.pro 16168 16169Patch 8.0.0253 16170Problem: When creating a session when 'winminheight' is 2 or larger and 16171 loading that session gives an error. 16172Solution: Also set 'winminheight' before setting 'winheight' to 1. (Rafael 16173 Bodill, neovim #5717) 16174Files: src/ex_docmd.c, src/testdir/test_mksession.vim 16175 16176Patch 8.0.0254 16177Problem: When using an assert function one can either specify a message or 16178 get a message about what failed, not both. 16179Solution: Concatenate the error with the message. 16180Files: src/eval.c, src/testdir/test_assert.vim 16181 16182Patch 8.0.0255 16183Problem: When calling setpos() with a buffer argument it often is ignored. 16184 (Matthew Malcomson) 16185Solution: Make the buffer argument work for all marks local to a buffer. 16186 (neovim #5713) Add more tests. 16187Files: src/mark.c, src/testdir/test_marks.vim, runtime/doc/eval.txt 16188 16189Patch 8.0.0256 (after 8.0.0255) 16190Problem: Tests fail because some changes were not included. 16191Solution: Add changes to evalfunc.c 16192Files: src/evalfunc.c 16193 16194Patch 8.0.0257 (after 8.0.0252) 16195Problem: The keyword test file is not included in the archive. 16196Solution: Update the list of files. 16197Files: Filelist 16198 16199Patch 8.0.0258 (after 8.0.0253) 16200Problem: mksession test leaves file behind. 16201Solution: Delete the file. Rename files to start with "X". 16202Files: src/testdir/test_mksession.vim 16203 16204Patch 8.0.0259 16205Problem: Tab commands do not handle count correctly. (Ken Hamada) 16206Solution: Add ADDR_TABS_RELATIVE. (Hirohito Higashi) 16207Files: runtime/doc/tabpage.txt, src/ex_cmds.h, src/ex_docmd.c, 16208 src/testdir/test_tabpage.vim 16209 16210Patch 8.0.0260 16211Problem: Build fails with tiny features. 16212Solution: Move get_tabpage_arg() inside #ifdef. 16213Files: src/ex_docmd.c 16214 16215Patch 8.0.0261 16216Problem: Not enough test coverage for eval functions. 16217Solution: Add more tests. (Dominique Pelle, closes #1420) 16218Files: src/testdir/test_functions.vim 16219 16220Patch 8.0.0262 16221Problem: Farsi support is barely tested. 16222Solution: Add more tests for Farsi. Clean up the code. 16223Files: src/edit.c, src/farsi.c, src/testdir/test_farsi.vim 16224 16225Patch 8.0.0263 16226Problem: Farsi support is not tested enough. 16227Solution: Add more tests for Farsi. Clean up the code. 16228Files: src/farsi.c, src/testdir/test_farsi.vim 16229 16230Patch 8.0.0264 16231Problem: Memory error reported by ubsan, probably for using the string 16232 returned by execute(). 16233Solution: NUL terminate the result of execute(). 16234Files: src/evalfunc.c 16235 16236Patch 8.0.0265 16237Problem: May get ml_get error when :pydo deletes lines or switches to 16238 another buffer. (Nikolai Pavlov, issue #1421) 16239Solution: Check the buffer and line every time. 16240Files: src/if_py_both.h, src/testdir/test_python2.vim, 16241 src/testdir/test_python3.vim, src/Makefile, 16242 src/testdir/Make_all.mak 16243 16244Patch 8.0.0266 16245Problem: Compiler warning for using uninitialized variable. 16246Solution: Set tab_number also when there is an error. 16247Files: src/ex_docmd.c 16248 16249Patch 8.0.0267 16250Problem: A channel test sometimes fails on Mac. 16251Solution: Add the test to the list of flaky tests. 16252Files: src/testdir/runtest.vim 16253 16254Patch 8.0.0268 16255Problem: May get ml_get error when :luado deletes lines or switches to 16256 another buffer. (Nikolai Pavlov, issue #1421) 16257Solution: Check the buffer and line every time. 16258Files: src/if_lua.c, src/testdir/test_lua.vim, src/Makefile, 16259 src/testdir/Make_all.mak 16260 16261Patch 8.0.0269 16262Problem: May get ml_get error when :perldo deletes lines or switches to 16263 another buffer. (Nikolai Pavlov, issue #1421) 16264Solution: Check the buffer and line every time. 16265Files: src/if_perl.xs, src/testdir/test_perl.vim 16266 16267Patch 8.0.0270 16268Problem: May get ml_get error when :rubydo deletes lines or switches to 16269 another buffer. (Nikolai Pavlov, issue #1421) 16270Solution: Check the buffer and line every time. 16271Files: src/if_ruby.c, src/testdir/test_ruby.vim 16272 16273Patch 8.0.0271 16274Problem: May get ml_get error when :tcldo deletes lines or switches to 16275 another buffer. (Nikolai Pavlov, closes #1421) 16276Solution: Check the buffer and line every time. 16277Files: src/if_tcl.c, src/testdir/test_tcl.vim, src/Makefile, 16278 src/testdir/Make_all.mak 16279 16280Patch 8.0.0272 16281Problem: Crash on exit is not detected when running tests. 16282Solution: Remove the dash before the command. (Dominique Pelle, closes 16283 #1425) 16284Files: src/testdir/Makefile 16285 16286Patch 8.0.0273 16287Problem: Dead code detected by Coverity when not using gnome. 16288Solution: Rearrange the #ifdefs to avoid dead code. 16289Files: src/gui_gtk_x11.c 16290 16291Patch 8.0.0274 16292Problem: When update_single_line() is called recursively, or another screen 16293 update happens while it is busy, errors may occur. 16294Solution: Check and update updating_screen. (Christian Brabandt) 16295Files: src/screen.c 16296 16297Patch 8.0.0275 16298Problem: When checking for CTRL-C typed the GUI may detect a screen resize 16299 and redraw the screen, causing trouble. 16300Solution: Set updating_screen in ui_breakcheck(). 16301Files: src/ui.c 16302 16303Patch 8.0.0276 16304Problem: Checking for FEAT_GUI_GNOME inside GTK 3 code is unnecessary. 16305Solution: Remove the #ifdef. (Kazunobu Kuriyama) 16306Files: src/gui_gtk_x11.c 16307 16308Patch 8.0.0277 16309Problem: The GUI test may trigger fontconfig and take a long time. 16310Solution: Set $XDG_CACHE_HOME. (Kazunobu Kuriyama) 16311Files: src/testdir/unix.vim, src/testdir/test_gui.vim 16312 16313Patch 8.0.0278 (after 8.0.0277) 16314Problem: GUI test fails on MS-Windows. 16315Solution: Check that tester_HOME exists. 16316Files: src/testdir/test_gui.vim 16317 16318Patch 8.0.0279 16319Problem: With MSVC 2015 the dll name is vcruntime140.dll. 16320Solution: Check the MSVC version and use the right dll name. (Ken Takata) 16321Files: src/Make_mvc.mak 16322 16323Patch 8.0.0280 16324Problem: On MS-Windows setting an environment variable with multi-byte 16325 strings does not work well. 16326Solution: Use wputenv when possible. (Taro Muraoka, Ken Takata) 16327Files: src/misc1.c, src/os_win32.c, src/os_win32.h, 16328 src/proto/os_win32.pro, src/vim.h 16329 16330Patch 8.0.0281 16331Problem: MS-Windows files are still using ARGSUSED while most other files 16332 have UNUSED. 16333Solution: Change ARGSUSED to UNUSED or delete it. 16334Files: src/os_win32.c, src/gui_w32.c, src/os_mswin.c, src/os_w32exe.c, 16335 src/winclip.c 16336 16337Patch 8.0.0282 16338Problem: When doing a Visual selection and using "I" to go to insert mode, 16339 CTRL-O needs to be used twice to go to Normal mode. (Coacher) 16340Solution: Check for the return value of edit(). (Christian Brabandt, 16341 closes #1290) 16342Files: src/normal.c, src/ops.c 16343 16344Patch 8.0.0283 16345Problem: The return value of mode() does not indicate that completion is 16346 active in Replace and Insert mode. (Zhen-Huan (Kenny) Hu) 16347Solution: Add "c" or "x" for two kinds of completion. (Yegappan Lakshmanan, 16348 closes #1397) Test some more modes. 16349Files: runtime/doc/eval.txt, src/evalfunc.c, 16350 src/testdir/test_functions.vim, src/testdir/test_mapping.vim 16351 16352Patch 8.0.0284 16353Problem: The Test_collapse_buffers() test failed once, looks like it is 16354 flaky. 16355Solution: Add it to the list of flaky tests. 16356Files: src/testdir/runtest.vim 16357 16358Patch 8.0.0285 (after 8.0.0277) 16359Problem: Tests fail with tiny build on Unix. 16360Solution: Only set g:tester_HOME when build with the +eval feature. 16361Files: src/testdir/unix.vim 16362 16363Patch 8.0.0286 16364Problem: When concealing is active and the screen is resized in the GUI it 16365 is not immediately redrawn. 16366Solution: Use update_prepare() and update_finish() from 16367 update_single_line(). 16368Files: src/screen.c 16369 16370Patch 8.0.0287 16371Problem: Cannot access the arguments of the current function in debug mode. 16372 (Luc Hermitte) 16373Solution: use get_funccal(). (LemonBoy, closes #1432, closes #1352) 16374Files: src/userfunc.c 16375 16376Patch 8.0.0288 (after 8.0.0284) 16377Problem: Errors reported while running tests. 16378Solution: Put comma in the right place. 16379Files: src/testdir/runtest.vim 16380 16381Patch 8.0.0289 16382Problem: No test for "ga" and :ascii. 16383Solution: Add a test. (Dominique Pelle, closes #1429) 16384Files: src/Makefile, src/testdir/test_alot.vim, src/testdir/test_ga.vim 16385 16386Patch 8.0.0290 16387Problem: If a wide character doesn't fit at the end of the screen line, and 16388 the line doesn't fit on the screen, then the cursor position may 16389 be wrong. (anliting) 16390Solution: Don't skip over wide character. (Christian Brabandt, closes #1408) 16391Files: src/screen.c 16392 16393Patch 8.0.0291 (after 8.0.0282) 16394Problem: Visual block insertion does not insert in all lines. 16395Solution: Don't bail out of insert too early. Add a test. (Christian 16396 Brabandt, closes #1290) 16397Files: src/ops.c, src/testdir/test_visual.vim 16398 16399Patch 8.0.0292 16400Problem: The stat test is a bit slow. 16401Solution: Remove a couple of sleep comments and reduce another. 16402Files: src/testdir/test_stat.vim 16403 16404Patch 8.0.0293 16405Problem: Some tests have a one or three second wait. 16406Solution: Reset the 'showmode' option. Use a test time of one to disable 16407 sleep after an error or warning message. 16408Files: src/misc1.c, src/testdir/runtest.vim, src/testdir/test_normal.vim 16409 16410Patch 8.0.0294 16411Problem: Argument list is not stored correctly in a session file. 16412 (lgpasquale) 16413Solution: Use "$argadd" instead of "argadd". (closes #1434) 16414Files: src/ex_docmd.c, src/testdir/test_mksession.vim 16415 16416Patch 8.0.0295 (after 8.0.0293) 16417Problem: test_viml hangs. 16418Solution: Put resetting 'more' before sourcing the script. 16419Files: src/testdir/runtest.vim 16420 16421Patch 8.0.0296 16422Problem: Bracketed paste can only append, not insert. 16423Solution: When the cursor is in the first column insert the text. 16424Files: src/normal.c, src/testdir/test_paste.vim, runtime/doc/term.txt 16425 16426Patch 8.0.0297 16427Problem: Double free on exit when using a closure. (James McCoy) 16428Solution: Split free_al_functions in two parts. (closes #1428) 16429Files: src/userfunc.c, src/structs.h 16430 16431Patch 8.0.0298 16432Problem: Ex command range with repeated search does not work. (Bruce 16433 DeVisser) 16434Solution: Skip over \/, \? and \&. 16435Files: src/ex_docmd.c, src/testdir/test_cmdline.vim 16436 16437Patch 8.0.0299 16438Problem: When the GUI window is resized Vim does not always take over the 16439 new size. (Luchr) 16440Solution: Reset new_p_guifont in gui_resize_shell(). Call 16441 gui_may_resize_shell() in the main loop. 16442Files: src/main.c, src/gui.c 16443 16444Patch 8.0.0300 16445Problem: Cannot stop diffing hidden buffers. (Daniel Hahler) 16446Solution: When using :diffoff! make the whole list if diffed buffers empty. 16447 (closes #736) 16448Files: src/diff.c, src/testdir/test_diffmode.vim 16449 16450Patch 8.0.0301 16451Problem: No tests for ":set completion" and various errors of the :set 16452 command. 16453Solution: Add more :set tests. (Dominique Pelle, closes #1440) 16454Files: src/testdir/test_options.vim 16455 16456Patch 8.0.0302 16457Problem: Cannot set terminal key codes with :let. 16458Solution: Make it work. 16459Files: src/option.c, src/testdir/test_assign.vim 16460 16461Patch 8.0.0303 16462Problem: Bracketed paste does not work in Visual mode. 16463Solution: Delete the text before pasting 16464Files: src/normal.c, src/ops.c, src/proto/ops.pro, 16465 src/testdir/test_paste.vim 16466 16467Patch 8.0.0304 (after 8.0.0302) 16468Problem: Assign test fails in the GUI. 16469Solution: Skip the test for setting t_k1. 16470Files: src/testdir/test_assign.vim 16471 16472Patch 8.0.0305 16473Problem: Invalid memory access when option has duplicate flag. 16474Solution: Correct pointer computation. (Dominique Pelle, closes #1442) 16475Files: src/option.c, src/testdir/test_options.vim 16476 16477Patch 8.0.0306 16478Problem: mode() not sufficiently tested. 16479Solution: Add more tests. (Yegappan Lakshmanan) 16480Files: src/testdir/test_functions.vim 16481 16482Patch 8.0.0307 16483Problem: Asan detects a memory error when EXITFREE is defined. (Dominique 16484 Pelle) 16485Solution: In getvcol() check for ml_get_buf() returning an empty string. 16486 Also skip adjusting the scroll position. Set "exiting" in 16487 mch_exit() for all systems. 16488Files: src/charset.c, src/window.c, src/os_mswin.c, src/os_win32.c, 16489 src/os_amiga.c 16490 16491Patch 8.0.0308 16492Problem: When using a symbolic link, the package path will not be inserted 16493 at the right position in 'runtimepath'. (Dugan Chen, Norio Takagi) 16494Solution: Resolve symbolic links when finding the right position in 16495 'runtimepath'. (Hirohito Higashi) 16496Files: src/ex_cmds2.c, src/testdir/test_packadd.vim 16497 16498Patch 8.0.0309 16499Problem: Cannot use an empty key in json. 16500Solution: Allow for using an empty key. 16501Files: src/json.c, src/testdir/test_json.vim 16502 16503Patch 8.0.0310 16504Problem: Not enough testing for GUI functionality. 16505Solution: Add tests for v:windowid and getwinpos[xy](). (Kazunobu Kuriyama) 16506Files: src/testdir/test_gui.vim 16507 16508Patch 8.0.0311 16509Problem: Linebreak tests are old style. 16510Solution: Turn the tests into new style. Share utility functions. (Ozaki 16511 Kiichi, closes #1444) 16512Files: src/Makefile, src/testdir/Make_all.mak, 16513 src/testdir/test_breakindent.vim, src/testdir/test_listlbr.in, 16514 src/testdir/test_listlbr.ok, src/testdir/test_listlbr.vim, 16515 src/testdir/test_listlbr_utf8.in, 16516 src/testdir/test_listlbr_utf8.ok, 16517 src/testdir/test_listlbr_utf8.vim, src/testdir/view_util.vim 16518 16519Patch 8.0.0312 16520Problem: When a json message arrives in pieces, the start is dropped and 16521 the decoding fails. 16522Solution: Do not drop the start when it is still needed. (Kay Zheng) Add a 16523 test. Reset the timeout when something is received. 16524Files: src/channel.c, src/testdir/test_channel.vim, src/structs.h, 16525 src/testdir/test_channel_pipe.py 16526 16527Patch 8.0.0313 (after 8.0.0310) 16528Problem: Not enough testing for GUI functionality. 16529Solution: Add tests for the GUI font. (Kazunobu Kuriyama) 16530Files: src/testdir/test_gui.vim 16531 16532Patch 8.0.0314 16533Problem: getcmdtype(), getcmdpos() and getcmdline() are not tested. 16534Solution: Add tests. (Yegappan Lakshmanan) 16535Files: src/testdir/test_cmdline.vim 16536 16537Patch 8.0.0315 16538Problem: ":help :[range]" does not work. (Tony Mechelynck) 16539Solution: Translate to insert a backslash. 16540Files: src/ex_cmds.c 16541 16542Patch 8.0.0316 16543Problem: ":help z?" does not work. (Pavol Juhas) 16544Solution: Remove exception for z?. 16545Files: src/ex_cmds.c 16546 16547Patch 8.0.0317 16548Problem: No test for setting 'guifont'. 16549Solution: Add a test for X11 GUIs. (Kazunobu Kuriyama) 16550Files: src/testdir/test_gui.vim 16551 16552Patch 8.0.0318 16553Problem: Small mistake in 7x13 font name. 16554Solution: Use ISO 8859-1 name instead of 10646-1. (Kazunobu Kuriyama) 16555Files: src/testdir/test_gui.vim 16556 16557Patch 8.0.0319 16558Problem: Insert mode completion does not respect "start" in 'backspace'. 16559Solution: Check whether backspace can go before where insert started. 16560 (Hirohito Higashi) 16561Files: src/edit.c, src/testdir/test_popup.vim 16562 16563Patch 8.0.0320 16564Problem: Warning for unused variable with small build. 16565Solution: Change #ifdef to exclude FEAT_CMDWIN. (Kazunobu Kuriyama) 16566Files: src/ex_getln.c 16567 16568Patch 8.0.0321 16569Problem: When using the tiny version trying to load the matchit plugin 16570 gives an error. On MS-Windows some default mappings fail. 16571Solution: Add a check if the command used is available. (Christian Brabandt) 16572Files: runtime/mswin.vim, runtime/macros/matchit.vim 16573 16574Patch 8.0.0322 16575Problem: Possible overflow with spell file where the tree length is 16576 corrupted. 16577Solution: Check for an invalid length (suggested by shqking) 16578Files: src/spellfile.c 16579 16580Patch 8.0.0323 16581Problem: When running the command line tests there is a one second wait. 16582Solution: Change an Esc to Ctrl-C. (Yegappan Lakshmanan) 16583Files: src/testdir/test_cmdline.vim 16584 16585Patch 8.0.0324 16586Problem: Illegal memory access with "1;y". 16587Solution: Call check_cursor() instead of check_cursor_lnum(). (Dominique 16588 Pelle, closes #1455) 16589Files: src/ex_docmd.c, src/testdir/test_cmdline.vim 16590 16591Patch 8.0.0325 16592Problem: Packadd test does not clean up symlink. 16593Solution: Delete the link. (Hirohito Higashi) 16594Files: src/testdir/test_packadd.vim 16595 16596Patch 8.0.0326 (after 8.0.0325) 16597Problem: Packadd test uses wrong directory name. 16598Solution: Use the variable name value. (Hirohito Higashi) 16599Files: src/testdir/test_packadd.vim 16600 16601Patch 8.0.0327 16602Problem: The E11 error message in the command line window is not 16603 translated. 16604Solution: use _(). (Hirohito Higashi) 16605Files: src/ex_docmd.c 16606 16607Patch 8.0.0328 16608Problem: The "zero count" error doesn't have a number. (Hirohito Higashi) 16609Solution: Give it a number and be more specific about the error. 16610Files: src/globals.h 16611 16612Patch 8.0.0329 16613Problem: Xfontset and guifontwide are not tested. 16614Solution: Add tests. (Kazunobu Kuriyama) 16615Files: src/testdir/test_gui.vim 16616 16617Patch 8.0.0330 16618Problem: Illegal memory access after "vapo". (Dominique Pelle) 16619Solution: Fix the cursor column. 16620Files: src/search.c, src/testdir/test_visual.vim 16621 16622Patch 8.0.0331 16623Problem: Restoring help snapshot accesses freed memory. (Dominique Pelle) 16624Solution: Don't restore a snapshot when the window closes. 16625Files: src/window.c, src/Makefile, src/testdir/Make_all.mak, 16626 src/testdir/test_help.vim 16627 16628Patch 8.0.0332 16629Problem: GUI test fails on some systems. 16630Solution: Try different language settings. (Kazunobu Kuriyama) 16631Files: src/testdir/test_gui.vim 16632 16633Patch 8.0.0333 16634Problem: Illegal memory access when 'complete' ends in a backslash. 16635Solution: Check for trailing backslash. (Dominique Pelle, closes #1478) 16636Files: src/option.c, src/testdir/test_options.vim 16637 16638Patch 8.0.0334 16639Problem: Can't access b:changedtick from a dict reference. 16640Solution: Make changedtick a member of the b: dict. (inspired by neovim 16641 #6112) 16642Files: src/structs.h, src/buffer.c, src/edit.c, src/eval.c, 16643 src/evalfunc.c, src/ex_docmd.c, src/main.c, src/globals.h, 16644 src/fileio.c, src/memline.c, src/misc1.c, src/syntax.c, 16645 src/proto/eval.pro, src/testdir/test_changedtick.vim, 16646 src/Makefile, src/testdir/test_alot.vim, src/testdir/test91.in, 16647 src/testdir/test91.ok, src/testdir/test_functions.vim 16648 16649Patch 8.0.0335 (after 8.0.0335) 16650Problem: Functions test fails. 16651Solution: Use the right buffer number. 16652Files: src/testdir/test_functions.vim 16653 16654Patch 8.0.0336 16655Problem: Flags of :substitute not sufficiently tested. 16656Solution: Test up to two letter flag combinations. (James McCoy, closes 16657 #1479) 16658Files: src/testdir/test_substitute.vim 16659 16660Patch 8.0.0337 16661Problem: Invalid memory access in :recover command. 16662Solution: Avoid access before directory name. (Dominique Pelle, 16663 closes #1488) 16664Files: src/Makefile, src/memline.c, src/testdir/test_alot.vim, 16665 src/testdir/test_recover.vim 16666 16667Patch 8.0.0338 (after 8.0.0337) 16668Problem: :recover test fails on MS-Windows. 16669Solution: Use non-existing directory on MS-Windows. 16670Files: src/testdir/test_recover.vim 16671 16672Patch 8.0.0339 16673Problem: Illegal memory access with vi' 16674Solution: For quoted text objects bail out if the Visual area spans more 16675 than one line. 16676Files: src/search.c, src/testdir/test_visual.vim 16677 16678Patch 8.0.0340 16679Problem: Not checking return value of dict_add(). (Coverity) 16680Solution: Handle a failure. 16681Files: src/buffer.c 16682 16683Patch 8.0.0341 16684Problem: When using complete() and typing a character undo is saved after 16685 the character was inserted. (Shougo) 16686Solution: Save for undo before inserting the character. 16687Files: src/edit.c, src/testdir/test_popup.vim 16688 16689Patch 8.0.0342 16690Problem: Double free when compiled with EXITFREE and setting 'ttytype'. 16691Solution: Avoid setting P_ALLOCED on 'ttytype'. (Dominique Pelle, 16692 closes #1461) 16693Files: src/option.c, src/testdir/test_options.vim 16694 16695Patch 8.0.0343 16696Problem: b:changedtick can be unlocked, even though it has no effect. 16697 (Nikolai Pavlov) 16698Solution: Add a check and error E940. (closes #1496) 16699Files: src/eval.c, src/testdir/test_changedtick.vim, runtime/doc/eval.txt 16700 16701Patch 8.0.0344 16702Problem: Unlet command leaks memory. (Nikolai Pavlov) 16703Solution: Free the memory on error. (closes #1497) 16704Files: src/eval.c, src/testdir/test_unlet.vim 16705 16706Patch 8.0.0345 16707Problem: islocked('d.changedtick') does not work. 16708Solution: Make it work. 16709Files: src/buffer.c, src/eval.c, src/evalfunc.c, src/vim.h, 16710 src/testdir/test_changedtick.vim, 16711 16712Patch 8.0.0346 16713Problem: Vim relies on limits.h to be included indirectly, but on Solaris 9 16714 it may not be. (Ben Fritz) 16715Solution: Always include limits.h. 16716Files: src/os_unixx.h, src/vim.h 16717 16718Patch 8.0.0347 16719Problem: When using CTRL-X CTRL-U inside a comment, the use of the comment 16720 leader may not work. (Klement) 16721Solution: Save and restore did_ai. (Christian Brabandt, closes #1494) 16722Files: src/edit.c, src/testdir/test_popup.vim 16723 16724Patch 8.0.0348 16725Problem: When building with a shadow directory on macOS lacks the 16726 +clipboard feature. 16727Solution: Link *.m files, specifically os_macosx.m. (Kazunobu Kuriyama) 16728Files: src/Makefile 16729 16730Patch 8.0.0349 16731Problem: Redrawing errors with GTK 3. 16732Solution: When updating, first clear all rectangles and then draw them. 16733 (Kazunobu Kuriyama, Christian Ludwig, closes #848) 16734Files: src/gui_gtk_x11.c 16735 16736Patch 8.0.0350 16737Problem: Not enough test coverage for Perl. 16738Solution: Add more Perl tests. (Dominique Pelle, closes #1500) 16739Files: src/testdir/test_perl.vim 16740 16741Patch 8.0.0351 16742Problem: No test for concatenating an empty string that results from out of 16743 bounds indexing. 16744Solution: Add a simple test. 16745Files: src/testdir/test_expr.vim 16746 16747Patch 8.0.0352 16748Problem: The condition for when a typval needs to be cleared is too 16749 complicated. 16750Solution: Init the type to VAR_UNKNOWN and always clear it. 16751Files: src/eval.c 16752 16753Patch 8.0.0353 16754Problem: If [RO] in the status line is translated to a longer string, it is 16755 truncated to 4 bytes. 16756Solution: Skip over the resulting string. (Jente Hidskes, closes #1499) 16757Files: src/screen.c 16758 16759Patch 8.0.0354 16760Problem: Test to check that setting termcap key fails sometimes. 16761Solution: Check for "t_k1" to exist. (Christian Brabandt, closes #1459) 16762Files: src/testdir/test_assign.vim 16763 16764Patch 8.0.0355 16765Problem: Using uninitialized memory when 'isfname' is empty. 16766Solution: Don't call getpwnam() without an argument. (Dominique Pelle, 16767 closes #1464) 16768Files: src/misc1.c, src/testdir/test_options.vim 16769 16770Patch 8.0.0356 (after 8.0.0342) 16771Problem: Leaking memory when setting 'ttytype'. 16772Solution: Get free_oldval from the right option entry. 16773Files: src/option.c 16774 16775Patch 8.0.0357 16776Problem: Crash when setting 'guicursor' to weird value. 16777Solution: Avoid negative size. (Dominique Pelle, closes #1465) 16778Files: src/misc2.c, src/testdir/test_options.vim 16779 16780Patch 8.0.0358 16781Problem: Invalid memory access in C-indent code. 16782Solution: Don't go over end of empty line. (Dominique Pelle, closes #1492) 16783Files: src/edit.c, src/testdir/test_options.vim 16784 16785Patch 8.0.0359 16786Problem: 'number' and 'relativenumber' are not properly tested. 16787Solution: Add tests, change old style to new style tests. (Ozaki Kiichi, 16788 closes #1447) 16789Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 16790 src/testdir/test89.in, src/testdir/test89.ok, 16791 src/testdir/test_alot.vim, src/testdir/test_findfile.vim, 16792 src/testdir/test_number.vim 16793 16794Patch 8.0.0360 16795Problem: Sometimes VimL is used, which is confusing. 16796Solution: Consistently use "Vim script". (Hirohito Higashi) 16797Files: runtime/doc/if_mzsch.txt, runtime/doc/if_pyth.txt, 16798 runtime/doc/syntax.txt, runtime/doc/usr_02.txt, 16799 runtime/doc/version7.txt, src/Makefile, src/eval.c, 16800 src/ex_getln.c, src/if_py_both.h, src/if_xcmdsrv.c, 16801 src/testdir/Make_all.mak, src/testdir/runtest.vim, 16802 src/testdir/test49.vim, src/testdir/test_vimscript.vim, 16803 src/testdir/test_viml.vim 16804 16805Patch 8.0.0361 16806Problem: GUI initialisation is not sufficiently tested. 16807Solution: Add the gui_init test. (Kazunobu Kuriyama) 16808Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_dos.mak, 16809 src/testdir/Make_ming.mak, src/testdir/Makefile, 16810 src/testdir/gui_init.vim, src/testdir/setup_gui.vim, 16811 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim, Filelist 16812 16813Patch 8.0.0362 (after 8.0.0361) 16814Problem: Tests fail on MS-Windows. 16815Solution: Use $*.vim instead of $<. 16816Files: src/testdir/Make_dos.mak 16817 16818Patch 8.0.0363 16819Problem: Travis is too slow to keep up with patches. 16820Solution: Increase git depth to 20 16821Files: .travis.yml 16822 16823Patch 8.0.0364 16824Problem: ]s does not move cursor with two spell errors in one line. (Manuel 16825 Ortega) 16826Solution: Don't stop search immediately when wrapped, search the line first. 16827 (Ken Takata) Add a test. 16828Files: src/spell.c, src/Makefile, src/testdir/test_spell.vim, 16829 src/testdir/Make_all.mak 16830 16831Patch 8.0.0365 16832Problem: Might free a dict item that wasn't allocated. 16833Solution: Call dictitem_free(). (Nikolai Pavlov) Use this for 16834 b:changedtick. 16835Files: src/dict.c, src/structs.h, src/buffer.c, src/edit.c, 16836 src/evalfunc.c, src/ex_docmd.c, src/fileio.c, src/main.c, 16837 src/memline.c, src/misc1.c, src/syntax.c 16838 16839Patch 8.0.0366 (after 8.0.0365) 16840Problem: Build fails with tiny features. 16841Solution: Add #ifdef. 16842Files: src/buffer.c 16843 16844Patch 8.0.0367 16845Problem: If configure defines _LARGE_FILES some include files are included 16846 before it is defined. 16847Solution: Include vim.h first. (Sam Thursfield, closes #1508) 16848Files: src/gui_at_sb.c, src/gui_athena.c, src/gui_motif.c, src/gui_x11.c, 16849 src/gui_xmdlg.c 16850 16851Patch 8.0.0368 16852Problem: Not all options are tested with a range of values. 16853Solution: Generate a test script from the source code. 16854Files: Filelist, src/gen_opt_test.vim, src/testdir/test_options.vim, 16855 src/Makefile 16856 16857Patch 8.0.0369 (after 8.0.0368) 16858Problem: The 'balloondelay', 'ballooneval' and 'balloonexpr' options are 16859 not defined without the +balloon_eval feature. Testing that an 16860 option value fails does not work for unsupported options. 16861Solution: Make the options defined but not supported. Don't test if 16862 setting unsupported options fails. 16863Files: src/option.c, src/gen_opt_test.vim 16864 16865Patch 8.0.0370 16866Problem: Invalid memory access when setting wildchar empty. 16867Solution: Avoid going over the end of the option value. (Dominique Pelle, 16868 closes #1509) Make option test check all number options with 16869 empty value. 16870Files: src/gen_opt_test.vim, src/option.c, src/testdir/test_options.vim 16871 16872Patch 8.0.0371 (after 8.0.0365) 16873Problem: Leaking memory when setting v:completed_item. 16874Solution: Or the flags instead of setting them. 16875Files: src/eval.c 16876 16877Patch 8.0.0372 16878Problem: More options are not always defined. 16879Solution: Consistently define all possible options. 16880Files: src/option.c, src/testdir/test_expand_dllpath.vim 16881 16882Patch 8.0.0373 16883Problem: Build fails without +folding. 16884Solution: Move misplaced #ifdef. 16885Files: src/option.c 16886 16887Patch 8.0.0374 16888Problem: Invalid memory access when using :sc in Ex mode. (Dominique Pelle) 16889Solution: Avoid the column being negative. Also fix a hang in Ex mode. 16890Files: src/ex_getln.c, src/ex_cmds.c, src/testdir/test_substitute.vim 16891 16892Patch 8.0.0375 16893Problem: The "+ register is not tested. 16894Solution: Add a test using another Vim instance to change the "+ register. 16895 (Kazunobu Kuriyama) 16896Files: src/testdir/test_gui.vim 16897 16898Patch 8.0.0376 16899Problem: Size computations in spell file reading are not exactly right. 16900Solution: Make "len" a "long" and check with LONG_MAX. 16901Files: src/spellfile.c 16902 16903Patch 8.0.0377 16904Problem: Possible overflow when reading corrupted undo file. 16905Solution: Check if allocated size is not too big. (King) 16906Files: src/undo.c 16907 16908Patch 8.0.0378 16909Problem: Another possible overflow when reading corrupted undo file. 16910Solution: Check if allocated size is not too big. (King) 16911Files: src/undo.c 16912 16913Patch 8.0.0379 16914Problem: CTRL-Z and mouse click use CTRL-O unnecessary. 16915Solution: Remove stuffing CTRL-O. (James McCoy, closes #1453) 16916Files: src/edit.c, src/normal.c 16917 16918Patch 8.0.0380 16919Problem: With 'linebreak' set and 'breakat' includes ">" a double-wide 16920 character results in "<<" displayed. 16921Solution: Check for the character not to be replaced. (Ozaki Kiichi, 16922 closes #1456) 16923Files: src/screen.c, src/testdir/test_listlbr_utf8.vim 16924 16925Patch 8.0.0381 16926Problem: Diff mode is not sufficiently tested. 16927Solution: Add more diff mode tests. (Dominique Pelle, closes #1515) 16928Files: src/testdir/test_diffmode.vim 16929 16930Patch 8.0.0382 (after 8.0.0380) 16931Problem: Warning in tiny build for unused variable. (Tony Mechelynck) 16932Solution: Add #ifdefs. 16933Files: src/screen.c 16934 16935Patch 8.0.0383 (after 8.0.0382) 16936Problem: Misplaced #ifdef. (Christ van Willigen) 16937Solution: Split assignment. 16938Files: src/screen.c 16939 16940Patch 8.0.0384 16941Problem: Timer test failed for no apparent reason. 16942Solution: Mark the test as flaky. 16943Files: src/testdir/runtest.vim 16944 16945Patch 8.0.0385 16946Problem: No tests for arabic. 16947Solution: Add a first test for arabic. (Dominique Pelle, closes #1518) 16948Files: src/Makefile, src/testdir/Make_all.mak, 16949 src/testdir/test_arabic.vim 16950 16951Patch 8.0.0386 16952Problem: Tiny build has a problem with generating the options test. 16953Solution: Change the "if" to skip over statements. 16954Files: src/gen_opt_test.vim 16955 16956Patch 8.0.0387 16957Problem: compiler warnings 16958Solution: Add type casts. (Christian Brabandt) 16959Files: src/channel.c, src/memline.c 16960 16961Patch 8.0.0388 16962Problem: filtering lines through "cat", without changing the line count, 16963 changes manual folds. 16964Solution: Change how marks and folds are adjusted. (Matthew Malcomson, from 16965 neovim #6194). 16966Files: src/fold.c, src/testdir/test_fold.vim 16967 16968Patch 8.0.0389 16969Problem: Test for arabic does not check what is displayed. 16970Solution: Improve what is asserted. (Dominique Pelle, closes #1523) 16971 Add a first shaping test. 16972Files: src/testdir/test_arabic.vim 16973 16974Patch 8.0.0390 16975Problem: When the window scrolls horizontally when the popup menu is 16976 displayed part of it may not be cleared. (Neovim issue #6184) 16977Solution: Remove the menu when the windows scrolled. (closes #1524) 16978Files: src/edit.c 16979 16980Patch 8.0.0391 16981Problem: Arabic support is verbose and not well tested. 16982Solution: Simplify the code. Add more tests. 16983Files: src/arabic.c, src/testdir/test_arabic.vim 16984 16985Patch 8.0.0392 16986Problem: GUI test fails with Athena and Motif. 16987Solution: Add test_ignore_error(). Use it to ignore the "failed to create 16988 input context" error. 16989Files: src/message.c, src/proto/message.pro, src/evalfunc.c, 16990 src/testdir/test_gui.vim, runtime/doc/eval.txt 16991 16992Patch 8.0.0393 (after 8.0.0190) 16993Problem: When the same tag appears more than once, the order is 16994 unpredictable. (Charles Campbell) 16995Solution: Besides using a dict for finding duplicates, use a grow array for 16996 keeping the tags in sequence. 16997Files: src/tag.c, src/testdir/test_tagjump.vim 16998 16999Patch 8.0.0394 17000Problem: Tabs are not aligned when scrolling horizontally and a Tab doesn't 17001 fit. (Axel Bender) 17002Solution: Handle a Tab as a not fitting character. (Christian Brabandt) 17003 Also fix that ":redraw" does not scroll horizontally to show the 17004 cursor. And fix the test that depended on the old behavior. 17005Files: src/screen.c, src/ex_docmd.c, src/testdir/test_listlbr.vim, 17006 src/testdir/test_listlbr_utf8.vim, 17007 src/testdir/test_breakindent.vim 17008 17009Patch 8.0.0395 (after 8.0.0392) 17010Problem: Testing the + register fails with Motif. 17011Solution: Also ignore the "failed to create input context" error in the 17012 second gvim. Don't use msg() when it would result in a dialog. 17013Files: src/message.c, src/testdir/test_gui.vim, src/testdir/setup_gui.vim 17014 17015Patch 8.0.0396 17016Problem: 'balloonexpr' only works synchronously. 17017Solution: Add balloon_show(). (Jusufadis Bakamovic, closes #1449) 17018Files: runtime/doc/eval.txt, src/evalfunc.c, src/os_unix.c, 17019 src/os_win32.c 17020 17021Patch 8.0.0397 (after 8.0.0392) 17022Problem: Cannot build with the viminfo feature but without the eval 17023 feature. 17024Solution: Adjust #ifdef. (John Marriott) 17025Files: src/message.c, src/misc2.c 17026 17027Patch 8.0.0398 17028Problem: Illegal memory access with "t". 17029Solution: Use strncmp() instead of memcmp(). (Dominique Pelle, closes #1528) 17030Files: src/search.c, src/testdir/test_search.vim 17031 17032Patch 8.0.0399 17033Problem: Crash when using balloon_show() when not supported. (Hirohito 17034 Higashi) 17035Solution: Check for balloonEval not to be NULL. (Ken Takata) 17036Files: src/evalfunc.c, src/testdir/test_functions.vim 17037 17038Patch 8.0.0400 17039Problem: Some tests have a one second delay. 17040Solution: Add --not-a-term in RunVim(). 17041Files: src/testdir/shared.vim 17042 17043Patch 8.0.0401 17044Problem: Test fails with missing balloon feature. 17045Solution: Add check for balloon feature. 17046Files: src/testdir/test_functions.vim 17047 17048Patch 8.0.0402 17049Problem: :map completion does not have <special>. (Dominique Pelle) 17050Solution: Recognize <special> in completion. Add a test. 17051Files: src/getchar.c, src/testdir/test_cmdline.vim 17052 17053Patch 8.0.0403 17054Problem: GUI tests may fail. 17055Solution: Ignore the E285 error better. (Kazunobu Kuriyama) 17056Files: src/testdir/test_gui.vim, src/testdir/test_gui_init.vim 17057 17058Patch 8.0.0404 17059Problem: Not enough testing for quickfix. 17060Solution: Add some more tests. (Yegappan Lakshmanan) 17061Files: src/testdir/test_quickfix.vim 17062 17063Patch 8.0.0405 17064Problem: v:progpath may become invalid after ":cd". 17065Solution: Turn v:progpath into a full path if needed. 17066Files: src/main.c, src/testdir/test_startup.vim, runtime/doc/eval.txt 17067 17068Patch 8.0.0406 17069Problem: The arabic shaping code is verbose. 17070Solution: Shorten the code without changing the functionality. 17071Files: src/arabic.c 17072 17073Patch 8.0.0407 (after 8.0.0388) 17074Problem: Filtering folds with marker method not tested. 17075Solution: Also set 'foldmethod' to "marker". 17076Files: src/testdir/test_fold.vim 17077 17078Patch 8.0.0408 17079Problem: Updating folds does not work properly when inserting a file and a 17080 few other situations. 17081Solution: Adjust the way folds are updated. (Matthew Malcomson) 17082Files: src/fold.c, src/testdir/test_fold.vim 17083 17084Patch 8.0.0409 17085Problem: set_progpath is defined but not always used 17086Solution: Adjust #ifdef. 17087Files: src/main.c 17088 17089Patch 8.0.0410 17090Problem: Newer gettext/iconv library has extra dll file. 17091Solution: Add the file to the Makefile and nsis script. (Christian Brabandt) 17092Files: Makefile, nsis/gvim.nsi 17093 17094Patch 8.0.0411 17095Problem: We can't change the case in menu entries, it breaks translations. 17096Solution: Ignore case when looking up a menu translation. 17097Files: src/menu.c, src/testdir/test_menu.vim 17098 17099Patch 8.0.0412 (after 8.0.0411) 17100Problem: Menu test fails on MS-Windows. 17101Solution: Use a menu entry with only ASCII characters. 17102Files: src/testdir/test_menu.vim 17103 17104Patch 8.0.0413 (after 8.0.0412) 17105Problem: Menu test fails on MS-Windows using gvim. 17106Solution: First delete the English menus. 17107Files: src/testdir/test_menu.vim 17108 17109Patch 8.0.0414 17110Problem: Balloon eval is not tested. 17111Solution: Add a few balloon tests. (Kazunobu Kuriyama) 17112Files: src/testdir/test_gui.vim 17113 17114Patch 8.0.0415 (after 8.0.0414) 17115Problem: Balloon test fails on MS-Windows. 17116Solution: Test with 0x7fffffff instead of 0xffffffff. 17117Files: src/testdir/test_gui.vim 17118 17119Patch 8.0.0416 17120Problem: Setting v:progpath is not quite right. 17121Solution: On MS-Windows add the extension. On Unix use the full path for a 17122 relative directory. (partly by James McCoy, closes #1531) 17123Files: src/main.c, src/os_win32.c, src/os_unix.c 17124 17125Patch 8.0.0417 17126Problem: Test for the clipboard fails sometimes. 17127Solution: Add it to the flaky tests. 17128Files: src/testdir/runtest.vim 17129 17130Patch 8.0.0418 17131Problem: ASAN logs are disabled and don't cause a failure. 17132Solution: Enable ASAN logs and fail if not empty. (James McCoy, 17133 closes #1425) 17134Files: .travis.yml 17135 17136Patch 8.0.0419 17137Problem: Test for v:progpath fails on MS-Windows. 17138Solution: Expand to full path. Also add ".exe" when the path is an absolute 17139 path. 17140Files: src/os_win32.c, src/main.c 17141 17142Patch 8.0.0420 17143Problem: When running :make the output may be in the system encoding, 17144 different from 'encoding'. 17145Solution: Add the 'makeencoding' option. (Ken Takata) 17146Files: runtime/doc/options.txt, runtime/doc/quickfix.txt, 17147 runtime/doc/quickref.txt, src/Makefile, src/buffer.c, 17148 src/if_cscope.c, src/main.c, src/option.c, src/option.h, 17149 src/proto/quickfix.pro, src/quickfix.c, src/structs.h, 17150 src/testdir/Make_all.mak, src/testdir/test_makeencoding.py, 17151 src/testdir/test_makeencoding.vim 17152 17153Patch 8.0.0421 17154Problem: Diff mode is displayed wrong when adding a line at the end of a 17155 buffer. 17156Solution: Adjust marks in diff mode. (James McCoy, closes #1329) 17157Files: src/misc1.c, src/ops.c, src/testdir/test_diffmode.vim 17158 17159Patch 8.0.0422 17160Problem: Python test fails with Python 3.6. 17161Solution: Convert new exception messages to old ones. (closes #1359) 17162Files: src/testdir/test87.in 17163 17164Patch 8.0.0423 17165Problem: The effect of adding "#" to 'cinoptions' is not always removed. 17166 (David Briscoe) 17167Solution: Reset b_ind_hash_comment. (Christian Brabandt, closes #1475) 17168Files: src/misc1.c, src/Makefile, src/testdir/Make_all.mak, 17169 src/testdir/test_cindent.vim, src/testdir/test3.in 17170 17171Patch 8.0.0424 17172Problem: Compiler warnings on MS-Windows. (Ajit Thakkar) 17173Solution: Add type casts. 17174Files: src/os_win32.c 17175 17176Patch 8.0.0425 17177Problem: Build errors when building without folding. 17178Solution: Add #ifdefs. (John Marriott) 17179Files: src/diff.c, src/edit.c, src/option.c, src/syntax.c 17180 17181Patch 8.0.0426 17182Problem: Insufficient testing for statusline. 17183Solution: Add several tests. (Dominique Pelle, closes #1534) 17184Files: src/testdir/test_statusline.vim 17185 17186Patch 8.0.0427 17187Problem: 'makeencoding' missing from the options window. 17188Solution: Add the entry. 17189Files: runtime/optwin.vim 17190 17191Patch 8.0.0428 17192Problem: Git and hg see new files after running tests. (Manuel Ortega) 17193Solution: Add the generated file to .hgignore (or .gitignore). Delete the 17194 resulting verbose file. (Christian Brabandt) Improve dependency 17195 on opt_test.vim. Reset the 'more' option. 17196Files: .hgignore, src/gen_opt_test.vim, src/testdir/gen_opt_test.vim, 17197 src/Makefile, src/testdir/Make_all.mak, src/testdir/Makefile, 17198 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 17199 Filelist 17200 17201Patch 8.0.0429 17202Problem: Options test does not always test everything. 17203Solution: Fix dependency for opt_test.vim. Give a message when opt_test.vim 17204 was not found. 17205Files: src/testdir/test_options.vim, src/testdir/gen_opt_test.vim, 17206 src/testdir/Makefile, src/testdir/Make_all.mak, 17207 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak 17208 17209Patch 8.0.0430 17210Problem: Options test fails or hangs on MS-Windows. 17211Solution: Run it separately instead of part of test_alot. Use "-S" instead 17212 of "-u" to run the script. Fix failures. 17213Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim, 17214 src/testdir/Makefile, src/testdir/Make_dos.mak, 17215 src/testdir/Make_ming.mak, src/testdir/gen_opt_test.vim 17216 17217Patch 8.0.0431 17218Problem: 'cinoptions' cannot set indent for extern block. 17219Solution: Add the "E" flag in 'cinoptions'. (Hirohito Higashi) 17220Files: runtime/doc/indent.txt, src/misc1.c, src/structs.h, 17221 src/testdir/test_cindent.vim 17222 17223Patch 8.0.0432 17224Problem: "make shadow" creates an invalid link. 17225Solution: Don't link "*.vim". (Kazunobu Kuriyama) 17226Files: src/Makefile 17227 17228Patch 8.0.0433 17229Problem: Quite a few beeps when running tests. 17230Solution: Set 'belloff' for these tests. (Christian Brabandt) 17231Files: src/testdir/test103.in, src/testdir/test14.in, 17232 src/testdir/test29.in, src/testdir/test30.in, 17233 src/testdir/test32.in, src/testdir/test45.in, 17234 src/testdir/test72.in, src/testdir/test73.in, 17235 src/testdir/test77.in, src/testdir/test78.in, 17236 src/testdir/test85.in, src/testdir/test94.in, 17237 src/testdir/test_alot.vim, src/testdir/test_alot_utf8.vim, 17238 src/testdir/test_close_count.in, src/testdir/test_cmdline.vim, 17239 src/testdir/test_diffmode.vim, src/testdir/test_digraph.vim, 17240 src/testdir/test_erasebackword.in, src/testdir/test_normal.vim, 17241 src/testdir/test_packadd.vim, src/testdir/test_search.vim, 17242 src/testdir/test_textobjects.vim, src/testdir/test_undo.vim, 17243 src/testdir/test_usercommands.vim, src/testdir/test_visual.vim 17244 17245Patch 8.0.0434 17246Problem: Clang version not correctly detected. 17247Solution: Adjust the configure script. (Kazunobu Kuriyama) 17248Files: src/configure.ac, src/auto/configure 17249 17250Patch 8.0.0435 17251Problem: Some functions are not tested. 17252Solution: Add more tests for functions. (Dominique Pelle, closes #1541) 17253Files: src/testdir/test_functions.vim 17254 17255Patch 8.0.0436 17256Problem: Running the options test sometimes resizes the terminal. 17257Solution: Clear out t_WS. 17258Files: src/testdir/gen_opt_test.vim 17259 17260Patch 8.0.0437 17261Problem: The packadd test does not create the symlink correctly and does 17262 not test the right thing. 17263Solution: Create the directory and symlink correctly. 17264Files: src/testdir/test_packadd.vim 17265 17266Patch 8.0.0438 17267Problem: The fnamemodify test changes 'shell' in a way later tests may not 17268 be able to use system(). 17269Solution: Save and restore 'shell'. 17270Files: src/testdir/test_fnamemodify.vim 17271 17272Patch 8.0.0439 17273Problem: Using ":%argdel" while the argument list is already empty gives an 17274 error. (Pavol Juhas) 17275Solution: Don't give an error. (closes #1546) 17276Files: src/ex_cmds2.c, src/testdir/test_arglist.vim 17277 17278Patch 8.0.0440 17279Problem: Not enough test coverage in Insert mode. 17280Solution: Add lots of tests. Add test_override(). (Christian Brabandt, 17281 closes #1521) 17282Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/edit.c, 17283 src/evalfunc.c, src/globals.h, src/screen.c, 17284 src/testdir/Make_all.mak, src/testdir/test_cursor_func.vim, 17285 src/testdir/test_edit.vim, src/testdir/test_search.vim, 17286 src/testdir/test_assert.vim, src/Makefile, src/testdir/runtest.vim 17287 17288Patch 8.0.0441 17289Problem: Dead code in #ifdef. 17290Solution: Remove the #ifdef and #else part. 17291Files: src/option.c 17292 17293Patch 8.0.0442 17294Problem: Patch shell command uses double quotes around the argument, which 17295 allows for $HOME to be expanded. (Etienne) 17296Solution: Use single quotes on Unix. (closes #1543) 17297Files: src/diff.c, src/testdir/test_diffmode.vim 17298 17299Patch 8.0.0443 17300Problem: Terminal width is set to 80 in test3. 17301Solution: Instead of setting 'columns' set 'wrapmargin' depending on 17302 'columns. 17303Files: src/testdir/test3.in 17304 17305Patch 8.0.0444 (after 8.0.0442) 17306Problem: Diffpatch fails when the file name has a quote. 17307Solution: Escape the name properly. (zetzei) 17308Files: src/diff.c, src/testdir/test_diffmode.vim 17309 17310Patch 8.0.0445 17311Problem: Getpgid is not supported on all systems. 17312Solution: Add a configure check. 17313Files: src/configure.ac, src/auto/configure, src/config.h.in, 17314 src/os_unix.c 17315 17316Patch 8.0.0446 17317Problem: The ";" command does not work after characters with a lower byte 17318 that is NUL. 17319Solution: Properly check for not having a previous character. (Hirohito 17320 Higashi) 17321Files: src/Makefile, src/search.c, src/testdir/test_alot_utf8.vim, 17322 src/testdir/test_charsearch_utf8.vim 17323 17324Patch 8.0.0447 17325Problem: Getting font name does not work on X11. 17326Solution: Implement gui_mch_get_fontname() for X11. Add more GUI tests. 17327 (Kazunobu Kuriyama) 17328Files: src/gui_x11.c, src/syntax.c, src/testdir/Make_dos.mak, 17329 src/testdir/Make_ming.mak, src/testdir/Makefile, 17330 src/testdir/gui_init.vim, src/testdir/gui_preinit.vim, 17331 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim, 17332 Filelist 17333 17334Patch 8.0.0448 17335Problem: Some macros are in lower case, which can be confusing. 17336Solution: Make a few lower case macros upper case. 17337Files: src/macros.h, src/buffer.c, src/charset.c, src/ops.c, src/diff.c, 17338 src/edit.c, src/evalfunc.c, src/ex_cmds.c, src/ex_getln.c, 17339 src/fileio.c, src/fold.c, src/gui.c, src/gui_beval.c, src/main.c, 17340 src/mark.c, src/misc1.c, src/move.c, src/normal.c, 17341 src/option.c, src/popupmnu.c, src/regexp.c, src/screen.c, 17342 src/search.c, src/spell.c, src/tag.c, src/ui.c, src/undo.c, 17343 src/version.c, src/workshop.c, src/if_perl.xs 17344 17345Patch 8.0.0449 (after 8.0.0448) 17346Problem: Part of fold patch accidentally included. 17347Solution: Revert that part of the patch. 17348Files: src/ex_cmds.c 17349 17350Patch 8.0.0450 17351Problem: v:progpath is not reliably set. 17352Solution: Read /proc/self/exe if possible. (idea by Michal Grochmal) 17353 Also fixes missing #if. 17354Files: src/main.c, src/config.h.in 17355 17356Patch 8.0.0451 17357Problem: Some macros are in lower case. 17358Solution: Make a few more macros upper case. Avoid lower case macros use an 17359 argument twice. 17360Files: src/macros.h, src/charset.c, src/misc2.c, src/proto/misc2.pro, 17361 src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c, 17362 src/ex_docmd.c, src/ex_getln.c, src/fileio.c, src/fold.c, 17363 src/gui.c, src/gui_gtk.c, src/mark.c, src/memline.c, src/mbyte.c, 17364 src/menu.c, src/message.c, src/misc1.c, src/ops.c, src/option.c, 17365 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c, 17366 src/popupmnu.c, src/regexp.c, src/regexp_nfa.c, src/screen.c, 17367 src/search.c, src/spell.c, src/spellfile.c, src/syntax.c, 17368 src/tag.c, src/ui.c, src/undo.c, src/window.c 17369 17370Patch 8.0.0452 17371Problem: Some macros are in lower case. 17372Solution: Make a few more macros upper case. 17373Files: src/vim.h, src/macros.h, src/evalfunc.c, src/fold.c, 17374 src/gui_gtk.c, src/gui_gtk_x11.c, src/charset.c, src/diff.c, 17375 src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c, 17376 src/ex_docmd.c, src/ex_getln.c, src/fileio.c, src/getchar.c, 17377 src/gui.c, src/gui_w32.c, src/if_cscope.c, src/mbyte.c, 17378 src/menu.c, src/message.c, src/misc1.c, src/misc2.c, src/normal.c, 17379 src/ops.c, src/option.c, src/os_unix.c, src/os_win32.c, 17380 src/quickfix.c, src/regexp.c, src/regexp_nfa.c, src/screen.c, 17381 src/search.c, src/spell.c, src/syntax.c, src/tag.c, src/userfunc.c 17382 17383Patch 8.0.0453 17384Problem: Adding fold marker creates new comment. 17385Solution: Use an existing comment if possible. (LemonBoy, closes #1549) 17386Files: src/ops.c, src/proto/ops.pro, src/fold.c, 17387 src/testdir/test_fold.vim 17388 17389Patch 8.0.0454 17390Problem: Compiler warnings for comparing unsigned char with 256 always 17391 being true. (Manuel Ortega) 17392Solution: Add type cast. 17393Files: src/screen.c, src/charset.c 17394 17395Patch 8.0.0455 17396Problem: The mode test may hang in Test_mode(). (Michael Soyka) 17397Solution: Set 'complete' to only search the current buffer (as suggested by 17398 Michael) 17399Files: src/testdir/test_functions.vim 17400 17401Patch 8.0.0456 17402Problem: Typo in MinGW test makefile. 17403Solution: Change an underscore to a dot. (Michael Soyka) 17404Files: src/testdir/Make_ming.mak 17405 17406Patch 8.0.0457 17407Problem: Using :move messes up manual folds. 17408Solution: Split adjusting marks and folds. Add foldMoveRange(). (neovim 17409 patch #6221) 17410Files: src/ex_cmds.c, src/fold.c, src/mark.c, src/proto/fold.pro, 17411 src/proto/mark.pro src/testdir/test_fold.vim 17412 17413Patch 8.0.0458 17414Problem: Potential crash if adding list or dict to dict fails. 17415Solution: Make sure the reference count is correct. (Nikolai Pavlov, closes 17416 #1555) 17417Files: src/dict.c 17418 17419Patch 8.0.0459 (after 8.0.0457) 17420Problem: Old fix for :move messing up folding no longer needed, now that we 17421 have a proper solution. 17422Solution: Revert patch 7.4.700. (Christian Brabandt) 17423Files: src/ex_cmds.c 17424 17425Patch 8.0.0460 (after 8.0.0452) 17426Problem: Can't build on HPUX. 17427Solution: Fix argument names in vim_stat(). (John Marriott) 17428Files: src/misc2.c 17429 17430Patch 8.0.0461 (after 8.0.0457) 17431Problem: Test 45 hangs on MS-Windows. 17432Solution: Reset 'shiftwidth'. Also remove redundant function. 17433Files: src/fold.c, src/testdir/test45.in 17434 17435Patch 8.0.0462 17436Problem: If an MS-Windows tests succeeds at first and then fails in a way 17437 it does not produce a test.out file it looks like the test 17438 succeeded. 17439Solution: Delete the previous output file. 17440Files: src/testdir/Make_dos.mak 17441 17442Patch 8.0.0463 17443Problem: Resetting 'compatible' in defaults.vim has unexpected side 17444 effects. (David Fishburn) 17445Solution: Only reset 'compatible' if it was set. 17446Files: runtime/defaults.vim 17447 17448Patch 8.0.0464 17449Problem: Can't find executable name on Solaris and FreeBSD. 17450Solution: Check for "/proc/self/path/a.out". (Danek Duvall) And for 17451 "/proc/curproc/file". 17452Files: src/config.h.in, src/configure.ac, src/main.c, 17453 src/auto/configure 17454 17455Patch 8.0.0465 17456Problem: Off-by-one error in using :move with folding. 17457Solution: Correct off-by-one mistakes and add more tests. (Matthew 17458 Malcomson) 17459Files: src/fold.c, src/testdir/test_fold.vim 17460 17461Patch 8.0.0466 17462Problem: There are still a few macros that should be all-caps. 17463Solution: Make a few more macros all-caps. 17464Files: src/buffer.c, src/edit.c, src/ex_cmds.c, src/ex_cmds2.c, 17465 src/ex_docmd.c, src/ex_getln.c, src/farsi.c, src/fileio.c, 17466 src/getchar.c, src/gui_beval.c, src/hardcopy.c, src/if_cscope.c, 17467 src/if_xcmdsrv.c, src/mark.c, src/memline.c, src/menu.c, 17468 src/message.c, src/misc1.c, src/normal.c, src/ops.c, src/option.c, 17469 src/quickfix.c, src/screen.c, src/search.c, src/syntax.c, 17470 src/tag.c, src/term.c, src/term.h, src/ui.c, src/undo.c, 17471 src/userfunc.c, src/version.c, src/vim.h 17472 17473Patch 8.0.0467 17474Problem: Using g< after :for does not show the right output. (Marcin 17475 Szamotulski) 17476Solution: Call msg_sb_eol() in :echomsg. 17477Files: src/eval.c 17478 17479Patch 8.0.0468 17480Problem: After aborting an Ex command g< does not work. (Marcin 17481 Szamotulski) 17482Solution: Postpone clearing scrollback messages to until the command line 17483 has been entered. Also fix that the screen isn't redrawn if after 17484 g< the command line is cancelled. 17485Files: src/message.c, src/proto/message.pro, src/ex_getln.c, src/misc2.c, 17486 src/gui.c 17487 17488Patch 8.0.0469 17489Problem: Compiler warnings on MS-Windows. 17490Solution: Add type casts. (Christian Brabandt) 17491Files: src/fold.c 17492 17493Patch 8.0.0470 17494Problem: Not enough testing for help commands. 17495Solution: Add a few more help tests. (Dominique Pelle, closes #1565) 17496Files: src/testdir/test_help.vim, src/testdir/test_help_tagjump.vim 17497 17498Patch 8.0.0471 17499Problem: Exit callback test sometimes fails. 17500Solution: Add it to the list of flaky tests. 17501Files: src/testdir/runtest.vim 17502 17503Patch 8.0.0472 17504Problem: When a test fails and test.log is created, Test_edit_CTRL_I 17505 matches it instead of test1.in. 17506Solution: Match with runtest.vim instead. 17507Files: src/testdir/test_edit.vim 17508 17509Patch 8.0.0473 17510Problem: No test covering arg_all(). 17511Solution: Add a test expanding ##. 17512Files: src/testdir/test_arglist.vim 17513 17514Patch 8.0.0474 17515Problem: The client-server feature is not tested. 17516Solution: Add a test. 17517Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/shared.vim, 17518 src/testdir/test_clientserver.vim, src/os_mswin.c 17519 17520Patch 8.0.0475 17521Problem: Not enough testing for the client-server feature. 17522Solution: Add more tests. Add the remote_startserver() function. Fix that 17523 a locally evaluated expression uses function-local variables. 17524Files: src/if_xcmdsrv.c, src/evalfunc.c, src/os_mswin.c, 17525 src/proto/main.pro, src/testdir/test_clientserver.vim, 17526 runtime/doc/eval.txt 17527 17528Patch 8.0.0476 (after 8.0.0475) 17529Problem: Missing change to main.c. 17530Solution: Add new function. 17531Files: src/main.c 17532 17533Patch 8.0.0477 17534Problem: The client-server test may hang when failing. 17535Solution: Set a timer. Add assert_report() 17536Files: src/testdir/test_clientserver.vim, src/testdir/runtest.vim, 17537 src/eval.c, src/evalfunc.c, src/proto/eval.pro, src/if_xcmdsrv.c, 17538 src/os_mswin.c, runtime/doc/eval.txt 17539 17540Patch 8.0.0478 17541Problem: Tests use assert_true(0) and assert_false(1) to report errors. 17542Solution: Use assert_report(). 17543Files: src/testdir/test_cscope.vim, src/testdir/test_expr.vim, 17544 src/testdir/test_perl.vim, src/testdir/test_channel.vim, 17545 src/testdir/test_cursor_func.vim, src/testdir/test_gui.vim, 17546 src/testdir/test_menu.vim, src/testdir/test_popup.vim, 17547 src/testdir/test_viminfo.vim, src/testdir/test_vimscript.vim, 17548 src/testdir/test_assert.vim 17549 17550Patch 8.0.0479 17551Problem: remote_peek() is not tested. 17552Solution: Add a test. 17553Files: src/testdir/test_clientserver.vim, src/testdir/runtest.vim 17554 17555Patch 8.0.0480 17556Problem: The remote_peek() test fails on MS-Windows. 17557Solution: Check for pending messages. Also report errors in the first run if 17558 a flaky test fails twice. 17559Files: src/os_mswin.c, src/testdir/runtest.vim 17560 17561Patch 8.0.0481 17562Problem: Unnecessary if statement. 17563Solution: Remove the statement. Fix "it's" vs "its" mistakes. (Dominique 17564 Pelle, closes #1568) 17565Files: src/syntax.c 17566 17567Patch 8.0.0482 17568Problem: The setbufvar() function may mess up the window layout. (Kay Z.) 17569Solution: Do not check the window to be valid if it is NULL. 17570Files: src/window.c, src/testdir/test_functions.vim 17571 17572Patch 8.0.0483 17573Problem: Illegal memory access when using :all. (Dominique Pelle) 17574Solution: Adjust the cursor position right after setting "curwin". 17575Files: src/window.c, src/testdir/test_window_cmd.vim 17576 17577Patch 8.0.0484 17578Problem: Using :lhelpgrep with an argument that should fail does not 17579 produce an error if the previous :helpgrep worked. 17580Solution: Use another way to detect that autocommands made the quickfix info 17581 invalid. (Yegappan Lakshmanan) 17582Files: src/quickfix.c, src/testdir/test_quickfix.vim 17583 17584Patch 8.0.0485 17585Problem: Not all windows commands are tested. 17586Solution: Add more tests for windows commands. (Dominique Pelle, 17587 closes #1575) Run test_autocmd separately, it interferes with 17588 other tests. Fix tests that depended on side effects. 17589Files: src/testdir/test_window_cmd.vim, src/testdir/test_alot.vim, 17590 src/testdir/test_autocmd.vim, src/testdir/test_fnamemodify.vim, 17591 src/testdir/test_functions.vim, src/testdir/test_delete.vim, 17592 src/testdir/Make_all.mak 17593 17594Patch 8.0.0486 17595Problem: Crash and endless loop when closing windows in a SessionLoadPost 17596 autocommand. 17597Solution: Check for valid tabpage. (partly neovim #6308) 17598Files: src/testdir/test_autocmd.vim, src/fileio.c, src/proto/window.pro, 17599 src/window.c 17600 17601Patch 8.0.0487 17602Problem: The autocmd test hangs on MS-Windows. 17603Solution: Skip the hanging tests for now. 17604Files: src/testdir/test_autocmd.vim 17605 17606Patch 8.0.0488 17607Problem: Running tests leaves an "xxx" file behind. 17608Solution: Delete the 'verbosefile' after resetting the option. 17609Files: src/testdir/gen_opt_test.vim 17610 17611Patch 8.0.0489 17612Problem: Clipboard and "* register is not tested. 17613Solution: Add a test for Mac and X11. (Kazunobu Kuriyama) 17614Files: src/Makefile, src/testdir/Make_all.mak, 17615 src/testdir/test_quotestar.vim, src/testdir/runtest.vim 17616 17617Patch 8.0.0490 17618Problem: Splitting a 'winfixwidth' window vertically makes it one column 17619 smaller. (Dominique Pelle) 17620Solution: Add one to the width for the separator. 17621Files: src/window.c, src/testdir/test_window_cmd.vim 17622 17623Patch 8.0.0491 17624Problem: The quotestar test fails when a required feature is missing. 17625Solution: Prepend "Skipped" to the thrown exception. 17626Files: src/testdir/test_quotestar.vim 17627 17628Patch 8.0.0492 17629Problem: A failing client-server request can make Vim hang. 17630Solution: Add a timeout argument to functions that wait. 17631Files: src/evalfunc.c, src/if_xcmdsrv.c, src/proto/if_xcmdsrv.pro, 17632 src/main.c, src/os_mswin.c, src/proto/os_mswin.pro, 17633 src/vim.h, runtime/doc/eval.txt, src/testdir/test_clientserver.vim 17634 17635Patch 8.0.0493 17636Problem: Crash with cd command with very long argument. 17637Solution: Check for running out of space. (Dominique Pelle, closes #1576) 17638Files: src/testdir/test_alot.vim, src/testdir/test_cd.vim, src/Makefile, 17639 src/misc2.c 17640 17641Patch 8.0.0494 17642Problem: Build failure with older compiler on MS-Windows. 17643Solution: Move declaration to start of block. 17644Files: src/evalfunc.c, src/main.c, src/os_mswin.c 17645 17646Patch 8.0.0495 17647Problem: The quotestar test uses a timer instead of a timeout, thus it 17648 cannot be rerun like a flaky test. 17649Solution: Remove the timer and add a timeout. (Kazunobu Kuriyama) 17650Files: src/testdir/test_quotestar.vim 17651 17652Patch 8.0.0496 17653Problem: Insufficient testing for folding. 17654Solution: Add a couple more fold tests. (Dominique Pelle, closes #1579) 17655Files: src/testdir/test_fold.vim 17656 17657Patch 8.0.0497 17658Problem: Arabic support is not fully tested. 17659Solution: Add more tests for the untested functions. Comment out 17660 unreachable code. 17661Files: src/arabic.c, src/testdir/test_arabic.vim 17662 17663Patch 8.0.0498 17664Problem: Two autocmd tests are skipped on MS-Windows. 17665Solution: Make the test pass on MS-Windows. Write the messages in a file 17666 instead of getting the output of system(). 17667Files: src/testdir/test_autocmd.vim 17668 17669Patch 8.0.0499 17670Problem: taglist() does not prioritize tags for a buffer. 17671Solution: Add an optional buffer argument. (Duncan McDougall, closes #1194) 17672Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/tag.pro, 17673 src/Makefile, src/tag.c, src/testdir/test_alot.vim, 17674 src/testdir/test_taglist.vim 17675 17676Patch 8.0.0500 17677Problem: Quotestar test is still a bit flaky. 17678Solution: Add a slower check for v:version. 17679Files: src/testdir/test_quotestar.vim 17680 17681Patch 8.0.0501 17682Problem: On MS-Windows ":!start" does not work as expected. 17683Solution: When creating a process fails try passing the argument to 17684 ShellExecute(). (Katsuya Hino, closes #1570) 17685Files: runtime/doc/os_win32.txt, src/os_win32.c 17686 17687Patch 8.0.0502 17688Problem: Coverity complains about possible NULL pointer. 17689Solution: Add an assert(), let's see if this works on all systems. 17690Files: src/window.c 17691 17692Patch 8.0.0503 17693Problem: Endless loop in updating folds with 32 bit ints. 17694Solution: Subtract from LHS instead of add to the RHS. (Matthew Malcomson) 17695Files: src/fold.c 17696 17697Patch 8.0.0504 17698Problem: Looking up an Ex command is a bit slow. 17699Solution: Instead of just using the first letter, also use the second letter 17700 to skip ahead in the list of commands. Generate the table with a 17701 Perl script. (Dominique Pelle, closes #1589) 17702Files: src/Makefile, src/create_cmdidxs.pl, src/ex_docmd.c, Filelist 17703 17704Patch 8.0.0505 17705Problem: Failed window split for :stag not handled. (Coverity CID 99204) 17706Solution: If the split fails skip to the end. (bstaletic, closes #1577) 17707Files: src/tag.c 17708 17709Patch 8.0.0506 (after 8.0.0504) 17710Problem: Can't build with ANSI C. 17711Solution: Move declarations to start of block. 17712Files: src/ex_docmd.c 17713 17714Patch 8.0.0507 17715Problem: Client-server tests fail when $DISPLAY is not set. 17716Solution: Check for E240 before running the test. 17717Files: src/testdir/test_quotestar.vim, src/testdir/test_clientserver.vim 17718 17719Patch 8.0.0508 17720Problem: Coveralls no longer shows per-file coverage. 17721Solution: Add coverage from codecov.io. (Christian Brabandt) 17722Files: .travis.yml 17723 17724Patch 8.0.0509 17725Problem: No link to codecov.io results. 17726Solution: Add a badge to the readme file. 17727Files: README.md 17728 17729Patch 8.0.0510 (after 8.0.0509) 17730Problem: Typo in link to codecov.io results. 17731Solution: Remove duplicate https:. 17732Files: README.md 17733 17734Patch 8.0.0511 17735Problem: Message for skipping client-server tests is unclear. 17736Solution: Be more specific about what's missing (Hirohito Higashi, Kazunobu 17737 Kuriyama) 17738Files: src/testdir/test_quotestar.vim, src/testdir/test_clientserver.vim 17739 17740Patch 8.0.0512 17741Problem: Check for available characters takes too long. 17742Solution: Only check did_start_blocking if wtime is negative. (Daisuke 17743 Suzuki, closes #1591) 17744Files: src/os_unix.c 17745 17746Patch 8.0.0513 (after 8.0.0201) 17747Problem: Getting name of cleared highlight group is wrong. (Matt Wozniski) 17748Solution: Only skip over cleared names for completion. (closes #1592) 17749 Also fix that a cleared group causes duplicate completions. 17750Files: src/syntax.c, src/proto/syntax.pro, src/evalfunc.c, 17751 src/ex_cmds.c, src/testdir/test_syntax.vim, 17752 src/testdir/test_cmdline.vim 17753 17754Patch 8.0.0514 17755Problem: Script for creating cmdidxs can be improved. 17756Solution: Count skipped lines instead of collecting the lines. Add "const". 17757 (Dominique Pelle, closes #1594) 17758Files: src/create_cmdidxs.pl, src/ex_docmd.c 17759 17760Patch 8.0.0515 17761Problem: ml_get errors in silent Ex mode. (Dominique Pelle) 17762Solution: Clear valid flags when setting the cursor. Set the topline when 17763 not in full screen mode. 17764Files: src/ex_docmd.c, src/move.c, src/testdir/test_startup.vim 17765 17766Patch 8.0.0516 17767Problem: A large count on a normal command causes trouble. (Dominique 17768 Pelle) 17769Solution: Make "opcount" long. 17770Files: src/globals.h, src/testdir/test_normal.vim 17771 17772Patch 8.0.0517 17773Problem: There is no way to remove quickfix lists (for testing). 17774Solution: Add the 'f' action to setqflist(). Add tests. (Yegappan 17775 Lakshmanan) 17776Files: runtime/doc/eval.txt, src/evalfunc.c, src/quickfix.c, 17777 src/testdir/test_quickfix.vim 17778 17779Patch 8.0.0518 17780Problem: Storing a zero byte from a multi-byte character causes fold text 17781 to show up wrong. 17782Solution: Avoid putting zero in ScreenLines. (Christian Brabandt, 17783 closes #1567) 17784Files: src/screen.c, src/testdir/test_display.vim 17785 17786Patch 8.0.0519 17787Problem: Character classes are not well tested. They can differ between 17788 platforms. 17789Solution: Add tests. In the documentation make clear which classes depend 17790 on what library function. Only use :cntrl: and :graph: for ASCII. 17791 (Kazunobu Kuriyama, Dominique Pelle, closes #1560) 17792 Update the documentation. 17793Files: src/regexp.c, src/regexp_nfa.c, runtime/doc/pattern.txt, 17794 src/testdir/test_regexp_utf8.vim 17795 17796Patch 8.0.0520 17797Problem: Using a function pointer instead of the actual function, which we 17798 know. 17799Solution: Change mb_ functions to utf_ functions when already checked for 17800 Unicode. (Dominique Pelle, closes #1582) 17801Files: src/message.c, src/misc2.c, src/regexp.c, src/regexp_nfa.c, 17802 src/screen.c, src/spell.c 17803 17804Patch 8.0.0521 17805Problem: GtkForm handling is outdated. 17806Solution: Get rid of event filter functions. Get rid of GtkForm.width and 17807 .height. Eliminate gtk_widget_size_request() calls. (Kazunobu 17808 Kuriyama) 17809Files: src/gui_gtk_f.c, src/gui_gtk_f.h 17810 17811Patch 8.0.0522 17812Problem: MS-Windows: when 'clipboard' is "unnamed" yyp does not work in a 17813 :global command. 17814Solution: When setting the clipboard was postponed, do not clear the 17815 register. 17816Files: src/ops.c, src/proto/ui.pro, src/ui.c, src/globals.h, 17817 src/testdir/test_global.vim, src/Makefile, 17818 src/testdir/test_alot.vim 17819 17820Patch 8.0.0523 17821Problem: dv} deletes part of a multi-byte character. (Urtica Dioica) 17822Solution: Include the whole character. 17823Files: src/search.c, src/testdir/test_normal.vim 17824 17825Patch 8.0.0524 (after 8.0.0518) 17826Problem: Folds are messed up when 'encoding' is "utf-8". 17827Solution: Also set the fold character when it's not multi-byte. 17828Files: src/screen.c, src/testdir/test_display.vim 17829 17830Patch 8.0.0525 17831Solution: Completion for user command argument not tested. 17832Problem: Add a test. 17833Files: src/testdir/test_cmdline.vim 17834 17835Patch 8.0.0526 17836Problem: Coverity complains about possible negative value. 17837Solution: Check return value of ftell() not to be negative. 17838Files: src/os_unix.c 17839 17840Patch 8.0.0527 17841Problem: RISC OS support was removed long ago, but one file is still 17842 included. 17843Solution: Delete the file. (Thomas Dziedzic, closes #1603) 17844Files: Filelist, src/swis.s 17845 17846Patch 8.0.0528 17847Problem: When 'wildmenu' is set and 'wildmode' has "longest" then the first 17848 file name is highlighted, even though the text shows the longest 17849 match. 17850Solution: Do not highlight the first match. (LemonBoy, closes #1602) 17851Files: src/ex_getln.c 17852 17853Patch 8.0.0529 17854Problem: Line in test commented out. 17855Solution: Uncomment the lines for character classes that were failing before 17856 8.0.0519. (Dominique Pelle, closes #1599) 17857Files: src/testdir/test_regexp_utf8.vim 17858 17859Patch 8.0.0530 17860Problem: Buffer overflow when 'columns' is very big. (Nikolai Pavlov) 17861Solution: Correctly compute where to truncate. Fix translation. 17862 (closes #1600) 17863Files: src/edit.c, src/testdir/test_edit.vim 17864 17865Patch 8.0.0531 (after 8.0.0530) 17866Problem: Test with long directory name fails on non-unix systems. 17867Solution: Skip the test on non-unix systems. 17868Files: src/testdir/test_edit.vim 17869 17870Patch 8.0.0532 (after 8.0.0531) 17871Problem: Test with long directory name fails on Mac. 17872Solution: Skip the test on Mac systems. 17873Files: src/testdir/test_edit.vim 17874 17875Patch 8.0.0533 17876Problem: Abbreviation doesn't work after backspacing newline. (Hkonrk) 17877Solution: Set the insert start column. (closes #1609) 17878Files: src/testdir/test_mapping.vim, src/edit.c 17879 17880Patch 8.0.0534 17881Problem: Defaults.vim does not work well with tiny features. (crd477) 17882Solution: When the +eval feature is not available always reset 'compatible'. 17883Files: runtime/defaults.vim 17884 17885Patch 8.0.0535 17886Problem: Memory leak when exiting from within a user function. 17887Solution: Clear the function call stack on exit. 17888Files: src/userfunc.c 17889 17890Patch 8.0.0536 17891Problem: Quickfix window not updated when freeing quickfix stack. 17892Solution: Update the quickfix window. (Yegappan Lakshmanan) 17893Files: src/quickfix.c, src/testdir/test_quickfix.vim 17894 17895Patch 8.0.0537 17896Problem: Illegal memory access with :z and large count. 17897Solution: Check for number overflow, using long instead of int. (Dominique 17898 Pelle, closes #1612) 17899Files: src/Makefile, src/ex_cmds.c, src/testdir/test_alot.vim, 17900 src/testdir/test_ex_z.vim 17901 17902Patch 8.0.0538 17903Problem: No test for falling back to default term value. 17904Solution: Add a test. 17905Files: src/testdir/test_startup.vim 17906 17907Patch 8.0.0539 (after 8.0.0538) 17908Problem: Startup test fails on Mac. 17909Solution: Use another term name, "unknown" is known. Avoid a 2 second delay. 17910Files: src/testdir/test_startup.vim, src/main.c, src/proto/main.pro, 17911 src/term.c 17912 17913Patch 8.0.0540 (after 8.0.0540) 17914Problem: Building unit tests fails. 17915Solution: Move params outside of #ifdef. 17916Files: src/main.c, src/message_test.c 17917 17918Patch 8.0.0541 17919Problem: Compiler warning on MS-Windows. 17920Solution: Add a type cast. (Mike Williams) 17921Files: src/edit.c 17922 17923Patch 8.0.0542 17924Problem: getpos() can return a negative line number. (haya14busa) 17925Solution: Handle a zero topline and botline. (closes #1613) 17926Files: src/eval.c, runtime/doc/eval.txt 17927 17928Patch 8.0.0543 17929Problem: Test_edit causes older xfce4-terminal to close. (Dominique Pelle) 17930Solution: Reduce number of columns to 2000. Try to restore the window 17931 position. 17932Files: src/testdir/test_edit.vim, src/evalfunc.c, src/term.c, 17933 src/proto/term.pro, src/term.h 17934 17935Patch 8.0.0544 17936Problem: Cppcheck warnings. 17937Solution: Use temp variable. Change NUL to NULL. Swap conditions. (Dominique 17938 Pelle) 17939Files: src/channel.c, src/edit.c, src/farsi.c 17940 17941Patch 8.0.0545 17942Problem: Edit test may fail on some systems. 17943Solution: If creating a directory with a very long path fails, bail out. 17944Files: src/testdir/test_edit.vim 17945 17946Patch 8.0.0546 17947Problem: Swap file exists briefly when opening the command window. 17948Solution: Set the noswapfile command modifier before splitting the window. 17949 (James McCoy, closes #1620) 17950Files: src/ex_getln.c, src/option.c 17951 17952Patch 8.0.0547 17953Problem: Extra line break in verbosefile when using ":echomsg". (Ingo 17954 Karkat) 17955Solution: Don't call msg_start(). (closes #1618) 17956Files: src/eval.c, src/testdir/test_cmdline.vim 17957 17958Patch 8.0.0548 17959Problem: Saving the redo buffer only works one time, resulting in the "." 17960 command not working well for a function call inside another 17961 function call. (Ingo Karkat) 17962Solution: Save the redo buffer at every user function call. (closes #1619) 17963Files: src/getchar.c, src/proto/getchar.pro, src/structs.h, 17964 src/fileio.c, src/userfunc.c, src/testdir/test_functions.vim 17965 17966Patch 8.0.0549 17967Problem: No test for the 8g8 command. 17968Solution: Add a test. (Dominique Pelle, closes #1615) 17969Files: src/testdir/test_normal.vim 17970 17971Patch 8.0.0550 17972Problem: Some etags format tags file use 0x01, breaking the parsing. 17973Solution: Use 0x02 for TAG_SEP. (James McCoy, closes #1614) 17974Files: src/tag.c, src/testdir/test_taglist.vim 17975 17976Patch 8.0.0551 17977Problem: The typeahead buffer is reallocated too often. 17978Solution: Re-use the existing buffer if possible. 17979Files: src/getchar.c 17980 17981Patch 8.0.0552 17982Problem: Toupper and tolower don't work properly for Turkish when 'casemap' 17983 is empty. (Bjorn Linse) 17984Solution: Check the 'casemap' options when deciding how to upper/lower case. 17985Files: src/charset.c, src/testdir/test_normal.vim 17986 17987Patch 8.0.0553 (after 8.0.0552) 17988Problem: Toupper/tolower test with Turkish locale fails on Mac. 17989Solution: Skip the test on Mac. 17990Files: src/testdir/test_normal.vim 17991 17992Patch 8.0.0554 (after 8.0.0552) 17993Problem: Toupper and tolower don't work properly for Turkish when 'casemap' 17994 contains "keepascii". (Bjorn Linse) 17995Solution: When 'casemap' contains "keepascii" use ASCII toupper/tolower. 17996Files: src/charset.c, src/testdir/test_normal.vim 17997 17998Patch 8.0.0555 (after 8.0.0552) 17999Problem: Toupper/tolower test fails on OSX without Darwin. 18000Solution: Skip that part of the test also for OSX. (Kazunobu Kuriyama) 18001Files: src/testdir/test_normal.vim 18002 18003Patch 8.0.0556 18004Problem: Getting the window position fails if both the GUI and term 18005 code is built in. 18006Solution: Return after getting the GUI window position. (Kazunobu Kuriyama) 18007Files: src/evalfunc.c 18008 18009Patch 8.0.0557 18010Problem: GTK: using static gravities is not useful. 18011Solution: Remove setting static gravities. (Kazunobu Kuriyama) 18012Files: src/gui_gtk_f.c 18013 18014Patch 8.0.0558 18015Problem: The :ownsyntax command is not tested. 18016Solution: Add a test. (Dominique Pelle, closes #1622) 18017Files: src/testdir/test_syntax.vim 18018 18019Patch 8.0.0559 18020Problem: Setting 'ttytype' to xxx does not always fail as expected. (Marvin 18021 Schmidt) 18022Solution: Catch both possible errors. (closes #1601) 18023Files: src/testdir/test_options.vim 18024 18025Patch 8.0.0560 18026Problem: :windo allows for ! but it's not supported. 18027Solution: Disallow passing !. (Hirohito Higashi) 18028Files: src/ex_cmds.h 18029 18030Patch 8.0.0561 18031Problem: Undefined behavior when using backslash after empty line. 18032Solution: Check for an empty line. (Dominique Pelle, closes #1631) 18033Files: src/misc2.c, src/testdir/test_vimscript.vim 18034 18035Patch 8.0.0562 18036Problem: Not enough test coverage for syntax commands. 18037Solution: Add a few more tests. (Dominique Pelle, closes #1624) 18038Files: src/testdir/test_cmdline.vim, src/testdir/test_syntax.vim 18039 18040Patch 8.0.0563 18041Problem: Crash when getting the window position in tmux. (Marvin Schmidt) 18042Solution: Add t_GP to the list of terminal options. (closes #1627) 18043Files: src/option.c 18044 18045Patch 8.0.0564 18046Problem: Cannot detect Bazel BUILD files on some systems. 18047Solution: Check for BUILD after script checks. (Issue #1340) 18048Files: runtime/filetype.vim 18049 18050Patch 8.0.0565 18051Problem: Using freed memory in :caddbuf after clearing quickfix list. 18052 (Dominique Pelle) 18053Solution: Set qf_last to NULL. 18054Files: src/quickfix.c 18055 18056Patch 8.0.0566 18057Problem: Setting 'nocompatible' for the tiny version moves the cursor. 18058Solution: Use another trick to skip commands when the +eval feature is 18059 present. (Christian Brabandt, closes #1630) 18060Files: runtime/defaults.vim 18061 18062Patch 8.0.0567 18063Problem: Call for requesting color and ambiwidth is too early. (Hirohito 18064 Higashi) 18065Solution: Move the call down to below resetting "starting". 18066Files: src/main.c 18067 18068Patch 8.0.0568 18069Problem: "1gd" may hang. 18070Solution: Don't get stuck in one position. (Christian Brabandt, closes #1643) 18071Files: src/testdir/test_goto.vim, src/normal.c 18072 18073Patch 8.0.0569 18074Problem: Bracketed paste is still enabled when executing a shell command. 18075 (Michael Smith) 18076Solution: Disable bracketed paste when going into cooked mode. (closes #1638) 18077Files: src/term.c 18078 18079Patch 8.0.0570 18080Problem: Can't run make with several jobs, creating directories has a race 18081 condition. 18082Solution: Use the MKDIR_P autoconf mechanism. (Eric N. Vander Weele, 18083 closes #1639) 18084Files: src/configure.ac, src/auto/configure, src/Makefile, 18085 src/config.mk.in, src/install-sh, src/mkinstalldirs, Filelist 18086 18087Patch 8.0.0571 18088Problem: The cursor line number becomes negative when using :z^ in an empty 18089 buffer. (neovim #6557) 18090Solution: Correct the line number. Also reset the column. 18091Files: src/testdir/test_ex_z.vim, src/ex_cmds.c 18092 18093Patch 8.0.0572 18094Problem: Building the command table requires Perl. 18095Solution: Use a Vim script solution. (Dominique Pelle, closes #1641) 18096Files: src/Makefile, src/create_cmdidxs.pl, src/create_cmdidxs.vim, 18097 src/ex_cmdidxs.h, src/ex_docmd.c, Filelist 18098 18099Patch 8.0.0573 18100Problem: Running parallel make after distclean fails. (Manuel Ortega) 18101Solution: Instead of using targets "scratch config myself" use "reconfig". 18102Files: src/Makefile, src/config.mk.dist 18103 18104Patch 8.0.0574 18105Problem: Get only one quickfix list after :caddbuf. 18106Solution: Reset qf_multiline. (Yegappan Lakshmanan) 18107Files: src/quickfix.c, src/testdir/test_quickfix.vim 18108 18109Patch 8.0.0575 18110Problem: Using freed memory when resetting 'indentexpr' while evaluating 18111 it. (Dominique Pelle) 18112Solution: Make a copy of 'indentexpr'. 18113Files: src/misc1.c, src/testdir/test_options.vim 18114 18115Patch 8.0.0576 (after 8.0.0570 and 8.0.0573) 18116Problem: Can't build when configure chooses "install-sh". (Daniel Hahler) 18117Solution: Always use install-sh. Fix remaining use of mkinstalldirs. 18118 (closes #1647) 18119Files: src/installman.sh, src/installml.sh, src/config.mk.in, 18120 src/configure.ac, src/auto/configure, src/Makefile 18121 18122Patch 8.0.0577 (after 8.0.0575) 18123Problem: Warning for uninitialized variable. (John Marriott) 18124Solution: Initialize "indent". 18125Files: src/misc1.c 18126 18127Patch 8.0.0578 18128Problem: :simalt on MS-Windows does not work properly. 18129Solution: Put something in the typeahead buffer. (Christian Brabandt) 18130Files: src/gui_w32.c 18131 18132Patch 8.0.0579 18133Problem: Duplicate test case for quickfix. 18134Solution: Remove the function. (Yegappan Lakshmanan) 18135Files: src/testdir/test_quickfix.vim 18136 18137Patch 8.0.0580 18138Problem: Cannot set the valid flag with setqflist(). 18139Solution: Add the "valid" argument. (Yegappan Lakshmanan, closes #1642) 18140Files: runtime/doc/eval.txt, src/quickfix.c, 18141 src/testdir/test_quickfix.vim 18142 18143Patch 8.0.0581 18144Problem: Moving folded text is sometimes not correct. 18145Solution: Bail out when "move_end" is zero. (Matthew Malcomson) 18146Files: src/fold.c, src/testdir/test_fold.vim 18147 18148Patch 8.0.0582 18149Problem: Illegal memory access with z= command. (Dominique Pelle) 18150Solution: Avoid case folded text to be longer than the original text. Use 18151 MB_PTR2LEN() instead of MB_BYTE2LEN(). 18152Files: src/spell.c, src/testdir/test_spell.vim 18153 18154Patch 8.0.0583 18155Problem: Fold test hangs on MS-Windows. 18156Solution: Avoid overflow in compare. 18157Files: src/fold.c 18158 18159Patch 8.0.0584 18160Problem: Memory leak when executing quickfix tests. 18161Solution: Free the list reference. (Yegappan Lakshmanan) 18162Files: src/quickfix.c 18163 18164Patch 8.0.0585 18165Problem: Test_options fails when run in the GUI. 18166Solution: Also check the 'imactivatekey' value when the GUI is not running. 18167 Specify test values that work and that fail. 18168Files: src/option.c, src/testdir/gen_opt_test.vim 18169 18170Patch 8.0.0586 18171Problem: No test for mapping timing out. 18172Solution: Add a test. 18173Files: src/testdir/test_mapping.vim 18174 18175Patch 8.0.0587 18176Problem: Configure check for return value of tgetent is skipped. 18177Solution: Always perform the check. (Marvin Schmidt, closes #1664) 18178Files: src/configure.ac, src/auto/configure 18179 18180Patch 8.0.0588 18181Problem: job_stop() often assumes the channel will be closed, while the job 18182 may not actually be stopped. (Martin Gammelsæter) 18183Solution: Only assume the job stops on "kill". Don't send a signal if the 18184 job has already ended. (closes #1632) 18185Files: src/channel.c 18186 18187Patch 8.0.0589 (after 8.0.0578) 18188Problem: :simalt still does not work. 18189Solution: Use K_NOP instead of K_IGNORE. (Christian Brabandt) 18190Files: src/gui_w32.c 18191 18192Patch 8.0.0590 18193Problem: Cannot add a context to locations. 18194Solution: Add the "context" entry in location entries. (Yegappan Lakshmanan, 18195 closes #1012) 18196Files: src/eval.c, src/proto/quickfix.pro, src/quickfix.c, 18197 src/testdir/test_quickfix.vim 18198 18199Patch 8.0.0591 18200Problem: Changes to eval functionality not documented. 18201Solution: Include all the changes. 18202Files: runtime/doc/eval.txt 18203 18204Patch 8.0.0592 18205Problem: If a job writes to a buffer and the user is typing a command, the 18206 screen isn't updated. When a message is displayed the changed 18207 buffer may cause it to be cleared. (Ramel Eshed) 18208Solution: Update the screen and then the command line if the screen didn't 18209 scroll. Avoid inserting screen lines, as it clears any message. 18210 Update the status line when the buffer changed. 18211Files: src/channel.c, src/screen.c, src/ex_getln.c, src/globals.h, 18212 src/vim.h, src/proto/ex_getln.pro, src/proto/screen.pro 18213 18214Patch 8.0.0593 18215Problem: Duplication of code for adding a list or dict return value. 18216Solution: Add rettv_dict_set() and rettv_list_set(). (Yegappan Lakshmanan) 18217Files: src/dict.c, src/eval.c, src/evalfunc.c, src/if_perl.xs, src/list.c, 18218 src/proto/dict.pro, src/proto/list.pro 18219 18220Patch 8.0.0594 (after 8.0.0592) 18221Problem: Build failure when windows feature is missing. 18222Solution: Add #ifdef. 18223Files: src/screen.c 18224 18225Patch 8.0.0595 (after 8.0.0590) 18226Problem: Coverity warning for not checking return value of dict_add(). 18227Solution: Check the return value for FAIL. 18228Files: src/quickfix.c 18229 18230Patch 8.0.0596 18231Problem: Crash when complete() is called after complete_add() in 18232 'completefunc'. (Lifepillar) 18233Solution: Bail out if compl_pattern is NULL. (closes #1668) 18234 Also avoid using freed memory. 18235Files: src/edit.c, src/testdir/test_popup.vim 18236 18237Patch 8.0.0597 18238Problem: Off-by-one error in buffer size computation. 18239Solution: Use ">=" instead of ">". (LemonBoy, closes #1694) 18240Files: src/quickfix.c 18241 18242Patch 8.0.0598 18243Problem: Building with gcc 7.1 yields new warnings. 18244Solution: Initialize result. (John Marriott) 18245Files: src/ex_docmd.c 18246 18247Patch 8.0.0599 18248Problem: diff mode is insufficiently tested 18249Solution: Add more test cases. (Dominique Pelle, closes #1685) 18250Files: src/diff.c, src/testdir/test_diffmode.vim 18251 18252Patch 8.0.0600 18253Problem: test_recover fails on some systems. 18254Solution: Explicitly check if "/" is writable. (Ken Takata) 18255Files: src/testdir/test_recover.vim 18256 18257Patch 8.0.0601 18258Problem: No test coverage for :spellrepall. 18259Solution: Add a test. (Dominique Pelle, closes #1717) 18260Files: src/testdir/test_spell.vim 18261 18262Patch 8.0.0602 18263Problem: When gF fails to edit the file the cursor still moves to the found 18264 line number. 18265Solution: Check the return value of do_ecmd(). (Michael Hwang) 18266Files: src/normal.c, src/testdir/test_gf.vim 18267 18268Patch 8.0.0603 (after 8.0.0602) 18269Problem: gF test fails on MS-Windows. 18270Solution: Use @ instead of : before the line number 18271Files: src/testdir/test_gf.vim 18272 18273Patch 8.0.0604 (after 8.0.0603) 18274Problem: gF test still fails on MS-Windows. 18275Solution: Use : before the line number and remove it from 'isfname'. 18276Files: src/testdir/test_gf.vim 18277 18278Patch 8.0.0605 18279Problem: The buffer that quickfix caches for performance may become 18280 invalid. (Daniel Hahler) 18281Solution: Reset qf_last_bufref in qf_init_ext(). (Daniel Hahler, 18282 closes #1728, closes #1676) 18283Files: src/quickfix.c 18284 18285Patch 8.0.0606 18286Problem: Cannot set the context for a specified quickfix list. 18287Solution: Use the list index instead of the current list. (Yegappan 18288 Lakshmanan) 18289Files: src/quickfix.c, src/testdir/test_quickfix.vim 18290 18291Patch 8.0.0607 18292Problem: When creating a bufref, then using :bwipe and :new it might get 18293 the same memory and bufref_valid() returns true. 18294Solution: Add br_fnum to check the buffer number didn't change. 18295Files: src/structs.h, src/buffer.c, src/globals.h, src/if_py_both.h, 18296 src/quickfix.c 18297 18298Patch 8.0.0608 18299Problem: Cannot manipulate other than the current quickfix list. 18300Solution: Pass the list index to quickfix functions. (Yegappan Lakshmanan) 18301Files: src/quickfix.c 18302 18303Patch 8.0.0609 18304Problem: For some people the hint about quitting is not sufficient. 18305Solution: Put <Enter> separately. Also use ":qa!" to get out even when 18306 there are changes. 18307Files: src/normal.c 18308 18309Patch 8.0.0610 18310Problem: The screen is redrawn when t_BG is set and used to detect the 18311 value for 'background'. 18312Solution: Don't redraw when the value of 'background' didn't change. 18313Files: src/term.c 18314 18315Patch 8.0.0611 18316Problem: When t_u7 is sent a few characters in the second screen line are 18317 overwritten and not redrawn later. (Rastislav Barlik) 18318Solution: Move redrawing the screen to after overwriting the characters. 18319Files: src/main.c, src/term.c 18320 18321Patch 8.0.0612 18322Problem: Package directories are added to 'runtimepath' only after loading 18323 non-package plugins. 18324Solution: Split off the code to add package directories to 'runtimepath'. 18325 (Ingo Karkat, closes #1680) 18326Files: src/ex_cmds2.c, src/globals.h, src/main.c, src/proto/ex_cmds2.pro, 18327 src/testdir/test_startup.vim 18328 18329Patch 8.0.0613 18330Problem: The conf filetype detection is done before ftdetect scripts from 18331 packages that are added later. 18332Solution: Add the FALLBACK argument to :setfiletype. (closes #1679, 18333 closes #1693) 18334Files: src/ex_docmd.c, runtime/filetype.vim, src/Makefile, 18335 src/testdir/test_filetype.vim, src/testdir/test_alot.vim 18336 18337Patch 8.0.0614 18338Problem: float2nr() is not exactly right. 18339Solution: Make float2nr() more accurate. Turn test65 into a new style test. 18340 (Hirohito Higashi, closes #1688) 18341Files: src/Makefile, src/evalfunc.c, src/testdir/Make_all.mak, 18342 src/testdir/Make_vms.mms, src/testdir/test65.in, 18343 src/testdir/test65.ok, src/testdir/test_float_func.vim, 18344 src/testdir/test_vimscript.vim, src/macros.h 18345 18346Patch 8.0.0615 18347Problem: Using % with :hardcopy wrongly escapes spaces. (Alexey Muranov) 18348Solution: Expand % differently. (Christian Brabandt, closes #1682) 18349Files: src/ex_docmd.c, src/testdir/test_hardcopy.vim 18350 18351 18352Patch 8.0.0616 18353Problem: When setting the cterm background with ":hi Normal" the value of 18354 'background' may be set wrongly. 18355Solution: Check that the color is less than 16. Don't set 'background' when 18356 it was set explicitly. (LemonBoy, closes #1710) 18357Files: src/syntax.c, src/testdir/test_syntax.vim 18358 18359Patch 8.0.0617 (after 8.0.0615) 18360Problem: Hardcopy test hangs on MS-Windows. 18361Solution: Check the postscript feature is supported. 18362Files: src/testdir/test_hardcopy.vim 18363 18364Patch 8.0.0618 18365Problem: NFA regex engine handles [0-z] incorrectly. 18366Solution: Return at the right point. (James McCoy, closes #1703) 18367Files: src/regexp_nfa.c, src/testdir/test36.in, src/testdir/test36.ok 18368 18369Patch 8.0.0619 18370Problem: In the GUI, when a timer uses feedkeys(), it still waits for an 18371 event. (Raymond Ko) 18372Solution: Check tb_change_cnt in one more place. 18373Files: src/gui.c 18374 18375Patch 8.0.0620 18376Problem: Since we only support GTK versions that have it, the check for 18377 HAVE_GTK_MULTIHEAD is no longer needed. 18378Solution: Remove HAVE_GTK_MULTIHEAD. (Kazunobu Kuriyama) 18379Files: src/config.h.in, src/configure.ac, src/auto/configure, 18380 src/gui_beval.c, src/gui_gtk_x11.c, src/mbyte.c 18381 18382Patch 8.0.0621 18383Problem: The ":stag" command does not respect 'switchbuf'. 18384Solution: Check 'switchbuf' for tag commands that may open a new window. 18385 (Ingo Karkat, closes #1681) Define macros for the return values 18386 of getfile(). 18387Files: src/tag.c, src/testdir/test_tagjump.vim, src/vim.h, src/buffer.c, 18388 src/ex_cmds.c, src/search.c, 18389 18390Patch 8.0.0622 18391Problem: Using a text object to select quoted text fails when 'selection' 18392 is set to "exclusive". (Guraga) 18393Solution: Swap cursor and visual start position. (Christian Brabandt, 18394 closes #1687) 18395Files: src/search.c, src/testdir/test_textobjects.vim 18396 18397Patch 8.0.0623 18398Problem: The message "Invalid range" is used for multiple errors. 18399Solution: Add two more specific error messages. (Itchyny, Ken Hamada) 18400Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_regexp_utf8.vim 18401 18402Patch 8.0.0624 (after 8.0.0623) 18403Problem: Warning for unused variable in tiny build. (Tony Mechelynck) 18404Solution: Add an #ifdef. 18405Files: src/regexp.c 18406 18407Patch 8.0.0625 18408Problem: shellescape() always escapes a newline, which does not work with 18409 some shells. (Harm te Hennepe) 18410Solution: Only escape a newline when the "special" argument is non-zero. 18411 (Christian Brabandt, closes #1590) 18412Files: src/evalfunc.c, src/testdir/test_functions.vim 18413 18414Patch 8.0.0626 18415Problem: In the GUI the cursor may flicker. 18416Solution: Check the cmd_silent flag before updating the cursor shape. 18417 (Hirohito Higashi, closes #1637) 18418Files: src/getchar.c 18419 18420Patch 8.0.0627 18421Problem: When 'wrapscan' is off "gn" does not select the whole pattern when 18422 it's the last one in the text. (KeyboardFire) 18423Solution: Check if the search fails. (Christian Brabandt, closes #1683) 18424Files: src/search.c, src/testdir/test_gn.vim 18425 18426Patch 8.0.0628 (after 8.0.0626 18427Problem: Cursor disappears after silent mapping. (Ramel Eshed) 18428Solution: Do restore the cursor when it was changed, but don't change it in 18429 the first place for a silent mapping. 18430Files: src/getchar.c 18431 18432 18433Patch 8.0.0629 (after 8.0.0611) 18434Problem: Checking for ambiguous width is not working. (Hirohito Higashi) 18435Solution: Reset "starting" earlier. 18436Files: src/main.c 18437 18438Patch 8.0.0630 18439Problem: The :global command does not work recursively, which makes it 18440 difficult to execute a command on a line where one pattern matches 18441 and another does not match. (Miles Cranmer) 18442Solution: Allow for recursion if it is for only one line. (closes #1760) 18443Files: src/ex_cmds.c, src/testdir/test_global.vim, runtime/doc/repeat.txt 18444 18445Patch 8.0.0631 18446Problem: Perl 5.26 also needs S_TOPMARK and S_POPMARK defined. 18447Solution: Define the functions when needed. (Jesin, closes #1748) 18448Files: src/if_perl.xs 18449 18450Patch 8.0.0632 18451Problem: The quotestar test is still a bit flaky. 18452Solution: Kill any existing server to make the retry work. Wait for the 18453 register to be filled. 18454Files: src/testdir/test_quotestar.vim 18455 18456Patch 8.0.0633 18457Problem: The client-server test is still a bit flaky. 18458Solution: Wait a bit for the GUI to start. Check that the version number 18459 can be obtained. 18460Files: src/testdir/test_clientserver.vim 18461 18462Patch 8.0.0634 18463Problem: Cannot easily get to the last quickfix list. 18464Solution: Add "$" as a value for the "nr" argument of getqflist() and 18465 setqflist(). (Yegappan Lakshmanan) 18466Files: runtime/doc/eval.txt, src/quickfix.c, 18467 src/testdir/test_quickfix.vim 18468 18469Patch 8.0.0635 18470Problem: When 'ignorecase' is set script detection is inaccurate. 18471Solution: Enforce matching case for text. (closes #1753) 18472Files: runtime/scripts.vim 18473 18474Patch 8.0.0636 18475Problem: When reading the undo file fails may use uninitialized data. 18476Solution: Always clear the buffer on failure. 18477Files: src/undo.c 18478 18479Patch 8.0.0637 18480Problem: Crash when using some version of GTK 3. 18481Solution: Add #ifdefs around incrementing the menu index. (Kazunobu 18482 Kuriyama) 18483Files: src/gui_gtk.c 18484 18485Patch 8.0.0638 18486Problem: Cannot build with new MSVC version VS2017. 18487Solution: Change the compiler arguments. (Leonardo Valeri Manera, 18488 closes #1731, closes #1747) 18489Files: src/GvimExt/Makefile, src/Make_mvc.mak 18490 18491Patch 8.0.0639 18492Problem: The cursor position is set to the last position in a new commit 18493 message. 18494Solution: Don't set the position if the filetype matches "commit". 18495 (Christian Brabandt) 18496Files: runtime/defaults.vim 18497 18498Patch 8.0.0640 18499Problem: Mismatch between help and actual message for ":syn conceal". 18500Solution: Change the message to match the help. (Ken Takata) 18501Files: src/syntax.c 18502 18503Patch 8.0.0641 18504Problem: Cannot set a separate highlighting for the current line in the 18505 quickfix window. 18506Solution: Add QuickFixLine. (anishsane, closes #1755) 18507Files: src/option.c, src/quickfix.c, src/screen.c, src/syntax.c, 18508 src/vim.h, runtime/doc/options.txt, runtime/doc/quickfix.txt 18509 18510Patch 8.0.0642 18511Problem: writefile() continues after detecting an error. 18512Solution: Bail out as soon as an error is detected. (suggestions by Nikolai 18513 Pavlov, closes #1476) 18514Files: src/evalfunc.c, src/testdir/test_writefile.vim 18515 18516Patch 8.0.0643 18517Problem: When 'hlsearch' is set and matching with the last search pattern 18518 is very slow, Vim becomes unusable. Cannot quit search by 18519 pressing CTRL-C. 18520Solution: When the search times out set a flag and don't try again. Check 18521 for timeout and CTRL-C in NFA loop that adds states. 18522Files: src/screen.c, src/ex_cmds.c, src/quickfix.c, src/regexp.c, 18523 src/proto/regexp.pro, src/regexp.h, src/search.c, 18524 src/proto/search.pro, src/syntax.c, src/regexp_nfa.c, src/spell.c, 18525 src/tag.c, src/gui.c, src/edit.c, src/evalfunc.c, src/ex_docmd.c, 18526 src/ex_getln.c, src/normal.c 18527 18528Patch 8.0.0644 18529Problem: There is no test for 'hlsearch' timing out. 18530Solution: Add a test. 18531Files: src/testdir/test_hlsearch.vim 18532 18533Patch 8.0.0645 18534Problem: The new regexp engine does not give an error for using a back 18535 reference where it is not allowed. (Dominique Pelle) 18536Solution: Check the back reference like the old engine. (closes #1774) 18537Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test_hlsearch.vim, 18538 src/testdir/test_statusline.vim, 18539 src/testdir/test_regexp_latin1.vim 18540 18541Patch 8.0.0646 18542Problem: The hlsearch test fails on fast systems. 18543Solution: Make the search pattern slower. Fix that the old regexp engine 18544 doesn't timeout properly. 18545Files: src/regexp.c, src/testdir/test_hlsearch.vim 18546 18547Patch 8.0.0647 18548Problem: Syntax highlighting can cause a freeze. 18549Solution: Apply 'redrawtime' to syntax highlighting, per window. 18550Files: src/structs.h, src/screen.c, src/syntax.c, src/normal.c, 18551 src/regexp.c, src/proto/syntax.pro, src/testdir/test_syntax.vim, 18552 runtime/doc/options.txt 18553 18554Patch 8.0.0648 18555Problem: Possible use of NULL pointer if buflist_new() returns NULL. 18556 (Coverity) 18557Solution: Check for NULL pointer in set_bufref(). 18558Files: src/buffer.c 18559 18560Patch 8.0.0649 18561Problem: When opening a help file the filetype is set several times. 18562Solution: When setting the filetype to the same value from a modeline, don't 18563 trigger FileType autocommands. Don't set the filetype to "help" 18564 when it's already set correctly. 18565Files: src/ex_cmds.c, src/option.c, runtime/filetype.vim 18566 18567Patch 8.0.0650 18568Problem: For extra help files the filetype is set more than once. 18569Solution: In *.txt files check that there is no help file modline. 18570Files: runtime/filetype.vim 18571 18572Patch 8.0.0651 (after 8.0.0649) 18573Problem: Build failure without the auto command feature. 18574Solution: Add #ifdef. (closes #1782) 18575Files: src/ex_cmds.c 18576 18577Patch 8.0.0652 18578Problem: Unicode information is outdated. 18579Solution: Update to Unicode 10. (Christian Brabandt) 18580Files: runtime/tools/unicode.vim, src/mbyte.c 18581 18582Patch 8.0.0653 18583Problem: The default highlight for QuickFixLine does not work for several 18584 color schemes. (Manas Thakur) 18585Solution: Make the default use the old color. (closes #1780) 18586Files: src/syntax.c 18587 18588Patch 8.0.0654 18589Problem: Text found after :endfunction is silently ignored. 18590Solution: Give a warning if 'verbose' is set. When | or \n are used, 18591 execute the text as a command. 18592Files: src/testdir/test_vimscript.vim, src/userfunc.c, 18593 runtime/doc/eval.txt 18594 18595Patch 8.0.0655 18596Problem: Not easy to make sure a function does not exist. 18597Solution: Add ! as an optional argument to :delfunc. 18598Files: src/userfunc.c, src/ex_cmds.h, src/testdir/test_vimscript.vim 18599 18600Patch 8.0.0656 18601Problem: Cannot use ! after some user commands. 18602Solution: Properly check for existing command. (Hirohito Higashi) 18603Files: src/ex_docmd.c, src/testdir/test_vimscript.vim 18604 18605Patch 8.0.0657 18606Problem: Cannot get and set quickfix list items. 18607Solution: Add the "items" argument to getqflist() and setqflist(). (Yegappan 18608 Lakshmanan) 18609Files: runtime/doc/eval.txt, src/quickfix.c, 18610 src/testdir/test_quickfix.vim 18611 18612Patch 8.0.0658 18613Problem: Spell test is old style. 18614Solution: Turn the spell test into a new style test (pschuh, closes #1778) 18615Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 18616 src/testdir/test58.in, src/testdir/test58.ok, 18617 src/testdir/test_spell.vim 18618 18619Patch 8.0.0659 18620Problem: No test for conceal mode. 18621Solution: Add a conceal mode test. (Dominique Pelle, closes #1783) 18622Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_syntax.vim 18623 18624Patch 8.0.0660 18625Problem: Silent install on MS-Windows does show a dialog. 18626Solution: Add /SD to the default choice. (allburov, closes #1772) 18627Files: nsis/gvim.nsi 18628 18629Patch 8.0.0661 18630Problem: Recognizing urxvt mouse codes does not work well. 18631Solution: Recognize "Esc[*M" and "Esc[*m". (Maurice Bos, closes #1486) 18632Files: src/keymap.h, src/misc2.c, src/os_unix.c, src/term.c 18633 18634Patch 8.0.0662 (after 8.0.0659) 18635Problem: Stray FIXME for fixed problem. 18636Solution: Remove the comment. (Dominique Pelle) 18637Files: src/testdir/test_syntax.vim 18638 18639Patch 8.0.0663 18640Problem: Giving an error message only when 'verbose' set is unexpected. 18641Solution: Give a warning message instead. 18642Files: src/message.c, src/proto/message.pro, src/userfunc.c, 18643 src/testdir/test_vimscript.vim, runtime/doc/eval.txt 18644 18645Patch 8.0.0664 (after 8.0.0661) 18646Problem: Mouse does not work in tmux. (lilydjwg) 18647Solution: Add flag for SGR release being present. 18648Files: src/term.c 18649 18650Patch 8.0.0665 (after 8.0.0661) 18651Problem: Warning for uninitialized variable. (Tony Mechelynck) 18652Solution: Initialize it. 18653Files: src/term.c 18654 18655Patch 8.0.0666 18656Problem: Dead for loop. (Coverity) 18657Solution: Remove the for loop. 18658Files: src/term.c 18659 18660Patch 8.0.0667 18661Problem: Memory access error when command follows :endfunction. (Nikolai 18662 Pavlov) 18663Solution: Make memory handling in :function straightforward. (closes #1793) 18664Files: src/userfunc.c, src/testdir/test_vimscript.vim 18665 18666Patch 8.0.0668 (after 8.0.0660) 18667Problem: Nsis installer script does not work. (Christian Brabandt) 18668Solution: Fix the syntax of /SD. 18669Files: nsis/gvim.nsi 18670 18671Patch 8.0.0669 18672Problem: In Insert mode, CTRL-N at start of the buffer does not work 18673 correctly. (zuloloxi) 18674Solution: Wrap around the start of the buffer. (Christian Brabandt) 18675Files: src/edit.c, src/testdir/test_popup.vim 18676 18677Patch 8.0.0670 18678Problem: Can't use input() in a timer callback. (Cosmin Popescu) 18679Solution: Reset vgetc_busy and set timer_busy. (Ozaki Kiichi, closes #1790, 18680 closes #1129) 18681Files: src/evalfunc.c, src/ex_cmds2.c, src/globals.h, 18682 src/testdir/test_timers.vim 18683 18684Patch 8.0.0671 18685Problem: When a function invoked from a timer calls confirm() and the user 18686 types CTRL-C then Vim hangs. 18687Solution: Reset typebuf_was_filled. (Ozaki Kiichi, closes #1791) 18688Files: src/getchar.c 18689 18690Patch 8.0.0672 18691Problem: Third item of synconcealed() changes too often. (Dominique Pelle) 18692Solution: Reset the sequence number at the start of each line. 18693Files: src/syntax.c, src/testdir/test_syntax.vim, runtime/doc/eval.txt 18694 18695Patch 8.0.0673 (after 8.0.0673) 18696Problem: Build failure without conceal feature. 18697Solution: Add #ifdef. 18698Files: src/syntax.c 18699 18700Patch 8.0.0674 (after 8.0.0670) 18701Problem: Cannot build with eval but without timers. 18702Solution: Add #ifdef (John Marriott) 18703Files: src/evalfunc.c 18704 18705Patch 8.0.0675 18706Problem: 'colorcolumn' has a higher priority than 'hlsearch', it should be 18707 the other way around. (Nazri Ramliy) 18708Solution: Change the priorities. (LemonBoy, closes #1794) 18709Files: src/screen.c, src/testdir/test_listlbr_utf8.vim 18710 18711Patch 8.0.0676 18712Problem: Crash when closing the quickfix window in a FileType autocommand 18713 that triggers when the quickfix window is opened. 18714Solution: Save the new value before triggering the OptionSet autocommand. 18715 Add the "starting" flag to test_override() to make the text work. 18716Files: src/evalfunc.c, src/option.c, runtime/doc/eval.txt 18717 18718Patch 8.0.0677 18719Problem: Setting 'filetype' internally may cause the current buffer and 18720 window to change unexpectedly. 18721Solution: Set curbuf_lock. (closes #1734) 18722Files: src/quickfix.c, src/ex_cmds.c, src/ex_getln.c, 18723 src/testdir/test_quickfix.vim 18724 18725Patch 8.0.0678 18726Problem: When 'equalalways' is set and closing a window in a separate 18727 frame, not all window sizes are adjusted. (Glacambre) 18728Solution: Resize all windows if the new current window is not in the same 18729 frame as the closed window. (closes #1707) 18730Files: src/window.c, src/testdir/test_window_cmd.vim 18731 18732Patch 8.0.0679 (after 8.0.0678) 18733Problem: Using freed memory. 18734Solution: Get the parent frame pointer earlier. 18735Files: src/window.c 18736 18737Patch 8.0.0680 (after 8.0.0612) 18738Problem: Plugins in start packages are sourced twice. (mseplowitz) 18739Solution: Use the unmodified runtime path when loading plugins (test by Ingo 18740 Karkat, closes #1801) 18741Files: src/testdir/test_startup.vim, src/main.c, src/ex_cmds2.c, 18742 src/proto/ex_cmds2.pro 18743 18744Patch 8.0.0681 18745Problem: Unnamed register only contains the last deleted text when 18746 appending deleted text to a register. (Wolfgang Jeltsch) 18747Solution: Only set y_previous when not using y_append. (Christian Brabandt) 18748Files: src/ops.c, src/testdir/test_put.vim 18749 18750Patch 8.0.0682 18751Problem: No test for synIDtrans(). 18752Solution: Add a test. (Dominique Pelle, closes #1796) 18753Files: src/testdir/test_syntax.vim 18754 18755Patch 8.0.0683 18756Problem: When using a visual bell there is no delay, causing the flash to 18757 be very short, possibly unnoticeable. Also, the flash and the 18758 beep can lockup the UI when repeated often. 18759Solution: Do the delay in Vim or flush the output before the delay. Limit the 18760 bell to once per half a second. (Ozaki Kiichi, closes #1789) 18761Files: src/misc1.c, src/proto/term.pro, src/term.c 18762 18763Patch 8.0.0684 18764Problem: Old style tests are not nice. 18765Solution: Turn two tests into new style. (pschuh, closes #1797) 18766Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 18767 src/testdir/test82.in, src/testdir/test82.ok, 18768 src/testdir/test90.in, src/testdir/test90.ok, 18769 src/testdir/test_sha256.vim, src/testdir/test_utf8_comparisons.vim 18770 18771Patch 8.0.0685 18772Problem: When making backups is disabled and conversion with iconv fails 18773 the written file is truncated. (Luo Chen) 18774Solution: First try converting the file and write the file only when it did 18775 not fail. (partly by Christian Brabandt) 18776Files: src/fileio.c, src/testdir/test_writefile.vim 18777 18778Patch 8.0.0686 18779Problem: When typing CTRL-L in a window that's not the first one, another 18780 redraw will happen later. (Christian Brabandt) 18781Solution: Reset must_redraw after calling screenclear(). 18782Files: src/screen.c 18783 18784Patch 8.0.0687 18785Problem: Minor issues related to quickfix. 18786Solution: Set the proper return status for all cases in setqflist() and at 18787 test cases for this. Move the "adding" flag outside of 18788 FEAT_WINDOWS. Minor update to the setqflist() help text. (Yegappan 18789 Lakshmanan) 18790Files: runtime/doc/eval.txt, src/quickfix.c, 18791 src/testdir/test_quickfix.vim 18792 18793Patch 8.0.0688 18794Problem: Cannot resize the window in a FileType autocommand. (Ingo Karkat) 18795Solution: Add the CMDWIN flag to :resize. (test by Ingo Karkat, 18796 closes #1804) 18797Files: src/ex_cmds.h, src/testdir/test_quickfix.vim 18798 18799Patch 8.0.0689 18800Problem: The ~ character is not escaped when adding to the search pattern 18801 with CTRL-L. (Ramel Eshed) 18802Solution: Escape the character. (Christian Brabandt) 18803Files: src/ex_getln.c, src/testdir/test_search.vim 18804 18805Patch 8.0.0690 18806Problem: Compiler warning on non-Unix system. 18807Solution: Add #ifdef. (John Marriott) 18808Files: src/term.c 18809 18810Patch 8.0.0691 18811Problem: Compiler warning without the linebreak feature. 18812Solution: Add #ifdef. (John Marriott) 18813Files: src/edit.c 18814 18815Patch 8.0.0692 18816Problem: Using CTRL-G with 'incsearch' and ? goes in the wrong direction. 18817 (Ramel Eshed) 18818Solution: Adjust search_start. (Christian Brabandt) 18819Files: src/ex_getln.c, src/testdir/test_search.vim 18820 18821Patch 8.0.0693 18822Problem: No terminal emulator support. Cannot properly run commands in the 18823 GUI. Cannot run a job interactively with an ssh connection. 18824Solution: Very early implementation of the :terminal command. Includes 18825 libvterm converted to ANSI C. Many parts still missing. 18826Files: src/feature.h, src/Makefile, src/configure.ac, src/auto/configure, 18827 src/config.mk.in, src/config.h.in, src/terminal.c, src/structs.h, 18828 src/ex_cmdidxs.h, src/ex_docmd.c, src/option.c, src/option.h, 18829 src/evalfunc.c, src/proto/terminal.pro, src/proto.h, 18830 runtime/doc/terminal.txt, runtime/doc/Makefile, Filelist, 18831 src/libvterm/.bzrignore, src/libvterm/.gitignore, 18832 src/libvterm/LICENSE, src/libvterm/README, src/libvterm/Makefile, 18833 src/libvterm/tbl2inc_c.pl, src/libvterm/vterm.pc.in, 18834 src/libvterm/bin/unterm.c, src/libvterm/bin/vterm-ctrl.c, 18835 src/libvterm/bin/vterm-dump.c, src/libvterm/doc/URLs, 18836 src/libvterm/doc/seqs.txt, src/libvterm/include/vterm.h, 18837 src/libvterm/include/vterm_keycodes.h, 18838 src/libvterm/src/encoding.c, 18839 src/libvterm/src/encoding/DECdrawing.inc, 18840 src/libvterm/src/encoding/DECdrawing.tbl, 18841 src/libvterm/src/encoding/uk.inc, 18842 src/libvterm/src/encoding/uk.tbl, src/libvterm/src/keyboard.c, 18843 src/libvterm/src/mouse.c, src/libvterm/src/parser.c, 18844 src/libvterm/src/pen.c, src/libvterm/src/rect.h, 18845 src/libvterm/src/screen.c, src/libvterm/src/state.c, 18846 src/libvterm/src/unicode.c, src/libvterm/src/utf8.h, 18847 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h, 18848 src/libvterm/t/02parser.test, src/libvterm/t/03encoding_utf8.test, 18849 src/libvterm/t/10state_putglyph.test, 18850 src/libvterm/t/11state_movecursor.test, 18851 src/libvterm/t/12state_scroll.test, 18852 src/libvterm/t/13state_edit.test, 18853 src/libvterm/t/14state_encoding.test, 18854 src/libvterm/t/15state_mode.test, 18855 src/libvterm/t/16state_resize.test, 18856 src/libvterm/t/17state_mouse.test, 18857 src/libvterm/t/18state_termprops.test, 18858 src/libvterm/t/20state_wrapping.test, 18859 src/libvterm/t/21state_tabstops.test, 18860 src/libvterm/t/22state_save.test, 18861 src/libvterm/t/25state_input.test, 18862 src/libvterm/t/26state_query.test, 18863 src/libvterm/t/27state_reset.test, 18864 src/libvterm/t/28state_dbl_wh.test, 18865 src/libvterm/t/29state_fallback.test, src/libvterm/t/30pen.test, 18866 src/libvterm/t/40screen_ascii.test, 18867 src/libvterm/t/41screen_unicode.test, 18868 src/libvterm/t/42screen_damage.test, 18869 src/libvterm/t/43screen_resize.test, 18870 src/libvterm/t/44screen_pen.test, 18871 src/libvterm/t/45screen_protect.test, 18872 src/libvterm/t/46screen_extent.test, 18873 src/libvterm/t/47screen_dbl_wh.test, 18874 src/libvterm/t/48screen_termprops.test, 18875 src/libvterm/t/90vttest_01-movement-1.test, 18876 src/libvterm/t/90vttest_01-movement-2.test, 18877 src/libvterm/t/90vttest_01-movement-3.test, 18878 src/libvterm/t/90vttest_01-movement-4.test, 18879 src/libvterm/t/90vttest_02-screen-1.test, 18880 src/libvterm/t/90vttest_02-screen-2.test, 18881 src/libvterm/t/90vttest_02-screen-3.test, 18882 src/libvterm/t/90vttest_02-screen-4.test, 18883 src/libvterm/t/92lp1640917.test, src/libvterm/t/harness.c, 18884 src/libvterm/t/run-test.pl 18885 18886Patch 8.0.0694 18887Problem: Building in shadow directory does not work. Running Vim fails. 18888Solution: Add the new libvterm directory. Add missing change in command 18889 list. 18890Files: src/Makefile, src/ex_cmds.h 18891 18892Patch 8.0.0695 18893Problem: Missing dependencies breaks parallel make. 18894Solution: Add dependencies for terminal.o. 18895Files: src/Makefile 18896 18897Patch 8.0.0696 18898Problem: The .inc files are missing in git. (Nazri Ramliy) 18899Solution: Remove the .inc line from .gitignore. 18900Files: src/libvterm/.gitignore 18901 18902Patch 8.0.0697 18903Problem: Recorded key sequences may become invalid. 18904Solution: Add back KE_SNIFF removed in 7.4.1433. Use fixed numbers for the 18905 key_extra enum. 18906Files: src/keymap.h 18907 18908Patch 8.0.0698 18909Problem: When a timer uses ":pyeval" or another Python command and it 18910 happens to be triggered while exiting a Crash may happen. 18911 (Ricky Zhou) 18912Solution: Avoid running a Python command after python_end() was called. 18913 Do not trigger timers while exiting. (closes #1824) 18914Files: src/if_python.c, src/if_python3.c, src/ex_cmds2.c 18915 18916Patch 8.0.0699 18917Problem: Checksum tests are not actually run. 18918Solution: Add the tests to the list. (Dominique Pelle, closes #1819) 18919Files: src/testdir/test_alot.vim, src/testdir/test_alot_utf8.vim 18920 18921Patch 8.0.0700 18922Problem: Segfault with QuitPre autocommand closes the window. (Marek) 18923Solution: Check that the window pointer is still valid. (Christian Brabandt, 18924 closes #1817) 18925Files: src/testdir/test_tabpage.vim, src/ex_docmd.c 18926 18927Patch 8.0.0701 18928Problem: System test failing when using X11 forwarding. 18929Solution: Set $XAUTHORITY before changing $HOME. (closes #1812) 18930 Also use a better check for the exit value. 18931Files: src/testdir/setup.vim, src/testdir/test_system.vim 18932 18933Patch 8.0.0702 18934Problem: An error in a timer can make Vim unusable. 18935Solution: Don't set the error flag or exception from a timer. Stop a timer 18936 if it causes an error 3 out of 3 times. Discard an exception 18937 caused inside a timer. 18938Files: src/ex_cmds2.c, src/structs.h, src/testdir/test_timers.vim, 18939 runtime/doc/eval.txt 18940 18941Patch 8.0.0703 18942Problem: Illegal memory access with empty :doau command. 18943Solution: Check the event for being out of range. (James McCoy) 18944Files: src/testdir/test_autocmd.vim, src/fileio.c 18945 18946Patch 8.0.0704 18947Problem: Problems with autocommands when opening help. 18948Solution: Avoid using invalid "varp" value. Allow using :wincmd if buffer 18949 is locked. (closes #1806, closes #1804) 18950Files: src/option.c, src/ex_cmds.h 18951 18952Patch 8.0.0705 (after 8.0.0702) 18953Problem: Crash when there is an error in a timer callback. (Aron Griffis, 18954 Ozaki Kiichi) 18955Solution: Check did_throw before discarding an exception. NULLify 18956 current_exception when no longer valid. 18957Files: src/ex_eval.c, src/ex_cmds2.c 18958 18959Patch 8.0.0706 18960Problem: Crash when cancelling the cmdline window in Ex mode. (James McCoy) 18961Solution: Do not set cmdbuff to NULL, make it empty. 18962Files: src/ex_getln.c 18963 18964Patch 8.0.0707 18965Problem: Freeing wrong memory when manipulating buffers in autocommands. 18966 (James McCoy) 18967Solution: Also set the w_s pointer if w_buffer was NULL. 18968Files: src/ex_cmds.c 18969 18970Patch 8.0.0708 18971Problem: Some tests are old style. 18972Solution: Change a few tests from old style to new style. (pschuh, 18973 closes #1813) 18974Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak, 18975 src/testdir/Make_vms.mms, src/testdir/main.aap, 18976 src/testdir/test23.in, src/testdir/test23.ok, 18977 src/testdir/test24.in, src/testdir/test24.ok, 18978 src/testdir/test26.in, src/testdir/test26.ok, 18979 src/testdir/test67.in, src/testdir/test67.ok, 18980 src/testdir/test75.in, src/testdir/test75.ok, 18981 src/testdir/test97.in, src/testdir/test97.ok, 18982 src/testdir/test_comparators.in, src/testdir/test_comparators.ok, 18983 src/testdir/test_comparators.vim, 18984 src/testdir/test_escaped_glob.vim, 18985 src/testdir/test_exec_while_if.vim, 18986 src/testdir/test_exists_autocmd.vim, src/testdir/test_getcwd.in, 18987 src/testdir/test_getcwd.ok, src/testdir/test_getcwd.vim, 18988 src/testdir/test_maparg.vim, src/testdir/test_plus_arg_edit.vim, 18989 src/testdir/test_regex_char_classes.vim 18990 18991Patch 8.0.0709 18992Problem: Libvterm cannot use vsnprintf(), it does not exist in C90. 18993Solution: Use vim_vsnprintf() instead. 18994Files: src/message.c, src/Makefile, src/proto.h, src/evalfunc.c, 18995 src/netbeans.c, src/libvterm/src/vterm.c 18996 18997Patch 8.0.0710 18998Problem: A job that writes to a buffer clears command line completion. 18999 (Ramel Eshed) 19000Solution: Do not redraw while showing the completion menu. 19001Files: src/screen.c 19002 19003Patch 8.0.0711 (after 8.0.0710) 19004Problem: Cannot build without the wildmenu feature. 19005Solution: Add #ifdef 19006Files: src/screen.c 19007 19008Patch 8.0.0712 19009Problem: The terminal implementation is incomplete. 19010Solution: Add the 'termkey' option. 19011Files: src/option.c, src/option.h, src/structs.h 19012 19013Patch 8.0.0713 (after 8.0.0712) 19014Problem: 'termkey' option not fully implemented. 19015Solution: Add initialisation. 19016Files: src/option.c 19017 19018Patch 8.0.0714 19019Problem: When a timer causes a command line redraw the " that is displayed 19020 for CTRL-R goes missing. 19021Solution: Remember an extra character to display. 19022Files: src/ex_getln.c 19023 19024Patch 8.0.0715 19025Problem: Writing to the wrong buffer if the buffer that a channel writes to 19026 was closed. 19027Solution: Do not write to a buffer that was unloaded. 19028Files: src/channel.c, src/testdir/test_channel.vim, 19029 src/testdir/test_channel_write.py 19030 19031Patch 8.0.0716 19032Problem: Not easy to start Vim cleanly without changing the viminfo file. 19033 Not possible to know whether the -i command line flag was used. 19034Solution: Add the --clean command line argument. Add the 'viminfofile' 19035 option. Add "-u DEFAULTS". 19036Files: src/main.c, runtime/doc/starting.txt, src/option.c, src/option.h, 19037 src/ex_cmds.c, src/globals.h, runtime/doc/options.txt 19038 19039Patch 8.0.0717 19040Problem: Terminal feature not included in :version output. 19041Solution: Add +terminal or -terminal. 19042Files: src/version.c, src/terminal.c 19043 19044Patch 8.0.0718 19045Problem: Output of job in terminal is not displayed. 19046Solution: Connect the job output to the terminal. 19047Files: src/channel.c, src/proto/channel.pro, src/terminal.c, 19048 src/proto/terminal.pro, src/channel.c, src/proto/channel.pro, 19049 src/evalfunc.c, src/screen.c, src/proto/screen.pro 19050 19051Patch 8.0.0719 19052Problem: Build failure without +terminal feature. 19053Solution: Add #ifdefs. 19054Files: src/screen.c, src/channel.c 19055 19056Patch 8.0.0720 19057Problem: Unfinished mapping not displayed when running timer. 19058Solution: Also use the extra_char while waiting for a mapping and digraph. 19059 (closes #1844) 19060Files: src/ex_getln.c 19061 19062Patch 8.0.0721 19063Problem: :argedit can only have one argument. 19064Solution: Allow for multiple arguments. (Christian Brabandt) 19065Files: runtime/doc/editing.txt, src/ex_cmds.h, src/ex_cmds2.c, 19066 src/testdir/test_arglist.vim 19067 19068Patch 8.0.0722 19069Problem: Screen is messed by timer up at inputlist() prompt. 19070Solution: Set state to ASKMORE. (closes #1843) 19071Files: src/misc1.c 19072 19073Patch 8.0.0723 (after 8.0.0721) 19074Problem: Arglist test fails if file name case is ignored. 19075Solution: Wipe existing buffers, check for fname_case property. 19076Files: src/testdir/test_arglist.vim 19077 19078Patch 8.0.0724 19079Problem: The message for yanking doesn't indicate the register. 19080Solution: Show the register name in the "N lines yanked" message. (LemonBoy, 19081 closes #1803, closes #1809) 19082Files: src/ops.c, src/Makefile, src/testdir/test_registers.vim, 19083 src/testdir/Make_all.mak 19084 19085Patch 8.0.0725 19086Problem: A terminal window does not handle keyboard input. 19087Solution: Add terminal_loop(). ":term bash -i" sort of works now. 19088Files: src/main.c, src/terminal.c, src/proto/terminal.pro, src/normal.c 19089 19090Patch 8.0.0726 19091Problem: Translations cleanup script is too conservative. 19092Solution: Also delete untranslated messages. 19093Files: src/po/cleanup.vim 19094 19095Patch 8.0.0727 19096Problem: Message about what register to yank into is not translated. 19097 (LemonBoy) 19098Solution: Add _(). 19099Files: src/ops.c 19100 19101Patch 8.0.0728 19102Problem: The terminal structure is never freed. 19103Solution: Free the structure and unreference what it contains. 19104Files: src/terminal.c, src/buffer.c, src/proto/terminal.pro, 19105 src/channel.c, src/proto/channel.pro, src/evalfunc.c 19106 19107Patch 8.0.0729 19108Problem: The help for the terminal configure option is wrong. 19109Solution: Change "Disable" to "Enable". (E Kawashima, closes #1849) 19110 Improve alignment. 19111Files: src/configure.ac, src/auto/configure 19112 19113Patch 8.0.0730 19114Problem: Terminal feature only supports Unix-like systems. 19115Solution: Prepare for adding an MS-Windows implementation. 19116Files: src/terminal.c 19117 19118Patch 8.0.0731 19119Problem: Cannot build the terminal feature on MS-Windows. 19120Solution: Add the Makefile changes. (Yasuhiro Matsumoto, closes #1851) 19121Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 19122 19123Patch 8.0.0732 19124Problem: When updating a buffer for a callback the modeless selection is 19125 lost. 19126Solution: Do not insert or delete screen lines when redrawing for a callback 19127 and there is a modeless selection. 19128Files: src/screen.c 19129 19130Patch 8.0.0733 19131Problem: Can only add entries to one list in the quickfix stack. 19132Solution: Move state variables from qf_list_T to qf_list_T. (Yegappan 19133 Lakshmanan) 19134Files: src/quickfix.c 19135 19136Patch 8.0.0734 19137Problem: The script to check translations can be improved. 19138Solution: Restore the view when no errors are found. Check for matching 19139 line break at the end of the message. (Christian Brabandt) 19140Files: src/po/check.vim 19141 19142Patch 8.0.0735 19143Problem: There is no way to notice that the quickfix window contents has 19144 changed. 19145Solution: Increment b:changedtick when updating the quickfix window. 19146 (Yegappan Lakshmanan) 19147Files: runtime/doc/quickfix.txt, src/quickfix.c, 19148 src/testdir/test_quickfix.vim 19149 19150Patch 8.0.0736 19151Problem: The OptionSet autocommand event is not triggered when entering 19152 diff mode. 19153Solution: use set_option_value() instead of setting the option directly. 19154 Change the tests from old to new style. (Christian Brabandt) 19155Files: src/diff.c, src/testdir/Make_all.mak, src/Makefile, 19156 src/testdir/test_autocmd.vim, src/testdir/test_autocmd_option.in, 19157 src/testdir/test_autocmd_option.ok 19158 19159Patch 8.0.0737 19160Problem: Crash when X11 selection is very big. 19161Solution: Use static items instead of allocating them. Add callbacks. 19162 (Ozaki Kiichi) 19163Files: src/testdir/shared.vim, src/testdir/test_quotestar.vim, 19164 src/ui.c 19165 19166Patch 8.0.0738 19167Problem: Cannot use the mouse to resize window while the focus is in a 19168 terminal window. 19169Solution: Recognize nice mouse events in the terminal window. A few more 19170 fixes for the terminal window. 19171Files: src/terminal.c 19172 19173Patch 8.0.0739 19174Problem: Terminal resizing doesn't work well. 19175Solution: Resize the terminal to the Vim window and the other way around. 19176 Avoid mapping typed keys. Set the environment properly. 19177Files: src/terminal.c, src/os_unix.c, src/structs.h 19178 19179Patch 8.0.0740 19180Problem: Cannot resize a terminal window by the command running in it. 19181Solution: Add support for the window size escape sequence. Make BS work. 19182Files: src/terminal.c, src/libvterm/src/state.c 19183 19184Patch 8.0.0741 19185Problem: Cannot build with HPUX. 19186Solution: Rename envbuf_TERM to envbuf_Term. (John Marriott) 19187Files: src/os_unix.c 19188 19189Patch 8.0.0742 19190Problem: Terminal feature does not work on MS-Windows. 19191Solution: Use libvterm and libwinpty on MS-Windows. (Yasuhiro Matsumoto) 19192Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/channel.c, 19193 src/proto/channel.pro, src/terminal.c 19194 19195Patch 8.0.0743 19196Problem: The 'termsize' option can be set to an invalid value. 19197Solution: Check the 'termsize' option to be valid. 19198Files: src/option.c, src/testdir/gen_opt_test.vim 19199 19200Patch 8.0.0744 19201Problem: A terminal window uses pipes instead of a pty. 19202Solution: Add pty support. 19203Files: src/structs.h, src/os_unix.c, src/terminal.c, src/channel.c, 19204 src/proto/os_unix.pro, src/os_win32.c, src/proto/os_win32.pro 19205 19206Patch 8.0.0745 19207Problem: multi-byte characters in a terminal window are not displayed 19208 properly. 19209Solution: Set the unused screen characters. (Yasuhiro Matsumoto, closes 19210 #1857) 19211Files: src/terminal.c 19212 19213Patch 8.0.0746 19214Problem: When :term fails the job is not properly cleaned up. 19215Solution: Free the terminal. Handle a job that failed to start. (closes 19216 #1858) 19217Files: src/os_unix.c, src/channel.c, src/terminal.c 19218 19219Patch 8.0.0747 19220Problem: :terminal without an argument doesn't work. 19221Solution: Use the 'shell' option. (Yasuhiro Matsumoto, closes #1860) 19222Files: src/terminal.c 19223 19224Patch 8.0.0748 19225Problem: When running Vim in a terminal window it does not detect the right 19226 number of colors available. 19227Solution: Detect the version string that libvterm returns. Pass the number 19228 of colors in $COLORS. 19229Files: src/term.c, src/os_unix.c 19230 19231Patch 8.0.0749 19232Problem: Some unicode digraphs are hard to remember. 19233Solution: Add alternatives with a backtick. (Chris Harding, closes #1861) 19234Files: src/digraph.c 19235 19236Patch 8.0.0750 19237Problem: OpenPTY missing in non-GUI build. 19238Solution: Always include pty.c, add an #ifdef to skip over the contents. 19239Files: src/pty.c, src/Makefile 19240 19241Patch 8.0.0751 (after 8.0.0750) 19242Problem: OpenPTY missing with some combination of features. (Kazunobu 19243 Kuriyama) 19244Solution: Adjust #ifdef. Also include pty.pro when needed. 19245Files: src/pty.c, src/misc2.c, src/proto.h 19246 19247Patch 8.0.0752 19248Problem: Build fails on MS-Windows. 19249Solution: Change #ifdef for set_color_count(). 19250Files: src/term.c 19251 19252Patch 8.0.0753 19253Problem: A job running in a terminal does not get notified of changes in 19254 the terminal size. 19255Solution: Use ioctl() and SIGWINCH to report the terminal size. 19256Files: src/terminal.c, src/os_unix.c, src/proto/os_unix.pro 19257 19258Patch 8.0.0754 19259Problem: Terminal window does not support colors. 19260Solution: Lookup the color attribute. 19261Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro 19262 19263Patch 8.0.0755 19264Problem: Terminal window does not have colors in the GUI. 19265Solution: Lookup the GUI color. 19266Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro, src/term.c, 19267 src/proto/term.pro, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, 19268 src/gui_x11.c, src/proto/gui_x11.pro, src/gui_mac.c, 19269 src/proto/gui_mac.pro, src/gui_photon.c, src/proto/gui_photon.pro, 19270 src/gui_w32.c, src/proto/gui_w32.pro, 19271 19272Patch 8.0.0756 19273Problem: Cannot build libvterm with MSVC. 19274Solution: Add an MSVC Makefile to libvterm. (Yasuhiro Matsumoto, closes 19275 #1865) 19276Files: src/INSTALLpc.txt, src/Make_mvc.mak, src/libvterm/Makefile.msc 19277 19278Patch 8.0.0757 19279Problem: Libvterm MSVC Makefile not included in the distribution. 19280Solution: Add the file to the list. 19281Files: Filelist 19282 19283Patch 8.0.0758 19284Problem: Possible crash when using a terminal window. 19285Solution: Check for NULL pointers. (Yasuhiro Matsumoto, closes #1864) 19286Files: src/terminal.c 19287 19288Patch 8.0.0759 19289Problem: MS-Windows: terminal does not adjust size to the Vim window size. 19290Solution: Add a call to winpty_set_size(). (Yasuhiro Matsumoto, closes #1863) 19291Files: src/terminal.c 19292 19293Patch 8.0.0760 19294Problem: Terminal window colors wrong with 'termguicolors'. 19295Solution: Add 'termguicolors' support. 19296Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro 19297 19298Patch 8.0.0761 19299Problem: Options of a buffer for a terminal window are not set properly. 19300Solution: Add "terminal" value for 'buftype'. Make 'buftype' and 19301 'bufhidden' not depend on the quickfix feature. 19302 Also set the buffer name and show "running" or "finished" in the 19303 window title. 19304Files: src/option.c, src/terminal.c, src/proto/terminal.pro, 19305 runtime/doc/options.txt, src/quickfix.c, src/proto/quickfix.pro, 19306 src/structs.h, src/buffer.c, src/ex_docmd.c, src/fileio.c, 19307 src/channel.c 19308 19309Patch 8.0.0762 19310Problem: ml_get error with :psearch in buffer without a name. (Dominique 19311 Pelle) 19312Solution: Use the buffer number instead of the file name. Check the cursor 19313 position. 19314Files: src/search.c, src/testdir/test_preview.vim, src/Makefile, 19315 src/testdir/Make_all.mak 19316 19317Patch 8.0.0763 19318Problem: Libvterm can be improved. 19319Solution: Various small improvements, more comments. 19320Files: src/libvterm/README, src/libvterm/include/vterm.h, 19321 src/libvterm/include/vterm_keycodes.h, 19322 src/libvterm/src/keyboard.c, src/libvterm/src/parser.c, 19323 src/libvterm/src/screen.c, src/libvterm/src/state.c 19324 19325Patch 8.0.0764 19326Problem: 'termkey' does not work yet. 19327Solution: Implement 'termkey'. 19328Files: src/terminal.c, src/option.c, src/proto/option.pro 19329 19330Patch 8.0.0765 19331Problem: Build fails with tiny features. 19332Solution: Adjust #ifdef. (John Marriott) 19333Files: src/option.c, src/option.h 19334 19335Patch 8.0.0766 19336Problem: Option test fails with +terminal feature. 19337Solution: Fix using the right option when checking the value. 19338Files: src/option.c 19339 19340Patch 8.0.0767 19341Problem: Build failure with Athena and Motif. 19342Solution: Move local variable declarations. (Kazunobu Kuriyama) 19343Files: src/gui_x11.c 19344 19345Patch 8.0.0768 19346Problem: Terminal window status shows "[Scratch]". 19347Solution: Show "[Terminal]" when no title was set. (Yasuhiro Matsumoto) 19348 Store the terminal title that vterm sends and use it. Update the 19349 special buffer name. (closes #1869) 19350Files: src/terminal.c, src/proto/terminal.pro, src/buffer.c 19351 19352Patch 8.0.0769 19353Problem: Build problems with terminal on MS-Windows using MSVC. 19354Solution: Remove stdbool.h dependency. Only use ScreenLinesUC when it was 19355 allocated. Fix typos. (Ken Takata) 19356Files: src/libvterm/bin/vterm-ctrl.c, runtime/doc/terminal.txt, 19357 src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak, 19358 src/libvterm/Makefile.msc, src/terminal.c 19359 19360Patch 8.0.0770 19361Problem: Compiler warning for missing field initializer. 19362Solution: Add two more values. (Yegappan Lakshmanan) 19363Files: src/libvterm/src/encoding.c 19364 19365Patch 8.0.0771 19366Problem: Cursor in a terminal window not always updated in the GUI. 19367Solution: Call gui_update_cursor(). (Yasuhiro Matsumoto, closes #1868) 19368Files: src/terminal.c 19369 19370Patch 8.0.0772 19371Problem: Other stdbool.h dependencies in libvterm. 19372Solution: Remove the dependency and use TRUE/FALSE/int. (Ken Takata) 19373Files: src/libvterm/include/vterm.h, src/libvterm/src/mouse.c, 19374 src/libvterm/src/pen.c, src/libvterm/t/harness.c, 19375 src/libvterm/bin/unterm.c 19376 19377Patch 8.0.0773 19378Problem: Mixing 32 and 64 bit libvterm builds fails. 19379Solution: Use OUTDIR. (Ken Takata) 19380Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/libvterm/Makefile.msc 19381 19382Patch 8.0.0774 19383Problem: Build failure without the multi-byte feature on HPUX. 19384Solution: Move #ifdefs. (John Marriott) 19385Files: src/term.c 19386 19387Patch 8.0.0775 19388Problem: In a terminal the cursor is updated too often. 19389Solution: Only flush when needed. (Yasuhiro Matsumoto). Remember whether the 19390 cursor is visible. (closes #1873) 19391Files: src/terminal.c 19392 19393Patch 8.0.0776 19394Problem: Function prototypes missing without the quickfix feature. (Tony 19395 Mechelynck) 19396Solution: Move non-quickfix functions to buffer.c. 19397Files: src/buffer.c, src/proto/buffer.pro, src/quickfix.c, 19398 src/proto/quickfix.pro 19399 19400Patch 8.0.0777 19401Problem: Compiler warnings with 64 bit compiler. 19402Solution: Add type casts. (Mike Williams) 19403Files: src/libvterm/src/pen.c, src/libvterm/src/state.c, src/terminal.c 19404 19405Patch 8.0.0778 19406Problem: In a terminal the cursor may be hidden and screen updating lags 19407 behind. (Nazri Ramliy) 19408Solution: Switch the cursor on and flush output when needed. (Ozaki Kiichi) 19409Files: src/terminal.c 19410 19411Patch 8.0.0779 19412Problem: :term without an argument uses empty buffer name but runs the 19413 shell. 19414Solution: Change the command to the shell earlier. 19415Files: src/terminal.c 19416 19417Patch 8.0.0780 19418Problem: Build failure on Travis. 19419Solution: Set distribution explicitly. Use Lua and Ruby dev. (Ken Takata, 19420 closes #1884) 19421Files: .travis.yml 19422 19423Patch 8.0.0781 19424Problem: MS-Windows: Memory leak when using :terminal. 19425Solution: Handle failures properly. (Ken Takata) 19426Files: src/terminal.c 19427 19428Patch 8.0.0782 19429Problem: Using freed memory in quickfix code. (Dominique Pelle) 19430Solution: Handle a help window differently. (Yegappan Lakshmanan) 19431Files: src/buffer.c, src/proto/buffer.pro, src/quickfix.c, 19432 src/testdir/test_quickfix.vim, src/ex_cmds.c, src/window.c 19433 19434Patch 8.0.0783 19435Problem: Job of terminal may be freed too early. 19436Solution: Increment job refcount. (Yasuhiro Matsumoto) 19437Files: src/terminal.c 19438 19439Patch 8.0.0784 19440Problem: Job of terminal may be garbage collected. 19441Solution: Set copyID on job in terminal. (Ozaki Kiichi) 19442Files: src/terminal.c, src/eval.c, src/proto/terminal.pro 19443 19444Patch 8.0.0785 19445Problem: Wildcards are not expanded for :terminal. 19446Solution: Add FILES to the command flags. (Yasuhiro Matsumoto, closes #1883) 19447 Also complete commands. 19448Files: src/ex_cmds.h, src/ex_docmd.c 19449 19450Patch 8.0.0786 19451Problem: Build failures on Travis. 19452Solution: Go back to precise temporarily. Disable coverage with clang. 19453Files: .travis.yml 19454 19455Patch 8.0.0787 19456Problem: Cannot send CTRL-W command to terminal job. 19457Solution: Make CTRL-W . a prefix for sending a key to the job. 19458Files: src/terminal.c, runtime/doc/terminal.txt, src/option.c 19459 19460Patch 8.0.0788 19461Problem: MS-Windows: cannot build with terminal feature. 19462Solution: Move set_ref_in_term(). (Ozaki Kiichi) 19463Files: src/terminal.c 19464 19465Patch 8.0.0789 19466Problem: When splitting a terminal window where the terminal follows the 19467 size of the window doesn't work. 19468Solution: Use the size of the smallest window. (Yasuhiro Matsumoto, closes 19469 #1885) 19470Files: src/terminal.c 19471 19472Patch 8.0.0790 19473Problem: MSVC compiler warning for strncpy in libvterm. 19474Solution: Add a define to stop the warnings. (Mike Williams) 19475Files: src/Make_mvc.mak 19476 19477Patch 8.0.0791 19478Problem: Terminal colors depend on the system. 19479Solution: Use the highlight color lookup tables. 19480Files: src/syntax.c, src/proto/syntax.pro, src/terminal.c 19481 19482Patch 8.0.0792 19483Problem: Spell test leaves files behind. 19484Solution: Delete the files. 19485Files: src/testdir/test_spell.vim 19486 19487Patch 8.0.0793 19488Problem: Using wrong terminal name for terminal window. 19489Solution: When 'term' starts with "xterm" use it for $TERM in a terminal 19490 window. 19491Files: src/os_unix.c 19492 19493Patch 8.0.0794 19494Problem: The script to check translations fails if there is more than one 19495 NL in one line. 19496Solution: Count the number of NL characters. Make count() accept a string. 19497Files: src/po/check.vim, src/evalfunc.c, runtime/doc/eval.txt, 19498 src/testdir/test_functions.vim 19499 19500Patch 8.0.0795 19501Problem: Terminal feature does not build with older MSVC. 19502Solution: Do not use stdint.h. 19503Files: src/libvterm/include/vterm.h 19504 19505Patch 8.0.0796 19506Problem: No coverage on Travis with clang. 19507Solution: Use a specific coveralls version. (Ozaki Kiichi, closes #1888) 19508Files: .travis.yml 19509 19510Patch 8.0.0797 19511Problem: Finished job in terminal window is not handled. 19512Solution: Add the scrollback buffer. Use it to fill the buffer when the job 19513 has ended. 19514Files: src/terminal.c, src/screen.c, src/proto/terminal.pro, 19515 src/channel.c, src/os_unix.c, src/buffer.c 19516 19517Patch 8.0.0798 19518Problem: No highlighting in a terminal window with a finished job. 19519Solution: Highlight the text. 19520Files: src/terminal.c, src/proto/terminal.pro, src/screen.c, src/undo.c 19521 19522Patch 8.0.0799 19523Problem: Missing semicolon. 19524Solution: Add it. 19525Files: src/terminal.c 19526 19527Patch 8.0.0800 19528Problem: Terminal window scrollback contents is wrong. 19529Solution: Fix handling of multi-byte characters (Yasuhiro Matsumoto) Handle 19530 empty lines correctly. (closes #1891) 19531Files: src/terminal.c 19532 19533Patch 8.0.0801 19534Problem: The terminal window title sometimes still says "running" even 19535 though the job has finished. 19536Solution: Also consider the job finished when the channel has been closed. 19537Files: src/terminal.c 19538 19539Patch 8.0.0802 19540Problem: After a job exits the last line in the terminal window does not 19541 get color attributes. 19542Solution: Fix off-by-one error. 19543Files: src/terminal.c 19544 19545Patch 8.0.0803 19546Problem: Terminal window functions not yet implemented. 19547Solution: Implement several functions. Add a first test. (Yasuhiro 19548 Matsumoto, closes #1871) 19549Files: runtime/doc/eval.txt, src/Makefile, src/evalfunc.c, 19550 src/proto/evalfunc.pro, src/proto/terminal.pro, src/terminal.c, 19551 src/testdir/Make_all.mak, src/testdir/test_terminal.vim 19552 19553Patch 8.0.0804 19554Problem: Running tests fails when stdin is /dev/null. (James McCoy) 19555Solution: Do not bail out from getting input if the --not-a-term argument 19556 was given. (closes #1460) 19557Files: src/eval.c, src/evalfunc.c 19558 19559Patch 8.0.0805 19560Problem: GUI test fails with gnome2. 19561Solution: Set $HOME to an existing directory. 19562Files: src/testdir/setup.vim, src/testdir/runtest.vim 19563 19564Patch 8.0.0806 19565Problem: Tests may try to create XfakeHOME twice. 19566Solution: Avoid loading setup.vim twice. 19567Files: src/testdir/setup.vim 19568 19569Patch 8.0.0807 19570Problem: Terminal window can't handle mouse buttons. (Hirohito Higashi) 19571Solution: Implement mouse buttons and many other keys. Ignore the ones that 19572 are not implemented. 19573Files: src/terminal.c 19574 19575Patch 8.0.0808 19576Problem: Cannot build with terminal feature and DEBUG defined. (Christian 19577 Brabandt) 19578Solution: Use DEBUG_LOG3(). 19579Files: src/libvterm/src/pen.c 19580 19581Patch 8.0.0809 19582Problem: MS-Windows: tests hang. 19583Solution: Delete the XfakeHOME directory. 19584Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak 19585 19586Patch 8.0.0810 19587Problem: MS-Windows: tests still hang. 19588Solution: Only create the XfakeHOME directory if it does not exist yet. 19589Files: src/testdir/setup.vim 19590 19591Patch 8.0.0811 19592Problem: MS-Windows: test_expand_dllpath fails. 19593Solution: Change backslashes to forward slashes 19594Files: src/testdir/test_expand_dllpath.vim 19595 19596Patch 8.0.0812 19597Problem: Terminal window colors shift when 'number' is set. (Nazri Ramliy) 19598Solution: Use vcol instead of col. 19599Files: src/screen.c 19600 19601Patch 8.0.0813 19602Problem: Cannot use Vim commands in a terminal window while the job is 19603 running. 19604Solution: Implement Terminal Normal mode. 19605Files: src/terminal.c, src/proto/terminal.pro, src/main.c, src/screen.c, 19606 src/normal.c, src/option.c, runtime/doc/terminal.txt 19607 19608Patch 8.0.0814 (after 8.0.0757) 19609Problem: File in Filelist does not exist. 19610Solution: Remove the line. 19611Files: Filelist 19612 19613Patch 8.0.0815 19614Problem: Terminal window not correctly updated when 'statusline' invokes 19615 ":sleep". (NIkolay Pavlov) 19616Solution: Clear got_int. Repeat redrawing when needed. 19617Files: src/terminal.c 19618 19619Patch 8.0.0816 19620Problem: Crash when using invalid buffer number. 19621Solution: Check for NULL buffer. (Yasuhiro Matsumoto, closes #1899) 19622Files: src/terminal.c, src/testdir/test_terminal.vim 19623 19624Patch 8.0.0817 19625Problem: Cannot get the line of a terminal window at the cursor. 19626Solution: Make the row argument optional. (Yasuhiro Matsumoto, closes #1898) 19627Files: runtime/doc/eval.txt, src/evalfunc.c, src/terminal.c 19628 19629Patch 8.0.0818 19630Problem: Cannot get the cursor position of a terminal. 19631Solution: Add term_getcursor(). 19632Files: runtime/doc/eval.txt, src/evalfunc.c, src/terminal.c, 19633 src/proto/terminal.pro 19634 19635Patch 8.0.0819 19636Problem: After changing current window the cursor position in the terminal 19637 window is not updated. 19638Solution: Set w_wrow, w_wcol and w_valid. 19639Files: src/terminal.c 19640 19641Patch 8.0.0820 19642Problem: GUI: cursor in terminal window lags behind. 19643Solution: call gui_update_cursor() under different conditions. (Ozaki 19644 Kiichi, closes #1893) 19645Files: src/terminal.c 19646 19647Patch 8.0.0821 19648Problem: Cannot get the title and status of a terminal window. 19649Solution: Implement term_gettitle() and term_getstatus(). 19650Files: src/evalfunc.c, src/terminal.c, src/proto/terminal.pro, 19651 runtime/doc/eval.txt 19652 19653Patch 8.0.0822 19654Problem: Test_with_partial_callback is a tiny bit flaky. 19655Solution: Add it to the list of flaky tests. 19656Files: src/testdir/runtest.vim 19657 19658Patch 8.0.0823 19659Problem: Cannot paste text into a terminal window. 19660Solution: Make CTRL-W " work. 19661Files: src/terminal.c 19662 19663Patch 8.0.0824 19664Problem: In Terminal mode the cursor and screen gets redrawn when the job 19665 produces output. 19666Solution: Check for tl_terminal_mode. (partly by Yasuhiro Matsumoto, closes 19667 #1904) 19668Files: src/terminal.c 19669 19670Patch 8.0.0825 19671Problem: Not easy to see that a window is a terminal window. 19672Solution: Add StatusLineTerm highlighting. 19673Files: src/option.c, src/vim.h, src/screen.c, src/syntax.c 19674 19675Patch 8.0.0826 19676Problem: Cannot use text objects in Terminal mode. 19677Solution: Check for pending operator and Visual mode first. (Yasuhiro 19678 Matsumoto, closes #1906) 19679Files: src/normal.c 19680 19681Patch 8.0.0827 19682Problem: Coverity: could leak pty file descriptor, theoretically. 19683Solution: If channel is NULL, free the file descriptors. 19684Files: src/os_unix.c 19685 19686Patch 8.0.0828 19687Problem: Coverity: may dereference NULL pointer. 19688Solution: Bail out if calloc_state() returns NULL. 19689Files: src/regexp_nfa.c 19690 19691Patch 8.0.0829 19692Problem: A job running in a terminal window cannot easily communicate with 19693 the Vim it is running in. 19694Solution: Pass v:servername in an environment variable. (closes #1908) 19695Files: src/os_unix.c 19696 19697Patch 8.0.0830 19698Problem: Translating messages is not ideal. 19699Solution: Add a remark about obsolete messages. Use msgfmt in the check 19700 script. (Christian Brabandt) 19701Files: src/po/README.txt, src/po/check.vim 19702 19703Patch 8.0.0831 (after 8.0.0791) 19704Problem: With 8 colors the bold attribute is not set properly. 19705Solution: Move setting HL_TABLE() out of lookup_color. (closes #1901) 19706Files: src/syntax.c, src/proto/syntax.pro, src/terminal.c 19707 19708Patch 8.0.0832 19709Problem: Terminal function arguments are not consistent. 19710Solution: Use one-based instead of zero-based rows and cols. Use "." for 19711 the current row. 19712Files: src/terminal.c, runtime/doc/eval.txt 19713 19714Patch 8.0.0833 19715Problem: Terminal test fails. 19716Solution: Update the row argument to one based. 19717Files: src/testdir/test_terminal.vim 19718 19719Patch 8.0.0834 19720Problem: Can't build without the client-server feature. 19721Solution: Add #ifdef. 19722Files: src/os_unix.c 19723 19724Patch 8.0.0835 19725Problem: Translations check with msgfmt does not work. 19726Solution: Add a space before the file name. 19727Files: src/po/check.vim 19728 19729Patch 8.0.0836 19730Problem: When a terminal buffer is changed it can still be accidentally 19731 abandoned. 19732Solution: When making a change reset the 'buftype' option. 19733Files: src/terminal.c, src/testdir/test_terminal.vim, src/option.c 19734 19735Patch 8.0.0837 19736Problem: Signs can be drawn on top of console messages. 19737Solution: don't redraw at a prompt or when scrolled up. (Christian Brabandt, 19738 closes #1907) 19739Files: src/screen.c 19740 19741Patch 8.0.0838 19742Problem: Buffer hangs around when terminal window is closed. 19743Solution: When the job has ended wipe out a terminal buffer when the window 19744 is closed. 19745Files: src/buffer.c, src/terminal.c, src/proto/terminal.pro, 19746 src/testdir/test_terminal.vim 19747 19748Patch 8.0.0839 19749Problem: Cannot kill a job in a terminal with CTRL-C. 19750Solution: Set the controlling tty and send SIGINT. (closes #1910) 19751Files: src/os_unix.c, src/terminal.c, src/proto/os_unix.pro 19752 19753Patch 8.0.0840 19754Problem: MS-Windows: fopen() and open() prototypes do not match the ones in 19755 the system header file. Can't build without FEAT_MBYTE. 19756Solution: Add "const". Move macro to after including protoo.h. 19757Files: src/os_win32.c, src/proto/os_win32.pro, src/macros.h, src/vim.h 19758 19759Patch 8.0.0841 19760Problem: term_getline() may cause a crash. 19761Solution: Check that the row is valid. (Hirohito Higashi) 19762Files: src/terminal.c, src/testdir/test_terminal.vim 19763 19764Patch 8.0.0842 19765Problem: Using slave pty after closing it. 19766Solution: Do the ioctl() before dup'ing it. 19767Files: src/os_unix.c 19768 19769Patch 8.0.0843 19770Problem: MS-Windows: compiler warning for signed/unsigned. 19771Solution: Add type cast. (Yasuhiro Matsumoto, closes #1912) 19772Files: src/terminal.c 19773 19774Patch 8.0.0844 19775Problem: Wrong function prototype because of missing static. 19776Solution: Add "static". 19777Files: src/os_win32.c, src/proto/os_win32.pro 19778 19779Patch 8.0.0845 19780Problem: MS-Windows: missing semicolon in terminal code. 19781Solution: Add it. (Naruhiko Nishino, closes #1923) 19782Files: src/terminal.c 19783 19784Patch 8.0.0846 19785Problem: Cannot get the name of the pty of a job. 19786Solution: Add the "tty" entry to the job info. (Ozaki Kiichi, closes #1920) 19787 Add the term_gettty() function. 19788Files: runtime/doc/eval.txt, src/channel.c, src/os_unix.c, src/structs.h, 19789 src/terminal.c, src/proto/terminal.pro, src/evalfunc.c, 19790 src/testdir/test_terminal.vim 19791 19792Patch 8.0.0847 19793Problem: :argadd without argument can't handle space in file name. (Harm te 19794 Hennepe) 19795Solution: Escape the space. (Yasuhiro Matsumoto, closes #1917) 19796Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro, 19797 src/testdir/test_arglist.vim 19798 19799Patch 8.0.0848 19800Problem: Using multiple ch_log functions is clumsy. 19801Solution: Use variable arguments. (Ozaki Kiichi, closes #1919) 19802Files: src/channel.c, src/message.c, src/proto/channel.pro, 19803 src/terminal.c 19804 19805Patch 8.0.0849 19806Problem: Crash when job exit callback wipes the terminal. 19807Solution: Check for b_term to be NULL. (Yasuhiro Matsumoto, closes #1922) 19808 Implement options for term_start() to be able to test. 19809 Make term_wait() more reliable. 19810Files: src/terminal.c, src/testdir/test_terminal.vim, src/channel.c 19811 19812Patch 8.0.0850 19813Problem: MS-Windows: Depending on the console encoding, an error message 19814 that is given during startup may be broken. 19815Solution: Convert the message to the console codepage. (Yasuhiro Matsumoto, 19816 closes #1927) 19817Files: src/message.c 19818 19819Patch 8.0.0851 19820Problem: 'smartindent' is used even when 'indentexpr' is set. 19821Solution: Ignore 'smartindent' when 'indentexpr' is set. (Hirohito Higashi) 19822Files: src/misc1.c, src/testdir/test_smartindent.vim 19823 19824Patch 8.0.0852 (after 8.0.0850) 19825Problem: MS-Windows: possible crash when giving a message on startup. 19826Solution: Initialize length. (Yasuhiro Matsumoto, closes #1931) 19827Files: src/message.c 19828 19829Patch 8.0.0853 19830Problem: Crash when running terminal with unknown command. 19831Solution: Check "term" not to be NULL. (Yasuhiro Matsumoto, closes #1932) 19832Files: src/terminal.c 19833 19834Patch 8.0.0854 19835Problem: No redraw after terminal was closed. 19836Solution: Set typebuf_was_filled. (Yasuhiro Matsumoto, closes #1925, closes 19837 #1924) Add function to check for messages even when input is 19838 available. 19839Files: src/terminal.c, src/os_unix.c, src/proto/os_unix.pro, 19840 src/os_win32.c, src/proto/os_win32.pro, src/os_mswin.c 19841 19842Patch 8.0.0855 19843Problem: MS-Windows: can't get tty name of terminal. 19844Solution: Use the winpty process number. (Yasuhiro Matsumoto, closes #1929) 19845Files: src/terminal.c, src/testdir/test_terminal.vim 19846 19847Patch 8.0.0856 19848Problem: MS-Windows: terminal job doesn't take options. 19849Solution: Call job_set_options(). (Yasuhiro Matsumoto) 19850Files: src/terminal.c 19851 19852Patch 8.0.0857 19853Problem: Terminal test fails on MS-Windows. 19854Solution: Sleep a fraction of a second. 19855Files: src/testdir/test_terminal.vim 19856 19857Patch 8.0.0858 19858Problem: Can exit while a terminal is still running a job. 19859Solution: Consider a buffer with a running job like a changed file. 19860Files: src/undo.c, src/terminal.c, src/option.h, src/buffer.c, 19861 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/normal.c, 19862 src/window.c, src/testdir/test_terminal.vim 19863 19864Patch 8.0.0859 19865Problem: NULL pointer access when term_free_vterm called twice. 19866Solution: Return when tl_vterm is NULL. (Yasuhiro Matsumoto, closes #1934) 19867Files: src/terminal.c 19868 19869Patch 8.0.0860 19870Problem: There may be side effects when a channel appends to a buffer that 19871 is not the current buffer. 19872Solution: Properly switch to another buffer before appending. (Yasuhiro 19873 Matsumoto, closes #1926, closes #1937) 19874Files: src/channel.c, src/buffer.c, src/proto/buffer.pro, 19875 src/if_py_both.h 19876 19877Patch 8.0.0861 19878Problem: Still many old style tests. 19879Solution: Convert several tests to new style. (Yegappan Lakshmanan) 19880Files: src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 19881 src/testdir/main.aap, src/testdir/test104.in, 19882 src/testdir/test104.ok, src/testdir/test22.in, 19883 src/testdir/test22.ok, src/testdir/test77.in, 19884 src/testdir/test77.ok, src/testdir/test84.in, 19885 src/testdir/test84.ok, src/testdir/test9.in, src/testdir/test9.ok, 19886 src/testdir/test98.in, src/testdir/test98.ok, 19887 src/testdir/test_autocmd.vim, src/testdir/test_curswant.vim, 19888 src/testdir/test_file_size.vim, src/testdir/test_let.vim, 19889 src/testdir/test_lineending.vim, src/testdir/test_scrollbind.vim, 19890 src/Makefile 19891 19892Patch 8.0.0862 (after 8.0.0862) 19893Problem: File size test fails on MS-Windows. 19894Solution: Set fileformat after opening new buffer. Strip CR. 19895Files: src/testdir/test_file_size.vim 19896 19897Patch 8.0.0863 19898Problem: A remote command starting with CTRL-\ CTRL-N does not work in the 19899 terminal window. (Christian J. Robinson) 19900Solution: Use CTRL-\ CTRL-N as a prefix or a Normal mode command. 19901Files: src/terminal.c, runtime/doc/terminal.txt 19902 19903Patch 8.0.0864 19904Problem: Cannot specify the name of a terminal. 19905Solution: Add the "term_name" option. (Yasuhiro Matsumoto, closes #1936) 19906Files: src/channel.c, src/structs.h, src/terminal.c, runtime/doc/eval.txt 19907 19908Patch 8.0.0865 19909Problem: Cannot build with channel but without terminal feature. 19910Solution: Add #ifdef 19911Files: src/channel.c 19912 19913Patch 8.0.0866 19914Problem: Solaris also doesn't have MIN and MAX. 19915Solution: Define MIN and MAX whenever they are not defined. (Ozaki Kiichi, 19916 closes #1939) 19917Files: src/terminal.c 19918 19919Patch 8.0.0867 19920Problem: When using a job or channel value as a dict value, when turning it 19921 into a string the quotes are missing. 19922Solution: Add quotes to the job and channel values. (Yasuhiro Matsumoto, 19923 closes #1930) 19924Files: src/list.c, src/eval.c, src/testdir/test_terminal.vim 19925 19926Patch 8.0.0868 19927Problem: Cannot specify the terminal size on the command line. 19928Solution: Use the address range for the terminal size. (Yasuhiro Matsumoto, 19929 closes #1941) 19930Files: src/terminal.c, src/testdir/test_terminal.vim 19931 19932Patch 8.0.0869 19933Problem: Job output is sometimes not displayed in a terminal. 19934Solution: Flush output before closing the channel. 19935Files: src/channel.c, src/terminal.c 19936 19937Patch 8.0.0870 19938Problem: Mouse escape codes sent to terminal unintentionally. 19939Solution: Fix libvterm to send mouse codes only when enabled. 19940Files: src/terminal.c, src/libvterm/src/mouse.c 19941 19942Patch 8.0.0871 19943Problem: The status line for a terminal window always has "[+]". 19944Solution: Do make the status line include "[+]" for a terminal window. 19945Files: src/screen.c 19946 19947Patch 8.0.0872 19948Problem: Using mouse scroll while a terminal window has focus and the mouse 19949 pointer is on another window does not work. Same for focus in a 19950 non-terminal window and the mouse pointer is over a terminal 19951 window. 19952Solution: Send the scroll action to the right window. 19953Files: src/terminal.c, src/normal.c, src/proto/terminal.pro 19954 19955Patch 8.0.0873 19956Problem: In a terminal window cannot use CTRL-\ CTRL-N to start Visual 19957 mode. 19958Solution: After CTRL-\ CTRL-N enter Terminal-Normal mode for one command. 19959Files: src/main.c, src/terminal.c, src/proto/terminal.pro 19960 19961Patch 8.0.0874 (after 8.0.0873) 19962Problem: Can't build with terminal feature. 19963Solution: Include change to term_use_loop(). (Dominique Pelle) 19964Files: src/normal.c 19965 19966Patch 8.0.0875 19967Problem: Crash with weird command sequence. (Dominique Pelle) 19968Solution: Use vim_snprintf() instead of STRCPY(). 19969Files: src/misc1.c 19970 19971Patch 8.0.0876 19972Problem: MS-Windows: Backslashes and wildcards in backticks don't work. 19973Solution: Do not handle backslashes inside backticks in the wrong place. 19974 (Yasuhiro Matsumoto, closes #1942) 19975Files: src/os_mswin.c, src/os_win32.c 19976 19977Patch 8.0.0877 19978Problem: Using CTRL-\ CTRL-N in terminal is inconsistent. 19979Solution: Stay in Normal mode. 19980Files: src/terminal.c, src/proto/terminal.pro, src/main.c, src/normal.c, 19981 src/option.c 19982 19983Patch 8.0.0878 19984Problem: No completion for :mapclear. 19985Solution: Add completion (Nobuhiro Takasaki et al. closes #1943) 19986Files: runtime/doc/eval.txt, runtime/doc/map.txt, src/ex_docmd.c, 19987 src/ex_getln.c, src/proto/ex_docmd.pro, 19988 src/testdir/test_cmdline.vim, src/vim.h 19989 19990Patch 8.0.0879 19991Problem: Crash when shifting with huge number. 19992Solution: Check for overflow. (Dominique Pelle, closes #1945) 19993Files: src/ops.c, src/testdir/test_visual.vim 19994 19995Patch 8.0.0880 19996Problem: Travis uses an old Ubuntu version. 19997Solution: Switch from precise to trusty. (Ken Takata, closes #1897) 19998Files: .travis.yml, Filelist, src/testdir/if_ver-1.vim, 19999 src/testdir/if_ver-2.vim, src/testdir/lsan-suppress.txt 20000 20001Patch 8.0.0881 20002Problem: win32.mak no longer included in Windows SDK. 20003Solution: Do not include win32.mak. (Ken Takata) 20004Files: src/GvimExt/Makefile, src/Make_mvc.mak 20005 20006Patch 8.0.0882 20007Problem: term_scrape() and term_getline() require two arguments but it is 20008 not enforced. 20009Solution: Correct minimal number of arguments. (Hirohito Higashi) Update 20010 documentation. (Ken Takata) 20011Files: src/evalfunc.c, runtime/doc/eval.txt 20012 20013Patch 8.0.0883 20014Problem: Invalid memory access with nonsensical script. 20015Solution: Check "dstlen" being positive. (Dominique Pelle) 20016Files: src/misc1.c 20017 20018Patch 8.0.0884 20019Problem: Can't specify the wait time for term_wait(). 20020Solution: Add an optional second argument. 20021Files: src/evalfunc.c, src/terminal.c, runtime/doc/eval.txt 20022 20023Patch 8.0.0885 20024Problem: Terminal window scrollback is stored inefficiently. 20025Solution: Store the text in the Vim buffer. 20026Files: src/terminal.c, src/testdir/test_terminal.vim 20027 20028Patch 8.0.0886 20029Problem: Crash when using ":term ls". 20030Solution: Fix line number computation. Add a test for this. 20031Files: src/terminal.c, src/testdir/test_terminal.vim 20032 20033Patch 8.0.0887 20034Problem: Can create a logfile in the sandbox. 20035Solution: Disable ch_logfile() in the sandbox. (Yasuhiro Matsumoto) 20036Files: src/evalfunc.c 20037 20038Patch 8.0.0888 20039Problem: Compiler warnings with 64 bit build. 20040Solution: Add type cast of change the type. (Mike Williams) 20041Files: src/message.c, src/os_mswin.c, src/os_win32.c 20042 20043Patch 8.0.0889 20044Problem: Gcc gives warnings for uninitialized variables. (Tony Mechelynck) 20045Solution: Initialize variables even though they are not used. 20046Files: src/terminal.c 20047 20048Patch 8.0.0890 20049Problem: Still many old style tests. 20050Solution: Convert several tests to new style. (Yegappan Lakshmanan) 20051Files: src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 20052 src/testdir/test103.in, src/testdir/test103.ok, 20053 src/testdir/test107.in, src/testdir/test107.ok, 20054 src/testdir/test51.in, src/testdir/test51.ok, 20055 src/testdir/test91.in, src/testdir/test91.ok, 20056 src/testdir/test_getvar.vim, src/testdir/test_highlight.vim, 20057 src/testdir/test_visual.vim, src/testdir/test_window_cmd.vim, 20058 src/Makefile 20059 20060Patch 8.0.0891 20061Problem: Uninitialized memory use with empty line in terminal. 20062Solution: Initialize growarray earlier. (Yasuhiro Matsumoto, closes #1949) 20063Files: src/terminal.c 20064 20065Patch 8.0.0892 20066Problem: When opening a terminal the pty size doesn't always match. 20067Solution: Update the pty size after opening the terminal. (Ken Takata) 20068Files: src/terminal.c 20069 20070Patch 8.0.0893 20071Problem: Cannot get the scroll count of a terminal window. 20072Solution: Add term_getscrolled(). 20073Files: src/terminal.c, src/proto/terminal.pro, src/evalfunc.c, 20074 runtime/doc/eval.txt, src/testdir/test_terminal.vim 20075 20076Patch 8.0.0894 20077Problem: There is no test for runtime filetype detection. 20078Solution: Test a list of filetypes from patterns. 20079Files: src/testdir/test_filetype.vim, runtime/filetype.vim 20080 20081Patch 8.0.0895 (after 8.0.0894) 20082Problem: Filetype test fails on MS-Windows. 20083Solution: Fix file names. 20084Files: src/testdir/test_filetype.vim 20085 20086Patch 8.0.0896 20087Problem: Cannot automatically close a terminal window when the job ends. 20088Solution: Add the ++close argument to :term. Add the term_finish option to 20089 term_start(). (Yasuhiro Matsumoto, closes #1950) Also add 20090 ++open. 20091Files: runtime/doc/eval.txt, runtime/doc/terminal.txt, src/channel.c, 20092 src/structs.h, src/terminal.c, src/testdir/test_terminal.vim 20093 20094Patch 8.0.0897 (after 8.0.0896) 20095Problem: Wrong error message for invalid term_finish value 20096Solution: Pass the right argument to emsg(). 20097Files: src/channel.c 20098 20099Patch 8.0.0898 20100Problem: Can't use the alternate screen in a terminal window. 20101Solution: Initialize the alternate screen. (Yasuhiro Matsumoto, closes 20102 #1957) Add term_getaltscreen(). 20103Files: src/libvterm/include/vterm.h, src/terminal.c, 20104 src/proto/terminal.pro, src/evalfunc.c, runtime/doc/eval.txt 20105 20106Patch 8.0.0899 20107Problem: Function name mch_stop_job() is confusing. 20108Solution: Rename to mch_signal_job(). 20109Files: src/channel.c, src/os_unix.c, src/proto/os_unix.pro, 20110 src/os_win32.c, src/proto/os_win32.pro, src/terminal.c 20111 20112Patch 8.0.0900 20113Problem: :tab options doesn't open a new tab page. (Aviany) 20114Solution: Support the :tab modifier. (closes #1960) 20115Files: src/ex_cmds2.c, runtime/optwin.vim 20116 20117Patch 8.0.0901 20118Problem: Asan suppress file missing from distribution. 20119Solution: Add the file. 20120Files: Filelist 20121 20122Patch 8.0.0902 20123Problem: Cannot specify directory or environment for a job. 20124Solution: Add the "cwd" and "env" arguments to job options. (Yasuhiro 20125 Matsumoto, closes #1160) 20126Files: runtime/doc/channel.txt, src/channel.c, src/terminal.c, 20127 src/os_unix.c, src/os_win32.c, src/structs.h, 20128 src/testdir/test_channel.vim, src/testdir/test_terminal.vim 20129 20130Patch 8.0.0903 (after 8.0.0902) 20131Problem: Early return from test function. 20132Solution: Remove the return. 20133Files: src/testdir/test_terminal.vim 20134 20135Patch 8.0.0904 20136Problem: Cannot set a location list from text. 20137Solution: Add the "text" argument to setqflist(). (Yegappan Lakshmanan) 20138Files: runtime/doc/eval.txt, src/quickfix.c, 20139 src/testdir/test_quickfix.vim 20140 20141Patch 8.0.0905 20142Problem: MS-Windows: broken multi-byte characters in the console. 20143Solution: Restore all regions of the console buffer. (Ken Takata) 20144Files: src/os_win32.c 20145 20146Patch 8.0.0906 20147Problem: Don't recognize Couchbase files. 20148Solution: Add filetype detection. (Eugene Ciurana, closes #1951) 20149Files: runtime/filetype.vim, src/testdir/test_filetype.vim 20150 20151Patch 8.0.0907 20152Problem: With cp932 font names might be misinterpreted. 20153Solution: Do not see "_" as a space when it is the second byte of a double 20154 byte character. (Ken Takata) 20155Files: src/os_win32.c 20156 20157Patch 8.0.0908 20158Problem: Cannot set terminal size with options. 20159Solution: Add "term_rows", "term_cols" and "vertical". 20160Files: src/terminal.c, runtime/doc/eval.txt, src/channel.c, 20161 src/proto/channel.pro, src/structs.h, src/evalfunc.c, 20162 src/testdir/test_terminal.vim 20163 20164Patch 8.0.0909 20165Problem: Channel test fails. 20166Solution: Allow for "cwd" and "env" arguments. 20167Files: src/channel.c 20168 20169Patch 8.0.0910 20170Problem: Cannot create a terminal in the current window. 20171Solution: Add option "curwin" and ++curwin. 20172Files: src/terminal.c, runtime/doc/eval.txt, src/channel.c, 20173 src/structs.h, src/ex_cmds.h, src/testdir/test_terminal.vim 20174 20175Patch 8.0.0911 20176Problem: Terminal test takes too long. 20177Solution: Instead of "sleep 1" use a Python program to briefly sleep. 20178Files: src/testdir/test_terminal.vim, src/testdir/test_short_sleep.py 20179 20180Patch 8.0.0912 20181Problem: Cannot run a job in a hidden terminal. 20182Solution: Add option "hidden" and ++hidden. 20183Files: src/terminal.c, src/structs.h, src/channel.c, src/fileio.c, 20184 runtime/doc/terminal.txt, src/testdir/test_terminal.vim 20185 20186Patch 8.0.0913 20187Problem: MS-Windows: CTRL-C kills shell in terminal window instead of the 20188 command running in the shell. 20189Solution: Make CTRL-C only send a CTRL_C_EVENT and have CTRL-BREAK kill the 20190 job. (partly by Yasuhiro Matsumoto, closes #1962) 20191Files: src/os_win32.c, src/gui_w32.c, src/terminal.c, src/globals.h 20192 20193Patch 8.0.0914 20194Problem: Highlight attributes are always combined. 20195Solution: Add the 'nocombine' value to replace attributes instead of 20196 combining them. (scauligi, closes #1963) 20197Files: runtime/doc/syntax.txt, src/syntax.c, src/vim.h 20198 20199Patch 8.0.0915 20200Problem: Wrong initialisation of global. 20201Solution: Use INIT(). 20202Files: src/globals.h 20203 20204Patch 8.0.0916 20205Problem: Cannot specify properties of window for when opening a window for 20206 a finished terminal job. 20207Solution: Add "term_opencmd". 20208Files: src/channel.c, src/structs.h, src/terminal.c, 20209 runtime/doc/eval.txt, src/testdir/test_terminal.vim 20210 20211Patch 8.0.0917 20212Problem: MS-Windows:CTRL-C handling in terminal window is wrong 20213Solution: Pass CTRL-C as a key. Turn CTRL-BREAK into a key stroke. (Yasuhiro 20214 Matsumoto, closes #1965) 20215Files: src/os_win32.c, src/terminal.c 20216 20217Patch 8.0.0918 20218Problem: Cannot get terminal window cursor shape or attributes. 20219Solution: Support cursor shape, attributes and color. 20220Files: src/terminal.c, runtime/doc/eval.txt, 20221 src/libvterm/include/vterm.h, src/libvterm/src/state.c, 20222 src/libvterm/src/vterm.c, src/feature.h, src/ui.c, 20223 src/proto/ui.pro, src/term.c, src/proto/term.pro, 20224 src/option.c, src/term.h 20225 20226Patch 8.0.0919 20227Problem: Cursor color isn't set on startup. 20228Solution: Initialize showing_mode to invalid value. 20229Files: src/term.c 20230 20231Patch 8.0.0920 20232Problem: The cursor shape is wrong after switch back from an alternate 20233 screen in a terminal window. (Marius Gedminas) 20234Solution: Change bitfield to unsigned. Set flag that cursor shape was set. 20235Files: src/terminal.c, src/libvterm/src/vterm_internal.h 20236 20237Patch 8.0.0921 20238Problem: Terminal window cursor shape not supported in the GUI. 20239Solution: Use the terminal window cursor shape in the GUI. 20240Files: src/terminal.c, src/proto/terminal.pro, src/gui.c, src/syntax.c, 20241 src/proto/syntax.pro 20242 20243Patch 8.0.0922 20244Problem: Quickfix list always added after current one. 20245Solution: Make it possible to add a quickfix list after the last one. 20246 (Yegappan Lakshmanan) 20247Files: runtime/doc/eval.txt, src/quickfix.c, 20248 src/testdir/test_quickfix.vim 20249 20250Patch 8.0.0923 20251Problem: Crash in GUI when terminal job exits. (Kazunobu Kuriyama) 20252Solution: reset in_terminal_loop when a terminal is freed. 20253Files: src/terminal.c, src/testdir/test_terminal.vim 20254 20255Patch 8.0.0924 20256Problem: Terminal window not updated after using term_sendkeys(). 20257Solution: Call redraw_after_callback(). 20258Files: src/terminal.c 20259 20260Patch 8.0.0925 20261Problem: MS-Windows GUI: channel I/O not handled right away. 20262Solution: Don't call process_message() unless a message is available. 20263 (Yasuhiro Matsumoto, closes #1969) 20264Files: src/gui_w32.c 20265 20266Patch 8.0.0926 20267Problem: When job in terminal window ends topline may be wrong. 20268Solution: When the job ends adjust topline so that the active part of the 20269 terminal is displayed. 20270Files: src/terminal.c 20271 20272Patch 8.0.0927 20273Problem: If a terminal job sends a blank title "running" is not shown. 20274Solution: When the title is blank make it empty. 20275Files: src/terminal.c 20276 20277Patch 8.0.0928 20278Problem: MS-Windows: passing arglist to job has escaping problems. 20279Solution: Improve escaping. (Yasuhiro Matsumoto, closes #1954) 20280Files: src/testdir/test_channel.vim, src/testdir/test_terminal.vim, 20281 src/channel.c, src/proto/channel.pro, src/terminal.c 20282 20283Patch 8.0.0929 20284Problem: :term without argument does not work. 20285Solution: Use shell for empty command. (Yasuhiro Matsumoto, closes #1970) 20286Files: src/terminal.c 20287 20288Patch 8.0.0930 20289Problem: Terminal buffers are stored in the viminfo file while they can't 20290 be useful. 20291Solution: Skip terminal buffers for file marks and buffer list 20292Files: src/buffer.c, src/mark.c 20293 20294Patch 8.0.0931 20295Problem: getwininfo() does not indicate a terminal window. 20296Solution: Add "terminal" to the dictionary. 20297Files: runtime/doc/eval.txt, src/evalfunc.c 20298 20299Patch 8.0.0932 20300Problem: Terminal may not use right characters for BS and Enter. 20301Solution: Get the characters from the tty. 20302Files: src/os_unix.c, src/proto/os_unix.pro, src/terminal.c 20303 20304Patch 8.0.0933 20305Problem: Terminal test tries to start GUI when it's not possible. 20306Solution: Check if the GUI can run. (James McCoy, closes #1971) 20307Files: src/testdir/shared.vim, src/testdir/test_terminal.vim, 20308 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim 20309 20310Patch 8.0.0934 (after 8.0.0932) 20311Problem: Change to struts.h missing in patch. 20312Solution: Include adding ttyinfo_T. 20313Files: src/structs.h 20314 20315Patch 8.0.0935 20316Problem: Cannot recognize a terminal buffer in :ls output. 20317Solution: Use R for a running job and F for a finished job. 20318Files: src/buffer.c 20319 20320Patch 8.0.0936 20321Problem: mode() returns wrong value for a terminal window. 20322Solution: Return 't' when typed keys go to a job. 20323Files: src/evalfunc.c, src/testdir/test_terminal.vim 20324 20325Patch 8.0.0937 20326Problem: User highlight groups are not adjusted for StatusLineTerm. 20327Solution: Combine attributes like for StatusLineNC. 20328Files: src/syntax.c, src/globals.h, src/screen.c 20329 20330Patch 8.0.0938 20331Problem: Scrolling in terminal window is inefficient. 20332Solution: Use win_del_lines(). 20333Files: src/terminal.c 20334 20335Patch 8.0.0939 20336Problem: Test_terminal_env is flaky. (James McCoy) 20337Solution: Use WaitFor() instead of term_wait(). 20338Files: src/testdir/test_terminal.vim 20339 20340Patch 8.0.0940 20341Problem: Test_terminal_scrape_multibyte is flaky. (James McCoy) 20342Solution: Use WaitFor() instead of term_wait(). 20343Files: src/testdir/test_terminal.vim 20344 20345Patch 8.0.0941 20346Problem: Existing color schemes don't work well with StatusLineTerm. 20347Solution: Don't use "reverse", use fg and bg colors. Also add 20348 StatusLineTermNC. 20349Files: src/syntax.c, src/vim.h, src/screen.c, src/globals.h, src/option.c 20350 20351Patch 8.0.0942 20352Problem: Using freed memory with ":terminal" if an autocommand changes 20353 'shell' when splitting the window. (Marius Gedminas) 20354Solution: Make a copy of 'shell'. (closes #1974) 20355Files: src/terminal.c 20356 20357Patch 8.0.0943 20358Problem: Test_terminal_scrape_multibyte fails if the codepage is not utf-8. 20359Solution: Start "cmd" with the utf-8 codepage. (micbou, closes #1975) 20360Files: src/testdir/test_terminal.vim 20361 20362Patch 8.0.0944 20363Problem: Test_profile is a little bit flaky. 20364Solution: Accept a match when self and total time are the same. (James 20365 McCoy, closes #1972) 20366Files: src/testdir/test_profile.vim 20367 20368Patch 8.0.0945 20369Problem: 64-bit compiler warnings. 20370Solution: Use "size_t" instead of "int". (Mike Williams) 20371Files: src/os_win32.c 20372 20373Patch 8.0.0946 20374Problem: Using PATH_MAX does not work well on some systems. 20375Solution: use MAXPATHL instead. (James McCoy, closes #1973) 20376Files: src/main.c 20377 20378Patch 8.0.0947 20379Problem: When in Insert mode and using CTRL-O CTRL-W CTRL-W to move to a 20380 terminal window, get in a weird Insert mode. 20381Solution: Don't go to Insert mode in a terminal window. (closes #1977) 20382Files: src/normal.c 20383 20384Patch 8.0.0948 20385Problem: Crash if timer closes window while dragging status line. 20386Solution: Check if the window still exists. (Yasuhiro Matsumoto, closes 20387 #1979) 20388Files: src/edit.c, src/evalfunc.c, src/gui.c, src/normal.c, src/ui.c 20389 20390Patch 8.0.0949 20391Problem: winpty.dll name is fixed. 20392Solution: Add the 'winptydll' option. Make the default name depend on 20393 whether it is a 32-bit or 64-bit build. (idea by Yasuhiro 20394 Matsumoto, closes #1978) 20395Files: src/option.c, src/option.h, src/terminal.c, 20396 runtime/doc/options.txt 20397 20398Patch 8.0.0950 20399Problem: MS-Windows: wrong #ifdef, compiler warnings for signed/unsigned. 20400Solution: Change variable type. Change TERMINAL to FEAT_TERMINAL. 20401Files: src/os_win32.c, src/option.h 20402 20403Patch 8.0.0951 20404Problem: Another wrong #ifdef. 20405Solution: Change TERMINAL to FEAT_TERMINAL. (closes #1981) 20406Files: src/option.c 20407 20408Patch 8.0.0952 20409Problem: MS-Windows: has('terminal') does not check existence of dll file. 20410Solution: Check if the winpty dll file can be loaded. (Ken Takata) 20411Files: src/evalfunc.c, src/proto/terminal.pro, src/terminal.c 20412 20413Patch 8.0.0953 20414Problem: Get "no write since last change" error in terminal window. 20415Solution: Use another message when closing a terminal window. Make ":quit!" 20416 also end the job. 20417Files: src/globals.h, src/buffer.c, src/proto/buffer.pro, src/ex_cmds.c, 20418 src/ex_cmds2.c, src/ex_docmd.c, src/quickfix.c, src/terminal.c 20419 20420Patch 8.0.0954 20421Problem: /proc/self/exe might be a relative path. 20422Solution: Make the path a full path. (James McCoy, closes #1983) 20423Files: src/main.c 20424 20425Patch 8.0.0955 20426Problem: Test_existent_file() fails on some file systems. 20427Solution: Run the test again with a sleep when the test fails without a 20428 sleep. (James McCoy, closes #1984) 20429Files: src/testdir/test_stat.vim 20430 20431Patch 8.0.0956 20432Problem: Scrolling in a terminal hwindow as flicker when the Normal 20433 background differs from the terminal window background. 20434Solution: Set the attribute to clear with. 20435Files: src/terminal.c, src/screen.c, src/proto/screen.pro, src/message.c, 20436 src/move.c 20437 20438Patch 8.0.0957 20439Problem: When term_sendkeys() sends many keys it may get stuck in writing 20440 to the job. 20441Solution: Make the write non-blocking, buffer keys to be sent. 20442Files: src/terminal.c, src/channel.c, src/proto/channel.pro, 20443 src/structs.h src/testdir/test_terminal.vim 20444 20445Patch 8.0.0958 20446Problem: The terminal test fails on MS-Windows when compiled with the 20447 terminal feature but the winpty DLL is missing. 20448Solution: Check if the terminal feature works. (Ken Takata) 20449Files: src/testdir/test_terminal.vim 20450 20451Patch 8.0.0959 20452Problem: Build failure on MS-Windows. 20453Solution: Use ioctlsocket() instead of fcntl(). 20454Files: src/channel.c 20455 20456Patch 8.0.0960 20457Problem: Job in terminal does not get CTRL-C, we send a SIGINT instead. 20458Solution: Don't call may_send_sigint() on CTRL-C. Make CTRL-W CTRL-C end 20459 the job. 20460Files: src/terminal.c, runtime/doc/terminal.txt 20461 20462Patch 8.0.0961 20463Problem: The script to build the installer does not include winpty. 20464Solution: Add winpty32.dll and winpty-agent.exe like diff.exe 20465Files: nsis/gvim.nsi 20466 20467Patch 8.0.0962 20468Problem: Crash with virtualedit and joining lines. (Joshua T Corbin, Neovim 20469 #6726) 20470Solution: When using a mark check that coladd is valid. 20471Files: src/normal.c, src/misc2.c, src/Makefile, 20472 src/testdir/test_virtualedit.vim, src/testdir/test_alot.vim 20473 20474Patch 8.0.0963 20475Problem: Terminal test fails on MacOS. (chdiza) 20476Solution: Wait for the shell to echo the characters. (closes #1991) 20477Files: src/testdir/test_terminal.vim 20478 20479Patch 8.0.0964 20480Problem: Channel write buffer does not work with poll(). 20481Solution: Use the same mechanism as with select(). 20482Files: src/channel.c 20483 20484Patch 8.0.0965 20485Problem: The cursor shape is not reset after it was changed in a terminal. 20486Solution: Request the original cursor shape and restore it. Add t_RS. 20487 Do not add t_SH for now, it does not work properly. 20488Files: src/term.c, src/term.h, src/option.c, src/terminal.c 20489 20490Patch 8.0.0966 (after 8.0.0965) 20491Problem: Build failure without terminal feature. 20492Solution: Move #endif. 20493Files: src/term.c 20494 20495Patch 8.0.0967 20496Problem: Using a terminal may cause the cursor to blink. 20497Solution: Do not set t_vs, since we cannot restore the old blink state. 20498Files: src/term.c 20499 20500Patch 8.0.0968 20501Problem: Crash when switching terminal modes. (Nikolai Pavlov) 20502Solution: Check that there are scrollback lines. 20503Files: src/terminal.c 20504 20505Patch 8.0.0969 20506Problem: Coverity warning for unused return value. 20507Solution: Add (void) to avoid the warning. 20508Files: src/channel.c 20509 20510Patch 8.0.0970 20511Problem: if there is no StatusLine highlighting and there is StatusLineNC 20512 or StatusLineTermNC highlighting then an invalid highlight id is 20513 passed to combine_stl_hlt(). (Coverity) 20514Solution: Check id_S to be -1 instead of zero. 20515Files: src/syntax.c 20516 20517Patch 8.0.0971 20518Problem: 'winptydll' missing from :options. 20519Solution: Add the entry. 20520Files: runtime/optwin.vim 20521 20522Patch 8.0.0972 20523Problem: Compiler warnings for unused variables. (Tony Mechelynck) 20524Solution: Add #ifdefs. 20525Files: src/term.c 20526 20527Patch 8.0.0973 20528Problem: initial info about blinking cursor is wrong 20529Solution: Invert the blink flag. Add t_VS to stop a blinking cursor. 20530Files: src/term.c, src/proto/term.pro, src/term.h, src/option.c, 20531 src/terminal.c 20532 20533Patch 8.0.0974 20534Problem: Resetting a string option does not trigger OptionSet. (Rick Howe) 20535Solution: Set the origval. 20536Files: src/option.c, src/testdir/test_autocmd.vim 20537 20538Patch 8.0.0975 20539Problem: Using freed memory when setting 'backspace'. 20540Solution: When changing oldval also change origval. 20541Files: src/option.c 20542 20543Patch 8.0.0976 20544Problem: Cannot send lines to a terminal job. 20545Solution: Make [range]terminal send selected lines to the job. 20546 Use ++rows and ++cols for the terminal size. 20547Files: src/ex_cmds.h, src/terminal.c, src/os_unix.c, 20548 src/testdir/test_terminal.vim 20549 20550Patch 8.0.0977 20551Problem: Cannot send lines to a terminal job on MS-Windows. 20552Solution: Set jv_in_buf. Command doesn't get EOF yet though. 20553Files: src/terminal.c 20554 20555Patch 8.0.0978 20556Problem: Writing to terminal job is not tested. 20557Solution: Add a test. 20558Files: src/testdir/test_terminal.vim 20559 20560Patch 8.0.0979 20561Problem: Terminal noblock test fails on MS-Windows. (Christian Brabandt) 20562Solution: Ignore empty line below "done". 20563Files: src/testdir/test_terminal.vim 20564 20565Patch 8.0.0980 20566Problem: Coverity warning for failing to open /dev/null. 20567Solution: When /dev/null can't be opened exit the child. 20568Files: src/os_unix.c 20569 20570Patch 8.0.0981 20571Problem: Cursor in terminal window blinks by default, while in a real xterm 20572 it does not blink, unless the -bc argument is used. 20573Solution: Do not use a blinking cursor by default. 20574Files: src/terminal.c 20575 20576Patch 8.0.0982 20577Problem: When 'encoding' is set to a multi-byte encoding other than utf-8 20578 the characters from their terminal are messed up. 20579Solution: Convert displayed text from utf-8 to 'encoding' for MS-Windows. 20580 (Yasuhiro Matsumoto, close #2000) 20581Files: src/terminal.c 20582 20583Patch 8.0.0983 20584Problem: Unnecessary check for NULL pointer. 20585Solution: Remove the NULL check in dialog_changed(), it already happens in 20586 dialog_msg(). (Ken Takata) 20587Files: src/ex_cmds2.c 20588 20589Patch 8.0.0984 20590Problem: Terminal blinking cursor not correct in the GUI. 20591Solution: Set blinkoff correctly. Also make the cursor blink on MS-Windows 20592 by default. (Ken Takata) 20593Files: src/terminal.c 20594 20595Patch 8.0.0985 20596Problem: Libvterm has its own idea of character width. 20597Solution: Use the Vim functions for character width and composing to avoid a 20598 mismatch. (idea by Yasuhiro Matsumoto) 20599Files: src/Makefile, src/libvterm/src/unicode.c, src/mbyte.c, 20600 src/proto/mbyte.pro, src/Make_cyg_ming.mak, src/Make_mvc.mak 20601 20602Patch 8.0.0986 20603Problem: Terminal feature always requires multi-byte feature. 20604Solution: Remove #ifdef FEAT_MBYTE, disable terminal without multi-byte. 20605Files: src/terminal.c, src/feature.h 20606 20607Patch 8.0.0987 20608Problem: terminal: second byte of double-byte char wrong 20609Solution: Set the second byte to NUL only for utf-8 and non-multibyte. 20610Files: src/terminal.c 20611 20612Patch 8.0.0988 20613Problem: Warning from Covscan about using NULL pointer. 20614Solution: Add extra check for NULL. (zdohnal) 20615Files: src/fileio.c, src/undo.c 20616 20617Patch 8.0.0989 20618Problem: ActiveTcl dll name has changed in 8.6.6. 20619Solution: Adjust the makefile. (Ken Takata) 20620Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak 20621 20622Patch 8.0.0990 20623Problem: When 'encoding' is a double-byte encoding, pasting a register into 20624 a terminal ends up with the wrong characters. 20625Solution: Convert from 'encoding' to utf-8. (Yasuhiro Matsumoto, closes 20626 #2007) 20627Files: src/terminal.c 20628 20629Patch 8.0.0991 20630Problem: Using wrong character conversion for DBCS. 20631Solution: Use utf_char2bytes instead of mb_char2bytes. (Yasuhiro Matsumoto, 20632 closes #2012) 20633Files: src/terminal.c 20634 20635Patch 8.0.0992 20636Problem: Terminal title is wrong when 'encoding' is DBCS. 20637Solution: Convert the title from DBCS to utf-8. (Yasuhiro Matsumoto, closes 20638 #2009) 20639Files: src/terminal.c 20640 20641Patch 8.0.0993 20642Problem: Sometimes an xterm sends an extra CTRL-X after the response for 20643 the background color. Related to t_RS. 20644Solution: Check for the CTRL-X after the terminating 0x7. 20645Files: src/term.c 20646 20647Patch 8.0.0994 20648Problem: MS-Windows: cursor in terminal blinks even though the blinking 20649 cursor was disabled on the system. 20650Solution: Use GetCaretBlinkTime(). (Ken Takata) 20651Files: src/terminal.c 20652 20653Patch 8.0.0995 20654Problem: Terminal tests fail on Mac. 20655Solution: Add workaround: sleep a moment in between sending keys. 20656Files: src/testdir/test_terminal.vim 20657 20658Patch 8.0.0996 20659Problem: Mac: t_RS is echoed on the screen in Terminal.app. Even though 20660 $TERM is set to "xterm-256colors" it cannot handle this xterm 20661 escape sequence. 20662Solution: Recognize Terminal.app from the termresponse and skip sending t_RS 20663 if it looks like Terminal.app. 20664Files: src/term.c 20665 20666Patch 8.0.0997 (after 8.0.0996) 20667Problem: Libvterm and Terminal.app not recognized from termresponse. 20668Solution: Adjust string compare. 20669Files: src/term.c 20670 20671Patch 8.0.0998 20672Problem: Strange error when using K while only spaces are selected. 20673 (Christian J. Robinson) 20674Solution: Check for blank argument. 20675Files: src/normal.c, src/testdir/test_help.vim 20676 20677Patch 8.0.0999 20678Problem: Indenting raw C++ strings is wrong. 20679Solution: Add special handling of raw strings. (Christian Brabandt) 20680Files: src/misc1.c, src/testdir/test_cindent.vim 20681 20682Patch 8.0.1000 20683Problem: Cannot open a terminal without running a job in it. 20684Solution: Make ":terminal NONE" open a terminal with a pty. 20685Files: src/terminal.c, src/os_unix.c, src/proto/os_unix.pro, 20686 src/channel.c, src/proto/channel.pro, src/structs.h, 20687 src/testdir/test_terminal.c, src/misc2.c, src/gui_gtk_x11.c 20688 20689Patch 8.0.1001 20690Problem: Setting 'encoding' makes 'printheader' invalid. 20691Solution: Do not translate the default value of 'printheader'. (Yasuhiro 20692 Matsumoto, closes #2026) 20693Files: src/option.c 20694 20695Patch 8.0.1002 20696Problem: Unnecessarily updating screen after timer callback. 20697Solution: Check if calling the timer sets must_redraw. 20698Files: src/ex_cmds2.c, src/channel.c, src/screen.c, src/proto/screen.pro, 20699 src/terminal.c 20700 20701Patch 8.0.1003 20702Problem: 64 bit compiler warning 20703Solution: Add type cast. (Mike Williams) 20704Files: src/channel.c 20705 20706Patch 8.0.1004 20707Problem: matchstrpos() without a match returns too many items. 20708Solution: Also remove the second item when the position is beyond the end of 20709 the string. (Hirohito Higashi) Use an enum for the type. 20710Files: src/evalfunc.c, src/testdir/test_match.vim 20711 20712Patch 8.0.1005 20713Problem: Terminal without job updates slowly in GUI. 20714Solution: Poll for input when a channel has the keep_open flag. 20715Files: src/channel.c, src/proto/channel.pro, src/gui_gtk_x11.c 20716 20717Patch 8.0.1006 20718Problem: Cannot parse text with 'errorformat' without changing a quickfix 20719 list. 20720Solution: Add the "text" argument to getqflist(). (Yegappan Lakshmanan) 20721Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/quickfix.pro, 20722 src/quickfix.c, src/testdir/test_quickfix.vim 20723 20724Patch 8.0.1007 20725Problem: No test for filetype detection for scripts. 20726Solution: Add a first test file script filetype detection. 20727Files: src/testdir/test_filetype.vim, runtime/scripts.vim 20728 20729Patch 8.0.1008 20730Problem: Slow updating of terminal window in Motif. 20731Solution: Add a timeout to the wait-for-character loop. 20732Files: src/gui_x11.c 20733 20734Patch 8.0.1009 20735Problem: Xterm cursor blinking status may be inverted. 20736Solution: Use another request to get the blink status and compare with the 20737 cursor style report 20738Files: src/term.c, src/proto/term.pro, src/term.h, src/option.c, 20739 src/terminal.c 20740 20741Patch 8.0.1010 (after 8.0.1009) 20742Problem: Build failure without termresponse feature. 20743Solution: Add #ifdef. 20744Files: src/term.c 20745 20746Patch 8.0.1011 20747Problem: Terminal test fails with Athena and Motif. 20748Solution: Ignore the error for the input context. (Kazunobu Kuriyama) 20749Files: src/testdir/test_terminal.vim 20750 20751Patch 8.0.1012 20752Problem: MS-Windows: Problem with $HOME when it was set internally. 20753Solution: Only use the $HOME default internally. (Yasuhiro Matsumoto, closes 20754 #2013) 20755Files: src/misc1.c, src/testdir/Make_all.mak, src/Makefile, 20756 src/testdir/test_windows_home.vim 20757 20758Patch 8.0.1013 20759Problem: A terminal window with a running job behaves different from a 20760 window containing a changed buffer. 20761Solution: Do not set 'bufhidden' to "hide". Fix that a buffer where a 20762 terminal used to run is listed as "[Scratch]". 20763Files: src/terminal.c, runtime/doc/terminal.txt, src/buffer.c 20764 20765Patch 8.0.1014 20766Problem: Old compiler doesn't know uint32_t. Warning for using NULL instead 20767 of NUL. 20768Solution: Use UINT32_T. Use NUL instead of NULL. 20769Files: src/mbyte.c, src/proto/mbyte.pro, src/misc1.c 20770 20771Patch 8.0.1015 (after 8.0.1013) 20772Problem: Missing update to terminal test. 20773Solution: Add the changes to the test. 20774Files: src/testdir/test_terminal.vim 20775 20776Patch 8.0.1016 20777Problem: Gnome terminal echoes t_RC. 20778Solution: Detect Gnome terminal by the version string. Add v: variables for 20779 all the term responses. 20780Files: src/term.c, src/eval.c, src/vim.h, runtime/doc/eval.txt 20781 20782Patch 8.0.1017 20783Problem: Test for MS-Windows $HOME always passes. 20784Solution: Rename the test function. Make the test pass. 20785Files: src/testdir/test_windows_home.vim 20786 20787Patch 8.0.1018 20788Problem: Warnings from 64-bit compiler. (Christian Brabandt) 20789Solution: Add type casts. 20790Files: src/terminal.c 20791 20792Patch 8.0.1019 20793Problem: Pasting in virtual edit happens in the wrong place. 20794Solution: Do not adjust coladd when after the end of the line (closes #2015) 20795Files: src/testdir/test_virtualedit.vim, src/misc2.c 20796 20797Patch 8.0.1020 20798Problem: When a timer calls getchar(1) input is overwritten. 20799Solution: Increment tb_change_cnt in inchar(). (closes #1940) 20800Files: src/getchar.c 20801 20802Patch 8.0.1021 20803Problem: Older Gnome terminal still echoes t_RC. (François Ingelrest) 20804Solution: Check for version > 3000 instead of 4000. 20805Files: src/term.c 20806 20807Patch 8.0.1022 20808Problem: Test 80 is old style. 20809Solution: Turn it into a new style test. (Yegappan Lakshmanan) 20810Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 20811 src/testdir/test80.in, src/testdir/test80.ok, 20812 src/testdir/test_substitute.vim 20813 20814Patch 8.0.1023 20815Problem: It is not easy to identify a quickfix list. 20816Solution: Add the "id" field. (Yegappan Lakshmanan) 20817Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c, 20818 src/testdir/test_quickfix.vim 20819 20820Patch 8.0.1024 20821Problem: Manual folds are lost when a session file has the same buffer in 20822 two windows. (Jeansen) 20823Solution: Use ":edit" only once. (Christian Brabandt, closes #1958) 20824Files: src/ex_docmd.c, src/testdir/test_mksession.vim 20825 20826Patch 8.0.1025 20827Problem: Stray copy command in test. 20828Solution: Remove the copy command. 20829Files: src/testdir/test_mksession.vim 20830 20831Patch 8.0.1026 20832Problem: GTK on-the-spot input has problems. (Gerd Wachsmuth) 20833Solution: Support over-the-spot. (Yukihiro Nakadaira, Ken Takata, closes 20834 #1215) 20835Files: runtime/doc/mbyte.txt, runtime/doc/options.txt, src/edit.c, 20836 src/ex_getln.c, src/mbyte.c, src/misc1.c, src/option.c, 20837 src/option.h, src/screen.c, src/undo.c, 20838 src/testdir/gen_opt_test.vim 20839 20840Patch 8.0.1027 20841Problem: More terminals can't handle requesting cursor mode. 20842Solution: Recognize Putty. (Hirohito Higashi) Also include Xfce in the 20843 version check. (Dominique Pelle) Recognize Konsole. 20844Files: src/term.c 20845 20846Patch 8.0.1028 20847Problem: MS-Windows: viminfo uses $VIM/_viminfo if $HOME not set. (Yongwei 20848 Wu) 20849Solution: Use vim_getenv() but check it's returning the default "C:/". 20850Files: src/ex_cmds.c 20851 20852Patch 8.0.1029 20853Problem: Return value of getqflist() is inconsistent. (Lcd47) 20854Solution: Always return an "items" entry. 20855Files: src/quickfix.c, src/testdir/test_quickfix.vim 20856 20857Patch 8.0.1030 20858Problem: MS-Windows: wrong size computation in is_cygpty(). 20859Solution: Compute the size properly. (Ken Takata) 20860Files: src/iscygpty.c, src/iscygpty.h 20861 20862Patch 8.0.1031 20863Problem: "text" argument for getqflist() is confusing. (Lcd47) 20864Solution: Use "lines" instead. (Yegappan Lakshmanan) 20865Files: runtime/doc/eval.txt, src/quickfix.c, 20866 src/testdir/test_quickfix.vim 20867 20868Patch 8.0.1032 20869Problem: "make tags" doesn't work well on MS-Windows. 20870Solution: Add or fix tags target. (Ken Takata) 20871Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 20872 20873Patch 8.0.1033 20874Problem: Detecting background color does not work in screen, even when it 20875 is working like an xterm. 20876Solution: Make "screen.xterm" use termcap entries like an xterm. (Lubomir 20877 Rintel, closes #2048) When termresponse version is huge also 20878 recognize as not being an xterm. 20879Files: src/os_unix.c, src/term.c 20880 20881Patch 8.0.1034 20882Problem: Sending buffer lines to terminal doesn't work on MS-Windows. 20883Solution: Send CTRL-D to mark the end of the text. (Yasuhiro Matsumoto, 20884 closes #2043) Add the "eof_chars" option. 20885Files: src/channel.c, src/proto/terminal.pro, src/terminal.c, 20886 src/testdir/test_terminal.vim, src/structs.h 20887 20888Patch 8.0.1035 20889Problem: Sending buffer lines to terminal doesn't work on MS-Windows. 20890Solution: Use CR instead of NL after every line. Make the EOF text work 20891 properly. Add the ++eof argument to :terminal. 20892Files: src/structs.h, src/channel.c, src/terminal.c, 20893 runtime/doc/terminal.txt, runtime/doc/eval.txt 20894 20895Patch 8.0.1036 20896Problem: ++eof argument for terminal only available on MS-Windows. 20897Solution: Also support ++eof on Unix. Add a test. 20898Files: src/channel.c, src/terminal.c, src/structs.h, 20899 src/testdir/test_terminal.vim 20900 20901Patch 8.0.1037 20902Problem: "icase" of 'diffopt' is not used for highlighting differences. 20903Solution: Also use "icase". (Rick Howe) 20904Files: src/diff.c, src/testdir/test_diffmode.vim 20905 20906Patch 8.0.1038 20907Problem: Strike-through text not supported. 20908Solution: Add support for the "strikethrough" attribute. (Christian 20909 Brabandt, Ken Takata) 20910Files: runtime/doc/eval.txt, runtime/doc/options.txt, 20911 runtime/doc/syntax.txt, runtime/doc/term.txt, src/evalfunc.c, 20912 src/gui.c, src/gui.h, src/gui_gtk_x11.c, src/gui_mac.c, 20913 src/gui_w32.c, src/gui_x11.c, src/option.c, src/screen.c, 20914 src/syntax.c, src/term.c, src/term.h, src/terminal.c, src/vim.h 20915 20916Patch 8.0.1039 20917Problem: Cannot change a line in a buffer other than the current one. 20918Solution: Add setbufline(). (Yasuhiro Matsumoto, Ozaki Kiichi, closes #1953) 20919Files: src/evalfunc.c, runtime/doc/eval.txt, src/Makefile, 20920 src/testdir/test_bufline.vim, src/testdir/test_alot.vim 20921 20922 20923Patch 8.0.1040 20924Problem: Cannot use another error format in getqflist(). 20925Solution: Add the "efm" argument to getqflist(). (Yegappan Lakshmanan) 20926Files: runtime/doc/eval.txt, src/quickfix.c, 20927 src/testdir/test_quickfix.vim 20928 20929Patch 8.0.1041 20930Problem: Bogus characters appear when indenting kicks in while doing a 20931 visual-block append. 20932Solution: Recompute when indenting is done. (Christian Brabandt) 20933Files: runtime/doc/visual.txt, src/charset.c, src/edit.c, src/misc1.c, 20934 src/ops.c, src/proto/charset.pro, src/proto/misc1.pro, 20935 src/screen.c, src/spell.c, src/testdir/test_cindent.vim 20936 20937Patch 8.0.1042 (after 8.0.1038) 20938Problem: Without the syntax feature highlighting doesn't work. 20939Solution: Always use unsigned short to store attributes. 20940Files: src/vim.h 20941 20942Patch 8.0.1043 20943Problem: Warning for uninitialized variable. (John Marriott) 20944Solution: Move code to check indent inside "if". 20945Files: src/ops.c 20946 20947Patch 8.0.1044 20948Problem: Warning for uninitialized variable. (John Marriott) 20949Solution: Initialize ind_pre. 20950Files: src/ops.c 20951 20952Patch 8.0.1045 20953Problem: Running tests may pollute shell history. (Manuel Ortega) 20954Solution: Make $HISTFILE empty. 20955Files: src/testdir/setup.vim 20956 20957Patch 8.0.1046 20958Problem: Code duplication in diff mode. 20959Solution: Use diff_equal_char() also in diff_cmp(). (Rick Howe) 20960Files: src/diff.c 20961 20962Patch 8.0.1047 20963Problem: Buffer overflow in Ruby. 20964Solution: Allocate one more byte. (Dominique Pelle) 20965Files: src/if_ruby.c 20966 20967Patch 8.0.1048 20968Problem: No test for what 8.0.1020 fixes. 20969Solution: Add test_feedinput(). Add a test. (Ozaki Kiichi, closes #2046) 20970Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_timers.vim, 20971 src/ui.c 20972 20973Patch 8.0.1049 20974Problem: Shell on Mac can't handle long text, making terminal test fail. 20975Solution: Only write 1000 characters instead of 5000. 20976Files: src/testdir/test_terminal.vim 20977 20978Patch 8.0.1050 20979Problem: Terminal window feature not included by default. 20980Solution: Include the terminal feature for the "huge" build. 20981Files: src/configure.ac, src/auto/configure 20982 20983Patch 8.0.1051 20984Problem: Cannot run terminal with spaces in argument. 20985Solution: Accept backslash to escape space and other characters. (closes 20986 #1999) 20987Files: src/os_unix.c, src/testdir/test_terminal.vim 20988 20989Patch 8.0.1052 20990Problem: term_start() does not allow in_io, out_io and err_io options. 20991Solution: Add JO_OUT_IO to get_job_options(). 20992Files: src/terminal.c, src/testdir/test_terminal.vim 20993 20994Patch 8.0.1053 20995Problem: setline() does not work on startup. (Manuel Ortega) 20996Solution: Do not check for ml_mfp to be set for the current buffer. 20997 (Christian Brabandt) 20998Files: src/testdir/shared.vim, src/testdir/test_alot.vim, 20999 src/testdir/test_bufline.vim, src/testdir/test_timers.vim, 21000 src/evalfunc.c 21001 21002Patch 8.0.1054 21003Problem: Terminal test fails on MS-Windows. 21004Solution: Disable the redirection test for now. Improve scrape test to make 21005 it less flaky. 21006Files: src/testdir/test_terminal.vim 21007 21008Patch 8.0.1055 21009Problem: Bufline test hangs on MS-Windows. 21010Solution: Avoid message for writing file. Source shared.vim when running 21011 test individually. 21012Files: src/testdir/test_bufline.vim, src/testdir/test_timers.vim 21013 21014Patch 8.0.1056 21015Problem: Cannot build with the diff feature but without the multi-byte 21016 feature. 21017Solution: Remove #ifdefs. (John Marriott) 21018Files: src/diff.c 21019 21020Patch 8.0.1057 21021Problem: Terminal scrape test waits too long, it checks for one instead of 21022 three. 21023Solution: Check there are three characters. (micbou) 21024Files: src/testdir/test_terminal.vim 21025 21026Patch 8.0.1058 21027Problem: Terminal redirection test is flaky. 21028Solution: Wait for job to finish. 21029Files: src/testdir/test_terminal.vim 21030 21031Patch 8.0.1059 21032Problem: older Gnome terminal returns smaller version number. (antarestrue) 21033Solution: Lower version limit from 2800 to 2500. (#2032) 21034Files: src/term.c 21035 21036Patch 8.0.1060 21037Problem: When imstyle is zero, mapping <Left> breaks preediting. 21038Solution: Pass though preediting key-events. (Yasuhiro Matsumoto, closes 21039 #2064, closes #2063) 21040Files: src/getchar.c, src/mbyte.c 21041 21042Patch 8.0.1061 21043Problem: Coverity: no check for NULL command. 21044Solution: Check for NULL list item. 21045Files: src/terminal.c 21046 21047Patch 8.0.1062 21048Problem: Coverity warnings in libvterm. 21049Solution: Add (void) to avoid warning for not checking return value. 21050 Add "break" before "case". 21051Files: src/libvterm/src/screen.c, src/libvterm/src/state.c 21052 21053Patch 8.0.1063 21054Problem: Coverity warns for NULL check and using variable pointer as an 21055 array. 21056Solution: Remove the NULL check. Make "argvar" an array. 21057Files: src/terminal.c 21058 21059Patch 8.0.1064 21060Problem: Coverity warns for leaking resource. 21061Solution: Free pty_master_fd on failure. 21062Files: src/os_unix.c 21063 21064Patch 8.0.1065 21065Problem: Not all macro examples are included in the self-installing 21066 executable. (lkintact) 21067Solution: Add the directories to the NSIS script. (closes #2065) 21068Files: nsis/gvim.nsi 21069 21070Patch 8.0.1066 21071Problem: Some terminals can't handle requesting cursor mode. (Steven 21072 Hartland) 21073Solution: Recognize vandyke SecureCRT. (closes #2008) 21074Files: src/term.c 21075 21076Patch 8.0.1067 21077Problem: Using try/catch in timer does not prevent it from being stopped. 21078Solution: Reset the exception context and use did_emsg instead of 21079 called_emsg. 21080Files: src/ex_cmds2.c, src/testdir/test_timers.vim, src/globals.h, 21081 src/message.c 21082 21083Patch 8.0.1068 (after 8.0.1066) 21084Problem: Vandyke SecureCRT terminal can't handle cursor mode request. 21085 (Steven Hartland) 21086Solution: Fix pointer computation. (closes #2008) 21087Files: src/term.c 21088 21089Patch 8.0.1069 21090Problem: Still get CTRL-X sometimes for t_RS request. 21091Solution: Also skip 0x18 after a key code response. 21092Files: src/term.c 21093 21094Patch 8.0.1070 21095Problem: Terminal test is flaky on Mac. 21096Solution: Add Test_terminal_noblock() to list of flaky tests. 21097Files: src/testdir/runtest.vim 21098 21099Patch 8.0.1071 21100Problem: $TERM names starting with "putty" and "cygwin" are likely to have 21101 a dark background, but are not recognized. 21102Solution: Only check the first few characters of $TERM to match "putty" or 21103 "cygwin". (Christian Brabandt) 21104Files: src/option.c 21105 21106Patch 8.0.1072 21107Problem: The :highlight command causes a redraw even when nothing changed. 21108Solution: Only set "need_highlight_changed" when an attribute changed. 21109Files: src/syntax.c 21110 21111Patch 8.0.1073 21112Problem: May get an endless loop if 'statusline' changes a highlight. 21113Solution: Do not let evaluating 'statusline' trigger a redraw. 21114Files: src/buffer.c 21115 21116Patch 8.0.1074 21117Problem: ":term NONE" does not work on MS-Windows. 21118Solution: Make it work. Split "pty" into "pty_in" and "pty_out". (Yasuhiro 21119 Matsumoto, closes #2058, closes #2045) 21120Files: runtime/doc/eval.txt, 21121 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 21122 src/channel.c, src/evalfunc.c, src/os_unix.c, src/structs.h, 21123 src/terminal.c, src/testdir/test_terminal.vim 21124 21125Patch 8.0.1075 21126Problem: MS-Windows: mouse does not work in terminal. 21127Solution: Force the winpty mouse on. (Yasuhiro Matsumoto, closes #2072) 21128Files: src/terminal.c 21129 21130Patch 8.0.1076 21131Problem: term_start() does not take callbacks. When using two terminals 21132 without a job only one is read from. A terminal without a window 21133 returns the wrong pty. 21134Solution: Support "callback", "out_cb" and "err_cb". Fix terminal without a 21135 window. Fix reading from multiple channels. 21136Files: src/terminal.c, src/proto/terminal.pro, src/channel.c 21137 21138Patch 8.0.1077 21139Problem: No debugger making use of the terminal window. 21140Solution: Add the term debugger plugin. So far only displays the current 21141 line when stopped. 21142Files: Filelist, runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 21143 21144Patch 8.0.1078 21145Problem: Using freed memory with ":hi Normal". 21146Solution: Get "item" again after updating the table. 21147Files: src/syntax.c 21148 21149Patch 8.0.1079 21150Problem: Memory leak when remote_foreground() fails. 21151Solution: Free the error message. 21152Files: src/evalfunc.c, src/if_xcmdsrv.c 21153 21154Patch 8.0.1080 21155Problem: Memory leak for eof_chars terminal option and buffer name. 21156Solution: Free job options. Free the buffer name 21157Files: src/terminal.c 21158 21159Patch 8.0.1081 21160Problem: Memory leak for the channel write queue. 21161Solution: Free the write queue when clearing a channel. 21162Files: src/channel.c 21163 21164Patch 8.0.1082 21165Problem: Tests fail when run under valgrind. 21166Solution: Increase waiting times. 21167Files: src/testdir/test_clientserver.vim, src/testdir/test_terminal.vim 21168 21169Patch 8.0.1083 21170Problem: Leaking memory in input part of channel. 21171Solution: Clear the input part of channel. Free the entry. Move failing 21172 command test to a separate file to avoid bogus leak reports 21173 clouding tests that should not leak. 21174Files: src/channel.c, src/testdir/test_terminal.vim, src/Makefile, 21175 src/testdir/test_terminal_fail.vim, src/testdir/Make_all.mak 21176 21177Patch 8.0.1084 21178Problem: GTK build has compiler warnings. (Christian Brabandt) 21179Solution: Get screen size with a different function. (Ken Takata, Yasuhiro 21180 Matsumoto) 21181Files: src/mbyte.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, 21182 src/gui_beval.c 21183 21184Patch 8.0.1085 21185Problem: The terminal debugger can't set breakpoints. 21186Solution: Add :Break and :Delete commands. Also commands for stepping 21187 through code. 21188Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 21189 runtime/doc/terminal.txt 21190 21191Patch 8.0.1086 (after 8.0.1084) 21192Problem: Can't build with GTK 3. 21193Solution: Rename function argument. (Kazunobu Kuriyama) 21194Files: src/gui_gtk_x11.c 21195 21196Patch 8.0.1087 21197Problem: Test_terminal_cwd is flaky. MS-Windows: term_start() "cwd" 21198 argument does not work. 21199Solution: Wait for the condition to be true instead of using a sleep. 21200 Pass the directory to winpty. 21201Files: src/testdir/test_terminal.vim, src/terminal.c 21202 21203Patch 8.0.1088 21204Problem: Occasional memory use after free. 21205Solution: Use the highlight table directly, don't keep a pointer. 21206Files: src/syntax.c 21207 21208Patch 8.0.1089 21209Problem: Cannot get range count in user command. 21210Solution: Add <range> argument. 21211Files: src/ex_docmd.c, runtime/doc/map.txt 21212 21213Patch 8.0.1090 21214Problem: cannot get the text under the cursor like v:beval_text 21215Solution: Add <cexpr>. 21216Files: src/ex_docmd.c, src/testdir/test_normal.vim, 21217 runtime/doc/cmdline.txt 21218 21219Patch 8.0.1091 (after 8.0.1090) 21220Problem: Test for <cexpr> fails without +balloon_eval feature. 21221Solution: Remove #ifdefs. 21222Files: src/normal.c 21223 21224Patch 8.0.1092 21225Problem: Terminal debugger can't evaluate expressions. 21226Solution: Add :Evaluate and K. Various other improvements. 21227Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 21228 runtime/doc/terminal.txt 21229 21230Patch 8.0.1093 21231Problem: Various small quickfix issues. 21232Solution: Remove ":" prefix from title set by a user. Add the qf_id2nr(). 21233 function. Add a couple more tests. Update documentation. 21234 (Yegappan Lakshmanan) 21235Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/evalfunc.c, 21236 src/proto/quickfix.pro, src/quickfix.c, 21237 src/testdir/test_quickfix.vim 21238 21239Patch 8.0.1094 21240Problem: Using ssh from Terminal.app runs into xterm incompatibility. 21241Solution: Also detect Terminal.app on non-Mac systems. 21242Files: src/term.c 21243 21244Patch 8.0.1095 21245Problem: Terminal multibyte scrape test is flaky. 21246Solution: Add another condition to wait for. 21247Files: src/testdir/test_terminal.vim 21248 21249Patch 8.0.1096 21250Problem: Terminal window in Normal mode has wrong background. 21251Solution: Store the default background and use it for clearing until the 21252 end of the line. Not for below the last line, since there is no 21253 text there. 21254Files: src/screen.c, src/terminal.c 21255 21256Patch 8.0.1097 (after 8.0.1096) 21257Problem: Background color wrong if job changes background color. 21258Solution: Get the background color from vterm. 21259Files: src/terminal.c, src/screen.c 21260 21261Patch 8.0.1098 21262Problem: Build failure if libvterm installed on the system. (Oleh 21263 Hushchenkov) 21264Solution: Change the CCCTERM argument order. (Ken Takata, closes #2080) 21265Files: src/Makefile 21266 21267Patch 8.0.1099 21268Problem: Warnings for GDK calls. 21269Solution: Use other calls for GTK 3 and fix a few problems. (Kazunobu 21270 Kuriyama) 21271Files: src/mbyte.c 21272 21273Patch 8.0.1100 21274Problem: Stuck in redraw loop when 'lazyredraw' is set. 21275Solution: Don't loop on update_screen() when not redrawing. (Yasuhiro 21276 Matsumoto, closes #2082) 21277Files: src/terminal.c, src/screen.c, src/proto/screen.pro 21278 21279Patch 8.0.1101 21280Problem: Channel write fails if writing to log fails. 21281Solution: Ignore return value of fwrite(). (Ozaki Kiichi, closes #2081) 21282Files: src/channel.c 21283 21284Patch 8.0.1102 21285Problem: Terminal window does not use Normal colors. 21286Solution: For the GUI and when 'termguicolors' is enabled, use the actual 21287 foreground and background colors for the terminal. (Yasuhiro 21288 Matsumoto, closes #2067) 21289 Use the "Terminal" highlight group if defined. 21290Files: src/terminal.c, src/syntax.c, src/proto/syntax.pro 21291 21292Patch 8.0.1103 (after 8.0.1102) 21293Problem: Converting cterm color fails for grey ramp. 21294Solution: Use index instead of number. 21295Files: src/terminal.c 21296 21297Patch 8.0.1104 21298Problem: The qf_jump() function is too long. 21299Solution: Split of parts to separate functions. (Yegappan Lakshmanan) 21300Files: src/quickfix.c 21301 21302Patch 8.0.1105 21303Problem: match() and matchend() are not tested. 21304Solution: Add tests. (Ozaki Kiichi, closes #2088) 21305Files: src/testdir/test_functions.vim, src/testdir/test_match.vim 21306 21307Patch 8.0.1106 21308Problem: Terminal colors on an MS-Windows console are not matching the 21309 normal colors. 21310Solution: Use the normal colors for the terminal. (Yasuhiro Matsumoto, 21311 closes #2087) 21312Files: src/terminal.c 21313 21314Patch 8.0.1107 21315Problem: Terminal debugger jumps to non-existing file. 21316Solution: Check that the file exists. Add an option to make the Vim width 21317 wide. Fix removing highlight groups. 21318Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 21319 runtime/doc/terminal.txt 21320 21321Patch 8.0.1108 21322Problem: Cannot specify mappings for the terminal window. 21323Solution: Add the :tmap command and associated code. (Jacob Askeland, 21324 closes #2073) 21325Files: runtime/doc/map.txt, runtime/doc/terminal.txt, src/ex_cmdidxs.h, 21326 src/ex_cmds.h, src/ex_docmd.c, src/getchar.c, src/gui.c, 21327 src/terminal.c, src/testdir/test_terminal.vim, src/vim.h, 21328 src/proto/terminal.pro, src/main.c, src/evalfunc.c 21329 21330Patch 8.0.1109 21331Problem: Timer causes error on exit from Ex mode. (xtal8) 21332Solution: save and restore the ex_pressedreturn flag. (Christian Brabandt, 21333 closes #2079) 21334Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/ex_cmds2.c, 21335 src/testdir/test_timers.vim 21336 21337Patch 8.0.1110 21338Problem: FORTIFY_SOURCE from Perl causes problems. (Scott Baker) 21339Solution: Filter out the flag. (Christian Brabandt, closes #2068) 21340Files: src/configure.ac, src/auto/configure 21341 21342Patch 8.0.1111 21343Problem: Syntax error in configure when using Perl. 21344Solution: Add missing quote 21345Files: src/configure.ac, src/auto/configure 21346 21347Patch 8.0.1112 21348Problem: Can't get size or current index from quickfix list. 21349Solution: Add "idx" and "size" options. (Yegappan Lakshmanan) 21350Files: runtime/doc/eval.txt, src/quickfix.c, 21351 src/testdir/test_quickfix.vim 21352 21353Patch 8.0.1113 21354Problem: Can go to Insert mode from Terminal-Normal mode. 21355Solution: Prevent :startinsert and "VA" to enter Insert mode. (Yasuhiro 21356 Matsumoto, closes #2092) 21357Files: src/normal.c 21358 21359Patch 8.0.1114 21360Problem: Default for 'iminsert' is annoying. 21361Solution: Make the default always zero. (Yasuhiro Matsumoto, closes #2071) 21362Files: src/option.c, runtime/doc/options.txt 21363 21364Patch 8.0.1115 21365Problem: Crash when using foldtextresult() recursively. 21366Solution: Avoid recursive calls. (Yasuhiro Matsumoto, closes #2098) 21367Files: src/evalfunc.c, src/testdir/test_fold.vim 21368 21369Patch 8.0.1116 21370Problem: Terminal test fails on MS-Windows. 21371Solution: Wait for the text to appear. (micbou, closes #2097) 21372Files: src/testdir/test_terminal.vim 21373 21374Patch 8.0.1117 21375Problem: Test_terminal_no_cmd hangs on MS-Windows with GUI. (Christian 21376 Brabandt) 21377Solution: Run the command with "start" and wait for the text to appear. 21378 (micbou, closes #2096) 21379Files: src/testdir/test_terminal.vim 21380 21381Patch 8.0.1118 21382Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always 21383 enabled and only adds 7% to the binary size of the tiny build. 21384Solution: Graduate FEAT_WINDOWS. 21385Files: src/feature.h, src/window.c, src/vim.h, src/structs.h, 21386 src/globals.h, src/gui.h, src/if_py_both.h, src/option.h, 21387 src/term.h, src/buffer.c, src/charset.c, src/digraph.c, 21388 src/edit.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c, 21389 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/fileio.c, 21390 src/fold.c, src/getchar.c, src/gui.c, src/gui_athena.c, 21391 src/gui_beval.c, src/gui_gtk.c, src/gui_motif.c, src/gui_w32.c, 21392 src/if_cscope.c, src/if_lua.c, src/if_mzsch.c, src/if_python.c, 21393 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/main.c, 21394 src/mark.c, src/memline.c, src/misc1.c, src/misc2.c, src/move.c, 21395 src/netbeans.c, src/normal.c, src/option.c, src/popupmnu.c, 21396 src/quickfix.c, src/screen.c, src/search.c, src/spell.c, 21397 src/syntax.c, src/tag.c, src/term.c, src/ui.c, src/version.c, 21398 src/workshop.c, src/if_perl.xs, src/testdir/test_normal.vim 21399 21400Patch 8.0.1119 21401Problem: Quitting a split terminal window kills the job. (Yasuhiro 21402 Matsumoto) 21403Solution: Only stop terminal job if it is the last window. 21404Files: src/buffer.c, src/testdir/test_terminal.vim 21405 21406Patch 8.0.1120 (after 8.0.1108) 21407Problem: :tm means :tmap instead of :tmenu. (Taro Muraoka) 21408Solution: Move the new entry below the old entry. (closes #2102) 21409Files: src/ex_cmds.h, runtime/doc/map.txt 21410 21411Patch 8.0.1121 21412Problem: Can uncheck executables in MS-Windows installer. 21413Solution: Make the choice read-only. (Ken Takata, closes #2106) 21414Files: nsis/gvim.nsi 21415 21416Patch 8.0.1122 21417Problem: vimtutor.bat doesn't work well with vim.bat. 21418Solution: Use "call vim". (Ken Takata, closes #2105) 21419Files: vimtutor.bat 21420 21421Patch 8.0.1123 21422Problem: Cannot define a toolbar for a window. 21423Solution: Add a window-local toolbar. 21424Files: src/syntax.c, src/proto/syntax.pro, src/structs.h, src/menu.c, 21425 src/proto/menu.pro, src/testdir/test_winbar.vim, src/Makefile, 21426 src/normal.c, src/testdir/Make_all.mak, src/if_perl.xs, 21427 src/eval.c, src/evalfunc.c, src/window.c, src/ui.c, 21428 src/terminal.c, src/screen.c, 21429 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 21430 runtime/doc/gui.txt, runtime/doc/terminal.txt 21431 21432Patch 8.0.1124 21433Problem: Use of MZSCHEME_VER is unclear. 21434Solution: Add a comment. (Ken Takata) 21435Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 21436 21437Patch 8.0.1125 21438Problem: Wrong window height when splitting window with window toolbar. 21439Solution: Add or subtract the window toolbar height. 21440Files: src/window.c 21441 21442Patch 8.0.1126 21443Problem: Endless resize when terminal showing in two buffers. (Hirohito 21444 Higashi) 21445Solution: Set a flag to prevent resizing the window. 21446Files: src/terminal.c 21447 21448Patch 8.0.1127 21449Problem: Test_peek_and_get_char fails on 32 bit system. (Elimar 21450 Riesebieter) 21451Solution: Avoid an integer overflow. (James McCoy, closes #2116) 21452Files: src/ex_cmds2.c 21453 21454Patch 8.0.1128 21455Problem: Old xterm sends CTRL-X in response to t_RS. 21456Solution: Only send t_RS for xterm 279 and later. Remove the workaround to 21457 ignore CTRL-X. 21458Files: src/term.c 21459 21460Patch 8.0.1129 21461Problem: Window toolbar missing a part of the patch. 21462Solution: Add change in vim.h. 21463Files: src/vim.h 21464 21465Patch 8.0.1130 21466Problem: The qf_jump() function is still too long. 21467Solution: Split of parts to separate functions. (Yegappan Lakshmanan) 21468Files: src/quickfix.c 21469 21470Patch 8.0.1131 21471Problem: It is not easy to trigger an autocommand for new terminal window. 21472 (Marco Restelli) 21473Solution: Trigger BufWinEnter after setting 'buftype'. 21474Files: src/terminal.c, src/testdir/test_terminal.vim 21475 21476Patch 8.0.1132 21477Problem: #if condition is not portable. 21478Solution: Add defined(). (Zuloloxi, closes #2136) 21479Files: src/libvterm/src/vterm.c 21480 21481Patch 8.0.1133 21482Problem: Syntax timeout not used correctly. 21483Solution: Do not pass the timeout to syntax_start() but set it explicitly. 21484 (Yasuhiro Matsumoto, closes #2139) 21485Files: src/proto/syntax.pro, src/screen.c, src/syntax.c 21486 21487Patch 8.0.1134 21488Problem: Superfluous call to syn_get_final_id(). 21489Solution: Remove it. (Ken Takata) 21490Files: src/syntax.c 21491 21492Patch 8.0.1135 21493Problem: W_WINCOL() is always the same. 21494Solution: Expand the macro. 21495Files: src/edit.c, src/ex_docmd.c, src/gui_gtk.c, src/gui_w32.c, 21496 src/netbeans.c, src/popupmnu.c, src/screen.c, src/term.c, 21497 src/terminal.c, src/ui.c, src/window.c, src/if_py_both.h, 21498 src/structs.h, src/vim.h 21499 21500Patch 8.0.1136 21501Problem: W_WIDTH() is always the same. 21502Solution: Expand the macro. 21503Files: src/charset.c, src/edit.c, src/evalfunc.c, src/ex_cmds.c, 21504 src/ex_docmd.c, src/getchar.c, src/gui.c, src/gui_beval.c, 21505 src/gui_mac.c, src/if_lua.c, src/if_mzsch.c, src/if_py_both.h, 21506 src/if_ruby.c, src/misc1.c, src/misc2.c, src/move.c, src/normal.c, 21507 src/popupmnu.c, src/quickfix.c, src/screen.c, src/search.c, 21508 src/structs.h, src/ui.c, src/vim.h, src/window.c 21509 21510Patch 8.0.1137 (after 8.0.1136) 21511Problem: Cannot build with Ruby. 21512Solution: Fix misplaced brace. 21513Files: src/if_ruby.c 21514 21515Patch 8.0.1138 21516Problem: Click in window toolbar starts Visual mode. 21517Solution: Add the MOUSE_WINBAR flag. 21518Files: src/ui.c, src/vim.h, src/normal.c 21519 21520Patch 8.0.1139 21521Problem: Using window toolbar changes state. 21522Solution: Always execute window toolbar actions in Normal mode. 21523Files: runtime/doc/gui.txt, src/structs.h, src/ex_docmd.c, 21524 src/proto/ex_docmd.pro, src/menu.c 21525 21526Patch 8.0.1140 21527Problem: Still old style tests. 21528Solution: Convert two tests to new style. (Yegappan Lakshmanan) 21529Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 21530 src/testdir/test56.in, src/testdir/test56.ok, 21531 src/testdir/test57.in, src/testdir/test57.ok, 21532 src/testdir/test_sort.vim, src/testdir/test_vimscript.vim 21533 21534Patch 8.0.1141 21535Problem: MS-Windows build dependencies are incomplete. 21536Solution: Fix the dependencies. (Ken Takata) 21537Files: src/Make_cyg.mak, src/Make_cyg_ming.mak, src/Make_ming.mak, 21538 src/Make_mvc.mak 21539 21540Patch 8.0.1142 21541Problem: Window toolbar menu gets a tear-off item. 21542Solution: Recognize the window toolbar. 21543Files: src/menu.c 21544 21545Patch 8.0.1143 21546Problem: Macros always expand to the same thing. 21547Solution: Remove W_VSEP_WIDTH() and W_STATUS_HEIGHT(). 21548Files: src/vim.h, src/structs.h, src/gui.c, src/ex_getln.c, src/screen.c 21549 21550Patch 8.0.1144 21551Problem: Using wrong #ifdef for computing length. 21552Solution: use BACKSLASH_IN_FILENAME instead of COLON_IN_FILENAME. (Yasuhiro 21553 Matsumoto, closes #2153) 21554Files: src/quickfix.c 21555 21556Patch 8.0.1145 21557Problem: Warning when compiling with Perl. 21558Solution: Remove unused variable. (Ken Takata) 21559Files: src/if_perl.xs 21560 21561Patch 8.0.1146 21562Problem: Redraw when highlight is set with same names. (Ozaki Kiichi) 21563Solution: Only free and save a name when it changed. (closes #2120) 21564Files: src/syntax.c 21565 21566Patch 8.0.1147 21567Problem: Fail to build with tiny features. (Tony Mechelynck) 21568Solution: Move #ifdefs. 21569Files: src/syntax.c 21570 21571Patch 8.0.1148 21572Problem: "gN" doesn't work on last match with 'wrapscan' off. (fcpg) 21573Solution: Adjust for searching backward. (Christian Brabandt) 21574Files: src/search.c, src/testdir/test_gn.vim 21575 21576Patch 8.0.1149 21577Problem: libvterm colors differ from xterm. 21578Solution: Use the xterm colors for libvterm. 21579Files: src/terminal.c, src/libvterm/src/pen.c, 21580 src/testdir/xterm_ramp.vim, Filelist 21581 21582Patch 8.0.1150 21583Problem: MS-Windows GUI: dialog font size is incorrect. 21584Solution: Pass flag to indicate 'encoding' or active codepage. (Yasuhiro 21585 Matsumoto, closes #2160) 21586Files: src/gui_w32.c 21587 21588Patch 8.0.1151 21589Problem: "vim -c startinsert!" doesn't append. 21590Solution: Correct line number on startup. (Christian Brabandt, closes #2117) 21591Files: src/ex_docmd.c, src/testdir/test_startup.vim 21592 21593Patch 8.0.1152 21594Problem: Encoding of error message wrong in Cygwin terminal. 21595Solution: Get locale from environment variables. (Ken Takata) 21596Files: src/main.c, src/mbyte.c, src/proto/mbyte.pro 21597 21598Patch 8.0.1153 21599Problem: No tests for diff_hlID() and diff_filler(). 21600Solution: Add tests. (Dominique Pelle, closes #2156) 21601Files: src/testdir/test_diffmode.vim 21602 21603Patch 8.0.1154 21604Problem: 'indentkeys' does not work properly. (Gary Johnson) 21605Solution: Get the cursor line again. (Christian Brabandt, closes #2151) 21606Files: src/edit.c, src/testdir/test_edit.vim 21607 21608Patch 8.0.1155 21609Problem: Ruby command triggers a warning when RUBYOPT is set to "-w". 21610Solution: use "-e_=0" instead of "-e0". (Masataka Pocke Kuwabara, closes 21611 #2143) 21612Files: src/if_ruby.c 21613 21614Patch 8.0.1156 21615Problem: Removing one -W argument from Perl CFLAGS may cause trouble. 21616Solution: Remove all -W flags. (Christian Brabandt) 21617Files: src/configure.ac, src/auto/configure 21618 21619Patch 8.0.1157 21620Problem: Compiler warning on MS-Windows. 21621Solution: Add type cast. (Yasuhiro Matsumoto) 21622Files: src/main.c 21623 21624Patch 8.0.1158 21625Problem: Still old style tests. 21626Solution: Convert several tests to new style. (Yegappan Lakshmanan) 21627Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 21628 src/testdir/main.aap, src/testdir/test33.in, 21629 src/testdir/test33.ok, src/testdir/test41.in, 21630 src/testdir/test41.ok, src/testdir/test43.in, 21631 src/testdir/test43.ok, src/testdir/test53.in, 21632 src/testdir/test53.ok, src/testdir/test_file_size.vim, 21633 src/testdir/test_lispwords.vim, src/testdir/test_search.vim, 21634 src/testdir/test_textobjects.vim 21635 21636Patch 8.0.1159 21637Problem: Typo in #ifdef. 21638Solution: Change "PROT" to "PROTO". (Nobuhiro Takasaki, closes #2165) 21639Files: src/syntax.c 21640 21641Patch 8.0.1160 21642Problem: Getting tab-local variable fails after closing window. 21643Solution: set tp_firstwin and tp_lastwin. (Jason Franklin, closes #2170) 21644Files: src/window.c, src/evalfunc.c, src/testdir/test_getvar.vim 21645 21646Patch 8.0.1161 21647Problem: Popup menu drawing problem when resizing terminal. 21648Solution: Redraw after resizing also when a popup menu is visible. (Ozaki 21649 Kiichi, closes #2110) 21650Files: src/popupmnu.c, src/term.c, src/testdir/shared.vim, 21651 src/testdir/test_popup.vim 21652 21653Patch 8.0.1162 21654Problem: Shared script for tests cannot be included twice. 21655Solution: Include it where needed, it will "finish" if loaded again. 21656Files: src/testdir/test_alot.vim, src/testdir/test_bufline.vim, 21657 src/testdir/test_timers.vim 21658 21659Patch 8.0.1163 21660Problem: Popup test is flaky. 21661Solution: Add a WaitFor() and fix another. 21662Files: src/testdir/test_popup.vim 21663 21664Patch 8.0.1164 21665Problem: Changing StatusLine highlight while evaluating 'statusline' may 21666 not change the status line color. 21667Solution: When changing highlighting while redrawing don't cause another 21668 redraw. (suggested by Ozaki Kiichi, closes #2171, closes #2120) 21669Files: src/buffer.c, src/syntax.c 21670 21671Patch 8.0.1165 21672Problem: Popup test is still flaky. 21673Solution: Add a term_wait() call. (Ozaki Kiichi) 21674Files: src/testdir/test_popup.vim 21675 21676Patch 8.0.1166 21677Problem: :terminal doesn't work on Mac High Sierra. 21678Solution: Change #ifdef for OpenPTY(). (Ozaki Kiichi, Kazunobu Kuriyama, 21679 closes #2162) 21680Files: src/pty.c 21681 21682Patch 8.0.1167 21683Problem: Motif: typing in terminal window is slow. 21684Solution: Do not redraw the whole terminal window but only what was changed. 21685Files: src/terminal.c 21686 21687Patch 8.0.1168 21688Problem: wrong highlighting with combination of match and 'cursorline'. 21689Solution: Use "line_attr" when appropriate. (Ozaki Kiichi, closes #2111) 21690 But don't highlight more than one character. 21691Files: src/screen.c, src/testdir/test_highlight.vim, 21692 src/testdir/view_util.vim 21693 21694Patch 8.0.1169 21695Problem: Highlighting one char too many with 'list' and 'cul'. 21696Solution: Check for 'list' being active. (Ozaki Kiichi, closes #2177) 21697Files: src/screen.c, src/testdir/test_highlight.vim 21698 21699Patch 8.0.1170 21700Problem: Using termdebug results in 100% CPU time. (tomleb) 21701Solution: Use polling instead of select(). 21702Files: src/os_unix.c, src/channel.c, src/proto/channel.pro 21703 21704Patch 8.0.1171 21705Problem: Popup test is still a bit flaky. 21706Solution: Change term_wait() calls. (Ozaki Kiichi) 21707Files: src/testdir/test_popup.vim 21708 21709Patch 8.0.1172 21710Problem: When E734 is given option is still set. 21711Solution: Assign NULL to "s". (Christian Brabandt) 21712Files: src/eval.c, src/testdir/test_assign.vim 21713 21714Patch 8.0.1173 21715Problem: Terminal window is not redrawn after CTRL-L. (Marcin Szamotulski) 21716Solution: Redraw the whole terminal when w_redr_type is NOT_VALID. 21717Files: src/terminal.c 21718 21719Patch 8.0.1174 21720Problem: Mac Terminal.app has wrong color for white. 21721Solution: Use white from the color cube. 21722Files: src/globals.h, src/term.c, src/syntax.c 21723 21724Patch 8.0.1175 (after 8.0.1174) 21725Problem: Build failure without +termresponse. 21726Solution: Add #ifdef. 21727Files: src/syntax.c 21728 21729Patch 8.0.1176 21730Problem: Job_start() does not handle quote and backslash correctly. 21731Solution: Remove quotes, recognize and remove backslashes. 21732Files: src/testdir/test_channel.vim, src/os_unix.c 21733 21734Patch 8.0.1177 21735Problem: In a terminal window the popup menu is not cleared. (Gerry 21736 Agbobada) 21737Solution: Redraw when SOME_VALID is used instead of NOT_VALID. (closes 21738 #2194) 21739Files: src/terminal.c 21740 21741Patch 8.0.1178 21742Problem: Using old compiler on MS-Windows. 21743Solution: Switch default build on MS-Windows to use MSVC 2015. (Ken Takata) 21744Files: src/msvc2015.bat, src/INSTALLpc.txt, src/GvimExt/Makefile, 21745 src/Make_mvc.mak, src/tee/Make_mvc.mak, src/xxd/Make_mvc.mak 21746 21747Patch 8.0.1179 21748Problem: Test_popup_and_window_resize() does not always pass. 21749Solution: Do not use $VIMPROG, pass the Vim executable in the vimcmd file. 21750 (Ozaki Kiichi, closes #2186) 21751Files: src/testdir/Makefile, src/testdir/shared.vim, 21752 src/testdir/test_popup.vim 21753 21754Patch 8.0.1180 21755Problem: MS-Windows testclean target deletes the color script. 21756Solution: Rename the script file. 21757Files: src/testdir/xterm_ramp.vim, src/testdir/color_ramp.vim 21758 21759Patch 8.0.1181 21760Problem: Tests using Vim command fail on MS-Windows. 21761Solution: Do not add quotes around the Vim command. 21762Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak 21763 21764Patch 8.0.1182 21765Problem: Cannot see or change mzscheme dll name. 21766Solution: Add 'mzschemedll' and 'mzschemegcdll'. 21767Files: src/if_mzsch.c, src/option.h, src/option.c, 21768 runtime/doc/if_mzsch.txt 21769 21770Patch 8.0.1183 21771Problem: MS-Windows build instructions are outdated. 21772Solution: Update instructions for MSVC 2015. Update the build script. 21773Files: Filelist, Makefile, src/INSTALLpc.txt, src/bigvim.bat 21774 21775Patch 8.0.1184 21776Problem: The :marks command is not tested. 21777Solution: Add a test. (Dominique Pelle, closes #2197) 21778Files: src/testdir/test_marks.vim 21779 21780Patch 8.0.1185 21781Problem: Ruby library includes minor version number. 21782Solution: Only use the API version number. (Ben Boeckel, closes #2199) 21783Files: src/configure.ac, src/auto/configure 21784 21785Patch 8.0.1186 21786Problem: Still quite a few old style tests. 21787Solution: Convert old to new style tests. (Yegappan Lakshmanan) 21788 Avoid ringing the bell while running tests. 21789Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak, 21790 src/testdir/Make_vms.mms, src/testdir/main.aap, 21791 src/testdir/test31.in, src/testdir/test31.ok, 21792 src/testdir/test4.in, src/testdir/test4.ok, src/testdir/test5.in, 21793 src/testdir/test5.ok, src/testdir/test60.in, 21794 src/testdir/test60.ok, src/testdir/test60.vim, 21795 src/testdir/test7.in, src/testdir/test7.ok, src/testdir/test78.in, 21796 src/testdir/test78.ok, src/testdir/test_autocmd.vim, 21797 src/testdir/test_exists.vim, src/testdir/test_recover.vim, 21798 src/testdir/test_winbuf_close.vim, src/testdir/runtest.vim 21799 21800Patch 8.0.1187 21801Problem: Building with lua fails for OSX on Travis. 21802Solution: Separate brew-update and brew-install. (Ozaki Kiichi, closes #2203) 21803Files: .travis.yml 21804 21805Patch 8.0.1188 21806Problem: Autocmd test fails on MS-Windows. 21807Solution: Give the buffer a name and find the buffer to be wiped out by 21808 name. 21809Files: src/testdir/test_autocmd.vim 21810 21811Patch 8.0.1189 21812Problem: E172 is not actually useful, it's only on Unix anyway. 21813Solution: Remove the check and the error. 21814Files: src/ex_docmd.c, runtime/doc/message.txt 21815 21816Patch 8.0.1190 21817Problem: Vim becomes unusable after opening new window in BufWritePre 21818 event. 21819Solution: Call not_exiting(). (Martin Tournoij, closes #2205) 21820 Also for "2q" when a help window is open. Add a test. 21821Files: src/ex_docmd.c, src/testdir/test_writefile.vim 21822 21823Patch 8.0.1191 21824Problem: MS-Windows: missing 32 and 64 bit files in installer. 21825Solution: Include both 32 and 64 bit GvimExt and related dll files. Remove 21826 old Windows code from the installer. (Ken Takata, closes #2144) 21827Files: nsis/README.txt, nsis/gvim.nsi, src/GvimExt/gvimext.cpp, 21828 src/dosinst.c, src/dosinst.h, src/uninstal.c, Makefile 21829 21830Patch 8.0.1192 21831Problem: MS-Windows: terminal feature not enabled by default. 21832Solution: Enable it. (Ken Takata) 21833Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 21834 21835Patch 8.0.1193 21836Problem: Crash when wiping out a buffer after using getbufinfo(). 21837 (Yegappan Lakshmanan) 21838Solution: Remove b:changedtick from the buffer variables. 21839Files: src/buffer.c, src/testdir/test_autocmd.vim 21840 21841Patch 8.0.1194 21842Problem: Actual fg and bg colors of terminal are unknown. 21843Solution: Add t_RF. Store response to t_RB and t_RF, use for terminal. 21844Files: src/term.c, src/term.h, src/proto/term.pro, src/terminal.c, 21845 src/vim.h, src/eval.c, runtime/doc/eval.txt 21846 21847Patch 8.0.1195 (after 8.0.1194) 21848Problem: Can't build on MS-Windows. 21849Solution: Adjust #ifdef and add #ifdefs. 21850Files: src/term.c, src/terminal.c 21851 21852Patch 8.0.1196 (after 8.0.1194) 21853Problem: Crash when t_RF is not set. (Brian Pina) 21854Solution: Add t_RF to the list of terminal options. (Hirohito Higashi) 21855Files: src/option.c 21856 21857Patch 8.0.1197 21858Problem: MS-Windows build instructions are not up to date. 21859Solution: Adjust the instructions. Fix the nsis script. 21860Files: Makefile, nsis/gvim.nsi 21861 21862Patch 8.0.1198 21863Problem: Older compilers don't know uint8_t. 21864Solution: Use char_u instead. 21865Files: src/term.c, src/proto/term.pro 21866 21867Patch 8.0.1199 21868Problem: When 'clipboard' is "autoselectplus" the star register is also 21869 set. (Gilles Moris) 21870Solution: Don't set the star register in this situation. 21871Files: src/ops.c 21872 21873Patch 8.0.1200 21874Problem: Tests switch the bell off twice. 21875Solution: Don't set 'belloff' in individual tests. (Christian Brabandt) 21876Files: src/testdir/test_alot.vim, src/testdir/test_alot_utf8.vim, 21877 src/testdir/test_autocmd.vim, src/testdir/test_cmdline.vim, 21878 src/testdir/test_diffmode.vim, src/testdir/test_digraph.vim, 21879 src/testdir/test_edit.vim, src/testdir/test_file_size.vim, 21880 src/testdir/test_gn.vim, src/testdir/test_normal.vim, 21881 src/testdir/test_packadd.vim, src/testdir/test_popup.vim, 21882 src/testdir/test_recover.vim, src/testdir/test_search.vim, 21883 src/testdir/test_textobjects.vim, src/testdir/test_undo.vim, 21884 src/testdir/test_usercommands.vim, src/testdir/test_visual.vim 21885 21886Patch 8.0.1201 21887Problem: "yL" is affected by 'scrolloff'. (Eli the Bearded) 21888Solution: Don't use 'scrolloff' when an operator is pending. 21889Files: src/normal.c, runtime/doc/motion.txt 21890 21891Patch 8.0.1202 21892Problem: :wall gives an error for a terminal window. (Marius Gedminas) 21893Solution: Don't try writing a buffer that can't be written. (Yasuhiro 21894 Matsumoto, closes #2190) 21895Files: src/ex_cmds.c, src/testdir/test_terminal.vim 21896 21897Patch 8.0.1203 21898Problem: Terminal window mistreats composing characters. 21899Solution: Count composing characters with the base character. (Ozaki Kiichi, 21900 closes #2195) 21901Files: src/mbyte.c, src/terminal.c, src/testdir/test_terminal.vim 21902 21903Patch 8.0.1204 21904Problem: A QuitPre autocommand may get the wrong file name. 21905Solution: Pass the buffer being closed to apply_autocmds(). (Rich Howe) 21906Files: src/ex_docmd.c, src/testdir/test_autocmd.vim 21907 21908Patch 8.0.1205 21909Problem: Using "1q" it is possible to unload a changed buffer. (Rick Howe) 21910Solution: Check the right window for changes. 21911Files: src/testdir/test_edit.vim, src/ex_docmd.c 21912 21913Patch 8.0.1206 21914Problem: No autocmd for entering or leaving the command line. 21915Solution: Add CmdlineEnter and CmdlineLeave. 21916Files: runtime/doc/autocmd.txt, src/ex_getln.c, src/fileio.c, src/vim.h, 21917 src/testdir/test_autocmd.vim 21918 21919Patch 8.0.1207 21920Problem: Profiling skips the first and last script line. 21921Solution: Check for BOM after setting script ID. (LemonBoy, closes #2103, 21922 closes #2112) Add a test. List the trailing script lines. 21923Files: src/testdir/test_profile.vim, src/ex_cmds2.c 21924 21925Patch 8.0.1208 21926Problem: 'statusline' drops empty group with highlight change. 21927Solution: Do not drop an empty group if it changes highlighting. (Marius 21928 Gedminas, closes #2228) 21929Files: src/buffer.c, src/testdir/test_statusline.vim 21930 21931Patch 8.0.1209 21932Problem: Still too many old style tests. 21933Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, 21934 closes #2230) 21935Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak, 21936 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 21937 src/testdir/Makefile, src/testdir/Make_vms.mms, 21938 src/testdir/main.aap, src/testdir/test34.in, 21939 src/testdir/test34.ok, src/testdir/test54.in, 21940 src/testdir/test54.ok, src/testdir/test8.in, src/testdir/test8.ok, 21941 src/testdir/test_autocmd.vim, src/testdir/test_autoformat_join.in, 21942 src/testdir/test_autoformat_join.ok, src/testdir/test_join.vim, 21943 src/testdir/test_user_func.vim 21944 21945Patch 8.0.1210 21946Problem: When typing a search pattern CTRL-G and CTRL-T are ignored when 21947 there is typeahead. 21948Solution: Don't pass SEARCH_PEEK and don't call char_avail(). (haya14busa, 21949 closes #2233) 21950Files: src/ex_getln.c, src/testdir/test_search.vim 21951 21952Patch 8.0.1211 21953Problem: Cannot reorder tab pages with drag & drop. 21954Solution: Support drag & drop for GTK and MS-Windows. (Ken Takata, Masamichi 21955 Abe) 21956Files: src/gui_gtk_x11.c, src/gui_w32.c 21957 21958Patch 8.0.1212 21959Problem: MS-Windows: tear-off menu does not work on 64 bit. (shaggyaxe) 21960Solution: Change how the menu handle is looked up. (Ken Takata, closes 21961 #1205) 21962Files: src/gui_w32.c 21963 21964Patch 8.0.1213 21965Problem: Setting 'mzschemedll' has no effect. 21966Solution: Move loading .vimrc to before call to mzscheme_main(). 21967Files: src/main.c 21968 21969Patch 8.0.1214 21970Problem: Accessing freed memory when EXITFREE is set and there is more than 21971 one tab and window. (Dominique Pelle) 21972Solution: Free options later. Skip redraw when exiting. 21973Files: src/screen.c, src/misc2.c 21974 21975Patch 8.0.1215 21976Problem: Newer gcc warns for implicit fallthrough. 21977Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt) 21978Files: src/buffer.c, src/edit.c, src/eval.c, src/ex_docmd.c, 21979 src/ex_getln.c, src/main.c, src/message.c, src/normal.c, 21980 src/regexp.c, src/regexp_nfa.c, src/spell.c, src/window.c, 21981 src/if_perl.xs 21982 21983Patch 8.0.1216 21984Problem: Tabline is not always updated for :file command. (Norio Takagi) 21985Solution: Set redraw_tabline. (Hirohito Higashi) 21986Files: src/ex_cmds.c 21987 21988Patch 8.0.1217 21989Problem: Can't use remote eval to inspect vars in debug mode. 21990Solution: Don't discard the call stack in debug mode. (closes #2237, #2247) 21991Files: src/globals.h, src/ex_cmds2.c, src/main.c 21992 21993Patch 8.0.1218 21994Problem: Writing to freed memory in autocmd. 21995Solution: Make a copy of the tag line. (Dominique Pelle, closes #2245) 21996Files: src/tag.c, src/testdir/test_autocmd.vim 21997 21998Patch 8.0.1219 21999Problem: Terminal test is flaky. 22000Solution: Add test function to list of flaky tests. 22001Files: src/testdir/runtest.vim 22002 22003Patch 8.0.1220 22004Problem: Skipping empty statusline groups is not correct. 22005Solution: Also set group_end_userhl. (itchyny) 22006Files: src/buffer.c, src/testdir/test_statusline.vim 22007 22008Patch 8.0.1221 22009Problem: Still too many old style tests. 22010Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, 22011 closes #2256) 22012Files: src/Makefile, src/testdir/Make_all.mak, 22013 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 22014 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms, 22015 src/testdir/main.aap, src/testdir/test19.in, 22016 src/testdir/test19.ok, src/testdir/test20.in, 22017 src/testdir/test20.ok, src/testdir/test25.in, 22018 src/testdir/test25.ok, src/testdir/test28.in, 22019 src/testdir/test28.ok, src/testdir/test32.in, 22020 src/testdir/test32.ok, src/testdir/test38.in, 22021 src/testdir/test38.ok, src/testdir/test66.in, 22022 src/testdir/test66.ok, src/testdir/test79.in, 22023 src/testdir/test79.ok, src/testdir/test_ins_complete.vim, 22024 src/testdir/test_source_utf8.vim, src/testdir/test_substitute.vim, 22025 src/testdir/test_tab.vim, src/testdir/test_tagjump.vim, 22026 src/testdir/test_undo.vim, src/testdir/test_visual.vim, 22027 src/testdir/test79.ok, src/testdir/test79.in, 22028 src/testdir/test28.in 22029 22030Patch 8.0.1222 22031Problem: Test functions interfere with each other. 22032Solution: Cleanup tab pages, windows and buffers. Reset option. 22033Files: src/testdir/runtest.vim, src/testdir/test_filetype.vim, 22034 src/testdir/test_tabpage.vim, src/testdir/test_lispwords.vim 22035 22036Patch 8.0.1223 22037Problem: Crash when using autocomplete and tab pages. 22038Solution: Check if the current tab changed. (Christian Brabandt, closes 22039 #2239) 22040Files: src/popupmnu.c, src/testdir/test_popup.vim, src/misc1.c, 22041 22042Patch 8.0.1224 22043Problem: Still interference between test functions. 22044Solution: Clear autocommands. Wipe all buffers. Fix tests that depend on a 22045 specific start context. 22046Files: src/testdir/runtest.vim, src/testdir/test_autocmd.vim, 22047 src/testdir/test_arglist.vim, src/testdir/test_bufwintabinfo.vim, 22048 src/testdir/test_command_count.vim, src/testdir/test_quickfix.vim, 22049 src/testdir/test_hardcopy.vim, src/testdir/test_ins_complete.vim, 22050 src/testdir/test_packadd.vim, src/testdir/test_signs.vim, 22051 src/testdir/test_autochdir.vim 22052 22053Patch 8.0.1225 22054Problem: No check for spell region being zero. (geeknik) 22055Solution: Check for zero. (closes #2252) 22056Files: src/spellfile.c, src/testdir/test_spell.vim 22057 22058Patch 8.0.1226 22059Problem: Edit and popup tests failing. 22060Solution: Make the tests pass. 22061Files: src/testdir/test_edit.vim, src/testdir/test_popup.vim 22062 22063Patch 8.0.1227 22064Problem: Undefined left shift in readfile(). (Brian 'geeknik' Carpenter) 22065Solution: Add cast to unsigned. (Dominique Pelle, closes #2253) 22066Files: src/fileio.c 22067 22068Patch 8.0.1228 22069Problem: Invalid memory access in GUI test. 22070Solution: Check that the row is not outside of the screen. 22071Files: src/screen.c 22072 22073Patch 8.0.1229 22074Problem: Condition in vim_str2nr() is always true. (Nikolai Pavlov) 22075Solution: Remove the condition. (Closes #2259) 22076Files: src/charset.c 22077 22078Patch 8.0.1230 22079Problem: CTRL-A in Visual mode uses character after selection. (Nikolai 22080 Pavlov) 22081Solution: Check the length before using a character. 22082Files: src/charset.c 22083 22084Patch 8.0.1231 22085Problem: Expanding file name drops dash. (stucki) 22086Solution: Use the right position. (Christian Brabandt, closes #2184) 22087Files: src/ex_docmd.c, src/testdir/test_cmdline.vim 22088 22089Patch 8.0.1232 22090Problem: MS-Windows users are confused about default mappings. 22091Solution: Don't map keys in the console where they don't work. Add a choice 22092 in the installer to use MS-Windows key bindings or not. (Christian 22093 Brabandt, Ken Takata, closes #2093) 22094Files: Filelist, nsis/gvim.nsi, nsis/vimrc.ini, src/dosinst.c, 22095 runtime/mswin.vim 22096 22097Patch 8.0.1233 22098Problem: Typo in dos installer. 22099Solution: Remove comma. 22100Files: src/dosinst.c 22101 22102Patch 8.0.1234 22103Problem: MS-Windows: composing characters are not shown properly. 22104Solution: Pass base character and composing characters to the renderer at 22105 once. (Ken Takata, closes #2206) 22106Files: src/gui.c, src/gui_w32.c 22107 22108Patch 8.0.1235 22109Problem: Cannot disable the terminal feature in a huge build. (lindhobe) 22110Solution: Adjust the autoconf check. (Kazunobu Kuriyama, closes #2242) 22111Files: src/configure.ac, src/auto/configure, src/Makefile 22112 22113Patch 8.0.1236 22114Problem: Mac features are confusing. 22115Solution: Make feature names more consistent, add "osxdarwin". Rename 22116 feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178) 22117 Also includes a fix for when Ruby throws an exception inside 22118 :rubyfile. (ujihisa) 22119Files: runtime/doc/eval.txt, runtime/doc/os_mac.txt, src/auto/configure, 22120 src/config.h.in, src/configure.ac, src/digraph.c, src/edit.c, 22121 src/evalfunc.c, src/feature.h, src/fileio.c, src/getchar.c, 22122 src/globals.h, src/gui.c, src/gui_mac.c, src/if_python.c, 22123 src/if_python3.c, src/if_ruby.c, src/keymap.h, src/macros.h, 22124 src/main.c, src/mbyte.c, src/message.c, src/misc1.c, src/misc2.c, 22125 src/option.c, src/os_mac.h, src/os_macosx.m, src/os_unix.c, 22126 src/proto.h, src/pty.c, src/structs.h, src/term.c, src/termlib.c, 22127 src/ui.c, src/undo.c, src/version.c, src/vim.h, src/window.c 22128 22129Patch 8.0.1237 22130Problem: ":set scroll&" often gives an error. 22131Solution: Don't use a fixed default value, use half the window height. Add a 22132 test. (Ozaki Kiichi, closes #2104) 22133Files: src/Makefile, src/option.c, src/testdir/test_alot.vim, 22134 src/testdir/test_scroll_opt.vim 22135 22136Patch 8.0.1238 22137Problem: Incremental search only shows one match. 22138Solution: When 'incsearch' and 'hlsearch' are both set highlight all 22139 matches. (haya14busa, itchyny, closes #2198) 22140Files: runtime/doc/options.txt, src/ex_getln.c, src/proto/search.pro, 22141 src/search.c, src/testdir/test_search.vim 22142 22143Patch 8.0.1239 22144Problem: Cannot use a lambda for the skip argument to searchpair(). 22145Solution: Evaluate a partial, funcref and lambda. (LemonBoy, closes #1454, 22146 closes #2265) 22147Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/evalfunc.pro, 22148 src/eval.c, src/proto/eval.pro, src/search.c, 22149 src/testdir/test_search.vim 22150 22151Patch 8.0.1240 22152Problem: MS-Windows: term_start() does not support environment. 22153Solution: Implement the environment argument. (Yasuhiro Matsumoto, closes 22154 #2264) 22155Files: src/os_win32.c, src/proto/os_win32.pro, src/terminal.c, 22156 src/testdir/test_terminal.vim 22157 22158Patch 8.0.1241 22159Problem: Popup test is flaky. (James McCoy) 22160Solution: Increase the wait time. (Dominique Pelle) 22161Files: src/testdir/test_popup.vim 22162 22163Patch 8.0.1242 22164Problem: Function argument with only dash is seen as number zero. (Wang 22165 Shidong) 22166Solution: See a dash as a string. (Christian Brabandt) 22167Files: src/testdir/test_ins_complete.vim, src/Makefile, src/eval.c 22168 22169Patch 8.0.1243 22170Problem: No test for what 8.0.1227 fixes. 22171Solution: Add a test that triggers the problem. (Christian Brabandt) 22172Files: src/testdir/test_normal.vim, src/testdir/test_search.vim 22173 22174Patch 8.0.1244 22175Problem: Search test does not work correctly on MS-Windows. 22176Solution: Put text in a file instead of sending it to the terminal. 22177 (Christian Brabandt) 22178Files: src/testdir/test_search.vim 22179 22180Patch 8.0.1245 22181Problem: When WaitFor() has a wrong expression it just waits a second, 22182 which goes unnoticed. (James McCoy) 22183Solution: When WaitFor() times out throw an exception. Fix places where the 22184 expression was wrong. 22185Files: src/testdir/shared.vim, src/testdir/test_channel.vim, 22186 src/testdir/test_netbeans.vim, src/testdir/test_terminal.vim 22187 22188Patch 8.0.1246 22189Problem: Popup test has an arbitrary delay. 22190Solution: Wait for the ruler to show. (James McCoy) 22191Files: src/testdir/test_popup.vim 22192 22193Patch 8.0.1247 22194Problem: Not easy to find Debian build info. 22195Solution: Add a badge in the README file. (Dominique Pelle) 22196Files: README.md 22197 22198Patch 8.0.1248 (after 8.0.1247) 22199Problem: Stray + in README file. 22200Solution: Remove the +. Add a line break. 22201Files: README.md 22202 22203Patch 8.0.1249 22204Problem: No error when WaitFor() gets an invalid wrong expression. 22205Solution: Do not ignore errors in evaluation of the expression. Fix places 22206 where the expression was wrong. 22207Files: src/testdir/shared.vim, src/testdir/test_netbeans.vim 22208 22209Patch 8.0.1250 22210Problem: 'hlsearch' highlighting not removed after incsearch (lacygoill) 22211Solution: Redraw all windows. Start search at the end of the match. Improve 22212 how CTRL-G works with incremental search. Add tests. (Christian 22213 Brabandt, Hirohito Higashi, haya14busa, closes #2267) 22214Files: runtime/doc/options.txt, src/ex_getln.c, 22215 src/testdir/test_search.vim 22216 22217Patch 8.0.1251 (after 8.0.1249) 22218Problem: Invalid expression passed to WaitFor(). 22219Solution: Check if the variable exists. 22220Files: src/testdir/test_clientserver.vim 22221 22222Patch 8.0.1252 22223Problem: Incomplete translations makefile for MinGW/Cygwin. 22224Solution: Add missing source files. Make it work with msys2's bash. (Ken 22225 Takata) 22226Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak 22227 22228Patch 8.0.1253 22229Problem: Still too many old style tests. 22230Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, 22231 closes #2272) 22232Files: src/Makefile, src/testdir/Make_all.mak, 22233 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 22234 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms, 22235 src/testdir/main.aap, src/testdir/test12.in, 22236 src/testdir/test12.ok, src/testdir/test40.in, 22237 src/testdir/test40.ok, src/testdir/test45.in, 22238 src/testdir/test45.ok, src/testdir/test83.in, 22239 src/testdir/test83.ok, src/testdir/test_autocmd.vim, 22240 src/testdir/test_fold.vim, src/testdir/test_swap.vim, 22241 src/testdir/test_tagjump.vim 22242 22243Patch 8.0.1254 22244Problem: Undefined left shift in gethexchrs(). (geeknik) 22245Solution: Use unsigned long. (idea by Christian Brabandt, closes #2255) 22246Files: src/regexp.c, src/regexp_nfa.c 22247 22248 22249Patch 8.0.1255 (after 8.0.1248) 22250Problem: duplicate badge README file. 22251Solution: Remove one. (Dominique Pelle) 22252Files: README.md 22253 22254Patch 8.0.1256 22255Problem: Typo in configure variable vim_cv_tgent. (Matthieu Guillard) 22256Solution: Rename the variable. (closes #2281) 22257Files: src/configure.ac, src/auto/configure 22258 22259Patch 8.0.1257 (after 8.0.1254) 22260Problem: No test for fix of undefined behavior. 22261Solution: Add a test. (closes #2255) 22262Files: src/testdir/test_search.vim 22263 22264Patch 8.0.1258 22265Problem: 'ttymouse' is set to "sgr" even though it's not supported. (Gary 22266 Johnson) 22267Solution: Adjust #ifdef 22268Files: src/term.c 22269 22270Patch 8.0.1259 22271Problem: Search test can be flaky. 22272Solution: Use WaitFor() instead of a delay. Make it possible to pass a 22273 funcref to WaitFor() to avoid the need for global variables. 22274 (James McCoy, closes #2282) 22275Files: src/testdir/shared.vim, src/testdir/test_search.vim 22276 22277Patch 8.0.1260 (after 8.0.1259) 22278Problem: Using global variables for WaitFor(). 22279Solution: Use a lambda function instead. Don't check a condition if 22280 WaitFor() already checked it. 22281Files: src/testdir/test_popup.vim, src/testdir/test_terminal.vim, 22282 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim, 22283 src/testdir/test_job_fails.vim, src/testdir/test_quotestar.vim 22284 22285Patch 8.0.1261 22286Problem: Program in terminal window gets NL instead of CR. (Lifepillar) 22287Solution: Check the tty setup more often. (closes #1998) 22288Files: src/terminal.c 22289 22290Patch 8.0.1262 22291Problem: Terminal redir test is flaky. 22292Solution: Add it to the list of flaky tests. 22293Files: src/testdir/runtest.vim 22294 22295Patch 8.0.1263 22296Problem: Others can read the swap file if a user is careless with his 22297 primary group. 22298Solution: If the group permission allows for reading but the world 22299 permissions doesn't, make sure the group is right. 22300Files: src/fileio.c, src/testdir/test_swap.vim, src/Makefile 22301 22302Patch 8.0.1264 22303Problem: Terminal debugger gets stuck in small window. 22304Solution: Add "-quiet" to the gdb command. (Christian Brabandt, closes #2154) 22305Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 22306 22307Patch 8.0.1265 (after 8.0.1263) 22308Problem: Swap test not skipped when there is one group. 22309Solution: Convert list to string for the message. 22310Files: src/testdir/test_swap.vim 22311 22312Patch 8.0.1266 (after 8.0.1263) 22313Problem: Test_swap_directory was accidentally commented out. 22314Solution: Uncomment the test. 22315Files: src/testdir/test_swap.vim 22316 22317Patch 8.0.1267 (after 8.0.1263) 22318Problem: Test_swap_group may leave file behind. 22319Solution: Add a try/finally. 22320Files: src/testdir/test_swap.vim, src/testdir/test_undo.vim 22321 22322Patch 8.0.1268 22323Problem: PC install instructions are incomplete. 22324Solution: Update the instructions. (Ken Takata) 22325Files: src/INSTALLpc.txt 22326 22327Patch 8.0.1269 22328Problem: Effect of autocommands on marks is not tested. 22329Solution: Add a couple of tests. (James McCoy, closes #2271) 22330Files: src/testdir/test_autocmd.vim 22331 22332Patch 8.0.1270 22333Problem: Mismatching file name with Filelist. 22334Solution: Rename color_ramp.vim to xterm_ramp.vim 22335Files: src/testdir/color_ramp.vim, src/testdir/xterm_ramp.vim 22336 22337Patch 8.0.1271 22338Problem: Still too many old style tests. 22339Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, 22340 closes #2290) 22341Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 22342 src/testdir/sautest/autoload/footest.vim, src/testdir/test55.in, 22343 src/testdir/test55.ok, src/testdir/test_changelist.in, 22344 src/testdir/test_changelist.ok, src/testdir/test_fold.vim, 22345 src/testdir/test_ins_complete.vim, 22346 src/testdir/test_insertcount.in, src/testdir/test_insertcount.ok, 22347 src/testdir/test_listdict.vim, src/testdir/test_normal.vim, 22348 src/testdir/test_search.vim, src/testdir/test_search_mbyte.in 22349 22350Patch 8.0.1272 22351Problem: Warnings for unused variables in tiny build. 22352Solution: Add #ifdef. (Dominique Pelle, closes #2288) 22353Files: src/term.c 22354 22355Patch 8.0.1273 (after 8.0.1271) 22356Problem: Old test file remaining. 22357Solution: Delete it. 22358Files: src/testdir/test_search_mbyte.ok 22359 22360Patch 8.0.1274 22361Problem: setbufline() fails when using folding. 22362Solution: Set "curwin" if needed. (Ozaki Kiichi, closes #2293) 22363Files: src/evalfunc.c, src/testdir/test_bufline.vim 22364 22365Patch 8.0.1275 22366Problem: CmdlineLeave autocmd prevents fold from opening. (Waivek) 22367Solution: Save and restore KeyTyped. (closes #2305) 22368Files: src/fileio.c 22369 22370Patch 8.0.1276 22371Problem: Typed key is lost when the terminal window is closed in exit 22372 callback. (Gabriel Barta) 22373Solution: When the current window changes bail out of the wait loop. (closes 22374 #2302) 22375Files: src/misc2.c, src/terminal.c 22376 22377Patch 8.0.1277 22378Problem: Terminal window CR-NL conversions may cause problems. 22379Solution: Avoid most conversions, only fetch the current backspace key value 22380 from the tty. (mostly by Ozaki Kiichi, closes #2278) 22381Files: src/terminal.c 22382 22383Patch 8.0.1278 22384Problem: GUI window always resizes when adding/removing a scrollbar, 22385 toolbar, etc. 22386Solution: Add the 'k' flag in 'guioptions' to keep the GUI window size and 22387 change the number of lines/columns instead. (Ychin, closes #703) 22388Files: runtime/doc/options.txt, src/gui.c, src/gui_gtk_x11.c, 22389 src/gui_w32.c, src/option.h 22390 22391Patch 8.0.1279 22392Problem: Initializing menus can be slow, especially when there are many 22393 keymaps, color schemes, etc. 22394Solution: Do the globbing for runtime files lazily. (Ken Takata) 22395Files: runtime/doc/gui.txt, runtime/menu.vim 22396 22397Patch 8.0.1280 22398Problem: Python None cannot be converted to a Vim type. 22399Solution: Convert it to v:none. (Ken Takata) 22400Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok, 22401 runtime/doc/if_pyth.txt 22402 22403Patch 8.0.1281 22404Problem: Loading file type detection slows down startup. 22405Solution: Move functions to an autoload script. 22406Files: runtime/filetype.vim, runtime/autoload/filetype.vim, 22407 runtime/scripts.vim 22408 22409Patch 8.0.1282 (after 8.0.1281) 22410Problem: script-local variable defined in the wrong script 22411Solution: Move variable to autoload/filetype.vim. 22412Files: runtime/filetype.vim, runtime/autoload/filetype.vim 22413 22414Patch 8.0.1283 22415Problem: Test 86 fails under ASAN. 22416Solution: Fix that an item was added to a dictionary twice. 22417Files: src/if_py_both.h 22418 22419Patch 8.0.1284 22420Problem: Loading file type detection slows down startup. 22421Solution: Store the last pattern of an autocommand event to make appending 22422 quicker. 22423Files: src/fileio.c 22424 22425Patch 8.0.1285 22426Problem: Distributed autoload files may clash with user files. (Andy 22427 Wokula) 22428Solution: Use the "autoload/dist" directory. 22429Files: runtime/filetype.vim, runtime/autoload/filetype.vim, 22430 runtime/autoload/dist/ft.vim, runtime/scripts.vim, Filelist, 22431 src/Makefile, nsis/gvim.nsi 22432 22433Patch 8.0.1286 22434Problem: Occasional crash when using a channel. (Marek) 22435Solution: Decrement reference count later. (closes #2315) 22436Files: src/channel.c 22437 22438Patch 8.0.1287 22439Problem: The temp file used when updating the viminfo file may have the 22440 wrong permissions if setting the group fails. 22441Solution: Check if the group matches and reduce permissions if not. 22442Files: src/ex_cmds.c 22443 22444Patch 8.0.1288 22445Problem: GUI: cannot drag the statusline of a terminal window. 22446Solution: Handle the TERMINAL state. (Hirohito Higashi) 22447Files: src/gui.c 22448 22449Patch 8.0.1289 22450Problem: Mkview always includes the local directory. 22451Solution: Add the "curdir" value in 'viewoptions'. (Eric Roberts, closes 22452 #2316) 22453Files: runtime/doc/options.txt, runtime/doc/starting.txt, src/ex_docmd.c, 22454 src/option.c 22455 22456Patch 8.0.1290 22457Problem: seq_cur of undotree() wrong after undo. 22458Solution: Get the actual sequence number instead of decrementing the current 22459 one. (Ozaki Kiichi, closes #2319) 22460Files: src/undo.c, src/testdir/test_undo.vim 22461 22462Patch 8.0.1291 22463Problem: C indent wrong when * immediately follows comment. (John Bowler) 22464Solution: Do not see "/*" after "*" as a comment start. (closes #2321) 22465Files: src/search.c, src/testdir/test3.in, src/testdir/test3.ok 22466 22467Patch 8.0.1292 22468Problem: Quick clicks in the WinBar start Visual mode. 22469Solution: Use a double click in the WinBar like a normal click. 22470Files: src/ui.c 22471 22472Patch 8.0.1293 22473Problem: Setting a breakpoint in the terminal debugger sometimes fails. 22474Solution: Interrupt the program if needed. Set the interface to async. 22475Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 22476 runtime/doc/terminal.txt 22477 22478Patch 8.0.1294 22479Problem: GUI: get stuck when splitting a terminal window. 22480Solution: Stop blinking when values become zero. (Hirohito Higashi) 22481Files: src/gui.c 22482 22483Patch 8.0.1295 22484Problem: Cannot automatically get a server name in a terminal. 22485Solution: Add the --enable-autoservername flag to configure. (Cimbali, 22486 closes #2317) 22487Files: runtime/doc/eval.txt, runtime/doc/various.txt, src/config.h.in, 22488 src/configure.ac, src/auto/configure, src/evalfunc.c, 22489 src/feature.h, src/main.c, src/version.c, src/Makefile 22490 22491Patch 8.0.1296 (after 8.0.1294) 22492Problem: Checking the same condition twice. (John Marriott) 22493Solution: Check blinkwait. 22494Files: src/gui.c 22495 22496Patch 8.0.1297 22497Problem: +autoservername does not show enabled on MS-Windows. 22498Solution: Always define the flag on MS-Windows. (Ken Takata) 22499Files: src/feature.h 22500 22501Patch 8.0.1298 22502Problem: Missing test file. 22503Solution: Add samples/test000. (Christian Brabandt) 22504Files: src/testdir/samples/test000, Filelist 22505 22506Patch 8.0.1299 22507Problem: Bracketed paste does not work well in terminal window. 22508Solution: Send translated string to job right away. (Ozaki Kiichi, closes 22509 #2341) 22510Files: src/terminal.c 22511 22512Patch 8.0.1300 22513Problem: File permissions may end up wrong when writing. 22514Solution: Use fchmod() instead of chmod() when possible. Don't truncate 22515 until we know we can change the file. 22516Files: src/os_unix.c, src/proto/os_unix.pro, src/configure.ac, 22517 src/auto/configure, src/config.h.in, src/fileio.c 22518 22519Patch 8.0.1301 22520Problem: Generated license file for NSIS has a modeline. 22521Solution: Adjust the pattern for sed. (Ken Takata) 22522Files: runtime/doc/Makefile 22523 22524Patch 8.0.1302 22525Problem: Still too many old style tests. 22526Solution: Convert a few more tests to new style. (Yegappan Lakshmanan, 22527 closes #2326) 22528Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak, 22529 src/testdir/Make_vms.mms, src/testdir/runtest.vim, 22530 src/testdir/test68.in, src/testdir/test68.ok, 22531 src/testdir/test73.in, src/testdir/test73.ok, 22532 src/testdir/test_close_count.in, src/testdir/test_close_count.ok, 22533 src/testdir/test_close_count.vim, 22534 src/testdir/test_erasebackword.in, 22535 src/testdir/test_erasebackword.ok, 22536 src/testdir/test_erasebackword.vim, 22537 src/testdir/test_find_complete.vim, src/testdir/test_fixeol.in, 22538 src/testdir/test_fixeol.ok, src/testdir/test_fixeol.vim, 22539 src/testdir/test_listchars.in, src/testdir/test_listchars.ok, 22540 src/testdir/test_listchars.vim, src/testdir/test_textformat.vim 22541 22542Patch 8.0.1303 22543Problem: 'ttymouse' is not set to "sgr" for Terminal.app and Iterm2. 22544Solution: Recognize Iterm2 by the termresponse. 22545Files: src/term.c 22546 22547Patch 8.0.1304 22548Problem: CTRL-G/CTRL-T don't work with incsearch and empty pattern. 22549Solution: Use the last search pattern. (Christian Brabandt, closes #2292) 22550Files: src/ex_getln.c, src/proto/search.pro, src/search.c, 22551 src/testdir/test_search.vim 22552 22553Patch 8.0.1305 22554Problem: writefile() never calls fsync(). 22555Solution: Follow the 'fsync' option with override to enable or disable. 22556Files: src/fileio.c, src/evalfunc.c, runtime/doc/eval.txt, src/globals.h, 22557 src/testdir/test_writefile.vim 22558 22559Patch 8.0.1306 22560Problem: ASAN error stack trace is not useful. 22561Solution: Add "asan_symbolize". (James McCoy, closes #2344) 22562Files: .travis.yml 22563 22564Patch 8.0.1307 (after 8.0.1300) 22565Problem: Compiler warning for ignoring return value of ftruncate(). (Tony 22566 Mechelynck) 22567Solution: Assign returned value to "ignore". 22568Files: src/fileio.c 22569 22570Patch 8.0.1308 22571Problem: The "Reading from stdin" message may be undesired and there is no 22572 easy way to skip it. 22573Solution: Don't show the message with --not-a-term was used. 22574Files: src/fileio.c 22575 22576Patch 8.0.1309 22577Problem: Cannot use 'balloonexpr' in a terminal. 22578Solution: Add 'balloonevalterm' and add code to handle mouse movements in a 22579 terminal. Initial implementation for Unix with GUI. 22580Files: src/option.c, src/option.h, src/os_unix.c, src/proto/os_unix.pro, 22581 src/feature.h, src/misc2.c, src/keymap.h, src/edit.c, 22582 src/ex_getln.c, src/message.c, src/misc1.c, src/normal.c, 22583 src/terminal.c, src/getchar.c, src/ex_cmds2.c, src/gui_beval.c, 22584 src/proto/gui_beval.pro, src/evalfunc.c, src/popupmnu.c, 22585 src/proto/popupmnu.pro, src/version.c, src/globals.h, src/gui.c, 22586 runtime/doc/options.txt, src/term.c, 22587 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 22588 22589Patch 8.0.1310 22590Problem: Cproto generates errors because of missing type. 22591Solution: Define _Float128 when generating prototypes. 22592Files: src/vim.h 22593 22594Patch 8.0.1311 22595Problem: No test for strpart(). 22596Solution: Add a test. (Dominique Pelle, closes #2347) 22597Files: src/testdir/test_functions.vim 22598 22599Patch 8.0.1312 (after 8.0.1309) 22600Problem: balloon_show() only works in terminal when compiled with the GUI. 22601Solution: Add FEAT_BEVAL_GUI and refactor to move common code out of the GUI 22602 specific file. 22603Files: src/feature.h, src/evalfunc.c, src/gui.c, src/gui_athena.c, 22604 src/gui_beval.c, src/proto/gui_beval.pro, src/beval.c, 22605 src/proto/beval.pro, src/gui_motif.c, src/gui_w32.c, 22606 src/gui_x11.c, src/integration.c, src/workshop.c, src/menu.c, 22607 src/netbeans.c, src/option.c, src/os_unix.c, src/os_win32.c, 22608 src/syntax.c, src/version.c, src/gui.h, src/gui_beval.h, 22609 src/vim.h, src/beval.h, src/option.h, src/ex_cmds2.c, src/ui.c, 22610 src/getchar.c, src/normal.c, src/popupmnu.c, src/globals.h, 22611 src/Makefile, src/Make_cyg_ming.mak, src/Make_mvc.mak, 22612 src/Make_vms.mms, Filelist 22613 22614Patch 8.0.1313 (after 8.0.1312) 22615Problem: Missing dependencies cause parallel make to fail. 22616Solution: Update dependencies. 22617Files: src/Makefile 22618 22619Patch 8.0.1314 (after 8.0.1312) 22620Problem: Build fails on Mac. (chdiza) 22621Solution: Add #ifdef around GUI fields. 22622Files: src/beval.h 22623 22624Patch 8.0.1315 (after 8.0.1312) 22625Problem: Build still fails on Mac. (chdiza) 22626Solution: Remove bogus typedef. 22627Files: src/os_macosx.m 22628 22629Patch 8.0.1316 (after 8.0.1312) 22630Problem: Build still still fails on Mac. (chdiza) 22631Solution: Remove another bogus typedef. 22632Files: src/os_mac_conv.c 22633 22634Patch 8.0.1317 22635Problem: Accessing freed memory in term_wait(). (Dominique Pelle) 22636Solution: Check that the buffer still exists. 22637Files: src/terminal.c 22638 22639Patch 8.0.1318 22640Problem: Terminal balloon only shows one line. 22641Solution: Split into several lines in a clever way. Add balloon_split(). 22642 Make balloon_show() accept a list in the terminal. 22643Files: src/popupmnu.c, src/proto/popupmnu.pro, src/evalfunc.c, 22644 src/beval.c, src/proto/beval.pro, src/testdir/test_popup.vim, 22645 runtime/doc/eval.txt, 22646 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 22647 22648Patch 8.0.1319 22649Problem: Can't build GUI on MS-Windows. 22650Solution: Don't define the balloon_split() function in a GUI-only build. 22651Files: src/evalfunc.c, runtime/doc/eval.txt 22652 22653Patch 8.0.1320 22654Problem: Popup test fails on GUI-only build. 22655Solution: Don't test balloon_split() when it's not available. 22656Files: src/testdir/test_popup.vim 22657 22658Patch 8.0.1321 22659Problem: Can't build huge version with Athena. (Mark Kelly) 22660Solution: Move including beval.h to before structs.h. Include beval.pro like 22661 other proto files. 22662Files: src/vim.h, src/beval.h, src/proto.h 22663 22664Patch 8.0.1322 22665Problem: Textformat test isn't run. (Yegappan Lakshmanan) 22666Solution: Add target to the list of tests. 22667Files: src/testdir/Make_all.mak 22668 22669Patch 8.0.1323 22670Problem: Mouse events in a terminal window may cause endless loop. 22671Solution: Adjust position computation. Don't stuff a mouse event when 22672 coming from normal_cmd(). 22673Files: src/normal.c, src/terminal.c 22674 22675Patch 8.0.1324 22676Problem: Some xterm sends different mouse move codes. 22677Solution: Also accept 0x80 as a move event. 22678Files: src/term.c 22679 22680Patch 8.0.1325 22681Problem: More tests are not run. 22682Solution: Add targets to the list of tests. (Yegappan Lakshmanan) 22683Files: src/testdir/Make_all.mak 22684 22685Patch 8.0.1326 22686Problem: Largefile test fails on CI, glob test on MS-Windows. 22687Solution: Remove largefile test from list of all tests. Don't run 22688 Test_glob() on non-unix systems. More cleanup. (Yegappan 22689 Lakshmanan, closes #2354) 22690Files: src/testdir/Make_all.mak, src/testdir/test_escaped_glob.vim, 22691 src/testdir/test_plus_arg_edit.vim 22692 22693Patch 8.0.1327 22694Problem: New proto file missing from distribution. 22695Solution: Add it. (closes #2355) 22696Files: Filelist 22697 22698Patch 8.0.1328 22699Problem: Trouble when using ":term ++close" with autocmd. (Gabriel Barta) 22700Solution: Use aucmd_prepbuf() and aucmd_restbuf() instead of setting curbuf. 22701 (closes #2339) 22702Files: src/terminal.c, src/testdir/test_terminal.vim 22703 22704Patch 8.0.1329 22705Problem: When a flaky test fails it also often fails the second time. 22706Solution: Sleep a couple of seconds before the second try. 22707Files: src/testdir/runtest.vim 22708 22709Patch 8.0.1330 22710Problem: MS-Windows: job in terminal can't get back to Vim. 22711Solution: set VIM_SERVERNAME in the environment. (Yasuhiro Matsumoto, closes 22712 #2360) 22713Files: runtime/doc/terminal.txt, src/os_win32.c, src/proto/os_win32.pro, 22714 src/terminal.c, src/testdir/test_terminal.vim 22715 22716Patch 8.0.1331 22717Problem: Possible crash when window can be zero lines high. (Joseph 22718 Dornisch) 22719Solution: Only set w_fraction if the window is at least two lines high. 22720Files: src/window.c 22721 22722Patch 8.0.1332 22723Problem: Highlighting in quickfix window could be better. (Axel Bender) 22724Solution: Use the qfSeparator highlight item. (Yegappan Lakshmanan) 22725Files: src/quickfix.c 22726 22727Patch 8.0.1333 22728Problem: Some tests are run twice. 22729Solution: Invoked most utf8 tests only from test_alot_utf8. (Yegappan 22730 Lakshmanan, closes #2369) 22731Files: src/testdir/Make_all.mak, src/testdir/test_alot_utf8.vim, 22732 src/testdir/test_mksession_utf8.vim 22733 22734Patch 8.0.1334 22735Problem: Splitting a window with a WinBar damages window layout. 22736 (Lifepillar) 22737Solution: Take the winbar into account when computing the new window 22738 position. Add WINBAR_HEIGHT(). 22739Files: src/vim.h, src/window.c 22740 22741Patch 8.0.1335 22742Problem: writefile() using fsync() may give an error for a device. 22743 (Yasuhiro Matsumoto) 22744Solution: Ignore fsync() failing. (closes #2373) 22745Files: src/evalfunc.c 22746 22747Patch 8.0.1336 22748Problem: Cannot use imactivatefunc() unless compiled with +xim. 22749Solution: Allow using imactivatefunc() when not compiled with +xim. 22750 (Yasuhiro Matsumoto, closes #2349) 22751Files: runtime/doc/options.txt, runtime/doc/mbyte.txt, src/mbyte.c, 22752 src/option.c, src/option.h, src/structs.h, 22753 src/testdir/test_iminsert.vim, src/Makefile, 22754 src/testdir/Make_all.mak, src/vim.h 22755 22756Patch 8.0.1337 (after 8.0.1336) 22757Problem: Typo in #ifdef. 22758Solution: Fix the #if line. 22759Files: src/mbyte.c 22760 22761Patch 8.0.1338 (after 8.0.1337) 22762Problem: USE_IM_CONTROL is confusing and incomplete. 22763Solution: Just use FEAT_MBYTE. Call 'imactivatefunc' also without GUI. 22764Files: src/vim.h, src/edit.c, src/ex_getln.c, src/getchar.c, src/gui.c, 22765 src/gui_mac.c, src/gui_w32.c, src/mbyte.c, src/normal.c, 22766 src/option.c, src/ui.c, src/globals.h, src/option.h 22767 22768Patch 8.0.1339 22769Problem: No test for what 8.0.1335 fixes. 22770Solution: Add a test. (Yasuhiro Matsumoto, closes #2373) 22771Files: src/testdir/test_writefile.vim 22772 22773Patch 8.0.1340 22774Problem: MS-Windows: cannot build GUI without IME. 22775Solution: Define im_get_status() and im_set_active() when IME is not used. 22776Files: src/mbyte.c 22777 22778Patch 8.0.1341 22779Problem: 'imactivatefunc' test fails on MS-Windows. 22780Solution: Skip the text. 22781Files: src/testdir/test_iminsert.vim, runtime/doc/options.txt 22782 22783Patch 8.0.1342 22784Problem: Cannot build with Motif and multi-byte. (Mohamed Boughaba) 22785Solution: Use the right input method status flag. (closes #2374) 22786Files: src/mbyte.c 22787 22788Patch 8.0.1343 22789Problem: MS-Windows: does not show colored emojis. 22790Solution: Implement colored emojis. Improve drawing speed. Make 'taamode' 22791 work. (Taro Muraoka, Yasuhiro Matsumoto, Ken Takata, close #2375) 22792Files: appveyor.yml, runtime/doc/options.txt, src/gui_dwrite.cpp, 22793 src/gui_dwrite.h, src/gui_w32.c, src/proto/gui_w32.pro 22794 22795Patch 8.0.1344 22796Problem: Using 'imactivatefunc' in the GUI does not work. 22797Solution: Do not use 'imactivatefunc' and 'imstatusfunc' in the GUI. 22798Files: runtime/doc/options.txt, src/mbyte.c, 22799 src/testdir/test_iminsert.vim 22800 22801Patch 8.0.1345 22802Problem: Race condition between stat() and open() for the viminfo temp 22803 file. (Simon Ruderich) 22804Solution: use open() with O_EXCL to atomically check if the file exists. 22805 Don't try using a temp file, renaming it will fail anyway. 22806Files: src/ex_cmds.c 22807 22808Patch 8.0.1346 22809Problem: Crash when passing 50 char string to balloon_split(). 22810Solution: Fix off-by-one error. 22811Files: src/testdir/test_popup.vim, src/popupmnu.c 22812 22813Patch 8.0.1347 22814Problem: MS-Windows: build broken by misplaced curly. 22815Solution: Move curly after #endif. 22816Files: src/ex_cmds.c 22817 22818Patch 8.0.1348 22819Problem: Make testclean deletes script file on MS-Windows. 22820Solution: Rename file to avoid it starting with an "x". 22821Files: src/testdir/xterm_ramp.vim, src/testdir/color_ramp.vim, Filelist 22822 22823Patch 8.0.1349 22824Problem: Options test fails when using Motif or GTK GUI. 22825Solution: Use "fixed" instead of "fixedsys" for Unix. Don't try "xxx" for 22826 guifonteset. Don't set 'termencoding' to anything but "utf-8" for 22827 GTK. Give an error if 'termencoding' can't be converted. 22828Files: src/testdir/gen_opt_test.vim, src/option.c 22829 22830Patch 8.0.1350 22831Problem: Cannot build with +eval and -multi_byte. 22832Solution: Adjust #ifdefs. (John Marriott) Always include the multi_byte 22833 feature when an input method feature is enabled. 22834Files: src/mbyte.c, src/feature.h 22835 22836Patch 8.0.1351 22837Problem: Warning for unused variables building with MinGW. 22838Solution: Change a few #ifdefs (suggested by John Marriott). Remove 22839 superfluous checks of FEAT_MBYTE. 22840Files: src/gui_w32.c 22841 22842Patch 8.0.1352 22843Problem: Dead URLs in the help go unnoticed. 22844Solution: Add a script to check URLs in the help files. (Christian Brabandt) 22845Files: runtime/doc/Makefile, runtime/doc/test_urls.vim, Filelist 22846 22847Patch 8.0.1353 22848Problem: QuickFixCmdPost is not used consistently. 22849Solution: Invoke QuickFixCmdPost consistently after QuickFixCmdPre. 22850 (Yegappan Lakshmanan, closes #2377) 22851Files: src/quickfix.c, src/testdir/test_quickfix.vim 22852 22853Patch 8.0.1354 22854Problem: Shift-Insert doesn't always work in MS-Windows console. 22855Solution: Handle K_NUL differently. (Yasuhiro Matsumoto, closes #2381) 22856Files: src/os_win32.c 22857 22858Patch 8.0.1355 (after 8.0.1354) 22859Problem: Cursor keys don't work in MS-Windows console. 22860Solution: Revert the previous patch. Also delete dead code. 22861Files: src/os_win32.c 22862 22863Patch 8.0.1356 22864Problem: Using simalt in a GUIEnter autocommand inserts strange characters. 22865 (Chih-Long Chang) 22866Solution: Ignore K_NOP in Insert mode. (closes #2379) 22867Files: src/edit.c, src/ex_getln.c 22868 22869Patch 8.0.1357 22870Problem: Startup test fails on OpenBSD. (Edd Barrett) 22871Solution: Check for "BSD" instead of "FreeBSD" being defined. (James McCoy, 22872 closes #2376, closes #2378) 22873Files: src/vim.h 22874 22875Patch 8.0.1358 22876Problem: Undercurl is not used in the terminal. (Kovid Goyal) 22877Solution: Only fall back to underline when undercurl highlighting is not 22878 defined. (closes #1306) 22879Files: src/screen.c 22880 22881Patch 8.0.1359 22882Problem: Libvterm ANSI colors can not always be recognized from the RGB 22883 values. The default color is wrong when t_RB is empty. 22884Solution: Add the ANSI color index to VTermColor. 22885Files: src/libvterm/include/vterm.h, src/libvterm/src/pen.c, 22886 src/terminal.c 22887 22888Patch 8.0.1360 22889Problem: The Terminal highlighting doesn't work in a terminal. (Ozaki 22890 Kiichi) 22891Solution: Use the Terminal highlighting when the cterm index is zero. 22892Files: src/terminal.c 22893 22894Patch 8.0.1361 22895Problem: Some users don't want to diff with hidden buffers. 22896Solution: Add the "hiddenoff" item to 'diffopt'. (Alisue, closes #2394) 22897Files: runtime/doc/options.txt, src/buffer.c, src/diff.c, 22898 src/proto/diff.pro, src/testdir/test_diffmode.vim 22899 22900Patch 8.0.1362 22901Problem: Terminal window colors wrong when using Terminal highlighting. 22902Solution: Set ansi_index when setting the default color. Also cache the 22903 color index for Terminal. (Ozaki Kiichi, closes #2393) 22904Files: src/libvterm/src/pen.c, src/proto/terminal.pro, src/syntax.c, 22905 src/terminal.c 22906 22907Patch 8.0.1363 22908Problem: Recovering does not work when swap file ends in .stz. 22909Solution: Check for all possible swap file names. (Elfling, closes #2395, 22910 closes #2396) 22911Files: src/memline.c 22912 22913Patch 8.0.1364 22914Problem: There is no easy way to get the window position. 22915Solution: Add win_screenpos(). 22916Files: src/evalfunc.c, src/testdir/test_window_cmd.vim, 22917 runtime/doc/eval.txt 22918 22919Patch 8.0.1365 22920Problem: When one channel test fails others fail as well. 22921Solution: Stop the job after a failure. Also add a couple of tests to the 22922 list of flaky tests. 22923Files: src/testdir/test_channel.vim, src/testdir/runtest.vim 22924 22925Patch 8.0.1366 22926Problem: Balloon shows when cursor is in WinBar. 22927Solution: Don't show the balloon when row is negative. 22928Files: src/beval.c 22929 22930Patch 8.0.1367 22931Problem: terminal test hangs, executing abcde. (Stucki) 22932Solution: Rename abcde to abxde. 22933Files: src/testdir/test_terminal.vim 22934 22935Patch 8.0.1368 22936Problem: Cannot drag status line or vertical separator of new terminal 22937 window. (UncleBill) 22938Solution: Adjust mouse row and column computation. (Yasuhiro Matsumoto, 22939 closes #2410) 22940Files: src/terminal.c 22941 22942Patch 8.0.1369 22943Problem: MS-Windows: drawing underline, curl and strikethrough is slow, 22944 mFallbackDC not properly updated. 22945Solution: Several performance improvements. (Ken Takata, Taro Muraoka, 22946 Yasuhiro Matsumoto, closes #2401) 22947Files: runtime/doc/options.txt, src/gui_dwrite.cpp, src/gui_dwrite.h, 22948 src/gui_w32.c 22949 22950Patch 8.0.1370 22951Problem: Channel test for callback is flaky. 22952Solution: Add the test to the list of flaky tests. 22953Files: src/testdir/runtest.vim 22954 22955Patch 8.0.1371 22956Problem: Shift-Insert doesn't always work in MS-Windows console. 22957Solution: Handle K_NUL differently if the second character is more than one 22958 byte. (Yasuhiro Matsumoto, closes #2381) 22959Files: src/os_win32.c 22960 22961Patch 8.0.1372 22962Problem: Profile log may be truncated halfway a character. 22963Solution: Find the start of the character. (Ozaki Kiichi, closes #2385) 22964Files: src/ex_cmds2.c, src/testdir/test_profile.vim 22965 22966Patch 8.0.1373 22967Problem: No error when setting 'renderoptions' to an invalid value before 22968 starting the GUI. 22969Solution: Always check the value. (Ken Takata, closes #2413) 22970Files: src/gui_w32.c, src/option.c 22971 22972Patch 8.0.1374 22973Problem: CTRL-A does not work with an empty line. (Alex) 22974Solution: Decrement the end only once. (Hirohito Higashi, closes #2387) 22975Files: src/ops.c, src/testdir/test_increment.vim 22976 22977Patch 8.0.1375 22978Problem: Window size wrong after maximizing with WinBar. (Lifepillar) 22979Solution: Fix height computations. Redraw window when it is zero height but 22980 has a WinBar. (closes #2356) 22981Files: src/window.c, src/screen.c, src/vim.h 22982 22983Patch 8.0.1376 22984Problem: Cursor in terminal not always updated. 22985Solution: Call gui_mch_flush(). (Ken Takata) 22986Files: src/terminal.c 22987 22988Patch 8.0.1377 22989Problem: Cannot call a dict function in autoloaded dict. 22990Solution: Call get_lval() passing the read-only flag. 22991Files: src/userfunc.c, src/eval.c, src/testdir/sautest/autoload/foo.vim, 22992 src/testdir/sautest/autoload/globone.vim, 22993 src/testdir/sautest/autoload/globtwo.vim, 22994 src/testdir/test_escaped_glob.vim, src/Makefile, 22995 src/testdir/test_autoload.vim, src/Makefile, 22996 src/testdir/Make_all.mak 22997 22998Patch 8.0.1378 22999Problem: Autoload script sources itself when defining function. 23000Solution: Pass TFN_NO_AUTOLOAD to trans_function_name(). (Yasuhiro 23001 Matsumoto, closes #2423) 23002Files: src/userfunc.c, src/testdir/test_autoload.vim, 23003 src/testdir/sautest/autoload/sourced.vim 23004 23005Patch 8.0.1379 23006Problem: Configure check for selinux does not check for header file. 23007Solution: Add an AC_CHECK_HEADER(). (Benny Siegert) 23008Files: src/configure.ac, src/auto/configure 23009 23010Patch 8.0.1380 23011Problem: When recovering a file with "vim -r swapfile" the hit-enter prompt 23012 is at the top of the window. 23013Solution: Invalidate the cursor position. 23014Files: src/term.c 23015 23016Patch 8.0.1381 23017Problem: ch_readraw() waits for NL if channel mode is NL. 23018Solution: Pass a "raw" flag to channel_read_block(). (Yasuhiro Matsumoto) 23019Files: src/channel.c, src/proto/channel.pro, 23020 src/testdir/test_channel.vim, src/testdir/test_channel_pipe.py 23021 23022Patch 8.0.1382 23023Problem: Get "no write since last change" message if a terminal is open. 23024 (Fritz mehner) 23025Solution: Don't consider a buffer changed if it's a terminal window. 23026Files: src/ex_cmds.c, src/undo.c, src/proto/undo.pro 23027 23028Patch 8.0.1383 23029Problem: Local additions in help skips some files. (joshklod) 23030Solution: Check the base file name length equals. 23031Files: src/ex_cmds.c, src/testdir/test_help.vim 23032 23033Patch 8.0.1384 23034Problem: Not enough quickfix help; confusing winid. 23035Solution: Add more examples in the help. When the quickfix window is not 23036 present, return zero for getqflist() with 'winid'. Add more tests 23037 for jumping to quickfix list entries. (Yegappan Lakshmanan, closes 23038 #2427) 23039Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c, 23040 src/testdir/test_quickfix.vim 23041 23042Patch 8.0.1385 23043Problem: Python 3.5 is getting old. 23044Solution: Make Python 3.6 the default. (Ken Takata, closes #2429) 23045Files: runtime/doc/if_pyth.txt, src/INSTALLpc.txt, src/Make_cyg_ming.mak, 23046 src/Make_mvc.mak, src/bigvim.bat 23047 23048Patch 8.0.1386 23049Problem: Cannot select modified buffers with getbufinfo(). 23050Solution: Add the "bufmodified" flag. (Yegappan Lakshmanan, closes #2431) 23051Files: runtime/doc/eval.txt, src/evalfunc.c, 23052 src/testdir/test_bufwintabinfo.vim 23053 23054Patch 8.0.1387 23055Problem: Wordcount test is old style. 23056Solution: Change into a new style test. (Yegappan Lakshmanan, closes #2434) 23057Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_ming.mak, 23058 src/testdir/Make_vms.mms, src/testdir/test_wordcount.in, 23059 src/testdir/test_wordcount.ok, src/testdir/test_wordcount.vim 23060 23061Patch 8.0.1388 23062Problem: Char not overwritten with ambiguous width char, if the ambiguous 23063 char is single width but we reserve double-width space. 23064Solution: First clear the screen cells. (Ozaki Kiichi, closes #2436) 23065Files: src/screen.c 23066 23067Patch 8.0.1389 23068Problem: getqflist() items are missing if not set, that makes it more 23069 difficult to handle the values. 23070Solution: When a value is not available return zero or another invalid 23071 value. (Yegappan Lakshmanan, closes #2430) 23072Files: runtime/doc/eval.txt, src/quickfix.c, 23073 src/testdir/test_quickfix.vim 23074 23075Patch 8.0.1390 23076Problem: DirectX scrolling can be slow, vertical positioning is off. 23077Solution: Make scroll slightly faster when using "scrlines:1". Fix y 23078 position of displayed text. Fix DirectX with non-utf8 encoding. 23079 (Ken Takata, closes #2440) 23080Files: src/INSTALLpc.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak, 23081 src/gui_dwrite.cpp, src/gui_w32.c 23082 23083Patch 8.0.1391 23084Problem: Encoding empty string to JSON sometimes gives "null". 23085Solution: Handle NULL string as empty string. (closes #2446) 23086Files: src/testdir/test_json.vim, src/json.c 23087 23088Patch 8.0.1392 23089Problem: Build fails with --with-features=huge --disable-channel. 23090Solution: Don't enable the terminal feature when the channel feature is 23091 missing. (Dominique Pelle, closes #2453) 23092Files: src/configure.ac, src/auto/configure 23093 23094Patch 8.0.1393 23095Problem: Too much highlighting with 'hlsearch' and 'incsearch' set. 23096Solution: Do not highlight matches when the pattern matches everything. 23097Files: src/ex_getln.c 23098 23099Patch 8.0.1394 23100Problem: Cannot intercept a yank command. 23101Solution: Add the TextYankPost autocommand event. (Philippe Vaucher et al., 23102 closes #2333) 23103Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/dict.c, 23104 src/eval.c, src/fileio.c, src/ops.c, src/proto/dict.pro, 23105 src/proto/eval.pro, src/proto/fileio.pro, 23106 src/testdir/test_autocmd.vim, src/vim.h 23107 23108Patch 8.0.1395 23109Problem: It is not easy to see if a colorscheme is well written. 23110Solution: Add a script that checks for common mistakes. (Christian Brabandt) 23111Files: runtime/colors/check_colors.vim, runtime/colors/README.txt 23112 23113Patch 8.0.1396 23114Problem: Memory leak when CTRL-G in search command line fails. 23115Solution: Move restore_last_search_pattern to after "if". 23116Files: src/ex_getln.c 23117 23118Patch 8.0.1397 23119Problem: Pattern with \& following nothing gives an error. 23120Solution: Emit an empty node when needed. 23121Files: src/regexp_nfa.c, src/testdir/test_search.vim 23122 23123Patch 8.0.1398 23124Problem: :packadd does not load packages from the "start" directory. 23125 (Alejandro Hernandez) 23126Solution: Make :packadd look in the "start" directory if those packages were 23127 not loaded on startup. 23128Files: src/ex_cmds2.c, src/testdir/test_packadd.vim 23129 23130Patch 8.0.1399 23131Problem: Warnings and errors when building tiny version. (Tony Mechelynck) 23132Solution: Add #ifdefs. 23133Files: src/ex_getln.c, src/ops.c 23134 23135Patch 8.0.1400 23136Problem: Color scheme check script shows up as color scheme. 23137Solution: Move it to the "tools" subdirectory. (closes #2457) 23138Files: Filelist, runtime/colors/check_colors.vim, 23139 runtime/colors/tools/check_colors.vim, runtime/colors/README.txt 23140 23141Patch 8.0.1401 23142Problem: Cannot build with GTK but without XIM. (Guido) 23143Solution: Adjust #ifdef. (closes #2461) 23144Files: src/gui.c 23145 23146Patch 8.0.1402 23147Problem: Crash with nasty autocommand. (gy741, Dominique Pelle) 23148Solution: Check that the new current buffer isn't wiped out. (closes #2447) 23149Files: src/buffer.c, src/testdir/test_autocmd.vim 23150 23151Patch 8.0.1403 23152Problem: Using freed buffer in grep command. (gy741, Dominique Pelle) 23153Solution: Lock the dummy buffer to avoid autocommands wiping it out. 23154Files: src/quickfix.c, src/testdir/test_autocmd.vim 23155 23156Patch 8.0.1404 23157Problem: Invalid memory access on exit when autocommands wipe out a buffer. 23158 (gy741, Dominique Pelle) 23159Solution: Check if the buffer is still valid. (closes #2449) 23160Files: src/main.c 23161 23162Patch 8.0.1405 23163Problem: Duplicated code for getting a typed character. CursorHold is 23164 called too often in the GUI. (lilydjwg) 23165Solution: Refactor code to move code up from mch_inchar(). Don't fire 23166 CursorHold if feedkeys() was used. (closes #2451) 23167Files: src/gui.c, src/proto/gui.pro, src/main.c, src/ui.c, 23168 src/proto/ui.pro, src/os_unix.c 23169 23170Patch 8.0.1406 23171Problem: Difficult to track changes to a quickfix list. 23172Solution: Add a "changedtick" value. (Yegappan Lakshmanan, closes #2460) 23173Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c, 23174 src/testdir/test_quickfix.vim 23175 23176Patch 8.0.1407 23177Problem: GUI: CursorHold may trigger before 'updatetime' when using timers. 23178Solution: Check that 'updatetime' has passed. 23179Files: src/gui.c 23180 23181Patch 8.0.1408 23182Problem: Crash in setqflist(). 23183Solution: Check for string to be NULL. (Dominique Pelle, closes #2464) 23184Files: src/quickfix.c, src/testdir/test_quickfix.vim 23185 23186Patch 8.0.1409 23187Problem: Buffer overflow in :tags command. 23188Solution: Use vim_snprintf(). (Dominique Pelle, closes #2471, closes #2475) 23189 Add a test. 23190Files: src/testdir/test_taglist.vim, src/tag.c 23191 23192Patch 8.0.1410 23193Problem: Hang when using count() with an empty string. 23194Solution: Return zero for an empty string. (Dominique Pelle, closes #2465) 23195Files: runtime/doc/eval.txt, src/evalfunc.c, 23196 src/testdir/test_functions.vim 23197 23198Patch 8.0.1411 23199Problem: Reading invalid memory with CTRL-W :. 23200Solution: Correct the command characters. (closes #2469) 23201Files: src/normal.c, src/testdir/test_window_cmd.vim, src/ops.c 23202 23203Patch 8.0.1412 23204Problem: Using free memory using setloclist(). (Dominique Pelle) 23205Solution: Mark location list context as still in use when needed. (Yegappan 23206 Lakshmanan, closes #2462) 23207Files: src/quickfix.c, src/testdir/test_quickfix.vim 23208 23209Patch 8.0.1413 23210Problem: Accessing freed memory in :cbuffer. 23211Solution: Get quickfix list after executing autocmds. (closes #2470) 23212Files: src/quickfix.c, src/testdir/test_autocmd.vim 23213 23214Patch 8.0.1414 23215Problem: Accessing freed memory in :lfile. 23216Solution: Get the current window after executing autocommands. (Yegappan 23217 Lakshmanan, closes #2473) 23218Files: src/quickfix.c, src/testdir/test_quickfix.vim 23219 23220Patch 8.0.1415 23221Problem: Warning for unused function without timers feature. 23222Solution: Add #ifdef. (John Marriott) 23223Files: src/gui.c 23224 23225Patch 8.0.1416 23226Problem: Crash when searching for a sentence. 23227Solution: Return NUL when getting character at MAXCOL. (closes #2468) 23228Files: src/misc1.c, src/misc2.c, src/testdir/test_search.vim, 23229 src/ex_docmd.c 23230 23231Patch 8.0.1417 23232Problem: Test doesn't search for a sentence. Still fails when searching for 23233 start of sentence. (Dominique Pelle) 23234Solution: Add paren. Check for MAXCOL in dec(). 23235Files: src/testdir/test_search.vim, src/misc2.c 23236 23237Patch 8.0.1418 23238Problem: No test for expanding backticks. 23239Solution: Add a test. (Dominique Pelle, closes #2479) 23240Files: src/testdir/test_normal.vim 23241 23242Patch 8.0.1419 23243Problem: Cursor column is not updated after ]s. (Gary Johnson) 23244Solution: Set the curswant flag. 23245Files: src/testdir/test_spell.vim, src/normal.c, src/evalfunc.c 23246 23247Patch 8.0.1420 23248Problem: Accessing freed memory in vimgrep. 23249Solution: Check that the quickfix list is still valid. (Yegappan Lakshmanan, 23250 closes #2474) 23251Files: src/quickfix.c, src/testdir/test_autocmd.vim, 23252 src/testdir/test_quickfix.vim 23253 23254Patch 8.0.1421 23255Problem: Accessing invalid memory with overlong byte sequence. 23256Solution: Check for NUL character. (test by Dominique Pelle, closes #2485) 23257Files: src/misc2.c, src/testdir/test_functions.vim 23258 23259Patch 8.0.1422 23260Problem: No fallback to underline when undercurl is not set. (Ben Jackson) 23261Solution: Check for the value to be empty instead of NULL. (closes #2424) 23262Files: src/screen.c 23263 23264Patch 8.0.1423 23265Problem: Error in return not caught by try/catch. 23266Solution: Call update_force_abort(). (Yasuhiro Matsumoto, closes #2483) 23267Files: src/testdir/test_eval.in, src/testdir/test_eval_stuff.vim, 23268 src/Makefile, src/testdir/Make_all.mak, src/userfunc.c 23269 23270Patch 8.0.1424 23271Problem: The timer_pause test is flaky on Travis. 23272Solution: Accept a longer sleep time on Mac. 23273Files: src/testdir/test_timers.vim 23274 23275Patch 8.0.1425 23276Problem: execute() does not work in completion of user command. (thinca) 23277Solution: Switch off redir_off and restore it. (Ozaki Kiichi, closes #2492) 23278Files: src/evalfunc.c, src/testdir/test_usercommands.vim 23279 23280Patch 8.0.1426 23281Problem: "gf" and <cfile> don't accept ? and & in URL. (Dmitrii Tcyganok) 23282Solution: Check for a URL and allow for extra characters. (closes #2493) 23283Files: src/window.c, src/testdir/test_gf.vim 23284 23285Patch 8.0.1427 23286Problem: The :leftabove modifier doesn't work for :copen. 23287Solution: Respect the split modifier. (Yegappan Lakshmanan, closes #2496) 23288Files: src/quickfix.c, src/testdir/test_quickfix.vim 23289 23290Patch 8.0.1428 23291Problem: Compiler warning on 64 bit MS-Windows system. 23292Solution: Change type from "int" to "size_t". (Mike Williams) 23293Files: src/ex_getln.c 23294 23295Patch 8.0.1429 23296Problem: Crash when calling term_start() with empty argument. 23297Solution: Check for invalid argument. (Yasuhiro Matsumoto, closes #2503) 23298 Fix memory leak. 23299Files: src/terminal.c, src/testdir/test_terminal.vim 23300 23301Patch 8.0.1430 (after 8.0.1429) 23302Problem: Crash when term_start() fails. 23303Solution: Initialize winpty_err. 23304Files: src/terminal.c 23305 23306Patch 8.0.1431 23307Problem: MS-Windows: vimtutor fails if %TMP% has special chars. 23308Solution: Add quotes. (Tamce, closes #2561) 23309Files: vimtutor.bat 23310 23311Patch 8.0.1432 23312Problem: After ":copen" can't get the window-ID of the quickfix window. 23313 (FalacerSelene) 23314Solution: Make it work without a quickfix list. Add a test. (Yegappan 23315 Lakshmanan, closes #2541) 23316Files: src/quickfix.c, src/testdir/test_quickfix.vim 23317 23318Patch 8.0.1433 23319Problem: Illegal memory access after undo. (Dominique Pelle) 23320Solution: Avoid the column becomes negative. (Christian Brabandt, 23321 closes #2533) 23322Files: src/mbyte.c, src/testdir/test_undo.vim 23323 23324Patch 8.0.1434 23325Problem: GTK: :promtfind does not put focus on text input. (Adam Novak) 23326Solution: When re-opening the dialog put focus on the text input. (Kazunobu 23327 Kuriyama, closes #2563) 23328Files: src/gui_gtk.c 23329 23330Patch 8.0.1435 23331Problem: Memory leak in test_arabic. 23332Solution: Free the from and to parts. (Christian Brabandt, closes #2569) 23333Files: src/buffer.c, src/digraph.c, src/proto/digraph.pro 23334 23335Patch 8.0.1436 23336Problem: Not enough information about what Python version may work. 23337Solution: Add "python_compiled", "python3_compiled", "python_dynamic" and 23338 "python3_dynamic" values for has(). 23339Files: src/evalfunc.c, runtime/doc/eval.txt 23340 23341Patch 8.0.1437 23342Problem: Pkg-config doesn't work with cross compiling. 23343Solution: Use AC_PATH_TOOL() instead of AC_PATH_PROG(). (James McCoy, 23344 closes #2513) 23345Files: src/configure.ac, src/auto/configure 23346 23347Patch 8.0.1438 23348Problem: Filetype detection test not updated for change. 23349Solution: Update the test. 23350Files: src/testdir/test_filetype.vim 23351 23352Patch 8.0.1439 23353Problem: If cscope fails a search Vim may hang. 23354Solution: Bail out when a search error is encountered. (Safouane Baroudi, 23355 closes #2598) 23356Files: src/if_cscope.c 23357 23358Patch 8.0.1440 23359Problem: Terminal window: some vterm responses are delayed. 23360Solution: After writing input. check if there is output to read. (Ozaki 23361 Kiichi, closes #2594) 23362Files: src/terminal.c, src/testdir/test_search.vim, 23363 src/testdir/test_terminal.vim 23364 23365Patch 8.0.1441 23366Problem: Using ":undo 0" leaves undo in wrong state. 23367Solution: Instead of searching for state 1 and go above, just use the start. 23368 (Ozaki Kiichi, closes #2595) 23369Files: src/undo.c, src/testdir/test_undo.vim 23370 23371Patch 8.0.1442 (after 8.0.1439) 23372Problem: Using pointer before it is set. 23373Solution: Search in whole buffer instead of next token. 23374Files: src/if_cscope.c 23375 23376Patch 8.0.1443 (after 8.0.1441) 23377Problem: Compiler complains about uninitialized variable. (Tony Mechelynck) 23378Solution: Assign a value to the variable. 23379Files: src/undo.c 23380 23381Patch 8.0.1444 23382Problem: Missing -D_FILE_OFFSET_BITS=64 may cause problems if a library is 23383 compiled with it. 23384Solution: Include -D_FILE_OFFSET_BITS if some CFLAGS has it. (James McCoy, 23385 closes #2600) 23386Files: src/configure.ac, src/auto/configure 23387 23388Patch 8.0.1445 23389Problem: Cannot act on edits in the command line. 23390Solution: Add the CmdlineChanged autocommand event. (xtal8, closes #2603, 23391 closes #2524) 23392Files: runtime/doc/autocmd.txt, src/ex_getln.c, src/fileio.c, 23393 src/testdir/test_autocmd.vim, src/vim.h 23394 23395Patch 8.0.1446 23396Problem: Accessing freed memory after window command in auto command. 23397 (gy741) 23398Solution: Adjust the pointer in the parent frame. (Christian Brabandt, 23399 closes #2467) 23400Files: src/window.c, src/testdir/test_window_cmd.vim 23401 23402Patch 8.0.1447 23403Problem: Still too many old style tests. 23404Solution: Turn a few tests into new style. (Yegappan Lakshmanan, 23405 closes #2509) 23406Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 23407 src/testdir/main.aap, src/testdir/test15.in, 23408 src/testdir/test15.ok, src/testdir/test36.in, 23409 src/testdir/test36.ok, src/testdir/test50.in, 23410 src/testdir/test50.ok, src/testdir/test_regex_char_classes.vim, 23411 src/testdir/test_shortpathname.vim, 23412 src/testdir/test_textformat.vim 23413 23414Patch 8.0.1448 23415Problem: Segmentation fault when Ruby throws an exception inside :rubyfile 23416 command. 23417Solution: Use rb_protect() instead of rb_load_protect(). (ujihisa, 23418 closes #2147, greywolf, closes #2512, #2511) 23419Files: src/if_ruby.c, src/testdir/test_ruby.vim 23420 23421Patch 8.0.1449 23422Problem: Slow redrawing with DirectX. 23423Solution: Avoid calling gui_mch_flush() unnecessarily, especially when 23424 updating the cursor. (Ken Takata, closes #2560) 23425Files: runtime/doc/options.txt, src/channel.c, src/edit.c, src/getchar.c, 23426 src/gui.c, src/gui_dwrite.cpp, src/gui_dwrite.h, src/gui_w32.c, 23427 src/macros.h, src/main.c, src/message.c, src/netbeans.c, 23428 src/proto/gui.pro, src/proto/term.pro, src/screen.c, src/search.c, 23429 src/term.c, src/ui.c 23430 23431Patch 8.0.1450 23432Problem: Endless loop when gui_mch_stop_blink() is called while blink_state 23433 is BLINK_OFF. (zdohnal) 23434Solution: Avoid calling gui_update_cursor() recursively. 23435Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, 23436 src/gui_mac.c, src/proto/gui_mac.pro, src/gui_photon.c, 23437 src/proto/gui_photon.pro, src/gui_w32.c, src/proto/gui_w32.pro, 23438 src/gui_x11.c, src/proto/gui_x11.pro 23439 23440Patch 8.0.1451 23441Problem: It is difficult to set the python home directory properly for 23442 Python 2.7 and 3.5 since both use $PYTHONHOME. 23443Solution: Add the 'pythonhome' and 'pythonthreehome' options. (Kazuki 23444 Sakamoto, closes #1266) 23445Files: runtime/doc/options.txt, runtime/doc/quickref.txt, 23446 runtime/optwin.vim, src/if_python.c, src/if_python3.c, 23447 src/option.c, src/option.h 23448 23449Patch 8.0.1452 23450Problem: Terminal test fails on some systems. (jonathonf) 23451Solution: Use "cat" instead of Python to produce the input. Add a delay. 23452 (closes #2607) 23453Files: src/testdir/test_terminal.vim 23454 23455Patch 8.0.1453 23456Problem: Terminal test fails on some slow terminals. 23457Solution: Increase timeout to 10 seconds. 23458Files: src/testdir/test_terminal.vim 23459 23460Patch 8.0.1454 23461Problem: When in silent mode too much output is buffered. 23462Solution: Use line buffering instead of fully buffered. (Brian M. Carlson, 23463 closes #2537) 23464Files: src/main.c 23465 23466Patch 8.0.1455 23467Problem: If $SHELL contains a space then the default value of 'shell' is 23468 incorrect. (Matthew Horan) 23469Solution: Escape spaces in $SHELL. (Christian Brabandt, closes #459) 23470Files: src/option.c, runtime/doc/options.txt, 23471 src/testdir/test_startup.vim 23472 23473Patch 8.0.1456 23474Problem: Timer test on travis Mac is still flaky. 23475Solution: Increase time range a bit more. 23476Files: src/testdir/test_timers.vim 23477 23478Patch 8.0.1457 23479Problem: Clojure now supports a shebang line. 23480Solution: Detect clojure script from the shebang line. (David Burgin, 23481 closes #2570) 23482Files: runtime/scripts.vim 23483 23484Patch 8.0.1458 23485Problem: Filetype detection test does not check all scripts. 23486Solution: Add most scripts to the test 23487Files: src/testdir/test_filetype.vim 23488 23489Patch 8.0.1459 23490Problem: Cannot handle change of directory. 23491Solution: Add the DirChanged autocommand event. (Andy Massimino, 23492 closes #888) Avoid changing directory for 'autochdir' too often. 23493Files: runtime/doc/autocmd.txt, src/buffer.c, src/ex_docmd.c, 23494 src/fileio.c, src/main.c, src/vim.h, src/proto/misc2.pro, 23495 src/gui_mac.c, src/netbeans.c, src/os_win32.c, 23496 src/testdir/test_autocmd.vim 23497 23498Patch 8.0.1460 (after 8.0.1459) 23499Problem: Missing file in patch. 23500Solution: Add changes to missing file. 23501Files: src/misc2.c 23502 23503Patch 8.0.1461 (after 8.0.1459) 23504Problem: Missing another file in patch. 23505Solution: Add changes to missing file. 23506Files: src/ex_cmds.c 23507 23508Patch 8.0.1462 (after 8.0.1459) 23509Problem: Missing yet another file in patch. 23510Solution: Add changes to missing file. 23511Files: src/gui.c 23512 23513Patch 8.0.1463 23514Problem: Test fails without 'autochdir' option. 23515Solution: Skip test if 'autochdir' is not supported. 23516Files: src/testdir/test_autocmd.vim 23517 23518Patch 8.0.1464 23519Problem: Completing directory after :find does not add slash. 23520Solution: Adjust the flags for globpath(). (Genki Sky) 23521Files: src/misc1.c, src/testdir/test_find_complete.vim 23522 23523Patch 8.0.1465 23524Problem: Python2 and python3 detection not tested. (Matej Cepl) 23525Solution: Add test for detecting python2 and python3. Also detect a script 23526 using "js" as javascript. 23527Files: runtime/scripts.vim, src/testdir/test_filetype.vim 23528 23529Patch 8.0.1466 23530Problem: Older GTK versions don't have gtk_entry_get_text_length(). 23531Solution: Add a function with #ifdefs to take care of GTK version 23532 differences. (Kazunobu Kuriyama, closes #2605) 23533Files: src/gui_gtk.c 23534 23535Patch 8.0.1467 23536Problem: Libvterm doesn't handle illegal byte sequence correctly. 23537Solution: After the invalid code check if there is space to store another 23538 character. Allocate one more character. (zhykzhykzhyk, closes 23539 #2614, closes #2613) 23540Files: src/libvterm/src/encoding.c, src/libvterm/src/state.c 23541 23542Patch 8.0.1468 23543Problem: Illegal memory access in del_bytes(). 23544Solution: Check for negative byte count. (Christian Brabandt, closes #2466) 23545Files: src/message.c, src/misc1.c 23546 23547Patch 8.0.1469 23548Problem: When package path is a symlink adding it to 'runtimepath' happens 23549 at the end. 23550Solution: Do not resolve symlinks before locating the position in 23551 'runtimepath'. (Ozaki Kiichi, closes #2604) 23552Files: src/ex_cmds2.c, src/testdir/test_packadd.vim 23553 23554Patch 8.0.1470 23555Problem: Integer overflow when using regexp pattern. (geeknik) 23556Solution: Use a long instead of int. (Christian Brabandt, closes #2251) 23557Files: src/regexp_nfa.c 23558 23559Patch 8.0.1471 (after 8.0.1401) 23560Problem: On MS-Windows CursorIM highlighting no longer works. 23561Solution: Adjust #if statements. (Ken Takata) 23562Files: src/gui.c 23563 23564Patch 8.0.1472 23565Problem: MS-Windows: nsis installer is a bit slow. 23566Solution: Use ReserveFile for vimrc.ini. (Ken Takata, closes #2522) 23567Files: nsis/gvim.nsi 23568 23569Patch 8.0.1473 23570Problem: MS-Windows: D&D fails between 32 and 64 bit apps. 23571Solution: Add the /HIGHENTROPYVA:NO linker option. (Ken Takata, closes #2504) 23572Files: src/Make_mvc.mak 23573 23574Patch 8.0.1474 23575Problem: Visual C 2017 has multiple MSVCVER numbers. 23576Solution: Assume the 2017 version if MSVCVER >= 1910. (Leonardo Valeri 23577 Manera, closes #2619) 23578Files: src/Make_mvc.mak 23579 23580Patch 8.0.1475 23581Problem: Invalid memory access in read_redo(). (gy741) 23582Solution: Convert the replacement character back from a negative number to 23583 CR or NL. (hint by Dominique Pelle, closes #2616) 23584Files: src/testdir/test_undo.vim, src/normal.c, src/vim.h, src/ops.c 23585 23586Patch 8.0.1476 23587Problem: Screen isn't always updated right away. 23588Solution: Adjust #ifdef: Call out_flush() when not running the GUI. 23589Files: src/screen.c 23590 23591Patch 8.0.1477 23592Problem: Redraw flicker when moving the mouse outside of terminal window. 23593Solution: Instead of updating the cursor color and shape every time leaving 23594 and entering a terminal window, only update when different from 23595 the previously used cursor. 23596Files: src/terminal.c 23597 23598Patch 8.0.1478 23599Problem: Unnecessary condition for "len" being zero. 23600Solution: Remove the condition. (Dominique Pelle) 23601Files: src/regexp_nfa.c 23602 23603Patch 8.0.1479 23604Problem: Insert mode completion state is confusing. 23605Solution: Move ctrl_x_mode into edit.c. Add CTRL_X_NORMAL for zero. 23606Files: src/edit.c, src/globals.h, src/proto/edit.pro, src/search.c, 23607 src/getchar.c 23608 23609Patch 8.0.1480 (after 8.0.1479) 23610Problem: Patch missing change. 23611Solution: Add missing change. 23612Files: src/evalfunc.c 23613 23614Patch 8.0.1481 23615Problem: Clearing a pointer takes two lines. 23616Solution: Add vim_clear() to free and clear the pointer. 23617Files: src/misc2.c, src/proto/misc2.pro, src/edit.c 23618 23619Patch 8.0.1482 23620Problem: Using feedkeys() does not work to test Insert mode completion. 23621 (Lifepillar) 23622Solution: Do not check for typed keys when executing :normal or feedkeys(). 23623 Fix thesaurus completion not working when 'complete' is empty. 23624Files: src/edit.c, src/testdir/test_ins_complete.vim, 23625 src/testdir/test_popup.vim, src/testdir/test_edit.vim 23626 23627Patch 8.0.1483 23628Problem: searchpair() might return an invalid value on timeout. 23629Solution: When the second search times out, do not accept a match from the 23630 first search. (Daniel Hahler, closes #2552) 23631Files: src/search.c 23632 23633Patch 8.0.1484 23634Problem: Redundant conditions. 23635Solution: Remove them. (Dominique Pelle) 23636Files: src/terminal.c 23637 23638Patch 8.0.1485 23639Problem: Weird autocmd may cause arglist to be changed recursively. 23640Solution: Prevent recursively changing the argument list. (Christian 23641 Brabandt, closes #2472) 23642Files: src/ex_docmd.c, src/globals.h 23643 23644Patch 8.0.1486 23645Problem: Accessing invalid memory with "it". (Dominique Pelle) 23646Solution: Avoid going over the end of the line. (Christian Brabandt, 23647 closes #2532) 23648Files: src/search.c, src/testdir/test_textobjects.vim 23649 23650Patch 8.0.1487 (after 8.0.1486) 23651Problem: Test 14 fails. 23652Solution: Fix of-by-one error. 23653Files: src/search.c 23654 23655Patch 8.0.1488 (after 8.0.1218) 23656Problem: Emacs tags no longer work. (zdohnal) 23657Solution: Do not skip over end of line. 23658Files: src/tag.c, src/testdir/test_tagjump.vim 23659 23660Patch 8.0.1489 23661Problem: There is no easy way to get the global directory, esp. if some 23662 windows have a local directory. 23663Solution: Make getcwd(-1) return the global directory. (Andy Massimino, 23664 closes #2606) 23665Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_getcwd.vim 23666 23667Patch 8.0.1490 23668Problem: Number of spell regions is spread out through the code. 23669Solution: Define MAXREGIONS. 23670Files: src/spell.h, src/spellfile.c 23671 23672Patch 8.0.1491 23673Problem: The minimum width of the popup menu is hard coded. 23674Solution: Add the 'pumwidth' option. (Christian Brabandt, James McCoy, 23675 closes #2314) 23676Files: runtime/doc/options.txt, src/option.c, src/option.h, 23677 src/popupmnu.c 23678 23679Patch 8.0.1492 23680Problem: Memory leak in balloon_split(). 23681Solution: Free the balloon lines. Free the balloon when exiting. 23682Files: src/misc2.c, src/evalfunc.c 23683 23684Patch 8.0.1493 23685Problem: Completion items cannot be annotated. 23686Solution: Add a "user_data" entry to the completion item. (Ben Jackson, 23687 closes #2608, closes #2508) 23688Files: runtime/doc/insert.txt, src/edit.c, src/structs.h, 23689 src/testdir/test_ins_complete.vim 23690 23691Patch 8.0.1494 23692Problem: No autocmd triggered in Insert mode with visible popup menu. 23693Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt, 23694 closes #2372, closes #1691) 23695 Fix that the TextChanged autocommands are not always triggered 23696 when sourcing a script. 23697Files: runtime/doc/autocmd.txt, src/edit.c, src/globals.h, src/structs.h, 23698 src/fileio.c, src/proto/fileio.pro, src/vim.h, src/main.c, 23699 src/testdir/test_autocmd.vim 23700 23701Patch 8.0.1495 23702Problem: Having 'pumwidth' default to zero has no merit. 23703Solution: Make the default 15, as the actual default value. 23704Files: src/popupmnu.c, src/option.c 23705 23706Patch 8.0.1496 23707Problem: Clearing a pointer takes two lines. 23708Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, 23709 closes #2629) 23710Files: src/buffer.c, src/channel.c, src/crypt.c, src/edit.c, src/eval.c, 23711 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, 23712 src/ex_getln.c, src/fileio.c, src/gui_gtk_x11.c, src/gui_photon.c, 23713 src/gui_w32.c, src/gui_x11.c, src/hardcopy.c, src/if_cscope.c, 23714 src/macros.h, src/main.c, src/mark.c, src/mbyte.c, src/memfile.c, 23715 src/memline.c, src/menu.c, src/message.c, src/misc1.c, 23716 src/misc2.c, src/netbeans.c, src/normal.c, src/ops.c, 23717 src/option.c, src/os_amiga.c, src/os_mac_conv.c, src/os_mswin.c, 23718 src/os_unix.c, src/os_win32.c, src/popupmnu.c, 23719 src/proto/misc2.pro, src/quickfix.c, src/regexp.c, 23720 src/regexp_nfa.c, src/screen.c, src/search.c, src/spell.c, 23721 src/spellfile.c, src/syntax.c, src/tag.c, src/term.c, 23722 src/terminal.c, src/ui.c, src/undo.c, src/userfunc.c, src/window.c 23723 23724Patch 8.0.1497 23725Problem: Getting the jump list requires parsing the output of :jumps. 23726Solution: Add getjumplist(). (Yegappan Lakshmanan, closes #2609) 23727Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/Makefile, 23728 src/evalfunc.c, src/list.c, src/proto/list.pro, 23729 src/testdir/Make_all.mak, src/testdir/test_jumplist.vim 23730 23731Patch 8.0.1498 (after 8.0.1497) 23732Problem: getjumplist() returns duplicate entries. (lacygoill) 23733Solution: Call cleanup_jumplist(). (Yegappan Lakshmanan) 23734Files: src/evalfunc.c, src/mark.c, src/proto/mark.pro, 23735 src/testdir/test_jumplist.vim 23736 23737Patch 8.0.1499 23738Problem: Out-of-memory situation not correctly handled. (Coverity) 23739Solution: Check for NULL value. 23740Files: src/terminal.c 23741 23742Patch 8.0.1500 23743Problem: Possible NULL pointer dereference. (Coverity) 23744Solution: Check for the pointer not being NULL. 23745Files: src/quickfix.c 23746 23747Patch 8.0.1501 23748Problem: Out-of-memory situation not correctly handled. (Coverity) 23749Solution: Check for NULL value. 23750Files: src/ops.c 23751 23752Patch 8.0.1502 23753Problem: In out-of-memory situation character is not restored. (Coverity) 23754Solution: Restore the character in all situations. 23755Files: src/ex_getln.c 23756 23757Patch 8.0.1503 23758Problem: Access memory beyond end of string. (Coverity) 23759Solution: Keep allocated memory in separate pointer. Avoid outputting the 23760 NUL character. 23761Files: src/hardcopy.c 23762 23763Patch 8.0.1504 23764Problem: Win32: the screen may be cleared on startup. 23765Solution: Only call shell_resized() when the size actually changed. (Ken 23766 Takata, closes #2527) 23767Files: src/os_win32.c 23768 23769Patch 8.0.1505 23770Problem: Debugger can't break on a condition. (Charles Campbell) 23771Solution: Add ":breakadd expr". (Christian Brabandt, closes #859) 23772Files: runtime/doc/repeat.txt, src/eval.c, src/evalfunc.c, 23773 src/userfunc.c, src/ex_cmds2.c, src/ex_docmd.c, 23774 src/proto/eval.pro, src/proto/ex_cmds2.pro, src/structs.h 23775 23776Patch 8.0.1506 23777Problem: New version of HP NonStop (Tandem) doesn't like the default header 23778 for setenv(). 23779Solution: Put a #ifdef around the setenv() entry. (Joachim Schmitz) 23780Files: src/osdef2.h.in 23781 23782Patch 8.0.1507 23783Problem: Timer test is a bit flaky. 23784Solution: Add it to the list of flaky tests. 23785Files: src/testdir/runtest.vim 23786 23787Patch 8.0.1508 23788Problem: The :drop command is not always available. 23789Solution: Include :drop in all builds. (Yasuhiro Matsumoto, closes #2639) 23790Files: runtime/doc/windows.txt, src/ex_cmds.c, src/ex_cmds2.c, 23791 src/ex_docmd.c, src/testdir/test_normal.vim, 23792 src/testdir/test_tabpage.vim 23793 23794Patch 8.0.1509 (after 8.0.1508) 23795Problem: Test for failing drag-n-drop command no longer fails. 23796Solution: Check for the "dnd" feature. 23797Files: src/testdir/test_normal.vim 23798 23799Patch 8.0.1510 23800Problem: Cannot test if a command causes a beep. 23801Solution: Add assert_beeps(). 23802Files: runtime/doc/eval.txt, src/evalfunc.c, src/eval.c, 23803 src/proto/eval.pro, src/misc1.c, src/globals.h, 23804 src/testdir/test_normal.vim, src/testdir/test_assert.vim 23805 23806Patch 8.0.1511 (after 8.0.1505) 23807Problem: Some code for the debugger watch expression is clumsy. 23808Solution: Clean up the code. 23809Files: src/ex_cmds2.c, src/eval.c, src/proto/eval.pro 23810 23811Patch 8.0.1512 23812Problem: Warning for possibly using NULL pointer. (Coverity) 23813Solution: Skip using the pointer if it's NULL. 23814Files: src/ex_cmds.c 23815 23816Patch 8.0.1513 23817Problem: The jumplist is not always properly cleaned up. 23818Solution: Call fname2fnum() before cleanup_jumplist(). (Yegappan Lakshmanan) 23819Files: src/evalfunc.c, src/mark.c, src/proto/mark.pro 23820 23821Patch 8.0.1514 23822Problem: Getting the list of changes is not easy. 23823Solution: Add the getchangelist() function. (Yegappan Lakshmanan, 23824 closes #2634) 23825Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 23826 src/testdir/Make_all.mak, src/testdir/test_changelist.vim, 23827 src/Makefile 23828 23829Patch 8.0.1515 23830Problem: BufWinEnter event fired when opening hidden terminal. 23831Solution: Do not fire BufWinEnter when the terminal is hidden and does not 23832 open a window. (Kenta Sato, closes #2636) 23833Files: src/terminal.c 23834 23835Patch 8.0.1516 23836Problem: Errors for job options are not very specific. 23837Solution: Add more specific error messages. 23838Files: src/channel.c, src/globals.h 23839 23840Patch 8.0.1517 23841Problem: Invalid memory access with pattern using look-behind match. 23842 (Dominique Pelle) 23843Solution: Get a pointer to the right line. 23844Files: src/regexp.c 23845 23846Patch 8.0.1518 23847Problem: Error messages suppressed after ":silent! try". (Ben Reilly) 23848Solution: Restore emsg_silent before executing :try. (closes #2531) 23849Files: src/ex_docmd.c, src/testdir/test_eval_stuff.vim 23850 23851Patch 8.0.1519 23852Problem: getchangelist() does not use argument as bufname(). 23853Solution: Use get_buf_tv(). (Yegappan Lakshmanan, closes #2641) 23854Files: src/evalfunc.c, src/testdir/test_changelist.vim 23855 23856Patch 8.0.1520 23857Problem: Cursor is in the wrong line when using a WinBar in a Terminal 23858 window. 23859Solution: Adjust the row number. (Christian Brabandt, closes #2362) 23860Files: src/screen.c, src/terminal.c 23861 23862Patch 8.0.1521 23863Problem: Shift-Tab does not work in a terminal window. 23864Solution: Recognize Shift-Tab key press. (Jsees Luehrs, closes #2644) 23865Files: src/terminal.c 23866 23867Patch 8.0.1522 (after 8.0.1491) 23868Problem: Popup menu is positioned in the wrong place. (Davit Samvelyan, 23869 Boris Staletic) 23870Solution: Correct computation of the column and the conditions for that. 23871 (Hirohito Higashi, closes #2640) 23872Files: src/popupmnu.c 23873 23874Patch 8.0.1523 23875Problem: Cannot write and read terminal screendumps. 23876Solution: Add term_dumpwrite(), term_dumpread() and term_dumpdiff(). 23877 Also add assert_equalfile(). 23878Files: src/terminal.c, src/proto/terminal.pro, src/evalfunc.c, 23879 src/normal.c, src/eval.c, src/proto/eval.pro, 23880 runtime/doc/eval.txt, src/testdir/test_assert.vim 23881 23882Patch 8.0.1524 (after 8.0.1523) 23883Problem: Compiler warnings for uninitialized variables. (Tony Mechelynck) 23884Solution: Initialize variables. 23885Files: src/terminal.c 23886 23887Patch 8.0.1525 23888Problem: Using :wqa exits even if a job runs in a terminal window. (Jason 23889 Felice) 23890Solution: Check if a terminal has a running job. (closes #2654) 23891Files: src/ex_cmds2.c, src/buffer.c, src/proto/buffer.pro, src/ex_cmds.c, 23892 src/testdir/test_terminal.vim 23893 23894Patch 8.0.1526 23895Problem: No test using a screen dump yet. 23896Solution: Add a test for C syntax highlighting. Add helper functions. 23897Files: src/terminal.c, src/testdir/test_syntax.vim, 23898 src/testdir/shared.vim, src/testdir/screendump.vim, 23899 src/testdir/dumps/Test_syntax_c_01.dump, runtime/doc/terminal.txt, 23900 src/testdir/README.txt 23901 23902Patch 8.0.1527 (after 8.0.1526) 23903Problem: Screen dump test fails on MS-Windows. 23904Solution: Skip dump test on MS-Windows for now. 23905Files: src/testdir/test_syntax.vim 23906 23907Patch 8.0.1528 23908Problem: Dead code found. 23909Solution: Remove the useless lines. (CodeAi, closes #2656) 23910Files: src/screen.c, src/spell.c, src/syntax.c, src/window.c 23911 23912Patch 8.0.1529 23913Problem: Assert_equalfile() does not close file descriptors. (Coverity) 23914Solution: Close the file descriptors. 23915Files: src/eval.c 23916 23917Patch 8.0.1530 23918Problem: Dump test fails when using a shadow directory. 23919Solution: Add the directory to the list of symlinks to make (Elimar 23920 Riesebieter) 23921Files: src/Makefile 23922 23923Patch 8.0.1531 23924Problem: Cannot use 24 bit colors in MS-Windows console. 23925Solution: Add support for vcon. (Nobuhiro Takasaki, Ken Takata, 23926 fixes #1270, fixes #2060) 23927Files: runtime/doc/options.txt, src/misc1.c, src/option.c, 23928 src/evalfunc.c, src/os_win32.c, src/proto/os_win32.pro, 23929 src/feature.h, src/proto/term.pro, src/screen.c, src/syntax.c, 23930 src/term.c, src/testdir/gen_opt_test.vim, src/version.c 23931 23932Patch 8.0.1532 23933Problem: Compiler warnings without termguicolors feature. 23934Solution: Add #ifdef. (John Marriott) Cleanup the code a bit. 23935Files: src/term.c 23936 23937Patch 8.0.1533 23938Problem: Libterm doesn't support requesting fg and bg color. 23939Solution: Implement t_RF and t_RB. 23940Files: src/libvterm/src/vterm_internal.h, src/libvterm/src/state.c, 23941 src/libvterm/src/vterm.c 23942 23943Patch 8.0.1534 23944Problem: C syntax test fails when using gvim 23945Solution: Force running in a terminal. Check that 'background' is correct 23946 even when $COLORFGBG is set. 23947Files: src/testdir/test_syntax.vim, src/testdir/screendump.vim 23948 23949Patch 8.0.1535 (after 8.0.1534) 23950Problem: C syntax test still fails when using gvim. 23951Solution: Clear Normal cterm highlighting instead of setting it. 23952Files: src/testdir/test_syntax.vim, src/testdir/screendump.vim, 23953 src/testdir/dumps/Test_syntax_c_01.dump 23954 23955Patch 8.0.1536 23956Problem: Quotestar test is flaky when using the GUI. 23957Solution: Add check that the star register arrived at the server. Increase 23958 timeouts. 23959Files: src/testdir/test_quotestar.vim 23960 23961Patch 8.0.1537 23962Problem: Xxd does not skip NUL lines when using ebcdic. 23963Solution: Check for a NUL before converting a character for ebcdic. (Tim 23964 Sell, closes #2668) 23965Files: src/xxd/xxd.c 23966 23967Patch 8.0.1538 23968Problem: Popupmenu is too far left when completion is long. (Linwei) 23969Solution: Adjust column computations. (Hirohito Higashi, closes #2661) 23970Files: src/popupmnu.c 23971 23972Patch 8.0.1539 23973Problem: No test for the popup menu positioning. 23974Solution: Add a screendump test for the popup menu. 23975Files: src/terminal.c, src/testdir/test_syntax.vim, 23976 src/testdir/screendump.vim, 23977 src/testdir/test_popup.vim, 23978 src/testdir/dumps/Test_popup_position_01.dump, 23979 src/testdir/dumps/Test_popup_position_02.dump, 23980 src/testdir/dumps/Test_popup_position_03.dump, 23981 runtime/doc/eval.txt 23982 23983Patch 8.0.1540 23984Problem: Popup menu positioning fails with longer string. 23985Solution: Only align with right side of window when width is less than 23986 'pumwidth' (closes #2661) 23987Files: src/popupmnu.c, src/testdir/screendump.vim, 23988 src/testdir/test_popup.vim, 23989 src/testdir/dumps/Test_popup_position_04.dump 23990 23991Patch 8.0.1541 23992Problem: synpat_T is taking too much memory. 23993Solution: Reorder members to reduce padding. (Dominique Pelle, closes #2671) 23994Files: src/syntax.c 23995 23996Patch 8.0.1542 23997Problem: Terminal screen dump does not include cursor position. 23998Solution: Mark the cursor position in the dump. 23999Files: src/terminal.c, 24000 src/testdir/dumps/Test_popup_position_01.dump, 24001 src/testdir/dumps/Test_popup_position_02.dump, 24002 src/testdir/dumps/Test_popup_position_03.dump, 24003 src/testdir/dumps/Test_popup_position_04.dump, 24004 src/testdir/dumps/Test_syntax_c_01.dump 24005 24006Patch 8.0.1543 24007Problem: With 'termguicolors' Normal color doesn't work correctly. 24008Solution: Set cterm_normal_bg_gui_color and cterm_normal_fg_color always. 24009 (Kazunobu Kuriyama, closes #981, closes #2332) 24010Files: src/syntax.c 24011 24012Patch 8.0.1544 24013Problem: When using 'termguicolors' SpellBad doesn't show. 24014Solution: When the GUI colors are not set fall back to the cterm colors. 24015Files: src/syntax.c, src/screen.c, src/gui.h, src/structs.h 24016 24017Patch 8.0.1545 24018Problem: Screen dumps not included in distribution. 24019Solution: Add dumps to the list of distributed files. 24020Files: Filelist 24021 24022Patch 8.0.1546 24023Problem: Using feedkeys() in a terminal window may trigger mappings. 24024 (Charles Sheridan) 24025Solution: Avoid triggering a mapping when peeking for a key. 24026Files: src/getchar.c, src/terminal.c 24027 24028Patch 8.0.1547 24029Problem: Undo in the options window makes it empty. 24030Solution: Set 'undolevels' while filling the buffer. (Yasuhiro Matsumoto, 24031 closes #2645) 24032Files: runtime/optwin.vim 24033 24034Patch 8.0.1548 24035Problem: Screen dump test script not included in distribution. 24036Solution: Add the script to the list of distributed files. 24037Files: Filelist 24038 24039Patch 8.0.1549 24040Problem: Various small problems in test files. 24041Solution: Include small changes. 24042Files: src/testdir/test_channel.py, src/testdir/shared.vim, 24043 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim 24044 24045Patch 8.0.1550 24046Problem: Various small problems in source files. 24047Solution: Fix the problems. 24048Files: src/README.txt, src/beval.c, src/json_test.c, src/mbyte.c, 24049 src/libvterm/include/vterm_keycodes.h, src/Makefile, 24050 src/gui_gtk.c, src/if_xcmdsrv.c, src/pty.c, src/if_python.c, 24051 src/if_py_both.h, uninstal.txt, src/dosinst.c, src/iscygpty.c, 24052 src/vimrun.c, src/os_vms.c 24053 24054Patch 8.0.1551 24055Problem: On Mac 'maxmemtot' is set to a weird value. 24056Solution: For Mac use total memory and subtract system memory. For other 24057 systems accept both a 32 bit and 64 bit result. (Ozaki Kiichi, 24058 closes #2646) 24059Files: src/os_unix.c 24060 24061Patch 8.0.1552 24062Problem: May leak file descriptors when executing job. 24063Solution: Close more file descriptors. (Ozaki Kiichi, closes #2651) 24064Files: src/os_unix.c, src/testdir/test_channel.vim 24065 24066Patch 8.0.1553 24067Problem: Cannot see what digraph is used to insert a character. 24068Solution: Show the digraph with the "ga" command. (Christian Brabandt) 24069Files: runtime/doc/various.txt, src/digraph.c, src/ex_cmds.c, 24070 src/proto/digraph.pro, src/testdir/shared.vim, 24071 src/testdir/test_matchadd_conceal.vim, 24072 src/testdir/test_digraph.vim, src/testdir/test_ga.vim, 24073 src/testdir/test_arabic.vim 24074 24075Patch 8.0.1554 24076Problem: Custom plugins loaded with --clean. 24077Solution: Do not include the home directory in 'runtimepath'. 24078Files: src/option.c, src/main.c, src/proto/option.pro, src/structs.h, 24079 src/os_unix.h, src/os_amiga.h, src/os_dos.h, src/os_mac.h, 24080 runtime/doc/starting.txt 24081 24082Patch 8.0.1555 24083Problem: Build error for some combination of features. 24084Solution: Declare variable in more situations. 24085Files: src/main.c 24086 24087Patch 8.0.1556 24088Problem: May not parse the t_RS response correctly, resulting in wrong 24089 characters in the input stream. 24090Solution: When the t_RS response is partly received wait for more 24091 characters. 24092Files: src/term.c 24093 24094Patch 8.0.1557 24095Problem: printf() does not work with only one argument. (Daniel Hahler) 24096Solution: Allow using just the format. (Ken Takata, closes #2687) 24097Files: src/evalfunc.c, src/testdir/test_expr.vim 24098 24099Patch 8.0.1558 24100Problem: No right-click menu in a terminal. 24101Solution: Implement the right click menu for the terminal. 24102Files: src/popupmnu.c, src/proto/popupmnu.pro, src/normal.c, src/menu.c, 24103 src/proto/menu.pro, src/feature.h 24104 24105Patch 8.0.1559 24106Problem: Build failure without GUI. 24107Solution: Adjust #ifdef for get_fpos_of_mouse(). 24108Files: src/ui.c 24109 24110Patch 8.0.1560 24111Problem: Build failure without GUI on MS-Windows. 24112Solution: Adjust #ifdef for vcol2col(). 24113Files: src/ui.c 24114 24115Patch 8.0.1561 24116Problem: Crash with rust syntax highlighting. (Edd Barrett) 24117Solution: Avoid going past the end of an empty line. 24118Files: src/syntax.c 24119 24120Patch 8.0.1562 24121Problem: The terminal debugger can't set a breakpoint with the mouse. 24122Solution: Add popup menu entries. 24123Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 24124 runtime/doc/terminal.txt 24125 24126Patch 8.0.1563 24127Problem: Timeout of getwinposx() can be too short. (lilydjwg) 24128Solution: Add getwinpos(). (closes #2689) 24129Files: src/evalfunc.c, src/term.c, src/proto/term.pro, runtime/doc/eval.txt 24130 24131Patch 8.0.1564 24132Problem: Too many #ifdefs. 24133Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and 24134 increases code size of tiny Vim by only 40 Kbyte. 24135Files: src/buffer.c, src/diff.c, src/edit.c, src/eval.c, src/evalfunc.c, 24136 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, 24137 src/fileio.c, src/getchar.c, src/globals.h, src/gui.c, 24138 src/if_cscope.c, src/if_xcmdsrv.c, src/main.c, src/mbyte.c, 24139 src/memline.c, src/menu.c, src/misc1.c, src/gui_mac.c, 24140 src/misc2.c, src/move.c, src/netbeans.c, src/normal.c, src/ops.c, 24141 src/option.c, src/option.h, src/feature.h, src/vim.h, 24142 src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_win32.c, 24143 src/quickfix.c, src/screen.c, src/search.c, src/spell.c, 24144 src/structs.h, src/syntax.c, src/tag.c, src/term.c, 24145 src/terminal.c, src/ui.c, src/undo.c, src/userfunc.c, 24146 src/version.c, src/window.c 24147 24148Patch 8.0.1565 24149Problem: Can't build Mac version without GUI. 24150Solution: Adjust when IME_WITHOUT_XIM is defined. 24151Files: src/vim.h 24152 24153Patch 8.0.1566 24154Problem: Too many #ifdefs. 24155Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND. 24156Files: src/buffer.c, src/diff.c, src/edit.c, src/evalfunc.c, 24157 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/gui.c, 24158 src/main.c, src/move.c, src/normal.c, src/option.c, src/term.c, 24159 src/version.c, src/window.c, src/globals.h, src/macros.h, 24160 src/option.h, src/structs.h 24161 24162Patch 8.0.1567 24163Problem: Cannot build Win32 GUI without IME. (John Marriott) 24164Solution: Adjust when IME_WITHOUT_XIM and HAVE_INPUT_METHOD are defined and 24165 use it in a few more places. 24166Files: src/vim.h, src/gui.c 24167 24168Patch 8.0.1568 24169Problem: Can't build on older Mac, header file is missing. 24170Solution: Remove the header file. (Ozaki Kiichi, closes #2691) 24171Files: src/os_unix.c 24172 24173Patch 8.0.1569 24174Problem: Warning for uninitialized variable from gcc. 24175Solution: Initialize the variable. 24176Files: src/quickfix.c 24177 24178Patch 8.0.1570 24179Problem: Can't use :popup for a menu in the terminal. (Wei Zhang) 24180Solution: Make :popup work in the terminal. Also fix that entries were 24181 included that don't work in the current state. 24182Files: src/ex_docmd.c, src/popupmnu.c, src/proto/popupmnu.pro, 24183 src/menu.c, src/proto/menu.pro 24184 24185Patch 8.0.1571 (after 8.0.1571) 24186Problem: Can't build without GUI. 24187Solution: Adjust #ifdef for gui_find_menu(). 24188Files: src/menu.c 24189 24190Patch 8.0.1572 24191Problem: Mac: getting memory size doesn't work everywhere. 24192Solution: Use MACOS_X instead of MACOS_X_DARWIN. (Kazunobu Kuriyama) 24193Files: src/os_unix.c 24194 24195Patch 8.0.1573 24196Problem: getwinpos(1) may cause response to be handled as command. 24197Solution: Handle any cursor position report once one was requested. (partly 24198 by Hirohito Higashi) 24199Files: src/term.c 24200 24201Patch 8.0.1574 24202Problem: Show cursor in wrong place when using popup menu. (Wei Zhang) 24203Solution: Force updating the cursor position. Fix skipping over unused 24204 entries. 24205Files: src/screen.c, src/proto/screen.pro, src/popupmnu.c 24206 24207Patch 8.0.1575 24208Problem: Crash when using virtual replace. 24209Solution: Adjust orig_line_count. Add more tests. (Christian Brabandt) 24210Files: src/edit.c, src/testdir/test_visual.vim 24211 24212Patch 8.0.1576 24213Problem: Perl VIM::Buffers() does not find every buffer. 24214Solution: Also find unlisted buffer by number or name. (Chris Weyl, 24215 closes #2692) 24216Files: src/if_perl.xs 24217 24218Patch 8.0.1577 24219Problem: Virtual replace test fails on MS-Windows. 24220Solution: Make adding a termcap entry work for a builtin terminal. 24221 Restore terminal keys in a better way. 24222Files: src/term.c, src/testdir/test_visual.vim 24223 24224Patch 8.0.1578 24225Problem: No test for :popup in terminal. 24226Solution: Add a screen dump test. 24227Files: src/testdir/test_popup.vim, 24228 src/testdir/dumps/Test_popup_command_01.dump, 24229 src/testdir/dumps/Test_popup_command_02.dump, 24230 src/testdir/dumps/Test_popup_command_03.dump 24231 24232Patch 8.0.1579 24233Problem: Virtual replace test fails in GUI. 24234Solution: Don't save key options if they were not set. 24235Files: src/testdir/test_visual.vim 24236 24237Patch 8.0.1580 24238Problem: FEAT_CURSORBIND and FEAT_SCROLLBIND are unused. 24239Solution: Delete them. 24240Files: src/feature.h 24241 24242Patch 8.0.1581 24243Problem: Cannot build Win32 GUI without +eval. 24244Solution: Define HAVE_INPUT_METHOD without +eval. (Ken Takata) 24245Files: src/vim.h 24246 24247Patch 8.0.1582 24248Problem: In the MS-Windows console mouse movement is not used. 24249Solution: Pass mouse movement events when useful. 24250Files: src/os_win32.c, src/proto/os_win32.pro, src/feature.h 24251 24252Patch 8.0.1583 24253Problem: Using C99 comment. 24254Solution: Use old style comment. (Kazunobu Kuriyama) 24255Files: src/quickfix.c 24256 24257Patch 8.0.1584 24258Problem: Using C99 in Mac file gives compiler warning messages. 24259Solution: Add #pragmas to avoid the warnings. (Kazunobu Kuriyama) 24260Files: src/os_macosx.m 24261 24262Patch 8.0.1585 24263Problem: Enabling beval_term feature in Win32 GUI. 24264Solution: Only enable beval_term in Win32 console. 24265Files: src/feature.h 24266 24267Patch 8.0.1586 24268Problem: Imactivatefunc does not work on non-GUI Mac. 24269Solution: Fix logic in #ifdef. 24270Files: src/vim.h 24271 24272Patch 8.0.1587 24273Problem: inserting from the clipboard doesn't work literally 24274Solution: When pasting from the * or + register always assume literally. 24275Files: src/ops.c, src/proto/ops.pro, src/testdir/test_paste.vim 24276 24277Patch 8.0.1588 24278Problem: Popup menu hangs after typing CTRL-C. 24279Solution: Make CTRL-C exit the loop. (Ozaki Kiichi, closes #2697) 24280Files: src/popupmnu.c 24281 24282Patch 8.0.1589 24283Problem: Error for setting 'modifiable' when resetting it. 24284Solution: Check if 'modifiable' was actually set. 24285Files: src/option.c 24286 24287Patch 8.0.1590 24288Problem: Padding in list type wastes memory. 24289Solution: Reorder struct members to optimize padding. (Dominique Pelle, 24290 closes #2704) 24291Files: src/structs.h 24292 24293Patch 8.0.1591 24294Problem: MS-Windows: when reparsing the arguments 'wildignore' matters. 24295Solution: Save and reset 'wildignore'. (Yasuhiro Matsumoto, closes #2702) 24296Files: src/os_win32.c 24297 24298Patch 8.0.1592 24299Problem: Terminal windows in a session are not properly restored. 24300Solution: Add "terminal" in 'sessionoptions'. When possible restore the 24301 command running in a terminal. 24302Files: src/option.c, src/option.h, src/ex_docmd.c, src/terminal.c, 24303 src/proto/terminal.pro, src/evalfunc.c, src/structs.h, 24304 src/channel.c, src/testdir/test_terminal.vim, 24305 src/testdir/shared.vim, src/testdir/test_mksession.vim 24306 24307Patch 8.0.1593 24308Problem: :qall never exits with an active terminal window. 24309Solution: Add a way to kill a job in a terminal window. 24310Files: src/ex_cmds2.c, src/terminal.c, src/proto/terminal.pro, 24311 src/structs.h, src/channel.c, src/evalfunc.c, 24312 src/testdir/test_terminal.vim, runtime/doc/terminal.txt, 24313 runtime/doc/eval.txt 24314 24315Patch 8.0.1594 24316Problem: :confirm qall not tested with active terminal window. 24317Solution: Add a test. 24318Files: src/testdir/test_terminal.vim 24319 24320Patch 8.0.1595 24321Problem: No autocommand triggered before exiting. 24322Solution: Add the ExitPre autocommand event. 24323Files: src/ex_docmd.c, src/fileio.c, src/vim.h, 24324 src/testdir/test_exit.vim, src/Makefile, src/testdir/Make_all.mak, 24325 runtime/doc/autocmd.txt 24326 24327Patch 8.0.1596 24328Problem: No autocommand specifically for opening a terminal window. 24329Solution: Add TerminalOpen. (Yasuhiro Matsumoto, closes #2484) 24330Files: runtime/doc/autocmd.txt, src/fileio.c, src/terminal.c, 24331 src/testdir/test_terminal.vim, src/vim.h 24332 24333Patch 8.0.1597 24334Problem: Autocommand events are not sorted. 24335Solution: Sort the autocommand events. 24336Files: src/vim.h 24337 24338Patch 8.0.1598 24339Problem: Cannot select text in a terminal with the mouse. 24340Solution: When a job in a terminal is not consuming mouse events, use them 24341 for modeless selection. Also stop Insert mode when clicking in a 24342 terminal window. 24343Files: src/libvterm/include/vterm.h, src/libvterm/src/state.c, 24344 src/libvterm/src/vterm_internal.h, src/terminal.c, 24345 src/proto/terminal.pro, src/ui.c 24346 24347Patch 8.0.1599 24348Problem: No error message when gdb does not support the terminal debugger. 24349Solution: Check for the response to open the Machine Interface. 24350Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 24351 24352Patch 8.0.1600 24353Problem: Crash when setting t_Co to zero when 'termguicolors' is set. 24354Solution: Use IS_CTERM instead of checking the number of colors. 24355 (closes #2710) 24356Files: src/screen.c, src/testdir/test_highlight.vim 24357 24358Patch 8.0.1601 24359Problem: Highlight test fails on Win32. 24360Solution: Check for vtp and vcon support. 24361Files: src/evalfunc.c, src/testdir/test_highlight.vim 24362 24363Patch 8.0.1602 24364Problem: Crash in parsing JSON. 24365Solution: Fail when using array or dict as dict key. (Damien) 24366Files: src/json.c, src/testdir/test_json.vim 24367 24368Patch 8.0.1603 24369Problem: Cannot build with +terminal but without +menu. 24370Solution: Add #ifdef. (Damien) 24371Files: src/terminal.c 24372 24373Patch 8.0.1604 24374Problem: Paste test may fail if $DISPLAY is not set. 24375Solution: Add WorkingClipboard() and use it in the paste test. 24376Files: src/testdir/shared.vim, src/testdir/test_paste.vim 24377 24378Patch 8.0.1605 24379Problem: Terminal test is a bit flaky. 24380Solution: Check for the shell prompt. Use more lambda functions. 24381Files: src/testdir/test_terminal.vim 24382 24383Patch 8.0.1606 24384Problem: Singular/plural variants not translated. 24385Solution: Add NGETTEXT argument to xgettext. (Sergey Alyoshin) 24386Files: src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak, 24387 src/po/Makefile 24388 24389Patch 8.0.1607 24390Problem: --clean loads user settings from .gvimrc. 24391Solution: Behave like "-U NONE" was used. (Ken Takata) 24392Files: src/main.c, runtime/doc/starting.txt 24393 24394Patch 8.0.1608 24395Problem: Win32: directx not enabled by default. 24396Solution: Change Makefile to enable directx by default. (Ken Takata) 24397Files: runtime/doc/various.txt, src/Make_cyg_ming.mak, 24398 src/Make_mvc.mak 24399 24400Patch 8.0.1609 24401Problem: Shell commands in the GUI use a dumb terminal. 24402Solution: Add the "!" flag to 'guioptions' to execute system commands in a 24403 special terminal window. Only for Unix now. 24404Files: src/os_unix.c, src/option.h, src/evalfunc.c, src/terminal.c, 24405 src/proto/terminal.pro, src/channel.c, src/proto/channel.pro, 24406 src/vim.h, runtime/doc/options.txt 24407 24408Patch 8.0.1610 (after 8.0.1609) 24409Problem: Cannot build without GUI. 24410Solution: Add #ifdef. 24411Files: src/terminal.c 24412 24413Patch 8.0.1611 24414Problem: CTRL-W in system terminal does not go to job. 24415Solution: Do not use CTRL-W as a terminal command in a system terminal. 24416Files: src/terminal.c 24417 24418Patch 8.0.1612 24419Problem: Need to close terminal after shell stopped. 24420Solution: Make :terminal without argument close the window by default. 24421Files: src/terminal.c, src/testdir/test_terminal.vim, 24422 runtime/doc/terminal.txt 24423 24424Patch 8.0.1613 24425Problem: Warning for unused variable in tiny build. (Tony Mechelynck) 24426Solution: Move declaration to inner block. 24427Files: src/os_unix.c 24428 24429Patch 8.0.1614 24430Problem: "make tags" doesn't include libvterm. 24431Solution: Add the libvterm sources to the tags command. 24432Files: src/Makefile 24433 24434Patch 8.0.1615 24435Problem: term_dumpload() does not use the right colors. 24436Solution: Initialize colors when not using create_vterm(). 24437Files: src/terminal.c 24438 24439Patch 8.0.1616 24440Problem: Win32: shell commands in the GUI open a new console. 24441Solution: Use a terminal window for interactive use when 'guioptions' 24442 contains "!". 24443Files: src/os_win32.c 24444 24445Patch 8.0.1617 (after 8.0.1616) 24446Problem: Win32: :shell command in the GUI crashes. 24447Solution: Handle the situation that "cmd" is NULL. (Yasuhiro Matsumoto, 24448 closes #2721) 24449Files: src/os_win32.c 24450 24451Patch 8.0.1618 24452Problem: Color Grey50, used for ToolbarLine, is missing in the compiled-in 24453 table. 24454Solution: Add the color to the list. (Kazunobu Kuriyama) 24455Files: src/term.c 24456 24457Patch 8.0.1619 24458Problem: Win32 GUI: crash when winpty is not installed and trying to use 24459 :shell in a terminal window. 24460Solution: Check for NULL return form term_start(). (Yasuhiro Matsumoto, 24461 closes #2727) 24462Files: src/os_win32.c 24463 24464Patch 8.0.1620 24465Problem: Reading spell file has no good EOF detection. 24466Solution: Check for EOF at every character read for a length field. 24467Files: src/misc2.c 24468 24469Patch 8.0.1621 24470Problem: Using invalid default value for highlight attribute. 24471Solution: Use zero instead of -1. 24472Files: src/syntax.c 24473 24474Patch 8.0.1622 24475Problem: Possible NULL pointer dereference. (Coverity) 24476Solution: Reverse the check for a NULL pointer. 24477Files: src/quickfix.c 24478 24479Patch 8.0.1623 24480Problem: Terminal kill tests are flaky. 24481Solution: Instead of running Vim in a terminal, run it as a normal command. 24482Files: src/testdir/test_terminal.vim 24483 24484Patch 8.0.1624 24485Problem: Options for term_dumpdiff() and term_dumpload() not implemented 24486 yet. 24487Solution: Implement the relevant options. 24488Files: src/terminal.c, runtime/doc/eval.txt 24489 24490Patch 8.0.1625 24491Problem: Test_quotestar is flaky when run in GTK GUI. 24492Solution: Do not call lose_selection when invoked from 24493 selection_clear_event(). 24494Files: src/gui_gtk_x11.c 24495 24496Patch 8.0.1626 24497Problem: Compiler warning for possible loss of data. 24498Solution: Use size_t instead of int. (Christian Brabandt) 24499Files: src/terminal.c 24500 24501Patch 8.0.1627 24502Problem: Compiler warning for visibility attribute not supported on MinGW 24503 builds. 24504Solution: Don't add the attribute when we don't expect it to work. 24505 (Christian Brabandt) 24506Files: src/libvterm/src/vterm_internal.h 24507 24508Patch 8.0.1628 24509Problem: Channel log doesn't mention exiting. 24510Solution: Add a ch_log() call in getout(). 24511Files: src/main.c 24512 24513Patch 8.0.1629 24514Problem: Mac: getpagesize() is deprecated. 24515Solution: Use sysconf() instead. (Ozaki Kiichi, closes #2741) 24516Files: src/os_unix.c 24517 24518Patch 8.0.1630 24519Problem: Trimming white space is not that easy. 24520Solution: Add the trim() function. (Bukn, Yasuhiro Matsumoto, closes #1280) 24521Files: src/evalfunc.c, runtime/doc/eval.txt, 24522 src/testdir/test_functions.vim 24523 24524Patch 8.0.1631 24525Problem: Testing with Vim running in terminal is a bit flaky. 24526Solution: Delete any .swp file so that later tests don't fail. 24527Files: src/testdir/screendump.vim 24528 24529Patch 8.0.1632 24530Problem: In a terminal dump NUL and space considered are different, 24531 although they are displayed the same. 24532Solution: When encountering NUL handle it like space. 24533Files: src/terminal.c 24534 24535Patch 8.0.1633 24536Problem: A TextChanged autocmd triggers when it is defined after creating a 24537 buffer. 24538Solution: Set b_last_changedtick when opening a buffer. (Hirohito Higashi, 24539 closes #2742) 24540Files: src/buffer.c, src/testdir/test_autocmd.vim 24541 24542Patch 8.0.1634 24543Problem: The ex_vimgrep() function is too long. 24544Solution: Split it in smaller functions. (Yegappan Lakshmanan) 24545Files: src/quickfix.c 24546 24547Patch 8.0.1635 24548Problem: Undefining _POSIX_THREADS causes problems with Python 3. (Micah 24549 Bucy, closes #2748) 24550Solution: Remove the lines. 24551Files: src/if_python3.c 24552 24553Patch 8.0.1636 24554Problem: No test for term_dumpload() and term_dumpdiff(). 24555Solution: Add tests. 24556Files: src/testdir/test_terminal.vim 24557 24558Patch 8.0.1637 24559Problem: No test for term_dumpdiff() options argument. 24560Solution: Add a test. 24561Files: src/testdir/test_terminal.vim 24562 24563Patch 8.0.1638 24564Problem: Popup test fails depending on environment variable. 24565Solution: Reset $COLORFGBG when running Vim in a terminal. (closes #2693) 24566Files: src/testdir/screendump.vim 24567 24568Patch 8.0.1639 24569Problem: Libvterm code lags behind master. 24570Solution: Sync to head, solve merge problems. 24571Files: src/libvterm/README, src/libvterm/bin/unterm.c, 24572 src/libvterm/bin/vterm-ctrl.c, src/libvterm/bin/vterm-dump.c, 24573 src/libvterm/doc/URLs, src/libvterm/doc/seqs.txt, 24574 src/libvterm/include/vterm.h, 24575 src/libvterm/include/vterm_keycodes.h, src/libvterm/src/mouse.c, 24576 src/libvterm/src/parser.c, src/libvterm/src/pen.c, 24577 src/libvterm/src/screen.c, src/libvterm/src/state.c, 24578 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h, 24579 src/libvterm/t/10state_putglyph.test, 24580 src/libvterm/t/25state_input.test, src/libvterm/t/harness.c, 24581 src/libvterm/t/26state_query.test 24582 24583Patch 8.0.1640 24584Problem: Test_cwd() is flaky. 24585Solution: Add to list of flaky tests. 24586Files: src/testdir/runtest.vim 24587 24588Patch 8.0.1641 24589Problem: Job in terminal can't communicate with Vim. 24590Solution: Add the terminal API. 24591Files: src/terminal.c, src/buffer.c, src/testdir/test_terminal.vim, 24592 src/testdir/screendump.vim, runtime/doc/terminal.txt 24593 24594Patch 8.0.1642 24595Problem: Running Vim in terminal fails with two windows. 24596Solution: Pass the number of rows to RunVimInTerminal(). 24597Files: src/testdir/screendump.vim, src/testdir/test_terminal.vim 24598 24599Patch 8.0.1643 24600Problem: Terminal API tests fail. 24601Solution: Explicitly set 'title'. 24602Files: src/testdir/test_terminal.vim 24603 24604Patch 8.0.1644 24605Problem: Terminal API tests still fail. 24606Solution: Explicitly set 'title' in the terminal job. (Ozaki Kiichi, 24607 closes #2750) 24608Files: src/testdir/test_terminal.vim, src/testdir/screendump.vim 24609 24610Patch 8.0.1645 24611Problem: Test for terminal response to escape sequence fails for some 24612 people. (toothpik) 24613Solution: Run "cat" and let it echo the characters. 24614Files: src/testdir/test_terminal.vim 24615 24616Patch 8.0.1646 24617Problem: MS-Windows: executable contains unreferenced functions and data. 24618Solution: Add /opt:ref to the compiler command. (Ken Takata) 24619Files: src/Make_mvc.mak 24620 24621Patch 8.0.1647 24622Problem: Terminal API may call a function not meant to be called by this 24623 API. 24624Solution: Require the function to start with Tapi_. 24625Files: runtime/doc/terminal.txt, src/terminal.c, 24626 src/testdir/test_terminal.vim 24627 24628Patch 8.0.1648 24629Problem: Resource fork tool doesn't work on Python 3. 24630Solution: Use "print()" instead of "print". (Marius Gedminas) 24631Files: src/dehqx.py 24632 24633Patch 8.0.1649 24634Problem: No completion for argument list commands. 24635Solution: Add arglist completion. (Yegappan Lakshmanan, closes #2706) 24636Files: runtime/doc/eval.txt, runtime/doc/map.txt, src/ex_cmds2.c, 24637 src/ex_docmd.c, src/ex_getln.c, src/proto/ex_cmds2.pro, 24638 src/testdir/test_cmdline.vim, src/vim.h 24639 24640Patch 8.0.1650 24641Problem: Too many #ifdefs. 24642Solution: Graduate FEAT_LISTCMDS, no reason to leave out buffer commands. 24643Files: runtime/doc/various.txt, src/buffer.c, src/charset.c, 24644 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, 24645 src/version.c, src/feature.h 24646 24647Patch 8.0.1651 24648Problem: Cannot filter :ls output for terminal buffers. 24649Solution: Add flags for terminal buffers. (Marcin Szamotulski, closes #2751) 24650Files: runtime/doc/windows.txt, src/buffer.c, 24651 src/testdir/test_terminal.vim 24652 24653Patch 8.0.1652 24654Problem: term_dumpwrite() does not output composing characters. 24655Solution: Use the cell index. 24656Files: src/terminal.c, src/testdir/test_terminal.vim 24657 24658Patch 8.0.1653 24659Problem: Screen dump is made too soon. 24660Solution: Wait until the ruler is displayed. (Ozaki Kiichi, closes #2755) 24661Files: src/testdir/dumps/Test_popup_command_01.dump, 24662 src/testdir/dumps/Test_popup_command_02.dump, 24663 src/testdir/screendump.vim, src/testdir/test_autocmd.vim, 24664 src/testdir/test_terminal.vim 24665 24666Patch 8.0.1654 24667Problem: Warnings for conversion of void to function pointer. 24668Solution: Use a temp variable that is a function pointer. 24669Files: src/if_python.c, src/if_python3.c 24670 24671Patch 8.0.1655 24672Problem: Outdated gdb message in terminal debugger unclear. 24673Solution: Specifically mention the required gdb version. Avoid getting 24674 stuck on pagination. 24675Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 24676 24677Patch 8.0.1656 24678Problem: No option to have xxd produce upper case variable names. 24679Solution: Add the -C argument. (Matt Panaro, closes #2772) 24680Files: src/xxd/xxd.c 24681 24682Patch 8.0.1657 24683Problem: Crash when reading a channel. 24684Solution: Clear the write flag before writing. (idea by Shinya Ohyanagi, 24685 closes #2769). 24686Files: src/channel.c 24687 24688Patch 8.0.1658 24689Problem: Capitalize argument not available in long form. 24690Solution: Recognize -capitalize. Update man page. 24691Files: src/xxd/xxd.c, runtime/doc/xxd.1, runtime/doc/xxd.man 24692 24693Patch 8.0.1659 24694Problem: Scroll events not recognized for some xterm emulators. 24695Solution: Recognize mouse codes 0x40 and 0x41 as scroll events. 24696Files: src/term.c 24697 24698Patch 8.0.1660 24699Problem: The terminal API "drop" command doesn't support options. 24700Solution: Implement the options. 24701Files: src/terminal.c, src/ex_docmd.c, src/proto/ex_docmd.pro, 24702 src/ex_cmds.h, src/eval.c, src/misc2.c, src/fileio.c, 24703 src/testdir/test_terminal.vim, runtime/doc/terminal.txt 24704 24705Patch 8.0.1661 24706Problem: Warnings from 64 bit compiler. 24707Solution: Add type casts. (Mike Williams) 24708Files: src/terminal.c 24709 24710Patch 8.0.1662 24711Problem: Showing dump diff doesn't mention both file names. 24712Solution: Add the file name in the separator line. 24713Files: src/terminal.c 24714 24715Patch 8.0.1663 (after 8.0.1660) 24716Problem: Cannot build without multi-byte feature. 24717Solution: Add #ifdef. 24718Files: src/ex_docmd.c 24719 24720Patch 8.0.1664 24721Problem: Test failure because of not allocating enough space. 24722Solution: Allocate more bytes. 24723Files: src/terminal.c 24724 24725Patch 8.0.1665 24726Problem: When running a terminal from the GUI 'term' is not useful. 24727Solution: Use $TERM in the GUI if it starts with "xterm". (closes #2776) 24728Files: src/os_unix.c, runtime/doc/terminal.txt 24729 24730Patch 8.0.1666 24731Problem: % argument in ch_log() causes trouble. 24732Solution: Use string as third argument in internal ch_log(). (Dominique 24733 Pelle, closes #2784) 24734Files: src/evalfunc.c, src/testdir/test_channel.vim 24735 24736Patch 8.0.1667 24737Problem: Terminal window tests are flaky. 24738Solution: Increase the waiting time for Vim to start. 24739Files: src/testdir/screendump.vim 24740 24741Patch 8.0.1668 24742Problem: Terminal debugger: can't re-open source code window. 24743Solution: Add the :Source command. Also create the window if needed when 24744 gdb stops at a source line. 24745Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 24746 runtime/doc/terminal.txt 24747 24748Patch 8.0.1669 24749Problem: :vimgrep may add entries to the wrong quickfix list. 24750Solution: Use the list identifier. (Yegappan Lakshmanan) 24751Files: src/quickfix.c, src/testdir/test_quickfix.vim 24752 24753Patch 8.0.1670 24754Problem: Terminal window tests are still a bit flaky. 24755Solution: Increase the waiting time for the buffer to be created. 24756Files: src/testdir/test_terminal.vim 24757 24758Patch 8.0.1671 24759Problem: Crash when passing non-dict argument as env to job_start(). 24760Solution: Check for valid argument. (Ozaki Kiichi, closes #2765) 24761Files: src/channel.c, src/testdir/test_channel.vim 24762 24763Patch 8.0.1672 24764Problem: Error during completion causes command to be cancelled. 24765Solution: Reset did_emsg before waiting for another character. (Tom M.) 24766Files: src/ex_getln.c, src/testdir/test_cmdline.vim 24767 24768Patch 8.0.1673 24769Problem: Terminal window tests are still a bit flaky. 24770Solution: Increase the waiting time even more. (Elimar Riesebieter) 24771Files: src/testdir/test_terminal.vim 24772 24773Patch 8.0.1674 24774Problem: Libvterm can't handle a long OSC string that is split. 24775Solution: When an incomplete OSC string is received copy it to the parser 24776 buffer. Increase the size of the parser buffer to be able to 24777 handle longer strings. 24778Files: src/libvterm/src/parser.c, src/libvterm/src/vterm.c 24779 24780Patch 8.0.1675 24781Problem: Unused macro argument in libvterm. (Randall W. Morris) 24782Solution: Remove the argument. 24783Files: src/libvterm/src/parser.c 24784 24785Patch 8.0.1676 24786Problem: No compiler warning for wrong printf format. 24787Solution: Add a printf attribute for gcc. Fix reported problems. (Dominique 24788 Pelle, closes #2789) 24789Files: src/channel.c, src/vim.h, src/proto/channel.pro 24790 24791Patch 8.0.1677 24792Problem: No compiler warning for wrong format in vim_snprintf(). 24793Solution: Add printf attribute for gcc. Fix reported problems. 24794Files: src/vim.h, src/proto.h, src/eval.c, src/fileio.c, src/mbyte.c, 24795 src/ops.c, src/spellfile.c, src/undo.c, src/json.c 24796 24797Patch 8.0.1678 24798Problem: Errorformat "%r" implies "%>". (Jan Gosmann) 24799Solution: Jump to before setting fmt_ptr. (Yegappan Lakshmanan, 24800 closes #2785) 24801Files: src/quickfix.c, src/testdir/test_quickfix.vim 24802 24803Patch 8.0.1679 24804Problem: Compiler warning for printf format. (Chdiza) 24805Solution: Change type to "long long". (closes #2791) 24806Files: src/ops.c 24807 24808Patch 8.0.1680 24809Problem: Memory allocated by libvterm does not show up in profile. 24810Solution: Pass allocator functions to vterm_new(). 24811Files: src/terminal.c 24812 24813Patch 8.0.1681 24814Problem: The format attribute fails with MinGW. (John Marriott) 24815Solution: Don't use the format attribute with MinGW. 24816Files: src/vim.h, src/proto.h, src/channel.c 24817 24818Patch 8.0.1682 24819Problem: Auto indenting breaks inserting a block. 24820Solution: Do not check for cursor movement if indent was changed. (Christian 24821 Brabandt, closes #2778) 24822Files: src/testdir/test_blockedit.vim, src/testdir/Make_all.mak, 24823 src/Makefile, src/ops.c 24824 24825Patch 8.0.1683 24826Problem: Python upgrade breaks Vim when defining PYTHON_HOME. 24827Solution: Do not define PYTHON_HOME and PYTHON3_HOME in configure. (Naoki 24828 Inada, closes #2787) 24829Files: src/configure.ac, src/auto/configure 24830 24831Patch 8.0.1684 24832Problem: ml_get errors when using terminal window for shell command. 24833 (Blay263) 24834Solution: Do not change the size of the current window. 24835Files: src/terminal.c 24836 24837Patch 8.0.1685 24838Problem: Can't set ANSI colors of a terminal window. 24839Solution: Add term_setansicolors(), term_getansicolors() and 24840 g:term_ansi_colors. (Andy Massimino, closes #2747) 24841Files: runtime/doc/eval.txt, runtime/doc/terminal.txt, src/channel.c, 24842 src/evalfunc.c, src/proto/terminal.pro, src/structs.h, 24843 src/terminal.c, src/testdir/test_terminal.vim 24844 24845Patch 8.0.1686 (after 8.0.1683) 24846Problem: Python does not work when configuring with specific dir. (Rajdeep) 24847Solution: Do define PYTHON_HOME and PYTHON3_HOME in configure if the Python 24848 config dir was specified. 24849Files: src/configure.ac, src/auto/configure 24850 24851Patch 8.0.1687 24852Problem: 64 bit compiler warnings. 24853Solution: change type, add type cast. (Mike Williams) 24854Files: src/terminal.c 24855 24856Patch 8.0.1688 24857Problem: Some macros are used without a semicolon, causing auto-indent to be 24858 wrong. 24859Solution: Use the do-while(0) trick. (Ozaki Kiichi, closes #2729) 24860Files: src/buffer.c, src/dosinst.c, src/ex_cmds.c, src/gui_at_sb.c, 24861 src/macros.h, src/main.c, src/memline.c, src/option.c, 24862 src/os_vms.c, src/screen.c, src/window.c 24863 24864Patch 8.0.1689 24865Problem: No tests for xxd. 24866Solution: Add a test. (Christian Brabandt) 24867Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Makefile, 24868 src/testdir/test_xxd.vim, src/testdir/runtest.vim 24869 24870Patch 8.0.1690 24871Problem: Not easy to run one test with gvim instead of vim. 24872Solution: Add VIMTESTTARGET in Makefile. 24873Files: src/Makefile 24874 24875Patch 8.0.1691 24876Problem: Xxd test sometimes fails. 24877Solution: Wipe out the XXDfile buffer. 24878Files: src/testdir/test_xxd.vim 24879 24880Patch 8.0.1692 (after 8.0.1686) 24881Problem: Python may not work when using statically linked library. 24882Solution: Do not define PYTHON_HOME and PYTHON3_HOME in configure if the 24883 Python library is linked statically. 24884Files: src/configure.ac, src/auto/configure 24885 24886Patch 8.0.1693 24887Problem: Xxd is excluded from coverage statistics. 24888Solution: Don't skip the xxd directory. (Christian Brabandt) 24889Files: .travis.yml 24890 24891Patch 8.0.1694 24892Problem: Terminal API test is a bit flaky. 24893Solution: Wait longer for Vim to stop. 24894Files: src/testdir/screendump.vim 24895 24896Patch 8.0.1695 24897Problem: Xxd test not run on MS-Windows. 24898Solution: Use xxd.exe if it exists. 24899Files: src/testdir/test_xxd.vim 24900 24901Patch 8.0.1696 24902Problem: Coverage statistics don't work. 24903Solution: Include the xxd directory. (Christian Brabandt) 24904Files: .travis.yml 24905 24906Patch 8.0.1697 24907Problem: Various tests are still a bit flaky. 24908Solution: Increase the default wait time to five seconds. 24909Files: src/testdir/shared.vim, src/testdir/screendump.vim, 24910 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim, 24911 src/testdir/test_quotestar.vim, src/testdir/test_terminal.vim 24912 24913Patch 8.0.1698 24914Problem: Coverage statistics don't work on coveralls. 24915Solution: Use curly braces for $SRCDIR. 24916Files: .travis.yml 24917 24918Patch 8.0.1699 24919Problem: Leftover stuff for Python 1.4. 24920Solution: Remove outdated Python 1.4 stuff. (Naoki Inada, closes #2794) 24921Files: src/Makefile, src/config.aap.in, src/config.mk.in, 24922 src/configure.ac, src/auto/configure 24923 24924Patch 8.0.1700 24925Problem: Coverage statistics still don't work on coveralls. 24926Solution: Exclude the xxd directory again. 24927Files: .travis.yml 24928 24929Patch 8.0.1701 24930Problem: Can disable COLOR_EMOJI with MSVC but not MinGW. 24931Solution: Add COLOR_EMOJI flag. Also add some empty lines for readability. 24932Files: src/Make_cyg_ming.mak 24933 24934Patch 8.0.1702 24935Problem: Leaking memory when autocommands make a quickfix list invalid. 24936Solution: Call FreeWild(). (Yegappan Lakshmanan) 24937Files: src/quickfix.c 24938 24939Patch 8.0.1703 24940Problem: In the tutor 'showcmd' is not set. 24941Solution: Set 'showcmd' in the vimtutor script. (Ken Takata, closes #2792) 24942Files: src/vimtutor 24943 24944Patch 8.0.1704 24945Problem: 'backupskip' default doesn't work for Mac. 24946Solution: Use "/private/tmp". (Rainer Müller, closes #2793) 24947Files: src/option.c, src/testdir/test_options.vim, 24948 runtime/doc/options.txt 24949 24950Patch 8.0.1705 24951Problem: When making a vertical split the mode message isn't always 24952 updated, "VISUAL" remains. (Alexei Averchenko) 24953Solution: Only reset clear_cmdline when filling all columns of the last 24954 screen line. (Tom M. closes #2611) 24955Files: src/screen.c, src/testdir/test_window_cmd.vim 24956 24957Patch 8.0.1706 24958Problem: Cannot send CTRL-\ to a terminal window. 24959Solution: Make CTRL-W CTRL-\ send CTRL-\ to a terminal window. 24960Files: src/terminal.c, runtime/doc/terminal.txt 24961 24962Patch 8.0.1707 24963Problem: When 'wfh' is set ":bel 10new" scrolls window. (Andrew Pyatkov) 24964Solution: Set the fraction before changing the window height. (closes #2798) 24965Files: src/window.c 24966 24967Patch 8.0.1708 24968Problem: Mkdir with 'p' flag fails on existing directory, which is 24969 different from the mkdir shell command. 24970Solution: Don't fail if the directory already exists. (James McCoy, 24971 closes #2775) 24972Files: src/evalfunc.c, src/testdir/test_eval_stuff.vim, 24973 runtime/doc/eval.txt 24974 24975Patch 8.0.1709 24976Problem: Some non-C89 code may slip through. 24977Solution: Enforce C89 in configure. Fix detected problems. (James McCoy, 24978 closes #2735) 24979Files: src/channel.c, src/configure.ac, src/auto/configure, 24980 src/gui_gtk_x11.c, src/if_python3.c 24981 24982Patch 8.0.1710 24983Problem: Building with Ruby fails. 24984Solution: Don't add -ansi when building with Ruby. 24985Files: src/configure.ac, src/auto/configure 24986 24987Patch 8.0.1711 24988Problem: Term_setsize() is not implemented yet. 24989Solution: Implement it. 24990Files: src/evalfunc.c, src/terminal.c, src/proto/terminal.pro, 24991 src/testdir/test_terminal.vim, runtime/doc/eval.txt 24992 24993Patch 8.0.1712 24994Problem: Terminal scrollback is not limited. 24995Solution: Add the 'terminalscroll' option. 24996Files: src/terminal.c, src/option.h, src/option.c, 24997 runtime/doc/options.txt, runtime/doc/terminal.txt 24998 24999Patch 8.0.1713 25000Problem: Terminal debugger doesn't handle arguments. 25001Solution: Use <f-args> and pass all the arguments to gdb, e.g. the core file 25002 or process number. (suggested by Christian Brabandt) Disallow 25003 starting the debugger twice. 25004Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 25005 runtime/doc/terminal.txt 25006 25007Patch 8.0.1714 25008Problem: Term_setsize() does not give an error in a normal buffer. 25009Solution: Add an error message. 25010Files: src/terminal.c, src/testdir/test_terminal.vim 25011 25012Patch 8.0.1715 25013Problem: Terminal buffer can be 1 more than 'terminalscroll' lines. 25014Solution: Change > to >=. 25015Files: src/terminal.c 25016 25017Patch 8.0.1716 25018Problem: Test for term_setsize() does not give a good error message. 25019Solution: use assert_inrange(). 25020Files: src/testdir/test_terminal.vim 25021 25022Patch 8.0.1717 25023Problem: C89 check causes too much trouble. 25024Solution: Remove enforcing C89 for now. 25025Files: src/configure.ac, src/auto/configure 25026 25027Patch 8.0.1718 25028Problem: Terminal scrollback test fails on MS-Windows. 25029Solution: Check for the last line of output anticipating there might be an 25030 empty line below it. 25031Files: src/testdir/test_terminal.vim 25032 25033Patch 8.0.1719 25034Problem: Cannot specify which Python executable configure should use. 25035Solution: Add --with-python-command and --with-python3-command. 25036Files: src/configure.ac, src/auto/configure 25037 25038Patch 8.0.1720 25039Problem: When a timer is running a terminal window may not close after a 25040 shell has exited. 25041Solution: Call job_status() more often. 25042Files: src/terminal.c 25043 25044Patch 8.0.1721 25045Problem: No test for using the 'termsize' option. 25046Solution: Add a test. 25047Files: src/testdir/screendump.vim, src/testdir/test_terminal.vim 25048 25049Patch 8.0.1722 25050Problem: Cannot specify a minimal size for a terminal window. 25051Solution: Support the "rows*cols" format for 'winsize'. 25052Files: src/terminal.c, src/testdir/test_terminal.vim, src/option.c, 25053 runtime/doc/options.txt 25054 25055Patch 8.0.1723 25056Problem: Using one item array size declaration is misleading. 25057Solution: Instead of using "[1]" and actually using a larger array, use 25058 "[]". This is to verify that this C99 feature works for all 25059 compilers. 25060Files: src/structs.h, src/getchar.c 25061 25062Patch 8.0.1724 25063Problem: Declarations cannot be halfway a block. 25064Solution: Move one declaration to check if this works for all compilers. 25065Files: src/main.c 25066 25067Patch 8.0.1725 25068Problem: Terminal debugger doesn't handle command arguments. 25069Solution: Add the :TermdebugCommand command. Use a ! to execute right away. 25070 (Christian Brabandt) 25071Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim, 25072 runtime/doc/terminal.txt 25073 25074Patch 8.0.1726 (after 8.0.1724) 25075Problem: Older MSVC doesn't support declarations halfway a block. 25076Solution: Move the declaration back to the start of the block. 25077Files: src/main.c 25078 25079Patch 8.0.1727 25080Problem: qf_get_properties() function is too long. 25081Solution: Refactor the code. (Yegappan Lakshmanan, closes #2807) 25082Files: src/quickfix.c 25083 25084Patch 8.0.1728 25085Problem: Condition always false, useless code. 25086Solution: Remove the code. (Nikolai Pavlov, closes #2808) 25087Files: src/message.c 25088 25089Patch 8.0.1729 25090Problem: No comma after last enum item. 25091Solution: Add a few commas to check if this works for all compilers. Also 25092 add a few // comments. 25093Files: src/structs.h 25094 25095Patch 8.0.1730 25096Problem: No configure check for the used C99 features. 25097Solution: Add a compilation check. Tentatively document C99 features. 25098Files: src/configure.ac, src/auto/configure, runtime/doc/develop.txt 25099 25100Patch 8.0.1731 25101Problem: Characters deleted on completion. (Adrià Farrés) 25102Solution: Also check the last item for the ORIGINAL_TEXT flag. (Christian 25103 Brabandt, closes #1645) 25104Files: src/edit.c, src/testdir/test_popup.vim 25105 25106Patch 8.0.1732 25107Problem: Crash when terminal API call deletes the buffer. 25108Solution: Lock the buffer while calling a function. (closes #2813) 25109Files: src/buffer.c, src/terminal.c, src/testdir/test_terminal.vim, 25110 src/testdir/test_autocmd.vim 25111 25112Patch 8.0.1733 25113Problem: Incomplete testing for completion fix. (Lifepillar) 25114Solution: Add a test with CTRL-P. 25115Files: src/testdir/test_popup.vim 25116 25117Patch 8.0.1734 25118Problem: Package directory not added to 'rtp' if prefix matches. 25119Solution: Check the match is a full match. (Ozaki Kiichi, closes #2817) 25120 Also handle different ways of spelling a path. 25121Files: src/testdir/test_packadd.vim, src/ex_cmds2.c 25122 25123Patch 8.0.1735 (after 8.0.1723 and 8.0.1730) 25124Problem: Flexible array member feature not supported by HP-UX. (John 25125 Marriott) 25126Solution: Do not use the flexible array member feature of C99. 25127Files: src/configure.ac, src/auto/configure, src/structs.h, 25128 src/getchar.c, runtime/doc/develop.txt 25129 25130Patch 8.0.1736 25131Problem: Check for C99 features is incomplete. 25132Solution: Use AC_PROG_CC_C99 and when C99 isn't fully supported check the 25133 features we need. (James McCoy, closes #2820) 25134Files: src/configure.ac, src/auto/configure 25135 25136Patch 8.0.1737 25137Problem: fchown() used when it is not supported. 25138Solution: Add #ifdef. 25139Files: src/fileio.c 25140 25141Patch 8.0.1738 25142Problem: ":args" output is hard to read. 25143Solution: Make columns with the names if the output is more than one line. 25144Files: src/ex_cmds2.c, src/version.c, src/proto/version.pro, 25145 src/testdir/test_arglist.vim 25146 25147Patch 8.0.1739 25148Problem: MS-Windows with msys2 cannot build Ruby statically. 25149Solution: Define RUBY_VERSION. (Gray Wolf, closes #2826) 25150Files: src/Make_cyg_ming.mak 25151 25152Patch 8.0.1740 25153Problem: Warning for signed-unsigned incompatibility. 25154Solution: Change type from "char *" to "char_u *". (John Marriott) 25155Files: src/ex_cmds2.c 25156 25157Patch 8.0.1741 25158Problem: MS-Windows with msys2 cannot build Ruby statically. 25159Solution: Add RUBY_VERSION to CFLAGS later. (Gray Wolf, closes #2833) 25160Files: src/Make_cyg_ming.mak 25161 25162Patch 8.0.1742 25163Problem: Cannot get a list of all the jobs. Cannot get the command of 25164 the job. 25165Solution: When job_info() is called without an argument return a list of 25166 jobs. Otherwise, include the command that the job is running. 25167 (Yegappan Lakshmanan) 25168Files: runtime/doc/eval.txt, src/channel.c, src/evalfunc.c, 25169 src/proto/channel.pro, src/structs.h, src/testdir/test_channel.vim 25170 25171Patch 8.0.1743 25172Problem: Terminal window options are named inconsistently. 25173Solution: prefix terminal window options with "termwin". Keep the old names 25174 for now as an alias. 25175Files: src/option.c, src/option.h, src/structs.h, src/terminal.c, 25176 src/testdir/test_terminal.vim, src/testdir/gen_opt_test.vim, 25177 runtime/doc/options.txt, runtime/doc/quickref.txt, 25178 runtime/doc/terminal.txt, runtime/optwin.vim 25179 25180Patch 8.0.1744 25181Problem: On some systems /dev/stdout isn't writable. 25182Solution: Skip test if writing is not possible. (James McCoy, closes #2830) 25183Files: src/testdir/test_writefile.vim 25184 25185Patch 8.0.1745 25186Problem: Build failure on MS-Windows. 25187Solution: Build job arguments for MS-Windows. Fix allocating job twice. 25188Files: src/structs.h, src/channel.c, src/os_unix.c, src/misc2.c, 25189 src/terminal.c, src/proto/misc2.pro 25190 25191Patch 8.0.1746 25192Problem: MS-Windows: channel tests fail. 25193Solution: Make a copy of the command before splitting it. 25194Files: src/channel.c 25195 25196Patch 8.0.1747 25197Problem: MS-Windows: term_start() does not set job_info() cmd. 25198Solution: Share the code from job_start() to set jv_argv. 25199Files: src/testdir/test_terminal.vim, src/channel.c, src/misc2.c, 25200 src/proto/misc2.pro, src/terminal.c 25201 25202Patch 8.0.1748 25203Problem: CmdlineEnter command uses backslash instead of slash. 25204Solution: Don't treat the character as a file name. (closes #2837) 25205Files: src/fileio.c, src/testdir/test_autocmd.vim 25206 25207Patch 8.0.1749 25208Problem: VMS: 100% CPU use, redefining mch_open() and mch_fopen() fails. 25209Solution: Do not wait indefinitely in RealWaitForChar(). (Neil Rieck) 25210 Do not redefine mch_open() and mch_fopen() on VMS. (Zoltan 25211 Arpadffy) 25212Files: src/os_vms.c, src/vim.h 25213 25214Patch 8.0.1750 25215Problem: Crash when clearing location list in autocommand. 25216Solution: Check if "qi" equals "ql_info". (Yegappan Lakshmanan) 25217Files: src/quickfix.c, src/testdir/test_quickfix.vim 25218 25219Patch 8.0.1751 25220Problem: #ifdef causes bad highlighting. 25221Solution: Move code around. (Ozaki Kiichi, closes #2731) 25222Files: src/ui.c 25223 25224Patch 8.0.1752 25225Problem: qf_set_properties() is to long. 25226Solution: Refactor the function. Define INVALID_QFIDX. (Yegappan 25227 Lakshmanan, closes #2812) 25228Files: src/quickfix.c, src/testdir/test_quickfix.vim 25229 25230Patch 8.0.1753 25231Problem: Various warnings from a static analyser 25232Solution: Add type casts, remove unneeded conditions. (Christian Brabandt, 25233 closes #2770) 25234Files: src/evalfunc.c, src/ex_cmds2.c, src/fileio.c, src/getchar.c, 25235 src/normal.c, src/os_unix.c, src/search.c, src/term.c 25236 25237Patch 8.0.1754 25238Problem: ex_helpgrep() is too long. 25239Solution: Refactor the function. (Yegappan Lakshmanan, closes #2766) 25240Files: src/quickfix.c, src/testdir/test_quickfix.vim 25241 25242Patch 8.0.1755 25243Problem: MS-Windows GUI: high unicode char received as two utf-16 words. 25244Solution: Keep the first word until the second word is received. (Chris 25245 Morgan, closes #2800) 25246Files: src/gui_w32.c 25247 25248Patch 8.0.1756 25249Problem: GUI: after prompting for a number the mouse shape is sometimes 25250 wrong. 25251Solution: Call setmouse() after setting "State". (Hirohito Higashi, 25252 closes #2709) 25253Files: src/misc1.c 25254 25255Patch 8.0.1757 25256Problem: Unnecessary changes in libvterm. 25257Solution: Bring back // comments and trailing comma in enums. 25258Files: src/libvterm/bin/unterm.c, src/libvterm/bin/vterm-ctrl.c, 25259 src/libvterm/bin/vterm-dump.c, src/libvterm/include/vterm.h, 25260 src/libvterm/include/vterm_keycodes.h, 25261 src/libvterm/src/encoding.c, src/libvterm/src/keyboard.c, 25262 src/libvterm/src/parser.c, src/libvterm/src/pen.c, 25263 src/libvterm/src/screen.c, src/libvterm/src/state.c, 25264 src/libvterm/src/unicode.c, src/libvterm/src/utf8.h, 25265 src/libvterm/src/vterm.c, src/libvterm/src/vterm_internal.h 25266 25267Patch 8.0.1758 25268Problem: open_line() returns TRUE/FALSE for success/failure. 25269Solution: Return OK or FAIL. 25270Files: src/misc1.c, src/normal.c, src/edit.c 25271 25272Patch 8.0.1759 25273Problem: Memory leak from duplicate options. (Yegappan Lakshmanan) 25274Solution: Don't set the default value twice. 25275Files: src/option.c 25276 25277Patch 8.0.1760 25278Problem: Wrong number of arguments to vms_read(). 25279Solution: Drop the first argument. (Ozaki Kiichi) 25280Files: src/ui.c 25281 25282Patch 8.0.1761 25283Problem: Job in terminal window with no output channel is killed. 25284Solution: Keep the job running when the input is a tty. (Ozaki Kiichi, 25285 closes #2734) 25286Files: src/channel.c, src/os_unix.c, src/testdir/test_channel.vim 25287 25288Patch 8.0.1762 25289Problem: Terminal debug logging is a bit complicated. 25290Solution: Make log_tr() use variable arguments (Ozaki Kiichi, closes #2730) 25291Files: src/term.c 25292 25293Patch 8.0.1763 25294Problem: :argedit does not reuse an empty unnamed buffer. 25295Solution: Add the BLN_CURBUF flag and fix all the side effects. (Christian 25296 Brabandt, closes #2713) 25297Files: src/buffer.c, src/ex_cmds2.c, src/proto/buffer.pro, 25298 src/testdir/test_arglist.vim, src/testdir/test_command_count.vim 25299 25300Patch 8.0.1764 25301Problem: Lgtm considers tutor.es to be EcmaScript. 25302Solution: Add a config file for lgtm. (Bas van Schaik, closes #2844) 25303Files: .lgtm.yml, Filelist 25304 25305Patch 8.0.1765 25306Problem: CTRL-G j in Insert mode is incorrect when 'virtualedit' is set. 25307Solution: Take coladd into account. (Christian Brabandt, closes #2743) 25308Files: src/charset.c, src/testdir/test_virtualedit.vim 25309 25310Patch 8.0.1766 (after 8.0.1758) 25311Problem: Expanding abbreviation doesn't work. (Tooth Pik) 25312Solution: Return OK instead of FALSE and FAIL instead of TRUE. (Christian 25313 Brabandt) 25314Files: src/edit.c, src/testdir/test_mapping.vim 25315 25316Patch 8.0.1767 25317Problem: With 'incsearch' text may jump up and down. () 25318Solution: Besides w_botline also save and restore w_empty_rows. 25319 (closes #2530) 25320Files: src/ex_getln.c, src/testdir/test_search.vim, 25321 src/testdir/dumps/Test_incsearch_scrolling_01.dump 25322 25323Patch 8.0.1768 25324Problem: SET_NO_HLSEARCH() used in a wrong way. 25325Solution: Make it a function. (suggested by Dominique Pelle, 25326 closes #2850) 25327Files: src/vim.h, src/ex_docmd.c, src/proto/ex_docmd.pro, src/search.c, 25328 src/ex_getln.c, src/option.c, src/screen.c, src/tag.c 25329 25330Patch 8.0.1769 25331Problem: Repeated saving and restoring viewstate for 'incsearch'. 25332Solution: Use a structure. 25333Files: src/ex_getln.c 25334 25335Patch 8.0.1770 25336Problem: Assert functions don't return anything. 25337Solution: Return non-zero when the assertion fails. 25338Files: src/evalfunc.c, src/eval.c, src/proto/eval.pro, 25339 src/testdir/test_assert.vim, runtime/doc/eval.txt 25340 25341Patch 8.0.1771 25342Problem: In tests, when WaitFor() fails it doesn't say why. (James McCoy) 25343Solution: Add WaitForAssert(), which produces an assert error when it fails. 25344Files: src/testdir/shared.vim, src/testdir/test_terminal.vim, 25345 src/testdir/screendump.vim, src/testdir/test_autocmd.vim, 25346 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim, 25347 src/testdir/test_job_fails.vim 25348 25349Patch 8.0.1772 25350Problem: Quickfix: mixup of FALSE and FAIL, returning -1. 25351Solution: Use FAIL and INVALID_QFIDX. (Yegappan Lakshmanan) 25352Files: src/quickfix.c 25353 25354Patch 8.0.1773 25355Problem: Dialog messages are not translated. 25356Solution: Add N_() and _() where needed. (Sergey Alyoshin) 25357Files: src/diff.c, src/ex_cmds2.c, src/ex_docmd.c, src/message.c, 25358 src/po/Make_cyg.mak, src/po/Make_ming.mak, src/po/Make_mvc.mak, 25359 src/po/Makefile, src/quickfix.c, src/vim.h 25360 25361Patch 8.0.1774 25362Problem: Reading very long lines can be slow. 25363Solution: Read up to 1 Mbyte at a time to avoid a lot of copying. Add a 25364 check for going over the column limit. 25365Files: src/fileio.c 25366 25367Patch 8.0.1775 25368Problem: MS-Windows: warning for unused variable. 25369Solution: Move declaration inside #ifdef. (Mike Williams) 25370Files: src/channel.c 25371 25372Patch 8.0.1776 25373Problem: In tests, when WaitFor() fails it doesn't say why. 25374Solution: Turn a few more WaitFor() into WaitForAssert(). 25375Files: src/testdir/test_popup.vim, src/testdir/test_quotestar.vim, 25376 src/testdir/test_search.vim, src/testdir/test_terminal.vim, 25377 src/testdir/test_timers.vim 25378 25379Patch 8.0.1777 25380Problem: Cannot cleanup before loading another colorscheme. 25381Solution: Add the ColorSchemePre autocommand event. 25382Files: src/fileio.c, src/syntax.c, src/vim.h, src/testdir/test_gui.vim, 25383 runtime/colors/README.txt 25384 25385Patch 8.0.1778 25386Problem: Script to check translations does not always work. 25387Solution: Go to first line before searching for MIME. 25388Files: src/po/check.vim 25389 25390Patch 8.0.1779 25391Problem: Deleting in a block selection causes problems. 25392Solution: Check the length of the line before adding bd.textcol and 25393 bd.textlen. (Christian Brabandt, closes #2825) 25394Files: src/ops.c, src/testdir/test_blockedit.vim 25395 25396Patch 8.0.1780 25397Problem: Test fails because Vim in a terminal uses wrong 'encoding'. 25398Solution: Set encoding in the test where it matters. (James McCoy, 25399 closes #2847) 25400Files: src/testdir/test_terminal.vim 25401 25402Patch 8.0.1781 25403Problem: File names in quickfix window are not always shortened. 25404Solution: Shorten the file name when opening the quickfix window. (Yegappan 25405 Lakshmanan, closes #2851, closes #2846) 25406Files: src/testdir/test_quickfix.vim, src/fileio.c, src/proto/fileio.pro, 25407 src/quickfix.c 25408 25409Patch 8.0.1782 25410Problem: No simple way to label quickfix entries. 25411Solution: Add the "module" item, to be used instead of the file name for 25412 display purposes. (Marcin Szamotulski, closes #1757) 25413Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/alloc.h, 25414 src/quickfix.c, src/testdir/test_quickfix.vim 25415 25416Patch 8.0.1783 25417Problem: Cannot use 256 colors in a MS-Windows console. 25418Solution: Add 256 color support. (Nobuhiro Takasaki, closes #2821) 25419Files: src/misc1.c, src/option.c, src/os_win32.c, src/proto/os_win32.pro, 25420 src/term.c, src/proto/term.pro, src/terminal.c 25421 25422Patch 8.0.1784 (after 8.0.1782) 25423Problem: Gvim test gets stuck in dialog. 25424Solution: Rename the file used. 25425Files: src/testdir/test_quickfix.vim 25426 25427Patch 8.0.1785 (after 8.0.1783) 25428Problem: Missing symbol in Win32 small build. 25429Solution: Define VTERM_ANSI_INDEX_NONE without the terminal feature. Also 25430 fix unused function with #ifdef. 25431Files: src/term.c, src/os_win32.c 25432 25433Patch 8.0.1786 25434Problem: No test for 'termwinkey'. 25435Solution: Add a test. Make feedkeys() handle terminal_loop() returning 25436 before characters are consumed. 25437Files: src/testdir/test_terminal.vim, src/terminal.c, src/evalfunc.c, 25438 src/ex_docmd.c, src/getchar.c, src/keymap.h 25439 25440Patch 8.0.1787 25441Problem: Cannot insert the whole cursor line. 25442Solution: Make CTRL-R CTRL-L work. (Andy Massimino, closes #2857) 25443Files: runtime/doc/cmdline.txt, src/ex_getln.c, src/ops.c, 25444 src/testdir/test_cmdline.vim 25445 25446Patch 8.0.1788 25447Problem: Tool to check a color scheme is not installed. 25448Solution: Update the install rule. (Christian Brabandt) 25449Files: src/Makefile 25450 25451Patch 8.0.1789 25452Problem: BufWinEnter does not work well for a terminal window. 25453Solution: Do not trigger BufWinEnter when opening a terminal window. 25454Files: src/terminal.c, runtime/doc/autocmd.txt, 25455 src/testdir/test_terminal.vim 25456 25457Patch 8.0.1790 25458Problem: 'winfixwidth' is not always respected by :close. 25459Solution: Prefer a frame without 'winfixwidth' or 'winfixheight'. (Jason 25460 Franklin) 25461Files: src/window.c, src/testdir/test_winbuf_close.vim 25462 25463Patch 8.0.1791 25464Problem: Using uint8_t does not work everywhere. 25465Solution: Use char_u instead. 25466Files: src/term.c, src/proto/term.pro, src/os_win32.c 25467 25468Patch 8.0.1792 25469Problem: MS-Windows users expect -? to work like --help. 25470Solution: Add -?. (Christian Brabandt, closes #2867) 25471Files: src/main.c 25472 25473Patch 8.0.1793 25474Problem: No test for "vim -g". 25475Solution: Add a test for "-g" and "-y". 25476Files: src/testdir/shared.vim, src/testdir/test_gui.vim 25477 25478Patch 8.0.1794 25479Problem: Duplicate term options after renaming. 25480Solution: Remove the old names 'termkey', 'termsize' and 'terminalscroll'. 25481Files: src/option.c, src/terminal.c, src/option.h, 25482 src/testdir/gen_opt_test.vim, src/testdir/screendump.vim 25483 25484Patch 8.0.1795 25485Problem: Lose contact with jobs when :gui forks. 25486Solution: Don't fork when there is a running job. Make log message for a 25487 died job clearer. Also close the terminal when stderr and stdout 25488 are the same FD. 25489Files: src/gui.h, src/gui.c, src/channel.c, src/proto/channel.pro, 25490 src/os_unix.c, src/terminal.c 25491 25492Patch 8.0.1796 25493Problem: GUI: click on tab fails when the focus is in a terminal window. 25494Solution: Handle K_TABLINE. 25495Files: src/terminal.c 25496 25497Patch 8.0.1797 25498Problem: Terminal window is redrawn too often and scrolling is repeated. 25499Solution: Don't scroll immediately but only when redrawing. Avoid redrawing 25500 the whole terminal window on every change. 25501Files: src/terminal.c, src/screen.c, src/proto/terminal.pro 25502 25503Patch 8.0.1798 25504Problem: MS-Windows: file considered read-only when another program has 25505 opened it. 25506Solution: Pass file sharing flag to CreateFile(). (Linwei, closes #2860) 25507Files: src/os_win32.c 25508 25509Patch 8.0.1799 25510Problem: No test for :registers command. 25511Solution: Add a test. (Dominique Pelle, closes #2880) 25512Files: src/testdir/test_registers.vim 25513 25514Patch 8.0.1800 25515Problem: X11: getting color is slow. 25516Solution: Avoid using sprintf() and XParseColor(), put the RGB values in 25517 XColor directly. 25518Files: src/gui_x11.c 25519 25520Patch 8.0.1801 25521Problem: MS-Windows: redirecting terminal output does not work. 25522Solution: Intercept the text written to the terminal and write it to the 25523 file. 25524Files: src/terminal.c, src/testdir/test_terminal.vim 25525 25526Patch 8.0.1802 (after 8.0.1802) 25527Problem: MS-Windows: terminal test fails. 25528Solution: Close redirected output file earlier. 25529Files: src/terminal.c 25530 25531Patch 8.0.1803 25532Problem: Warning for uninitialized variable. (Tony Mechelynck) 25533Solution: Initialize it. 25534Files: src/terminal.c 25535 25536Patch 8.0.1804 25537Problem: Using :normal in terminal window causes problems. (Dominique 25538 Pelle) 25539Solution: Don't call terminal_loop() for :normal. (closes #2886) 25540Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/evalfunc.c 25541 25542Patch 8.0.1805 25543Problem: qf_parse_line() is too long. 25544Solution: Split it in parts. Properly handle vim_realloc() failing. 25545 (Yegappan Lakshmanan, closes #2881) 25546Files: src/quickfix.c 25547 25548Patch 8.0.1806 25549Problem: InsertCharPre causes problems for autocomplete. (Lifepillar) 25550Solution: Check for InsertCharPre before calling vpeekc(). (Christian 25551 Brabandt, closes #2876) 25552Files: src/edit.c, src/testdir/test_popup.vim 25553 25554Patch 8.0.1807 25555Problem: Function to set terminal name is too long. 25556Solution: Refactor the function. Fix typo in test. 25557Files: src/term.c, src/testdir/test_options.vim 25558 25559Patch 8.0.1808 (after 8.0.1807) 25560Problem: Can't build without TGETENT. 25561Solution: Add #ifdef 25562Files: src/term.c 25563 25564Patch 8.0.1809 25565Problem: Various typos. 25566Solution: Correct the mistakes, change "cursur" to "cursor". (closes #2887) 25567Files: src/edit.c, src/normal.c, src/screen.c, src/proto/screen.pro, 25568 src/ui.c 25569 25570Patch 8.0.1810 25571Problem: Buffer of a terminal only updated in Terminal-Normal mode. 25572Solution: Copy the terminal window content to the buffer when in 25573 Terminal-Job mode. 25574Files: src/terminal.c, src/proto/terminal.pro, src/ex_cmds2.c, 25575 src/proto/ex_cmds2.pro 25576 25577Patch 8.0.1811 25578Problem: No test for winrestcmd(). 25579Solution: Add a test. (Dominique Pelle, closes #2894) 25580Files: src/testdir/test_window_cmd.vim 25581 25582Patch 8.0.1812 25583Problem: The qf_jump_to_usable_window() function is too long. 25584Solution: Split it in parts. (Yegappan Lakshmanan, closes #2891) 25585Files: src/quickfix.c 25586 25587Patch 8.0.1813 25588Problem: Windows installer doesn't install terminal debugger. 25589Solution: Add the package to the list of files to install. 25590Files: nsis/gvim.nsi 25591 25592Patch 8.0.1814 25593Problem: Crash with terminal window and with 'lazyredraw' set. (Antoine) 25594Solution: Check the terminal still exists after update_screen(). 25595Files: src/terminal.c 25596 25597Patch 8.0.1815 (after 8.0.1814) 25598Problem: Still a crash with terminal window and with 'lazyredraw' set. 25599 (Antoine) 25600Solution: Do not wipe out the buffer when updating the screen. 25601Files: src/terminal.c, src/proto/terminal.pro, src/screen.c, 25602 src/proto/screen.pro, src/ui.c 25603 25604Patch 8.0.1816 25605Problem: No test for setcmdpos(). 25606Solution: Add a test. (Dominique Pelle, closes #2901) 25607Files: src/testdir/test_cmdline.vim 25608 25609Patch 8.0.1817 25610Problem: A timer may change v:count unexpectedly. 25611Solution: Save and restore v:count and similar variables when a timer 25612 callback is invoked. (closes #2897) 25613Files: src/eval.c, src/proto/eval.pro, src/ex_cmds2.c, src/structs.h, 25614 src/testdir/test_timers.vim 25615 25616Patch 8.0.1818 (after 8.0.1810) 25617Problem: Lines remove from wrong buffer when using terminal window. 25618Solution: Make sure to use tl_buffer. 25619Files: src/terminal.c 25620 25621Patch 8.0.1819 25622Problem: Swap file warning for a file in a non-existing directory, if there 25623 is another with the same file name. (Juergen Weigert) 25624Solution: When expanding the file name fails compare the file names. 25625Files: src/testdir/test_swap.vim, src/memline.c 25626 25627Patch 8.0.1820 25628Problem: Terminal window redirecting stdout does not show stderr. (Matéo 25629 Zanibelli) 25630Solution: When stdout is not connected to pty_master_fd then use it for 25631 stderr. (closes #2903) 25632Files: src/os_unix.c, src/testdir/test_terminal.vim 25633 25634Patch 8.0.1821 25635Problem: Cursor in terminal window moves when pressing CTRL-W. (Dominique 25636 Pelle) 25637Solution: Do not more the cursor or redraw when not in Terminal-Normal mode. 25638 (closes #2904) 25639Files: src/terminal.c 25640 25641Patch 8.0.1822 25642Problem: Make uninstall does not remove colors/tools. 25643Solution: Add a line to delete the tools directory. (Kazunobu Kuriyama) 25644Files: src/Makefile 25645 25646Patch 8.0.1823 25647Problem: Test for terminal stdout redirection is flaky. 25648Solution: Wait for the job to finish. 25649Files: src/testdir/test_terminal.vim 25650 25651Patch 8.0.1824 25652Problem: Coverity warns for variable that may be uninitialized. 25653Solution: Initialize the variable. 25654Files: src/terminal.c 25655 25656Patch 8.0.1825 25657Problem: Might use NULL pointer when out of memory. (Coverity) 25658Solution: Handle NULL pointer better. 25659Files: src/getchar.c 25660 25661Patch 8.0.1826 25662Problem: Configure uses old compiler flag. 25663Solution: Remove _DARWIN_C_SOURCE. (Kazunobu Kuriyama) 25664Files: src/configure.ac, src/auto/configure 25665 25666Patch 8.0.1827 25667Problem: Compiler warning for signed/unsigned char pointers. (Cesar Romani) 25668Solution: Change the type of jv_argv. 25669Files: src/channel.c, src/structs.h 25670 25671Patch 8.0.1828 25672Problem: Get no clue why :gui does not fork. 25673Solution: Add a channel log message. 25674Files: src/channel.c 25675 25676Patch 8.0.1829 25677Problem: MS-Windows: script for vimdiff can't handle ! chars. 25678Solution: Escape the ! chars. (Hans Ginzel, closes #2896) 25679Files: src/dosinst.c 25680 25681Patch 8.0.1830 25682Problem: Switching to Terminal-Normal mode does not redraw. (Dominique 25683 Pelle) 25684Solution: Also redraw when not updating the snapshot. (closes #2904) 25685Files: src/terminal.c 25686 25687Patch 8.0.1831 25688Problem: Sometimes the quickfix title is incorrectly prefixed with ':'. 25689Solution: Prepend the colon in another way. (Yegappan Lakshmanan, closes 25690 #2905) 25691Files: src/evalfunc.c, src/quickfix.c, src/testdir/test_quickfix.vim 25692 25693Patch 8.0.1832 25694Problem: Cannot use :unlet for an environment variable. 25695Solution: Make it work. Use unsetenv() if available. (Yasuhiro Matsumoto, 25696 closes #2855) 25697Files: runtime/doc/eval.txt, src/config.h.in, src/configure.ac, 25698 src/auto/configure, src/eval.c, src/misc1.c, src/proto/misc1.pro, 25699 src/testdir/test_unlet.vim 25700 25701Patch 8.0.1833 25702Problem: X11: ":echo 3.14" gives E806. 25703Solution: set LC_NUMERIC to "C". (Dominique Pelle, closes #2368) 25704Files: src/gui_x11.c 25705 25706Patch 8.0.1834 25707Problem: GUI: find/replace dialog does not handle some chars properly. 25708Solution: Escape '?' when needed. Always escape backslash. (closes #2418, 25709 closes #2435) 25710Files: src/gui.c 25711 25712Patch 8.0.1835 25713Problem: Print document name does not support multi-byte. 25714Solution: Use StartDocW() if needed. (Yasuhiro Matsumoto, closes #2478) 25715Files: src/os_mswin.c 25716 25717Patch 8.0.1836 25718Problem: Buffer-local window options may not be recent if the buffer is 25719 still open in another window. 25720Solution: Copy the options from the window instead of the outdated window 25721 options. (Bjorn Linse, closes #2336) 25722Files: src/buffer.c, src/testdir/test_options.vim 25723 25724Patch 8.0.1837 25725Problem: One character cmdline abbreviation not triggered after '<,'>. 25726Solution: Skip over the special range. (Christian Brabandt, closes #2320) 25727Files: src/ex_getln.c, src/testdir/test_mapping.vim 25728 25729Patch 8.0.1838 25730Problem: Cursor in wrong position when switching to Terminal-Normal mode. 25731 (Dominique Pelle) 25732Solution: Move to the end of the line if coladvance() fails. Do not take a 25733 snapshot a second time. 25734Files: src/terminal.c 25735 25736Patch 8.0.1839 25737Problem: Script to check .po file doesn't check for plural header. 25738Solution: Add a check that the plural header is present when needed. 25739Files: src/po/check.vim 25740 25741Patch 8.0.1840 25742Problem: getwinpos() is not tested. 25743Solution: Add a test. (Dominique Pelle, closes #2911) 25744Files: src/testdir/test_gui.vim 25745 25746Patch 8.0.1841 25747Problem: HP-UX does not have setenv(). 25748Solution: Use vim_setenv(). (John Marriott) 25749Files: src/misc1.c 25750 25751Patch 8.0.1842 25752Problem: Popup menu inside terminal window isn't cleared. 25753Solution: Use NOT_VALID in pum_undisplay(). (suggested by Christian 25754 Brabandt, closes #2908) 25755Files: src/popupmnu.c 25756 25757Patch 8.0.1843 25758Problem: Entry for 'wrap' in options window is wrong. (John Little) 25759Solution: Make the change apply locally. 25760Files: runtime/optwin.vim 25761 25762Patch 8.0.1844 25763Problem: Superfluous quickfix code, missing examples. 25764Solution: Remove unneeded code. Add a few examples. Add a bit more 25765 testing. (Yegappan Lakshmanan, closes #2916) 25766Files: runtime/doc/quickfix.txt, src/quickfix.c, 25767 src/testdir/test_quickfix.vim 25768 25769Patch 8.0.1845 25770Problem: Various comment updates needed, missing white space. 25771Solution: Update comments, add white space. 25772Files: src/getchar.c, src/testdir/test_cscope.vim, src/gui_mac.c 25773 25774Patch 8.0.1846 25775Problem: Python interface is incompatible with lldb. 25776Solution: For OutputType set the base to be PyFile_Type. (Boxu Zhang) 25777 Partly disabled to avoid a crash. 25778Files: src/if_py_both.h, src/if_python.c, src/if_python3.c 25779 25780Patch 8.0.1847 25781Problem: Some build options don't have an example. 25782Solution: Add a couple more examples and compiler flags. 25783Files: src/Makefile 25784 25785Patch 8.0.1848 25786Problem: 'termwinscroll' does not work properly. (Dominique Pelle) 25787Solution: Subtract removed scrollback from the scrollback count. Add a test 25788 for 'termwinscroll'. (closes #2909) 25789Files: src/terminal.c, src/testdir/test_terminal.vim 25790 25791Patch 8.0.1849 25792Problem: Compiler warning for unused arguments and missing prototype. 25793Solution: Add UNUSED. Add static. 25794Files: src/mbyte.c, src/if_ruby.c 25795 25796Patch 8.0.1850 25797Problem: Todo items in source code not visible for users. 25798Solution: Move the todo items to the help file. 25799Files: src/terminal.c 25800 25801 25802============================================================================== 25803VERSION 8.2 *version-8.2* *version8.2* *vim-8.2* 25804 25805This section is about improvements made between version 8.1 and 8.2. 25806 25807This release has hundreds of bug fixes, there are several new features and 25808there are many minor improvements. 25809 25810 25811Popup windows *new-popup-window* 25812------------- 25813 25814Popup windows can be used to display text on top of other windows. This can 25815be for a simple message such as "Build finished successfully", showing a 25816function prototype while editing a function call, a flexible popup menu and 25817many other purposes. See |popup-window|. 25818 25819Popup windows are very flexible: they can be positioned relative to text, an 25820absolute position or just in the middle of the screen. The size can be fixed 25821or adjusts to fit the text. A "zindex" value specifies what popup window goes 25822on top of others. 25823 25824The new 'wincolor' option allows for setting the color for the whole popup 25825window. This also works for normal windows. 25826 25827 25828Text properties *new-text-properties* 25829--------------- 25830 25831Text properties give a plugin author flexibility about what to highlight. 25832This can be used with an external asynchronous parser to do syntax 25833highlighting. Or to highlight text in a popup window. The text properties 25834stick with the text when characters are deleted or inserted, which makes them 25835also useful as text markers. See |text-properties|. 25836 25837The listener functions have been added to report text changes to a server so 25838that it can dynamically update highlighting, mark syntax errors and the like. 25839See |listener_add()|. 25840 25841 25842Vim script improvements *new-vimscript-8.2* 25843----------------------- 25844 25845Functions can now be called in a chain, using "->": > 25846 mylist->filter(filterexpr)->map(mapexpr)->sort()->join() 25847The new `:eval` command can be used if the chain has no result. 25848 25849Function arguments can be made optional by giving them a default value 25850|optional-function-argument|: > 25851 function Something(key, value = 10) 25852 25853The `:scriptversion` command was added to allow for changes that are not 25854backwards compatible. E.g. to only use ".." for string concatenation, so that 25855"." can be used to access a dictionary member consistently. 25856 25857`:const` was added to allow for declaring a variable that cannot change: > 25858 const TIMER_DELAY = 400 25859 25860A heredoc-style assignment was added to easily assign a list of lines to a 25861variable without quoting or line continuation: > 25862 let lines =<< trim END 25863 line one 25864 line two 25865 END 25866 25867The |Blob| type was added. This makes it easy to deal with binary data. 25868 25869The /= and %= assignment operators were added. 25870 25871A Dictionary can be defined with literal keys using #{}. This avoids having 25872to use a lot of quotes: > 25873 let options = #{width: 30, height: 24} 25874 25875 25876Other improvements *new-other-8.2* 25877------------------ 25878 25879- When 'incsearch' is set it also applies to `:substitute`. 25880- |modifyOtherKeys| was added to allow mapping more key combinations. 25881- ConPTY support was added for Windows 10, supports full color in the terminal. 25882- The MS-Windows installer supports translations, silent install and looks 25883 much better. 25884 25885 25886Changed *changed-8.2* 25887------- 25888 25889The xdiff library was included to avoid the need for an external diff program 25890and to make updating diffs much faster. 25891 25892The code is using a few more modern C features, such as // comments. 25893 25894Support for old compilers has been dropped: Borland C++, MSVC 2008. 25895 25896Hangul input support was removed, it actually didn't work anymore. 25897 25898Makefiles for old Amiga compilers were removed: Dice, Manx and SAS. 25899 25900If a swap file is found without any changes it is automatically deleted. 25901 25902The FEAT_TAG_OLDSTATIC code was removed, it slowed down tag searches. 25903The FEAT_TAG_ANYWHITE code was removed, it was not enabled in any build. 25904The UNICODE16 code was removed, it was not useful. 25905Workshop support was removed, nobody was using it. 25906The Aap build files were removed, they were outdated. 25907Farsi support was removed, it was outdated and unused. 25908 25909VIMDLL was re-implemented, this shares the common parts between vim and gvim 25910to reduce the total install size. 25911 25912The following features are now included in all versions: |+multi_byte|, 25913|+virtualedit|, |+vreplace|, |+localmap|, |+cmdline_hist|, |+cmdline_compl|, 25914|+insert_expand|, |+modify_fname|, |+comments| 25915 25916 25917Added *added-8.2* 25918----- 25919 25920Added functions: 25921 All the popup_ functions. 25922 All the prop_ functions. 25923 All the sign_ functions. 25924 All the sound_ functions. 25925 25926 |appendbufline()| 25927 |balloon_gettext()| 25928 |bufadd()| 25929 |bufload()| 25930 |ch_readblob()| 25931 |chdir()| 25932 |debugbreak()| 25933 |deletebufline()| 25934 |environ()| 25935 |expandcmd()| 25936 |getenv()| 25937 |getimstatus()| 25938 |getmousepos()| 25939 |gettagstack()| 25940 |interrupt()| 25941 |isinf()| 25942 |list2str()| 25943 |listener_add()| 25944 |listener_flush()| 25945 |listener_remove()| 25946 |prompt_setcallback()| 25947 |prompt_setinterrupt()| 25948 |prompt_setprompt()| 25949 |pum_getpos()| 25950 |rand()| 25951 |readdir()| 25952 |reg_executing()| 25953 |reg_recording()| 25954 |rubyeval()| 25955 |screenchars()| 25956 |screenpos()| 25957 |screenstring()| 25958 |setenv()| 25959 |settagstack()| 25960 |srand()| 25961 |state()| 25962 |str2list()| 25963 |strptime()| 25964 |swapinfo()| 25965 |swapname()| 25966 |term_setapi()| 25967 |test_getvalue()| 25968 |test_null_blob()| 25969 |test_refcount()| 25970 |test_scrollbar()| 25971 |test_setmouse()| 25972 |win_execute()| 25973 |win_splitmove()| 25974 |winlayout()| 25975 25976Added autocommands: 25977 |CompleteChanged| 25978 |DiffUpdated| 25979 |SafeState| 25980 |SafeStateAgain| 25981 |SourcePost| 25982 |TerminalWinOpen| 25983 25984Added commands: 25985 Jumping to errors relative to the cursor position: 25986 `:cabove` 25987 `:cafter` 25988 `:cbefore` 25989 `:cbelow` 25990 `:labove` 25991 `:lbefore` 25992 `:lbelow` 25993 `:lafter` 25994 Tab-local directory: 25995 `:tcd` 25996 `:tchdir` 25997 Others: 25998 `:const` 25999 `:eval` 26000 `:redrawtabline` 26001 `:scriptversion` 26002 `:spellrare` 26003 `:tlmenu` 26004 `:tlnoremenu` 26005 `:tlunmenu` 26006 `:xrestore` 26007 26008Added options: 26009 'completepopup' 26010 'completeslash' 26011 'cursorlineopt' 26012 'modelineexpr' 26013 'previewpopup' 26014 'scrollfocus' 26015 'tagfunc' 26016 'termwintype' 26017 'varsofttabstop' 26018 'vartabstop' 26019 'wincolor' 26020 26021 26022Patches *patches-8.2* 26023------- 26024 26025These patches were applied after the 8.1 release and are included in the 8.2 26026release. 26027 26028Patch 8.1.0001 26029Problem: The netrw plugin does not work. 26030Solution: Make it accept version 8.x. 26031Files: runtime/autoload/netrw.vim 26032 26033Patch 8.1.0002 26034Problem: :stopinsert changes the message position. 26035Solution: Save and restore msg_col and msg_row in clearmode(). (Jason 26036 Franklin) 26037Files: src/screen.c, src/testdir/test_messages.vim 26038 26039Patch 8.1.0003 26040Problem: The :compiler command is not tested. 26041Solution: Add a test. (Dominique Pelle, closes #2930) 26042Files: src/Makefile, src/testdir/test_alot.vim, 26043 src/testdir/test_compiler.vim 26044 26045Patch 8.1.0004 26046Problem: Test for :compiler command sometimes fails. 26047Solution: Be less strict about the error message. (Dominique Pelle) 26048Files: src/testdir/test_compiler.vim 26049 26050Patch 8.1.0005 26051Problem: Test for :compiler command fails on MS-Windows. 26052Solution: Ignore difference in path. 26053Files: src/testdir/test_compiler.vim 26054 26055Patch 8.1.0006 26056Problem: syn_id2cterm_bg() may be undefined. (Axel Bender) 26057Solution: Adjust #ifdef. 26058Files: src/syntax.c 26059 26060Patch 8.1.0007 26061Problem: No test for "o" and "O" in Visual block mode. 26062Solution: Add a test. (Dominique Pelle, closes #2932) 26063Files: src/testdir/test_visual.vim 26064 26065Patch 8.1.0008 26066Problem: No test for strwidth(). 26067Solution: Add a test. (Dominique Pelle, closes #2931) 26068Files: src/testdir/test_functions.vim 26069 26070Patch 8.1.0009 26071Problem: Tabpages insufficiently tested. 26072Solution: Add more test coverage. (Dominique Pelle, closes #2934) 26073Files: src/testdir/test_tabpage.vim 26074 26075Patch 8.1.0010 26076Problem: efm_to_regpat() is too long. 26077Solution: Split off three functions. (Yegappan Lakshmanan, closes #2924) 26078Files: src/quickfix.c 26079 26080Patch 8.1.0011 26081Problem: maparg() and mapcheck() confuse empty and non-existing. 26082Solution: Return <Nop> for an existing non-empty mapping. (closes #2940) 26083Files: src/evalfunc.c, src/testdir/test_maparg.vim 26084 26085Patch 8.1.0012 26086Problem: Misplaced #endif. 26087Solution: Move the #endif to after the expression. (David Binderman) 26088Files: src/fileio.c 26089 26090Patch 8.1.0013 26091Problem: Using freed memory when changing terminal cursor color. 26092Solution: Make a copy of the color. (Dominique Pelle, closes #2938, 26093 closes #2941) 26094Files: src/terminal.c 26095 26096Patch 8.1.0014 26097Problem: qf_init_ext() is too long. 26098Solution: Split it into multiple functions. (Yegappan Lakshmanan, 26099 closes #2939) 26100Files: src/quickfix.c 26101 26102Patch 8.1.0015 26103Problem: Cursor color wrong when closing a terminal window, ending up in 26104 another terminal window. (Dominique Pelle) 26105Solution: Bail out of terminal_loop() when the buffer changes. 26106 (closes #2942) 26107Files: src/terminal.c 26108 26109Patch 8.1.0016 26110Problem: Possible crash in term_wait(). (Dominique Pelle) 26111Solution: Check for a valid buffer after ui_delay(). (closes #2944) 26112Files: src/terminal.c 26113 26114Patch 8.1.0017 26115Problem: Shell command completion has duplicates. (Yegappan Lakshmanan) 26116Solution: Use a hash table to avoid duplicates. (Ozaki Kiichi, closes #539, 26117 closes #2733) 26118Files: src/ex_getln.c, src/testdir/test_cmdline.vim 26119 26120Patch 8.1.0018 26121Problem: Using "gn" may select wrong text when wrapping. 26122Solution: Avoid wrapping when searching forward. (Christian Brabandt) 26123Files: src/search.c, src/testdir/test_gn.vim 26124 26125Patch 8.1.0019 26126Problem: Error when defining a Lambda with index of a function result. 26127Solution: When not evaluating an expression and skipping a function call, 26128 set the return value to VAR_UNKNOWN. 26129Files: src/userfunc.c, src/testdir/test_lambda.vim 26130 26131Patch 8.1.0020 26132Problem: Cannot tell whether a register is being used for executing or 26133 recording. 26134Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi, 26135 closes #2745) Rename the global variables for consistency. Store 26136 the register name in reg_executing. 26137Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 26138 src/testdir/test_functions.vim, src/getchar.c, src/normal.c, 26139 src/ops.c, src/globals.h, src/edit.c, src/fileio.c, src/message.c, 26140 src/screen.c 26141 26142Patch 8.1.0021 26143Problem: Clang warns for undefined behavior. 26144Solution: Move #ifdef outside of sprintf() call. (suggestion by Michael 26145 Jarvis, closes #2946) 26146Files: src/term.c 26147 26148Patch 8.1.0022 26149Problem: Repeating put from expression register fails. 26150Solution: Re-evaluate the expression register. (Andy Massimino, 26151 closes #2945) 26152Files: src/getchar.c, src/testdir/test_put.vim 26153 26154Patch 8.1.0023 26155Problem: gcc 8.1 warns for use of strncpy(). (John Marriott) 26156Solution: Use mch_memmove() instead of STRNCPY(). 26157Files: src/memline.c 26158 26159Patch 8.1.0024 26160Problem: % command not tested on #ifdef and comment. 26161Solution: Add tests. (Dominique Pelle, closes #2956) 26162Files: src/testdir/test_goto.vim 26163 26164Patch 8.1.0025 26165Problem: No test for the undofile() function. 26166Solution: Add test. (Dominique Pelle, closes #2958) 26167Files: src/testdir/test_undo.vim 26168 26169Patch 8.1.0026 26170Problem: Terminal test fails with very tall terminal. (Tom) 26171Solution: Fix the terminal window size in the test. 26172Files: src/testdir/test_terminal.vim 26173 26174Patch 8.1.0027 26175Problem: Difficult to make a plugin that feeds a line to a job. 26176Solution: Add the initial code for the "prompt" buftype. 26177Files: runtime/doc/channel.txt, runtime/doc/eval.txt, 26178 runtime/doc/options.txt, runtime/doc/tags, runtime/doc/todo.txt, 26179 src/Makefile, src/buffer.c, src/channel.c, src/diff.c, src/edit.c, 26180 src/evalfunc.c, src/normal.c, src/ops.c, src/option.c, 26181 src/proto/buffer.pro, src/proto/channel.pro, src/proto/edit.pro, 26182 src/proto/ops.pro, src/structs.h, src/testdir/Make_all.mak, 26183 src/testdir/screendump.vim, src/testdir/test_prompt_buffer.vim 26184 26185Patch 8.1.0028 (after 8.1.0027) 26186Problem: Prompt buffer test fails on MS-Windows. 26187Solution: Disable the test for now. Remove stray assert. 26188Files: src/testdir/test_prompt_buffer.vim 26189 26190Patch 8.1.0029 26191Problem: Terminal test fails on MS-Windows when "wc" exists. 26192Solution: Skip test with redirection on MS-Windows. 26193Files: src/testdir/test_terminal.vim 26194 26195Patch 8.1.0030 26196Problem: Stopping Vim running in a terminal may not work. 26197Solution: Instead of sending <Esc> send CTRL-O. 26198Files: src/testdir/screendump.vim, src/testdir/test_prompt_buffer.vim 26199 26200Patch 8.1.0031 26201Problem: Terminal test aucmd_on_close is flaky. 26202Solution: Wait a bit longer. 26203Files: src/testdir/test_terminal.vim 26204 26205Patch 8.1.0032 26206Problem: BS in prompt buffer starts new line. 26207Solution: Do not allow BS over the prompt. Make term_sendkeys() handle 26208 special keys. Add a test. 26209Files: src/option.c, src/terminal.c, src/testdir/test_prompt_buffer.vim 26210 26211Patch 8.1.0033 26212Problem: Keys to stop Vim in terminal are wrong. (Marius Gedminas) 26213Solution: Move ":" to before CTRL-U. 26214Files: src/testdir/screendump.vim 26215 26216Patch 8.1.0034 26217Problem: Cursor not restored with ":edit #". 26218Solution: Don't assume autocommands moved the cursor when it was moved to 26219 the first non-blank. 26220Files: src/ex_cmds.c, src/testdir/test_edit.vim 26221 26222Patch 8.1.0035 26223Problem: Not easy to switch between prompt buffer and other windows. 26224Solution: Accept CTRL-W commands in Insert mode. Start and stop Insert mode 26225 as one would expect. 26226Files: src/edit.c, src/ex_docmd.c, src/structs.h, src/window.c 26227 26228Patch 8.1.0036 26229Problem: Not restoring Insert mode if leaving a prompt buffer by using a 26230 mouse click. 26231Solution: Set b_prompt_insert appropriately. Also correct cursor position 26232 when moving cursor to last line. 26233Files: src/buffer.c, src/edit.c, src/window.c 26234 26235Patch 8.1.0037 26236Problem: Cannot easily append lines to another buffer. 26237Solution: Add appendbufline(). 26238Files: runtime/doc/eval.txt, src/evalfunc.c, 26239 src/testdir/test_bufline.vim, src/testdir/test_edit.vim 26240 26241Patch 8.1.0038 26242Problem: Popup test causes Vim to exit. 26243Solution: Disable the broken part of the test for now. 26244Files: src/testdir/test_popup.vim 26245 26246Patch 8.1.0039 26247Problem: Cannot easily delete lines in another buffer. 26248Solution: Add deletebufline(). 26249Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_bufline.vim 26250 26251Patch 8.1.0040 26252Problem: Warnings from 64-bit compiler. 26253Solution: Add type casts. (Mike Williams) 26254Files: src/edit.c 26255 26256Patch 8.1.0041 26257Problem: Attribute "width" missing from python window attribute list. 26258Solution: Add the item. (Ken Takata) Order the list like the items are used 26259 in the WindowAttr() function. 26260Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok 26261 26262Patch 8.1.0042 26263Problem: If omni completion opens a window Insert mode is stopped. 26264 (Hirohito Higashi) 26265Solution: Only set stop_insert_mode in a prompt buffer window. 26266Files: src/window.c 26267 26268Patch 8.1.0043 26269Problem: ++bad argument of :edit does not work properly. 26270Solution: Return FAIL from get_bad_opt() only when there is no valid 26271 argument. (Dominique Pelle, Christian Brabandt, closes #2966, 26272 closes #2947) 26273Files: src/ex_docmd.c, src/testdir/test_plus_arg_edit.vim 26274 26275Patch 8.1.0044 26276Problem: If a test function exits Vim this may go unnoticed. 26277Solution: Check for a test function quitting Vim. Fix tests that did exit 26278 Vim. 26279Files: src/testdir/runtest.vim, src/testdir/test_assert.vim 26280 26281Patch 8.1.0045 (after 8.1.0038) 26282Problem: Popup test isn't run completely. 26283Solution: Remove "finish". Clean up function definitions. 26284Files: src/testdir/test_popup.vim 26285 26286Patch 8.1.0046 26287Problem: Loading a session file fails if 'winheight' is a big number. 26288Solution: Set 'minwinheight' to zero at first. Don't give an error when 26289 setting 'minwinheight' while 'winheight' is a big number. 26290 Fix using vertical splits. Fix setting 'minwinwidth'. 26291 (closes #2970) 26292Files: src/testdir/test_mksession.vim, src/option.c, src/window.c, 26293 src/proto/window.pro 26294 26295Patch 8.1.0047 26296Problem: No completion for :unlet $VAR. 26297Solution: Add completion. (Jason Franklin) 26298Files: src/ex_docmd.c, src/testdir/test_unlet.vim 26299 26300Patch 8.1.0048 26301Problem: vim_str2nr() does not handle numbers close to the maximum. 26302Solution: Check for overflow more precisely. (Ken Takata, closes #2746) 26303Files: src/charset.c 26304 26305Patch 8.1.0049 26306Problem: Shell cannot tell running in a terminal window. 26307Solution: Add the VIM_TERMINAL environment variable. (Christian Brabandt) 26308Files: runtime/doc/terminal.txt, src/os_unix.c, src/os_win32.c, 26309 src/testdir/test_terminal.vim 26310 26311Patch 8.1.0050 (after 8.1.0049) 26312Problem: $VIM_TERMINAL is also set when not in a terminal window. 26313Solution: Pass a flag to indicate whether the job runs in a terminal. 26314Files: src/channel.c, src/proto/channel.pro, src/evalfunc.c, 26315 src/terminal.c, src/os_unix.c, src/proto/os_unix.pro, 26316 src/os_win32.c 26317 26318Patch 8.1.0051 (after 8.1.0050) 26319Problem: MS-Windows: missing #endif. 26320Solution: Add the #endif. 26321Files: src/os_win32.c 26322 26323Patch 8.1.0052 26324Problem: When a mapping to <Nop> times out the next mapping is skipped. 26325Solution: Reset "timedout" when waiting for a character. (Christian 26326 Brabandt, closes #2921) 26327Files: src/getchar.c 26328 26329Patch 8.1.0053 26330Problem: The first argument given to 'completefunc' can be Number or 26331 String, depending on the value. 26332Solution: Avoid guessing the type of an argument, use typval_T in the 26333 callers of call_vim_function(). (Ozaki Kiichi, closes #2993) 26334Files: src/edit.c, src/eval.c, src/ex_getln.c, src/mbyte.c, src/normal.c, 26335 src/proto/eval.pro, src/testdir/test_ins_complete.vim 26336 26337Patch 8.1.0054 26338Problem: Compiler warning for using %ld for "long long". 26339Solution: Add a type cast. (closes #3002) 26340Files: src/os_unix.c 26341 26342Patch 8.1.0055 (after 8.1.0053) 26343Problem: Complete test has wrong order of arguments. Wrong type for 26344 sentinel variable. 26345Solution: Swap arguments, use VAR_UNKNOWN. (Ozaki Kiichi) 26346Files: src/mbyte.c, src/testdir/test_ins_complete.vim 26347 26348Patch 8.1.0056 26349Problem: Crash when using :hardcopy with illegal byte. 26350Solution: Check for string_convert() returning NULL. (Dominique Pelle) 26351Files: src/hardcopy.c, src/testdir/test_hardcopy.vim 26352 26353Patch 8.1.0057 26354Problem: Popup menu displayed wrong when using autocmd. 26355Solution: Use aucmd_prepbuf(). Force updating status line if the popup menu 26356 is going to be redrawn anyway. (Christian Brabandt, closes #3009) 26357Files: src/edit.c, src/screen.c, src/proto/screen.pro 26358 26359Patch 8.1.0058 26360Problem: Display problem with margins and scrolling. 26361Solution: Place the cursor in the right column. (Kouichi Iwamoto, 26362 closes #3016) 26363Files: src/screen.c 26364 26365Patch 8.1.0059 26366Problem: Displayed digraph for "ga" wrong with 'encoding' "cp1251". 26367Solution: Convert from 'encoding' to "utf-8" if needed. (closes #3015) 26368Files: src/digraph.c, src/testdir/test_digraph.vim 26369 26370Patch 8.1.0060 26371Problem: Crash when autocommands delete the current buffer. (Dominique 26372 Pelle) 26373Solution: Check that autocommands don't change the buffer. 26374Files: src/quickfix.c, src/testdir/test_quickfix.vim 26375 26376Patch 8.1.0061 26377Problem: Window title is wrong after resetting and setting 'title'. 26378Solution: Move resetting the title into maketitle(). (Jason Franklin) 26379Files: src/option.c, src/buffer.c 26380 26381Patch 8.1.0062 26382Problem: Popup menu broken if a callback changes the window layout. (Qiming 26383 Zhao) 26384Solution: Recompute the popup menu position if needed. Redraw the ruler 26385 even when the popup menu is displayed. 26386Files: src/popupmnu.c, src/proto/popupmnu.pro, src/screen.c 26387 26388Patch 8.1.0063 26389Problem: Mac: NSStringPboardType is deprecated. 26390Solution: Use NSPasteboardTypeString. (Akshay Hegde, closes #3022) 26391Files: src/os_macosx.m 26392 26393Patch 8.1.0064 26394Problem: Typing CTRL-W in a prompt buffer shows mode "-- --". 26395Solution: Set restart_edit to 'A' and check for it. 26396Files: src/edit.c, src/window.c, src/screen.c 26397 26398Patch 8.1.0065 (after 8.1.0062) 26399Problem: Balloon displayed at the wrong position. 26400Solution: Do not reposition the popup menu at the cursor position. 26401Files: src/popupmnu.c 26402 26403Patch 8.1.0066 26404Problem: Nasty autocommand causes using freed memory. (Dominique Pelle) 26405Solution: Do not force executing autocommands if the value of 'syntax' or 26406 'filetype' did not change. 26407Files: src/option.c 26408 26409Patch 8.1.0067 26410Problem: Syntax highlighting not working when re-entering a buffer. 26411Solution: Do force executing autocommands when not called recursively. 26412Files: src/option.c 26413 26414Patch 8.1.0068 26415Problem: Nasty autocommands can still cause using freed memory. 26416Solution: Disallow using setloclist() and setqflist() recursively. 26417Files: src/evalfunc.c 26418 26419Patch 8.1.0069 26420Problem: Cannot handle pressing CTRL-C in a prompt buffer. 26421Solution: Add prompt_setinterrupt(). 26422Files: runtime/doc/eval.txt, src/edit.c, src/evalfunc.c, src/channel.c, 26423 src/proto/channel.pro 26424 26425Patch 8.1.0070 26426Problem: Missing part of the changes for prompt_setinterrupt(). 26427Solution: Add the missing changes. 26428Files: src/structs.h 26429 26430Patch 8.1.0071 26431Problem: Terminal debugger only works with the terminal feature. 26432Solution: Make it also work with a prompt buffer. Makes it possible to use 26433 on MS-Windows. Various other improvements. (closes #3012) 26434Files: runtime/doc/terminal.txt, 26435 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 26436 26437Patch 8.1.0072 26438Problem: Use of 'termwinkey' is inconsistent. 26439Solution: Change the documentation and the behavior. (Ken Takata) 26440Files: src/terminal.c, runtime/doc/terminal.txt 26441 26442Patch 8.1.0073 26443Problem: Crash when autocommands call setloclist(). (Dominique Pelle) 26444Solution: If the quickfix list changes then don't jump to the error. 26445Files: src/quickfix.c, src/testdir/test_quickfix.vim 26446 26447Patch 8.1.0074 (after 8.1.0073) 26448Problem: Crash when running quickfix tests. 26449Solution: Do not alloc a new location list when checking for the reference 26450 to be still valid. 26451Files: src/quickfix.c 26452 26453Patch 8.1.0075 26454Problem: No Vim logo in README file. 26455Solution: Add one. (Árni Dagur, closes #3024) 26456Files: README.md 26457 26458Patch 8.1.0076 26459Problem: Command getting cleared with CTRL-W : in a terminal window. (Jason 26460 Franklin) 26461Solution: Call redraw_after_callback() when editing the command line. 26462Files: src/terminal.c 26463 26464Patch 8.1.0077 26465Problem: Header of README file is not nice. 26466Solution: Move text to the bottom. 26467Files: README.md 26468 26469Patch 8.1.0078 26470Problem: "..." used inconsistently in messages. 26471Solution: Drop the space before " ...". 26472Files: src/spellfile.c, src/regexp_nfa.c 26473 26474Patch 8.1.0079 26475Problem: Superfluous space in messages. 26476Solution: Remove the spaces. (closes #3030) 26477Files: src/gui_w32.c 26478 26479Patch 8.1.0080 26480Problem: Can't see the breakpoint number in the terminal debugger. 26481Solution: Use the breakpoint number for the sign. (Christian Brabandt) 26482Files: runtime/doc/terminal.txt, 26483 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 26484 26485Patch 8.1.0081 26486Problem: The terminal debugger doesn't adjust to changed 'background'. 26487Solution: Add an OptionSet autocommand. (Christian Brabandt) 26488Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 26489 26490Patch 8.1.0082 26491Problem: In terminal window, typing : at more prompt, inserts ':' instead 26492 of starting another Ex command. 26493Solution: Add skip_term_loop and set it when putting ':' in the typeahead 26494 buffer. 26495Files: src/globals.h, src/main.c, src/message.c 26496 26497Patch 8.1.0083 26498Problem: "is" and "as" have trouble with quoted punctuation. 26499Solution: Check for punctuation before a quote. (Jason Franklin) 26500Files: src/search.c, src/testdir/test_textobjects.vim 26501 26502Patch 8.1.0084 26503Problem: User name completion does not work on MS-Windows. 26504Solution: Use NetUserEnum() to get user names. (Yasuhiro Matsumoto) 26505Files: src/Make_ivc.mak, src/Make_cyg_ming.mak, src/Make_mvc.mak, 26506 src/misc1.c 26507 26508Patch 8.1.0085 26509Problem: No test for completing user name and language. 26510Solution: Add tests. (Dominique Pelle, closes #2978) 26511Files: src/testdir/test_cmdline.vim 26512 26513Patch 8.1.0086 26514Problem: No tests for libcall() and libcallnr(). 26515Solution: Add tests. (Dominique Pelle, closes #2982) 26516Files: src/testdir/test_functions.vim 26517 26518Patch 8.1.0087 26519Problem: v:shell_error is always zero when using terminal for "!cmd". 26520Solution: Use "exitval" of terminal-job. (Ozaki Kiichi, closes #2994) 26521Files: src/os_unix.c, src/os_win32.c, src/proto/terminal.pro, 26522 src/terminal.c, src/testdir/test_terminal.vim 26523 26524Patch 8.1.0088 26525Problem: Terminal test for stdout and stderr is a bit flaky. 26526Solution: Wait for both stdout and stderr to have been processed. (Ozaki 26527 Kiichi, closes #2991) 26528Files: src/testdir/test_terminal.vim 26529 26530Patch 8.1.0089 26531Problem: error when ending the terminal debugger 26532Solution: Fix deleting defined signs for breakpoints. Make the debugger 26533 work better on MS-Windows. 26534Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 26535 26536Patch 8.1.0090 26537Problem: "..." used inconsistently in a message. 26538Solution: Define the message with " ..." once. (hint by Ken Takata) 26539Files: src/regexp_nfa.c 26540 26541Patch 8.1.0091 26542Problem: MS-Windows: Cannot interrupt gdb when program is running. 26543Solution: Add debugbreak() and use it in the terminal debugger. 26544 Respect 'modified' in a prompt buffer. 26545Files: src/evalfunc.c, runtime/doc/eval.txt, src/undo.c, 26546 runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 26547 26548Patch 8.1.0092 (after 8.1.0091) 26549Problem: Prompt buffer test fails. 26550Solution: Set 'nomodified' before closing the window. (Ozaki Kiichi, 26551 closes #3051) 26552Files: src/testdir/test_prompt_buffer.vim 26553 26554Patch 8.1.0093 26555Problem: non-MS-Windows: Cannot interrupt gdb when program is running. 26556Solution: Only use debugbreak() on MS-Windows. 26557Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 26558 26559Patch 8.1.0094 26560Problem: Help text "usage:" is not capitalized. 26561Solution: Make it "Usage:". (closes #3044) 26562Files: src/main.c 26563 26564Patch 8.1.0095 26565Problem: Dialog for ":browse tabnew" says "new window". 26566Solution: Use "new tab page". (closes #3053) 26567Files: src/ex_docmd.c 26568 26569Patch 8.1.0096 26570Problem: Inconsistent use of the word autocommands. 26571Solution: Don't use auto-commands or "auto commands". 26572Files: src/fileio.c 26573 26574Patch 8.1.0097 26575Problem: Superfluous space before exclamation mark. 26576Solution: Remove the space. Don't translate debug message. 26577Files: src/regexp_nfa.c 26578 26579Patch 8.1.0098 26580Problem: Segfault when pattern with \z() is very slow. 26581Solution: Check for NULL regprog. Add "nfa_fail" to test_override() to be 26582 able to test this. Fix that 'searchhl' resets called_emsg. 26583Files: src/syntax.c, runtime/doc/eval.txt, src/evalfunc.c, src/vim.h, 26584 src/testdir/test_syntax.vim, src/globals.h, src/screen.c, 26585 src/regexp.c, src/regexp_nfa.c 26586 26587Patch 8.1.0099 26588Problem: Exclamation mark in error message not needed. 26589Solution: Remove the exclamation mark. 26590Files: src/regexp_nfa.c 26591 26592Patch 8.1.0100 26593Problem: Terminal debugger: error when setting a watch point. 26594Solution: Don't try defining a sign for a watch point. 26595Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 26596 26597Patch 8.1.0101 26598Problem: No test for getcmdwintype(). 26599Solution: Add a test. (Dominique Pelle, closes #3068) 26600Files: src/testdir/test_cmdline.vim 26601 26602Patch 8.1.0102 26603Problem: Cannot build without syntax highlighting. 26604Solution: Add #ifdef around using reg_do_extmatch. 26605Files: src/regexp.c 26606 26607Patch 8.1.0103 26608Problem: Long version string cannot be translated. 26609Solution: Build the string in init_longVersion(). 26610Files: src/globals.h, src/version.h, src/version.c, 26611 src/proto/version.pro, src/main.c 26612 26613Patch 8.1.0104 26614Problem: Can't build without the +eval feature. 26615Solution: Add #ifdef. 26616Files: src/regexp_nfa.c 26617 26618Patch 8.1.0105 26619Problem: All tab stops are the same. 26620Solution: Add the variable tabstop feature. (Christian Brabandt, 26621 closes #2711) 26622Files: runtime/doc/change.txt, runtime/doc/options.txt, 26623 runtime/doc/various.txt, runtime/optwin.vim, src/beval.c, 26624 src/beval.h, src/buffer.c, src/charset.c, src/edit.c, 26625 src/evalfunc.c, src/ex_cmds.c, src/feature.h, src/gui_beval.c, 26626 src/gui_w32.c, src/hardcopy.c, src/message.c, src/misc1.c, 26627 src/ops.c, src/option.c, src/option.h, src/proto/misc1.pro, 26628 src/proto/option.pro, src/screen.c, src/structs.h, 26629 src/testdir/Make_all.mak, src/testdir/gen_opt_test.vim, 26630 src/testdir/test_breakindent.vim, src/testdir/test_vartabs.vim, 26631 src/version.c, src/workshop.c, src/Makefile 26632 26633Patch 8.1.0106 (after 8.1.0103) 26634Problem: Build fails when HAVE_DATE_TIME is undefined. 26635Solution: Always define init_longVersion(). (Christian Brabandt, 26636 closes #3075) 26637Files: src/version.c 26638 26639Patch 8.1.0107 26640Problem: Python: getting buffer option clears message. (Jacob Niehus) 26641Solution: Don't use aucmd_prepbuf(). (closes #3079) 26642Files: src/option.c 26643 26644Patch 8.1.0108 26645Problem: No Danish translations. 26646Solution: Add Danish message translations. (closes #3073) Move list of 26647 languages to a common makefile. 26648Files: src/po/Makefile, src/po/Make_cyg.mak, src/po/Make_mvc.mak, 26649 src/po/Make_ming.mak, src/po/Make_all.mak, src/po/da.po 26650 26651Patch 8.1.0109 26652Problem: New po makefile missing from distribution. 26653Solution: Add it to the file list. 26654Files: Filelist 26655 26656Patch 8.1.0110 26657Problem: File name not displayed with ":file" when 'F' is in 'shortmess'. 26658Solution: Always display the file name when there is no argument (Christian 26659 Brabandt, closes #3070) 26660Files: src/ex_cmds.c, src/testdir/test_options.vim 26661 26662Patch 8.1.0111 26663Problem: .po files do not use recommended names. 26664Solution: Give a warning if the recommended name is not used. Accept the 26665 recommended name for conversion. (Christian Brabandt, Ken Takata) 26666Files: src/po/Makefile, src/po/sjiscorr.c, src/po/check.vim 26667 26668Patch 8.1.0112 26669Problem: No error when using bad arguments with searchpair(). 26670Solution: Add error messages. 26671Files: src/evalfunc.c, src/testdir/test_search.vim 26672 26673Patch 8.1.0113 26674Problem: Compiler warning for unused variable. (Yegappan Lakshmanan) 26675Solution: Add UNUSED. (Christian Brabandt) 26676Files: src/screen.c 26677 26678Patch 8.1.0114 26679Problem: Confusing variable name. 26680Solution: Rename new_ts to new_vts_array. Change zero to NULL. 26681Files: src/ex_cmds.c, src/option.c 26682 26683Patch 8.1.0115 26684Problem: The matchparen plugin may throw an error. 26685Solution: Change the skip argument from zero to "0". 26686Files: runtime/plugin/matchparen.vim 26687 26688Patch 8.1.0116 26689Problem: Display problem with 'vartabstop' and 'linebreak'. (Chauca 26690 Fuentes) 26691Solution: Call tabstop_padding(). (Christian Brabandt, closes #3076) 26692Files: src/screen.c, src/testdir/test_vartabs.vim 26693 26694Patch 8.1.0117 26695Problem: URL in install program still points to SourceForge. 26696Solution: Change it to www.vim.org. (closes #3100) 26697Files: src/dosinst.c 26698 26699Patch 8.1.0118 26700Problem: Duplicate error message for put command. 26701Solution: Check return value of u_save(). (Jason Franklin) 26702Files: src/ops.c, src/testdir/test_messages.vim src/testdir/test_put.vim 26703 26704Patch 8.1.0119 26705Problem: Failing test goes unnoticed because testdir/messages is not 26706 written. 26707Solution: Set 'nomodifiable' only local to the buffer. 26708Files: src/testdir/test_put.vim 26709 26710Patch 8.1.0120 26711Problem: Buffer 'modified' set even when :sort has no changes. 26712Solution: Only set 'modified' when lines are moved. (Jason Franklin) 26713Files: src/ex_cmds.c, src/testdir/test_sort.vim 26714 26715Patch 8.1.0121 26716Problem: Crash when using ballooneval related to 'vartabstop'. 26717Solution: Initialize balloonEval->vts to NULL. (Markus Braun) 26718Files: src/ex_cmds2.c, src/gui_beval.c, src/gui_w32.c, src/gui.c 26719 26720Patch 8.1.0122 26721Problem: Translators don't always understand the maintainer message. 26722Solution: Add a comment that ends up in the generated po file. (Christian 26723 Brabandt, closes #3037) 26724Files: src/message.c 26725 26726Patch 8.1.0123 26727Problem: MS-Windows: colors are wrong after setting 'notgc'. 26728Solution: Only call control_console_color_rgb() for the win32 terminal. 26729 (Nobuhiro Takasaki, closes #3107) 26730Files: src/option.c 26731 26732Patch 8.1.0124 26733Problem: has('vcon') returns true even for non-win32 terminal. 26734Solution: Check the terminal type. (Nobuhiro Takasaki, closes #3106) 26735Files: src/evalfunc.c 26736 26737Patch 8.1.0125 26738Problem: Virtual edit replace with multi-byte fails at end of line. (Lukas 26739 Werling) 26740Solution: use ins_char() to add the character. (Christian Brabandt, 26741 closes #3114) Rename PCHAR() to PBYTE() to avoid mistakes like 26742 this. 26743Files: src/ops.c, src/testdir/test_virtualedit.vim, src/macros.h 26744 26745Patch 8.1.0126 26746Problem: Various problems with 'vartabstop'. 26747Solution: Fix memory leak. Fix crash. Add a few more tests. (Christian 26748 Brabandt, closes #3076) 26749Files: src/ex_cmds.c, src/option.c, src/screen.c, 26750 src/testdir/test_vartabs.vim 26751 26752Patch 8.1.0127 26753Problem: Build failure when disabling the session feature. (Pawel Slowik) 26754Solution: Adjust #ifdef for vim_chdirfile(). 26755Files: src/misc2.c 26756 26757Patch 8.1.0128 26758Problem: Building with MinGW does not work out-of-the-box. 26759Solution: Add instructions for MSYS2. Set default WINVER. Add batch files 26760 to set $PATH for MSYS2. 26761Files: src/Make_cyg_ming.mak, src/INSTALLpc.txt, src/msys32.bat, 26762 src/msys64.bat, Filelist 26763 26764Patch 8.1.0129 26765Problem: Still some xterm-like terminals get a stray "p" on startup. 26766Solution: Consider all terminals that reply with a version smaller than 95 26767 as not an xterm. (James McCoy) 26768Files: src/term.c 26769 26770Patch 8.1.0130 26771Problem: ":profdel func" does not work if func was called already. 26772 (Dominique Pelle) 26773Solution: Reset uf_profiling and add a flag to indicate initialization was 26774 done. 26775Files: src/structs.h, src/userfunc.c 26776 26777Patch 8.1.0131 26778Problem: :profdel is not tested. 26779Solution: Add a test. (Dominique Pelle, closes #3123) 26780Files: src/testdir/test_profile.vim 26781 26782Patch 8.1.0132 26783Problem: Lua tests are old style. 26784Solution: Convert to new style tests. Improve coverage. (Dominique Pelle, 26785 closes #3091) 26786Files: src/Makefile, src/testdir/Make_all.mak, 26787 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms, 26788 src/testdir/test85.in, src/testdir/test_lua.vim 26789 26790Patch 8.1.0133 26791Problem: tagfiles() can have duplicate entries. 26792Solution: Simplify the filename to make checking for duplicates work better. 26793 Add a test. (Dominique Pelle, closes #2979) 26794Files: src/tag.c, src/testdir/test_taglist.vim 26795 26796Patch 8.1.0134 26797Problem: Lua interface does not support funcref. 26798Solution: Add funcref support. (Luis Carvalho) 26799Files: src/if_lua.c, src/testdir/test_lua.vim 26800 26801Patch 8.1.0135 26802Problem: Undo message delays screen update for CTRL-O u. 26803Solution: Add smsg_attr_keep(). (closes #3125) 26804Files: src/message.c, src/proto.h, src/undo.c 26805 26806Patch 8.1.0136 26807Problem: Lua tests don't cover new features. 26808Solution: Add more tests. (Dominique Pelle, closes #3130) 26809Files: runtime/doc/if_lua.txt, src/testdir/test_lua.vim 26810 26811Patch 8.1.0137 26812Problem: CI does not run with TCL. 26813Solution: Add TCL to the travis config. (Dominique Pelle, closes #3133) 26814Files: .travis.yml 26815 26816Patch 8.1.0138 26817Problem: Negative value of 'softtabstop' not used correctly. 26818Solution: Use get_sts_value(). (Tom Ryder) 26819Files: src/edit.c, src/option.c, src/Makefile, src/testdir/test_tab.vim 26820 26821Patch 8.1.0139 26822Problem: Lua tests fail on some platforms. 26823Solution: Accept a hex number with and without "0x". (Ken Takata, 26824 closes #3137) 26825Files: src/testdir/test_lua.vim 26826 26827Patch 8.1.0140 26828Problem: Recording into a register has focus events. (Michael Naumann) 26829Solution: Don't record K_FOCUSGAINED and K_FOCUSLOST. (closes #3143) 26830Files: src/getchar.c 26831 26832Patch 8.1.0141 26833Problem: :cexpr no longer jumps to the first error. 26834Solution: Use the quickfix list identifier. (Yegappan Lakshmanan, 26835 closes #3092) 26836Files: src/quickfix.c, src/testdir/test_quickfix.vim 26837 26838Patch 8.1.0142 26839Problem: Xterm and vt320 builtin termcap missing keypad keys. 26840Solution: Add the escape sequences. (Kouichi Iwamoto, closes #2973) 26841Files: src/term.c 26842 26843Patch 8.1.0143 26844Problem: Matchit and matchparen don't handle E363. 26845Solution: Catch the E363 error. (Christian Brabandt) 26846Files: runtime/pack/dist/opt/matchit/plugin/matchit.vim, 26847 runtime/plugin/matchparen.vim 26848 26849Patch 8.1.0144 26850Problem: The :cd command does not have good test coverage. 26851Solution: Add more tests. (Dominique Pelle, closes #2972) 26852Files: src/testdir/test_cd.vim 26853 26854Patch 8.1.0145 26855Problem: Test with grep is failing on MS-Windows. 26856Solution: Skip the test. 26857Files: src/testdir/test_quickfix.vim 26858 26859Patch 8.1.0146 26860Problem: When $LANG is set the compiler test may fail. 26861Solution: Unset $LANG. 26862Files: src/testdir/test_compiler.vim 26863 26864Patch 8.1.0147 26865Problem: Compiler warning when building with Python 3.7. 26866Solution: #undef PySlice_GetIndicesEx before redefining it. (Ozaki Kiichi, 26867 closes #3153) 26868Files: src/if_python3.c 26869 26870Patch 8.1.0148 26871Problem: Memory leak when using :tcl expr command. 26872Solution: Free the result of expression evaluation. (Dominique Pelle, 26873 closes #3150) 26874Files: src/if_tcl.c 26875 26876Patch 8.1.0149 26877Problem: The generated sessions file does not restore tabs properly if :lcd 26878 was used in one of them. 26879Solution: Create the tab pages before setting the directory. (Yee Cheng 26880 Chin, closes #3152) 26881Files: src/ex_docmd.c, src/testdir/test_mksession.vim 26882 26883Patch 8.1.0150 26884Problem: Insufficient test coverage for Tcl. 26885Solution: Add more tests. (Dominique Pelle, closes #3140) 26886Files: src/testdir/test_tcl.vim 26887 26888Patch 8.1.0151 26889Problem: Mksession test fails on MS-Windows. 26890Solution: Always use an argument for :lcd. 26891Files: src/testdir/test_mksession.vim 26892 26893Patch 8.1.0152 26894Problem: Cannot easily run individual tests on MS-Windows. 26895Solution: Move the list of tests to a separate file. Add a build rule in 26896 the MSVC makefile. 26897Files: Filelist, src/Makefile, src/Make_all.mak, src/Make_mvc.mak 26898 26899Patch 8.1.0153 (after 8.1.0152) 26900Problem: Build with SHADOWDIR fails. (Elimar Riesebieter) 26901Solution: Create a link for Make_all.mak. (Tony Mechelynck) 26902Files: src/Makefile 26903 26904Patch 8.1.0154 26905Problem: Crash with "set smarttab shiftwidth=0 softtabstop=-1". 26906Solution: Fall back to using 'tabstop'. (closes #3155) 26907Files: src/edit.c, src/testdir/test_tab.vim 26908 26909Patch 8.1.0155 26910Problem: Evim.man missing from the distribution. 26911Solution: Add it to the list. 26912Files: Filelist 26913 26914Patch 8.1.0156 26915Problem: MS-Windows compiler warning. 26916Solution: Add a type cast. (Mike Williams) 26917Files: src/version.c 26918 26919Patch 8.1.0157 26920Problem: Old iTerm2 is not recognized, resulting in stray output. 26921Solution: Recognize the termresponse. 26922Files: src/term.c 26923 26924Patch 8.1.0158 26925Problem: GUI: input() fails if CTRL-C was pressed before. (Michael Naumann) 26926Solution: call vpeekc() to drop the CTRL-C from the input stream. 26927Files: src/ex_docmd.c 26928 26929Patch 8.1.0159 26930Problem: Completion for user names does not work if a prefix is also a full 26931 matching name. (Nazri Ramliy) 26932Solution: Accept both full and partial matches. (Dominique Pelle) 26933Files: src/misc1.c, src/ex_docmd.c 26934 26935Patch 8.1.0160 26936Problem: No Danish manual translations. 26937Solution: Add the Danish manual translations to the file list. 26938Files: Filelist 26939 26940Patch 8.1.0161 26941Problem: Buffer not updated with 'autoread' set if file was deleted. 26942 (Michael Naumann) 26943Solution: Don't set the timestamp to zero. (closes #3165) 26944Files: src/fileio.c, src/testdir/test_stat.vim 26945 26946Patch 8.1.0162 26947Problem: Danish and German man pages are not installed. (Tony Mechelynck) 26948Solution: Adjust the makefile 26949Files: src/Makefile 26950 26951Patch 8.1.0163 26952Problem: Insufficient testing for Tcl. 26953Solution: Add a few more tests. (Dominique Pelle, closes #3166) 26954Files: src/testdir/test_tcl.vim 26955 26956Patch 8.1.0164 26957Problem: luaeval('vim.buffer().name') returns an error. 26958Solution: Return an empty string. (Dominique Pelle, closes #3167) 26959Files: src/if_lua.c, src/testdir/test_lua.vim 26960 26961Patch 8.1.0165 26962Problem: :clist output can be very long. 26963Solution: Support filtering :clist entries. (Yegappan Lakshmanan) 26964Files: src/quickfix.c, src/testdir/test_quickfix.vim 26965 26966Patch 8.1.0166 26967Problem: Using dict_add_nr_str() is clumsy. 26968Solution: Split into two functions. (Ozaki Kiichi, closes #3154) 26969Files: src/channel.c, src/dict.c, src/edit.c, src/evalfunc.c, 26970 src/ex_cmds2.c, src/ops.c, src/option.c, src/proto/dict.pro, 26971 src/quickfix.c, src/tag.c, src/terminal.c, src/undo.c 26972 26973Patch 8.1.0167 26974Problem: Lock flag in new dictitem is reset in many places. 26975Solution: Always reset the lock flag. 26976Files: src/dict.c, src/channel.c, src/ex_cmds2.c, src/userfunc.c, 26977 src/if_perl.xs, src/if_py_both.h 26978 26979Patch 8.1.0168 26980Problem: Output of :marks is too short with multi-byte chars. (Tony 26981 Mechelynck) 26982Solution: Get more bytes from the text line. 26983Files: src/mark.c, src/testdir/test_marks.vim 26984 26985Patch 8.1.0169 (after 8.1.0165) 26986Problem: Calling message_filtered() a bit too often. 26987Solution: Only call message_filtered() when filtering is already false. 26988Files: src/quickfix.c, runtime/doc/quickfix.txt 26989 26990Patch 8.1.0170 26991Problem: Invalid memory use with complicated pattern. (Andy Massimino) 26992Solution: Reallocate the list of listids when needed. (closes #3175) 26993 Remove unnecessary function prototypes. 26994Files: src/regexp_nfa.c 26995 26996Patch 8.1.0171 26997Problem: Typing CTRL-W n in a terminal window causes ml_get error. 26998Solution: When resizing the terminal outside of terminal_loop() make sure 26999 the snapshot is complete. 27000Files: src/terminal.c, src/testdir/test_terminal.vim 27001 27002Patch 8.1.0172 27003Problem: 'viminfofile' option does not behave like a file name. 27004Solution: Add the P_EXPAND flag. (closes #3178) 27005Files: src/option.c 27006 27007Patch 8.1.0173 27008Problem: Compiler warning on MS-Windows. 27009Solution: Add type cast. (Mike Williams) 27010Files: src/libvterm/src/state.c 27011 27012Patch 8.1.0174 27013Problem: After paging up and down fold line is wrong. 27014Solution: Correct the computation of w_topline and w_botline. (Hirohito 27015 Higashi) 27016Files: src/move.c, src/testdir/test_fold.vim 27017 27018Patch 8.1.0175 27019Problem: Marks test fails in very wide window. (Vladimir Lomov) 27020Solution: Extend the text to match 'columns'. (closes #3180, closes #3181) 27021Files: src/testdir/test_marks.vim 27022 27023Patch 8.1.0176 27024Problem: Overlapping string argument for strcpy(). (Coverity) 27025Solution: Use STRMOVE() instead of STRCPY(). (Dominique Pelle, closes #3187) 27026Files: src/term.c 27027 27028Patch 8.1.0177 27029Problem: Defining function in sandbox is inconsistent, cannot use :function 27030 but can define a lambda. 27031Solution: Allow defining a function in the sandbox, but also use the sandbox 27032 when executing it. (closes #3182) 27033Files: src/userfunc.c, src/ex_cmds.h 27034 27035Patch 8.1.0178 27036Problem: Warning for passing pointer to non-pointer argument. 27037Solution: Use zero instead of NULL. 27038Files: src/if_ole.cpp 27039 27040Patch 8.1.0179 27041Problem: Redundant condition for boundary check. 27042Solution: Remove the condition. (Dominique Pelle). Change FALSE to FAIL. 27043Files: src/undo.c 27044 27045Patch 8.1.0180 27046Problem: Static analysis errors in Lua interface. (Coverity) 27047Solution: Check for NULL pointers. 27048Files: src/if_lua.c 27049 27050Patch 8.1.0181 27051Problem: Memory leak with trailing characters in skip expression. 27052Solution: Free the return value. 27053Files: src/eval.c, src/testdir/test_search.vim 27054 27055Patch 8.1.0182 27056Problem: Unicode standard was updated. 27057Solution: Include the changes. (Christian Brabandt) 27058Files: src/mbyte.c 27059 27060Patch 8.1.0183 27061Problem: Lua API changed, breaking the build. 27062Solution: Adjust prototype of lua_rawgeti(). (Ken Takata, 27063 closes #3157, closes #3144) 27064Files: src/if_lua.c 27065 27066Patch 8.1.0184 27067Problem: Not easy to figure out the window layout. 27068Solution: Add "wincol" and "winrow" to what getwininfo() returns. 27069Files: src/evalfunc.c, src/testdir/test_bufwintabinfo.vim, 27070 runtime/doc/eval.txt 27071 27072Patch 8.1.0185 27073Problem: Running tests writes lua.vim even though it is not used. 27074Solution: Stop writing lua.vim. 27075Files: src/testdir/test1.in, src/testdir/Make_dos.mak, 27076 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms, 27077 src/testdir/Makefile 27078 27079Patch 8.1.0186 27080Problem: Test for getwininfo() fails in GUI. 27081Solution: Account for missing tabline. 27082Files: src/testdir/test_bufwintabinfo.vim 27083 27084Patch 8.1.0187 (after 8.1.0184) 27085Problem: getwininfo() and win_screenpos() return different numbers. 27086Solution: Add one to "wincol" and "winrow" from getwininfo(). 27087Files: src/evalfunc.c, src/testdir/test_bufwintabinfo.vim, 27088 runtime/doc/eval.txt 27089 27090Patch 8.1.0188 27091Problem: No test for ":cscope add". 27092Solution: Add a test. (Dominique Pelle, closes #3212) 27093Files: src/testdir/test_cscope.vim 27094 27095Patch 8.1.0189 27096Problem: Function defined in sandbox not tested. 27097Solution: Add a text. 27098Files: src/testdir/test_functions.vim 27099 27100Patch 8.1.0190 27101Problem: Perl refcounts are wrong. 27102Solution: Improve refcounting. Add a test. (Damien) 27103Files: src/if_perl.xs, src/testdir/test_perl.vim 27104 27105Patch 8.1.0191 (after 8.1.0190) 27106Problem: Perl test fails in 24 line terminal. 27107Solution: Create fewer windows. 27108Files: src/testdir/test_perl.vim 27109 27110Patch 8.1.0192 27111Problem: Executing regexp recursively fails with a crash. 27112Solution: Move global variables into "rex". 27113Files: src/regexp.c, src/regexp.h, src/regexp_nfa.c 27114 27115Patch 8.1.0193 27116Problem: Terminal debugger buttons don't always work. (Dominique Pelle) 27117Solution: Set 'cpo' to its default value. 27118Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 27119 27120Patch 8.1.0194 27121Problem: Possibly use of NULL pointer. (Coverity) 27122Solution: Reset the re_in_use flag earlier. 27123Files: src/regexp.c 27124 27125Patch 8.1.0195 27126Problem: Terminal debugger commands don't always work. (Dominique Pelle) 27127Solution: Set 'cpo' to its default value when defining commands. (Christian 27128 Brabandt) 27129Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 27130 27131Patch 8.1.0196 27132Problem: Terminal debugger error with .gdbinit file. 27133Solution: Check two lines for the "new ui" response. (hint from Hirohito 27134 Higashi) 27135Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 27136 27137Patch 8.1.0197 27138Problem: Windows GUI: title for search/replace is wrong. 27139Solution: Remove remark about doubling backslash. (closes #3230) 27140Files: src/gui_win32.c 27141 27142Patch 8.1.0198 27143Problem: There is no hint that syntax is disabled for 'redrawtime'. 27144Solution: Add a message. 27145Files: src/syntax.c 27146 27147Patch 8.1.0199 27148Problem: spellbadword() does not check for caps error. (Dominique Pelle) 27149Solution: Adjust capcol when advancing. 27150Files: src/userfunc.c 27151 27152Patch 8.1.0200 27153Problem: spellbadword() not tested. 27154Solution: Add a test. (Dominique Pelle, closes #3235) 27155Files: src/testdir/test_spell.vim 27156 27157Patch 8.1.0201 27158Problem: Newer Python uses "importlib" instead of "imp". 27159Solution: Use "importlib" for newer Python versions. (Ozaki Kiichi, 27160 closes #3163) 27161Files: src/if_py_both.h, src/testdir/test87.in 27162 27163Patch 8.1.0202 27164Problem: :version always shows +packages. (Takuya Fujiwara) 27165Solution: Add #ifdef (closes #3198) Also for has(). 27166Files: src/version.c, src/evalfunc.c 27167 27168Patch 8.1.0203 27169Problem: Building with Perl 5.28 fails on Windows. 27170Solution: Define Perl_mg_get. (closes #3196) 27171Files: src/if_perl.xs 27172 27173Patch 8.1.0204 27174Problem: inputlist() is not tested. 27175Solution: Add a test. (Dominique Pelle, closes #3240) 27176Files: src/testdir/test_functions.vim 27177 27178Patch 8.1.0205 27179Problem: Invalid memory access with invalid modeline. 27180Solution: Pass pointer limit. Add a test. (closes #3241) 27181Files: src/Make_all.mak, src/testdir/test_alot.vim, 27182 src/testdir/test_modeline.vim, src/option.c 27183 27184Patch 8.1.0206 (after 8.1.0205) 27185Problem: Duplicate test function name. 27186Solution: Rename both functions. 27187Files: src/testdir/test_modeline.vim, src/testdir/test_glob2regpat.vim 27188 27189Patch 8.1.0207 27190Problem: Need many menu translation files to cover regions. 27191Solution: When there is no region match, try without. (Christian Brabandt) 27192Files: runtime/menu.vim 27193 27194Patch 8.1.0208 (after 8.1.0205) 27195Problem: File left behind after running individual test. 27196Solution: Delete the file. 27197Files: src/testdir/test_modeline.vim 27198 27199Patch 8.1.0209 27200Problem: Stderr output from Ruby messes up display. 27201Solution: Turn the stderr output into a Vim message. (Masataka Pocke 27202 Kuwabara, closes #3238) 27203Files: src/if_ruby.c 27204 27205Patch 8.1.0210 27206Problem: Still a few K&R function declarations. 27207Solution: Use ANSI function declarations (Hirohito Higashi) 27208Files: src/eval.c, src/evalfunc.c, src/list.c 27209 27210Patch 8.1.0211 27211Problem: Expanding a file name "~" results in $HOME. (Aidan Shafran) 27212Solution: Change "~" to "./~" before expanding. (closes #3072) 27213Files: src/testdir/test_expand.vim, src/ex_docmd.c, src/eval.c, 27214 src/proto/eval.pro, src/evalfunc.c, src/if_cscope.c, src/misc1.c 27215 27216Patch 8.1.0212 27217Problem: Preferred cursor column not set in interfaces. 27218Solution: Set w_set_curswant when setting the cursor. (David Hotham, 27219 closes #3060) 27220Files: src/if_lua.c, src/if_mzsch.c, src/if_perl.xs, src/if_py_both.h, 27221 src/if_ruby.c, src/if_tcl.c, src/testdir/test_lua.vim, 27222 src/testdir/test_perl.vim, src/testdir/test_python2.vim, 27223 src/testdir/test_python3.vim, src/testdir/test_ruby.vim, 27224 src/testdir/test_tcl.vim 27225 27226Patch 8.1.0213 27227Problem: CTRL-W CR does not work properly in a quickfix window. 27228Solution: Split the window if needed. (Jason Franklin) 27229Files: src/normal.c, src/proto/quickfix.pro, src/quickfix.c, 27230 src/testdir/test_quickfix.vim, src/window.c 27231 27232Patch 8.1.0214 27233Problem: +autochdir feature not reported by has() or :version. 27234Solution: Add the feature in the list. 27235Files: src/evalfunc.c, src/version.c 27236 27237Patch 8.1.0215 27238Problem: No error if configure --with-x cannot configure X. 27239Solution: Check that when --with-x is used X can be configured. 27240Files: src/configure.ac, src/auto/configure 27241 27242Patch 8.1.0216 27243Problem: Part of file not indented properly. 27244Solution: Adjust the indent. (Ken Takata) 27245Files: src/getchar.c 27246 27247Patch 8.1.0217 27248Problem: Compiler warning for variable set but not used. 27249Solution: Move tilde_file inside #ifdef. (Hirohito Higashi, closes #3255) 27250Files: src/ex_docmd.c 27251 27252Patch 8.1.0218 27253Problem: Cannot add matches to another window. (Qiming Zhao) 27254Solution: Add the "window" argument to matchadd() and matchaddpos(). 27255 (closes #3260) 27256Files: src/evalfunc.c, runtime/doc/eval.txt, src/testdir/test_match.vim 27257 27258Patch 8.1.0219 27259Problem: Expanding ## fails to escape backtick. 27260Solution: Escape a backtick in a file name. (closes #3257) 27261Files: src/ex_docmd.c, src/testdir/test_edit.vim 27262 27263Patch 8.1.0220 27264Problem: Ruby converts v:true and v:false to a number. 27265Solution: Use Qtrue and Qfalse instead. (Masataka Pocke Kuwabara, 27266 closes #3259) 27267Files: src/if_ruby.c, src/testdir/test_ruby.vim 27268 27269Patch 8.1.0221 27270Problem: Not enough testing for the Ruby interface. 27271Solution: Add more tests. (Dominique Pelle, closes #3252) 27272Files: runtime/doc/if_ruby.txt, src/testdir/test_ruby.vim 27273 27274Patch 8.1.0222 27275Problem: Errors are reported for "make install". 27276Solution: Skip missing language files. (Christian Brabandt, closes #3254) 27277Files: src/installman.sh 27278 27279Patch 8.1.0223 27280Problem: Completing shell command finds sub-directories in $PATH. 27281Solution: Remove EW_DIR when completing an item in $PATH. (Jason Franklin) 27282Files: src/ex_getln.c, src/testdir/test_cmdline.vim 27283 27284Patch 8.1.0224 27285Problem: Hang in bracketed paste mode when t_PE not encountered. 27286Solution: Break out of the loop when got_int is set. (suggested by Christian 27287 Brabandt, closes #3146) 27288Files: src/edit.c 27289 27290Patch 8.1.0225 27291Problem: Mode() does not indicate using CTRL-O from Insert mode. 27292Solution: Add "niI", "niR" and "niV" to mode() result. (closes #3000) 27293Files: runtime/doc/eval.txt, src/evalfunc.c, 27294 src/testdir/test_functions.vim 27295 27296Patch 8.1.0226 27297Problem: Too many #ifdefs. 27298Solution: Graduate the +vreplace feature, it's not much code and quite a few 27299 #ifdefs. 27300Files: runtime/doc/change.txt, runtime/doc/various.txt, src/edit.c, 27301 src/evalfunc.c, src/gui.c, src/misc1.c, src/misc2.c, src/normal.c, 27302 src/ops.c, src/screen.c, src/version.c, src/feature.h, 27303 src/globals.h, src/macros.h, src/vim.h 27304 27305Patch 8.1.0227 27306Problem: Spaces instead of tabs in makefile. 27307Solution: Use tabs and fix sorting. (Ken Takata) 27308Files: src/po/Make_all.mak 27309 27310Patch 8.1.0228 27311Problem: Dropping files is ignored while Vim is busy. 27312Solution: Postpone the effect of dropping files until it's safe. 27313Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/gui.c, src/gui.h, 27314 src/screen.c, src/main.c, src/gui_mac.c 27315 27316Patch 8.1.0229 27317Problem: Crash when dumping profiling data. 27318Solution: Reset flag indicating that initialization was done. 27319Files: src/userfunc.c 27320 27321Patch 8.1.0230 27322Problem: Directly checking 'buftype' value. 27323Solution: Add the bt_normal() function. (Yegappan Lakshmanan) 27324Files: src/buffer.c, src/ex_docmd.c, src/fileio.c, src/proto/buffer.pro, 27325 src/quickfix.c 27326 27327Patch 8.1.0231 27328Problem: :help -? goes to help for -+. 27329Solution: Add -? to list of special cases. (Hirohito Higashi) 27330Files: src/ex_cmds.c, src/testdir/test_help_tagjump.vim 27331 27332Patch 8.1.0232 27333Problem: Ruby error does not include backtrace. 27334Solution: Add an error backtrace. (Masataka Pocke Kuwabara, closes #3267) 27335Files: src/if_ruby.c 27336 27337Patch 8.1.0233 27338Problem: "safe" argument of call_vim_function() is always FALSE. 27339Solution: Remove the argument. 27340Files: src/eval.c, src/proto/eval.pro, src/edit.c, src/mbyte.c, 27341 src/normal.c, src/ex_getln.c 27342 27343Patch 8.1.0234 27344Problem: Incorrect reference counting in Perl interface. 27345Solution: Call SvREFCNT_inc more often, add a test. (Damien) 27346Files: src/if_perl.xs, src/testdir/test_perl.vim 27347 27348Patch 8.1.0235 (after 8.1.0231) 27349Problem: More help tags that jump to the wrong location. 27350Solution: Add more exceptions and a table for "expr-" tags. (Hirohito 27351 Higashi) 27352Files: src/ex_cmds.c, src/testdir/test_help_tagjump.vim 27353 27354Patch 8.1.0236 (after 8.1.0232) 27355Problem: Ruby build fails when ruby_intern is missing. 27356Solution: Do not use ruby_intern2. (Ken Takata) 27357Files: src/if_ruby.c 27358 27359Patch 8.1.0237 27360Problem: Ruby on Cygwin doesn't always work. 27361Solution: Use LIBRUBY_SO if LIBRUBY_ALIASES isn't set. (Ken Takata) 27362Files: src/configure.ac, src/auto/configure 27363 27364Patch 8.1.0238 27365Problem: 'buftype' is cleared when using ":term ++hidden cat". (Marcin 27366 Szamotulski) 27367Solution: Set the "options initialized" flag earlier. (closes #3278) 27368Files: src/terminal.c, src/testdir/test_terminal.vim 27369 27370Patch 8.1.0239 (after 8.1.0236) 27371Problem: Now Ruby build fails on other systems. 27372Solution: Always define rb_intern. (Ken Takata, closes #3275) 27373Files: src/if_ruby.c 27374 27375Patch 8.1.0240 27376Problem: g:actual_curbuf set in wrong scope. (Daniel Hahler) 27377Solution: Prepend the "g:" name space. (closes #3279) 27378Files: src/buffer.c 27379 27380Patch 8.1.0241 27381Problem: Effect of ":tabmove N" is not clear. 27382Solution: Add a test that shows the behavior. (Christian Brabandt, 27383 closes #3288) 27384Files: src/testdir/test_tabpage.vim 27385 27386Patch 8.1.0242 27387Problem: Insert mode completion may use an invalid buffer pointer. (Akib 27388 Nizam) 27389Solution: Check for ins_buf to be valid. (closes #3290) 27390Files: src/edit.c 27391 27392Patch 8.1.0243 27393Problem: Using :term ++close ++hidden closes a window. (Marcin Szamotulski) 27394Solution: Don't close the window if only using it temporarily for unloading 27395 the terminal buffer. (closes #3287) 27396Files: src/terminal.c, src/testdir/test_terminal.vim 27397 27398Patch 8.1.0244 27399Problem: No redraw when using a STOP signal on Vim and then a CONT signal. 27400Solution: Catch the CONT signal and force a redraw. (closes #3285) 27401Files: src/os_unix.c, src/term.c, src/proto/term.pro 27402 27403Patch 8.1.0245 27404Problem: Calling setline() in TextChangedI autocmd breaks undo. (Jason 27405 Felice) 27406Solution: Don't save lines for undo when already saved. (closes #3291) 27407Files: src/edit.c, src/testdir/test_autocmd.vim 27408 27409Patch 8.1.0246 (after 8.1.0245) 27410Problem: Build failure without the +eval feature. 27411Solution: Add #ifdef 27412Files: src/edit.c 27413 27414Patch 8.1.0247 27415Problem: Python: error message for failing import is incorrect. 27416Solution: Adjust how modules are loaded. (Ozaki Kiichi, closes #3162) 27417Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok 27418 27419Patch 8.1.0248 27420Problem: duplicated quickfix code. 27421Solution: Move the code to a function. 27422Files: src/quickfix.c 27423 27424Patch 8.1.0249 27425Problem: GTK: when screen DPI changes Vim does not handle it. 27426Solution: Handle the gtk-xft-dpi signal. (Roel van de Kraats, 27427 closes #2357) 27428Files: src/gui_gtk_x11.c 27429 27430Patch 8.1.0250 27431Problem: MS-Windows using VTP: windows size change incorrect. 27432Solution: Call SetConsoleScreenBufferSize() first. (Nobuhiro Takasaki, 27433 closes #3164) 27434Files: src/os_win32.c 27435 27436Patch 8.1.0251 27437Problem: Using a full path is supported for 'directory' but not for 27438 'backupdir'. (Mikolaj Machowski) 27439Solution: Support 'backupdir' as well. (Christian Brabandt, closes #179) 27440Files: runtime/doc/options.txt, src/fileio.c, src/memline.c, 27441 src/proto/memline.pro, src/testdir/test_alot.vim, 27442 src/testdir/test_backup.vim, src/Make_all.mak 27443 27444Patch 8.1.0252 27445Problem: Quickfix functions are too long. 27446Solution: Refactor. (Yegappan Lakshmanan, closes #2950) 27447Files: src/quickfix.c 27448 27449Patch 8.1.0253 27450Problem: Saving and restoring window title does not always work. 27451Solution: Use the stack push and pop commands. (Kouichi Iwamoto, 27452 closes #3059) 27453Files: runtime/doc/term.txt, src/main.c, src/option.c, src/os_unix.c, 27454 src/proto/term.pro, src/term.c, src/term.h, src/vim.h, 27455 src/buffer.c, src/ex_docmd.c, src/option.c, src/os_amiga.c, 27456 src/os_mswin.c, src/os_win32.c 27457 27458Patch 8.1.0254 (after 8.1.0253) 27459Problem: Cannot build on MS-Windows; Unused macro HAVE_HANDLE_DROP. 27460Solution: Adjust #ifdef. Delete the macro. 27461Files: src/main.c, src/vim.h 27462 27463Patch 8.1.0255 (after 8.1.0251) 27464Problem: Backup test fails when using shadow directory. 27465Solution: Remove check for "src". 27466Files: src/testdir/test_backup.vim 27467 27468Patch 8.1.0256 (after 8.1.0245) 27469Problem: Using setline() in TextChangedI splits undo. 27470Solution: Use another solution for undo not working properly. 27471Files: src/edit.c, src/testdir/test_autocmd.vim 27472 27473Patch 8.1.0257 27474Problem: No test for pathshorten(). 27475Solution: Add a test. (Dominique Pelle, closes #3295) 27476Files: src/testdir/test_functions.vim 27477 27478Patch 8.1.0258 27479Problem: Not enough testing for the CompleteDone event. 27480Solution: Add a test. (closes #3297) 27481Files: src/testdir/test_ins_complete.vim 27482 27483Patch 8.1.0259 27484Problem: No test for fixed quickfix issue. 27485Solution: Add a test. Clean up the code a bit. (Yegappan Lakshmanan) 27486Files: src/quickfix.c, src/testdir/test_quickfix.vim 27487 27488Patch 8.1.0260 27489Problem: No LGTM logo in README file. 27490Solution: Add one. (Bas van Schaik, closes #3305) 27491Files: README.md 27492 27493Patch 8.1.0261 27494Problem: Coverity complains about a negative array index. 27495Solution: When qf_id2nr() cannot find the list then don't set qf_curlist. 27496Files: src/quickfix.c 27497 27498Patch 8.1.0262 27499Problem: Not enough testing for getftype(). 27500Solution: Add a test. (Dominique Pelle, closes #3300) 27501Files: src/evalfunc.c, src/testdir/test_stat.vim 27502 27503Patch 8.1.0263 27504Problem: Channel log doesn't show part of channel. 27505Solution: Add "sock", "out", "err" or "in". (Ozaki Kiichi, closes #3303) 27506Files: src/channel.c 27507 27508Patch 8.1.0264 27509Problem: Backup tests fail when CWD is in /tmp. 27510Solution: Make 'backupskip' empty. (Christian Brabandt, closes #3301) 27511Files: src/testdir/test_backup.vim 27512 27513Patch 8.1.0265 27514Problem: The getcmdline() function is way too big. 27515Solution: Factor out the incremental search highlighting. 27516Files: src/ex_getln.c 27517 27518Patch 8.1.0266 27519Problem: Parsing Ex address range is not a separate function. 27520Solution: Refactor do_one_cmd() to separate address parsing. 27521Files: src/ex_docmd.c, src/proto/ex_docmd.pro 27522 27523Patch 8.1.0267 27524Problem: No good check if restoring quickfix list worked. 27525Solution: Let qf_restore_list() return OK/FAIL. (Yegappan Lakshmanan) 27526Files: src/quickfix.c 27527 27528Patch 8.1.0268 27529Problem: File type checking has too many #ifdef. 27530Solution: Always define the S_IF macros. (Ken Takata, closes #3306) 27531Files: src/buffer.c, src/evalfunc.c, src/fileio.c, src/if_cscope.c, 27532 src/os_unix.c, src/os_unix.h, src/vim.h 27533 27534Patch 8.1.0269 27535Problem: Ruby Kernel.#p method always returns nil. 27536Solution: Copy p method implementation from Ruby code. (Masataka Pocke 27537 Kuwabara, closes #3315) 27538Files: src/if_ruby.c, src/testdir/test_ruby.vim 27539 27540Patch 8.1.0270 27541Problem: Checking for a Tab in a line could be faster. 27542Solution: Use strchr() instead of strrchr(). (closes #3312) 27543Files: src/ex_cmds.c 27544 27545Patch 8.1.0271 27546Problem: 'incsearch' doesn't work for :s, :g or :v. 27547Solution: Also use 'incsearch' for other commands that use a pattern. 27548Files: src/ex_getln.c, src/globals.h, src/screen.c, 27549 src/testdir/test_search.vim 27550 27551Patch 8.1.0272 27552Problem: Options test fails if temp var ends in slash. (Tom Briden) 27553Solution: Check for optional slash. (closes #3308) 27554Files: src/testdir/test_options.vim 27555 27556Patch 8.1.0273 27557Problem: Invalid memory access when using 'incsearch'. 27558Solution: Reset "patlen" when using previous search pattern. 27559Files: src/ex_getln.c 27560 27561Patch 8.1.0274 27562Problem: 'incsearch' triggers on ":source". 27563Solution: Check for the whole command name. 27564Files: src/ex_getln.c, src/testdir/test_search.vim 27565 27566Patch 8.1.0275 27567Problem: 'incsearch' with :s doesn't start at cursor line. 27568Solution: Set cursor before parsing address. (closes #3318) 27569 Also accept a match at the start of the first line. 27570Files: src/ex_getln.c, src/testdir/test_search.vim 27571 27572Patch 8.1.0276 27573Problem: No test for 'incsearch' highlighting with :s. 27574Solution: Add a screendump test. 27575Files: src/testdir/test_search.vim, 27576 src/testdir/dumps/Test_incsearch_substitute_01.dump 27577 27578Patch 8.1.0277 27579Problem: 'incsearch' highlighting wrong in a few cases. 27580Solution: Fix using last search pattern. Restore highlighting when changing 27581 command. (issue #3321) 27582Files: src/ex_getln.c, src/testdir/test_search.vim, 27583 src/testdir/dumps/Test_incsearch_substitute_02.dump, 27584 src/testdir/dumps/Test_incsearch_substitute_03.dump 27585 27586Patch 8.1.0278 27587Problem: 'incsearch' highlighting does not accept reverse range. 27588Solution: Swap the range when needed. (issue #3321) 27589Files: src/ex_getln.c, src/testdir/test_search.vim, 27590 src/testdir/dumps/Test_incsearch_substitute_04.dump 27591 27592Patch 8.1.0279 27593Problem: 'incsearch' highlighting does not skip white space. 27594Solution: Skip white space after the command. (issue #3321) 27595Files: src/ex_getln.c, src/testdir/test_search.vim, 27596 src/testdir/dumps/Test_incsearch_substitute_05.dump 27597 27598Patch 8.1.0280 27599Problem: 'incsearch' highlighting does not work for ":g!/". 27600Solution: Skip the exclamation mark. (Hirohito Higashi) 27601Files: src/ex_getln.c, src/testdir/test_search.vim 27602 27603Patch 8.1.0281 27604Problem: Parsing command modifiers is not separated. 27605Solution: Move command modifier parsing to a separate function. 27606Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/ex_cmds.h, 27607 src/globals.h, src/feature.h 27608 27609Patch 8.1.0282 27610Problem: 'incsearch' does not work with command modifiers. 27611Solution: Skip command modifiers. 27612Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/ex_getln.c, 27613 src/testdir/test_search.vim 27614 27615Patch 8.1.0283 (after 8.1.0282) 27616Problem: Missing test dump. 27617Solution: Add the dump file 27618Files: src/testdir/dumps/Test_incsearch_substitute_06.dump 27619 27620Patch 8.1.0284 27621Problem: 'cursorline' highlighting wrong with 'incsearch'. 27622Solution: Move the cursor back if the match is outside the range. 27623Files: src/ex_getln.c, src/testdir/test_search.vim, 27624 src/testdir/dumps/Test_incsearch_substitute_07.dump 27625 src/testdir/dumps/Test_incsearch_substitute_08.dump 27626 27627Patch 8.1.0285 27628Problem: Compiler warning for conversion. 27629Solution: Add a type cast. (Mike Williams) 27630Files: src/ex_getln.c 27631 27632Patch 8.1.0286 27633Problem: 'incsearch' does not apply to :smagic and :snomagic. 27634Solution: Add support. (Hirohito Higashi) 27635Files: src/ex_getln.c, src/testdir/test_search.vim 27636 27637Patch 8.1.0287 27638Problem: MAX is not defined everywhere. 27639Solution: Define MAX where needed. 27640Files: src/ex_getln.c 27641 27642Patch 8.1.0288 27643Problem: Quickfix code uses cmdidx too often. 27644Solution: Add is_loclist_cmd(). (Yegappan Lakshmanan) 27645Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/quickfix.c 27646 27647Patch 8.1.0289 27648Problem: Cursor moves to wrong column after quickfix jump. 27649Solution: Set the curswant flag. (Andy Massimino, closes #3331) 27650Files: src/quickfix.c, src/testdir/test_quickfix.vim 27651 27652Patch 8.1.0290 27653Problem: "cit" on an empty HTML tag changes the whole tag. 27654Solution: Only adjust the area in Visual mode. (Andy Massimino, 27655 closes #3332) 27656Files: src/search.c, src/testdir/test_textobjects.vim 27657 27658Patch 8.1.0291 27659Problem: 'incsearch' highlighting not used for :sort. 27660Solution: Handle pattern in :sort command. 27661Files: src/ex_getln.c, src/testdir/test_search.vim, 27662 src/testdir/dumps/Test_incsearch_sort_01.dump 27663 27664Patch 8.1.0292 27665Problem: MS-Windows: the text "self-installing" confuses some users. 27666Solution: Remove the text from the uninstall entry. (closes #3337) 27667Files: src/dosinst.c 27668 27669Patch 8.1.0293 27670Problem: Checks for type of stack is cryptic. 27671Solution: Define IS_QF_STACK() and IS_LL_STACK(). (Yegappan Lakshmanan) 27672Files: src/quickfix.c 27673 27674Patch 8.1.0294 27675Problem: MS-Windows: sometimes uses short directory name. 27676Solution: Expand to long file name with correct caps. (Nobuhiro Takasaki, 27677 closes #3334) 27678Files: src/os_win32.c 27679 27680Patch 8.1.0295 27681Problem: No 'incsearch' highlighting for :vimgrep and similar commands. 27682Solution: Parse the :vimgrep command and similar ones to locate the search 27683 pattern. (Hirohito Higashi, closes #3344) 27684Files: src/ex_getln.c, src/testdir/test_search.vim, 27685 src/testdir/dumps/Test_incsearch_vimgrep_01.dump, 27686 src/testdir/dumps/Test_incsearch_vimgrep_02.dump, 27687 src/testdir/dumps/Test_incsearch_vimgrep_03.dump, 27688 src/testdir/dumps/Test_incsearch_vimgrep_04.dump, 27689 src/testdir/dumps/Test_incsearch_vimgrep_05.dump 27690 27691Patch 8.1.0296 27692Problem: Command parsing for 'incsearch' is a bit ugly. 27693Solution: Return when there is no pattern. Put common checks together. 27694Files: src/ex_getln.c 27695 27696Patch 8.1.0297 (after 8.1.0294) 27697Problem: MS-Windows: tests fail, Vim crashes. 27698Solution: Fix long file name handling. 27699Files: src/os_win32.c 27700 27701Patch 8.1.0298 27702Problem: Window resize test sometimes fails on Mac. 27703Solution: Add Test_popup_and_window_resize() to flaky tests. 27704Files: src/testdir/runtest.vim 27705 27706Patch 8.1.0299 (after 8.1.0298) 27707Problem: misplaced comment 27708Solution: Remove comment 27709Files: src/testdir/runtest.vim 27710 27711Patch 8.1.0300 27712Problem: The old window title might be freed twice. (Dominique Pelle) 27713Solution: Do not free "oldtitle" in a signal handler but set a flag to have 27714 it freed later. 27715Files: src/os_unix.c 27716 27717Patch 8.1.0301 27718Problem: GTK: Input method popup displayed on wrong screen. 27719Solution: Add the screen position offset. (Ken Takata, closes #3268) 27720Files: src/gui_beval.c, src/gui_gtk_x11.c, src/mbyte.c, 27721 src/proto/gui_gtk_x11.pro 27722 27723Patch 8.1.0302 27724Problem: Crash when using :suspend and "fg". 27725Solution: Undo patch 8.1.0244. 27726Files: src/os_unix.c, src/term.c, src/proto/term.pro 27727 27728Patch 8.1.0303 27729Problem: line2byte() is wrong for last line with 'noeol' and 'nofixeol'. 27730Solution: Fix off-by-one error. (Shane Harper, closes #3351) 27731Files: src/memline.c, src/testdir/test_functions.vim 27732 27733Patch 8.1.0304 27734Problem: No redraw when using a STOP signal on Vim and then a CONT signal. 27735Solution: Catch the CONT signal and set the terminal to raw mode. This is 27736 like 8.1.0244 but without the screen redraw and a fix for 27737 multi-threading suggested by Dominique Pelle. 27738Files: src/os_unix.c, src/term.c, src/proto/term.pro 27739 27740Patch 8.1.0305 27741Problem: Missing support for Lua 5.4 32 bits on Unix. 27742Solution: Define lua_newuserdatauv. (Kazunobu Kuriyama) 27743Files: src/if_lua.c 27744 27745Patch 8.1.0306 27746Problem: Plural messages are not translated properly. 27747Solution: Add more usage of NGETTEXT(). (Sergey Alyoshin) 27748Files: src/vim.h, src/buffer.c, src/ex_cmds.c, src/ex_docmd.c, 27749 src/fileio.c, src/misc1.c, src/ops.c 27750 27751Patch 8.1.0307 27752Problem: There is no good way to get the window layout. 27753Solution: Add the winlayout() function. (Yegappan Lakshmanan) 27754Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/window.pro, 27755 src/window.c, src/testdir/test_window_id.vim 27756 27757Patch 8.1.0308 27758Problem: A quick undo shows "1 seconds ago". (Tony Mechelynck) 27759Solution: Add singular/plural message. 27760Files: src/undo.c 27761 27762Patch 8.1.0309 27763Problem: Profiling does not show a count for condition lines. (Daniel 27764 Hahler) 27765Solution: Count lines when not skipping. (Ozaki Kiichi, closes #2499) 27766Files: src/ex_docmd.c, src/testdir/test_profile.vim 27767 27768Patch 8.1.0310 27769Problem: File info message not always suppressed with 'F' in 'shortmess'. 27770 (Asheq Imran) 27771Solution: Save and restore msg_silent. (Christian Brabandt, closes #3221) 27772Files: src/buffer.c, src/memline.c, src/testdir/test_options.vim 27773 27774Patch 8.1.0311 27775Problem: Filtering entries in a quickfix list is not easy. 27776Solution: Add the cfilter plugin. (Yegappan Lakshmanan) 27777Files: runtime/pack/dist/opt/cfilter/plugin/cfilter.vim, 27778 runtime/doc/quickfix.txt 27779 27780Patch 8.1.0312 27781Problem: Wrong type for flags used in signal handlers. 27782Solution: Use sig_atomic_t. (Dominique Pelle, closes #3356) 27783Files: src/globals.h, src/os_unix.c, src/os_win32.h 27784 27785Patch 8.1.0313 27786Problem: Information about a swap file is unavailable. 27787Solution: Add swapinfo(). (Enzo Ferber) 27788Files: runtime/doc/eval.txt, src/evalfunc.c, src/memline.c, 27789 src/proto/memline.pro, src/testdir/test_swap.vim 27790 27791Patch 8.1.0314 (after 8.1.0313) 27792Problem: Build failure without the +eval feature. (Brenton Horne) 27793Solution: Add #ifdef. Also add the "dirty" item. 27794Files: src/memline.c, runtime/doc/eval.txt, src/testdir/test_swap.vim 27795 27796Patch 8.1.0315 27797Problem: Helpgrep with language doesn't work properly. (Takuya Fujiwara) 27798Solution: Check for the language earlier. (Hirohito Higashi) 27799Files: src/quickfix.c, src/testdir/test_quickfix.vim 27800 27801Patch 8.1.0316 27802Problem: swapinfo() test fails on Travis. 27803Solution: Handle a long host name. (Ozaki Kiichi, closes #3361) 27804 Also make the version check flexible. (James McCoy) 27805Files: src/testdir/test_swap.vim 27806 27807Patch 8.1.0317 27808Problem: Cscope test fails when using shadow directory. 27809Solution: Resolve symlink in Vim. (James McCoy, closes #3364) 27810Files: src/testdir/test_cscope.vim 27811 27812Patch 8.1.0318 27813Problem: The getftype() test may fail for char devices if the file 27814 disappeared in between the listing and the getftype() call. 27815Solution: Ignore empty result. (Ozaki Kiichi, closes #3360) 27816Files: src/testdir/test_stat.vim 27817 27818Patch 8.1.0319 27819Problem: bzero() function prototype doesn't work for Android. 27820Solution: Add an #ifdef. (Elliott Hughes, closes #3365) 27821Files: src/osdef1.h.in 27822 27823Patch 8.1.0320 27824Problem: Too much 'incsearch' highlight for pattern matching everything. 27825Solution: Add the skiplen to the command and remove the line range. 27826 (Christian Brabandt) Check for empty pattern earlier. 27827Files: src/ex_getln.c, src/testdir/test_search.vim, 27828 src/testdir/dumps/Test_incsearch_substitute_09.dump 27829 27830Patch 8.1.0321 (after 8.1.0320) 27831Problem: 'incsearch' regression: /\v highlights everything. 27832Solution: Put back the empty_pattern() check. 27833Files: src/ex_getln.c, src/testdir/test_search.vim, 27834 src/testdir/dumps/Test_incsearch_search_01.dump, 27835 src/testdir/dumps/Test_incsearch_search_02.dump 27836 27837Patch 8.1.0322 27838Problem: Test_copy_winopt() does not restore 'hidden'. 27839Solution: Restore the option, fix indent. (Ozaki Kiichi, closes #3367) 27840Files: src/testdir/test_options.vim 27841 27842Patch 8.1.0323 27843Problem: Reverse order of VTP calls only needed the first time. 27844Solution: Add a flag to remember the state. (Nobuhiro Takasaki, closes #3366) 27845Files: src/os_win32.c 27846 27847Patch 8.1.0324 27848Problem: Off-by-one error in cmdidx check. (Coverity) 27849Solution: Use ">=" instead of ">". 27850Files: src/ex_docmd.c 27851 27852Patch 8.1.0325 27853Problem: Strings in swap file may not be NUL terminated. (Coverity) 27854Solution: Limit the length of the used string. 27855Files: src/memline.c 27856 27857Patch 8.1.0326 27858Problem: Screen dump does not consider NUL and space equal. 27859Solution: Use temp variables instead of character from cell. 27860Files: src/terminal.c, src/testdir/dumps/Test_syntax_c_01.dump 27861 27862Patch 8.1.0327 27863Problem: The "g CTRL-G" command isn't tested much. 27864Solution: Add more tests. (Dominique Pelle, closes #3369) 27865Files: src/testdir/test_normal.vim 27866 27867Patch 8.1.0328 27868Problem: inputlist() doesn't work with a timer. (Dominique Pelle) 27869Solution: Don't redraw when cmdline_row is zero. (Hirohito Higashi, 27870 closes #3239) 27871Files: src/misc1.c, src/screen.c 27872 27873Patch 8.1.0329 27874Problem: Using inputlist() during startup results in garbage. (Dominique 27875 Pelle) 27876Solution: Make sure the xterm tracing is stopped when disabling the mouse. 27877Files: src/os_unix.c 27878 27879Patch 8.1.0330 27880Problem: The qf_add_entries() function is too long. 27881Solution: Split in two parts. (Yegappan Lakshmanan) 27882Files: src/quickfix.c 27883 27884Patch 8.1.0331 27885Problem: Insufficient test coverage for :mkview and :loadview. 27886Solution: Add tests. (Dominique Pelle, closes #3385) 27887Files: src/testdir/test_mksession.vim 27888 27889Patch 8.1.0332 27890Problem: Get Gdk-Critical error on first balloon show. 27891Solution: Get screen geometry using the draw area widget. (Davit Samvelyan, 27892 closes #3386) 27893Files: src/gui_beval.c 27894 27895Patch 8.1.0333 27896Problem: :mkview does not restore cursor properly after "$". (Dominique 27897 Pelle) 27898Solution: Position the cursor with "normal! $". 27899Files: src/ex_docmd.c, src/testdir/test_mksession.vim 27900 27901Patch 8.1.0334 27902Problem: 'autowrite' takes effect when buffer is not to be written. 27903Solution: Don't write buffers that are not supposed to be written. (Even Q 27904 Jones, closes #3391) Add tests for 'autowrite'. 27905Files: src/ex_cmds2.c, src/testdir/test_writefile.vim 27906 27907Patch 8.1.0335 27908Problem: mkview test fails on CI. 27909Solution: Attempt to force recomputing curswant after folding. 27910Files: src/testdir/test_mksession.vim 27911 27912Patch 8.1.0336 27913Problem: mkview test still fails on CI. 27914Solution: Ignore curswant, don't see another solution. 27915Files: src/testdir/test_mksession.vim 27916 27917Patch 8.1.0337 27918Problem: :file fails in quickfix command. 27919Solution: Allow :file without argument when curbuf_lock is set. (Jason 27920 Franklin) 27921Files: src/ex_docmd.c, src/testdir/test_quickfix.vim 27922 27923Patch 8.1.0338 27924Problem: MS-Windows: VTP doesn't work properly with PowerShell. 27925Solution: Adjust the color index. (Nobuhiro Takasaki, closes #3347) 27926Files: src/os_win32.c 27927 27928Patch 8.1.0339 27929Problem: Wrong highlight when 'incsearch' set and cancelling :s. 27930Solution: Reset search line range. (Hirohito Higashi, Masamichi Abe) 27931Files: src/ex_getln.c, src/testdir/test_search.vim, 27932 src/testdir/dumps/Test_incsearch_substitute_10.dump 27933 27934Patch 8.1.0340 27935Problem: No test for :spellinfo. 27936Solution: Add a test. (Dominique Pelle, closes #3394) 27937Files: src/testdir/test_spell.vim 27938 27939Patch 8.1.0341 27940Problem: :argadd in empty buffer changes the buffer name. (Pavol Juhas) 27941Solution: Don't re-use the current buffer when not going to edit the file. 27942 (closes #3397) Do re-use the current buffer for :next. 27943Files: src/ex_cmds2.c, src/testdir/test_arglist.vim, 27944 src/testdir/test_command_count.vim 27945 27946Patch 8.1.0342 27947Problem: Crash when a callback deletes a window that is being used. (Ozaki 27948 Kiichi) 27949Solution: Do not unload a buffer that is being displayed while redrawing the 27950 screen. Also avoid invoking callbacks while redrawing. 27951 (closes #2107) 27952Files: src/buffer.c, src/misc2.c 27953 27954Patch 8.1.0343 27955Problem: 'shellslash' is not used for getcwd() with local directory. 27956 (Daniel Hahler) 27957Solution: Call slash_adjust() later. (closes #3399) 27958Files: src/evalfunc.c 27959 27960Patch 8.1.0344 27961Problem: 'hlsearch' highlighting has a gap after /$. 27962Solution: Remove suspicious code. (Ricky Zhou, closes #3400) 27963Files: src/screen.c, src/testdir/test_hlsearch.vim 27964 27965Patch 8.1.0345 27966Problem: Cannot get the window id associated with the location list. 27967Solution: Add the "filewinid" argument to getloclist(). (Yegappan 27968 Lakshmanan, closes #3202) 27969Files: runtime/doc/eval.txt, src/quickfix.c, 27970 src/testdir/test_quickfix.vim 27971 27972Patch 8.1.0346 27973Problem: Building with Aap is outdated and unused. 27974Solution: Remove the Aap build files. 27975Files: Filelist, src/main.aap, src/testdir/main.aap, src/config.aap.in, 27976 runtime/macros/maze/main.aap 27977 27978Patch 8.1.0347 27979Problem: Some tests fail on Solaris. 27980Solution: Skip writefile test. Fix path to libc.so. Improve test for Turkish 27981 case change. (Libor Bukata, Bjorn Linse, closes #3403) 27982Files: src/testdir/test_functions.vim, src/testdir/test_normal.vim, 27983 src/testdir/test_writefile.vim 27984 27985Patch 8.1.0348 27986Problem: On Travis the slowest build is run last. (Dominique Pelle) 27987Solution: Reorder the build entries. 27988Files: .travis.yml 27989 27990Patch 8.1.0349 27991Problem: Crash when wiping buffer in a callback. 27992Solution: Do not handle messages when only peeking for a character. 27993 (closes #2107) Add "redraw_flag" to test_override(). 27994Files: src/os_unix.c, src/os_win32.c, src/screen.c, src/evalfunc.c, 27995 src/globals.h, runtime/doc/eval.txt 27996 27997Patch 8.1.0350 27998Problem: Vim may block on ch_sendraw() when the job is sending data back to 27999 Vim, which isn't read yet. (Nate Bosch) 28000Solution: Add the "noblock" option to job_start(). (closes #2548) 28001Files: src/channel.c, src/structs.h, src/testdir/test_channel.vim, 28002 runtime/doc/channel.txt 28003 28004Patch 8.1.0351 28005Problem: 'incsearch' for :/foo/s//<Esc> changes last search pattern. 28006Solution: Save the last search pattern earlier. 28007Files: src/ex_docmd.c, src/ex_getln.c, src/testdir/test_search.vim 28008 28009Patch 8.1.0352 28010Problem: Browsing compressed tar files does not always work. 28011Solution: Use the "file" command to get the compression type. 28012Files: runtime/autoload/tar.vim 28013 28014Patch 8.1.0353 28015Problem: An "after" directory of a package is appended to 'rtp', which 28016 will be after the user's "after" directory. () 28017Solution: Insert the package "after" directory before any other "after" 28018 directory in 'rtp'. (closes #3409) 28019Files: src/ex_cmds2.c, src/testdir/test_packadd.vim 28020 28021Patch 8.1.0354 (after 8.1.0353) 28022Problem: Packadd test fails on MS-Windows. 28023Solution: Ignore difference between forward and backward slashes. 28024Files: src/testdir/test_packadd.vim 28025 28026Patch 8.1.0355 28027Problem: Incorrect adjusting the popup menu for the preview window. 28028Solution: Compute position and height properly. (Ronan Pigott) Also show at 28029 least ten items. (closes #3414) 28030Files: src/popupmnu.c 28031 28032Patch 8.1.0356 28033Problem: Using :s with 'incsearch' prevents CTRL-R CTRL-W. (Boris Staletic) 28034Solution: When past the pattern put cursor back in the start position. 28035 (closes #3413) 28036Files: src/ex_getln.c, src/testdir/test_search.vim 28037 28038Patch 8.1.0357 28039Problem: Instructions for tests are outdated. (Jason Franklin) 28040Solution: Update the text. 28041Files: src/testdir/README.txt 28042 28043Patch 8.1.0358 28044Problem: Crash when using term_dumpwrite() after the job finished. 28045Solution: Check for a finished job and give an error message. 28046Files: src/terminal.c 28047 28048Patch 8.1.0359 28049Problem: No clue what test failed when using a screendump twice. 28050Solution: Add an extra argument to VerifyScreenDump(). 28051Files: src/testdir/screendump.vim 28052 28053Patch 8.1.0360 28054Problem: Using an external diff program is slow and inflexible. 28055Solution: Include the xdiff library. (Christian Brabandt, closes #2732) 28056 Use it by default. 28057Files: Filelist, runtime/doc/diff.txt, runtime/doc/options.txt, 28058 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile, src/diff.c, 28059 src/structs.h, src/testdir/dumps/Test_diff_01.dump, 28060 src/testdir/dumps/Test_diff_02.dump, 28061 src/testdir/dumps/Test_diff_03.dump, 28062 src/testdir/dumps/Test_diff_04.dump, 28063 src/testdir/dumps/Test_diff_05.dump, 28064 src/testdir/dumps/Test_diff_06.dump, 28065 src/testdir/dumps/Test_diff_07.dump, 28066 src/testdir/dumps/Test_diff_08.dump, 28067 src/testdir/dumps/Test_diff_09.dump, 28068 src/testdir/dumps/Test_diff_10.dump, 28069 src/testdir/dumps/Test_diff_11.dump, 28070 src/testdir/dumps/Test_diff_12.dump, 28071 src/testdir/dumps/Test_diff_13.dump, 28072 src/testdir/dumps/Test_diff_14.dump, 28073 src/testdir/dumps/Test_diff_15.dump, 28074 src/testdir/dumps/Test_diff_16.dump, 28075 src/testdir/test_diffmode.vim, src/xdiff/COPYING, 28076 src/xdiff/xdiff.h, src/xdiff/xdiffi.c, src/xdiff/xdiffi.h, 28077 src/xdiff/xemit.c, src/xdiff/xemit.h, src/xdiff/xhistogram.c, 28078 src/xdiff/xinclude.h, src/xdiff/xmacros.h, src/xdiff/xpatience.c, 28079 src/xdiff/xprepare.c, src/xdiff/xprepare.h, src/xdiff/xtypes.h, 28080 src/xdiff/xutils.c, src/xdiff/xutils.h, src/xdiff/README.txt 28081 28082Patch 8.1.0361 28083Problem: Remote user not used for completion. (Stucki) 28084Solution: Use $USER too. (Dominique Pelle, closes #3407) 28085Files: src/misc1.c 28086 28087Patch 8.1.0362 28088Problem: Cannot get the script line number when executing a function. 28089Solution: Store the line number besides the script ID. (Ozaki Kiichi, 28090 closes #3362) Also display the line number with ":verbose set". 28091Files: runtime/doc/cmdline.txt, runtime/doc/eval.txt, src/Make_all.mak, 28092 src/buffer.c, src/eval.c, src/evalfunc.c, src/ex_cmds2.c, 28093 src/ex_docmd.c, src/ex_getln.c, src/fileio.c, src/getchar.c, 28094 src/globals.h, src/main.c, src/menu.c, src/option.c, 28095 src/proto/eval.pro, src/structs.h, src/syntax.c, 28096 src/testdir/test_alot.vim, src/testdir/test_expand_func.vim, 28097 src/testdir/test_maparg.vim, src/term.c src/userfunc.c 28098 28099Patch 8.1.0363 28100Problem: Internal diff isn't used by default as advertised. 28101Solution: Add "internal" to the default value of 'diffopt'. 28102 Also add couple of files missing from the distribution. 28103Files: src/option.c, runtime/doc/options.txt, Filelist 28104 28105Patch 8.1.0364 28106Problem: Compiler warning in xdiff code. (Yegappan Lakshmanan) 28107Solution: Initialize directly. 28108Files: src/xdiff/xemit.c, src/xdiff/README.txt 28109 28110Patch 8.1.0365 28111Problem: Function profile doesn't specify where it was defined. 28112Solution: Show the script name and line number. 28113Files: src/userfunc.c, src/testdir/test_profile.vim 28114 28115Patch 8.1.0366 28116Problem: Pieces of the xdiff code are not used. 28117Solution: Add "#if 0" to omit unused code. 28118Files: src/xdiff/xemit.c 28119 28120Patch 8.1.0367 28121Problem: getchar(1) no longer processes pending messages. (Yasuhiro 28122 Matsumoto) 28123Solution: Call parse_queued_messages(). 28124Files: src/evalfunc.c 28125 28126Patch 8.1.0368 28127Problem: GTK code has too many #ifdefs and building fails with GTK 2.10. 28128Solution: Always use gtk_widget_get_window() and define it for older GTK 28129 versions. (Ken Takata, closes #3421) 28130Files: src/gui_beval.c, src/gui_gtk.c, src/gui_gtk_f.c, 28131 src/gui_gtk_x11.c, src/mbyte.c, src/vim.h 28132 28133Patch 8.1.0369 28134Problem: Continuation lines cannot contain comments. 28135Solution: Support using "\ . 28136Files: src/ex_cmds2.c, src/testdir/test_eval_stuff.vim, 28137 runtime/indent/vim.vim, runtime/doc/repeat.txt 28138 28139Patch 8.1.0370 28140Problem: Not using internal diff if 'diffopt' is not changed. 28141Solution: Correct initialization of diff_flags. (Christian Brabandt) 28142Files: src/diff.c 28143 28144Patch 8.1.0371 28145Problem: Argument types for select() may be wrong. 28146Solution: Use a configure macro. (Tobias Ulmer) 28147Files: src/config.h.in, src/configure.ac, src/auto/configure, 28148 src/os_unix.c 28149 28150Patch 8.1.0372 28151Problem: Screen updating slow when 'cursorline' is set. 28152Solution: Only redraw the old and new cursor line, not all lines. 28153Files: src/edit.c, src/move.c, src/screen.c, src/proto/screen.pro 28154 28155Patch 8.1.0373 (after 8.1.0372) 28156Problem: Screen updating still slow when 'cursorline' is set. 28157Solution: Fix setting last_cursorline. 28158Files: src/move.c 28159 28160Patch 8.1.0374 28161Problem: Moving the cursor is slow when 'relativenumber' is set. 28162Solution: Only redraw the number column, not all lines. 28163Files: src/screen.c, src/move.c 28164 28165Patch 8.1.0375 28166Problem: Cannot use diff mode with Cygwin diff.exe. (Igor Forca) 28167Solution: Skip over unrecognized lines in the diff output. 28168Files: src/diff.c, src/testdir/test_diffmode.vim 28169 28170Patch 8.1.0376 28171Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) 28172Solution: Initialize the variable. 28173Files: src/screen.c 28174 28175Patch 8.1.0377 28176Problem: Xdiff doesn't use the Vim memory allocation functions. 28177Solution: Change the xdl_ defines. Check for out-of-memory. Rename 28178 "ignored" to "vim_ignored". 28179Files: src/xdiff/xdiff.h, src/xdiff/xpatience.c, src/xdiff/xdiffi.c, 28180 src/channel.c, src/diff.c, src/evalfunc.c, src/ex_cmds.c, 28181 src/fileio.c, src/main.c, src/mbyte.c, src/netbeans.c, 28182 src/os_unix.c, src/os_win32.c, src/ui.c, src/window.c, 28183 src/globals.h, src/term.c 28184 28185Patch 8.1.0378 28186Problem: CI build failure. 28187Solution: Include vim.h as ../vim.h. Fix compiler warning. 28188Files: src/xdiff/xdiff.h, src/xdiff/xpatience.c 28189 28190Patch 8.1.0379 28191Problem: Build dependencies are incomplete. 28192Solution: Update the build dependencies, mainly for xdiff. Adjust object 28193 directory for libvterm and xdiff. 28194Files: src/Makefile, src/configure.ac, src/auto/configure, 28195 src/libvterm/src/screen.c, src/libvterm/src/termscreen.c, 28196 src/Make_cyg_ming.mak, src/Make_mvc.mak 28197 28198Patch 8.1.0380 28199Problem: "make proto" doesn't work well. 28200Solution: Define a few more types for cproto. Update proto files. Fix that 28201 workshop didn't build. 28202Files: src/vim.h, src/protodef.h, src/if_ruby.c, src/workshop.c, 28203 src/proto/digraph.pro, src/hardcopy.pro, src/proto/option.pro, 28204 src/proto/window.pro 28205 28206Patch 8.1.0381 28207Problem: Variable declaration not at start of block. 28208Solution: Fix line ordering. 28209Files: src/xdiff/xpatience.c 28210 28211Patch 8.1.0382 28212Problem: Some make programs can't handle dependency on "xdiff/../". 28213Solution: Strip it out. 28214Files: src/Makefile 28215 28216Patch 8.1.0383 28217Problem: Missing source file rename. 28218Solution: Update the dependency. 28219Files: src/Make_mvc.mak 28220 28221Patch 8.1.0384 28222Problem: Sign ordering depends on +netbeans feature. 28223Solution: Also order signs without +netbeans. (Christian Brabandt, 28224 closes #3224) 28225Files: src/structs.h, src/buffer.c 28226 28227Patch 8.1.0385 28228Problem: Coveralls badge doesn't update. 28229Solution: Update the URL 28230Files: README.md 28231 28232Patch 8.1.0386 28233Problem: Cannot test with non-default option value. 28234Solution: Add test_option_not_set(). 28235Files: runtime/doc/eval.txt, src/option.c, src/proto/option.pro, 28236 src/evalfunc.c 28237 28238Patch 8.1.0387 28239Problem: No test for 'ambiwidth' detection. 28240Solution: Add a test. 28241Files: src/testdir/test_startup_utf8.vim 28242 28243Patch 8.1.0388 28244Problem: Coverity complains about possible NULL pointer use. 28245Solution: Use get_tv_string() instead of get_tv_string_chk(). 28246Files: src/evalfunc.c 28247 28248Patch 8.1.0389 28249Problem: :behave command is not tested. 28250Solution: Add a test. (Dominique Pelle, closes #3429) 28251Files: src/Make_all.mak, src/testdir/test_alot.vim, 28252 src/testdir/test_behave.vim 28253 28254Patch 8.1.0390 28255Problem: Scrollbars are not tested. 28256Solution: Add test_scrollbar() and a test. 28257Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_gui.vim 28258 28259Patch 8.1.0391 28260Problem: Building in a shadow directory fails. 28261Solution: Don't link the xdiff directory but what's in it. (closes #3428) 28262Files: src/Makefile 28263 28264Patch 8.1.0392 28265Problem: Error while typing :/foo/s// with 'incsearch' enabled. 28266Solution: Do not give search errors when highlighting matches. 28267Files: src/ex_docmd.c, src/proto/ex_docmd.pro, src/ex_getln.c, 28268 src/testdir/test_search.vim 28269 28270Patch 8.1.0393 28271Problem: Not all white space difference options available. 28272Solution: Add "iblank", "iwhiteall" and "iwhiteeol" to 'diffopt'. 28273Files: src/diff.c, src/testdir/test_diffmode.vim, 28274 src/testdir/dumps/Test_diff_17.dump, 28275 src/testdir/dumps/Test_diff_18.dump, 28276 src/testdir/dumps/Test_diff_19.dump, 28277 src/testdir/dumps/Test_diff_20.dump 28278 28279Patch 8.1.0394 28280Problem: Diffs are not always updated correctly. 28281Solution: When using internal diff update for any changes properly. 28282Files: src/structs.h, src/diff.c, src/proto/diff.pro, src/misc1.c, 28283 src/main.c 28284 28285Patch 8.1.0395 28286Problem: Compiler warning on 64-bit MS-Windows. 28287Solution: Add type cast. (Mike Williams) 28288Files: src/diff.c 28289 28290Patch 8.1.0396 28291Problem: Another compiler warning on 64-bit MS-Windows. 28292Solution: Add type cast. (Mike Williams) 28293Files: src/xdiff/xutils.c 28294 28295Patch 8.1.0397 28296Problem: No event triggered after updating diffs. 28297Solution: Add the DiffUpdated event. 28298Files: src/vim.h, src/diff.c, src/fileio.c, 28299 src/testdir/test_diffmode.vim, runtime/doc/autocmd.txt 28300 28301Patch 8.1.0398 28302Problem: No test for -o and -O command line arguments. 28303Solution: Add a test. (Dominique Pelle, closes #3438) 28304Files: src/testdir/test_startup.vim 28305 28306Patch 8.1.0399 28307Problem: 'hlsearch' highlight remains in other window after cancelling 28308 command. 28309Solution: Redraw all windows. Also remove unnecessary delays. (closes #3437) 28310Files: src/ex_getln.c, src/testdir/test_search.vim, 28311 src/testdir/dumps/Test_incsearch_substitute_11.dump, 28312 src/testdir/dumps/Test_incsearch_substitute_12.dump, 28313 src/testdir/dumps/Test_incsearch_substitute_13.dump 28314 28315Patch 8.1.0400 28316Problem: Using freed memory with :diffget. 28317Solution: Skip ex_diffupdate() while updating diffs. (closes #3442) 28318Files: src/diff.c 28319 28320Patch 8.1.0401 28321Problem: Can't get swap name of another buffer. 28322Solution: Add swapname(). (Ozaki Kiichi, closes #3441) 28323Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_swap.vim 28324 28325Patch 8.1.0402 28326Problem: The DiffUpdate event isn't triggered for :diffput. 28327Solution: Also trigger DiffUpdate for :diffget and :diffput. 28328Files: src/diff.c 28329 28330Patch 8.1.0403 28331Problem: Header file missing from distribution. 28332Solution: Add src/protodef.h. 28333Files: Filelist 28334 28335Patch 8.1.0404 28336Problem: Accessing invalid memory with long argument name. 28337Solution: Use item_count instead of checking for a terminating NULL. 28338 (Dominique Pelle, closes #3444) 28339Files: src/testdir/test_arglist.vim, src/version.c 28340 28341Patch 8.1.0405 28342Problem: Too many #ifdefs for GTK. 28343Solution: Define macros instead of using #ifdef. (Ken Takata, closes #3436) 28344Files: src/gui_beval.c, src/gui_gtk.c, src/gui_gtk_f.c, 28345 src/gui_gtk_x11.c, src/vim.h 28346 28347Patch 8.1.0406 28348Problem: Several command line arguments are not tested. 28349Solution: Add tests for -A, -F, -H, -p and -V. (Dominique Pelle, 28350 closes #3446) 28351Files: src/testdir/test_startup.vim 28352 28353Patch 8.1.0407 28354Problem: Quickfix code mixes using the stack and a list pointer. 28355Solution: Use a list pointer in more places. (Yegappan Lakshmanan, 28356 closes #3443) 28357Files: src/quickfix.c 28358 28359Patch 8.1.0408 28360Problem: MSVC: cannot use the "x64" native compiler option. 28361Solution: Ignore case for %Platform%. Improve documentation. (Ken Takata) 28362Files: src/INSTALLpc.txt, src/msvc2015.bat 28363 28364Patch 8.1.0409 (after 8.1.0406) 28365Problem: Startup test fails on MS-Windows. 28366Solution: Do the Arabic test in silent Ex mode. Loosen the check for -V2. 28367Files: src/testdir/test_startup.vim 28368 28369Patch 8.1.0410 28370Problem: The ex_copen() function is too long. 28371Solution: Refactor to split off two functions. (Yegappan Lakshmanan) 28372Files: src/quickfix.c 28373 28374Patch 8.1.0411 28375Problem: Renamed file missing from distribution. 28376Solution: Rename screen.c to termscreen.c (Zdenek Dohnal, closes #3449) 28377Files: Filelist 28378 28379Patch 8.1.0412 28380Problem: Cannot build with GTK 2.4. 28381Solution: Add back a few #ifdefs. (Ken Takata, closes #3447) 28382 Also support older GTK. (Tom Christensen) 28383Files: src/gui_gtk_x11.c 28384 28385Patch 8.1.0413 28386Problem: Test output is duplicated or missing. 28387Solution: Adjust the MS-Windows and Unix test makefiles. (Ken Takata, 28388 closes #3452) 28389Files: src/testdir/Make_dos.mak, src/testdir/Makefile 28390 28391Patch 8.1.0414 28392Problem: v:option_old and v:option_new are cleared when using :set in 28393 OptionSet autocmd. (Gary Johnson) 28394Solution: Don't trigger OptionSet recursively. 28395Files: src/option.c 28396 28397Patch 8.1.0415 28398Problem: Not actually using 16 colors with vtp. 28399Solution: Always use 256 colors when vtp is used. (Nobuhiro Takasaki, 28400 closes #3432) 28401Files: src/option.c, src/term.c 28402 28403Patch 8.1.0416 28404Problem: Sort doesn't report deleted lines. 28405Solution: Call msgmore(). (Christian Brabandt, closes #3454) 28406Files: src/ex_cmds.c, src/testdir/test_sort.vim 28407 28408Patch 8.1.0417 28409Problem: Several command line arguments are not tested. 28410Solution: Add tests for -m, -M, -R and -Vfile. (Dominique Pelle, 28411 closes #3458) 28412Files: src/testdir/test_startup.vim 28413 28414Patch 8.1.0418 28415Problem: MS-Windows: cannot separate Lua include and library directories. 28416Solution: Add LUA_LIBDIR and LUA_INCDIR. (Ken Takata, closes #3464) 28417Files: src/Make_cyg_ming.mak 28418 28419Patch 8.1.0419 28420Problem: Cygwin: running cproto fails with -O2. 28421Solution: Strip -O2 for cproto. (Ken Takata, closes #3465) 28422Files: src/Makefile 28423 28424Patch 8.1.0420 28425Problem: Generating vim.lib when using ActivePerl 5.20.3 or later. 28426Solution: Redefine XS_EXTERNAL(). (Ken Takata, closes #3462) 28427Files: src/if_perl.xs 28428 28429Patch 8.1.0421 28430Problem: MS-Windows: Ruby path is wrong for Ruby 1.9 and later. 28431Solution: Let -I argument depend on Ruby version. (Ken Takata, closes #3461) 28432Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 28433 28434Patch 8.1.0422 28435Problem: Cannot create map file with MinGW. 28436Solution: Add support for $MAP. (Ken Takata, closes #3460) 28437Files: src/Make_cyg_ming.mak 28438 28439Patch 8.1.0423 28440Problem: MS-Windows: using dup-close for flushing a file. 28441Solution: Use _commit(). (Ken Takata, closes #3463) 28442Files: src/memfile.c, src/os_mac.h, src/os_win32.h 28443 28444Patch 8.1.0424 28445Problem: Test output is very verbose, loading CI log is slow. 28446Solution: Redirect output to /dev/null. (Ken Takata, closes #3456) 28447Files: src/testdir/Makefile 28448 28449Patch 8.1.0425 28450Problem: ml_get error and crash with appendbufline(). (Masashi Iizuka) 28451Solution: Set per-window buffer info. (Hirohito Higashi, closes #3455) 28452Files: src/buffer.c, src/testdir/test_bufline.vim 28453 28454Patch 8.1.0426 28455Problem: Accessing invalid memory in SmcOpenConnection(). 28456Solution: Reduce size of errorstring by one. (Dominique Pelle, closes #3469) 28457Files: src/os_unix.c, src/testdir/test_startup.vim 28458 28459Patch 8.1.0427 28460Problem: MS-Windows GUI: using invalid encoded file name. 28461Solution: Drop the file name and return NULL. (Ken Takata, closes #3467) 28462Files: src/gui_w32.c 28463 28464Patch 8.1.0428 28465Problem: The :suspend command is not tested. 28466Solution: Add a test. (Dominique Pelle, closes #3472) 28467Files: src/Make_all.mak, src/testdir/test_alot.vim, 28468 src/testdir/test_suspend.vim 28469 28470Patch 8.1.0429 (after 8.1.0343) 28471Problem: No test for :lcd with 'shellslash'. 28472Solution: Add a test. (Daniel Hahler, closes #3475) 28473Files: src/testdir/test_getcwd.vim 28474 28475Patch 8.1.0430 28476Problem: Xargadd file left behind after running test. 28477Solution: Delete the file. (Dominique Pelle) 28478Files: src/testdir/test_arglist.vim 28479 28480Patch 8.1.0431 28481Problem: The qf_jump() function is too long. 28482Solution: Refactor to split it into several functions. (Yegappan Lakshmanan) 28483Files: src/quickfix.c 28484 28485Patch 8.1.0432 28486Problem: Compiler warning for signed/unsigned. 28487Solution: Add type cast. (Mike Williams) 28488Files: src/xdiff/xemit.c 28489 28490Patch 8.1.0433 28491Problem: Mapping can obtain text from inputsecret(). (Tommy Allen) 28492Solution: Disallow CTRL-R = and CTRL-\ e when using inputsecret(). 28493Files: src/ex_getln.c 28494 28495Patch 8.1.0434 28496Problem: copy_loclist() is too long. 28497Solution: Split in multiple functions. (Yegappan Lakshmanan) 28498Files: src/proto/quickfix.pro, src/quickfix.c, src/window.c 28499 28500Patch 8.1.0435 28501Problem: Cursorline highlight not removed in some situation. (Vitaly 28502 Yashin) 28503Solution: Reset last_cursorline when resetting 'cursorline'. (Christian 28504 Brabandt, closes #3481) 28505Files: src/move.c, src/proto/move.pro, src/option.c 28506 28507Patch 8.1.0436 28508Problem: Can get the text of inputsecret() with getcmdline(). (Tommy Allen) 28509Solution: Don't return the text. 28510Files: src/ex_getln.c 28511 28512Patch 8.1.0437 28513Problem: May access freed memory when syntax HL times out. (Philipp Gesang) 28514Solution: Clear b_sst_first when clearing b_sst_array. 28515Files: src/syntax.c 28516 28517Patch 8.1.0438 28518Problem: The ex_make() function is too long. 28519Solution: Split it into several functions. (Yegappan Lakshmanan) 28520Files: src/quickfix.c 28521 28522Patch 8.1.0439 28523Problem: Recursive use of getcmdline() still not protected. 28524Solution: Instead of saving the command buffer when making a call which may 28525 cause recursiveness, save the buffer when actually being called 28526 recursively. 28527Files: src/ex_getln.c, src/proto/ex_getln.pro, src/getchar.c, src/main.c 28528 28529Patch 8.1.0440 28530Problem: remove() with a range not sufficiently tested. 28531Solution: Add a test. (Dominique Pelle, closes #3497) 28532Files: src/testdir/test_listdict.vim 28533 28534Patch 8.1.0441 28535Problem: Build failure without command line history. 28536Solution: Move cmdline_init() outside of #ifdef. 28537Files: src/ex_getln.c 28538 28539Patch 8.1.0442 28540Problem: GUI: Cursor not drawn after ":redraw | sleep". 28541Solution: Flush the output. (closes #3496) 28542Files: src/ex_docmd.c 28543 28544Patch 8.1.0443 28545Problem: Unnecessary static function prototypes. 28546Solution: Remove unnecessary prototypes. 28547Files: src/arabic.c, src/blowfish.c, src/buffer.c, src/charset.c, 28548 src/crypt_zip.c, src/digraph.c, src/edit.c, src/eval.c, 28549 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, 28550 src/ex_eval.c, src/ex_getln.c, src/fileio.c, src/getchar.c, 28551 src/gui.c, src/gui_at_fs.c, src/gui_athena.c, src/gui_gtk_x11.c, 28552 src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, src/gui_w32.c, 28553 src/gui_x11.c, src/hangulin.c, src/hardcopy.c, src/if_cscope.c, 28554 src/if_mzsch.c, src/if_python3.c, src/if_xcmdsrv.c, 28555 src/integration.c, src/json.c, src/main.c, src/mbyte.c, 28556 src/memline.c, src/message.c, src/misc1.c, src/misc2.c, 28557 src/move.c, src/netbeans.c, src/normal.c, src/ops.c, src/option.c, 28558 src/os_unix.c, src/os_win32.c, src/pty.c, src/regexp.c, 28559 src/screen.c, src/search.c, src/sha256.c, src/spell.c, 28560 src/spellfile.c, src/syntax.c, src/tag.c, src/term.c, src/ui.c, 28561 src/undo.c, src/version.c, src/window.c, src/workshop.c 28562 28563Patch 8.1.0444 28564Problem: Unnecessary check for NULL pointer. 28565Solution: Remove check and call vim_free() directly. 28566Files: src/beval.c 28567 28568Patch 8.1.0445 28569Problem: Setting 'term' does not store location for termcap options. 28570Solution: Set the script context for termcap options that are changed when 28571 'term' is set. 28572Files: src/option.c, src/proto/option.pro, src/term.c, 28573 src/testdir/test_options.vim 28574 28575Patch 8.1.0446 28576Problem: Options test fails in the GUI. 28577Solution: Don't try changing 'term' in the GUI. 28578Files: src/testdir/test_options.vim 28579 28580Patch 8.1.0447 28581Problem: GUI scrollbar test fails with Athena and Motif. 28582Solution: When not using on-the-fly scrolling call normal_cmd(). 28583Files: src/evalfunc.c, src/ex_docmd.c, src/proto/ex_docmd.pro 28584 28585Patch 8.1.0448 28586Problem: Cursorline not removed when using 'cursorbind'. (Justin Keyes) 28587Solution: Store the last cursor line per window. (closes #3488) 28588Files: src/testdir/test_diffmode.vim, 28589 src/testdir/dumps/Test_diff_with_cursorline_01.dump, 28590 src/testdir/dumps/Test_diff_with_cursorline_02.dump, 28591 src/testdir/dumps/Test_diff_with_cursorline_03.dump, 28592 src/structs.h, src/move.c 28593 28594Patch 8.1.0449 28595Problem: When 'rnu' is set folded lines are not displayed correctly. 28596 (Vitaly Yashin) 28597Solution: When only redrawing line numbers do draw folded lines. 28598 (closes #3484) 28599Files: src/screen.c, src/testdir/test_fold.vim, 28600 src/testdir/dumps/Test_folds_with_rnu_01.dump, 28601 src/testdir/dumps/Test_folds_with_rnu_02.dump 28602 28603Patch 8.1.0450 (after patch 8.1.0449) 28604Problem: Build failure without the +fold feature. 28605Solution: Add #ifdef. 28606Files: src/screen.c 28607 28608Patch 8.1.0451 28609Problem: Win32 console: keypad keys don't work. 28610Solution: Use numbers instead of characters to avoid the value becoming 28611 negative. (Mike Williams) 28612Files: src/os_win32.c 28613 28614Patch 8.1.0452 28615Problem: MS-Windows: not finding intl.dll. 28616Solution: Also find intl.dll next to libintl.dll. (Ken Takata) 28617Files: src/os_win32.c, runtime/doc/mlang.txt 28618 28619Patch 8.1.0453 28620Problem: MS-Windows: executable() is not reliable. 28621Solution: Use $PATHEXT properly. (Yasuhiro Matsumoto, closes #3512) 28622Files: src/os_win32.c, src/testdir/test_functions.vim 28623 28624Patch 8.1.0454 28625Problem: resolve() was not tested with a symlink cycle. 28626Solution: Add a test. (Dominique Pelle, closes #3513) 28627Files: src/testdir/test_functions.vim 28628 28629Patch 8.1.0455 28630Problem: Checking for empty quickfix stack is not consistent. 28631Solution: Use qf_stack_empty(). (Yegappan Lakshmanan) 28632Files: src/quickfix.c 28633 28634Patch 8.1.0456 28635Problem: Running test hangs when the input file is being edited. 28636Solution: Use a SwapExists autocommand to ignore editing the test script. 28637Files: src/testdir/Makefile, src/testdir/runtest.vim 28638 28639Patch 8.1.0457 (after 8.1.0451) 28640Problem: Win32 console: key mappings don't work. 28641Solution: Use another solution for the keypad keys that doesn't break 28642 mappings. Some values will be negative. (Mike Williams) 28643Files: src/os_win32.c 28644 28645Patch 8.1.0458 28646Problem: Ml_get error and crash when using "do". 28647Solution: Adjust cursor position also when diffupdate is not needed. 28648 (Hirohito Higashi) 28649Files: src/diff.c, src/testdir/test_diffmode.vim 28650 28651Patch 8.1.0459 28652Problem: Test_executable fails when there is a dog in the system. 28653Solution: Rename the dog. (Hirohito Higashi) 28654Files: src/testdir/test_functions.vim 28655 28656Patch 8.1.0460 28657Problem: assert_fails() does not take a message argument 28658Solution: Add the argument. 28659Files: src/evalfunc.c, src/eval.c, src/testdir/test_assert.vim 28660 28661Patch 8.1.0461 28662Problem: Quickfix code uses too many /* */ comments. 28663Solution: Change to // comments. (Yegappan Lakshmanan) 28664Files: src/quickfix.c 28665 28666Patch 8.1.0462 28667Problem: When using ConPTY Vim can be a child process. 28668Solution: To find a Vim window use both EnumWindows() and 28669 EnumChildWindows(). (Nobuhiro Takasaki, closes #3521) 28670Files: src/os_mswin.c 28671 28672Patch 8.1.0463 28673Problem: "simalt ~x" in .vimrc blocks swap file prompt. 28674Solution: Flush buffers before prompting. (Yasuhiro Matsumoto, 28675 closes #3518, closes #2192) 28676Files: src/memline.c 28677 28678Patch 8.1.0464 28679Problem: MS-Windows: job_info() has cmd without backslashes. (Daniel 28680 Hahler) 28681Solution: Use rem_backslash(). (closes #3517, closes #3404) Add a test. 28682 (Yasuhiro Matsumoto) 28683Files: src/misc2.c, src/testdir/test_channel.vim 28684 28685Patch 8.1.0465 (after 8.1.0452) 28686Problem: Client-server test fails. 28687Solution: Change logic in EnumWindows(). 28688Files: src/os_mswin.c 28689 28690Patch 8.1.0466 (after 8.1.0463) 28691Problem: Autocmd test fails. 28692Solution: Do call inchar() when flushing typeahead. 28693Files: src/vim.h, src/getchar.c, src/proto/getchar.pro, src/memline.c, 28694 src/message.c, src/misc1.c 28695 28696Patch 8.1.0467 (after 8.1.0063) 28697Problem: Cannot build with Mac OS X 10.5. 28698Solution: Change #ifdef into #if. (Akshay Hegde, closes #3022) 28699Files: src/os_macosx.m 28700 28701Patch 8.1.0468 28702Problem: MS-Windows: Filter command with pipe character fails. (Johannes 28703 Riecken) 28704Solution: Find the pipe character outside of quotes. (Yasuhiro Matsumoto, 28705 closes #1743, closes #3523) 28706Files: src/ex_cmds.c, src/testdir/test_filter_cmd.vim 28707 28708Patch 8.1.0469 28709Problem: Too often indexing in qf_lists[]. 28710Solution: Use a qf_list_T pointer. (Yegappan Lakshmanan) 28711Files: src/quickfix.c, src/testdir/test_quickfix.vim 28712 28713Patch 8.1.0470 28714Problem: Pointer ownership around fname_expand() is unclear. 28715Solution: Allow b_ffname and b_sfname to point to the same allocated memory, 28716 only free one. Update comments. 28717Files: src/buffer.c, src/structs.h, src/fileio.c, src/ex_cmds.c 28718 28719Patch 8.1.0471 28720Problem: Some tests are flaky or fail on some systems. 28721Solution: Increase waiting time for port number. Use "cmd /c" to execute 28722 "echo" on win32. (Ken Takata, closes #3534) 28723Files: src/testdir/shared.vim, src/testdir/test_channel.vim 28724 28725Patch 8.1.0472 28726Problem: Dosinst command has a few flaws. 28727Solution: Register DisplayIcon, DisplayVersion and Publisher for the 28728 uninstaller. (closes #3485) Don't set 'diffexpr' if internal diff 28729 is supported. Allow for using Vi compatible from the command line. 28730 Remove needless sleeps. Add comments in the generated _vimrc. 28731 (Ken Takata, closes #3525) 28732Files: src/dosinst.c 28733 28734Patch 8.1.0473 28735Problem: User doesn't notice file does not exist when swap file does. 28736Solution: Add a note that the file cannot be found. Make the "still 28737 running" notice stand out. 28738Files: src/memline.c 28739 28740Patch 8.1.0474 28741Problem: Directory where if_perl.c is written is inconsistent. 28742Solution: use auto/if_perl.c for MS-Windows. (Ken Takata, closes #3540) 28743Files: src/Make_bc5.mak, src/Make_cyg_ming.mak, src/Make_mvc.mak 28744 28745Patch 8.1.0475 28746Problem: Memory not freed on exit when quit in autocmd. 28747Solution: Remember funccal stack when executing autocmd. 28748Files: src/structs.h, src/userfunc.c, src/proto/userfunc.pro, 28749 src/fileio.c, src/eval.c, src/ex_cmds2.c, src/main.c 28750 28751Patch 8.1.0476 28752Problem: Memory leaks in test_escaped_glob. 28753Solution: Avoid failure when running the shell, use the sandbox. 28754Files: src/testdir/test_escaped_glob.vim 28755 28756Patch 8.1.0477 (after 8.1.0475) 28757Problem: Tiny build fails. 28758Solution: Add a dummy declaration for funccal_entry_T. 28759Files: src/structs.h 28760 28761Patch 8.1.0478 28762Problem: Cannot build with perl using MinGW. 28763Solution: Add -I. (Ken Takata, Cesar Romani) 28764Files: src/Make_cyg_ming.mak 28765 28766Patch 8.1.0479 28767Problem: Failure when setting 'varsofttabstop' to end in a comma. (Ralf 28768 Schandl) 28769Solution: Reject value with trailing comma. Add test for invalid values 28770 (closes #3544) 28771Files: src/testdir/test_vartabs.vim, src/option.c 28772 28773Patch 8.1.0480 28774Problem: MinGW build file uses different -I flags than MVC. 28775Solution: Add -I to $CFLAGS. (Ken Takata) 28776Files: src/Make_cyg_ming.mak 28777 28778Patch 8.1.0481 28779Problem: When "Terminal" highlight is reverted cursor doesn't show. 28780Solution: Get the colors of the "Terminal" group. (closes #3546) 28781Files: src/terminal.c 28782 28783Patch 8.1.0482 28784Problem: MinGW "make clean" deletes all .exe files. 28785Solution: Only delete .exe files that it builds. (Ken Takata) 28786Files: src/Make_cyg_ming.mak 28787 28788Patch 8.1.0483 28789Problem: MinGW does not build tee.exe. 28790Solution: Add build instructions. (Yasuhiro Matsumoto, closes #3548) 28791Files: src/Make_cyg_ming.mak, src/tee/Makefile 28792 28793Patch 8.1.0484 28794Problem: Some file types are not recognized. 28795Solution: Update the file type detection. 28796Files: runtime/filetype.vim, src/testdir/test_filetype.vim 28797 28798Patch 8.1.0485 28799Problem: term_start() does not check if directory is accessible. 28800Solution: Add mch_access() call. (Jason Franklin) 28801Files: src/channel.c, src/testdir/test_terminal.vim 28802 28803Patch 8.1.0486 (after 8.1.0485) 28804Problem: Can't build in MS-Windows. 28805Solution: Put mch_access() call inside #ifdef 28806Files: src/channel.c 28807 28808Patch 8.1.0487 28809Problem: No menus specifically for the terminal window. 28810Solution: Add :tlmenu. (Yee Cheng Chin, closes #3439) Add a menu test. 28811Files: runtime/delmenu.vim, runtime/doc/autocmd.txt, runtime/doc/gui.txt, 28812 runtime/doc/index.txt, runtime/doc/terminal.txt, 28813 runtime/doc/usr_42.txt, runtime/menu.vim, src/ex_cmdidxs.h, 28814 src/ex_cmds.h, src/ex_docmd.c, src/menu.c, src/proto/menu.pro, 28815 src/popupmnu.c, src/structs.h, src/testdir/test_menu.vim 28816 28817Patch 8.1.0488 28818Problem: Using freed memory in quickfix code. (Dominique Pelle) 28819Solution: Add the quickfix_busy() flag to postpone deleting quickfix lists 28820 until it is safe. (Yegappan Lakshmanan, closes #3538) 28821Files: src/quickfix.c, src/proto/quickfix.pro, src/misc2.c, 28822 src/testdir/test_quickfix.vim 28823 28824Patch 8.1.0489 28825Problem: Crash when autocmd clears vimpgrep location list. 28826Solution: Return from qf_jump_edit_buffer() early. (Yegappan Lakshmanan) 28827Files: src/quickfix.c, src/testdir/test_quickfix.vim 28828 28829Patch 8.1.0490 28830Problem: MS-Windows: doesn't handle missing libwinpthread-1.dll. 28831Solution: Adjust Cygwin/MinGW build file. (Ken Takata, closes #2827) 28832Files: src/Make_cyg_ming.mak 28833 28834Patch 8.1.0491 28835Problem: If a terminal dump has CR it is considered corrupt. 28836Solution: Ignore CR characters. (Nobuhiro Takasaki, closes #3558) 28837Files: src/terminal.c 28838 28839Patch 8.1.0492 28840Problem: "Edit with existing Vim" list can get long. 28841Solution: Move the list to a submenu. (Ken Takata, closes #3561) 28842Files: src/GvimExt/gvimext.cpp 28843 28844Patch 8.1.0493 28845Problem: argv() and argc() only work on the current argument list. 28846Solution: Add a window ID argument. (Yegappan Lakshmanan, closes #832) 28847Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_arglist.vim, 28848 src/eval.c, src/proto/eval.pro 28849 28850Patch 8.1.0494 28851Problem: Functions do not check for a window ID in other tabs. 28852Solution: Also find the window ID in other than the current tab. 28853Files: src/evalfunc.c 28854 28855Patch 8.1.0495 28856Problem: :filter only supports some commands. 28857Solution: Add :filter support for more commands. (Marcin Szamotulski, 28858 closes #2856) 28859Files: runtime/doc/various.txt, src/eval.c, src/mark.c, src/option.c, 28860 src/syntax.c, src/testdir/test_filter_cmd.vim, src/userfunc.c 28861 28862Patch 8.1.0496 28863Problem: No tests for indent files. 28864Solution: Add a mechanism for running indent file tests. Add a first test 28865 for Vim indenting. 28866Files: runtime/indent/Makefile, runtime/indent/testdir/runtest.vim, 28867 runtime/indent/testdir/cleantest.vim, runtime/indent/README.txt, 28868 runtime/indent/testdir/README.txt, runtime/indent/testdir/vim.in, 28869 runtime/indent/testdir/vim.ok, Filelist 28870 28871Patch 8.1.0497 28872Problem: :%diffput changes order of lines. (Markus Braun) 28873Solution: Do adjust marks when using internal diff. 28874Files: src/diff.c, src/testdir/test_diffmode.vim 28875 28876Patch 8.1.0498 28877Problem: /etc/gitconfig not recognized at a gitconfig file. 28878Solution: Add pattern to filetype detection. (closes #3568) 28879Files: runtime/filetype.vim, src/testdir/test_filetype.vim 28880 28881Patch 8.1.0499 28882Problem: :2vimgrep causes an ml_get error 28883Solution: Pass tomatch pointer instead of value. (Yegappan Lakshmanan) 28884Files: src/ex_getln.c, src/quickfix.c, src/testdir/test_quickfix.vim 28885 28886Patch 8.1.0500 28887Problem: Cleaning up in src/tee may not always work. 28888Solution: Use "rm" when appropriate. (Michael Soyka, closes #3571) 28889Files: src/tee/Makefile 28890 28891Patch 8.1.0501 28892Problem: Cppcheck warns for using array index before bounds check. 28893Solution: Swap the conditions. (Dominique Pelle) 28894Files: src/memline.c 28895 28896Patch 8.1.0502 28897Problem: Internal diff fails when diffing a context diff. (Hirohito Higashi) 28898Solution: Only use callback calls with one line. (closes #3581) 28899Files: src/diff.c, src/testdir/dumps/test_diff_of_diff_01.dump 28900 28901Patch 8.1.0503 28902Problem: Missing change to diff test. (Hirohito Higashi) 28903Solution: Add the missing test function. 28904Files: src/testdir/test_diffmode.vim 28905 28906Patch 8.1.0504 28907Problem: When CTRL-C is mapped it triggers InsertLeave. 28908Solution: Make CTRL-C behave the same way when typed or used in a mapping. 28909Files: src/edit.c, src/testdir/test_edit.vim 28910 28911Patch 8.1.0505 28912Problem: Filter command test may fail if helplang is not set. 28913Solution: Set 'helplang' for the test. (James McCoy, closes #3591) 28914Files: src/testdir/test_filter_cmd.vim 28915 28916Patch 8.1.0506 28917Problem: Modeline test fails when run by root. 28918Solution: Set 'modeline' for the test. (James McCoy, closes #3592) 28919Files: src/testdir/test_modeline.vim 28920 28921Patch 8.1.0507 28922Problem: .raml files not properly detected. 28923Solution: Recognize .raml as raml instead of yaml. (closes #3594) 28924Files: runtime/filetype.vim, src/testdir/test_filetype.vim 28925 28926Patch 8.1.0508 28927Problem: Suspend test fails when run by root. 28928Solution: Accept both '$' and '#' for the prompt. (James McCoy, closes #3590) 28929Files: src/testdir/test_suspend.vim 28930 28931Patch 8.1.0509 28932Problem: Checking cwd not accessible fails for root. (James McCoy) 28933Solution: Skip this part of the test for root. (closes #3595) 28934Files: src/testdir/test_terminal.vim 28935 28936Patch 8.1.0510 28937Problem: Filter test fails when $LANG is C.UTF-8. 28938Solution: Set 'helplang' to "en" for any C language. (Christian Brabandt, 28939 closes #3577) 28940Files: src/option.c 28941 28942Patch 8.1.0511 28943Problem: ml_get error when calling a function with a range. 28944Solution: Don't position the cursor after the last line. 28945Files: src/userfunc.c, src/testdir/test_functions.vim 28946 28947Patch 8.1.0512 28948Problem: 'helplang' default is inconsistent for C and C.UTF-8. 28949Solution: Don't accept a value unless it starts with two letters. 28950Files: src/ex_cmds2.c 28951 28952Patch 8.1.0513 28953Problem: No error for set diffopt+=algorithm:. 28954Solution: Check for missing argument. (Hirohito Higashi, closes #3598) 28955Files: src/diff.c, src/testdir/gen_opt_test.vim 28956 28957Patch 8.1.0514 28958Problem: CTRL-W ^ does not work when alternate buffer has no name. 28959Solution: Use another method to split and edit the alternate buffer. (Jason 28960 Franklin) 28961Files: src/testdir/test_normal.vim, src/testdir/test_window_cmd.vim, 28962 src/normal.c, src/window.c, runtime/doc/windows.txt 28963 28964Patch 8.1.0515 28965Problem: Reloading a script gives errors for existing functions. 28966Solution: Allow redefining a function once when reloading a script. 28967Files: src/testdir/test_functions.vim, src/userfunc.c, src/structs.h, 28968 src/globals.h, src/buffer.c, src/ex_cmds2.c, src/main.c, 28969 src/option.c, runtime/doc/eval.txt 28970 28971Patch 8.1.0516 28972Problem: :move command marks buffer modified when nothing changed. 28973Solution: Do not set 'modified'. Add a test. (Jason Franklin) 28974Files: src/Make_all.mak, src/testdir/test_alot.vim, 28975 src/testdir/test_move.vim, src/ex_cmds.c 28976 28977Patch 8.1.0517 28978Problem: Test_window_split_edit_alternate() fails on AppVeyor. 28979Solution: Disable the failing part for now. 28980Files: src/testdir/test_window_cmd.vim 28981 28982Patch 8.1.0518 28983Problem: Test_window_split_edit_bufnr() fails on AppVeyor. 28984Solution: Disable the failing part for now. 28985Files: src/testdir/test_window_cmd.vim 28986 28987Patch 8.1.0519 28988Problem: Cannot save and restore the tag stack. 28989Solution: Add gettagstack() and settagstack(). (Yegappan Lakshmanan, 28990 closes #3604) 28991Files: runtime/doc/eval.txt, runtime/doc/tagsrch.txt, 28992 runtime/doc/usr_41.txt, src/alloc.h, src/dict.c, src/evalfunc.c, 28993 src/list.c, src/misc2.c, src/proto/dict.pro, src/proto/list.pro, 28994 src/proto/misc2.pro, src/proto/tag.pro, src/tag.c, 28995 src/testdir/test_tagjump.vim 28996 28997Patch 8.1.0520 28998Problem: Screen diff test sometimes fails. 28999Solution: Add to list of flaky tests. 29000Files: src/testdir/runtest.vim 29001 29002Patch 8.1.0521 29003Problem: Cannot build with +eval but without +quickfix. 29004Solution: Remove #ifdef for e_stringreq. (John Marriott) 29005Files: src/evalfunc.c 29006 29007Patch 8.1.0522 29008Problem: :terminal does not show trailing empty lines. 29009Solution: Add empty lines. (Hirohito Higashi, closes #3605) 29010Files: src/terminal.c, src/testdir/test_terminal.vim 29011 29012Patch 8.1.0523 29013Problem: Opening window from quickfix leaves empty buffer behind. 29014Solution: Add qf_jump_newwin(). (Yegappan Lakshmanan, closes #2574) 29015Files: src/proto/quickfix.pro, src/quickfix.c, 29016 src/testdir/test_quickfix.vim 29017 29018Patch 8.1.0524 (after 8.1.0522) 29019Problem: Terminal test fails on Windows. 29020Solution: Skip Test_terminal_does_not_truncate_last_newlines() for now. 29021Files: src/testdir/test_terminal.vim 29022 29023Patch 8.1.0525 (after 8.1.0524) 29024Problem: Terminal test skips part on Windows. 29025Solution: Fix Test_terminal_does_not_truncate_last_newlines(). (Hirohito 29026 Higashi, closes #3606) 29027Files: src/Make_mvc.mak, src/testdir/test_terminal.vim 29028 29029Patch 8.1.0526 29030Problem: Running out of signal stack in RealWaitForChar. (Vladimir Marek) 29031Solution: Make the fd_set variables static. 29032Files: src/os_unix.c 29033 29034Patch 8.1.0527 29035Problem: Using 'shiftwidth' from wrong buffer for folding. 29036Solution: Use "buf" instead of "curbuf". (Christian Brabandt) 29037Files: src/fold.c 29038 29039Patch 8.1.0528 29040Problem: Various typos in comments. 29041Solution: Fix the typos. 29042Files: src/fileio.c, src/gui.c, src/macros.h, src/screen.c, src/search.c, 29043 src/spell.c, src/spellfile.c, src/vim.h, src/testdir/README.txt, 29044 src/INSTALL, src/gui_athena.c, src/gui_gtk.c, src/gui_gtk_x11.c, 29045 src/gui_motif.c, src/gui_xmebw.c, src/if_tcl.c, src/os_amiga.c, 29046 src/gui_w32.c, src/os_win32.c, src/gui_mac.c, src/os_vms_fix.com 29047 29048Patch 8.1.0529 29049Problem: Flaky test sometimes fails in different ways. 29050Solution: When the second run gives a different error, try running the test 29051 again, up to five times. 29052Files: src/testdir/runtest.vim 29053 29054Patch 8.1.0530 29055Problem: Channel and terminal tests that start a server can be flaky. 29056Solution: Add all channel and terminal tests that start a server to the list 29057 of flaky tests. 29058Files: src/testdir/runtest.vim 29059 29060Patch 8.1.0531 29061Problem: Flaky tests often fail with a common error message. 29062Solution: Add a pattern to match an error message indicating a flaky test. 29063Files: src/testdir/runtest.vim 29064 29065Patch 8.1.0532 29066Problem: Cannot distinguish between quickfix and location list. 29067Solution: Add an explicit type variable. (Yegappan Lakshmanan) 29068Files: src/quickfix.c 29069 29070Patch 8.1.0533 29071Problem: Screendump tests can be flaky. 29072Solution: Add VerifyScreenDump to the pattern of flaky tests. 29073Files: src/testdir/runtest.vim 29074 29075Patch 8.1.0534 29076Problem: MS-Windows installer uses different $HOME than Vim. 29077Solution: Use the Vim logic also in the MS-Windows installer. (Ken Takata, 29078 closes #3564) 29079Files: src/dosinst.c, src/misc1.c 29080 29081Patch 8.1.0535 29082Problem: Increment/decrement might get interrupted by updating folds. 29083Solution: Disable fold updating for a moment. (Christian Brabandt, 29084 closes #3599) 29085Files: src/ops.c 29086 29087Patch 8.1.0536 29088Problem: File time test fails when using NFS. 29089Solution: Use three file times instead of localtim(). (James McCoy, 29090 closes #3618) 29091Files: src/testdir/test_stat.vim 29092 29093Patch 8.1.0537 29094Problem: ui_breakcheck() may be called recursively, which doesn't work. 29095Solution: When called recursively, just return. (James McCoy, closes #3617) 29096Files: src/ui.c 29097 29098Patch 8.1.0538 29099Problem: Evaluating a modeline might invoke using a shell command. (Paul 29100 Huber) 29101Solution: Set the sandbox flag when setting options from a modeline. 29102Files: src/buffer.c 29103 29104Patch 8.1.0539 29105Problem: Cannot build without the sandbox. 29106Solution: Set the secure option instead of using the sandbox. Also restrict 29107 the characters from 'spelllang' that are used for LANG.vim. 29108 (suggested by Yasuhiro Matsumoto) 29109Files: runtime/doc/options.txt, src/buffer.c, src/option.c 29110 29111Patch 8.1.0540 29112Problem: May evaluate insecure value when appending to option. 29113Solution: Set the secure flag when changing an option that was previously 29114 set insecurely. Also allow numbers for the characters from 29115 'spelllang' that are used for LANG.vim. (closes #3623) 29116Files: src/option.c 29117 29118Patch 8.1.0541 29119Problem: Help message in dosinst.c is outdated. 29120Solution: Update the comment. (Ken Takata, closes #3626) 29121Files: src/dosinst.c 29122 29123Patch 8.1.0542 29124Problem: shiftwidth() does not take 'vartabstop' into account. 29125Solution: Use the cursor position or a position explicitly passed. 29126 Also make >> and << work better with 'vartabstop'. (Christian 29127 Brabandt) 29128Files: runtime/doc/change.txt, runtime/doc/eval.txt, src/edit.c, 29129 src/evalfunc.c, src/normal.c, src/ops.c, src/option.c, 29130 src/proto/edit.pro, src/proto/option.pro, 29131 src/testdir/test_vartabs.vim 29132 29133Patch 8.1.0543 29134Problem: Coverity warns for leaking memory and using wrong struct. 29135Solution: Free pointer when allocation fails. Change "boff" to "loff". 29136 (closes #3634) 29137Files: src/ex_getln.c, src/move.c 29138 29139Patch 8.1.0544 (after 8.1.0540) 29140Problem: Setting 'filetype' in a modeline causes an error (Hirohito 29141 Higashi). 29142Solution: Don't add the P_INSECURE flag when setting 'filetype' from a 29143 modeline. Also for 'syntax'. 29144Files: src/option.c, src/testdir/test_modeline.vim 29145 29146Patch 8.1.0545 29147Problem: When executing indent tests user preferences interfere. 29148Solution: Add "--clean". 29149Files: runtime/indent/Makefile, runtime/indent/testdir/runtest.vim 29150 29151Patch 8.1.0546 29152Problem: Modeline test with keymap fails. 29153Solution: Check that the keymap feature is available. 29154Files: src/testdir/test_modeline.vim 29155 29156Patch 8.1.0547 29157Problem: Modeline test with keymap still fails. 29158Solution: Check that the keymap feature is available for the failure assert. 29159Files: src/testdir/test_modeline.vim 29160 29161Patch 8.1.0548 29162Problem: Crash when job callback unloads a buffer. (James McCoy) 29163Solution: Don't round up the wait time to 10 msec in ui_inchar(). 29164Files: src/ui.c 29165 29166Patch 8.1.0549 29167Problem: Netbeans test depends on README.txt contents. 29168Solution: Use a generated file instead. 29169Files: src/testdir/test_netbeans.vim, src/testdir/test_netbeans.py 29170 29171Patch 8.1.0550 29172Problem: Expression evaluation may repeat an error message. (Jason 29173 Franklin) 29174Solution: Increment did_emsg and check for the value when giving an error 29175 for the echo command. 29176Files: src/message.c, src/eval.c, src/testdir/test108.ok 29177 29178Patch 8.1.0551 (after 8.1.0550) 29179Problem: Expression evaluation may repeat an error message. (Jason 29180 Franklin) 29181Solution: Check for the value of did_emsg when giving an error 29182 for the :execute command. 29183Files: src/eval.c 29184 29185Patch 8.1.0552 29186Problem: Saved last search pattern may not be restored. 29187Solution: Call restore_last_search_pattern(). Add a check for balancing 29188 saving and restoring the last search pattern. 29189Files: src/ex_getln.c, src/search.c 29190 29191Patch 8.1.0553 29192Problem: It is not easy to edit a script that was sourced. 29193Solution: Add a count to ":scriptnames", so that ":script 40" edits the 29194 script with script ID 40. 29195Files: src/ex_cmds.h, src/ex_cmds2.c, src/testdir/test_scriptnames.vim, 29196 src/Make_all.mak, src/testdir/Make_all.mak, runtime/doc/repeat.txt 29197 29198Patch 8.1.0554 29199Problem: Popup menu overlaps with preview window. 29200Solution: Adjust the height computation. (Hirohito Higashi, closes #3414) 29201Files: src/popupmnu.c, src/testdir/test_popup.vim, 29202 src/testdir/dumps/Test_popup_and_previewwindow_01.dump 29203 29204Patch 8.1.0555 29205Problem: Crash when last search pat is set but not last substitute pat. 29206Solution: Do not mix up last search pattern and last substitute pattern. 29207 (closes #3647) 29208Files: src/search.c, src/testdir/test_search.vim 29209 29210Patch 8.1.0556 29211Problem: Saving/restoring search patterns share saved last_idx. 29212Solution: Use a separate saved last_idx for saving search patterns for 29213 functions and incremental search. 29214Files: src/search.c 29215 29216Patch 8.1.0557 29217Problem: Termdebug: gdb may use X.Y for breakpoint number. (Ryou Ezoe) 29218Solution: Handle X.Y breakpoint numbers. (Yasuhiro Matsumoto, close #3641) 29219Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 29220 29221Patch 8.1.0558 29222Problem: Some MS-Windows instructions are outdated. 29223Solution: Update the uninstall instructions and the NSIS README. (Ken 29224 Takata, closes #3614) Also update remark about diff.exe. 29225Files: nsis/README.txt, uninstal.txt 29226 29227Patch 8.1.0559 29228Problem: Command line completion not sufficiently tested. 29229Solution: Add more tests. (Dominique Pelle, closes #3622) 29230Files: src/testdir/test_arglist.vim, src/testdir/test_filetype.vim, 29231 src/testdir/test_history.vim, src/testdir/test_messages.vim, 29232 src/testdir/test_syntax.vim 29233 29234Patch 8.1.0560 29235Problem: Cannot use address type "other" with user command. 29236Solution: Add "other" to the list. (Daniel Hahler, closes #3655) Also 29237 reject "%" for commands with "other". Add some more tests. 29238Files: src/ex_docmd.c, src/testdir/test_usercommands.vim 29239 29240Patch 8.1.0561 29241Problem: MSVC error format has changed. 29242Solution: Make the space between the line number and colon optional. 29243Files: src/option.h 29244 29245Patch 8.1.0562 29246Problem: Parsing of 'diffopt' is slightly wrong. 29247Solution: Fix the parsing and add a test. (Jason Franklin, Christian 29248 Brabandt) 29249Files: src/diff.c, src/testdir/test_diffmode.vim, 29250 src/testdir/dumps/Test_diff_09.dump, 29251 src/testdir/dumps/Test_diff_11.dump, src/testdir/screendump.vim 29252 29253Patch 8.1.0563 29254Problem: Setting v:errors to a string give confusing error. (Christian 29255 Brabandt) 29256Solution: Change internal error into normal error message. 29257Files: src/eval.c 29258 29259Patch 8.1.0564 29260Problem: Setting v:errors to wrong type still possible. 29261Solution: Return after giving an error message. (Christian Brabandt) 29262Files: src/eval.c, src/testdir/test_eval_stuff.vim 29263 29264Patch 8.1.0565 29265Problem: Asan complains about reading before allocated block. 29266Solution: Workaround: Avoid offset from becoming negative. 29267Files: src/gui.c 29268 29269Patch 8.1.0566 29270Problem: SGR not enabled for mintty because $TERM is "xterm". 29271Solution: Detect mintty by the termresponse. (Ken Takata, closes #3667) 29272Files: src/term.c 29273 29274Patch 8.1.0567 (after 8.1.0565) 29275Problem: Error for NUL byte in ScreenLines goes unnoticed. 29276Solution: Add an internal error message. 29277Files: src/gui.c 29278 29279Patch 8.1.0568 (after 8.1.0567) 29280Problem: Error message for NUL byte in ScreenLines breaks Travis CI. 29281Solution: Use a normal message fornow. 29282Files: src/gui.c 29283 29284Patch 8.1.0569 29285Problem: Execute() always resets display column to zero. (Sha Liu) 29286Solution: Don't reset it to zero, restore the previous value. (closes #3669) 29287Files: src/evalfunc.c, src/testdir/test_execute_func.vim 29288 29289Patch 8.1.0570 29290Problem: 'commentstring' not used when adding fold marker. (Maxim Kim) 29291Solution: Only use empty 'comments' middle when leader is empty. (Christian 29292 Brabandt, closes #3670) 29293Files: src/misc1.c, src/testdir/test_fold.vim 29294 29295Patch 8.1.0571 (after 8.1.0569) 29296Problem: Non-silent execute() resets display column to zero. 29297Solution: Keep the display column as-is. 29298Files: src/evalfunc.c, src/testdir/test_execute_func.vim 29299 29300Patch 8.1.0572 29301Problem: Stopping a job does not work properly on OpenBSD. 29302Solution: Do not use getpgid() to check the process group of the job 29303 process ID, always pass the negative process ID to kill(). 29304 (George Koehler, closes #3656) 29305Files: src/os_unix.c 29306 29307Patch 8.1.0573 29308Problem: Cannot redefine user command without ! in same script 29309Solution: Allow redefining user command without ! in same script, like with 29310 functions. 29311Files: src/ex_docmd.c, src/testdir/test_usercommands.vim, 29312 runtime/doc/map.txt 29313 29314Patch 8.1.0574 29315Problem: 'commentstring' not used when adding fold marker in C. 29316Solution: Require white space before middle comment part. (mostly by 29317 Hirohito Higashi) 29318Files: src/misc1.c, src/testdir/test_fold.vim 29319 29320Patch 8.1.0575 29321Problem: Termdebug: clearing multi-breakpoint does not work. 29322Solution: Delete all X.Y breakpoints. Keep more information about placed 29323 breakpoints. (Ozaki Kiichi, closes #3641) 29324Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 29325 29326Patch 8.1.0576 29327Problem: Indent script tests pick up installed scripts. 29328Solution: Use current runtime indent scripts. 29329Files: runtime/indent/Makefile 29330 29331Patch 8.1.0577 29332Problem: Tabpage right-click menu never shows "Close tab". 29333Solution: Always create the "Close tab" item but ignore the event if there 29334 is only one tab. 29335Files: src/gui_gtk_x11.c, src/gui_mac.c, src/gui_motif.c, src/gui.c 29336 29337Patch 8.1.0578 29338Problem: Cannot disable arabic, rightleft and farsi in configure. 29339Solution: Add configure flags. (Diego Fernando Carrión, closes #1867) 29340Files: src/configure.ac, src/auto/configure, src/config.h.in, 29341 src/feature.h, src/Makefile 29342 29343Patch 8.1.0579 29344Problem: Cannot attach properties to text. 29345Solution: First part of adding text properties. 29346Files: Filelist, runtime/doc/Makefile, runtime/doc/eval.txt, 29347 runtime/doc/textprop.txt, src/Make_all.mak, src/Make_cyg_ming.mak, 29348 src/Make_mvc.mak, src/Makefile, src/buffer.c, src/edit.c, 29349 src/evalfunc.c, src/feature.h, src/memline.c, src/misc1.c, 29350 src/misc2.c, src/proto.h, src/proto/memline.pro, 29351 src/proto/textprop.pro, src/screen.c, src/structs.h, 29352 src/testdir/Make_all.mak, src/testdir/test_textprop.vim, 29353 src/textprop.c, src/userfunc.c, src/version.c 29354 29355Patch 8.1.0580 29356Problem: Invalid memory access when using text properties. 29357Solution: Disable text properties for now. 29358Files: src/feature.h 29359 29360Patch 8.1.0581 29361Problem: Double free without the text properties feature. 29362Solution: Reset the dirty flag. 29363Files: src/memline.c 29364 29365Patch 8.1.0582 29366Problem: Text properties are not enabled. 29367Solution: Fix sizeof argument and re-enable the text properties feature. 29368 Fix memory leak. 29369Files: src/feature.h, src/textprop.c 29370 29371Patch 8.1.0583 29372Problem: Using illogical name for get_dict_number()/get_dict_string(). 29373Solution: Rename to start with dict_. 29374Files: src/dict.c, src/proto/dict.pro, src/edit.c, src/eval.c, 29375 src/evalfunc.c, src/quickfix.c, src/tag.c, src/terminal.c, 29376 src/textprop.c 29377 29378Patch 8.1.0584 29379Problem: With search CTRL-L does not pick up composing characters. 29380Solution: Check for composing characters. (Christian Brabandt, closes #3682) 29381 [code change was accidentally included in 8.1.0579] 29382Files: src/testdir/test_search.vim 29383 29384Patch 8.1.0585 29385Problem: Undo test may fail on MS-Windows. 29386Solution: Also handle lower case drive letters. 29387Files: src/testdir/test_undo.vim 29388 29389Patch 8.1.0586 29390Problem: :digraph output is not easy to read. 29391Solution: Add highlighting for :digraphs. (Marcin Szamotulski, closes #3572) 29392 Also add section headers for :digraphs!. 29393Files: src/ex_docmd.c, src/digraph.c, src/proto/digraph.pro, 29394 src/ex_cmds.h, runtime/doc/digraph.txt 29395 29396Patch 8.1.0587 29397Problem: GvimExt: realloc() failing is not handled properly. 29398Solution: Check for NULL return. (Jan-Jaap Korpershoek, closes #3689) 29399Files: src/GvimExt/gvimext.cpp 29400 29401Patch 8.1.0588 29402Problem: Cannot define a sign with space in the text. 29403Solution: Allow for escaping characters. (Ben Jackson, closes #2967) 29404Files: src/ex_cmds.c, src/testdir/test_signs.vim 29405 29406Patch 8.1.0589 29407Problem: Compilation error in gvimext.cpp. 29408Solution: Return a value. Also fix using uninitialized variable. 29409Files: src/GvimExt/gvimext.cpp, src/dosinst.c 29410 29411Patch 8.1.0590 29412Problem: When a job ends the closed channels are not handled. 29413Solution: When a job is detected to have ended, check the channels again. 29414 (closes #3530) 29415Files: src/channel.c, src/proto/channel.pro, src/misc2.c 29416 29417Patch 8.1.0591 29418Problem: Channel sort test is flaky. 29419Solution: Do not check if the job is running, it may have be done very fast. 29420Files: src/testdir/test_channel.vim 29421 29422Patch 8.1.0592 29423Problem: The libvterm tests are not run as part of Vim tests. 29424Solution: Add testing libvterm. 29425Files: src/Makefile, src/libvterm/Makefile 29426 29427Patch 8.1.0593 29428Problem: Illegal memory access in libvterm test. 29429Solution: Fix off-by-one error. 29430Files: src/libvterm/src/vterm.c, src/libvterm/Makefile, 29431 src/libvterm/t/run-test.pl 29432 29433Patch 8.1.0594 29434Problem: Libvterm tests fail to run on Mac. 29435Solution: Only run libvterm tests on Linux. 29436Files: src/Makefile 29437 29438Patch 8.1.0595 29439Problem: Libvterm tests are not run with coverage. 29440Solution: Adjust the Travis config. Show the actually run commands. 29441Files: .travis.yml, src/libvterm/Makefile 29442 29443Patch 8.1.0596 29444Problem: Not all parts of printf() are tested. 29445Solution: Add a few more test cases. (Dominique Pelle, closes #3691) 29446Files: src/testdir/test_expr.vim 29447 29448Patch 8.1.0597 29449Problem: Cannot run test_libvterm from the top directory. 29450Solution: Add test target in toplevel Makefile. 29451Files: Makefile 29452 29453Patch 8.1.0598 29454Problem: Indent tests may use the wrong Vim binary. 29455Solution: Pass in the just built Vim binary. 29456Files: Makefile 29457 29458Patch 8.1.0599 29459Problem: Without the +eval feature the indent tests don't work. 29460Solution: Skip the body of the tests. 29461Files: runtime/indent/testdir/cleantest.vim, 29462 runtime/indent/testdir/runtest.vim 29463 29464Patch 8.1.0600 29465Problem: Channel test is flaky. 29466Solution: Add test to list of flaky tests. 29467Files: src/testdir/runtest.vim 29468 29469Patch 8.1.0601 29470Problem: A few compiler warnings. 29471Solution: Add type casts. (Mike Williams) 29472Files: src/GvimExt/gvimext.cpp, src/memline.c, src/textprop.c 29473 29474Patch 8.1.0602 29475Problem: DirChanged is also triggered when the directory didn't change. 29476 (Daniel Hahler) 29477Solution: Compare the current with the new directory. (closes #3697) 29478Files: src/ex_docmd.c, src/testdir/test_autocmd.vim, src/misc2.c, 29479 src/testdir/test_autochdir.vim 29480 29481Patch 8.1.0603 29482Problem: The :stop command is not tested. 29483Solution: Test :stop using a terminal window. 29484Files: src/testdir/test_terminal.vim, src/testdir/shared.vim 29485 29486Patch 8.1.0604 29487Problem: Autocommand test fails on MS-Windows. 29488Solution: Use pathcmp() instead of strcmp() to check if a directory differs. 29489Files: src/ex_docmd.c, src/misc2.c 29490 29491Patch 8.1.0605 29492Problem: Running make in the top directory echoes a comment. 29493Solution: Prefix with @. (closes #3698) 29494Files: Makefile 29495 29496Patch 8.1.0606 29497Problem: 'cryptmethod' defaults to a very old method. 29498Solution: Default to "blowfish2", it is now widely available. 29499Files: src/option.c, runtime/doc/options.txt 29500 29501Patch 8.1.0607 29502Problem: Proto files are not in sync with the source code. 29503Solution: Update the proto files. 29504Files: src/os_mswin.c, src/proto/buffer.pro, src/proto/ex_cmds.pro, 29505 src/proto/ex_getln.pro, src/proto/misc2.pro, 29506 src/proto/userfunc.pro 29507 29508Patch 8.1.0608 29509Problem: Coveralls is not updating. 29510Solution: Adjust path in Travis config. 29511Files: .travis.yml 29512 29513Patch 8.1.0609 29514Problem: MS-Windows: unused variable, depending on the Ruby version. 29515Solution: Put ruby_sysinit and NtInitialize inside #ifdef and make them 29516 consistent. (Ken Takata) 29517Files: src/if_ruby.c 29518 29519Patch 8.1.0610 29520Problem: MS-Windows ctags file list differs from Unix. 29521Solution: Define TAGS_FILES in the common makefile. (partly by Ken Takata) 29522Files: src/Make_all.mak, src/Makefile, src/Make_mvc.mak, 29523 src/Make_cyg_ming.mak 29524 29525Patch 8.1.0611 29526Problem: Crash when using terminal with long composing characters. 29527Solution: Make space for all characters. (Yasuhiro Matsumoto, closes #3619, 29528 closes #3703) 29529Files: src/terminal.c 29530 29531Patch 8.1.0612 29532Problem: Cannot use two global runtime dirs with configure. 29533Solution: Support a comma in --with-global-runtime. (James McCoy, 29534 closes #3704) 29535Files: src/config.h.in, src/configure.ac, src/feature.h, src/os_unix.h, 29536 src/auto/configure, src/Makefile 29537 29538Patch 8.1.0613 29539Problem: When executing an insecure function the secure flag is stuck. 29540 (Gabriel Barta) 29541Solution: Restore "secure" instead of decrementing it. (closes #3705) 29542Files: src/testdir/test_autocmd.vim, src/option.c, src/buffer.c 29543 29544Patch 8.1.0614 29545Problem: Placing signs can be complicated. 29546Solution: Add functions for defining and placing signs. Introduce a group 29547 name to avoid different plugins using the same signs. (Yegappan 29548 Lakshmanan, closes #3652) 29549Files: runtime/doc/eval.txt, runtime/doc/sign.txt, 29550 runtime/doc/usr_41.txt, src/alloc.h, src/buffer.c, src/evalfunc.c, 29551 src/ex_cmds.c, src/globals.h, src/list.c, src/misc2.c, 29552 src/netbeans.c, src/proto/buffer.pro, src/proto/ex_cmds.pro, 29553 src/proto/list.pro, src/proto/misc2.pro, src/structs.h, 29554 src/testdir/test_signs.vim, src/workshop.c 29555 29556Patch 8.1.0615 29557Problem: Get_tv function names are not consistent. 29558Solution: Rename to tv_get. 29559Files: src/eval.c, src/proto/eval.pro, src/channel.c, src/dict.c, 29560 src/evalfunc.c, src/list.c, src/message.c, src/tag.c, 29561 src/terminal.c, src/textprop.c, src/window.c, src/ex_cmds.c, 29562 src/os_unix.c, src/os_win32.c, src/json.c, src/regexp.c, 29563 src/edit.c, src/misc2.c, src/popupmnu.c 29564 29565Patch 8.1.0616 29566Problem: NSIS installer is outdated. 29567Solution: Use modern syntax, MUI2 and make it work better. Add translations. 29568 (Guopeng Wen, Ken Takata, closes #3501) 29569Files: Filelist, nsis/gvim.nsi, nsis/icons/header.svg, 29570 nsis/icons/welcome.svg, nsis/icons/header.bmp, 29571 nsis/icons/un_header.bmp, nsis/icons/uninstall.bmp, 29572 nsis/icons/welcome.bmp, nsis/lang/danish.nsi, nsis/lang/dutch.nsi, 29573 nsis/lang/english.nsi, nsis/lang/german.nsi, 29574 nsis/lang/italian.nsi, nsis/lang/japanese.nsi, 29575 nsis/lang/simpchinese.nsi, nsis/lang/tradchinese.nsi, 29576 src/dosinst.c 29577 29578Patch 8.1.0617 (after 8.1.0616) 29579Problem: NSIS installer gets two files from the wrong directory. 29580Solution: Change ${VIMRT} to "..\". 29581Files: nsis/gvim.nsi 29582 29583Patch 8.1.0618 29584Problem: term_getjob() does not return v:null as documented. 29585Solution: Do return v:null. (Damien) Add a test. 29586Files: src/terminal.c, src/testdir/test_terminal.vim 29587 29588Patch 8.1.0619 29589Problem: :echomsg and :echoerr do not handle List and Dict like :echo does. 29590 (Daniel Hahler) 29591Solution: Be more tolerant about the expression result type. 29592Files: src/eval.c, src/proto/eval.pro, src/evalfunc.c, 29593 src/proto/evalfunc.pro, runtime/doc/eval.txt, 29594 src/testdir/test_messages.vim, src/message.c 29595 29596Patch 8.1.0620 29597Problem: Overruling CONF_ARGS from the environment no longer works. (Tony 29598 Mechelynck) 29599Solution: Do not define any CONF_ARGS by default. 29600Files: src/Makefile 29601 29602Patch 8.1.0621 29603Problem: Terminal debugger does not handle unexpected debugger exit. 29604Solution: Check for debugger job ended and close unused buffers. (Damien) 29605Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 29606 29607Patch 8.1.0622 29608Problem: Adding quickfix items marks items as valid errors. (Daniel Hahler) 29609Solution: Check when items are valid. (Yegappan Lakshmanan, closes #3683, 29610 closes #3633) 29611Files: src/quickfix.c, src/testdir/test_quickfix.vim 29612 29613Patch 8.1.0623 29614Problem: Iterating through window frames is repeated. 29615Solution: Define FOR_ALL_FRAMES. (Yegappan Lakshmanan) 29616Files: src/ex_docmd.c, src/globals.h, src/screen.c, src/window.c 29617 29618Patch 8.1.0624 (after 8.1.0620) 29619Problem: Overruling CONF_ARGS from the environment still does not work. 29620 (Tony Mechelynck) 29621Solution: Add back CONF_ARGS next to the new numbered ones. 29622Files: src/Makefile 29623 29624Patch 8.1.0625 29625Problem: MS-Windows: terminal test fails in white console. 29626Solution: Accept both white and black background colors. 29627Files: src/testdir/test_terminal.vim 29628 29629Patch 8.1.0626 29630Problem: MS-Windows: no resize to fit parent when using --windowid. 29631Solution: Pass FALSE for "mustset" in gui_set_shellsize(). (Agorgianitis 29632 Loukas, closes #3616) 29633Files: src/gui.c 29634 29635Patch 8.1.0627 29636Problem: Python cannot handle function name of script-local function. 29637Solution: Use <SNR> instead of the special byte code. (Ozaki Kiichi, closes 29638 #3681) 29639Files: src/if_py_both.h, src/testdir/test_python2.vim, 29640 src/testdir/test_python3.vim 29641 29642Patch 8.1.0628 29643Problem: Compiler warning on MS-Windows. 29644Solution: Add type cast. (Mike Williams) 29645Files: src/if_py_both.h 29646 29647Patch 8.1.0629 29648Problem: "gn" selects the wrong text with a multi-line match. 29649Solution: Get the end position from searchit() directly. (closes #3695) 29650Files: src/testdir/test_gn.vim, src/search.c, src/proto/search.pro, 29651 src/edit.c, src/evalfunc.c, src/ex_docmd.c, src/ex_getln.c, 29652 src/normal.c 29653 29654Patch 8.1.0630 29655Problem: "wincmd p" does not work after using an autocmd window. 29656Solution: Store "prevwin" in aco_save_T. (Christian Brabandt, closes #3690) 29657Files: src/fileio.c, src/structs.h, src/testdir/test_window_cmd.vim 29658 29659Patch 8.1.0631 29660Problem: Test for :stop fails on Arch. 29661Solution: Check five lines for the expected output. (closes #3714) 29662Files: src/testdir/test_terminal.vim 29663 29664Patch 8.1.0632 29665Problem: Using sign group names is inefficient. 29666Solution: Store group names in a hash table and use a reference to them. 29667 Also remove unnecessary use of ":exe" from the tests. (Yegappan 29668 Lakshmanan, closes #3715) 29669Files: src/buffer.c, src/ex_cmds.c, src/structs.h, 29670 src/testdir/test_signs.vim 29671 29672Patch 8.1.0633 29673Problem: Crash when out of memory while opening a terminal window. 29674Solution: Handle out-of-memory more gracefully. 29675Files: src/terminal.c, src/libvterm/src/vterm.c, 29676 src/libvterm/src/state.c, src/libvterm/src/termscreen.c 29677 29678Patch 8.1.0634 29679Problem: Text properties cannot cross line boundaries. 29680Solution: Support multi-line text properties. 29681Files: src/textprop.c, src/testdir/test_textprop.vim, 29682 runtime/doc/eval.txt 29683 29684Patch 8.1.0635 29685Problem: Coverity complains about null pointer use. 29686Solution: Avoid using a null pointer. 29687Files: src/evalfunc.c 29688 29689Patch 8.1.0636 29690Problem: line2byte() gives wrong values with text properties. (Bjorn Linse) 29691Solution: Compute byte offsets differently when text properties were added. 29692 (closes #3718) 29693Files: src/structs.h, src/textprop.c, src/proto/textprop.pro, 29694 src/memline.c, src/testdir/test_textprop.vim 29695 29696Patch 8.1.0637 29697Problem: Nsis file no longer used. 29698Solution: Remove the file. (Ken Takata) 29699Files: nsis/vimrc.ini, Filelist 29700 29701Patch 8.1.0638 29702Problem: Text property highlighting is off by one column. (Bjorn Linse) 29703Solution: Update text property highlighting earlier. Let it overrule syntax 29704 highlighting. 29705Files: src/structs.h, src/screen.c 29706 29707Patch 8.1.0639 29708Problem: text properties test fails on MS-Windows 29709Solution: Set fileformat to "unix". 29710Files: src/testdir/test_textprop.vim 29711 29712Patch 8.1.0640 29713Problem: Get E14 while typing command :tab with 'incsearch' set. 29714Solution: Do not give an error when looking for the command. (Hirohito 29715 Higashi) 29716Files: src/testdir/test_search.vim, src/ex_docmd.c 29717 29718Patch 8.1.0641 29719Problem: No check for out-of-memory when converting regexp. 29720Solution: Bail out when lalloc() returns NULL. (John Marriott) 29721Files: src/regexp_nfa.c 29722 29723Patch 8.1.0642 29724Problem: swapinfo() leaks memory. (Christian Brabandt) 29725Solution: Avoid allocating the strings twice. 29726Files: src/memline.c, src/dict.c, src/proto/dict.pro 29727 29728Patch 8.1.0643 29729Problem: Computing byte offset wrong. (Bjorn Linse) 29730Solution: Use the right variable for array index. 29731Files: src/memline.c, src/testdir/test_textprop.vim 29732 29733Patch 8.1.0644 29734Problem: Finding next sign ID is inefficient. 29735Solution: Add next_sign_id. (Yegappan Lakshmanan, closes #3717) 29736Files: runtime/doc/eval.txt, src/buffer.c, src/evalfunc.c, src/ex_cmds.c, 29737 src/globals.h, src/main.c, src/proto/buffer.pro, src/structs.h, 29738 src/testdir/test_signs.vim 29739 29740Patch 8.1.0645 29741Problem: Coverity warns for possible use of NULL pointer. 29742Solution: Check return value of vterm_obtain_screen(). 29743Files: src/terminal.c 29744 29745Patch 8.1.0646 29746Problem: Cannot build with Ruby 2.6.0. 29747Solution: Add rb_ary_detransient(). (Ozaki Kiichi, closes #3724) 29748Files: src/if_ruby.c 29749 29750Patch 8.1.0647 29751Problem: MS-Windows: balloon_show() does not handle wide characters. 29752Solution: Use CreateWindowExW(). (Yasuhiro Matsumoto, closes #3708) 29753Files: src/gui_w32.c 29754 29755Patch 8.1.0648 29756Problem: Custom operators can't act upon a forced motion. (Christian 29757 Wellenbrock) 29758Solution: Add the forced motion to the mode() result. (Christian Brabandt, 29759 closes #3490) 29760Files: runtime/doc/eval.txt, src/evalfunc.c, src/globals.h, src/normal.c, 29761 src/testdir/test_mapping.vim 29762 29763Patch 8.1.0649 29764Problem: setjmp() variables defined globally are used in one file. 29765Solution: Move the declarations to that file. 29766Files: src/globals.h, src/os_unix.c 29767 29768Patch 8.1.0650 29769Problem: Command line argument -q [errorfile] is not tested. 29770Solution: Add a test. (Dominique Pelle, closes #3730) 29771Files: src/testdir/test_startup.vim 29772 29773Patch 8.1.0651 29774Problem: :args \"foo works like :args without argument. 29775Solution: Fix check for empty argument. (closes #3728) 29776Files: src/ex_cmds2.c, src/testdir/test_arglist.vim 29777 29778Patch 8.1.0652 29779Problem: Freeing memory for balloon eval too early. 29780Solution: Store the pointer in BalloonEval and free it later. (Yasuhiro 29781 Matsumoto, closes #3725) 29782Files: src/beval.h, src/gui_w32.c 29783 29784Patch 8.1.0653 (after 8.1.0651) 29785Problem: Arglist test fails on MS-windows. 29786Solution: Only use a file name with a double quote on Unix. 29787Files: src/testdir/test_arglist.vim 29788 29789Patch 8.1.0654 29790Problem: When deleting a line text property flags are not adjusted. 29791Solution: Adjust text property flags in preceding and following lines. 29792Files: src/memline.c, src/misc2.c, src/proto/misc2.pro, 29793 src/testdir/test_textprop.vim 29794 29795Patch 8.1.0655 29796Problem: When appending a line text property flags are not added. 29797Solution: Add text properties to a newly added line. 29798Files: src/memline.c, src/testdir/test_textprop.vim, src/textprop.c 29799 29800Patch 8.1.0656 29801Problem: Trying to reconnect to X server may cause problems. 29802Solution: Do no try reconnecting when exiting. (James McCoy) 29803Files: src/os_unix.c 29804 29805Patch 8.1.0657 (after 8.1.0656) 29806Problem: Get error for using regexp recursively. (Dominique Pelle) 29807Solution: Do no check if connection is desired. 29808Files: src/os_unix.c 29809 29810Patch 8.1.0658 29811Problem: Deleting signs and completion for :sign is insufficient. 29812Solution: Add deleting signs in a specified or any group from the current 29813 cursor location. Add group and priority to sign command 29814 completion. Add tests for different sign unplace commands. Update 29815 help text. Add tests for sign jump with group. Update help for 29816 sign jump. (Yegappan Lakshmanan, closes #3731) 29817Files: runtime/doc/sign.txt, src/buffer.c, src/evalfunc.c, src/ex_cmds.c, 29818 src/netbeans.c, src/proto/buffer.pro, src/proto/ex_cmds.pro, 29819 src/testdir/test_signs.vim 29820 29821Patch 8.1.0659 (after 8.1.0658) 29822Problem: Build failure without the sign feature. 29823Solution: Put the sign struct declarations outside of the #ifdef. 29824Files: src/structs.h 29825 29826Patch 8.1.0660 29827Problem: sign_unplace() may leak memory. 29828Solution: Free the group name before returning. Add a few more tests. 29829 (Yegappan Lakshmanan) 29830Files: src/evalfunc.c, src/testdir/test_signs.vim 29831 29832Patch 8.1.0661 29833Problem: Clipboard regexp might be used recursively. 29834Solution: Check for recursive use and bail out. 29835Files: src/regexp.c, src/proto/regexp.pro, src/os_unix.c 29836 29837Patch 8.1.0662 29838Problem: Needlessly searching for tilde in string. 29839Solution: Only check the first character. (James McCoy, closes #3734) 29840Files: src/misc1.c 29841 29842Patch 8.1.0663 29843Problem: Text property display wrong when 'number' is set. (Dominique 29844 Pelle) 29845Solution: Compare with "vcol" instead of "col". 29846Files: src/screen.c 29847 29848Patch 8.1.0664 29849Problem: Configure "fail-if-missing" does not apply to the enable-gui 29850 argument. (Rhialto) 29851Solution: Make configure fail if a GUI was specified and "fail-if-missing" 29852 is enabled and the GUI test fails. 29853Files: src/configure.ac, src/auto/configure 29854 29855Patch 8.1.0665 29856Problem: Text property display wrong when 'spell' is set. (Dominique Pelle) 29857Solution: Remove unnecessary assignment to char_attr. Combine attributes if 29858 needed. Add a screenshot test. 29859Files: src/screen.c, src/testdir/test_textprop.vim, 29860 src/testdir/dumps/Test_textprop_01.dump 29861 29862Patch 8.1.0666 (after 8.1.0665) 29863Problem: Text property test fails. 29864Solution: Update screenshot. 29865Files: src/testdir/dumps/Test_textprop_01.dump 29866 29867Patch 8.1.0667 (after 8.1.0665) 29868Problem: Textprop test leaves file behind. 29869Solution: Delete the file. (Dominique Pelle, closes #3743) 29870Files: src/testdir/test_textprop.vim 29871 29872Patch 8.1.0668 29873Problem: No test for overstrike mode in the command line. 29874Solution: Add a test. (Dominique Pelle, closes #3742) 29875Files: src/testdir/test_cmdline.vim 29876 29877Patch 8.1.0669 29878Problem: The ex_sign() function is too long. 29879Solution: Refactor the function. Add a bit more testing. (Yegappan 29880 Lakshmanan, closes #3745) 29881Files: src/testdir/test_signs.vim, src/ex_cmds.c 29882 29883Patch 8.1.0670 29884Problem: Macro for popup menu width is unused. 29885Solution: Remove it. (Hirohito Higashi) 29886Files: src/popupmnu.c 29887 29888Patch 8.1.0671 29889Problem: Cursor in the wrong column after auto-formatting. 29890Solution: Check for deleting more spaces than adding. (closes #3748) 29891Files: src/ops.c, src/testdir/test_textformat.vim, src/mark.c, 29892 src/proto/mark.pro, src/misc1.c 29893 29894Patch 8.1.0672 29895Problem: The Lua interface doesn't know about v:null. 29896Solution: Add Lua support for v:null. (Uji, closes #3744) 29897Files: src/if_lua.c, src/testdir/test_lua.vim 29898 29899Patch 8.1.0673 29900Problem: Functionality for signs is spread out over several files. 29901Solution: Move most of the sign functionality into sign.c. (Yegappan 29902 Lakshmanan, closes #3751) 29903Files: Filelist, src/Make_bc5.mak, src/Make_cyg_ming.mak, 29904 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, 29905 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak, 29906 src/Make_vms.mms, src/Makefile, src/README.txt, src/buffer.c, 29907 src/evalfunc.c, src/ex_cmds.c, src/proto.h, src/proto/buffer.pro, 29908 src/proto/ex_cmds.pro, src/proto/sign.pro, src/sign.c 29909 29910Patch 8.1.0674 29911Problem: Leaking memory when updating a single line. 29912Solution: Do not call start_search_hl() twice. 29913Files: src/screen.c 29914 29915Patch 8.1.0675 29916Problem: Text property column is screen columns is not practical. 29917Solution: Use byte values for the column. 29918Files: src/structs.h, src/textprop.c, src/proto/textprop.pro, 29919 runtime/doc/eval.txt, runtime/doc/textprop.txt, 29920 src/testdir/test_textprop.vim, 29921 src/testdir/dumps/Test_textprop_01.dump 29922 29923Patch 8.1.0676 29924Problem: Textprop screendump test fails. 29925Solution: Add missing changes. 29926Files: src/screen.c 29927 29928Patch 8.1.0677 29929Problem: Look-behind match may use the wrong line number. (Dominique Pelle) 29930Solution: Use the line number in regsave instead of the one in behind_pos, 29931 we may be looking at the previous line. (closes #3749) 29932Files: src/regexp.c 29933 29934Patch 8.1.0678 29935Problem: Text properties as not adjusted for inserted text. 29936Solution: Adjust text properties when inserting text. 29937Files: src/misc1.c, src/proto/misc1.pro, src/textprop.c, 29938 src/testdir/test_textprop.vim, 29939 src/testdir/dumps/Test_textprop_01.dump 29940 29941Patch 8.1.0679 29942Problem: Sign functions do not take buffer argument as documented. 29943Solution: Use get_buf_tv(). (Yegappan Lakshmanan, closes #3755) 29944Files: src/evalfunc.c, src/testdir/test_signs.vim 29945 29946Patch 8.1.0680 29947Problem: Not easy to see what features are unavailable. 29948Solution: Highlight disabled features in the :version output. (Nazri Ramliy, 29949 closes #3756) 29950Files: src/version.c 29951 29952Patch 8.1.0681 29953Problem: Text properties as not adjusted for deleted text. 29954Solution: Adjust text properties when backspacing to delete text. 29955Files: src/edit.c, src/misc1.c, src/testdir/test_textprop.vim, 29956 src/testdir/dumps/Test_textprop_01.dump 29957 29958Patch 8.1.0682 29959Problem: Text properties are not adjusted when backspacing replaced text. 29960Solution: Keep text properties on text restored in replace mode. 29961Files: src/edit.c, src/textprop.c, src/globals.h, 29962 src/testdir/test_textprop.vim 29963 29964Patch 8.1.0683 29965Problem: Spell highlighting does not always end. (Gary Johnson) 29966Solution: Also reset char_attr when spell errors are highlighted. 29967Files: src/screen.c 29968 29969Patch 8.1.0684 29970Problem: Warnings from 64-bit compiler. 29971Solution: Add type casts. (Mike Williams) 29972Files: src/memline.c, src/textprop.c 29973 29974Patch 8.1.0685 29975Problem: get_buf_tv() is named inconsistently. 29976Solution: Rename it to tv_get_buf(). (Yegappan Lakshmanan, closes #3759) 29977Files: src/evalfunc.c, src/proto/evalfunc.pro, src/terminal.c, 29978 src/textprop.c 29979 29980Patch 8.1.0686 29981Problem: When 'y' is in 'cpoptions' yanking for the clipboard changes redo. 29982Solution: Do not use the 'y' flag when "gui_yank" is TRUE. (Andy Massimino, 29983 closes #3760) 29984Files: src/normal.c 29985 29986Patch 8.1.0687 29987Problem: Sentence text object in Visual mode is not tested. 29988Solution: Add a test. (Dominique Pelle, closes #3758) 29989Files: src/testdir/test_visual.vim 29990 29991Patch 8.1.0688 29992Problem: Text properties are not restored by undo. 29993Solution: Also save text properties for undo. 29994Files: src/structs.h, src/undo.c, src/memline.c, src/proto/memline.pro 29995 29996Patch 8.1.0689 (after 8.1.0688) 29997Problem: Undo with text properties not tested. 29998Solution: Add a test function. 29999Files: src/testdir/test_textprop.vim 30000 30001Patch 8.1.0690 30002Problem: setline() and setbufline() do not clear text properties. 30003Solution: Clear text properties when setting the text. 30004Files: src/evalfunc.c, src/testdir/test_textprop.vim 30005 30006Patch 8.1.0691 30007Problem: Text properties are not adjusted for :substitute. 30008Solution: Adjust text properties as well as possible. 30009Files: src/ex_cmds.c, src/textprop.c, src/proto/textprop.pro, 30010 src/testdir/test_textprop.vim 30011 30012Patch 8.1.0692 30013Problem: If a buffer was deleted a channel can't write to it. 30014Solution: When the buffer exists but was unloaded, prepare it for writing. 30015 (closes #3764) 30016Files: src/channel.c, src/testdir/test_channel.vim 30017 30018Patch 8.1.0693 (after 8.1.0692) 30019Problem: Channel test fails sometimes. 30020Solution: Avoid race condition. 30021Files: src/testdir/test_channel.vim 30022 30023Patch 8.1.0694 30024Problem: When using text props may free memory that is not allocated. 30025 (Andy Massimino) 30026Solution: Allocate the line when adjusting text props. (closes #3766) 30027Files: src/textprop.c 30028 30029Patch 8.1.0695 30030Problem: Internal error when using :popup. 30031Solution: When a menu only exists in Terminal mode give an error. (Naruhiko 30032 Nishino, closes #3765) 30033Files: runtime/doc/gui.txt, src/globals.h, src/menu.c, src/popupmnu.c, 30034 src/testdir/test_popup.vim 30035 30036Patch 8.1.0696 30037Problem: When test_edit fails 'insertmode' may not be reset and the next 30038 test may get stuck. (James McCoy) 30039Solution: Always reset 'insertmode' after executing a test. Avoid that an 30040 InsertCharPre autocommand or a 'complete' function can change the 30041 state. (closes #3768) 30042Files: src/testdir/runtest.vim, src/edit.c 30043 30044Patch 8.1.0697 30045Problem: ":sign place" requires the buffer argument. 30046Solution: Make the argument optional. Also update the help and clean up the 30047 sign test. (Yegappan Lakshmanan, closes #3767) 30048Files: runtime/doc/eval.txt, runtime/doc/sign.txt, src/sign.c, 30049 src/testdir/test_signs.vim 30050 30051Patch 8.1.0698 30052Problem: Clearing the window is used too often, causing the command line 30053 to be cleared when opening a tab. (Miroslav Koškár) 30054Solution: Use NOT_VALID instead of CLEAR. (suggested by Jason Franklin, 30055 closes #630) Also do this for a few other places where clearing 30056 the screen isn't really needed. 30057Files: src/window.c 30058 30059Patch 8.1.0699 30060Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) 30061Solution: Add a dummy init. 30062Files: src/edit.c 30063 30064Patch 8.1.0700 (after 8.1.0698) 30065Problem: Using "gt" sometimes does not redraw a tab. (Jason Franklin) 30066Solution: Always set must_redraw in redraw_all_later(). 30067Files: src/screen.c 30068 30069Patch 8.1.0701 30070Problem: Sign message not translated and inconsistent spacing. 30071Solution: Add _() for translation. Add a space. (Ken Takata) Also use 30072 MSG_BUF_LEN instead of BUFSIZ. 30073Files: src/sign.c, src/testdir/test_signs.vim 30074 30075Patch 8.1.0702 30076Problem: ":sign place" only uses the current buffer. 30077Solution: List signs for all buffers when there is no buffer argument. 30078 Fix error message for invalid buffer name in sign_place(). 30079 (Yegappan Lakshmanan, closes #3774) 30080Files: runtime/doc/eval.txt, src/evalfunc.c, src/sign.c, 30081 src/testdir/test_signs.vim 30082 30083Patch 8.1.0703 30084Problem: Compiler warnings with 64-bit compiler. 30085Solution: Change types, add type casts. (Mike Williams) 30086Files: src/textprop.c, src/undo.c 30087 30088Patch 8.1.0704 30089Problem: Building with Ruby 2.6 gives compiler warnings. 30090Solution: Define a stub for rb_ary_detransient. (Ozaki Kiichi, closes #3779) 30091Files: src/if_ruby.c 30092 30093Patch 8.1.0705 30094Problem: :colorscheme isn't tested enough 30095Solution: Improve test coverage of :colorscheme. (Dominique Pelle, closes 30096 #3777) Remove unnecessary sleep. 30097Files: src/testdir/test_gui.vim 30098 30099Patch 8.1.0706 30100Problem: Tabline is not always redrawn when something that is used in 30101 'tabline' changes. 30102Solution: Add ":redrawtabline" so that a plugin can at least cause the 30103 redraw when needed. 30104Files: runtime/doc/various.txt, runtime/doc/options.txt, src/ex_docmd.c, 30105 src/ex_cmds.h, src/screen.c, src/proto/screen.pro, 30106 src/ex_cmdidxs.h, src/testdir/test_tabline.vim 30107 30108Patch 8.1.0707 30109Problem: Text property columns are not adjusted for changed indent. 30110Solution: Adjust text properties. 30111Files: src/misc1.c, src/testdir/test_textprop.vim 30112 30113Patch 8.1.0708 30114Problem: Third argument for redrawWinline() is always FALSE. 30115Solution: Drop the argument. (neovim #9479) 30116Files: src/edit.c, src/move.c, src/screen.c, src/proto/screen.pro 30117 30118Patch 8.1.0709 30119Problem: Windows are updated for every added/deleted sign. 30120Solution: Do not call update_debug_sign(). Only redraw when the line with 30121 the sign is visible. (idea from neovim #9479) 30122Files: src/sign.c, src/screen.c, src/proto/screen.pro 30123 30124Patch 8.1.0710 30125Problem: When using timers may wait for job exit quite long. 30126Solution: Return from ui_wait_for_chars_or_timer() when a job or channel 30127 needs to be handled. (Ozaki Kiichi, closes #3783) 30128Files: src/ui.c, src/testdir/test_channel.vim 30129 30130Patch 8.1.0711 30131Problem: Test files still use function!. 30132Solution: Remove the exclamation mark. Fix overwriting a function. 30133Files: src/testdir/test49.vim, src/testdir/test_autocmd.vim, 30134 src/testdir/test_charsearch.vim, 30135 src/testdir/test_charsearch_utf8.vim, 30136 src/testdir/test_display.vim, src/testdir/test_edit.vim, 30137 src/testdir/test_eval_func.vim, src/testdir/test_fnameescape.vim, 30138 src/testdir/test_getcwd.vim, src/testdir/test_highlight.vim, 30139 src/testdir/test_hlsearch.vim, src/testdir/test_ins_complete.vim, 30140 src/testdir/test_lambda.vim, src/testdir/test_listdict.vim, 30141 src/testdir/test_listlbr.vim, src/testdir/test_listlbr_utf8.vim, 30142 src/testdir/test_marks.vim, src/testdir/test_matchadd_conceal.vim, 30143 src/testdir/test_matchadd_conceal_utf8.vim, 30144 src/testdir/test_messages.vim, src/testdir/test_number.vim, 30145 src/testdir/test_options.vim, src/testdir/test_partial.vim, 30146 src/testdir/test_smartindent.vim, src/testdir/test_substitute.vim, 30147 src/testdir/test_system.vim, src/testdir/test_terminal.vim, 30148 src/testdir/test_textobjects.vim, src/testdir/test_utf8.vim, 30149 src/testdir/test_utf8_comparisons.vim, 30150 src/testdir/test_vartabs.vim, src/testdir/test_vimscript.vim, 30151 src/testdir/test_window_cmd.vim, src/testdir/test_xxd.vim 30152 30153Patch 8.1.0712 30154Problem: MS-Windows build instructions are a bit outdated. 30155Solution: Update the instructions. (Ken Takata) 30156Files: src/INSTALLpc.txt 30157 30158Patch 8.1.0713 30159Problem: Images for NSIS take up too much space. 30160Solution: Put the images in a zip file. 30161Files: nsis/icons.zip, nsis/icons/disabled.bmp, nsis/icons/enabled.bmp, 30162 nsis/icons/header.bmp, nsis/icons/header.svg, 30163 nsis/icons/un_header.bmp, nsis/icons/uninstall.bmp, 30164 nsis/icons/vim_16c.ico, nsis/icons/vim_uninst_16c.ico, 30165 nsis/icons/welcome.bmp, nsis/icons/welcome.svg, 30166 nsis/README.txt, Filelist, Makefile 30167 30168Patch 8.1.0714 30169Problem: Unnecessary #if lines in GTK code. 30170Solution: Remove the #if. (Ken Takata, closes #3785) 30171Files: src/gui_beval.c, src/if_mzsch.c 30172 30173Patch 8.1.0715 30174Problem: Superfluous call to redraw_win_later(). 30175Solution: Remove the call. 30176Files: src/move.c 30177 30178Patch 8.1.0716 30179Problem: Get warning message when 'completefunc' returns nothing. 30180Solution: Allow for returning v:none to suppress the warning message. 30181 (Yasuhiro Matsumoto, closes #3789) 30182Files: runtime/doc/insert.txt, src/edit.c, 30183 src/testdir/test_ins_complete.vim 30184 30185Patch 8.1.0717 30186Problem: There is no function for the ":sign jump" command. 30187Solution: Add the sign_jump() function. (Yegappan Lakshmanan, closes #3780) 30188Files: runtime/doc/eval.txt, runtime/doc/sign.txt, 30189 runtime/doc/usr_41.txt, src/evalfunc.c, src/proto/sign.pro, 30190 src/sign.c, src/testdir/test_signs.vim 30191 30192Patch 8.1.0718 30193Problem: A couple compiler warnings. 30194Solution: Rename shadowed variables. Add UNUSED. 30195Files: src/misc1.c 30196 30197Patch 8.1.0719 30198Problem: Too many #ifdefs. 30199Solution: Always build with the +visualextra feature. 30200Files: src/evalfunc.c, src/version.c, src/normal.c, src/ops.c, 30201 src/feature.h, runtime/doc/various.txt 30202 30203Patch 8.1.0720 30204Problem: Cannot easily change the current quickfix list index. 30205Solution: Add the "idx" argument to setqflist(). (Yegappan Lakshmanan, 30206 closes #3701) 30207Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c, 30208 src/testdir/test_quickfix.vim 30209 30210Patch 8.1.0721 30211Problem: Conceal mode is not sufficiently tested. 30212Solution: Add screendump tests. Check all 'concealcursor' values. 30213Files: src/testdir/test_conceal.vim, src/Make_all.mak, 30214 src/testdir/Make_all.mak 30215 src/testdir/dumps/Test_conceal_two_windows_01.dump, 30216 src/testdir/dumps/Test_conceal_two_windows_02.dump, 30217 src/testdir/dumps/Test_conceal_two_windows_03.dump, 30218 src/testdir/dumps/Test_conceal_two_windows_04.dump, 30219 src/testdir/dumps/Test_conceal_two_windows_05.dump, 30220 src/testdir/dumps/Test_conceal_two_windows_06i.dump, 30221 src/testdir/dumps/Test_conceal_two_windows_06v.dump, 30222 src/testdir/dumps/Test_conceal_two_windows_06c.dump, 30223 src/testdir/dumps/Test_conceal_two_windows_06n.dump, 30224 src/testdir/dumps/Test_conceal_two_windows_07i.dump, 30225 src/testdir/dumps/Test_conceal_two_windows_07v.dump, 30226 src/testdir/dumps/Test_conceal_two_windows_07c.dump, 30227 src/testdir/dumps/Test_conceal_two_windows_07n.dump, 30228 src/testdir/dumps/Test_conceal_two_windows_08i.dump, 30229 src/testdir/dumps/Test_conceal_two_windows_08v.dump, 30230 src/testdir/dumps/Test_conceal_two_windows_08c.dump, 30231 src/testdir/dumps/Test_conceal_two_windows_08n.dump, 30232 src/testdir/dumps/Test_conceal_two_windows_09i.dump, 30233 src/testdir/dumps/Test_conceal_two_windows_09v.dump, 30234 src/testdir/dumps/Test_conceal_two_windows_09c.dump, 30235 src/testdir/dumps/Test_conceal_two_windows_09n.dump 30236 30237Patch 8.1.0722 30238Problem: Cannot build without the virtualedit feature. 30239Solution: Make getviscol2() always available. 30240Files: src/misc2.c, src/proto/misc2.pro, src/ops.c 30241 30242Patch 8.1.0723 30243Problem: Cannot run specific test when in src/testdir the same was as in 30244 the src directory. 30245Solution: Move build rule to src/testdir/Makefile. 30246Files: src/testdir/Make_all.mak, src/testdir/Make_amiga.mak, 30247 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 30248 src/Makefile, src/Make_all.mak, src/testdir/Makefile, 30249 src/testdir/README.txt, src/Make_mvc.mak 30250 30251Patch 8.1.0724 30252Problem: Build for MinGW fails. 30253Solution: Avoid specifying dependencies in included makefile. 30254Files: src/testdir/Make_all.mak, src/testdir/Makefile, 30255 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak 30256 30257Patch 8.1.0725 30258Problem: Conceal mode is not completely tested. 30259Solution: Add tests for moving the cursor in Insert mode. 30260Files: src/testdir/test_conceal.vim, 30261 src/testdir/dumps/Test_conceal_two_windows_10.dump, 30262 src/testdir/dumps/Test_conceal_two_windows_11.dump, 30263 src/testdir/dumps/Test_conceal_two_windows_12.dump, 30264 src/testdir/dumps/Test_conceal_two_windows_13.dump 30265 30266Patch 8.1.0726 30267Problem: Redrawing specifically for conceal feature. 30268Solution: Use generic redrawing methods. 30269Files: src/edit.c, src/gui.c, src/main.c, src/normal.c, src/screen.c, 30270 src/proto/screen.pro, src/window.c 30271 30272Patch 8.1.0727 30273Problem: Compiler warning for sprintf() argument. 30274Solution: Add type cast. 30275Files: src/dosinst.c 30276 30277Patch 8.1.0728 30278Problem: Cannot avoid breaking after a single space. 30279Solution: Add the 'p' flag to 'formatoptions'. (Tom Ryder) 30280Files: runtime/doc/change.txt, src/edit.c, src/option.h, 30281 src/testdir/test_textformat.vim 30282 30283Patch 8.1.0729 30284Problem: There is a SourcePre autocommand event but not a SourcePost. 30285Solution: Add the SourcePost autocommand event. (closes #3739) 30286Files: src/vim.h, src/fileio.c, src/ex_cmds2.c, runtime/doc/autocmd.txt, 30287 src/testdir/test_source.vim, src/testdir/Make_all.mak 30288 30289Patch 8.1.0730 30290Problem: Compiler warning for get_buf_arg() unused. 30291Solution: Add #ifdef. (John Marriott) 30292Files: src/evalfunc.c 30293 30294Patch 8.1.0731 30295Problem: JS encoding does not handle negative infinity. 30296Solution: Add support for negative infinity for JS encoding. (Dominique 30297 Pelle, closes #3792) 30298Files: runtime/doc/eval.txt, src/json.c, src/testdir/test_json.vim 30299 30300Patch 8.1.0732 30301Problem: Cannot build without the eval feature. 30302Solution: Make a copy of the sourced file name. 30303Files: src/ex_cmds2.c 30304 30305Patch 8.1.0733 30306Problem: Too many #ifdefs for the multi-byte feature. 30307Solution: Tentatively always enable the multi-byte feature. If you have a 30308 problem with this, please discuss on the Vim maillist. 30309Files: src/configure.ac, src/auto/configure, src/feature.h, src/Makefile, 30310 src/Make_bc5.mak, src/Make_cyg_ming.mak, src/Make_mvc.mak 30311 30312Patch 8.1.0734 30313Problem: The hlsearch state is not stored in a session file. 30314Solution: Add "nohlsearch" if appropriate. (Jason Franklin) 30315Files: src/ex_docmd.c, src/testdir/test_mksession.vim 30316 30317Patch 8.1.0735 30318Problem: Cannot handle binary data. 30319Solution: Add the Blob type. (Yasuhiro Matsumoto, closes #3638) 30320Files: runtime/doc/eval.txt, runtime/doc/if_perl.txt, 30321 runtime/doc/if_ruby.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak, 30322 src/Makefile, src/blob.c, src/channel.c, src/eval.c, 30323 src/evalfunc.c, src/if_perl.xs, src/if_py_both.h, src/if_python.c, 30324 src/if_python3.c, src/if_ruby.c, src/json.c, src/netbeans.c, 30325 src/proto.h, src/proto/blob.pro, src/proto/channel.pro, 30326 src/structs.h, src/testdir/Make_all.mak, src/vim.h, src/globals.h, 30327 src/testdir/test_blob.vim, src/testdir/test_channel.vim 30328 30329Patch 8.1.0736 30330Problem: Code for Blob not sufficiently tested. 30331Solution: Add more tests. Fix uncovered crash. Add test_null_blob(). 30332Files: src/testdir/test_blob.vim, src/testdir/test_assign.vim, src/eval.c, 30333 src/testdir/test_eval_stuff.vim, src/testdir/test_lambda.vim, 30334 runtime/doc/eval.txt, src/evalfunc.c, src/blob.c, 30335 src/testdir/test49.vim 30336 30337Patch 8.1.0737 30338Problem: Compiler warning for uninitialized variable. 30339Solution: Add initialization. (John Marriott) 30340Files: src/eval.c 30341 30342Patch 8.1.0738 30343Problem: Using freed memory, for loop over blob leaks memory. 30344Solution: Clear pointer after freeing memory. Decrement reference count 30345 after for loop over blob. 30346Files: src/eval.c 30347 30348Patch 8.1.0739 30349Problem: Text objects in not sufficiently tested. 30350Solution: Add a few more test cases. (Dominique Pelle, closes #3795) 30351Files: src/testdir/test_visual.vim 30352 30353Patch 8.1.0740 30354Problem: Tcl test fails. 30355Solution: When the argument is empty don't give an error, instead rely on 30356 the error reporting higher up. 30357Files: src/eval.c 30358 30359Patch 8.1.0741 30360Problem: Viminfo with Blob is not tested. 30361Solution: Extend the viminfo test. Fix reading a blob. Fixed storing a 30362 special variable value. 30363Files: src/testdir/test_viminfo.vim, src/eval.c, src/blob.c, 30364 src/proto/blob.pro 30365 30366Patch 8.1.0742 30367Problem: Not all Blob operations are tested. 30368Solution: Add more testing for Blob. 30369Files: src/testdir/test_blob.vim, src/evalfunc.c, 30370 src/testdir/test_eval_stuff.vim 30371 30372Patch 8.1.0743 30373Problem: Giving error messages is not flexible. 30374Solution: Add semsg(). Change argument from "char_u *" to "char *", also 30375 for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes 30376 #3302) Also make emsg() accept a "char *" argument. Get rid of 30377 an enormous number of type casts. 30378Files: src/blob.c, src/blowfish.c, src/buffer.c, src/channel.c, 30379 src/crypt.c, src/dict.c, src/diff.c, src/digraph.c, src/edit.c, 30380 src/eval.c, src/evalfunc.c, src/ex_cmds.c, src/ex_cmds.h, 30381 src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, 30382 src/farsi.h, src/fileio.c, src/fold.c, src/getchar.c, 30383 src/globals.h, src/gui.c, src/gui_at_fs.c, src/gui_at_sb.c, 30384 src/gui_beval.c, src/gui_gtk_x11.c, src/gui_mac.c, 30385 src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, src/hangulin.c, 30386 src/hardcopy.c, src/hashtab.c, src/if_cscope.c, src/if_lua.c, 30387 src/if_mzsch.c, src/if_perl.xs, src/if_py_both.h, src/if_python.c, 30388 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/if_xcmdsrv.c, 30389 src/json.c, src/list.c, src/main.c, src/mark.c, src/mbyte.c, 30390 src/memfile.c, src/memline.c, src/menu.c, src/message.c, 30391 src/misc1.c, src/misc2.c, src/netbeans.c, src/normal.c, src/ops.c, 30392 src/option.c, src/os_amiga.c, src/os_mswin.c, src/os_unix.c, 30393 src/os_win32.c, src/popupmnu.c, src/proto.h, src/proto/buffer.pro, 30394 src/proto/digraph.pro, src/proto/ex_docmd.pro, 30395 src/proto/ex_eval.pro, src/proto/ex_getln.pro, 30396 src/proto/hardcopy.pro, src/proto/mbyte.pro, 30397 src/proto/message.pro, src/proto/misc2.pro, src/proto/option.pro, 30398 src/proto/spell.pro, src/quickfix.c, src/regexp.c, 30399 src/regexp_nfa.c, src/search.c, src/sign.c, src/spell.c, 30400 src/spellfile.c, src/structs.h, src/syntax.c, src/tag.c, 30401 src/term.c, src/terminal.c, src/textprop.c, src/ui.c, src/undo.c, 30402 src/userfunc.c, src/version.c, src/vim.h, src/window.c, 30403 30404Patch 8.1.0744 (after 8.1.0743) 30405Problem: Compiler warnings for signed/unsigned strings. 30406Solution: A few more type cast fixes. 30407Files: src/option.c, src/if_perl.xs, src/if_py_both.h, src/integration.c 30408 30409Patch 8.1.0745 30410Problem: Compiler warnings for signed/unsigned string. 30411Solution: Remove type casts. (John Marriott) 30412Files: src/ex_docmd.c, src/mbyte.c 30413 30414Patch 8.1.0746 30415Problem: Highlighting not updated with conceal and 'cursorline'. (Jason 30416 Franklin) 30417Solution: Do not use a zero line number. Check if 'conceallevel' is set for 30418 the current window. 30419Files: src/main.c, src/testdir/test_conceal.vim, 30420 src/testdir/dumps/Test_conceal_cul_01.dump, 30421 src/testdir/dumps/Test_conceal_cul_02.dump, 30422 src/testdir/dumps/Test_conceal_cul_03.dump 30423 30424Patch 8.1.0747 30425Problem: map() with a bad expression doesn't give an error. (Ingo Karkat) 30426Solution: Check for giving an error message. (closes #3800) 30427Files: src/eval.c, src/testdir/test_filter_map.vim 30428 30429Patch 8.1.0748 30430Problem: Using sprintf() instead of semsg(). 30431Solution: Use semsg(). Fix bug with E888. (Ozaki Kiichi, closes #3801) 30432Files: src/regexp.c 30433 30434Patch 8.1.0749 (after 8.1.0747) 30435Problem: Error message contains garbage. (Dominique Pelle) 30436Solution: Use correct pointer to failed expression. 30437Files: src/eval.c 30438 30439Patch 8.1.0750 30440Problem: When the last sign is deleted the signcolumn may not be removed 30441 even though 'signcolumn' is "auto". 30442Solution: When deleting the last sign redraw the buffer. (Dominique Pelle, 30443 closes #3803, closes #3804) 30444Files: src/sign.c 30445 30446Patch 8.1.0751 30447Problem: Some regexp errors are not tested. 30448Solution: Add a test function. 30449Files: src/testdir/test_regexp_latin.vim 30450 30451Patch 8.1.0752 30452Problem: One more compiler warning for signed/unsigned string. (Tony 30453 Mechelynck) 30454Solution: Remove type cast. 30455Files: src/ex_docmd.c 30456 30457Patch 8.1.0753 30458Problem: printf format not checked for semsg(). 30459Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle, 30460 closes #3805) 30461Files: src/buffer.c, src/diff.c, src/eval.c, src/evalfunc.c, 30462 src/ex_docmd.c, src/if_cscope.c, src/netbeans.c, src/proto.h, 30463 src/proto/message.pro, src/quickfix.c, src/regexp_nfa.c, 30464 src/sign.c, src/spellfile.c, src/window.c, src/gui_x11.c 30465 30466Patch 8.1.0754 30467Problem: Preferred column is lost when setting 'cursorcolumn'. 30468Solution: Change option flag to P_RWINONLY. (Takayuki Kurosawa, 30469 closes #3806) 30470Files: src/option.c, src/testdir/test_cursor_func.vim 30471 30472Patch 8.1.0755 30473Problem: Error message for get() on a Blob with invalid index. 30474Solution: Return an empty Blob, like get() on a List does. 30475Files: src/evalfunc.c, src/testdir/test_blob.vim 30476 30477Patch 8.1.0756 30478Problem: copy() does not make a copy of a Blob. 30479Solution: Make a copy. 30480Files: src/eval.c, src/testdir/test_blob.vim 30481 30482Patch 8.1.0757 30483Problem: Not enough documentation for Blobs. 30484Solution: Add a section about Blobs. 30485Files: runtime/doc/eval.txt 30486 30487Patch 8.1.0758 30488Problem: Font number is always one instead of the actual. 30489Solution: Use "%d" instead of "1". (Ken Takata) 30490Files: src/gui_x11.c 30491 30492Patch 8.1.0759 30493Problem: Showing two characters for tab is limited. 30494Solution: Allow for a third character for "tab:" in 'listchars'. (Nathaniel 30495 Braun, Ken Takata, closes #3810) 30496Files: runtime/doc/options.txt, src/globals.h, src/message.c, 30497 src/option.c, src/screen.c, src/testdir/test_listchars.vim 30498 30499Patch 8.1.0760 30500Problem: No proper test for using 'termencoding'. 30501Solution: Add a screendump test. Fix using double width characters in a 30502 screendump. 30503Files: src/terminal.c, src/testdir/test_termencoding.vim, 30504 src/testdir/Make_all.mak, 30505 src/testdir/dumps/Test_tenc_euc_jp_01.dump 30506 30507Patch 8.1.0761 30508Problem: Default value for brief_wait is wrong. 30509Solution: Make the default FALSE. (Ozaki Kiichi, closes #3812, closes #3799) 30510Files: src/ui.c 30511 30512Patch 8.1.0762 30513Problem: Compiler warning. 30514Solution: Add type cast. (Mike Williams) 30515Files: src/channel.c 30516 30517Patch 8.1.0763 30518Problem: Nobody is using the Sun Workshop support. 30519Solution: Remove the Workshop support. 30520Files: runtime/doc/workshop.txt, runtime/doc/help.txt, 30521 runtime/doc/netbeans.txt, src/Makefile, src/auto/configure, 30522 src/beval.c, src/buffer.c, src/config.h.in, src/config.mk.in, 30523 src/configure.ac, src/evalfunc.c, src/ex_cmds.c, src/ex_cmds.h, 30524 src/ex_docmd.c, src/feature.h, src/fileio.c, src/globals.h, 30525 src/gui.c, src/gui_beval.c, src/gui_motif.c, src/gui_x11.c, 30526 src/integration.c, src/integration.h, src/main.c, src/misc2.c, 30527 src/nbdebug.c, src/netbeans.c, src/proto.h, 30528 src/proto/workshop.pro, src/ui.c, src/version.c, src/vim.h, 30529 src/workshop.c, src/workshop.h, src/wsdebug.c, src/wsdebug.h, 30530 src/ex_cmdidxs.h 30531 30532Patch 8.1.0764 30533Problem: List of distributed files is outdated. 30534Solution: Remove workshop files. Add blob files. 30535Files: Filelist 30536 30537Patch 8.1.0765 30538Problem: String format of a Blob can't be parsed back. 30539Solution: Use 0z format. 30540Files: src/blob.c, src/eval.c, src/testdir/test_blob.vim 30541 30542Patch 8.1.0766 30543Problem: Various problems when using Vim on VMS. 30544Solution: Various fixes. Define long_long_T. (Zoltan Arpadffy) 30545Files: src/eval.c, src/feature.h, src/fileio.c, src/gui_motif.c, 30546 src/gui_x11.c, src/gui_xmebw.c, src/json.c, src/Make_vms.mms, 30547 src/ops.c, src/os_vms_conf.h, src/vim.h, src/xdiff/xdiff.h, 30548 src/xdiff/xinclude.h 30549 30550Patch 8.1.0767 30551Problem: When deleting lines at the bottom signs are misplaced. 30552Solution: Properly update the line number of signs at the end of a buffer 30553 after a delete/undo operation. (Yegappan Lakshmanan, closes #3798) 30554Files: src/sign.c, src/testdir/test_signs.vim 30555 30556Patch 8.1.0768 30557Problem: Updating completions may cause the popup menu to flicker. 30558Solution: Avoid updating the text below the popup menu before drawing the 30559 popup menu. 30560Files: src/popupmnu.c, src/proto/popupmnu.pro, src/edit.c, src/screen.c 30561 30562Patch 8.1.0769 30563Problem: :stop is covered in two tests. 30564Solution: Remove Test_stop_in_terminal(). Make other test exit Vim cleanly. 30565 (Ozaki Kiichi, closes #3814) 30566Files: src/testdir/test_terminal.vim, src/testdir/test_suspend.vim 30567 30568Patch 8.1.0770 30569Problem: Inconsistent use of ELAPSED_FUNC. 30570Solution: Consistently use ELAPSED_FUNC. Also turn ELAPSED_TYPE into a 30571 typedef. (Ozaki Kiichi, closes #3815) 30572Files: src/channel.c, src/gui.c, src/misc1.c, src/os_unix.c, src/vim.h 30573 30574Patch 8.1.0771 30575Problem: Some shell filetype patterns end in a star. 30576Solution: Make sure that patterns not ending in a star are preferred. 30577Files: runtime/filetype.vim, runtime/autoload/dist/ft.vim 30578 30579Patch 8.1.0772 30580Problem: The sign_define_by_name() function is too long. 30581Solution: Split it into smaller functions. (Yegappan Lakshmanan, 30582 closes #3819) 30583Files: src/sign.c 30584 30585Patch 8.1.0773 30586Problem: Not all crypt code is tested. 30587Solution: Disable unused crypt code. Add more test coverage. 30588Files: src/structs.h, src/crypt.c, src/testdir/test_crypt.vim, 30589 src/proto/crypt.pro, src/fileio.c 30590 30591Patch 8.1.0774 30592Problem: VMS build is missing the blob file. 30593Solution: Add the blob file to the build rules. (Zoltan Arpadffy) 30594Files: src/Make_vms.mms, runtime/doc/os_vms.txt 30595 30596Patch 8.1.0775 30597Problem: Matching too many files as zsh. (Danek Duvall) 30598Solution: Be more specific with zsh filetype patterns. 30599Files: runtime/filetype.vim 30600 30601Patch 8.1.0776 30602Problem: Travis does not build a version without GUI on Linux. 30603Solution: Add an environment for tiny features without GUI. 30604Files: .travis.yml 30605 30606Patch 8.1.0777 30607Problem: Win32: using pipes for channel does not work well. 30608Solution: Use a larger buffer and handle overlaps. (Yasuhiro Matsumoto, 30609 closes #3782) 30610Files: src/channel.c, src/os_win32.c 30611 30612Patch 8.1.0778 30613Problem: Terminal test fails on MS-Windows. 30614Solution: Temporarily skip the test on MS-Windows. Do run it both in 30615 terminal and GUI on other systems. 30616Files: src/testdir/test_terminal.vim 30617 30618Patch 8.1.0779 30619Problem: Argument for message functions is inconsistent. 30620Solution: Make first argument to msg() "char *". 30621Files: src/buffer.c, src/crypt.c, src/edit.c, src/ex_cmds.c, src/eval.c, 30622 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/farsi.c, 30623 src/if_cscope.c, src/fileio.c, src/getchar.c, src/globals.h, 30624 src/gui.c, src/if_perl.xs, src/netbeans.c, src/gui_w32.c, 30625 src/hardcopy.c, src/if_mzsch.c, src/if_py_both.h, src/if_ruby.c, 30626 src/if_tcl.c, src/mark.c, src/mbyte.c, src/menu.c, src/memline.c, 30627 src/message.c, src/misc1.c, src/misc2.c, src/normal.c, src/ops.c, 30628 src/option.c, src/os_amiga.c, src/os_unix.c, src/os_win32.c, 30629 src/proto/message.pro, src/quickfix.c, src/sign.c, src/regexp.c, 30630 src/ui.c, src/screen.c, src/search.c, src/spell.c, 30631 src/spellfile.c, src/syntax.c, src/tag.c, src/term.c, src/undo.c, 30632 src/userfunc.c, src/version.c, src/vim.h, src/window.c, 30633 src/proto/eval.pro, src/evalfunc.c, src/ex_eval.c, src/farsi.h 30634 30635Patch 8.1.0780 30636Problem: Terminal test fails on Mac. 30637Solution: Skip the test on Mac. 30638Files: src/testdir/test_terminal.vim 30639 30640Patch 8.1.0781 30641Problem: Build error when using if_xcmdsrv.c. 30642Solution: Add missing part of 8.1.0779. 30643Files: src/if_xcmdsrv.c 30644 30645Patch 8.1.0782 30646Problem: Win32: cursor blinks when Vim is not active. 30647Solution: Remove call to setActiveWindow(). (Yasuhiro Matsumoto, 30648 closes #3778) 30649Files: src/gui_w32.c, src/proto/gui_w32.pro, src/menu.c 30650 30651Patch 8.1.0783 30652Problem: Compiler warning for signed/unsigned. 30653Solution: Add type cast. Change type of buffer. (Ozaki Kiichi, closes #3827) 30654Files: src/main.c, src/message.c 30655 30656Patch 8.1.0784 30657Problem: Messy indent in if statement. 30658Solution: Improve structure of if statement. (Ozaki Kiichi, closes #3826) 30659Files: src/os_win32.c 30660 30661Patch 8.1.0785 30662Problem: Depending on the configuration some functions are unused. 30663Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle, 30664 closes #3822) 30665Files: src/buffer.c, src/channel.c, src/ex_cmds2.c, src/ex_docmd.c, 30666 src/fileio.c, src/getchar.c, src/gui_gtk_x11.c, src/hashtab.c, 30667 src/json.c, src/mbyte.c, src/message.c, src/misc1.c, src/misc2.c, 30668 src/ops.c, src/option.c, src/os_unix.c, src/proto/os_unix.pro, 30669 src/proto/regexp.pro, src/proto/terminal.pro, src/regexp.c, 30670 src/screen.c, src/search.c, src/syntax.c, src/term.c, 30671 src/terminal.c, src/ui.c, src/userfunc.c 30672 30673Patch 8.1.0786 30674Problem: ml_get error when updating the status line and a terminal had its 30675 scrollback cleared. (Chris Patuzzo) 30676Solution: Check the cursor position when drawing the status line. 30677 (closes #3830) 30678Files: src/buffer.c, src/testdir/test_terminal.vim 30679 30680Patch 8.1.0787 30681Problem: Compiler warning for unused function. (Tony Mechelynck) 30682Solution: Tune #ifdef around setjmp functions. 30683Files: src/os_unix.c 30684 30685Patch 8.1.0788 30686Problem: Cannot build with tiny features. 30687Solution: Adjust #ifdefs. 30688Files: src/os_unix.c 30689 30690Patch 8.1.0789 30691Problem: Sourcing a session sets v:errmsg. 30692Solution: Use "%argdel" instead of "argdel *". (Jason Franklin) 30693Files: src/ex_docmd.c, src/testdir/test_mksession.vim 30694 30695Patch 8.1.0790 30696Problem: Code for creating tabpages in session is too complex. 30697Solution: Simplify the code. (Jason Franklin) 30698Files: src/ex_docmd.c 30699 30700Patch 8.1.0791 30701Problem: A few compiler warnings on VMS. 30702Solution: Remove type cast. Adjust #ifdef. (Zoltan Arpadffy) 30703Files: src/os_unix.c, src/proto.h 30704 30705Patch 8.1.0792 30706Problem: Popup menu is displayed on top of the cmdline window if it is 30707 opened from Insert completion. (Bjorn Linse) 30708Solution: Remove the popup menu. Restore the cursor position. 30709 (closes #3838) 30710Files: src/edit.c, src/ex_getln.c 30711 30712Patch 8.1.0793 30713Problem: Incorrect error messages for functions that now take a Blob 30714 argument. 30715Solution: Adjust the error messages. (Dominique Pelle, closes #3846) 30716Files: runtime/doc/eval.txt, src/evalfunc.c, src/globals.h, 30717 src/testdir/test_blob.vim, src/testdir/test_listdict.vim 30718 30719Patch 8.1.0794 30720Problem: White space before " -Ntabmove" causes problems. 30721Solution: Skip whitespace. (Ozaki Kiichi, closes #3841) 30722Files: src/ex_docmd.c, src/testdir/test_tabpage.vim 30723 30724Patch 8.1.0795 (after 8.1.0792) 30725Problem: Cannot build without popup menu. 30726Solution: Add #ifdef 30727Files: src/ex_getln.c 30728 30729Patch 8.1.0796 30730Problem: MS-Windows 7: problem with named pipe on channel. 30731Solution: Put back the disconnect/connect calls. (Yasuhiro Matsumoto, 30732 closes #3833) 30733Files: src/channel.c, src/testdir/test_terminal.vim 30734 30735Patch 8.1.0797 30736Problem: Error E898 is used twice. 30737Solution: Rename the Blob error to E899. (closes #3853) 30738Files: src/evalfunc.c, runtime/doc/eval.txt, 30739 src/testdir/test_listdict.vim 30740 30741Patch 8.1.0798 30742Problem: Changing a blob while iterating over it works strangely. 30743Solution: Make a copy of the Blob before iterating. 30744Files: src/blob.c, src/proto/blob.pro, src/eval.c, 30745 src/testdir/test_blob.vim 30746 30747Patch 8.1.0799 30748Problem: Calling deleted function; test doesn't work on Mac. 30749Solution: Wait for the function to be called before deleting it. Use a job 30750 to write to the pty, unless in the GUI. (Ozaki Kiichi, 30751 closes #3854) 30752Files: src/testdir/test_channel.vim, src/testdir/test_terminal.vim 30753 30754Patch 8.1.0800 30755Problem: May use a lot of memory when a function creates a cyclic 30756 reference. 30757Solution: After saving a funccal many times, invoke the garbage collector. 30758 (closes #3835) 30759Files: src/userfunc.c 30760 30761Patch 8.1.0801 30762Problem: MinGW: no hint that tests fail because of small terminal. 30763Solution: Add a rule for test1 that checks for "wrongtermsize". 30764 (msoyka-of-wharton) 30765Files: src/testdir/Make_ming.mak 30766 30767Patch 8.1.0802 30768Problem: Negative index doesn't work for Blob. 30769Solution: Make it work, add a test. (closes #3856) 30770Files: src/blob.c, src/proto/blob.pro, src/eval.c, 30771 src/testdir/test_blob.vim 30772 30773Patch 8.1.0803 30774Problem: Session file has problem with single quote in file name. (Jon 30775 Crowe) 30776Solution: Use a double quoted string. Add a test. 30777Files: src/ex_docmd.c, src/testdir/test_mksession.vim 30778 30779Patch 8.1.0804 30780Problem: Crash when setting v:errmsg to empty list. (Jaon Franklin) 30781Solution: Separate getting value and assigning result. 30782Files: src/eval.c, src/testdir/test_eval_stuff.vim 30783 30784Patch 8.1.0805 30785Problem: Too many #ifdefs. 30786Solution: Graduate FEAT_MBYTE, part 1. 30787Files: src/buffer.c, src/charset.c, src/diff.c, src/digraph.c, 30788 src/edit.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c, 30789 src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/fileio.c, 30790 src/fold.c, src/gui.c, src/gui_mac.c, src/gui_photon.c, 30791 src/gui_w32.c 30792 30793Patch 8.1.0806 30794Problem: Too many #ifdefs. 30795Solution: Graduate FEAT_MBYTE, part 2. 30796Files: src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, src/gui_w32.c, 30797 src/gui_x11.c, src/hardcopy.c, src/if_xcmdsrv.c, src/json.c, 30798 src/kword_test.c, src/main.c, src/mbyte.c, src/memline.c, 30799 src/message.c, src/misc1.c, src/misc2.c, src/move.c, src/normal.c, 30800 src/ops.c, src/option.c, src/charset.c 30801 30802Patch 8.1.0807 30803Problem: Session test fails on MS-Windows. 30804Solution: Don't try creating file with illegal name. 30805Files: src/testdir/test_mksession.vim 30806 30807Patch 8.1.0808 30808Problem: MS-Windows: build error with GUI. 30809Solution: Remove "static". 30810Files: src/gui_w32.c 30811 30812Patch 8.1.0809 30813Problem: Too many #ifdefs. 30814Solution: Graduate FEAT_MBYTE, part 3. 30815Files: src/os_amiga.c, src/os_mswin.c, src/os_unix.c, src/os_w32exe.c, 30816 src/os_win32.c, src/quickfix.c, src/regexp.c, src/regexp_nfa.c, 30817 src/screen.c 30818 30819Patch 8.1.0810 30820Problem: Too many #ifdefs. 30821Solution: Graduate FEAT_MBYTE, part 4. 30822Files: src/getchar.c, src/search.c, src/sign.c, src/spell.c, 30823 src/spellfile.c, src/syntax.c, src/tag.c, src/term.c, src/ui.c, 30824 src/version.c, src/winclip.c, src/window.c, src/glbl_ime.cpp, 30825 src/ex_cmds.h, src/globals.h, src/gui.h, src/if_py_both.h, 30826 src/macros.h, src/option.h, src/os_mac.h, src/os_win32.h, 30827 src/proto.h, src/spell.h, src/structs.h, src/vim.h 30828 30829Patch 8.1.0811 30830Problem: Too many #ifdefs. 30831Solution: Graduate FEAT_MBYTE, the final chapter. 30832Files: src/feature.h, src/vim.h, src/crypt_zip.c, src/fileio.c, 30833 src/message.c, src/spell.h, src/structs.h, src/config.h.in, 30834 src/configure.ac, src/auto/configure, src/testdir/runtest.vim, 30835 src/testdir/test_alot_utf8.vim, src/testdir/test_arabic.vim, 30836 src/testdir/test_charsearch_utf8.vim, 30837 src/testdir/test_cmdline.vim, src/testdir/test_digraph.vim, 30838 src/testdir/test_display.vim, src/testdir/test_edit.vim, 30839 src/testdir/test_erasebackword.vim, 30840 src/testdir/test_expr_utf8.vim, src/testdir/test_functions.vim, 30841 src/testdir/test_ga.vim, src/testdir/test_iminsert.vim, 30842 src/testdir/test_increment_dbcs.vim, src/testdir/test_json.vim, 30843 src/testdir/test_makeencoding.vim, src/testdir/test_maparg.vim, 30844 src/testdir/test_mapping.vim, src/testdir/test_marks.vim, 30845 src/testdir/test_match.vim, 30846 src/testdir/test_matchadd_conceal_utf8.vim, 30847 src/testdir/test_mksession_utf8.vim, src/testdir/test_normal.vim, 30848 src/testdir/test_plus_arg_edit.vim, src/testdir/test_profile.vim, 30849 src/testdir/test_put.vim, src/testdir/test_regex_char_classes.vim, 30850 src/testdir/test_regexp_utf8.vim, src/testdir/test_search.vim, 30851 src/testdir/test_source_utf8.vim, src/testdir/test_spell.vim, 30852 src/testdir/test_startup_utf8.vim, 30853 src/testdir/test_termencoding.vim, src/testdir/test_terminal.vim, 30854 src/testdir/test_utf8.vim, src/testdir/test_utf8_comparisons.vim, 30855 src/testdir/test_viminfo.vim, src/testdir/test_virtualedit.vim, 30856 src/testdir/test_visual.vim, src/testdir/test_wordcount.vim, 30857 src/testdir/test_writefile.vim, src/appveyor.bat, src/os_macosx.m 30858 30859Patch 8.1.0812 30860Problem: Unicode 16 feature is not useful and cannot be detected. 30861Solution: Remove UNICODE16. 30862Files: src/screen.c, src/vim.h, src/feature.h 30863 30864Patch 8.1.0813 30865Problem: FileChangedShell not sufficiently tested. 30866Solution: Add a more comprehensive test case. 30867Files: src/testdir/test_autocmd.vim 30868 30869Patch 8.1.0814 30870Problem: :mksession cannot handle a very long 'runtimepath'. (Timothy 30871 Madden) 30872Solution: Expand each part separately, instead of the whole option at once. 30873 (Christian Brabandt, closes #3466) 30874Files: src/option.c, src/testdir/test_mksession.vim 30875 30876Patch 8.1.0815 30877Problem: Dialog for file changed outside of Vim not tested. 30878Solution: Add a test. Move FileChangedShell test. Add 'L' flag to 30879 feedkeys(). 30880Files: src/testdir/test_autocmd.vim, src/testdir/test_filechanged.vim, 30881 src/testdir/Make_all.mak, src/evalfunc.c, runtime/doc/eval.txt 30882 30883Patch 8.1.0816 30884Problem: Test for 'runtimepath' in session fails on MS-Windows. 30885Solution: Skip the test for now. 30886Files: src/testdir/test_mksession.vim 30887 30888Patch 8.1.0817 30889Problem: ":=" command is not tested. 30890Solution: Add a test. (Dominique Pelle, closes #3859) 30891Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim, 30892 src/testdir/test_ex_equal.vim 30893 30894Patch 8.1.0818 30895Problem: MS-Windows: cannot send large data with ch_sendraw(). 30896Solution: Split write into several WriteFile() calls. (Yasuhiro Matsumoto, 30897 closes #3823) 30898Files: src/channel.c, src/os_win32.c, src/testdir/test_channel.vim, 30899 src/testdir/test_channel_pipe.py, src/vim.h 30900 30901Patch 8.1.0819 30902Problem: A failed assert with a long string is hard to read. 30903Solution: Shorten the assert message. 30904Files: src/eval.c, src/testdir/test_assert.vim 30905 30906Patch 8.1.0820 30907Problem: Test for sending large data over channel sometimes fails. 30908Solution: Handle that the job may have finished early. Also fix that file 30909 changed test doesn't work in the GUI and reduce flakyness. (Ozaki 30910 Kiichi, closes #3861) 30911Files: src/testdir/test_channel.vim, src/testdir/test_filechanged.vim 30912 30913Patch 8.1.0821 30914Problem: Xxd "usage" output and other arguments not tested. 30915Solution: Add a test to trigger the usage output in various ways. Fix 30916 uncovered problem. 30917Files: src/testdir/test_xxd.vim, src/xxd/xxd.c 30918 30919Patch 8.1.0822 30920Problem: Peeking and flushing output slows down execution. 30921Solution: Do not update the mode message when global_busy is set. Do not 30922 flush when only peeking for a character. (Ken Takata) 30923Files: src/getchar.c, src/screen.c, src/proto/screen.pro, src/edit.c 30924 30925Patch 8.1.0823 30926Problem: Not sufficient testing of xxd. 30927Solution: Add some more test coverage. 30928Files: src/testdir/test_xxd.vim 30929 30930Patch 8.1.0824 30931Problem: SunOS/Solaris has a problem with ttys. 30932Solution: Add mch_isatty() with extra handling for SunOS. (Ozaki Kiichi, 30933 closes #3865) 30934Files: src/auto/configure, src/channel.c, src/config.h.in, 30935 src/configure.ac, src/os_unix.c, src/proto/pty.pro, src/pty.c, 30936 src/terminal.c 30937 30938Patch 8.1.0825 30939Problem: Code for autocommands is mixed with file I/O code. 30940Solution: Move autocommand code to a separate file. (Yegappan Lakshmanan, 30941 closes #3863) 30942Files: Filelist, src/Make_bc5.mak, src/Make_cyg_ming.mak, 30943 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, 30944 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak, 30945 src/Make_vms.mms, src/Makefile, src/README.txt, src/autocmd.c, 30946 src/fileio.c, src/globals.h, src/proto.h, src/proto/autocmd.pro, 30947 src/proto/fileio.pro 30948 30949Patch 8.1.0826 30950Problem: Too many #ifdefs. 30951Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code. 30952Files: src/buffer.c, src/charset.c, src/edit.c, src/eval.c, 30953 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/feature.h, 30954 src/globals.h, src/gui.c, src/if_py_both.h, src/macros.h, 30955 src/mark.c, src/mbyte.c, src/memline.c, src/menu.c, src/misc1.c, 30956 src/misc2.c, src/move.c, src/netbeans.c, src/normal.c, src/ops.c, 30957 src/option.c, src/option.h, src/screen.c, src/search.c, 30958 src/spell.c, src/structs.h, src/tag.c, src/ui.c, src/undo.c, 30959 src/userfunc.c, src/version.c, src/vim.h, src/window.c 30960 30961Patch 8.1.0827 (after 8.1.0825) 30962Problem: Missing dependency in Makefile. 30963Solution: Add dependency from autocmd.o on auto/osdef.h 30964Files: src/Makefile 30965 30966Patch 8.1.0828 30967Problem: Still using FEAT_VIRTUALEDIT. 30968Solution: Remove last use of FEAT_VIRTUALEDIT. 30969Files: src/quickfix.c 30970 30971Patch 8.1.0829 30972Problem: When 'hidden' is set session creates extra buffers. 30973Solution: Move :badd commands to the end. (Jason Franklin) 30974Files: src/ex_docmd.c, src/testdir/test_mksession.vim 30975 30976Patch 8.1.0830 30977Problem: Test leaves directory behind on MS-Windows. 30978Solution: Close buffer before deleting directory. 30979Files: src/testdir/test_swap.vim 30980 30981Patch 8.1.0831 30982Problem: Xxd test fails if man page has dos fileformat. 30983Solution: Make a copy with unix fileformat. 30984Files: src/testdir/test_xxd.vim 30985 30986Patch 8.1.0832 30987Problem: confirm() is not tested. 30988Solution: Add a test. (Dominique Pelle, closes #3868) 30989Files: src/testdir/test_functions.vim 30990 30991Patch 8.1.0833 30992Problem: Memory leak when jumps output is filtered. 30993Solution: Free the filtered name. (Dominique Pelle, closes #3869) 30994Files: src/mark.c 30995 30996Patch 8.1.0834 30997Problem: GUI may wait too long before dealing with messages. Returning 30998 early may cause a mapping to time out. 30999Solution: Use the waiting loop from Unix also for the GUI. 31000 (closes #3817, closes #3824) 31001Files: src/ui.c, src/proto/ui.pro, src/os_unix.c, src/gui.c, 31002 src/testdir/screendump.vim 31003 31004Patch 8.1.0835 31005Problem: GUI build fails on MS-Windows. 31006Solution: Adjust #ifdef. 31007Files: src/ui.c 31008 31009Patch 8.1.0836 31010Problem: User completion test can fail on MS-Windows. 31011Solution: Allow for other names before "Administrator". 31012Files: src/testdir/test_cmdline.vim 31013 31014Patch 8.1.0837 31015Problem: Timer interrupting cursorhold and mapping not tested. 31016Solution: Add tests with timers. (Ozaki Kiichi, closes #3871) 31017Files: src/testdir/test_autocmd.vim, src/testdir/test_mapping.vim 31018 31019Patch 8.1.0838 31020Problem: Compiler warning for type conversion. 31021Solution: Add a type cast. (Mike Williams) 31022Files: src/channel.c 31023 31024Patch 8.1.0839 31025Problem: When using VTP wrong colors after a color scheme change. 31026Solution: When VTP is active always clear after a color scheme change. 31027 (Nobuhiro Takasaki, closes #3872) 31028Files: src/ex_docmd.c 31029 31030Patch 8.1.0840 31031Problem: getchar(0) never returns a character in the terminal. 31032Solution: Call wait_func() at least once. 31033Files: src/ui.c, src/testdir/test_timers.vim, src/gui_gtk_x11.c, 31034 src/gui_w32.c, src/gui_photon.c, src/gui_x11.c 31035 31036Patch 8.1.0841 31037Problem: Travis config to get Lua on MacOS is too complicated. 31038Solution: Use an addons entry. (Ozaki Kiichi, closes #3876) 31039Files: .travis.yml 31040 31041Patch 8.1.0842 31042Problem: getchar_zero test fails on MS-Windows. 31043Solution: Disable the test for now. 31044Files: src/testdir/test_timers.vim 31045 31046Patch 8.1.0843 31047Problem: Memory leak when running "make test_cd". 31048Solution: Free the stack element when failing. (Dominique Pelle, 31049 closes #3877) 31050Files: src/misc2.c 31051 31052Patch 8.1.0844 31053Problem: When timer fails test will hang forever. 31054Solution: Use reltime() to limit waiting time. (Ozaki Kiichi, closes #3878) 31055Files: src/testdir/test_timers.vim 31056 31057Patch 8.1.0845 31058Problem: Having job_status() free the job causes problems. 31059Solution: Do not actually free the job or terminal yet, put it in a list and 31060 free it a bit later. Do not use a terminal after checking the job 31061 status. (closes #3873) 31062Files: src/channel.c, src/terminal.c, src/proto/terminal.pro, src/misc2.c 31063 31064Patch 8.1.0846 31065Problem: Not easy to recognize the system Vim runs on. 31066Solution: Add more items to the features list. (Ozaki Kiichi, closes #3855) 31067Files: runtime/doc/eval.txt, src/evalfunc.c, 31068 src/testdir/test_channel.vim, src/testdir/test_functions.vim, 31069 src/testdir/test_terminal.vim, src/testdir/test_writefile.vim 31070 31071Patch 8.1.0847 31072Problem: May use terminal after it was cleaned up. 31073Solution: Use the job pointer. 31074Files: src/terminal.c 31075 31076Patch 8.1.0848 31077Problem: Cannot build with Ruby 1.8. (Tom G. Christensen) 31078Solution: Use rb-str_new2(). (Yasuhiro Matsumoto, closes #3883, 31079 closes #3884) 31080Files: src/if_ruby.c 31081 31082Patch 8.1.0849 31083Problem: Cursorline highlight is not always updated. 31084Solution: Set w_last_cursorline when redrawing. Fix resetting cursor flags 31085 when using the popup menu. 31086Files: src/screen.c, src/popupmnu.c, src/testdir/test_highlight.vim, 31087 src/testdir/dumps/Test_cursorline_yank_01.dump 31088 31089Patch 8.1.0850 31090Problem: Test for 'backupskip' is not correct. 31091Solution: Split the option in parts and use expand(). (Michael Soyka) 31092Files: src/testdir/test_options.vim 31093 31094Patch 8.1.0851 31095Problem: feedkeys() with "L" does not work properly. 31096Solution: Do not set typebuf_was_filled when using "L". (Ozaki Kiichi, 31097 closes #3885) 31098Files: src/evalfunc.c, src/testdir/test_autocmd.vim, 31099 src/testdir/test_mapping.vim, src/testdir/test_timers.vim 31100 31101Patch 8.1.0852 31102Problem: findfile() and finddir() are not properly tested. 31103Solution: Extend the test and add more. (Dominique Pelle, closes #3880) 31104Files: src/testdir/test_findfile.vim 31105 31106Patch 8.1.0853 (after 8.1.0850) 31107Problem: Options test fails on Mac. 31108Solution: Remove a trailing slash from $TMPDIR. 31109Files: src/testdir/test_options.vim 31110 31111Patch 8.1.0854 31112Problem: xxd does not work with more than 32 bit addresses. 31113Solution: Add support for 64 bit addresses. (Christer Jensen, closes #3791) 31114Files: src/xxd/xxd.c 31115 31116Patch 8.1.0855 31117Problem: Cannot build xxd with MSVC 10. 31118Solution: Move declaration to start of block. 31119Files: src/xxd/xxd.c 31120 31121Patch 8.1.0856 31122Problem: When scrolling a window other than the current one the cursorline 31123 highlighting is not always updated. (Jason Franklin) 31124Solution: Call redraw_for_cursorline() after scrolling. Only set 31125 w_last_cursorline when drawing the cursor line. Reset the lines 31126 to be redrawn also when redrawing the whole window. 31127Files: src/move.c, src/proto/move.pro, src/normal.c 31128 31129Patch 8.1.0857 31130Problem: Indent functionality is not separated. 31131Solution: Move indent functionality into a new file. (Yegappan Lakshmanan, 31132 closes #3886) 31133Files: Filelist, src/Make_bc5.mak, src/Make_cyg_ming.mak, 31134 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, 31135 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak, 31136 src/Make_vms.mms, src/Makefile, src/edit.c, src/indent.c, 31137 src/misc1.c, src/proto.h, src/proto/edit.pro, 31138 src/proto/indent.pro, src/proto/misc1.pro 31139 31140Patch 8.1.0858 31141Problem: 'indentkeys' and 'cinkeys' defaults are different. 31142Solution: Make them the same, update docs. (close #3882) 31143Files: src/option.c, runtime/doc/options.txt, runtime/doc/indent.txt 31144 31145Patch 8.1.0859 31146Problem: "%v" in 'errorformat' does not handle multi-byte characters. 31147Solution: Handle multi-byte characters. (Yegappan Lakshmanan, closes #3700) 31148Files: src/quickfix.c, src/testdir/test_quickfix.vim 31149 31150Patch 8.1.0860 31151Problem: Debug lines left in the code. 31152Solution: Delete the lines. 31153Files: src/edit.c 31154 31155Patch 8.1.0861 31156Problem: Building with MinGW and static libc doesn't work. 31157Solution: Change the LIB argument. (Ken Takata) 31158Files: src/Make_cyg_ming.mak 31159 31160Patch 8.1.0862 31161Problem: No verbose version of character classes. 31162Solution: Add [:ident:], [:keyword:] and [:fname:]. (Ozaki Kiichi, 31163 closes #1373) 31164Files: runtime/doc/pattern.txt, src/regexp.c, src/regexp_nfa.c, 31165 src/testdir/test_regexp_utf8.vim 31166 31167Patch 8.1.0863 31168Problem: Cannot see what signal caused a job to end. 31169Solution: Add "termsig" to job_info(). (Ozaki Kiichi, closes #3786) 31170Files: runtime/doc/eval.txt, src/channel.c, src/os_unix.c, src/structs.h, 31171 src/testdir/test_channel.vim 31172 31173Patch 8.1.0864 31174Problem: Cannot have a local value for 'scrolloff' and 'sidescrolloff'. 31175 (Gary Holloway) 31176Solution: Make 'scrolloff' and 'sidescrolloff' global-local. (mostly by 31177 Aron Widforss, closes #3539) 31178Files: runtime/doc/options.txt, src/edit.c, src/ex_cmds.c, 31179 src/ex_docmd.c, src/gui.c, src/misc2.c, src/move.c, src/normal.c, 31180 src/option.c, src/proto/option.pro, src/option.h, src/search.c, 31181 src/structs.h, src/window.c, src/testdir/test_options.vim 31182 31183Patch 8.1.0865 31184Problem: When 'listchars' only contains "nbsp:X" it does not work. 31185Solution: Set extra_check when lcs_nbsp is set. (Ralf Schandl, closes #3889) 31186Files: src/screen.c, src/testdir/test_listchars.vim 31187 31188Patch 8.1.0866 31189Problem: Build file dependencies are outdated. (John Little) 31190Solution: Run "make proto" and "make depend". 31191Files: src/vim.h, src/Makefile, src/proto/sign.pro, src/proto/gui_w32.pro 31192 31193Patch 8.1.0867 31194Problem: Cannot build Python interface with Python 2.4. (Tom G. Christensen) 31195Solution: Define PyBytes_FromStringAndSize. (Ken Takata, closes #3888) 31196Files: src/if_python.c 31197 31198Patch 8.1.0868 31199Problem: Crash if triggering garbage collector after a function call. 31200 (Michael Henry) 31201Solution: Don't call the garbage collector right away, do it later. 31202 (closes #3894) 31203Files: src/userfunc.c 31204 31205Patch 8.1.0869 31206Problem: Travis CI script is too complicated. 31207Solution: Add names to environments. Move appveyor script outside of src 31208 directory. (Ozaki Kiichi, closes #3890) 31209Files: .travis.yml, appveyor.yml, ci/appveyor.bat, src/appveyor.bat, 31210 Filelist 31211 31212Patch 8.1.0870 31213Problem: Vim doesn't use the new ConPTY support in Windows 10. 31214Solution: Use ConPTY support, if available. (Nobuhiro Takasaki, closes #3794) 31215Files: runtime/doc/eval.txt, runtime/doc/options.txt, 31216 runtime/doc/terminal.txt, src/channel.c, src/evalfunc.c, 31217 src/globals.h, src/option.c, src/option.h, src/os_win32.c, 31218 src/proto/terminal.pro, src/structs.h, src/terminal.c, 31219 src/testdir/gen_opt_test.vim, src/testdir/test_autocmd.vim, 31220 src/testdir/test_mksession.vim, src/testdir/test_terminal.vim 31221 31222Patch 8.1.0871 31223Problem: Build error when building with Ruby 2.6.0. 31224Solution: Change argument of rb_int2big_stub(). (Android Baumann, 31225 closes #3899) 31226Files: src/if_ruby.c 31227 31228Patch 8.1.0872 31229Problem: Confusing condition. 31230Solution: Use "==" instead of "<=". 31231Files: src/gui_gtk_x11.c 31232 31233Patch 8.1.0873 31234Problem: List if distributed files does not include the matchit autoload 31235 directory. 31236Solution: Add the directory. 31237Files: src/Filelist 31238 31239Patch 8.1.0874 31240Problem: Using old style comments in new file. 31241Solution: Convert to // comments in new file. (Yegappan Lakshmanan) 31242Files: src/indent.c 31243 31244Patch 8.1.0875 31245Problem: Not all errors of marks and findfile()/finddir() are tested. 31246Solution: Add more test coverage. (Dominique Pelle) 31247Files: src/testdir/test_findfile.vim, src/testdir/test_marks.vim 31248 31249Patch 8.1.0876 31250Problem: Completion match not displayed when popup menu is not shown. 31251Solution: Call update_screen() when not displaying the popup menu to show 31252 the inserted match. (Ken Takata, Hirohito Higashi) 31253Files: src/edit.c 31254 31255Patch 8.1.0877 31256Problem: New buffer used every time the quickfix window is opened. 31257Solution: Reuse the buffer. (Yegappan Lakshmanan, closes #3902) 31258Files: src/buffer.c, src/proto/quickfix.pro, src/quickfix.c, 31259 src/testdir/test_quickfix.vim 31260 31261Patch 8.1.0878 31262Problem: Test for has('bsd') fails on some BSD systems. 31263Solution: Adjust the uname match. (James McCoy, closes #3909) 31264Files: src/testdir/test_functions.vim 31265 31266Patch 8.1.0879 31267Problem: MS-Windows: temp name encoding can be wrong. 31268Solution: Convert from active code page to 'encoding'. (Yasuhiro Matsumoto, 31269 closes #3520, closes #1698) 31270Files: src/fileio.c 31271 31272Patch 8.1.0880 31273Problem: MS-Windows: inconsistent selection of winpty/conpty. 31274Solution: Name option 'termwintype', use ++type argument and "term_pty" for 31275 term_start(). (Hirohito Higashi, closes #3915) 31276Files: runtime/doc/eval.txt, runtime/doc/options.txt, 31277 runtime/doc/terminal.txt, src/channel.c, src/option.c, 31278 src/option.h, src/structs.h, src/terminal.c, 31279 src/testdir/gen_opt_test.vim, runtime/optwin.vim, 31280 runtime/doc/quickref.txt 31281 31282Patch 8.1.0881 31283Problem: Can execute shell commands in rvim through interfaces. 31284Solution: Disable using interfaces in restricted mode. Allow for writing 31285 file with writefile(), histadd() and a few others. 31286Files: runtime/doc/starting.txt, src/if_perl.xs, src/if_cmds.h, 31287 src/ex_cmds.c, src/ex_docmd.c, src/evalfunc.c, 31288 src/testdir/test_restricted.vim, src/testdir/Make_all.mak 31289 31290Patch 8.1.0882 (after 8.1.0879) 31291Problem: Checking for FEAT_MBYTE which doesn't exist anymore. (Christ van 31292 Willegen) 31293Solution: Remove it. 31294Files: src/fileio.c 31295 31296Patch 8.1.0883 31297Problem: Missing some changes for Ex commands. 31298Solution: Add missing changes in header file. 31299Files: src/ex_cmds.h 31300 31301Patch 8.1.0884 31302Problem: Double check for bsd systems. 31303Solution: Delete the old line. 31304Files: src/testdir/test_functions.vim 31305 31306Patch 8.1.0885 31307Problem: Test for restricted hangs on MS-Windows GUI. 31308Solution: Skip the test. 31309Files: src/testdir/test_restricted.vim 31310 31311Patch 8.1.0886 31312Problem: Compiler warning for adding to NULL pointer and a condition that 31313 is always true. 31314Solution: Check for NULL pointer before adding. Remove useless "if". 31315 (Friedirch, closes #3913) 31316Files: src/dosinst.c, src/search.c 31317 31318Patch 8.1.0887 31319Problem: The 'l' flag in :substitute is sticky. 31320Solution: Reset the flag. (Dominique Pelle, closes #3925) 31321Files: src/ex_cmds.c, src/testdir/test_substitute.vim 31322 31323Patch 8.1.0888 31324Problem: The a: dict is not immutable as documented. 31325Solution: Make the a:dict immutable, add a test. (Ozaki Kiichi, Yasuhiro 31326 Matsumoto, closes #3929) 31327Files: src/eval.c, src/userfunc.c, src/testdir/test_let.vim, 31328 src/testdir/test_listdict.vim 31329 31330Patch 8.1.0889 31331Problem: MS-Windows: a channel write may hang. 31332Solution: Check for WriteFile() not writing anything. (Yasuhiro Matsumoto, 31333 closes #3920) 31334Files: src/channel.c, src/testdir/test_channel.vim, 31335 src/testdir/test_channel_pipe.py 31336 31337Patch 8.1.0890 31338Problem: Pty allocation wrong if using file for out channel and using null 31339 for in channel and null for error channel. 31340Solution: Correct using use_file_for_out in condition. (Ozaki Kiichi, closes 31341 #3917) 31342Files: src/os_unix.c, src/testdir/test_channel.vim 31343 31344Patch 8.1.0891 31345Problem: Substitute command insufficiently tested. 31346Solution: Add more test coverage. (Dominique Pelle) 31347Files: src/testdir/test_substitute.vim 31348 31349Patch 8.1.0892 31350Problem: Failure when closing a window when location list is in use. 31351Solution: Handle the situation gracefully. Make sure memory for 'switchbuf' 31352 is not freed at the wrong time. (Yegappan Lakshmanan, 31353 closes #3928) 31354Files: src/eval.c, src/evalfunc.c, src/proto/window.pro, src/quickfix.c, 31355 src/testdir/test_quickfix.vim, src/window.c 31356 31357Patch 8.1.0893 31358Problem: Terminal test is a bit flaky. 31359Solution: Add test_terminal_no_cmd() to list of flaky tests. 31360Files: src/testdir/runtest.vim 31361 31362Patch 8.1.0894 31363Problem: MS-Windows: resolve() does not return a reparse point. 31364Solution: Improve resolve(). (Yasuhiro Matsumoto, closes #3896) 31365Files: runtime/doc/eval.txt, src/buffer.c, src/evalfunc.c, 31366 src/os_mswin.c, src/proto/os_mswin.pro, 31367 src/testdir/test_functions.vim 31368 31369Patch 8.1.0895 (after 8.1.0879) 31370Problem: MS-Windows: dealing with temp name encoding not quite right. 31371Solution: Use more wide functions. (Ken Takata, closes #3921) 31372Files: src/fileio.c 31373 31374Patch 8.1.0896 31375Problem: Tests for restricted mode not run for MS-Windows GUI. 31376Solution: Make tests also work in MS-Windows GUI. 31377Files: src/testdir/test_restricted.vim 31378 31379Patch 8.1.0897 31380Problem: Can modify a:000 when using a reference. 31381Solution: Make check for locked variable stricter. (Ozaki Kiichi, 31382 closes #3930) 31383Files: src/dict.c, src/eval.c, src/evalfunc.c, src/proto/eval.pro, 31384 src/testdir/test_channel.vim, src/testdir/test_let.vim, 31385 src/userfunc.c 31386 31387Patch 8.1.0898 31388Problem: A messed up rgb.txt can crash Vim. (Pavel Cheremushkin) 31389Solution: Limit to 10000 entries. Also don't retry many times when the file 31390 cannot be read. 31391Files: src/term.c 31392 31393Patch 8.1.0899 31394Problem: No need to check restricted mode for setwinvar(). 31395Solution: Remove check_restricted(). 31396Files: src/eval.c 31397 31398Patch 8.1.0900 31399Problem: ConPTY may crash with 32-bit build. 31400Solution: Fix function declarations. (Ken Takata, closes #3943) 31401Files: src/terminal.c 31402 31403Patch 8.1.0901 31404Problem: Index in getjumplist() may be wrong. (Epheien) 31405Solution: Call cleanup_jumplist() earlier. (Yegappan Lakshmanan, 31406 closes #3942) 31407Files: src/evalfunc.c, src/testdir/test_jumplist.vim 31408 31409Patch 8.1.0902 31410Problem: Incomplete set of assignment operators. 31411Solution: Add /=, *= and %=. (Ozaki Kiichi, closes #3931) 31412Files: runtime/doc/eval.txt src/eval.c src/testdir/test_vimscript.vim 31413 31414Patch 8.1.0903 31415Problem: Struct uses more bytes than needed. 31416Solution: Reorder members of regitem_S. (Dominique Pelle, closes #3936) 31417Files: src/regexp.c 31418 31419Patch 8.1.0904 31420Problem: USE_LONG_FNAME never defined. 31421Solution: Remove using USE_LONG_FNAME. (Ken Takata, closes #3938) 31422Files: src/buffer.c, src/ex_cmds.c, src/fileio.c 31423 31424Patch 8.1.0905 31425Problem: Complicated regexp causes a crash. (Kuang-che Wu) 31426Solution: Limit the recursiveness of addstate(). (closes #3941) 31427Files: src/regexp_nfa.c, src/testdir/test_regexp_latin.vim 31428 31429Patch 8.1.0906 31430Problem: Using clumsy way to get console window handle. 31431Solution: Use GetConsoleWindow(). (Ken Takata, closes #3940) 31432Files: src/os_mswin.c 31433 31434Patch 8.1.0907 31435Problem: CI tests on AppVeyor are failing. 31436Solution: Reduce the recursiveness limit for regexp. 31437Files: src/regexp_nfa.c 31438 31439Patch 8.1.0908 31440Problem: Can't handle large value for %{nr}v in regexp. (Kuang-che Wu) 31441Solution: Give an error if the value is too large. (closes #3948) 31442Files: src/regexp_nfa.c 31443 31444Patch 8.1.0909 31445Problem: MS-Windows: using ConPTY even though it is not stable. 31446Solution: When ConPTY version is unstable, prefer using winpty. (Ken Takata, 31447 closes #3949) 31448Files: runtime/doc/options.txt, src/os_win32.c, src/proto/os_win32.pro, 31449 src/terminal.c 31450 31451Patch 8.1.0910 31452Problem: Crash with tricky search pattern. (Kuang-che Wu) 31453Solution: Check for running out of memory. (closes #3950) 31454Files: src/regexp_nfa.c, src/testdir/test_regexp_latin.vim 31455 31456Patch 8.1.0911 31457Problem: Tag line with Ex command cannot have extra fields. 31458Solution: Recognize |;" as the end of the command. (closes #2402) 31459Files: runtime/doc/tagsrch.txt, src/tag.c, src/testdir/test_taglist.vim 31460 31461Patch 8.1.0912 31462Problem: MS-Windows: warning for signed/unsigned. 31463Solution: Add type cast. (Nobuhiro Takasaki, closes #3945) 31464Files: src/terminal.c 31465 31466Patch 8.1.0913 31467Problem: CI crashes when running out of memory. 31468Solution: Apply 'maxmempattern' also to new regexp engine. 31469Files: src/regexp_nfa.c 31470 31471Patch 8.1.0914 31472Problem: Code related to findfile() is spread out. 31473Solution: Put findfile() related code into a new source file. (Yegappan 31474 Lakshmanan, closes #3934) 31475Files: Filelist, src/Make_bc5.mak, src/Make_cyg_ming.mak, 31476 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, 31477 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak, 31478 src/Make_vms.mms, src/Makefile, src/README.txt, src/findfile.c, 31479 src/misc1.c, src/misc2.c, src/proto.h, src/proto/findfile.pro, 31480 src/proto/misc1.pro, src/proto/misc2.pro, src/proto/window.pro, 31481 src/window.c 31482 31483Patch 8.1.0915 31484Problem: fsync() may not work properly on Mac. 31485Solution: Use fcntl() with F_FULLFSYNC. (suggested by Justin M. Keyes) 31486Files: src/fileio.c, src/proto/fileio.pro, src/evalfunc.c, src/memfile.c 31487 31488Patch 8.1.0916 31489Problem: With Python 3.7 "find_module" is not made available. 31490Solution: Also add "find_module" with Python 3.7. (Joel Frederico, 31491 closes #3954) 31492Files: src/if_py_both.h 31493 31494Patch 8.1.0917 31495Problem: Double free when running out of memory. 31496Solution: Remove one free. (Ken Takata, closes #3955) 31497Files: src/userfunc.c 31498 31499Patch 8.1.0918 31500Problem: MS-Windows: startup messages are not converted. 31501Solution: Convert messages when the current codepage differs from 31502 'encoding'. (Yasuhiro Matsumoto, closes #3914) 31503Files: src/message.c, src/os_mswin.c, src/vim.h 31504 31505Patch 8.1.0919 31506Problem: Compiler warnings. 31507Solution: Add type casts. (Mike Williams) 31508Files: src/message.c, src/regexp_nfa.c 31509 31510Patch 8.1.0920 31511Problem: In Terminal-Normal mode job output messes up the window. 31512Solution: Postpone scrolling and updating the buffer when in Terminal-Normal 31513 mode. 31514Files: src/terminal.c, src/testdir/test_terminal.vim, 31515 src/testdir/dumps/Test_terminal_01.dump, 31516 src/testdir/dumps/Test_terminal_02.dump, 31517 src/testdir/dumps/Test_terminal_03.dump 31518 31519Patch 8.1.0921 31520Problem: Terminal test sometimes fails; using memory after free. 31521Solution: Fee memory a bit later. Add test to cover this. Disable flaky 31522 screenshot test. (closes #3956) 31523Files: src/terminal.c, src/testdir/test_terminal.vim 31524 31525Patch 8.1.0922 31526Problem: Terminal scrollback test is flaky. 31527Solution: Wait a bit before running the tail command. 31528Files: src/testdir/test_terminal.vim, 31529 src/testdir/dumps/Test_terminal_01.dump, 31530 src/testdir/dumps/Test_terminal_02.dump, 31531 src/testdir/dumps/Test_terminal_03.dump 31532 31533Patch 8.1.0923 31534Problem: Terminal dump diff swap does not update file names. 31535Solution: Also swap the file name. Add a test. 31536Files: src/terminal.c, src/testdir/test_terminal.vim 31537 31538Patch 8.1.0924 31539Problem: Terminal scrollback test still flaky. 31540Solution: Wait a bit longer before running the tail command. 31541Files: src/testdir/test_terminal.vim 31542 31543Patch 8.1.0925 31544Problem: Terminal scrollback test still still flaky. 31545Solution: Explicitly set the shell. Disable ruler. (Ozaki Kiichi, 31546 closes #3966) 31547Files: src/testdir/test_terminal.vim, 31548 src/testdir/dumps/Test_terminal_01.dump, 31549 src/testdir/dumps/Test_terminal_02.dump, 31550 src/testdir/dumps/Test_terminal_03.dump 31551 31552Patch 8.1.0926 31553Problem: No test for :wnext, :wNext and :wprevious. 31554Solution: Add a test. (Dominique Pelle, closes #3963) 31555Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim, 31556 src/testdir/test_wnext.vim 31557 31558Patch 8.1.0927 31559Problem: USE_CR is never defined. 31560Solution: Remove usage of USE_CR. (Ken Takata, closes #3958) 31561Files: runtime/doc/options.txt, src/diff.c, src/evalfunc.c, 31562 src/ex_cmds2.c, src/fileio.c, src/message.c, src/ops.c, 31563 src/option.h, src/proto/ex_cmds2.pro, src/proto/fileio.pro, 31564 src/tag.c 31565 31566Patch 8.1.0928 (after 8.1.0927) 31567Problem: Stray log function call. 31568Solution: Remove the log function call. 31569Files: src/ex_cmds2.c 31570 31571Patch 8.1.0929 31572Problem: No error when requesting ConPTY but it's not available. 31573Solution: Add an error message. (Hirohito Higashi, closes #3967) 31574Files: runtime/doc/terminal.txt, src/terminal.c 31575 31576Patch 8.1.0930 31577Problem: Typo in Makefile. 31578Solution: Change ABORT_CLFAGS to ABORT_CFLAGS. (Kuang-che Wu, closes #3977) 31579Files: src/Makefile 31580 31581Patch 8.1.0931 31582Problem: vtp_working included in GUI build but unused. 31583Solution: Adjust #ifdefs. (Ken Takata, closes #3971) 31584Files: src/os_win32.c 31585 31586Patch 8.1.0932 31587Problem: Farsi support is outdated and unused. 31588Solution: Delete the Farsi support. 31589Files: Filelist, src/farsi.c, src/proto/farsi.pro, src/farsi.h, src/edit.c, 31590 src/main.c, src/normal.c, src/option.c, src/getchar.c, 31591 src/ex_cmds.c, src/search.c, src/ex_getln.c, src/charset.c, 31592 src/evalfunc.c, src/screen.c, src/window.c, src/globals.h, 31593 src/proto.h, farsi/README.txt, src/structs.h, 31594 farsi/fonts/DOS/far-a01.com, farsi/fonts/SunOs/far-a01.fb, 31595 farsi/fonts/UNIXs/far-a01.f16, farsi/fonts/UNIXs/far-a01.pcf.gz, 31596 farsi/fonts/UNIXs/far-a01.pcf.Z, farsi/fonts/WINDOWS/far-a01.fon, 31597 src/Makefile, src/Make_bc5.mak, src/Make_cyg_ming.mak, 31598 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, 31599 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak, 31600 src/Make_vms.mms, src/configure.ac, src/auto/configure, 31601 src/config.h.in, src/testdir/test_farsi.vim, src/version.c, 31602 src/testdir/Make_all.mak, runtime/doc/options.txt, 31603 runtime/doc/starting.txt, runtime/doc/quickref.txt, 31604 runtime/doc/farsi.txt 31605 31606Patch 8.1.0933 31607Problem: When using VTP scroll region isn't used properly. 31608Solution: Make better use of the scroll region. (Nobuhiro Takasaki, 31609 closes #3974) 31610Files: src/os_win32.c, src/term.c 31611 31612Patch 8.1.0934 31613Problem: Invalid memory access in search pattern. (Kuang-che Wu) 31614Solution: Check for incomplete equivalence class. (closes #3970) 31615Files: src/regexp.c, src/testdir/test_regexp_latin.vim 31616 31617Patch 8.1.0935 31618Problem: Old regexp engine may use invalid buffer for 'iskeyword' or 31619 uninitialized buffer pointer. (Kuang-che Wu) 31620Solution: Set rex.reg_buf when compiling the pattern. (closes #3972) 31621Files: src/regexp.c, src/testdir/test_regexp_latin.vim 31622 31623Patch 8.1.0936 31624Problem: May leak memory when using 'vartabstop'. (Kuang-che Wu) 31625Solution: Fix handling allocated memory for 'vartabstop'. (closes #3976) 31626Files: src/option.c, src/buffer.c 31627 31628Patch 8.1.0937 31629Problem: Invalid memory access in search pattern. (Kuang-che Wu) 31630Solution: Check for incomplete collation element. (Dominique Pelle, 31631 closes #3985) 31632Files: src/regexp.c, src/testdir/test_regexp_latin.vim 31633 31634Patch 8.1.0938 31635Problem: Background color is wrong in MS-Windows console when not using VTP. 31636Solution: Use g_attrCurrent. (Nobuhiro Takasaki, closes #3987) 31637Files: src/os_win32.c 31638 31639Patch 8.1.0939 31640Problem: No completion for sign group names. 31641Solution: Add completion for sign group names and buffer names. (Yegappan 31642 Lakshmanan, closes #3980) 31643Files: src/sign.c, src/testdir/test_signs.vim 31644 31645Patch 8.1.0940 31646Problem: MS-Windows console resizing not handled properly. 31647Solution: Handle resizing the console better. (Nobuhiro Takasaki, Ken 31648 Takata, closes #3968, closes #3611) 31649Files: src/ex_docmd.c, src/normal.c, src/os_win32.c, 31650 src/proto/os_win32.pro 31651 31652Patch 8.1.0941 31653Problem: Macros for MS-Windows are inconsistent, using "32", "3264" and 31654 others. 31655Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the 31656 GUI build. (Hirohito Higashi, closes #3932) 31657Files: src/GvimExt/gvimext.h, src/Make_bc5.mak, src/Make_cyg_ming.mak, 31658 src/Make_ivc.mak, src/Make_mvc.mak, src/beval.h, src/blowfish.c, 31659 src/channel.c, src/edit.c, src/eval.c, src/evalfunc.c, 31660 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_getln.c, 31661 src/feature.h, src/fileio.c, src/getchar.c, src/glbl_ime.cpp, 31662 src/globals.h, src/gui.c, src/gui.h, src/gui_beval.c, 31663 src/gui_gtk.c, src/gui_gtk_f.c, src/gui_gtk_x11.c, 31664 src/if_cscope.c, src/if_cscope.h, src/if_lua.c, src/if_mzsch.c, 31665 src/if_ole.cpp, src/if_perl.xs, src/if_python.c, src/if_python3.c, 31666 src/if_ruby.c, src/if_tcl.c, src/macros.h, src/main.c, 31667 src/mbyte.c, src/memfile.c, src/memline.c, src/menu.c, 31668 src/message.c, src/misc1.c, src/misc2.c, src/nbdebug.c, 31669 src/netbeans.c, src/normal.c, src/option.c, src/option.h, 31670 src/os_mswin.c, src/os_unix.c, src/os_w32exe.c, src/os_win32.c, 31671 src/os_win32.h, src/proto.h, src/screen.c, src/search.c, 31672 src/structs.h, src/syntax.c, src/term.c, src/terminal.c, src/ui.c, 31673 src/undo.c, src/version.c, src/vim.h, src/vim.rc, src/winclip.c 31674 31675Patch 8.1.0942 31676Problem: Options window still checks for the multi_byte feature. 31677Solution: Remove the unnecessary check. (Dominique Pelle, closes #3990) 31678Files: runtime/optwin.vim 31679 31680Patch 8.1.0943 31681Problem: Still a trace of Farsi support. 31682Solution: Remove defining macros. 31683Files: src/feature.h 31684 31685Patch 8.1.0944 31686Problem: Format of nbdbg() arguments is not checked. 31687Solution: Add format attribute. Fix reported problems. (Dominique Pelle, 31688 closes #3992) 31689Files: src/nbdebug.h, src/netbeans.c 31690 31691Patch 8.1.0945 31692Problem: Internal error when using pattern with NL in the range. 31693Solution: Use an actual newline for the range. (closes #3989) Also fix 31694 error message. (Dominique Pelle) 31695Files: src/regexp_nfa.c, src/testdir/test_regexp_latin.vim 31696 31697Patch 8.1.0946 31698Problem: Coveralls is not very useful. 31699Solution: Remove Coveralls badge, add badge for packages. 31700Files: README.md 31701 31702Patch 8.1.0947 31703Problem: Using MSWIN before it is defined. (Cesar Romani) 31704Solution: Move the block that uses MSWIN to below including vim.h. (Ken 31705 Takata) 31706Files: src/if_ruby.c 31707 31708Patch 8.1.0948 31709Problem: When built without +eval "Vim --clean" produces errors. (James 31710 McCoy) 31711Solution: Do not enable filetype detection. 31712Files: runtime/defaults.vim 31713 31714Patch 8.1.0949 31715Problem: MS-Windows defines GUI macros different than other systems. 31716Solution: Swap FEAT_GUI and FEAT_GUI_MSWIN. (Hirohito Higashi, closes #3996) 31717Files: src/Make_bc5.mak, src/Make_cyg_ming.mak, src/Make_ivc.mak, 31718 src/Make_mvc.mak, src/if_ole.cpp, src/vim.h, src/vim.rc 31719 31720Patch 8.1.0950 31721Problem: Using :python sets 'pyxversion' even when not executed. 31722Solution: Check the "skip" flag. (Shane Harper, closes #3995) 31723Files: src/if_python.c, src/if_python3.c, src/testdir/test_python2.vim, 31724 src/testdir/test_python3.vim 31725 31726Patch 8.1.0951 31727Problem: Using WIN64 even though it is never defined. 31728Solution: Only use _WIN64. (Ken Takata, closes #3997) 31729Files: src/evalfunc.c 31730 31731Patch 8.1.0952 31732Problem: Compilation warnings when building the MS-Windows installer. 31733Solution: Fix buffer sizes. (Yasuhiro Matsumoto, closes #3999) 31734Files: src/dosinst.c, src/dosinst.h, src/uninstal.c 31735 31736Patch 8.1.0953 31737Problem: A very long file is truncated at 2^31 lines. 31738Solution: Use LONG_MAX for MAXLNUM. (Dominique Pelle, closes #4011) 31739Files: src/vim.h 31740 31741Patch 8.1.0954 31742Problem: Arguments of semsg() and siemsg() are not checked. 31743Solution: Add function prototype with __attribute__. 31744Files: src/message.c, src/proto/message.pro, src/proto.h 31745 31746Patch 8.1.0955 31747Problem: Matchit autoload directory not in installer. (Chris Morgan) 31748Solution: Adjust the NSIS script. (Christian Brabandt, closes #4006) 31749Files: nsis/gvim.nsi 31750 31751Patch 8.1.0956 31752Problem: Using context:0 in 'diffopt' does not work well. 31753Solution: Make zero context do the same as one line context. (closes #4005) 31754Files: src/diff.c, src/testdir/test_diffmode.vim, 31755 src/testdir/dumps/Test_diff_06.0.dump, 31756 src/testdir/dumps/Test_diff_06.1.dump, 31757 src/testdir/dumps/Test_diff_06.2.dump 31758 31759Patch 8.1.0957 (after 8.1.0915) 31760Problem: Mac: fsync fails on network share. 31761Solution: Check for ENOTSUP. (Yee Cheng Chin, closes #4016) 31762Files: src/fileio.c 31763 31764Patch 8.1.0958 31765Problem: Compiling weird regexp pattern is very slow. 31766Solution: When reallocating post list increase size by 50%. (Kuang-che Wu, 31767 closes #4012) Make assert_inrange() accept float values. 31768Files: src/regexp_nfa.c, src/eval.c, src/testdir/test_regexp_latin.vim, 31769 src/testdir/test_assert.vim 31770 31771Patch 8.1.0959 31772Problem: Sorting large numbers is not tested and does not work properly. 31773Solution: Add test. Fix comparing lines with and without a number. 31774 (Dominique Pelle, closes #4017) 31775Files: src/ex_cmds.c, src/testdir/test_sort.vim 31776 31777Patch 8.1.0960 31778Problem: When using ConPTY garbage collection has undefined behavior. 31779Solution: Free the channel in a better way. (Nobuhiro Takasaki, closes #4020) 31780Files: src/channel.c 31781 31782Patch 8.1.0961 (after 8.1.0957) 31783Problem: Mac: fsync may fail sometimes. 31784Solution: Do not check errno. (Yee Cheng Chin, closes #4025) 31785Files: src/fileio.c 31786 31787Patch 8.1.0962 31788Problem: Building with MinGW and static libs doesn't work. (Salman Halim) 31789Solution: Add -lgcc. (Ken Takata) 31790Files: src/Make_cyg_ming.mak 31791 31792Patch 8.1.0963 31793Problem: Illegal memory access when using 'incsearch'. 31794Solution: Reset highlight_match when changing text. (closes #4022) 31795Files: src/testdir/test_search.vim, src/misc1.c, 31796 src/testdir/dumps/Test_incsearch_change_01.dump 31797 31798Patch 8.1.0964 31799Problem: Cannot see in CI why a screenshot test failed. 31800Solution: Add info about the failure. 31801Files: src/testdir/screendump.vim 31802 31803Patch 8.1.0965 31804Problem: Search test fails. 31805Solution: Wait a bit longer for the 'ambiwidth' redraw. 31806Files: src/testdir/test_search.vim, 31807 src/testdir/dumps/Test_incsearch_change_01.dump 31808 31809Patch 8.1.0966 31810Problem: One terminal test is flaky. 31811Solution: Add to list of flaky tests. 31812Files: src/testdir/runtest.vim 31813 31814Patch 8.1.0967 31815Problem: Stray dependency in test Makefile. 31816Solution: Remove it. (Masato Nishihata, closes #4018) 31817Files: src/testdir/Makefile 31818 31819Patch 8.1.0968 31820Problem: Crash when using search pattern \%Ufffffc23. 31821Solution: Limit character to INT_MAX. (closes #4009) 31822Files: src/regexp_nfa.c, src/testdir/test_search.vim 31823 31824Patch 8.1.0969 31825Problem: Message written during startup is truncated. 31826Solution: Restore message after truncating. (closes #3969) Add a test. 31827 (Yasuhiro Matsumoto) 31828Files: src/message.c, src/testdir/test_startup.vim 31829 31830Patch 8.1.0970 31831Problem: Text properties test fails when 'encoding' is not utf-8. 31832Solution: Compare with original value of 'encoding'. (Christian Brabandt, 31833 closes #3986) 31834Files: src/testdir/runtest.vim, src/testdir/test_textprop.vim 31835 31836Patch 8.1.0971 31837Problem: Failure for selecting quoted text object moves cursor. 31838Solution: Restore the Visual selection on failure. (Christian Brabandt, 31839 closes #4024) 31840Files: src/search.c, src/testdir/test_textobjects.vim 31841 31842Patch 8.1.0972 31843Problem: Cannot switch from terminal window to next tabpage. 31844Solution: Make CTRL-W gt move to next tabpage. 31845Files: src/window.c, src/testdir/test_terminal.vim, 31846 runtime/doc/terminal.txt 31847 31848Patch 8.1.0973 31849Problem: Pattern with syntax error gives three error messages. (Kuang-che 31850 Wu) 31851Solution: Remove outdated internal error. Don't fall back to other engine 31852 after an error.(closes #4035) 31853Files: src/regexp_nfa.c, src/testdir/test_search.vim, src/regexp.c 31854 31855Patch 8.1.0974 31856Problem: Cannot switch from terminal window to previous tabpage. 31857Solution: Make CTRL-W gT move to previous tabpage. 31858Files: src/window.c, src/testdir/test_terminal.vim, 31859 runtime/doc/terminal.txt 31860 31861Patch 8.1.0975 31862Problem: Using STRNCPY() wrongly. Warning for uninitialized variable. 31863Solution: Use mch_memmove(). Initialize variable. (Yasuhiro Matsumoto, 31864 closes #3979) 31865Files: src/screen.c, src/textprop.c 31866 31867Patch 8.1.0976 31868Problem: Dosinstall still has buffer overflow problems. 31869Solution: Adjust buffer sizes. (Yasuhiro Matsumoto, closes #4002) 31870Files: src/dosinst.c, src/dosinst.h, src/uninstal.c 31871 31872Patch 8.1.0977 31873Problem: Blob not tested with Ruby. 31874Solution: Add more test coverage. Fixes a crash. (Dominique Pelle, 31875 closes #4036) 31876Files: src/if_ruby.c, src/testdir/test_ruby.vim 31877 31878Patch 8.1.0978 31879Problem: Blob not tested with Perl. 31880Solution: Add more test coverage. Fixes a crash. (Dominique Pelle, 31881 closes #4037) 31882Files: src/if_perl.c, src/testdir/test_ruby.vim 31883 31884Patch 8.1.0979 31885Problem: Compiler warning for unused functions. (Yasuhiro Matsumoto) 31886Solution: Adjust #ifdef. 31887Files: src/screen.c 31888 31889Patch 8.1.0980 31890Problem: extend() insufficiently tested. 31891Solution: Add more tests. (Dominique Pelle, closes #4040) 31892Files: src/testdir/test_listdict.vim 31893 31894Patch 8.1.0981 31895Problem: Pasting in terminal insufficiently tested. 31896Solution: Add more tests. (Dominique Pelle, closes #4040) 31897Files: src/testdir/test_terminal.vim 31898 31899Patch 8.1.0982 31900Problem: update_cursor() called twice in :shell. 31901Solution: Remove one of the calls. (Yasuhiro Matsumoto, closes #4039) 31902Files: src/terminal.c 31903 31904Patch 8.1.0983 31905Problem: Checking __CYGWIN32__ unnecessarily. 31906Solution: Remove the checks. (Ken Takata) 31907Files: src/evalfunc.c, src/os_unix.c, src/os_win32.c 31908 31909Patch 8.1.0984 31910Problem: Unnecessary #ifdefs. 31911Solution: Remove the #ifdefs. (Ken Takata) 31912Files: src/winclip.c 31913 31914Patch 8.1.0985 31915Problem: Crash with large number in regexp. (Kuang-che Wu) 31916Solution: Check for long becoming negative int. (closes #4042) 31917Files: src/regexp.c, src/testdir/test_search.vim 31918 31919Patch 8.1.0986 31920Problem: rename() is not properly tested. 31921Solution: Add tests. (Dominique Pelle, closes #4061) 31922Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim, 31923 src/testdir/test_rename.vim 31924 31925Patch 8.1.0987 31926Problem: Unnecessary condition in #ifdef. 31927Solution: Remove using CYGWIN32. (Ken Takata) 31928Files: src/os_unix.h, src/xxd/xxd.c 31929 31930Patch 8.1.0988 31931Problem: Deleting a location list buffer breaks location list window 31932 functionality. 31933Solution: (Yegappan Lakshmanan, closes #4056) 31934Files: src/quickfix.c, src/testdir/test_quickfix.vim 31935 31936Patch 8.1.0989 31937Problem: Various small code ugliness. 31938Solution: Remove pointless NULL checks. Fix function calls. Fix typos. 31939 (Dominique Pelle, closes #4060) 31940Files: src/buffer.c, src/crypt.c, src/evalfunc.c, src/ex_cmds2.c, 31941 src/globals.h, src/gui_gtk_f.c, src/gui_gtk_x11.c, src/gui_mac.c, 31942 src/ops.c, src/option.h, src/os_unix.c, src/os_win32.c, 31943 src/popupmnu.c, src/regexp.c, src/ui.c, src/version.c 31944 31945Patch 8.1.0990 31946Problem: Floating point exception with "%= 0" and "/= 0". 31947Solution: Avoid dividing by zero. (Dominique Pelle, closes #4058) 31948Files: src/eval.c, src/testdir/test_vimscript.vim 31949 31950Patch 8.1.0991 31951Problem: Cannot build with FEAT_EVAL defined and FEAT_SEARCH_EXTRA 31952 undefined, and with FEAT_DIFF defined and FEAT_EVAL undefined. 31953Solution: Add a couple of #ifdefs. (closes #4067) 31954Files: src/diff.c, src/search.c 31955 31956Patch 8.1.0992 31957Problem: A :normal command while executing a register resets the 31958 reg_executing() result. 31959Solution: Save and restore reg_executing. (closes #4066) 31960Files: src/ex_docmd.c, src/structs.h, src/testdir/test_functions.vim 31961 31962Patch 8.1.0993 31963Problem: ch_read() may return garbage if terminating NL is missing. 31964Solution: Add terminating NUL. (Ozaki Kiichi, closes #4065) 31965Files: src/channel.c, src/testdir/test_channel.vim 31966 31967Patch 8.1.0994 31968Problem: Relative cursor position is not calculated correctly. 31969Solution: Always set topline, also when window is one line only. 31970 (Robert Webb) Add more info to getwininfo() for testing. 31971Files: src/window.c, src/evalfunc.c, runtime/doc/eval.txt, 31972 src/testdir/test_window_cmd.vim 31973 31974Patch 8.1.0995 31975Problem: A getchar() call while executing a register resets the 31976 reg_executing() result. 31977Solution: Save and restore reg_executing. (closes #4066) 31978Files: src/evalfunc.c, src/testdir/test_functions.vim 31979 31980Patch 8.1.0996 (after 8.1.0994) 31981Problem: A few screendump tests fail because of scrolling. 31982Solution: Update the screendumps. 31983Files: src/testdir/dumps/Test_incsearch_substitute_11.dump, 31984 src/testdir/dumps/Test_incsearch_substitute_12.dump, 31985 src/testdir/dumps/Test_incsearch_substitute_13.dump 31986 31987Patch 8.1.0997 31988Problem: Using GUI colors in vim.exe when 'termguicolors' is off. 31989Solution: Add condition for 'termguicolors' set. (Ken Takata, closes #4078) 31990Files: src/os_win32.c 31991 31992Patch 8.1.0998 31993Problem: getcurpos() unexpectedly changes "curswant". 31994Solution: Save and restore "curswant". (closes #4069) 31995Files: src/evalfunc.c, src/testdir/test_visual.vim 31996 31997Patch 8.1.0999 31998Problem: Use register one too often and not properly tested. 31999Solution: Do not always use register one when specifying a register. 32000 (closes #4085) Add more tests. 32001Files: src/ops.c, src/testdir/test_registers.vim 32002 32003Patch 8.1.1000 32004Problem: Indenting is off. 32005Solution: Make indenting consistent and update comments. (Ozaki Kiichi, 32006 closes #4079) 32007Files: src/getchar.c, src/ops.c 32008 32009Patch 8.1.1001 32010Problem: Visual area not correct when using 'cursorline'. 32011Solution: Update w_last_cursorline also in Visual mode. (Hirohito Higashi, 32012 closes #4086) 32013Files: src/screen.c, src/testdir/test_highlight.vim, 32014 src/testdir/dumps/Test_cursorline_with_visualmode_01.dump 32015 32016Patch 8.1.1002 32017Problem: "gf" does not always work when URL has a port number. (Jakob 32018 Schöttl) 32019Solution: When a URL is recognized also accept ":". (closes #4082) 32020Files: src/findfile.c, src/testdir/test_gf.vim 32021 32022Patch 8.1.1003 32023Problem: Playing back recorded key sequence mistakes key code. 32024Solution: Insert a <Nop> after the <Esc>. (closes #4068) 32025Files: src/getchar.c, src/testdir/test_registers.vim 32026 32027Patch 8.1.1004 32028Problem: Function "luaV_setref()" not covered with tests. 32029Solution: Add a test. (Dominique Pelle, closes #4089) 32030Files: src/testdir/test_lua.vim 32031 32032Patch 8.1.1005 (after 8.1.1003) 32033Problem: Test fails because t_F2 is not set. 32034Solution: Add try-catch. 32035Files: src/testdir/test_registers.vim 32036 32037Patch 8.1.1006 32038Problem: Repeated code in quickfix support. 32039Solution: Move code to functions. (Yegappan Lakshmanan, closes #4091) 32040Files: src/quickfix.c 32041 32042Patch 8.1.1007 32043Problem: Using closure may consume a lot of memory. 32044Solution: unreference items that are no longer needed. Add a test. (Ozaki 32045 Kiichi, closes #3961) 32046Files: src/testdir/Make_all.mak, src/testdir/test_memory_usage.vim, 32047 src/userfunc.c 32048 32049Patch 8.1.1008 32050Problem: MS-Windows: HAVE_STDINT_H only defined for non-debug version. 32051Solution: Move definition of HAVE_STDINT_H up. (Taro Muraoka, closes #4109) 32052Files: src/Make_mvc.mak 32053 32054Patch 8.1.1009 32055Problem: MS-Windows: some text is not baseline aligned. 32056Solution: Use bottom alignment. (Taro Muraoka, closes #4116, closes #1520) 32057Files: src/gui_dwrite.cpp 32058 32059Patch 8.1.1010 32060Problem: Lua interface leaks memory. 32061Solution: Clear typeval after copying it. 32062Files: src/if_lua.c 32063 32064Patch 8.1.1011 32065Problem: Indent from autoindent not removed from blank line. (Daniel Hahler) 32066Solution: Do not reset did_ai when text follows. (closes #4119) 32067Files: src/misc1.c, src/testdir/test_edit.vim 32068 32069Patch 8.1.1012 32070Problem: Memory leak with E461. 32071Solution: Clear the typeval. (Dominique Pelle, closes #4111) 32072Files: src/eval.c 32073 32074Patch 8.1.1013 32075Problem: MS-Windows: Scrolling fails when dividing the screen. 32076Solution: Position the cursor before calling ScrollConsoleScreenBuffer(). 32077 (Nobuhiro Takasaki, closes #4115) 32078Files: src/os_win32.c 32079 32080Patch 8.1.1014 32081Problem: MS-Windows: /analyze only defined for non-debug version. 32082Solution: Move adding of /analyze up. (Ken Takata, closes #4114) 32083Files: src/Make_mvc.mak 32084 32085Patch 8.1.1015 32086Problem: Quickfix buffer shows up in list, can't get buffer number. 32087Solution: Make the quickfix buffer unlisted when the quickfix window is 32088 closed. get the quickfix buffer number with getqflist(). 32089 (Yegappan Lakshmanan, closes #4113) 32090Files: runtime/doc/eval.txt, runtime/doc/quickfix.txt, src/quickfix.c, 32091 src/testdir/test_quickfix.vim, src/window.c 32092 32093Patch 8.1.1016 32094Problem: MS-Windows: No color in shell when using "!" in 'guioptions'. 32095Solution: Don't stop termcap when using a terminal window for the shell. 32096 (Nobuhiro Takasaki, vim-jp, closes #4117) 32097Files: src/ex_cmds.c 32098 32099Patch 8.1.1017 32100Problem: Off-by-one error in filetype detection. 32101Solution: Also check the last line of the file. 32102Files: runtime/autoload/dist/ft.vim 32103 32104Patch 8.1.1018 32105Problem: Window cleared when entering Terminal-Normal twice. (Epheien) 32106Solution: Don't cleanup scrollback when there is no postponed scrollback. 32107 (Christian Brabandt, closes #4126) 32108Files: src/terminal.c 32109 32110Patch 8.1.1019 32111Problem: Lua: may garbage collect function reference in use. 32112Solution: Keep the function name instead of the typeval. Make luaV_setref() 32113 handle funcref objects. (Ozaki Kiichi, closes #4127) 32114Files: src/if_lua.c, src/testdir/test_lua.vim 32115 32116Patch 8.1.1020 32117Problem: Compiler warning for Python3 interface. 32118Solution: Add type cast. (Ozaki Kiichi, closes #4128, closes #4103) 32119Files: src/if_python3.c 32120 32121Patch 8.1.1021 32122Problem: pyeval() and py3eval() leak memory. 32123Solution: Do not increase the reference count twice. (Ozaki Kiichi, 32124 closes #4129) 32125Files: src/if_python.c, src/if_python3.c 32126 32127Patch 8.1.1022 32128Problem: May use NULL pointer when out of memory. (Coverity) 32129Solution: Check for blob_alloc() returning NULL. 32130Files: src/blob.c 32131 32132Patch 8.1.1023 32133Problem: May use NULL pointer when indexing a blob. (Coverity) 32134Solution: Break out of loop after using index on blob 32135Files: src/eval.c 32136 32137Patch 8.1.1024 32138Problem: Stray log calls in terminal code. (Christian Brabandt) 32139Solution: Remove the calls. 32140Files: src/terminal.c 32141 32142Patch 8.1.1025 32143Problem: Checking NULL pointer after addition. (Coverity) 32144Solution: First check for NULL, then add the column. 32145Files: src/regexp.c 32146 32147Patch 8.1.1026 32148Problem: Unused condition. (Coverity) 32149Solution: Remove the condition. Also remove unused #define. 32150Files: src/move.c 32151 32152Patch 8.1.1027 32153Problem: Memory usage test sometimes fails. 32154Solution: Use 80% of before.last as the lower limit. (Christian Brabandt) 32155Files: src/testdir/test_memory_usage.vim 32156 32157Patch 8.1.1028 32158Problem: MS-Windows: memory leak when creating terminal fails. 32159Solution: Free the command. (Ken Takata, closes #4138) 32160Files: src/os_win32.c 32161 32162Patch 8.1.1029 32163Problem: DirectWrite doesn't take 'linespace' into account. 32164Solution: Include 'linespace' in the position. (Ken Takata, closes #4137) 32165Files: src/gui_dwrite.cpp, src/gui_w32.c 32166 32167Patch 8.1.1030 32168Problem: Quickfix function arguments are inconsistent. 32169Solution: Pass a list pointer instead of info and index. (Yegappan 32170 Lakshmanan, closes #4135) 32171Files: src/quickfix.c 32172 32173Patch 8.1.1031 32174Problem: Memory usage test may still fail. 32175Solution: Drop the unused min value. (Christian Brabandt) 32176Files: src/testdir/test_memory_usage.vim 32177 32178Patch 8.1.1032 32179Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan) 32180Solution: Fix relevant warnings. 32181Files: src/arabic.c, src/edit.c, src/eval.c, src/fileio.c, src/normal.c, 32182 src/option.c, src/os_unix.c, src/regexp.c, src/screen.c, 32183 src/channel.c, src/charset.c, src/message.c 32184 32185Patch 8.1.1033 32186Problem: Memory usage test may still fail on some systems. (Elimar 32187 Riesebieter) 32188Solution: Increase tolerance from 1% to 3%. 32189Files: src/testdir/test_memory_usage.vim 32190 32191Patch 8.1.1034 32192Problem: Too many #ifdefs. 32193Solution: Merge FEAT_MOUSE_SGR into FEAT_MOUSE_XTERM / FEAT_MOUSE_TTY. 32194Files: src/evalfunc.c, src/misc2.c, src/os_unix.c, src/term.c, 32195 src/version.c, src/feature.h 32196 32197Patch 8.1.1035 32198Problem: prop_remove() second argument is not optional. 32199Solution: Fix argument count. Use "buf" instead of "curbuf". (closes #4147) 32200Files: src/evalfunc.c, src/testdir/test_textprop.vim, src/textprop.c 32201 32202Patch 8.1.1036 32203Problem: Quickfix function arguments are inconsistent. 32204Solution: Pass a list pointer to more functions. (Yegappan Lakshmanan, 32205 closes #4149) 32206Files: src/quickfix.c 32207 32208Patch 8.1.1037 32209Problem: Memory usage test may still fail on some systems. 32210Solution: Increase tolerance from 3% to 20%. 32211Files: src/testdir/test_memory_usage.vim 32212 32213Patch 8.1.1038 32214Problem: Arabic support excludes Farsi. 32215Solution: Add Farsi support to the Arabic support. (Ali Gholami Rudi, 32216 Ameretat Reith) 32217Files: Filelist, src/arabic.c, src/arabic.h, src/globals.h, src/macros.h, 32218 src/mbyte.c, src/proto/arabic.pro, src/proto/mbyte.pro, 32219 src/Makefile, src/testdir/test_arabic.vim 32220 32221Patch 8.1.1039 32222Problem: MS-Windows build fails. 32223Solution: Remove dependency on arabic.h 32224Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms 32225 32226Patch 8.1.1040 32227Problem: FEAT_TAG_ANYWHITE is not enabled in any build. 32228Solution: Remove the feature. 32229Files: src/feature.h, src/tag.c, src/evalfunc.c, src/version.c, 32230 src/Make_vms.mms 32231 32232Patch 8.1.1041 32233Problem: Test for Arabic no longer needed. 32234Solution: Remove the test for something that was intentionally left out. 32235Files: src/testdir/test_arabic.vim 32236 32237Patch 8.1.1042 32238Problem: The paste test doesn't work properly in the Windows console. 32239Solution: Disable the test. 32240Files: src/testdir/test_paste.vim 32241 32242Patch 8.1.1043 32243Problem: Lua interface does not support Blob. 32244Solution: Add support to Blob. (Ozaki Kiichi, closes #4151) 32245Files: runtime/doc/if_lua.txt, src/if_lua.c, src/testdir/test_lua.vim 32246 32247Patch 8.1.1044 32248Problem: No way to check the reference count of objects. 32249Solution: Add test_refcount(). (Ozaki Kiichi, closes #4124) 32250Files: runtime/doc/eval.txt, src/evalfunc.c, 32251 src/testdir/test_vimscript.vim 32252 32253Patch 8.1.1045 32254Problem: E315 ml_get error when using Python and hidden buffer. 32255Solution: Make sure the cursor position is valid. (Ben Jackson, 32256 closes #4153, closes #4154) 32257Files: src/if_py_both.h, src/testdir/test_python2.vim, 32258 src/testdir/test_python3.vim 32259 32260Patch 8.1.1046 32261Problem: the "secure" variable is used inconsistently. (Justin M. Keyes) 32262Solution: Set it to one instead of incrementing. 32263Files: src/buffer.c, src/option.c 32264 32265Patch 8.1.1047 32266Problem: WINCH signal is not tested. 32267Solution: Add a test. (Dominique Pelle, closes #4158) 32268Files: src/testdir/Make_all.mak, src/testdir/test_signals.vim 32269 32270Patch 8.1.1048 32271Problem: Minor issues with tests. 32272Solution: Delete unused test OK file. Add missing entries in list of tests. 32273 Fix readme file. (Masato Nishihata, closes #4160) 32274Files: src/testdir/test85.ok, src/testdir/Make_all.mak, 32275 src/testdir/README.txt 32276 32277Patch 8.1.1049 32278Problem: When user tries to exit with CTRL-C message is confusing. 32279Solution: Only mention ":qa!" when there is a changed buffer. (closes #4163) 32280Files: src/undo.c, src/proto/undo.pro, src/normal.c, 32281 src/testdir/test_normal.vim 32282 32283Patch 8.1.1050 32284Problem: Blank screen when DirectWrite failed. 32285Solution: Call redraw_later_clear() after recreating the Direct2D render 32286 target. (Ken Takata, closes #4172) 32287Files: src/gui_dwrite.cpp 32288 32289Patch 8.1.1051 32290Problem: Not all ways to switch terminal mode are tested. 32291Solution: Add more test cases. 32292Files: src/testdir/test_terminal.vim 32293 32294Patch 8.1.1052 32295Problem: test for CTRL-C message sometimes fails 32296Solution: Make sure there are no changed buffers. 32297Files: src/testdir/test_normal.vim 32298 32299Patch 8.1.1053 32300Problem: Warning for missing return statement. (Dominique Pelle) 32301Solution: Add return statement. 32302Files: src/undo.c 32303 32304Patch 8.1.1054 32305Problem: Not checking return value of ga_grow(). (Coverity) 32306Solution: Only append when ga_grow() returns OK. 32307Files: src/if_lua.c 32308 32309Patch 8.1.1055 32310Problem: CTRL-G U in Insert mode doesn't work to avoid splitting the undo 32311 sequence for shift-left and shift-right. 32312Solution: Also check dont_sync_undo for shifted cursor keys. (Christian 32313 Brabandt) 32314Files: src/edit.c, src/testdir/test_mapping.vim 32315 32316Patch 8.1.1056 32317Problem: No eval function for Ruby. 32318Solution: Add rubyeval(). (Ozaki Kiichi, closes #4152) 32319Files: runtime/doc/eval.txt, runtime/doc/if_ruby.txt, src/evalfunc.c, 32320 src/if_ruby.c, src/proto/if_ruby.pro, src/testdir/test_ruby.vim 32321 32322Patch 8.1.1057 32323Problem: Nsis config is too complicated. 32324Solution: Use "File /r" for the macros and pack directories. (Ken Takata, 32325 closes #4169) 32326Files: nsis/gvim.nsi 32327 32328Patch 8.1.1058 32329Problem: Memory usage test may still fail on some systems. 32330Solution: Use 98% of the lower limit. (Christian Brabandt) 32331Files: src/testdir/test_memory_usage.vim 32332 32333Patch 8.1.1059 32334Problem: MS-Windows: PlatformId() is called unnecessarily. 32335Solution: Remove calls to PlatformId(). (Ken Takata, closes #4170) 32336Files: src/os_win32.c 32337 32338Patch 8.1.1060 32339Problem: MS-Windows: get_cmd_args() is no longer needed, get_cmd_argsW() is 32340 always used. 32341Solution: Remove get_cmd_args(). (Ken Takata, closes #4171) 32342Files: src/gui_w32.c, src/os_w32exe.c 32343 32344Patch 8.1.1061 32345Problem: When substitute string throws error, substitute happens anyway. 32346Solution: Skip substitution when aborting. (closes #4161) 32347Files: src/ex_cmds.c, src/testdir/test_substitute.vim 32348 32349Patch 8.1.1062 32350Problem: Quickfix code is repeated. 32351Solution: Define FOR_ALL_QFL_ITEMS(). Move some code to separate functions. 32352 (Yegappan Lakshmanan, closes #4166) 32353Files: src/quickfix.c 32354 32355Patch 8.1.1063 32356Problem: Insufficient testing for wildmenu completion. 32357Solution: Extend the test case. (Dominique Pelle, closes #4182) 32358Files: src/testdir/test_cmdline.vim 32359 32360Patch 8.1.1064 32361Problem: No test for output conversion in the GTK GUI. 32362Solution: Add a simplistic test. 32363Files: src/testdir/test_gui.vim 32364 32365Patch 8.1.1065 32366Problem: No test for using and deleting menu in the GUI. 32367Solution: Add a test. 32368Files: src/testdir/test_gui.vim 32369 32370Patch 8.1.1066 32371Problem: VIMDLL isn't actually used. 32372Solution: Remove VIMDLL support. 32373Files: src/gui_w32.c, src/main.c, src/os_w32exe.c, src/Make_bc5.mak, 32374 src/os_w32dll.c 32375 32376Patch 8.1.1067 32377Problem: Issues added on github are unstructured. 32378Solution: Add a bug and feature request template. (Ken Takata, closes #4183) 32379Files: .github/ISSUE_TEMPLATE/feature_request.md, 32380 .github/ISSUE_TEMPLATE/bug_report.md 32381 32382Patch 8.1.1068 32383Problem: Cannot get all the information about current completion. 32384Solution: Add complete_info(). (Shougo, Hirohito Higashi, closes #4106) 32385Files: runtime/doc/eval.txt, runtime/doc/insert.txt, 32386 runtime/doc/usr_41.txt, src/edit.c, src/evalfunc.c, 32387 src/proto/edit.pro, src/testdir/test_popup.vim 32388 32389Patch 8.1.1069 32390Problem: Source README file doesn't look nice on github. 32391Solution: Turn it into markdown, still readable as plain text. 32392 (WenxuanHuang, closes #4141) 32393Files: src/README.txt, src/README.md, Filelist 32394 32395Patch 8.1.1070 32396Problem: Issue templates are not good enough. 32397Solution: Rephrase to anticipate unexperienced users. 32398Files: .github/ISSUE_TEMPLATE/feature_request.md, 32399 .github/ISSUE_TEMPLATE/bug_report.md 32400 32401Patch 8.1.1071 32402Problem: Cannot get composing characters from the screen. 32403Solution: Add screenchars() and screenstring(). (partly by Ozaki Kiichi, 32404 closes #4059) 32405Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 32406 src/testdir/test_utf8.vim, src/testdir/view_util.vim 32407 32408Patch 8.1.1072 32409Problem: Extending sign and foldcolumn below the text is confusing. 32410Solution: Let the sign and foldcolumn stop at the last text line, just like 32411 the line number column. Also stop the command line window leader. 32412 (Christian Brabandt, closes #3964) 32413Files: src/screen.c, src/testdir/test_diffmode.vim, 32414 src/testdir/dumps/Test_diff_of_diff_01.dump, 32415 src/testdir/dumps/Test_diff_01.dump, 32416 src/testdir/dumps/Test_diff_02.dump, 32417 src/testdir/dumps/Test_diff_03.dump, 32418 src/testdir/dumps/Test_diff_04.dump, 32419 src/testdir/dumps/Test_diff_05.dump, 32420 src/testdir/dumps/Test_diff_06.dump, 32421 src/testdir/dumps/Test_diff_06.0.dump, 32422 src/testdir/dumps/Test_diff_06.1.dump, 32423 src/testdir/dumps/Test_diff_06.2.dump, 32424 src/testdir/dumps/Test_diff_10.dump, 32425 src/testdir/dumps/Test_diff_11.dump, 32426 src/testdir/dumps/Test_diff_12.dump, 32427 src/testdir/dumps/Test_diff_13.dump, 32428 src/testdir/dumps/Test_diff_14.dump, 32429 src/testdir/dumps/Test_diff_15.dump, 32430 src/testdir/dumps/Test_diff_16.dump, 32431 src/testdir/dumps/Test_diff_17.dump, 32432 src/testdir/dumps/Test_diff_18.dump, 32433 src/testdir/dumps/Test_diff_19.dump, 32434 src/testdir/dumps/Test_diff_20.dump, 32435 src/testdir/dumps/Test_diff_with_cursorline_01.dump, 32436 src/testdir/dumps/Test_diff_with_cursorline_02.dump, 32437 src/testdir/dumps/Test_diff_with_cursorline_03.dump, 32438 src/testdir/dumps/Test_folds_with_rnu_01.dump, 32439 src/testdir/dumps/Test_folds_with_rnu_02.dump 32440 32441Patch 8.1.1073 32442Problem: Space in number column is on wrong side with 'rightleft' set. 32443Solution: Move the space to the text side. Add a test. 32444Files: src/screen.c, src/testdir/test_diffmode.vim, 32445 src/testdir/dumps/Test_diff_of_diff_02.dump 32446 32447Patch 8.1.1074 32448Problem: Python test doesn't wipe out hidden buffer. 32449Solution: Wipe out the buffer. (Ben Jackson, closes #4189) 32450Files: src/testdir/test_python2.vim, src/testdir/test_python3.vim 32451 32452Patch 8.1.1075 32453Problem: Function reference count wrong in Python code. 32454Solution: Use "O" instead of "N" for the arguments. (Ben Jackson, 32455 closes #4188) 32456Files: src/if_py_both.h 32457 32458Patch 8.1.1076 32459Problem: File for Insert mode is much too big. 32460Solution: Split off the code for Insert completion. (Yegappan Lakshmanan, 32461 closes #4044) 32462Files: Filelist, src/Make_bc5.mak, src/Make_cyg_ming.mak, 32463 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, 32464 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak, 32465 src/Make_vms.mms, src/Makefile, src/edit.c, src/evalfunc.c, 32466 src/globals.h, src/insexpand.c, src/misc2.c, src/proto.h, 32467 src/proto/edit.pro, src/proto/insexpand.pro, src/search.c, 32468 src/spell.c, src/structs.h, src/tag.c, src/vim.h 32469 32470Patch 8.1.1077 32471Problem: reg_executing() is reset by calling input(). 32472Solution: Implement a more generic way to save and restore reg_executing. 32473 (Ozaki Kiichi, closes #4192) 32474Files: src/evalfunc.c, src/ex_docmd.c, src/testdir/test_functions.vim 32475 32476Patch 8.1.1078 32477Problem: When 'listchars' is set a composing char on a space is wrong. 32478Solution: Separate handling a non-breaking space and a space. (Yasuhiro 32479 Matsumoto, closes #4046) 32480Files: src/screen.c, src/testdir/test_listchars.vim 32481 32482Patch 8.1.1079 32483Problem: No need for a separate ScreenLinesUtf8() test function. 32484Solution: Get the composing characters with ScreenLines(). 32485Files: src/testdir/view_util.vim, src/testdir/test_listchars.vim, 32486 src/testdir/test_utf8.vim 32487 32488Patch 8.1.1080 32489Problem: When a screendump test fails, moving the file is a hassle. 32490Solution: Instead of appending ".failed" to the file name, keep the same 32491 file name but put the screendump in the "failed" directory. 32492 Then the file name only needs to be typed once when moving a 32493 screendump. 32494Files: src/testdir/screendump.vim 32495 32496Patch 8.1.1081 32497Problem: MS-Windows: cannot use fonts whose name cannot be represented in 32498 the current code page. 32499Solution: Use wide font functions. (Ken Takata, closes #4000) 32500Files: src/gui_w32.c, src/os_mswin.c, src/proto/gui_w32.pro, 32501 src/proto/os_mswin.pro 32502 32503Patch 8.1.1082 32504Problem: "Conceal" match is mixed up with 'hlsearch' match. 32505Solution: Check that a match is found, not a 'hlsearch' item. (Andy 32506 Massimino, closes #4073) 32507Files: src/screen.c 32508 32509Patch 8.1.1083 32510Problem: MS-Windows: hang when opening a file on network share. 32511Solution: Avoid using FindFirstFile(), use GetLongPathNameW(). (Ken Takata, 32512 closes #3923) 32513Files: src/os_win32.c 32514 32515Patch 8.1.1084 32516Problem: Cannot delete a match from another window. (Paul Jolly) 32517Solution: Add window ID argument to matchdelete(), clearmatches(), 32518 getmatches() and setmatches(). (Andy Massimino, closes #4178) 32519Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_match.vim 32520 32521Patch 8.1.1085 32522Problem: Compiler warning for possibly uninitialized variable. (Tony 32523 Mechelynck) 32524Solution: Make conditions more logical. 32525Files: src/arabic.c 32526 32527Patch 8.1.1086 32528Problem: Too many curly braces. 32529Solution: Remove curly braces where they are not needed. (Hirohito Higashi, 32530 closes #3982) 32531Files: src/autocmd.c, src/buffer.c, src/crypt_zip.c, src/dosinst.c, 32532 src/edit.c, src/insexpand.c, src/evalfunc.c, src/ex_cmds.c, 32533 src/ex_docmd.c, src/ex_getln.c, src/getchar.c, src/gui.c, 32534 src/gui_gtk.c, src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, 32535 src/gui_w32.c, src/gui_x11.c, src/if_mzsch.c, src/if_python3.c, 32536 src/if_ruby.c, src/if_tcl.c, src/indent.c, src/libvterm/src/pen.c, 32537 src/macros.h, src/memline.c, src/menu.c, src/misc1.c, src/move.c, 32538 src/netbeans.c, src/normal.c, src/ops.c, src/option.c, 32539 src/os_mswin.c, src/os_qnx.c, src/os_unix.c, src/os_win32.c, 32540 src/regexp_nfa.c, src/screen.c, src/spell.c, src/terminal.c 32541 32542Patch 8.1.1087 32543Problem: tag stack is incorrect after CTRL-T and then :tag 32544Solution: Handle DT_TAG differently. (test by Andy Massimino, closes #3944, 32545 closes #4177) 32546Files: src/tag.c, src/testdir/test_tagjump.vim 32547 32548Patch 8.1.1088 32549Problem: Height of quickfix window not retained with vertical split. 32550Solution: Use frame_fixed_height() and frame_fixed_width(). (Hongbo Liu, 32551 closes #4013, closes #2998) 32552Files: src/testdir/test_winbuf_close.vim, src/window.c 32553 32554Patch 8.1.1089 32555Problem: Tutor does not check $LC_MESSAGES. 32556Solution: Let $LC_MESSAGES overrule $LANG. (Miklos Vajna, closes #4112) 32557Files: runtime/tutor/tutor.vim 32558 32559Patch 8.1.1090 32560Problem: MS-Windows: modify_fname() has problems with some 'encoding'. 32561Solution: Use GetLongPathNameW() instead of GetLongPathName(). (Ken Takata, 32562 closes #4007) 32563Files: src/eval.c 32564 32565Patch 8.1.1091 32566Problem: MS-Windows: cannot use multi-byte chars in environment var. 32567Solution: Use the wide API. (Ken Takata, closes #4008) 32568Files: src/misc1.c, src/testdir/test_let.vim 32569 32570Patch 8.1.1092 32571Problem: Setting 'guifont' when maximized resizes the Vim window. When 32572 'guioptions' contains "k" gvim may open with a tiny window. 32573Solution: Avoid un-maximizing when setting 'guifont'. (Yee Cheng Chin, 32574 closes #3808) 32575Files: src/gui.c 32576 32577Patch 8.1.1093 32578Problem: Support for outdated tags format slows down tag parsing. 32579Solution: Remove FEAT_TAG_OLDSTATIC. 32580Files: runtime/doc/tagsrch.txt, src/feature.h, src/tag.c, src/version.c 32581 32582Patch 8.1.1094 32583Problem: Long line in tags file causes error. 32584Solution: Check for overlong line earlier. (Andy Massimino, closes #4051, 32585 closes #4084) 32586Files: src/tag.c, src/testdir/test_tagjump.vim 32587 32588Patch 8.1.1095 32589Problem: MS-Windows: executable() fails on very long filename. 32590Solution: Use much bigger buffer. (Ken Takata, closes #4015) 32591Files: src/os_win32.c, src/testdir/test_functions.vim 32592 32593Patch 8.1.1096 32594Problem: MS-Windows: cannot distinguish BS and CTRL-H. 32595Solution: Add code for VK_BACK. (Linwei, closes #1833) 32596Files: src/term.c, src/os_win32.c 32597 32598Patch 8.1.1097 (after 8.1.1092) 32599Problem: Motif build fails. (Paul Jolly) 32600Solution: Only use gui_mch_maximized() for MS-Windows. (closes #4194) 32601Files: src/gui.c 32602 32603Patch 8.1.1098 32604Problem: Quickfix code duplication. 32605Solution: Refactor the qf_init_ext() function. (Yegappan Lakshmanan, 32606 closes #4193) 32607Files: src/README.md, src/quickfix.c 32608 32609Patch 8.1.1099 32610Problem: The do_tag() function is too long. 32611Solution: Factor parts out to separate functions. Move simplify_filename() 32612 to a file where it fits better. (Andy Massimino, closes #4195) 32613Files: src/tag.c, src/proto/tag.pro, src/findfile.c, 32614 src/proto/findfile.pro 32615 32616Patch 8.1.1100 32617Problem: Tag file without trailing newline no longer works. (Marco Hinz) 32618Solution: Don't expect a newline at the end of the file. (closes #4200) 32619Files: src/tag.c, src/testdir/test_taglist.vim 32620 32621Patch 8.1.1101 32622Problem: Signals test may fail in the GUI. 32623Solution: Skip the test for the GUI. (Yee Checng Chin, closes #4202) 32624Files: src/testdir/test_signals.vim 32625 32626Patch 8.1.1102 32627Problem: Win32 exe file contains unused code. 32628Solution: Remove unused #ifdefs and code. (Ken Takata, closes #4198) 32629Files: src/os_w32exe.c 32630 32631Patch 8.1.1103 32632Problem: MS-Windows: old API calls are no longer needed. 32633Solution: Always use the wide functions. (Ken Takata, closes #4199) 32634Files: src/glbl_ime.cpp, src/globals.h, src/gui_w32.c, src/misc1.c, 32635 src/os_mswin.c, src/os_win32.c, src/vim.h, 32636 32637Patch 8.1.1104 32638Problem: MS-Windows: not all environment variables can be used. 32639Solution: Use the wide version of WinMain() and main(). (Ken Takata, 32640 closes #4206) 32641Files: src/Make_cyg.mak, src/Make_cyg_ming.mak, src/Make_mvc.mak, 32642 src/main.c, src/os_w32exe.c 32643 32644Patch 8.1.1105 32645Problem: Long escape sequences may be split up. 32646Solution: Assume escape sequences can be up to 80 bytes long. (Nobuhiro 32647 Takasaki, closes #4196) 32648Files: src/term.c 32649 32650Patch 8.1.1106 32651Problem: No test for 'writedelay'. 32652Solution: Add a test. 32653Files: src/testdir/test_options.vim 32654 32655Patch 8.1.1107 32656Problem: No test for 'visualbell'. 32657Solution: Add a test. 32658Files: src/testdir/test_options.vim 32659 32660Patch 8.1.1108 32661Problem: Test for 'visualbell' doesn't work. 32662Solution: Make 'belloff' empty. 32663Files: src/testdir/test_options.vim 32664 32665Patch 8.1.1109 32666Problem: Deleted file still in list of distributed files. 32667Solution: Remove the src/os_w32dll.c entry. 32668Files: Filelist 32669 32670Patch 8.1.1110 32671Problem: Composing chars on space wrong when 'listchars' is set. 32672Solution: Do not use "space" and "nbsp" entries of 'listchars' when there is 32673 a composing character. (Yee Cheng Chin, closes #4197) 32674Files: src/screen.c, src/testdir/test_listchars.vim 32675 32676Patch 8.1.1111 32677Problem: It is not easy to check for infinity. 32678Solution: Add isinf(). (Ozaki Kiichi, closes #3787) 32679Files: runtime/doc/eval.txt, src/evalfunc.c, 32680 src/testdir/test_float_func.vim 32681 32682Patch 8.1.1112 32683Problem: Duplicate code in quickfix file. 32684Solution: Move code into functions. (Yegappan Lakshmanan, closes #4207) 32685Files: src/quickfix.c, src/testdir/test_quickfix.vim 32686 32687Patch 8.1.1113 32688Problem: Making an autocommand trigger once is not so easy. 32689Solution: Add the ++once argument. Also add ++nested as an alias for 32690 "nested". (Justin M. Keyes, closes #4100) 32691Files: runtime/doc/autocmd.txt, src/autocmd.c, 32692 src/testdir/test_autocmd.vim, src/globals.h 32693 32694Patch 8.1.1114 32695Problem: Confusing overloaded operator "." for string concatenation. 32696Solution: Add ".." for string concatenation. Also "let a ..= b". 32697Files: src/eval.c, src/testdir/test_eval_stuff.vim, runtime/doc/eval.txt 32698 32699Patch 8.1.1115 32700Problem: Cannot build with older C compiler. 32701Solution: Move variable declaration to start of block. 32702Files: src/autocmd.c 32703 32704Patch 8.1.1116 32705Problem: Cannot enforce a Vim script style. 32706Solution: Add the :scriptversion command. (idea by Yasuhiro Matsumoto, 32707 closes #3857) 32708Files: runtime/doc/repeat.txt, runtime/doc/eval.txt, src/eval.c, 32709 src/ex_cmds.h, src/evalfunc.c, src/ex_cmds2.c, 32710 src/proto/ex_cmds2.pro, src/structs.h, src/buffer.c, src/main.c, 32711 src/option.c, src/ex_cmdidxs.h, src/testdir/test_eval_stuff.vim 32712 32713Patch 8.1.1117 32714Problem: Build failure without the +eval feature. 32715Solution: Add #ifdef. 32716Files: src/ex_cmds2.c 32717 32718Patch 8.1.1118 32719Problem: A couple of conditions are hard to understand. 32720Solution: Split the conditions into pieces. (Ozaki Kiichi, closes #3879) 32721Files: src/getchar.c, src/os_unix.c 32722 32723Patch 8.1.1119 32724Problem: No support for Windows on ARM64. 32725Solution: Add ARM64 support (Leendert van Doorn) 32726Files: src/GvimExt/Makefile, src/Make_mvc.mak, src/dosinst.c, 32727 src/xpm/arm64/lib-vc14/libXpm.lib, Filelist, src/INSTALLpc.txt 32728 32729Patch 8.1.1120 32730Problem: Cannot easily get directory entry matches. 32731Solution: Add the readdir() function. (Yasuhiro Matsumoto, closes #2439) 32732Files: runtime/doc/eval.txt, src/eval.c, src/evalfunc.c, src/misc1.c, 32733 src/proto/eval.pro, src/testdir/test_functions.vim 32734 32735Patch 8.1.1121 32736Problem: Test for term_gettitle() was disabled. 32737Solution: Enable the test and bail out only when it doesn't work. (Dominique 32738 Pelle, closes #3776) 32739Files: src/testdir/test_terminal.vim 32740 32741Patch 8.1.1122 32742Problem: char2nr() does not handle composing characters. 32743Solution: Add str2list() and list2str(). (Ozaki Kiichi, closes #4190) 32744Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 32745 src/testdir/test_utf8.vim 32746 32747Patch 8.1.1123 32748Problem: No way to avoid filtering for autocomplete function, causing 32749 flickering of the popup menu. 32750Solution: Add the "equal" field to complete items. (closes #3887) 32751Files: runtime/doc/insert.txt, src/insexpand.c, 32752 src/testdir/test_popup.vim 32753 32754Patch 8.1.1124 32755Problem: Insert completion flags are mixed up. 32756Solution: Clean up flags use of ins_compl_add() and cp_flags. 32757Files: src/insexpand.c, src/proto/insexpand.pro, src/search.c, src/spell.c 32758 32759Patch 8.1.1125 32760Problem: Libvterm does not handle the window position report. 32761Solution: Let libvterm call the fallback CSI handler when not handling CSI 32762 sequence. Handle the window position report in Vim. 32763Files: src/libvterm/src/state.c, src/terminal.c, src/ui.c, 32764 src/proto/ui.pro, src/evalfunc.c, src/testdir/test_terminal.vim 32765 32766Patch 8.1.1126 32767Problem: Build failure with +terminal but without tgetent. 32768Solution: Adjust #ifdef. 32769Files: src/ui.c 32770 32771Patch 8.1.1127 32772Problem: getwinpos() doesn't work in terminal on MS-Windows console. 32773Solution: Adjust #ifdefs. Disable test for MS-Windows console. 32774Files: src/ui.c, src/term.c, src/terminal.c, 32775 src/testdir/test_terminal.vim 32776 32777Patch 8.1.1128 32778Problem: getwinpos() test does not work on MS-Windows. 32779Solution: Skip the test. 32780Files: src/testdir/test_terminal.vim 32781 32782Patch 8.1.1129 32783Problem: When making a new screendump test have to create the file. 32784Solution: Continue creating the failed screendump, so it can be moved once 32785 it is correct. 32786Files: src/testdir/screendump.vim 32787 32788Patch 8.1.1130 32789Problem: MS-Windows: warning for unused variable. 32790Solution: Remove the variable. 32791Files: src/evalfunc.c 32792 32793Patch 8.1.1131 32794Problem: getwinpos() does not work in the MS-Windows console. 32795Solution: Implement getwinpos(). 32796Files: src/ui.c, src/evalfunc.c, src/terminal.c, 32797 src/testdir/test_terminal.vim 32798 32799Patch 8.1.1132 32800Problem: getwinpos() test fails on MS-Windows. 32801Solution: Don't try running this test. 32802Files: src/testdir/test_terminal.vim 32803 32804Patch 8.1.1133 32805Problem: Compiler warning for uninitialized struct member. (Yegappan 32806 Lakshmanan) 32807Solution: Add initializer field. 32808Files: src/globals.h 32809 32810Patch 8.1.1134 32811Problem: Buffer for quickfix window is reused for another file. 32812Solution: Don't reuse the quickfix buffer. (Yegappan Lakshmanan) 32813Files: src/buffer.c, src/testdir/test_quickfix.vim 32814 32815Patch 8.1.1135 (after 8.1.1134) 32816Problem: Build failure for small version. (Tony Mechelynck) 32817Solution: Add #ifdef. 32818Files: src/buffer.c 32819 32820Patch 8.1.1136 32821Problem: Decoding of mouse click escape sequence is not tested. 32822Solution: Add a test for xterm and SGR using low-level input. Make 32823 low-level input execution with feedkeys() work. 32824Files: src/testdir/test_termcodes.vim, src/testdir/Make_all.mak, 32825 src/evalfunc.c, src/ex_docmd.c 32826 32827Patch 8.1.1137 32828Problem: Xterm mouse wheel escape sequence is not tested. 32829Solution: Add a test using low-level input. (Dominique Pelle, closes #4221) 32830Files: src/testdir/test_termcodes.vim 32831 32832Patch 8.1.1138 32833Problem: Plugins don't get notified when the popup menu changes. 32834Solution: Add the CompleteChanged event. (Qiming Zhao, Andy Massimino, 32835 closes #4176) 32836Files: runtime/doc/autocmd.txt, src/autocmd.c, src/dict.c, 32837 src/insexpand.c, src/popupmnu.c, src/proto/autocmd.pro, 32838 src/proto/dict.pro, src/proto/popupmnu.pro, 32839 src/testdir/test_popup.vim, src/vim.h 32840 32841Patch 8.1.1139 32842Problem: No test for what is fixed in patch 8.1.0716. 32843Solution: Add a test. (Yasuhiro Matsumoto, closes #3797) 32844Files: src/testdir/test_ins_complete.vim 32845 32846Patch 8.1.1140 32847Problem: Not easy to find out what neighbors a window has. 32848Solution: Add more arguments to winnr(). (Yegappan Lakshmanan, closes #3993) 32849Files: runtime/doc/eval.txt, src/evalfunc.c, src/proto/window.pro, 32850 src/testdir/test_window_cmd.vim, src/window.c 32851 32852Patch 8.1.1141 32853Problem: Terminal winpos test fails with very large terminal. (Dominique 32854 Pelle) 32855Solution: Compute the expected size more accurately. (closes #4228) 32856Files: src/testdir/test_terminal.vim 32857 32858Patch 8.1.1142 32859Problem: No test for dragging the window separators with the mouse. 32860Solution: Add a test. (Dominique Pelle, closes #4226) 32861Files: src/testdir/test_termcodes.vim 32862 32863Patch 8.1.1143 32864Problem: May pass weird strings to file name expansion. 32865Solution: Check for matching characters. Disallow control characters. 32866Files: src/misc1.c, src/testdir/test_spell.vim, src/option.c, 32867 src/proto/option.pro, src/spell.c, 32868 src/testdir/test_escaped_glob.vim 32869 32870Patch 8.1.1144 (after 8.1.1143) 32871Problem: Too strict checking of the 'spellfile' option. 32872Solution: Allow for a path. 32873Files: src/option.c, src/testdir/test_spell.vim 32874 32875Patch 8.1.1145 32876Problem: Compiler warning for unused function. (Tony Mechelynck) 32877Solution: Add #ifdef. 32878Files: src/option.c 32879 32880Patch 8.1.1146 32881Problem: In MS-Windows console colors in a terminal window are wrong. 32882Solution: Use the ansi index also for 16 colors. (Ken Takata) 32883Files: src/terminal.c 32884 32885Patch 8.1.1147 32886Problem: Desktop file translations are requiring manual updates. 32887Solution: Use the .po files for desktop file translations. (Christian 32888 Brabandt) 32889Files: src/po/Makefile, src/po/gvim.desktop.in, src/po/vim.desktop.in, 32890 CONTRIBUTING.md, Filelist, runtime/vim.desktop, 32891 runtime/gvim.desktop 32892 32893Patch 8.1.1148 32894Problem: CTRL-L with 'incsearch' does not pick up char under cursor. 32895 (Smylers) 32896Solution: Do not compare the position with the cursor position. (Hirohito 32897 Higashi, closes #3620) 32898Files: src/ex_getln.c, src/testdir/test_search.vim 32899 32900Patch 8.1.1149 32901Problem: Building desktop files fails with older msgfmt. 32902Solution: Add autoconf check. Avoid always building the desktop files. 32903Files: src/configure.ac, src/auto/configure, src/po/Makefile, 32904 src/po/Make_all.mak, src/config.mk.in 32905 32906Patch 8.1.1150 32907Problem: Generating desktop files not tested on Travis. 32908Solution: Install a newer msgfmt package. (Christian Brabandt) 32909Files: .travis.yml 32910 32911Patch 8.1.1151 32912Problem: Build fails when using shadow directory. 32913Solution: Link the desktop.in files. 32914Files: src/Makefile 32915 32916Patch 8.1.1152 32917Problem: Compiler warning with VS2019. 32918Solution: Specify different offset for "AMD64". (Ken Takata, closes #4235) 32919Files: src/GvimExt/Makefile 32920 32921Patch 8.1.1153 32922Problem: Msgfmt complains about missing LINGUAS file. (Tony Mechelynck) 32923Solution: Add command to generate LINGUAS. 32924Files: src/po/Makefile 32925 32926Patch 8.1.1154 32927Problem: Getting a newer msgfmt on Travis is too complicated. 32928Solution: Use a "sourceline" entry. (Ozaki Kiichi, closes #4236) 32929Files: .travis.yml 32930 32931Patch 8.1.1155 32932Problem: Termcodes tests can be improved. 32933Solution: Add helper functions to simplify tests. Dragging statusline for 32934 xterm and sgr. (Dominique Pelle, closes #4237) 32935Files: src/testdir/test_termcodes.vim 32936 32937Patch 8.1.1156 32938Problem: Unicode emoji and other image characters not recognized. 32939Solution: Add ranges for musical notation, game pieces, etc. (Martin 32940 Tournoij, closes #4238) 32941Files: src/mbyte.c 32942 32943Patch 8.1.1157 32944Problem: Unicode tables are out of date. 32945Solution: Update to Unicode 12. (Christian Brabandt, closes #4240) 32946Files: src/mbyte.c 32947 32948Patch 8.1.1158 32949Problem: Json encoded string is sometimes missing the final NUL. 32950Solution: Add the NUL. Also for log messages. 32951Files: src/json.c, src/channel.c, src/testdir/test_json.vim 32952 32953Patch 8.1.1159 32954Problem: MS-Windows: with a silent (un)install $VIM/_vimrc is removed. 32955Solution: Don't delete _vimrc in silent mode. (Ken Takata, closes #4242) 32956Files: nsis/gvim.nsi 32957 32958Patch 8.1.1160 32959Problem: Termcodes test would fail in a very big terminal. 32960Solution: Bail out when the row is larger than what will work. (Dominique 32961 Pelle, closes #4246) 32962Files: src/testdir/test_termcodes.vim 32963 32964Patch 8.1.1161 32965Problem: Unreachable code. 32966Solution: Remove condition that will never be true. Add tests for all ANSI 32967 colors. 32968Files: src/terminal.c, src/testdir/test_terminal.vim, 32969 src/testdir/dumps/Test_terminal_all_ansi_colors.dump 32970 32971Patch 8.1.1162 32972Problem: Incorrect coverage information; typo in color name. 32973Solution: Fix the typo. Set environment variables to have a nested Vim 32974 write the coverage info in another directory. 32975Files: src/testdir/test_terminal.vim, src/testdir/screendump.vim, 32976 src/testdir/dumps/Test_terminal_all_ansi_colors.dump 32977 32978Patch 8.1.1163 32979Problem: Codecov does not report all the coverage information. 32980Solution: Make a second run with the nested execution output, expect that 32981 Codecov will merge the results. 32982Files: .travis.yml 32983 32984Patch 8.1.1164 32985Problem: Gettitle test is failing when server name differs. (Kenta Sato) 32986Solution: Accept "VIM1" when 'autoservername' is used. (Dominique Pelle, 32987 closes #4250, closes #4249) 32988Files: src/testdir/test_terminal.vim 32989 32990Patch 8.1.1165 32991Problem: No test for mouse clicks in the terminal tabpage line. 32992Solution: Add a test. (Dominique Pelle, closes #4247). Also init 32993 TabPageIdxs[], in case it's used before a redraw. 32994Files: src/screen.c, src/testdir/test_termcodes.vim 32995 32996Patch 8.1.1166 (after 8.1.1164) 32997Problem: Gettitle test can still fail when another Vim is running. 32998Solution: Accept any server name number. (Dominique Pelle, closes #4252) 32999Files: src/testdir/test_terminal.vim 33000 33001Patch 8.1.1167 33002Problem: No test for closing tab by click in tabline. 33003Solution: Add a test. Also fix that dragging window separator could fail in 33004 a large terminal. (Dominique Pelle, closes #4253) 33005Files: src/testdir/test_termcodes.vim 33006 33007Patch 8.1.1168 33008Problem: Not all screen update code of the terminal window is executed in 33009 tests. 33010Solution: Redraw before taking a screenshot. 33011Files: src/testdir/screendump.vim 33012 33013Patch 8.1.1169 33014Problem: Writing coverage info in a separate dir is not needed. 33015Solution: Revert the changes to use a separate directory. 33016Files: .travis.yml, src/testdir/screendump.vim 33017 33018Patch 8.1.1170 33019Problem: Terminal ANSI color test does not cover all colors. 33020Solution: Use the color number, the name is not always resulting in an ANSI 33021 color when t_Co is 256. 33022Files: src/testdir/test_terminal.vim, 33023 src/testdir/dumps/Test_terminal_all_ansi_colors.dump 33024 33025Patch 8.1.1171 33026Problem: Statusline test could fail in large terminal. 33027Solution: Make the test work on a huge terminal. (Dominique Pelle, 33028 closes #4255) 33029Files: src/testdir/test_statusline.vim 33030 33031Patch 8.1.1172 33032Problem: Cursor properties were not fully tested. 33033Solution: Add a test. (Dominique Pelle, closes #4256) 33034Files: src/testdir/test_terminal.vim 33035 33036Patch 8.1.1173 33037Problem: Suspend test has duplicated lines. 33038Solution: Use a function. 33039Files: src/testdir/test_suspend.vim 33040 33041Patch 8.1.1174 33042Problem: Cannot build with Ruby 1.8. (Tom G. Christensen) 33043Solution: Include ruby/st.h. (Ozaki Kiichi, closes #4257) 33044Files: src/if_ruby.c 33045 33046Patch 8.1.1175 33047Problem: No test for dragging a tab with the mouse and for creating a new 33048 tab by double clicking in the tabline. 33049Solution: Add two tests. (Dominique Pelle, closes #4258) 33050Files: src/testdir/test_termcodes.vim 33051 33052Patch 8.1.1176 (after 8.1.1175) 33053Problem: Test for dragging a tab is flaky. 33054Solution: Add a brief sleep. 33055Files: src/testdir/test_termcodes.vim 33056 33057Patch 8.1.1177 33058Problem: .ts files are recognized as xml, while typescript is more common. 33059Solution: Recognize .ts files as typescript. (closes #4264) 33060Files: runtime/filetype.vim src/testdir/test_filetype.vim 33061 33062Patch 8.1.1178 33063Problem: When mouse click tests fails value of 'ttymouse' is unknown. 33064Solution: Add a message to the assert. 33065Files: src/testdir/test_termcodes.vim 33066 33067Patch 8.1.1179 33068Problem: No test for mouse clicks in the fold column. 33069Solution: Add a test. (Dominique Pelle, closes #4261) 33070Files: src/testdir/test_termcodes.vim 33071 33072Patch 8.1.1180 33073Problem: Vim script debugger tests are old style. 33074Solution: Turn into new style tests. (Yegappan Lakshmanan, closes #4259) 33075Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 33076 src/testdir/test108.in, src/testdir/test108.ok, 33077 src/testdir/test_debugger.vim 33078 33079Patch 8.1.1181 33080Problem: Tests for mouse clicks are a bit flaky when run in an interactive 33081 terminal. 33082Solution: Use "xterm2" instead of "xterm" for 'ttymouse' to avoid spurious 33083 drag events. 33084Files: src/testdir/test_termcodes.vim 33085 33086Patch 8.1.1182 33087Problem: Some function prototypes are outdated. 33088Solution: Update function prototypes. (Ken Takata, closes #4267) 33089Files: src/os_mswin.c, src/proto/ex_getln.pro, src/proto/gui_w32.pro, 33090 src/terminal.c, src/proto/terminal.pro, src/proto/window.pro, 33091 src/window.c 33092 33093Patch 8.1.1183 33094Problem: Typos in VisVim comments. 33095Solution: Correct the typos. (Christ van Willegen) 33096Files: src/VisVim/Commands.cpp, src/VisVim/OleAut.cpp, 33097 src/VisVim/README_VisVim.txt 33098 33099Patch 8.1.1184 33100Problem: Undo file left behind after running test. 33101Solution: Delete the undo file. (Dominique Pelle, closes #4279) 33102Files: src/testdir/test_filechanged.vim 33103 33104Patch 8.1.1185 33105Problem: Mapping for CTRL-X is inconsistent. 33106Solution: Map CTRL-X to "*d also for the MS-Windows console. (Ken Takata, 33107 closes #4265) 33108Files: src/getchar.c 33109 33110Patch 8.1.1186 33111Problem: readdir() allocates list twice. 33112Solution: Remove second allocation. Also check for zero length. 33113Files: src/evalfunc.c 33114 33115Patch 8.1.1187 33116Problem: Cannot recognize Pipfile. 33117Solution: Use existing filetypes. (Charles Ross, closes #4280) 33118Files: runtime/filetype.vim, src/testdir/test_filetype.vim 33119 33120Patch 8.1.1188 33121Problem: Not all Vim variables require the v: prefix. 33122Solution: When scriptversion is 3 all Vim variables can only be used with 33123 the v: prefix. (Ken Takata, closes #4274) 33124Files: src/eval.c, src/ex_cmds2.c, src/testdir/test_eval_stuff.vim, 33125 runtime/doc/eval.txt 33126 33127Patch 8.1.1189 33128Problem: Mode is not cleared when leaving Insert mode. 33129Solution: Clear the mode when got_int is set. (Ozaki Kiichi, closes #4270) 33130Files: src/edit.c, src/testdir/test_bufline.vim, 33131 src/testdir/test_messages.vim 33132 33133Patch 8.1.1190 33134Problem: has('vimscript-3') does not work. 33135Solution: Add "vimscript-3" to the list of features. (partly by Ken Takata) 33136Files: src/evalfunc.c, src/testdir/test_eval_stuff.vim 33137 33138Patch 8.1.1191 33139Problem: Not all debug commands are covered by a test. 33140Solution: Add more tests. (Yegappan Lakshmanan, closes #4282) 33141Files: src/testdir/test_debugger.vim 33142 33143Patch 8.1.1192 33144Problem: Mode is not cleared when leaving Insert mode with mapped Esc. 33145Solution: Clear the mode when redraw_cmdline is set. (closes #4269) 33146Files: src/globals.h, src/screen.c, src/testdir/test_messages.vim 33147 33148Patch 8.1.1193 33149Problem: Typos and small problems in test files. 33150Solution: Small improvements. 33151Files: src/testdir/test_gn.vim, src/testdir/test_quotestar.vim, 33152 src/testdir/test_registers.vim, src/testdir/test_syntax.vim, 33153 src/testdir/test_tabpage.vim, src/testdir/test_vartabs.vim 33154 33155Patch 8.1.1194 33156Problem: Typos and small problems in source files. 33157Solution: Small fixes. 33158Files: src/channel.c, src/crypt.c, src/edit.c, src/regexp.h, src/tag.c, 33159 src/term.c, src/terminal.c, src/userfunc.c, src/installman.sh 33160 33161Patch 8.1.1195 33162Problem: Vim script debugger functionality needs cleanup. 33163Solution: Move debugger code to a separate file. Add more tests. (Yegappan 33164 Lakshmanan, closes #4285) 33165Files: Filelist, src/Make_bc5.mak, src/Make_cyg_ming.mak, 33166 src/Make_dice.mak, src/Make_ivc.mak, src/Make_manx.mak, 33167 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak, 33168 src/Make_vms.mms, src/Makefile, src/debugger.c, src/ex_cmds2.c, 33169 src/proto.h, src/proto/debugger.pro, src/proto/ex_cmds2.pro 33170 33171Patch 8.1.1196 33172Problem: Parallel build may fail. 33173Solution: Update dependencies. 33174Files: src/Makefile 33175 33176Patch 8.1.1197 33177Problem: When starting with multiple tabs file messages is confusing. 33178Solution: Set 'shortmess' when loading the other tabs. (Christian Brabandt) 33179Files: src/main.c, src/testdir/test_startup.vim, 33180 src/testdir/dumps/Test_start_with_tabs.dump 33181 33182Patch 8.1.1198 33183Problem: Bracketed paste may remain active after Vim exists, because the 33184 terminal emulator restores the setting. 33185Solution: Set/reset bracketed paste mode before setting the terminal mode. 33186 (closes #3579) 33187Files: src/term.c 33188 33189 33190Patch 8.1.1199 33191Problem: No test for :abclear. 33192Solution: Add a test. (Dominique Pelle, closes #4292) 33193Files: src/testdir/test_mapping.vim 33194 33195Patch 8.1.1200 33196Problem: Old style comments in debugger source. 33197Solution: Use new style comments. (Yegappan Lakshmanan, closes #4286) 33198Files: src/README.md, src/debugger.c 33199 33200Patch 8.1.1201 33201Problem: Output of :command is hard to read. 33202Solution: Make some columns wider, some narrower. Truncate the command when 33203 listing all. 33204Files: src/ex_docmd.c, src/message.c, src/proto/message.pro, 33205 src/getchar.c, src/menu.c 33206 33207Patch 8.1.1202 33208Problem: Always get regexp debugging logs when building with -DDEBUG. 33209Solution: By default do not create regexp debugging logs. (Ken Takata) 33210Files: src/regexp.c 33211 33212Patch 8.1.1203 33213Problem: Some autocmd tests are old style. 33214Solution: Turn the tests into new style. (Yegappan Lakshmanan, closes #4295) 33215Files: src/Makefile, src/testdir/Make_all.mak, 33216 src/testdir/Make_amiga.mak, src/testdir/Make_vms.mms, 33217 src/testdir/test11.in, src/testdir/test11.ok, 33218 src/testdir/test_autocmd.vim 33219 33220Patch 8.1.1204 33221Problem: Output of :command with address completion is not nice. 33222Solution: Shorten the address completion names. 33223Files: src/ex_docmd.c, runtime/doc/map.txt 33224 33225Patch 8.1.1205 33226Problem: A BufReadPre autocommand may cause the cursor to move. 33227Solution: Restore the cursor position after executing the autocommand, 33228 unless the autocommand moved it. (Christian Brabandt, 33229 closes #4302, closes #4294) 33230Files: src/autocmd.c, src/proto/window.pro, src/structs.h, 33231 src/testdir/test_autocmd.vim, src/window.c 33232 33233Patch 8.1.1206 33234Problem: User command parsing and listing not properly tested. 33235Solution: Add more tests. (Dominique Pelle, closes #4296) 33236Files: src/testdir/test_usercommands.vim 33237 33238Patch 8.1.1207 33239Problem: Some compilers give warning messages. 33240Solution: Initialize variables, change printf() argument. (Christian 33241 Brabandt, closes #4305) 33242Files: src/eval.c, src/screen.c, src/undo.c, src/window.c 33243 33244Patch 8.1.1208 33245Problem: Links to repository use wrong file name. 33246Solution: Swap the file names. (Nahuel Ourthe, closes #4304) 33247Files: src/README.md 33248 33249Patch 8.1.1209 33250Problem: Clever compiler warns for buffer being too small. 33251Solution: Make the buffer bigger (even though it's not really needed). 33252Files: src/evalfunc.c, src/syntax.c 33253 33254Patch 8.1.1210 33255Problem: Support for user commands is spread out. No good reason to make 33256 user commands optional. 33257Solution: Move user command support to usercmd.c. Always enable the 33258 user_commands feature. 33259Files: src/usercmd.c, src/proto/usercmd.pro, Filelist, src/Make_bc5.mak, 33260 src/Make_cyg_ming.mak, src/Make_dice.mak, src/Make_ivc.mak, 33261 src/Make_manx.mak, src/Make_morph.mak, src/Make_mvc.mak, 33262 src/Make_sas.mak, src/Make_vms.mms, src/Makefile, src/README.md, 33263 src/buffer.c, src/eval.c, src/evalfunc.c, src/ex_cmds.h, 33264 src/ex_docmd.c, src/proto/ex_docmd.pro, src/ex_getln.c, 33265 src/feature.h, src/macros.h, src/misc2.c, src/proto.h, 33266 src/structs.h, src/version.c, runtime/doc/eval.txt, 33267 runtime/doc/various.txt 33268 33269Patch 8.1.1211 33270Problem: Not all user command code is tested. 33271Solution: Add more tests. 33272Files: src/testdir/test_usercommands.vim 33273 33274Patch 8.1.1212 33275Problem: Signal PWR is not tested. 33276Solution: Test that PWR updates the swap file. (Dominique Pelle, 33277 closes #4312) 33278Files: src/testdir/test_signals.vim 33279 33280Patch 8.1.1213 33281Problem: "make clean" in top dir does not cleanup indent test output. 33282Solution: Clean the indent test output. Do not rely on the vim executable 33283 for that. (closes #4307) 33284Files: Makefile, runtime/indent/Makefile, 33285 runtime/indent/testdir/cleantest.vim 33286 33287Patch 8.1.1214 33288Problem: Old style tests. 33289Solution: Move tests from test14 to new style test files. (Yegappan 33290 Lakshmanan, closes #4308) 33291Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 33292 src/testdir/test14.in, src/testdir/test14.ok, 33293 src/testdir/test_edit.vim, src/testdir/test_normal.vim, 33294 src/testdir/test_search.vim, src/testdir/test_substitute.vim, 33295 src/testdir/test_visual.vim 33296 33297Patch 8.1.1215 33298Problem: "make clean" does not remove generated src/po files. 33299Solution: Remove the files for "make clean". (Christian Brabandt) 33300Files: src/po/Makefile 33301 33302Patch 8.1.1216 33303Problem: Mouse middle click is not tested. 33304Solution: Add a test. (Dominique Pelle, closes #4310) 33305Files: src/testdir/test_termcodes.vim 33306 33307Patch 8.1.1217 33308Problem: MS-Windows: no space reserved for font quality name. 33309Solution: Add quality_name length if present. (Ken Takata, closes #4311) 33310Files: src/gui_w32.c 33311 33312Patch 8.1.1218 33313Problem: Cannot set a directory for a tab page. 33314Solution: Add the tab-local directory. (Yegappan Lakshmanan, closes #4212) 33315Files: runtime/doc/autocmd.txt, runtime/doc/editing.txt, 33316 runtime/doc/eval.txt, runtime/doc/index.txt, 33317 runtime/doc/options.txt, runtime/doc/usr_22.txt, 33318 runtime/doc/usr_41.txt, src/eval.c, src/evalfunc.c, 33319 src/ex_cmdidxs.h, src/ex_cmds.h, src/ex_docmd.c, src/if_py_both.h, 33320 src/proto/eval.pro, src/proto/ex_docmd.pro, src/structs.h, 33321 src/testdir/test_getcwd.vim, src/testdir/test_mksession.vim, 33322 src/window.c 33323 33324Patch 8.1.1219 33325Problem: Not checking for NULL return from alloc(). 33326Solution: Add checks. (Martin Kunev, closes #4303, closes #4174) 33327Files: src/beval.c, src/blowfish.c, src/crypt.c, src/crypt_zip.c, 33328 src/ops.c, src/option.c, src/popupmnu.c, src/proto/blowfish.pro, 33329 src/proto/crypt_zip.pro, src/gui_gtk_f.c, src/gui_gtk_x11.c, 33330 src/libvterm/src/state.c, src/libvterm/src/termscreen.c 33331 33332Patch 8.1.1220 (after 8.1.1219) 33333Problem: Build fails on MS-Windows. 33334Solution: Move declaration to start of block. 33335Files: src/libvterm/src/state.c 33336 33337Patch 8.1.1221 33338Problem: Filtering does not work when listing marks. 33339Solution: Implement filtering marks. (Marcin Szamotulski, closes #3895) 33340Files: runtime/doc/various.txt, src/mark.c, 33341 src/testdir/test_filter_cmd.vim 33342 33343Patch 8.1.1222 (after 8.1.1219) 33344Problem: Build still fails on MS-Windows. 33345Solution: Move another declaration to start of block. 33346Files: src/libvterm/src/state.c 33347 33348Patch 8.1.1223 33349Problem: Middle mouse click test fails without a clipboard. 33350Solution: Check if the clipboard can be used. (Dominique Pelle, Christian 33351 Brabandt) Also use WorkingClipboard() instead of checking for the 33352 "clipboard" feature. 33353Files: src/testdir/test_termcodes.vim, src/testdir/test_quotestar.vim 33354 33355Patch 8.1.1224 33356Problem: MS-Windows: cannot specify font weight. 33357Solution: Add the "W" option to 'guifont'. (closes #4309) Move GUI font 33358 explanation out of options.txt. 33359Files: runtime/doc/options.txt, runtime/doc/gui.txt, 33360 runtime/doc/mbyte.txt, src/gui_w32.c, src/os_mswin.c 33361 33362Patch 8.1.1225 33363Problem: Cannot create a pty to use with :terminal on FreeBSD. 33364Solution: Add support for posix_openpt(). (Ozaki Kiichi, closes #4306, 33365 closes #4289) 33366Files: src/configure.ac, src/config.h.in, src/auto/configure, src/pty.c 33367 33368Patch 8.1.1226 33369Problem: {not in Vi} remarks get in the way of useful help text. 33370Solution: Make a list of all Vi options, instead of mentioning what Vi does 33371 not have. Update the help text for options. 33372Files: runtime/doc/vi_diff.txt, runtime/doc/options.txt 33373 33374Patch 8.1.1227 33375Problem: Duplicate entries in the generated .desktop files. (Ralf Schandl) 33376Solution: Remove translated entries from the .in files. (closes #4313) 33377Files: src/po/gvim.desktop.in, src/po/vim.desktop.in 33378 33379Patch 8.1.1228 33380Problem: Not possible to process tags with a function. 33381Solution: Add tagfunc() (Christian Brabandt, Andy Massimino, closes #4010) 33382Files: runtime/doc/options.txt, runtime/doc/tagsrch.txt, 33383 runtime/optwin.vim, src/buffer.c, src/dict.c, src/ex_cmds.c, 33384 src/globals.h, src/insexpand.c, src/normal.c, src/option.c, 33385 src/option.h, src/proto/dict.pro, src/structs.h, src/tag.c, 33386 src/testdir/Make_all.mak, src/testdir/test_alot.vim, 33387 src/testdir/test_tagfunc.vim, src/vim.h, src/window.c 33388 33389Patch 8.1.1229 33390Problem: Warning for posix_openpt() not declared. (Tony Mechelynck) 33391Solution: Add declaration. 33392Files: src/pty.c 33393 33394Patch 8.1.1230 33395Problem: A lot of code is shared between vim.exe and gvim.exe. 33396Solution: Optionally put the shared code in vim.dll. (Ken Takata, 33397 closes #4287) 33398Files: Filelist, nsis/gvim.nsi, runtime/doc/gui_w32.txt, 33399 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/channel.c, 33400 src/evalfunc.c, src/ex_cmds.c, src/ex_docmd.c, src/feature.h, 33401 src/fileio.c, src/getchar.c, src/globals.h, src/gui.c, src/gui.h, 33402 src/gui_gtk_x11.c, src/gui_w32.c, src/if_mzsch.c, src/main.c, 33403 src/mbyte.c, src/memline.c, src/message.c, src/misc2.c, 33404 src/normal.c, src/option.c, src/os_mswin.c, src/os_w32dll.c, 33405 src/os_w32exe.c, src/os_win32.c, src/os_win32.h, 33406 src/proto/gui.pro, src/proto/gui_w32.pro, src/proto/misc2.pro, 33407 src/proto/os_mswin.pro, src/proto/os_win32.pro, src/syntax.c, 33408 src/term.c, src/terminal.c, src/ui.c, src/version.c, src/vim.rc 33409 33410Patch 8.1.1231 33411Problem: Asking about existing swap file unnecessarily. 33412Solution: When it is safe, delete the swap file. Remove 33413 HAS_SWAP_EXISTS_ACTION, it is always defined. (closes #1237) 33414Files: src/memline.c, src/globals.h, src/buffer.c, src/ex_cmds.c, 33415 src/fileio.c, src/main.c, src/testdir/test_swap.vim, 33416 runtime/doc/usr_11.txt, src/os_win32.c, src/proto/os_win32.pro, 33417 src/os_unix.c, src/proto/os_unix.pro 33418 33419Patch 8.1.1232 33420Problem: Can't build on MS-Windows. 33421Solution: Define process_still_running. 33422Files: src/memline.c, src/os_win32.c, src/proto/os_win32.pro, 33423 src/os_unix.c, src/proto/os_unix.pro 33424 33425Patch 8.1.1233 33426Problem: Cannot build tiny version. 33427Solution: Remove #ifdef for verb_msg(). 33428Files: src/message.c 33429 33430Patch 8.1.1234 33431Problem: Swap file test fails on MS-Windows. 33432Solution: Only compare the tail of the file names. 33433Files: src/testdir/test_swap.vim 33434 33435Patch 8.1.1235 33436Problem: Compiler warnings for using STRLEN() value. 33437Solution: Cast to int. (Christian Brabandt, Mike Williams) 33438Files: src/tag.c 33439 33440Patch 8.1.1236 33441Problem: sjiscorr.c not found in shadow directory. (Tony Mechelynck) 33442Solution: Link po/*.c files with "make shadow". 33443Files: src/Makefile 33444 33445Patch 8.1.1237 33446Problem: Error for using "compl", reserved word in C++. 33447Solution: Rename to "complp". (suggestion by Ken Takata) 33448Files: src/usercmd.c, src/proto/usercmd.pro 33449 33450Patch 8.1.1238 33451Problem: MS-Windows: compiler warning for sprintf() format. 33452Solution: Change %d to %ld. (Ken Takata) 33453Files: src/gui_w32.c 33454 33455Patch 8.1.1239 33456Problem: Key with byte sequence containing CSI does not work. 33457Solution: Do not recognize CSI as special unless the GUI is active. (Ken 33458 Takata, closes #4318) 33459Files: src/getchar.c 33460 33461Patch 8.1.1240 33462Problem: Runtime desktop files are overwritten by build. (Tony Mechelynck) 33463Solution: Instead of copying the files find them with "make install". 33464Files: src/Makefile, src/po/Makefile 33465 33466Patch 8.1.1241 33467Problem: Ex command info contains confusing information. 33468Solution: When using the NOTADR flag use ADDR_OTHER for the address type. 33469 Cleanup code using NOTADR. Check for errors in 33470 create_cmdidxs.vim. Adjust Makefile to see the errors. 33471Files: src/ex_cmds.h, src/ex_docmd.c, src/Makefile, 33472 src/create_cmdidxs.vim, src/usercmd.c, src/ex_cmds.c, 33473 src/window.c, src/testdir/test_usercommands.vim 33474 33475Patch 8.1.1242 33476Problem: No cmdline redraw when tabpages have different 'cmdheight'. 33477Solution: redraw the command line when 'cmdheight' changes when switching 33478 tabpages. (closes #4321) 33479Files: src/testdir/test_tabpage.vim, src/window.c, 33480 src/testdir/dumps/Test_tabpage_cmdheight.dump, 33481 src/testdir/screendump.vim 33482 33483Patch 8.1.1243 (after 8.1.1241) 33484Problem: Compiler warnings for incomplete switch statement. (Tony 33485 Mechelynck) 33486Solution: Add ADDR_QUICKFIX to the list. 33487Files: src/ex_docmd.c 33488 33489Patch 8.1.1244 33490Problem: No tests for CTRL-mouse-click. 33491Solution: Add a few tests. (Dominique Pelle, closes #4323) 33492Files: src/testdir/test_termcodes.vim 33493 33494Patch 8.1.1245 33495Problem: ":copen 10" sets height in full-height window. (Daniel Hahler) 33496Solution: Don't set the height if the quickfix window is full height. 33497 (closes #4325) 33498Files: src/quickfix.c, src/testdir/test_quickfix.vim 33499 33500Patch 8.1.1246 33501Problem: Cannot handle negative mouse coordinate from urxvt. 33502Solution: Accept '-' where a digit is expected. (Vincent Vinel, 33503 closes #4326) 33504Files: src/term.c 33505 33506Patch 8.1.1247 33507Problem: Urxvt mouse codes are not tested. 33508Solution: Also set 'ttymouse' to "urxvt" in the termcodes test. 33509Files: src/testdir/test_termcodes.vim 33510 33511Patch 8.1.1248 33512Problem: No test for dec mouse. 33513Solution: Add some tests for dec mouse. Add "no_query_mouse". 33514Files: src/evalfunc.c, src/globals.h, src/os_unix.c, 33515 src/testdir/test_termcodes.vim, runtime/doc/eval.txt 33516 33517Patch 8.1.1249 33518Problem: Compiler warning for uninitialized variable. 33519Solution: Initialize it. (Christian Brabandt) 33520Files: src/regexp_nfa.c 33521 33522Patch 8.1.1250 33523Problem: No test for netterm mouse. 33524Solution: Add some tests for netterm mouse. 33525Files: src/testdir/test_termcodes.vim 33526 33527Patch 8.1.1251 33528Problem: No test for completion of mapping keys. 33529Solution: Add a test. Also clean up the code. 33530Files: src/getchar.c, src/term.c, src/proto/term.pro, 33531 src/testdir/test_cmdline.vim 33532 33533Patch 8.1.1252 33534Problem: Not all mapping completion is tested. 33535Solution: Add a few more mapping completion tests. 33536Files: src/testdir/test_cmdline.vim 33537 33538Patch 8.1.1253 (after 8.1.1252) 33539Problem: Mapping completion test fails. 33540Solution: Fix expected output. 33541Files: src/testdir/test_cmdline.vim 33542 33543Patch 8.1.1254 33544Problem: Mapping completion contains dead code. 33545Solution: Remove the code. 33546Files: src/term.c, src/testdir/test_cmdline.vim 33547 33548Patch 8.1.1255 33549Problem: Building desktop files fails on FreeBSD. (Adam Weinberger) 33550Solution: Avoid using non-portable construct in Makefile. (closes #4332) 33551Files: src/po/Makefile 33552 33553Patch 8.1.1256 33554Problem: Cannot navigate through errors relative to the cursor. 33555Solution: Add :cabove, :cbelow, :labove and :lbelow. (Yegappan Lakshmanan, 33556 closes #4316) 33557Files: runtime/doc/index.txt, runtime/doc/quickfix.txt, src/ex_cmdidxs.h, 33558 src/ex_cmds.h, src/ex_docmd.c, src/proto/quickfix.pro, 33559 src/quickfix.c, src/testdir/test_quickfix.vim 33560 33561Patch 8.1.1257 33562Problem: MSVC: name of object directory not always right. 33563Solution: Adjust comment. Don't use different directory for DIRECTX. Do 33564 use different directory for USE_MSVCRT. (Ken Takata, closes #4333) 33565Files: src/Make_mvc.mak 33566 33567Patch 8.1.1258 33568Problem: The "N files to edit" message can not be suppressed. 33569Solution: Suppress the message with --not-a-term. (closes #4320) 33570Files: src/main.c 33571 33572Patch 8.1.1259 33573Problem: Crash when exiting early. (Ralf Schandl) 33574Solution: Only pop/push the title when it was set. (closes #4334) 33575Files: src/os_unix.c, src/misc2.c, src/usercmd.c, src/tag.c 33576 33577Patch 8.1.1260 33578Problem: Comparing with pointer instead of value. 33579Solution: Add a "*". (Ken Takata, closes #4336) 33580Files: src/usercmd.c 33581 33582Patch 8.1.1261 33583Problem: No error for quickfix commands with negative range. 33584Solution: Add ADDR_UNSIGNED and use it for quickfix commands. Make 33585 assert_fails() show the command if the error doesn't match. 33586Files: src/ex_cmds.h, src/ex_docmd.c, src/testdir/test_quickfix.vim, 33587 runtime/doc/quickfix.txt, src/eval.c, src/quickfix.c, 33588 src/proto/quickfix.pro, src/ex_cmds2.c 33589 33590Patch 8.1.1262 33591Problem: Cannot simulate a mouse click in a test. 33592Solution: Add test_setmouse(). 33593Files: src/evalfunc.c, runtime/doc/eval.txt, runtime/doc/usr_41.txt 33594 33595Patch 8.1.1263 33596Problem: Mouse clicks in WinBar not tested. 33597Solution: Add a test for clicking on the WinBar entries. 33598Files: src/testdir/test_winbar.vim 33599 33600Patch 8.1.1264 33601Problem: Crash when closing window from WinBar click. (Ben Jackson) 33602Solution: Check that window pointer is still valid. (closes #4337) 33603Files: src/menu.c 33604 33605Patch 8.1.1265 33606Problem: When GPM mouse support is enabled double clicks in xterm do not 33607 work. 33608Solution: Use KS_GPM_MOUSE for GPM mouse events. 33609Files: src/term.c, src/os_unix.c, src/keymap.h 33610 33611Patch 8.1.1266 33612Problem: Winbar test doesn't test enough. 33613Solution: Check that the WinBar actually shows up. Correct check for clicks 33614 with no effect. (Ben Jackson, closes #4338) 33615Files: src/testdir/test_winbar.vim 33616 33617Patch 8.1.1267 33618Problem: Cannot check if GPM mouse support is working. 33619Solution: Add the "mouse_gpm_enable" feature. 33620Files: src/evalfunc.c, src/os_unix.c, src/proto/os_unix.pro, 33621 runtime/doc/eval.txt 33622 33623Patch 8.1.1268 33624Problem: Map completion test fails in GUI. 33625Solution: Skip the test that fails. 33626Files: src/testdir/test_cmdline.vim 33627 33628Patch 8.1.1269 33629Problem: MS-Windows GUI: multibyte chars with a 0x80 byte do not work when 33630 compiled with VIMDLL. 33631Solution: Adjust the condition for fixing the input buffer. (Ken Takata, 33632 closes #4330) 33633Files: src/getchar.c 33634 33635Patch 8.1.1270 33636Problem: Cannot see current match position. 33637Solution: Show "3/44" when using the "n" command and "S" is not in 33638 'shortmess'. (Christian Brabandt, closes #4317) 33639Files: runtime/doc/options.txt, runtime/doc/pattern.txt, src/option.c, 33640 src/option.h, src/search.c, src/testdir/Make_all.mak, 33641 src/testdir/test_search_stat.vim 33642 33643Patch 8.1.1271 (after 8.1.1270) 33644Problem: Compiler warnings for use of STRNCPY(). (John Marriott) 33645Solution: Use mch_memmove() instead of STRNCPY(). 33646Files: src/search.c 33647 33648Patch 8.1.1272 33649Problem: Click on WinBar of other window not tested. 33650Solution: Add a test case. 33651Files: src/testdir/test_winbar.vim 33652 33653Patch 8.1.1273 33654Problem: Compiler warning in direct write code. 33655Solution: Add a type cast. 33656Files: src/gui_dwrite.cpp 33657 33658Patch 8.1.1274 33659Problem: After :unmenu can still execute the menu with :emenu. 33660Solution: Do not execute a menu that was disabled for the specified mode. 33661Files: src/menu.c, src/testdir/test_menu.vim 33662 33663Patch 8.1.1275 33664Problem: Cannot navigate to errors before/after the cursor. 33665Solution: Add the :cbefore and :cafter commands. (Yegappan Lakshmanan, 33666 closes #4340) 33667Files: runtime/doc/index.txt, runtime/doc/quickfix.txt, src/ex_cmdidxs.h, 33668 src/ex_cmds.h, src/quickfix.c, src/testdir/test_quickfix.vim 33669 33670Patch 8.1.1276 33671Problem: Cannot combine text properties with syntax highlighting. 33672Solution: Add the "combine" field to prop_type_add(). (closes #4343) 33673Files: runtime/doc/eval.txt, runtime/doc/textprop.txt, src/screen.c, 33674 src/structs.h, src/testdir/test_textprop.vim 33675 33676Patch 8.1.1277 (after 8.1.1276) 33677Problem: Missing screenshot update. 33678Solution: Update the screenshot. 33679Files: src/testdir/dumps/Test_textprop_01.dump 33680 33681Patch 8.1.1278 (after 8.1.1276) 33682Problem: Missing change for "combine" field. 33683Solution: Also change the textprop implementation. 33684Files: src/textprop.c 33685 33686Patch 8.1.1279 33687Problem: Cannot set 'spellang' to "sr@latin". (Bojan Stipic) 33688Solution: Allow using '@' in 'spellang'. (closes #4342) 33689Files: src/option.c, src/testdir/gen_opt_test.vim 33690 33691Patch 8.1.1280 33692Problem: Remarks about functionality not in Vi clutters the help. 33693Solution: Move all info about what is new in Vim or already existed in Vi to 33694 vi_diff.txt. Remove {not in Vi} remarks. (closes #4268) Add 33695 "noet" to the help files modeline. Also include many other help 33696 file improvements. 33697Files: runtime/doc/vi_diff.txt, runtime/doc/arabic.txt, 33698 runtime/doc/autocmd.txt, runtime/doc/change.txt, 33699 runtime/doc/channel.txt, runtime/doc/cmdline.txt, 33700 runtime/doc/debugger.txt, runtime/doc/debug.txt, 33701 runtime/doc/develop.txt, runtime/doc/diff.txt, 33702 runtime/doc/digraph.txt, runtime/doc/editing.txt, 33703 runtime/doc/eval.txt, runtime/doc/farsi.txt, 33704 runtime/doc/filetype.txt, runtime/doc/fold.txt, 33705 runtime/doc/ft_ada.txt, runtime/doc/ft_rust.txt, 33706 runtime/doc/ft_sql.txt, runtime/doc/gui.txt, 33707 runtime/doc/gui_w32.txt, runtime/doc/gui_x11.txt, 33708 runtime/doc/hangulin.txt, runtime/doc/hebrew.txt, 33709 runtime/doc/helphelp.txt, runtime/doc/help.txt, 33710 runtime/doc/howto.txt, runtime/doc/if_cscop.txt, 33711 runtime/doc/if_lua.txt, runtime/doc/if_mzsch.txt, 33712 runtime/doc/if_ole.txt, runtime/doc/if_perl.txt, 33713 runtime/doc/if_pyth.txt, runtime/doc/if_ruby.txt, 33714 runtime/doc/if_sniff.txt, runtime/doc/if_tcl.txt, 33715 runtime/doc/indent.txt, runtime/doc/index.txt, 33716 runtime/doc/insert.txt, runtime/doc/intro.txt, 33717 runtime/doc/map.txt, runtime/doc/mbyte.txt, 33718 runtime/doc/message.txt, runtime/doc/mlang.txt, 33719 runtime/doc/motion.txt, runtime/doc/netbeans.txt, 33720 runtime/doc/options.txt, runtime/doc/os_390.txt, 33721 runtime/doc/os_amiga.txt, runtime/doc/os_beos.txt, 33722 runtime/doc/os_dos.txt, runtime/doc/os_mac.txt, 33723 runtime/doc/os_mint.txt, runtime/doc/os_msdos.txt, 33724 runtime/doc/os_os2.txt, runtime/doc/os_qnx.txt, 33725 runtime/doc/os_risc.txt, runtime/doc/os_unix.txt, 33726 runtime/doc/os_vms.txt, runtime/doc/os_win32.txt, 33727 runtime/doc/pattern.txt, runtime/doc/pi_getscript.txt, 33728 runtime/doc/pi_gzip.txt, runtime/doc/pi_logipat.txt, 33729 runtime/doc/pi_netrw.txt, runtime/doc/pi_paren.txt, 33730 runtime/doc/pi_spec.txt, runtime/doc/pi_tar.txt, 33731 runtime/doc/pi_vimball.txt, runtime/doc/pi_zip.txt, 33732 runtime/doc/print.txt, runtime/doc/quickfix.txt, 33733 runtime/doc/quickref.txt, runtime/doc/quotes.txt, 33734 runtime/doc/recover.txt, runtime/doc/remote.txt, 33735 runtime/doc/repeat.txt, runtime/doc/rileft.txt, 33736 runtime/doc/russian.txt, runtime/doc/scroll.txt, 33737 runtime/doc/sign.txt, runtime/doc/spell.txt, 33738 runtime/doc/sponsor.txt, runtime/doc/starting.txt, 33739 runtime/doc/syntax.txt, runtime/doc/tabpage.txt, 33740 runtime/doc/tagsrch.txt, runtime/doc/terminal.txt, 33741 runtime/doc/term.txt, runtime/doc/textprop.txt, 33742 runtime/doc/tips.txt, runtime/doc/todo.txt, 33743 runtime/doc/uganda.txt, runtime/doc/undo.txt, 33744 runtime/doc/usr_01.txt, runtime/doc/usr_02.txt, 33745 runtime/doc/usr_03.txt, runtime/doc/usr_04.txt, 33746 runtime/doc/usr_05.txt, runtime/doc/usr_06.txt, 33747 runtime/doc/usr_07.txt, runtime/doc/usr_08.txt, 33748 runtime/doc/usr_09.txt, runtime/doc/usr_10.txt, 33749 runtime/doc/usr_11.txt, runtime/doc/usr_12.txt, 33750 runtime/doc/usr_20.txt, runtime/doc/usr_21.txt, 33751 runtime/doc/usr_22.txt, runtime/doc/usr_23.txt, 33752 runtime/doc/usr_24.txt, runtime/doc/usr_25.txt, 33753 runtime/doc/usr_26.txt, runtime/doc/usr_27.txt, 33754 runtime/doc/usr_28.txt, runtime/doc/usr_29.txt, 33755 runtime/doc/usr_30.txt, runtime/doc/usr_31.txt, 33756 runtime/doc/usr_32.txt, runtime/doc/usr_40.txt, 33757 runtime/doc/usr_41.txt, runtime/doc/usr_43.txt, 33758 runtime/doc/usr_44.txt, runtime/doc/usr_45.txt, 33759 runtime/doc/usr_90.txt, runtime/doc/usr_toc.txt, 33760 runtime/doc/various.txt, runtime/doc/version4.txt, 33761 runtime/doc/version5.txt, runtime/doc/version6.txt, 33762 runtime/doc/version7.txt, runtime/doc/version8.txt, 33763 runtime/doc/visual.txt, runtime/doc/windows.txt, runtime/doc/tags 33764 33765Patch 8.1.1281 33766Problem: Cannot specify a count with :chistory. 33767Solution: Add a count to :chistory and :lhistory. (Yegappan Lakshmanan, 33768 closes #4344) 33769Files: runtime/doc/quickfix.txt, src/ex_cmds.h, src/quickfix.c, 33770 src/testdir/test_quickfix.vim 33771 33772Patch 8.1.1282 33773Problem: Running make in src/po leaves LINGUAS file behind. (Ken Takata) 33774Solution: Delete LINGUAS after running msgfmt. 33775Files: src/po/Makefile 33776 33777Patch 8.1.1283 33778Problem: Delaying half a second after the top-bot message. 33779Solution: Instead of the delay add "W" to the search count. 33780Files: src/search.c, src/testdir/test_search_stat.vim 33781 33782Patch 8.1.1284 33783Problem: Detecting *.tmpl as htmlcheetah is outdated. 33784Solution: Use the generic name "template". (closes #4348) 33785Files: runtime/filetype.vim, src/testdir/test_filetype.vim 33786 33787Patch 8.1.1285 33788Problem: Test17 is old style. 33789Solution: Turn into new style test. (Yegappan Lakshmanan, closes #4347) 33790Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 33791 src/testdir/test17.in, src/testdir/test17.ok, 33792 src/testdir/test17a.in, src/testdir/test_checkpath.vim, 33793 src/testdir/test_gf.vim 33794 33795Patch 8.1.1286 33796Problem: Running tests leaves XTest_tabpage_cmdheight file behind. 33797Solution: Delete the right file. (closes #4350) 33798Files: src/testdir/test_tabpage.vim 33799 33800Patch 8.1.1287 33801Problem: Cannot build with +eval but without +mouse. 33802Solution: Add #ifdefs around f_test_setmouse(). (John Marriott) 33803Files: src/evalfunc.c 33804 33805Patch 8.1.1288 33806Problem: Search stats don't show for mapped command. 33807Solution: Remove SEARCH_PEEK from searchit flags. Add a test. (Christian 33808 Brabandt) 33809Files: src/search.c, src/testdir/test_search_stat.vim 33810 33811Patch 8.1.1289 33812Problem: May not have enough space to add "W" to search stats. 33813Solution: Reserve a bit more space. (Christian Brabandt) 33814Files: src/search.c 33815 33816Patch 8.1.1290 33817Problem: .hgignore and .gitignore are either distributed or in git, not 33818 both. 33819Solution: Add .gitignore to the distribution and .hgignore to git. Update 33820 the entries. (Christian Brabandt, Ken Takata) 33821Files: .gitignore, .hgignore, Filelist 33822 33823Patch 8.1.1291 33824Problem: Not easy to change directory and restore. 33825Solution: Add the chdir() function. (Yegappan Lakshmanan, closes #4358) 33826Files: runtime/doc/eval.txt, runtime/doc/todo.txt, 33827 runtime/doc/usr_41.txt, src/evalfunc.c, src/ex_docmd.c, 33828 src/if_py_both.h, src/proto/ex_docmd.pro, src/structs.h, 33829 src/testdir/test_cd.vim 33830 33831Patch 8.1.1292 33832Problem: Invalid command line arguments not tested. 33833Solution: Add a test. (Dominique Pelle, closes #4346) 33834Files: src/testdir/test_startup.vim 33835 33836Patch 8.1.1293 33837Problem: MSVC files are no longer useful for debugging. Newer Visual 33838 Studio versions cannot read them. 33839Solution: Delete the files. (Ken Takata, closes #4357) 33840Files: Filelist, src/Make_dvc.mak, src/Make_ivc.mak, 33841 runtime/doc/debug.txt, src/INSTALLpc.txt, src/Make_mvc.mak 33842 33843Patch 8.1.1294 33844Problem: MS-Windows: Some fonts return wrong average char width. 33845Solution: Compute the average ourselves. (Ken Takata, closes #4356) 33846Files: src/gui_w32.c 33847 33848Patch 8.1.1295 33849Problem: When vimrun.exe does not exist external command may fail. 33850Solution: Use "cmd /c" twice to get the same behavior. (Ken Takata, 33851 closes #4355) 33852Files: src/os_win32.c 33853 33854Patch 8.1.1296 33855Problem: Crash when using invalid command line argument. 33856Solution: Check for options not being initialized. 33857Files: src/term.c, src/testdir/test_startup.vim 33858 33859Patch 8.1.1297 33860Problem: Invalid argument test fails without GTK. 33861Solution: Test -display and --display separately. 33862Files: src/testdir/test_startup.vim 33863 33864Patch 8.1.1298 33865Problem: Invalid argument test fails without X clipboard. 33866Solution: Test -display only with the +xterm_clipboard feature. 33867Files: src/testdir/test_startup.vim 33868 33869Patch 8.1.1299 33870Problem: "extends" from 'listchars' is used when 'list' is off. (Hiroyuki 33871 Yoshinaga) 33872Solution: Only use the "extends" character when 'list' is on. (Hirohito 33873 Higashi, closes #4360) 33874Files: src/screen.c, src/testdir/test_listchars.vim 33875 33876Patch 8.1.1300 33877Problem: In a terminal 'ballooneval' does not work right away. 33878Solution: Flush output after drawing the balloon. Add the <Ignore> key 33879 code. Add a test. 33880Files: src/ex_cmds2.c, src/testdir/test_balloon.vim, src/misc2.c, 33881 src/testdir/Make_all.mak, 33882 src/testdir/dumps/Test_balloon_eval_term_01.dump 33883 33884Patch 8.1.1301 33885Problem: When compiled with VIMDLL some messages are not shown. 33886Solution: Set/reset gui.in_use and gui.starting as needed. (Ken Takata, 33887 closes #4361) 33888Files: src/gui_w32.c, src/main.c, src/message.c 33889 33890Patch 8.1.1302 33891Problem: v:beval_text is not tested in Visual mode. 33892Solution: Add a screenshot of the balloon in Visual mode. 33893Files: src/testdir/test_balloon.vim, src/normal.c, 33894 src/testdir/dumps/Test_balloon_eval_term_01.dump, 33895 src/testdir/dumps/Test_balloon_eval_term_02.dump 33896 33897Patch 8.1.1303 33898Problem: Not possible to hide a balloon. 33899Solution: Hide the balloon when balloon_show() is called with an empty 33900 string or list. Add balloon_gettext(). 33901Files: src/evalfunc.c, src/popupmnu.c, src/gui_beval.c, src/gui_w32.c, 33902 src/beval.h, src/testdir/test_balloon.vim, runtime/doc/eval.txt 33903 33904Patch 8.1.1304 33905Problem: MS-Windows: compiler warning for unused value. 33906Solution: Adjust #ifdefs. (Ken Takata, closes #4363) 33907Files: src/gui.c 33908 33909Patch 8.1.1305 33910Problem: There is no easy way to manipulate environment variables. 33911Solution: Add environ(), getenv() and setenv(). (Yasuhiro Matsumoto, 33912 closes #2875) 33913Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 33914 src/testdir/Make_all.mak, src/testdir/test_environ.vim 33915 33916Patch 8.1.1306 33917Problem: Borland support is outdated and doesn't work. 33918Solution: Remove Borland support, there are other (free) compilers 33919 available. (Thomas Dziedzic, Ken Takata, closes #4364) 33920Files: .gitignore, .hgignore, Filelist, runtime/doc/debug.txt, 33921 runtime/doc/develop.txt, runtime/doc/usr_90.txt, 33922 src/GvimExt/Make_bc5.mak, src/GvimExt/gvimext.cpp, 33923 src/GvimExt/gvimext.rc, src/INSTALLpc.txt, src/Make_bc5.mak, 33924 src/dosinst.c, src/dosinst.h, src/evalfunc.c, src/ex_cmds.c, 33925 src/ex_getln.c, src/gui_w32.c, src/if_ole.cpp, src/if_py_both.h, 33926 src/main.c, src/mark.c, src/message.c, src/misc1.c, src/misc2.c, 33927 src/normal.c, src/option.c, src/os_mswin.c, src/os_w32exe.c, 33928 src/os_win32.c, src/os_win32.h, src/proto.h, src/screen.c, 33929 src/spell.c, src/spellfile.c, src/syntax.c, src/userfunc.c, 33930 src/vim.h, src/vim.rc, src/vimrun.c, src/xxd/Make_bc5.mak, 33931 src/xxd/xxd.c 33932 33933Patch 8.1.1307 33934Problem: Cannot reconnect to the X server after it restarted. 33935Solution: Add the :xrestore command. (Adrian Kocis, closes #844) 33936Files: runtime/doc/index.txt, runtime/doc/various.txt, src/os_unix.c, 33937 src/proto/os_unix.pro, src/globals.h, src/ex_cmds.h, 33938 src/ex_cmdidxs.h, src/ex_docmd.c, src/testdir/test_paste.vim 33939 33940Patch 8.1.1308 33941Problem: The Normal highlight is not defined when compiled with GUI. 33942Solution: Always define Normal. (Christian Brabandt, closes #4072) 33943Files: runtime/doc/syntax.txt, src/syntax.c, 33944 src/testdir/test_highlight.vim 33945 33946Patch 8.1.1309 (after 8.1.1308) 33947Problem: Test for Normal highlight fails on MS-Windows GUI. 33948Solution: Skip the test for MS-Windows GUI. 33949Files: src/testdir/test_highlight.vim 33950 33951Patch 8.1.1310 33952Problem: Named function arguments are never optional. 33953Solution: Support optional function arguments with a default value. (Andy 33954 Massimino, closes #3952) 33955Files: runtime/doc/eval.txt, src/structs.h, 33956 src/testdir/test_user_func.vim, src/userfunc.c 33957 33958Patch 8.1.1311 33959Problem: Aborting an autocmd with an exception is not tested. 33960Solution: Add a test. Also shows how to abort a command by throwing an 33961 exception. 33962Files: src/testdir/test_autocmd.vim 33963 33964Patch 8.1.1312 33965Problem: Coverity warning for using uninitialized variable. 33966Solution: Clear exarg_T. 33967Files: src/quickfix.c, src/channel.c, src/ex_cmds2.c 33968 33969Patch 8.1.1313 33970Problem: Warnings for using localtime() and ctime(). 33971Solution: Use localtime_r() if available. Avoid using ctime(). 33972Files: src/configure.ac, src/auto/configure, src/config.h.in, 33973 src/evalfunc.c, src/nbdebug.c, src/undo.c, src/memline.c, 33974 src/proto/memline.pro, src/hardcopy.c 33975 33976Patch 8.1.1314 33977Problem: MSVC makefile is not nicely indented. 33978Solution: Adjust spaces in preprocessor directives. (Ken Takata) 33979Files: src/Make_mvc.mak 33980 33981Patch 8.1.1315 33982Problem: There is always a delay if a termrequest is never answered. 33983Solution: When the response is not received within two seconds consider the 33984 request to have failed. 33985Files: src/term.c 33986 33987Patch 8.1.1316 33988Problem: Duplicated localtime() call. 33989Solution: Delete one. 33990Files: src/undo.c 33991 33992Patch 8.1.1317 33993Problem: Output from Travis can be improved. 33994Solution: Add section headers. Handle errors better. (Ozaki Kiichi, 33995 closes #4098) 33996Files: .travis.yml, configure 33997 33998Patch 8.1.1318 33999Problem: Code for text changes is in a "misc" file. 34000Solution: Move the code to change.c. 34001Files: src/misc1.c, src/proto/misc1.pro, src/change.c, 34002 src/proto/change.pro, src/proto.h, src/memline.c, Filelist, 34003 src/Make_cyg_ming.mak, src/Make_dice.mak, src/Make_manx.mak, 34004 src/Make_morph.mak, src/Make_mvc.mak, src/Make_sas.mak, 34005 src/Make_vms.mms, src/Makefile, src/README.md 34006 34007Patch 8.1.1319 34008Problem: Computing function length name in many places. 34009Solution: compute name length in call_func(). 34010Files: src/eval.c, src/userfunc.c, src/channel.c, src/evalfunc.c, 34011 src/ex_cmds2.c, src/regexp.c, src/terminal.c 34012 34013Patch 8.1.1320 34014Problem: It is not possible to track changes to a buffer. 34015Solution: Add listener_add() and listener_remove(). No docs or tests yet. 34016Files: src/structs.h, src/change.c, src/proto/change.pro 34017 34018Patch 8.1.1321 34019Problem: No docs or tests for listener functions. 34020Solution: Add help and tests for listener_add() and listener_remove(). 34021 Invoke the callbacks before redrawing. 34022Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, 34023 src/testdir/test_listener.vim, src/testdir/Make_all.mak, 34024 src/change.c, src/screen.c, src/evalfunc.c, src/proto/evalfunc.pro 34025 34026Patch 8.1.1322 34027Problem: Cygwin makefile is not nicely indented. 34028Solution: Adjust spaces in preprocessor directives. (Ken Takata) 34029Files: src/Make_cyg_ming.mak 34030 34031Patch 8.1.1323 34032Problem: 'mouse' option is reset when using GPM mouse. 34033Solution: Add flag for GPM mouse. 34034Files: src/term.c 34035 34036Patch 8.1.1324 34037Problem: Stray comma in VMS makefile. 34038Solution: Remove the comma. (Naruhiko Nishino, closes #4368) 34039Files: src/Make_vms.mms 34040 34041Patch 8.1.1325 34042Problem: Cannot build with +eval but without +channel and +timers. (John 34043 Marriott) 34044Solution: Adjust #ifdef for get_callback(). 34045Files: src/evalfunc.c, src/testdir/test_autocmd.vim 34046 34047Patch 8.1.1326 34048Problem: No test for listener with partial. 34049Solution: Add a test. Add example to help. 34050Files: src/testdir/test_listener.vim, runtime/doc/eval.txt 34051 34052Patch 8.1.1327 34053Problem: Unnecessary scroll after horizontal split. 34054Solution: Don't adjust to fraction if all the text fits in the window. 34055 (Martin Kunev, closes #4367) 34056Files: src/testdir/test_window_cmd.vim, src/window.c 34057 34058Patch 8.1.1328 34059Problem: No test for listener with undo operation. 34060Solution: Add a test. 34061Files: src/testdir/test_listener.vim 34062 34063Patch 8.1.1329 34064Problem: Plans for popup window support are spread out. 34065Solution: Add a first version of the popup window help. 34066Files: runtime/doc/popup.txt, runtime/doc/Makefile, runtime/doc/help.txt 34067 34068Patch 8.1.1330 34069Problem: Using bold attribute in terminal changes the color. (Jason 34070 Franklin) 34071Solution: Don't set the "bold-highbright" flag in vterm unless the terminal 34072 supports less than 16 colors. 34073Files: src/terminal.c, src/testdir/test_terminal.vim, 34074 src/testdir/dumps/Test_terminal_all_ansi_colors.dump 34075 34076Patch 8.1.1331 34077Problem: Test 29 is old style. 34078Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #4370) 34079Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 34080 src/testdir/test29.in, src/testdir/test29.ok, 34081 src/testdir/test_backspace_opt.vim, src/testdir/test_join.vim 34082 34083Patch 8.1.1332 34084Problem: Cannot flush change listeners without also redrawing. The line 34085 numbers in the list of changes may become invalid. 34086Solution: Add listener_flush(). Invoke listeners before adding a change 34087 that makes line numbers invalid. 34088Files: src/evalfunc.c, src/change.c, src/proto/change.pro, 34089 src/screen.c, runtime/doc/eval.txt, src/testdir/test_listener.vim 34090 34091Patch 8.1.1333 34092Problem: Text properties don't always move after changes. 34093Solution: Update properties before reporting changes to listeners. Move text 34094 property when splitting a line. 34095Files: src/change.c, src/ex_cmds.c, src/textprop.c, 34096 src/proto/textprop.pro, src/testdir/test_textprop.vim 34097 34098Patch 8.1.1334 34099Problem: When buffer is hidden "F" in 'shortmess' is not used. 34100Solution: Check the "F" flag in 'shortmess' when the buffer is already 34101 loaded. (Jason Franklin) Add test_getvalue() to be able to test 34102 this. 34103Files: src/buffer.c, src/evalfunc.c, src/testdir/test_options.vim, 34104 runtime/doc/eval.txt 34105 34106Patch 8.1.1335 34107Problem: Listener callback is called after inserting text. 34108Solution: Flush the changes before inserting or deleting a line. Store 34109 changes per buffer. 34110Files: src/change.c, src/proto/change.pro, src/memline.c, 34111 src/structs.h, src/testdir/test_listener.vim 34112 34113Patch 8.1.1336 34114Problem: Some eval functionality is not covered by tests. 34115Solution: Add a few more test cases. (Masato Nishihata, closes #4374) 34116Files: src/testdir/test_bufline.vim, src/testdir/test_cindent.vim, 34117 src/testdir/test_cursor_func.vim, src/testdir/test_delete.vim, 34118 src/testdir/test_expand_func.vim, src/testdir/test_float_func.vim, 34119 src/testdir/test_fnamemodify.vim, src/testdir/test_functions.vim 34120 34121Patch 8.1.1337 34122Problem: Get empty text prop when splitting line just after text prop. 34123Solution: Do not create an empty text prop at the start of the line. 34124Files: src/textprop.c, src/testdir/test_textprop.vim 34125 34126Patch 8.1.1338 34127Problem: Hang when concealing the '>' shown for a wide char that doesn't 34128 fit in the last cell. 34129Solution: Put back the pointer when the '>' is not going to be displayed. 34130 (closes #4377) 34131Files: src/screen.c 34132 34133Patch 8.1.1339 34134Problem: Installer needs to product name et al. 34135Solution: Add a few lines to the NSIS installer script. (Ken Takata) 34136Files: nsis/gvim.nsi 34137 34138Patch 8.1.1340 34139Problem: Attributes from 'cursorline' overwrite textprop. 34140Solution: Combine the attributes. (closes #3912) 34141Files: src/screen.c, src/textprop.c, src/testdir/test_textprop.vim, 34142 src/testdir/dumps/Test_textprop_01.dump 34143 34144Patch 8.1.1341 34145Problem: Text properties are lost when joining lines. 34146Solution: Move the text properties to the joined line. 34147Files: src/ops.c, src/textprop.c, src/proto/textprop.pro, 34148 src/testdir/test_textprop.vim, 34149 src/testdir/dumps/Test_textprop_01.dump 34150 34151Patch 8.1.1342 34152Problem: Using freed memory when joining line with text property. 34153Solution: Use already computed length. 34154Files: src/ops.c 34155 34156Patch 8.1.1343 34157Problem: Text properties not adjusted for Visual block mode delete. 34158Solution: Call adjust_prop_columns(). (closes #4384) 34159Files: src/ops.c, src/textprop.c, src/testdir/test_textprop.vim, 34160 src/misc1.c, src/testdir/dumps/Test_textprop_vis_01.dump, 34161 src/testdir/dumps/Test_textprop_vis_02.dump 34162 34163Patch 8.1.1344 34164Problem: Coverity complains about possibly using a NULL pointer and copying 34165 a string into a fixed size buffer. 34166Solution: Check for NULL, even though it should not happen. Use 34167 vim_strncpy() instead of strcpy(). 34168Files: src/change.c, src/memline.c 34169 34170Patch 8.1.1345 34171Problem: Stuck in sandbox with ":s/../\=Function/gn". 34172Solution: Don't skip over code to restore sandbox. (Christian Brabandt) 34173Files: src/ex_cmds.c, src/testdir/test_substitute.vim 34174 34175Patch 8.1.1346 34176Problem: Error for Python exception does not show useful info. 34177Solution: Show the last line instead of the first one. (Ben Jackson, 34178 closes #4381) 34179Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok, 34180 src/testdir/test_python2.vim, src/testdir/test_python3.vim, 34181 src/testdir/test_pyx2.vim, src/testdir/test_pyx3.vim 34182 34183Patch 8.1.1347 (after 8.1.1327) 34184Problem: Fractional scroll position not restored after closing window. 34185Solution: Do restore fraction if topline is not one. 34186Files: src/window.c, src/testdir/test_window_cmd.vim 34187 34188Patch 8.1.1348 34189Problem: Running tests may cause the window to move. 34190Solution: Correct the reported window position for the offset with the 34191 position after ":winpos". Works around an xterm bug. 34192Files: src/testdir/test_edit.vim 34193 34194Patch 8.1.1349 34195Problem: If writing runs into a conversion error the backup file is 34196 deleted. (Arseny Nasokin) 34197Solution: Don't delete the backup file is the file was overwritten and a 34198 conversion error occurred. (Christian Brabandt, closes #4387) 34199Files: src/fileio.c, src/testdir/test_writefile.vim 34200 34201Patch 8.1.1350 34202Problem: "W" for wrapping not shown when more than 99 matches. 34203Solution: Adjust check for length. (Masato Nishihata, closes #4388) 34204Files: src/search.c, src/testdir/test_search_stat.vim 34205 34206Patch 8.1.1351 34207Problem: Text property wrong after :substitute. 34208Solution: Save for undo before changing any text properties. 34209Files: src/testdir/test_textprop.vim, src/ex_cmds.c, src/textprop.c, 34210 src/proto/textprop.pro, src/change.c, src/edit.c, src/misc1.c, 34211 src/ops.c 34212 34213Patch 8.1.1352 34214Problem: Undofile() reports wrong name. (Francisco Giordano) 34215Solution: Clean up the name before changing path separators. (closes #4392, 34216 closes #4394) 34217Files: src/evalfunc.c, src/testdir/test_undo.vim 34218 34219Patch 8.1.1353 (after 8.1.1352) 34220Problem: Undo test fails on Mac. 34221Solution: Expect "private" on the Mac. 34222Files: src/testdir/test_undo.vim 34223 34224Patch 8.1.1354 34225Problem: Getting a list of text lines is clumsy. 34226Solution: Add the =<< assignment. (Yegappan Lakshmanan, closes #4386) 34227Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_let.vim 34228 34229Patch 8.1.1355 34230Problem: Obvious mistakes are accepted as valid expressions. 34231Solution: Be more strict about parsing numbers. (Yasuhiro Matsumoto, 34232 closes #3981) 34233Files: src/charset.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c, 34234 src/ex_getln.c, src/json.c, src/misc2.c, src/ops.c, src/option.c, 34235 src/proto/charset.pro, src/testdir/test_expr.vim, 34236 src/testdir/test_json.vim 34237 34238Patch 8.1.1356 34239Problem: Some text in heredoc assignment ends the text. (Ozaki Kiichi) 34240Solution: Recognize "let v =<<" and skip until the end. 34241Files: src/userfunc.c, src/testdir/test_let.vim 34242 34243Patch 8.1.1357 34244Problem: Test 37 is old style. 34245Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #4398) 34246Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 34247 src/testdir/test37.in, src/testdir/test37.ok, 34248 src/testdir/test_scrollbind.vim 34249 34250Patch 8.1.1358 34251Problem: Cannot enter character with a CSI byte. 34252Solution: Only check "gui.in_use" when VIMDLL is defined. (Ken Takata, 34253 closes #4396) 34254Files: src/getchar.c 34255 34256Patch 8.1.1359 34257Problem: Text property wrong after :substitute with backslash. 34258Solution: Adjust text property columns when removing backslashes. 34259 (closes #4397) 34260Files: src/ex_cmds.c, src/testdir/test_textprop.vim, src/vim.h, 34261 src/textprop.c, src/proto/textprop.pro, src/change.c, src/edit.c, 34262 src/misc1.c, src/ops.c 34263 34264Patch 8.1.1360 (after Patch 8.1.1345) 34265Problem: Buffer left 'nomodifiable' after :substitute. (Ingo Karkat) 34266Solution: Save the value of 'modifiable' earlier. (Christian Brabandt, 34267 closes #4403) 34268Files: src/ex_cmds.c, src/testdir/test_substitute.vim 34269 34270Patch 8.1.1361 34271Problem: Python setuptools don't work with Python 3. 34272Solution: Add dummy implementation for find_module. (Joel Frederico, 34273 closes #4402, closes #3984) 34274Files: src/if_py_both.h 34275 34276Patch 8.1.1362 34277Problem: Code and data in tests can be hard to read. 34278Solution: Use the new heredoc style. (Yegappan Lakshmanan, closes #4400) 34279Files: src/testdir/test_autocmd.vim, src/testdir/test_balloon.vim, 34280 src/testdir/test_bufline.vim, src/testdir/test_cindent.vim, 34281 src/testdir/test_conceal.vim, src/testdir/test_exit.vim, 34282 src/testdir/test_fold.vim, src/testdir/test_goto.vim, 34283 src/testdir/test_join.vim, src/testdir/test_mksession_utf8.vim, 34284 src/testdir/test_normal.vim, src/testdir/test_profile.vim, 34285 src/testdir/test_quickfix.vim, src/testdir/test_startup.vim, 34286 src/testdir/test_terminal.vim, src/testdir/test_xxd.vim 34287 34288Patch 8.1.1363 34289Problem: ":vert options" does not make a vertical split. 34290Solution: Pass the right modifiers in $OPTWIN_CMD. (Ken Takata, 34291 closes #4401) 34292Files: src/ex_cmds2.c, src/testdir/test_options.vim 34293 34294Patch 8.1.1364 34295Problem: Design for popup window support needs more details. 34296Solution: Add details about using a window and buffer. Rename popup_show() 34297 to popup_create() and add popup_show() and popup_hide(). 34298Files: runtime/doc/popup.txt 34299 34300Patch 8.1.1365 34301Problem: Source command doesn't check for the sandbox. (Armin Razmjou) 34302Solution: Check for the sandbox when sourcing a file. 34303Files: src/getchar.c, src/testdir/test_source.vim 34304 34305Patch 8.1.1366 34306Problem: Using expressions in a modeline is unsafe. 34307Solution: Disallow using expressions in a modeline, unless the 34308 'modelineexpr' option is set. Update help, add more tests. 34309Files: runtime/doc/options.txt, src/option.c, src/option.h, 34310 src/testdir/test_modeline.vim, src/testdir/test49.in 34311 34312Patch 8.1.1367 (after 8.1.1366) 34313Problem: can set 'modelineexpr' in modeline. 34314Solution: Add P_SECURE flag. 34315Files: src/option.c, src/testdir/test_modeline.vim 34316 34317Patch 8.1.1368 (after 8.1.1366) 34318Problem: Modeline test fails with python but without pythonhome. 34319Solution: Correct test argument. 34320Files: src/testdir/test_modeline.vim 34321 34322Patch 8.1.1369 34323Problem: Get E484 when using system() during GUI startup. 34324Solution: Check "gui.starting". (Ken Takata) 34325Files: src/os_win32.c 34326 34327Patch 8.1.1370 34328Problem: Not using the new github feature for donations. 34329Solution: Add a Sponsor button. (closes #4417) 34330Files: .github/FUNDING.yml 34331 34332Patch 8.1.1371 34333Problem: Cannot recover from a swap file. 34334Solution: Do not expand environment variables in the swap file name. 34335 Do not check the extension when we already know a file is a swap 34336 file. (Ken Takata, closes #4415, closes #4369) 34337Files: src/buffer.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, 34338 src/gui.c, src/if_cscope.c, src/main.c, src/memline.c, 34339 src/misc1.c, src/proto/memline.pro, src/proto/misc1.pro, 34340 src/search.c, src/spell.c, src/spellfile.c, src/tag.c, 34341 src/testdir/test_swap.vim, src/vim.h 34342 34343Patch 8.1.1372 34344Problem: When evaluating 'statusline' the current window is unknown. 34345 (Daniel Hahler) 34346Solution: Set "g:actual_curwin" for %{} items. Set "g:statusline_winid" 34347 when evaluating %!. (closes #4406, closes #3299) 34348Files: src/buffer.c, runtime/doc/options.txt, 34349 src/testdir/test_statusline.vim 34350 34351Patch 8.1.1373 34352Problem: "[p" in Visual mode puts in wrong line. 34353Solution: Call nv_put() instead of duplicating the functionality. 34354 (closes #4408) 34355Files: src/normal.c, src/testdir/test_put.vim 34356 34357Patch 8.1.1374 34358Problem: Check for file changed triggers too often. 34359Solution: Don't use "b_p_ar" when it is negative. 34360Files: src/fileio.c 34361 34362Patch 8.1.1375 34363Problem: Without "TS" in 'shortmess' get a hit-enter prompt often. 34364Solution: Always truncate the search message. Also avoid putting it in the 34365 message history. (closes #4413) 34366Files: src/search.c, src/main.c, src/testdir/test_search_stat.vim 34367 34368Patch 8.1.1376 34369Problem: Warnings for size_t/int mixups. 34370Solution: Change types, add type casts. (Mike Williams) 34371Files: src/search.c, src/textprop.c 34372 34373Patch 8.1.1377 34374Problem: MS-Windows GUI uses wrong shell command for bash. (Robert Bogomip) 34375Solution: Check that 'shellcmdflag' is "/c". (Ken Takata, closes #4418) 34376Files: src/os_win32.c 34377 34378Patch 8.1.1378 34379Problem: Delete() can not handle a file name that looks like a pattern. 34380Solution: Use readdir() instead of appending "/*" and expanding wildcards. 34381 (Ken Takata, closes #4424, closes #696) 34382Files: src/testdir/test_functions.vim, src/evalfunc.c, src/fileio.c, 34383 src/proto/fileio.pro 34384 34385Patch 8.1.1379 (after 8.1.1374) 34386Problem: Filechanged test hangs. 34387Solution: Do not check 'autoread'. 34388Files: src/fileio.c, src/testdir/test_filechanged.vim 34389 34390Patch 8.1.1380 34391Problem: MS-Windows building VIMDLL with MSVC: SUBSYSTEM is not set. 34392Solution: Invert condition. (Ken Takata, closes #4422) 34393Files: src/Make_mvc.mak 34394 34395Patch 8.1.1381 34396Problem: MS-Windows: missing build dependency. 34397Solution: Make gui_dwrite.cpp depend on gui_dwrite.h. (Ken Takata, 34398 closes #4423) 34399Files: src/Make_cyg_ming.mak, src/Make_mvc.mak 34400 34401Patch 8.1.1382 34402Problem: Error when editing test file. 34403Solution: Remove part of modeline. 34404Files: src/testdir/test_vimscript.vim, src/testdir/test49.vim, 34405 src/testdir/test49.in 34406 34407Patch 8.1.1383 34408Problem: Warning for size_t/int mixup. 34409Solution: Change type. (Mike Williams) 34410Files: src/search.c 34411 34412Patch 8.1.1384 34413Problem: Using "int" for alloc() often results in compiler warnings. 34414Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim 34415 only works with 32 bit ints anyway. 34416Files: src/misc2.c, src/proto/misc2.pro, src/change.c, src/ex_cmds.c, 34417 src/netbeans.c, src/autocmd.c, src/buffer.c, src/change.c, 34418 src/channel.c, src/charset.c, src/debugger.c, src/dict.c, 34419 src/diff.c, src/digraph.c, src/edit.c, src/eval.c, src/evalfunc.c, 34420 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c, 34421 src/ex_getln.c, src/fileio.c, src/findfile.c, src/fold.c, 34422 src/getchar.c, src/gui.c, src/gui_at_fs.c, src/gui_gtk.c, 34423 src/gui_gtk_x11.c, src/gui_motif.c, src/gui_w32.c, src/hashtab.c, 34424 src/if_cscope.c, src/if_perlsfio.c, src/if_python3.c, 34425 src/if_xcmdsrv.c, src/indent.c, src/insexpand.c, src/main.c, 34426 src/mbyte.c, src/memfile.c, src/memline.c, src/menu.c, 34427 src/message.c, src/misc1.c, src/misc2.c, src/netbeans.c, 34428 src/ops.c, src/option.c, src/os_amiga.c, src/os_mswin.c, 34429 src/os_unix.c, src/os_vms.c, src/os_win32.c, src/quickfix.c, 34430 src/regexp.c, src/screen.c, src/spell.c, src/spellfile.c, 34431 src/syntax.c, src/term.c, src/undo.c, src/usercmd.c, 34432 src/userfunc.c, src/version.c, src/winclip.c 34433 34434Patch 8.1.1385 34435Problem: Signed/unsigned compiler warning. 34436Solution: Use STRLEN() instead of strlen(). 34437Files: src/fileio.c 34438 34439Patch 8.1.1386 34440Problem: Unnecessary type casts for lalloc(). 34441Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size). 34442Files: src/buffer.c, src/change.c, src/channel.c, src/diff.c, src/edit.c, 34443 src/eval.c, src/ex_cmds.c, src/ex_getln.c, src/fileio.c, 34444 src/getchar.c, src/gui_mac.c, src/insexpand.c, src/gui_w32.c, 34445 src/gui_x11.c, src/menu.c, src/netbeans.c, src/ops.c, 34446 src/os_mswin.c, src/os_amiga.c, src/os_qnx.c, src/os_unix.c, 34447 src/os_win32.c, src/popupmnu.c, src/quickfix.c, src/regexp.c, 34448 src/regexp_nfa.c, src/screen.c, src/search.c, src/sign.c, 34449 src/spell.c, src/spellfile.c, src/syntax.c, src/tag.c, 34450 src/terminal.c, src/textprop.c, src/ui.c, src/undo.c, 34451 src/userfunc.c, src/winclip.c, src/window.c 34452 34453Patch 8.1.1387 34454Problem: Calling prop_add() in an empty buffer doesn't work. (Dominique 34455 Pelle) 34456Solution: Open the memline before adding a text property. (closes #4412) 34457Files: src/textprop.c, src/testdir/test_textprop.vim 34458 34459Patch 8.1.1388 34460Problem: Errors when calling prop_remove() for an unloaded buffer. 34461Solution: Bail out when the buffer is not loaded. Add a few more tests for 34462 failing when the buffer number is invalid. 34463Files: src/textprop.c, src/testdir/test_textprop.vim 34464 34465Patch 8.1.1389 34466Problem: Changes are not flushed when end and start overlap. (Paul Jolly) 34467Solution: When end of a previous changes overlaps with start of a new 34468 change, first flush listeners. 34469Files: src/change.c, src/testdir/test_listener.vim 34470 34471Patch 8.1.1390 34472Problem: Search stats are off when using count or offset. 34473Solution: Recompute the stats when needed. (Masato Nishihata, closes #4410) 34474Files: src/testdir/test_search_stat.vim, src/search.c 34475 34476Patch 8.1.1391 34477Problem: No popup window support. 34478Solution: Add initial code for popup windows. Add the 'wincolor' option. 34479Files: Filelist, runtime/doc/popup.txt, runtime/doc/options.txt, 34480 src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms, 34481 src/Makefile, src/autocmd.c, src/buffer.c, src/ex_cmds.h, 34482 src/ex_cmdidxs.h, src/proto/buffer.pro, src/eval.c src/evalfunc.c 34483 src/feature.h, src/globals.h, src/option.c, src/option.h, 34484 src/popupwin.c, src/proto.h, src/proto/popupwin.pro, 34485 src/proto/window.pro, src/screen.c, src/structs.h, src/terminal.c, 34486 src/testdir/Make_all.mak, src/testdir/dumps/Test_popupwin_01.dump, 34487 src/testdir/test_popupwin.vim, src/vim.h, src/window.c 34488 34489Patch 8.1.1392 (after 8.1.1391) 34490Problem: Build failure in tiny version. 34491Solution: Define ex_popupclear to ex_ni if not implemented. Add UNUSED. 34492Files: src/ex_docmd.c, src/window.c 34493 34494Patch 8.1.1393 34495Problem: Unnecessary type casts. 34496Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams) 34497Files: src/channel.c, src/crypt.c, src/dict.c, src/dosinst.c, 34498 src/evalfunc.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, 34499 src/ex_getln.c, src/fileio.c, src/findfile.c, src/if_ole.cpp, 34500 src/if_py_both.h, src/list.c, src/message.c, src/misc1.c, 34501 src/misc2.c, src/ops.c, src/os_vms.c, src/os_win32.c, 34502 src/quickfix.c, src/regexp_nfa.c, src/screen.c, src/search.c, 34503 src/sign.c, src/syntax.c, src/tag.c, src/term.c, src/terminal.c, 34504 src/textprop.c 34505 34506Patch 8.1.1394 34507Problem: Not restoring t_F2 in registers test. 34508Solution: Assign to &t_F2 instead of t_F2. (Andy Massimino, closes #4434) 34509Files: src/testdir/test_registers.vim 34510 34511Patch 8.1.1395 34512Problem: Saving for undo may access invalid memory. (Dominique Pelle) 34513Solution: Set ml_line_len also when returning a constant string. 34514Files: src/memline.c, src/testdir/test_textprop.vim 34515 34516Patch 8.1.1396 34517Problem: 'wincolor' does not apply to lines below the buffer. 34518Solution: Also apply 'wincolor' to the "~" lines and the number column. 34519Files: src/screen.c, src/testdir/test_highlight.vim, 34520 src/testdir/dumps/Test_wincolor_01.dump 34521 34522Patch 8.1.1397 34523Problem: Build fails in tiny version. 34524Solution: Always define hl_combine_attr(). 34525Files: src/syntax.c 34526 34527Patch 8.1.1398 34528Problem: Duplicate line in MSVC build file. 34529Solution: Remove the line. (Ken Takata, closes #4436) 34530Files: src/Make_mvc.mak 34531 34532Patch 8.1.1399 34533Problem: Popup windows not adjusted when switching tabs. 34534Solution: Save and restore first_tab_popupwin. Fix closing a tabpage. 34535Files: src/window.c, src/popupwin.c, src/proto/popupwin.pro, 34536 src/testdir/test_popupwin.vim, 34537 src/testdir/dumps/Test_popupwin_02.dump, 34538 src/testdir/dumps/Test_popupwin_03.dump, 34539 src/testdir/dumps/Test_popupwin_04.dump 34540 34541Patch 8.1.1400 34542Problem: Using global pointer for tab-local popups is clumsy. 34543Solution: Use the pointer in tabpage_T. 34544Files: src/popupwin.c, src/globals.h, src/eval.c, src/screen.c, 34545 src/window.c 34546 34547Patch 8.1.1401 34548Problem: Misspelled mkspellmem as makespellmem. 34549Solution: Drop duplicate help entry, fix test. (Naruhiko Nishino, Yasuhiro 34550 Matsumoto, closes #4437) 34551Files: runtime/doc/options.txt, src/testdir/test_modeline.vim 34552 34553Patch 8.1.1402 34554Problem: "timer" option of popup windows not supported. 34555Solution: Implement the "timer" option. (Yasuhiro Matsumoto, closes #4439) 34556Files: src/structs.h, src/testdir/test_popupwin.vim, src/popupwin.c, 34557 src/window.c, runtime/doc/popup.txt 34558 34559Patch 8.1.1403 34560Problem: Cannot build without the timer feature. 34561Solution: Add #ifdef. 34562Files: src/structs.h, src/window.c, src/popupwin.c, 34563 src/testdir/test_popupwin.vim 34564 34565Patch 8.1.1404 34566Problem: Cannot change the patch level when building with NSIS. 34567Solution: Use $PATCHLEVEL if defined. (Christian Brabandt) 34568Files: nsis/gvim.nsi 34569 34570Patch 8.1.1405 34571Problem: "highlight" option of popup windows not supported. 34572Solution: Implement the "highlight" option. 34573Files: src/option.c, src/proto/option.pro, src/diff.c src/popupwin.c, 34574 runtime/doc/popup.txt, src/testdir/test_popupwin.vim, 34575 src/testdir/dumps/Test_popupwin_01.dump, 34576 src/testdir/dumps/Test_popupwin_03.dump 34577 34578Patch 8.1.1406 34579Problem: popup_hide() and popup_show() not implemented yet. 34580Solution: Implement the functions. 34581Files: src/popupwin.c, src/proto/popupwin.pro, src/evalfunc.c, 34582 src/structs.h, runtime/doc/popup.txt, src/screen.c, src/vim.h, 34583 src/testdir/test_popupwin.vim 34584 34585Patch 8.1.1407 34586Problem: Popup_create() does not support text properties. 34587Solution: Support the third form of the text argument. 34588Files: src/textprop.c, src/proto/textprop.pro, src/popupwin.c, 34589 src/testdir/test_popupwin.vim, src/screen.c, 34590 src/testdir/dumps/Test_popupwin_02.dump, 34591 src/testdir/dumps/Test_popupwin_03.dump, 34592 src/testdir/dumps/Test_popupwin_04.dump, 34593 runtime/doc/popup.txt 34594 34595Patch 8.1.1408 34596Problem: PFL_HIDDEN conflicts with system header file. (Ken Takata) 34597Solution: Rename to POPF_HIDDEN. 34598Files: src/popupwin.c, src/screen.c, src/vim.h 34599 34600Patch 8.1.1409 34601Problem: Coverity warns for using uninitialized memory. 34602Solution: Add a condition to clearing the growarray. 34603Files: src/json.c 34604 34605Patch 8.1.1410 34606Problem: Popup_move() is not implemented yet. 34607Solution: Implement it. (Yasuhiro Matsumoto, closes #4441) Improve the 34608 positioning and resizing. 34609Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c, 34610 src/screen.c, src/structs.h, src/proto/popupwin.pro, 34611 src/testdir/test_popupwin.vim, 34612 src/testdir/dumps/Test_popupwin_05.dump 34613 34614Patch 8.1.1411 34615Problem: Coverity warns for divide by zero. 34616Solution: Make sure width is larger than zero. 34617Files: src/charset.c 34618 34619Patch 8.1.1412 34620Problem: Test 30 is old style. 34621Solution: Turn it into a new style test. (Yegappan Lakshmanan, closes #4440) 34622Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 34623 src/testdir/test30.in, src/testdir/test30.ok, 34624 src/testdir/test_fileformat.vim 34625 34626Patch 8.1.1413 34627Problem: Error when the drive of the swap file was disconnected. 34628Solution: Try closing and re-opening the swap file. (partly by Joe Orost, 34629 closes #4378) 34630Files: src/memfile.c, src/structs.h, src/testdir/test_startup.vim 34631 34632Patch 8.1.1414 34633Problem: Alloc() returning "char_u *" causes a lot of type casts. 34634Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to 34635 check the simple allocations. 34636Files: src/autocmd.c, src/blob.c, src/blowfish.c, src/buffer.c, 34637 src/change.c, src/channel.c, src/crypt.c, src/crypt_zip.c, 34638 src/dict.c, src/diff.c, src/eval.c, src/evalfunc.c, src/ex_cmds.c, 34639 src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, 34640 src/fileio.c, src/findfile.c, src/getchar.c, src/gui_gtk.c, 34641 src/gui_gtk_x11.c, src/gui_mac.c, src/gui_motif.c, 34642 src/gui_photon.c, src/gui_w32.c, src/gui_x11.c, src/hardcopy.c, 34643 src/hashtab.c, src/if_cscope.c, src/if_mzsch.c, src/if_perlsfio.c, 34644 src/if_py_both.h, src/if_python3.c, src/if_xcmdsrv.c, 34645 src/insexpand.c, src/list.c, src/mark.c, src/mbyte.c, 34646 src/memfile.c, src/memfile_test.c, src/memline.c, src/message.c, 34647 src/misc2.c, src/netbeans.c, src/normal.c, src/ops.c, 34648 src/option.c, src/os_amiga.c, src/os_mac_conv.c, src/os_mswin.c, 34649 src/os_unix.c, src/os_vms.c, src/os_win32.c, src/popupmnu.c, 34650 src/proto/misc2.pro, src/quickfix.c, src/regexp.c, 34651 src/regexp_nfa.c, src/screen.c, src/search.c, src/sign.c, 34652 src/spell.c, src/spellfile.c, src/syntax.c, src/tag.c, src/term.c, 34653 src/terminal.c, src/textprop.c, src/ui.c, src/undo.c, 34654 src/userfunc.c, src/version.c, src/winclip.c, src/window.c, 34655 src/vim.h, src/testdir/test_cscope.vim 34656 34657Patch 8.1.1415 (after 8.1.1414) 34658Problem: Build error in MS-Windows GUI. 34659Solution: Fix the LALLOC_MULT() argument. 34660Files: src/gui_w32.c 34661 34662Patch 8.1.1416 34663Problem: Popup_getposition() not implemented yet. 34664Solution: Implement it. (Yasuhiro Matsumoto, closes #4449) 34665Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c, 34666 src/proto/popupwin.pro, src/testdir/test_popupwin.vim 34667 34668Patch 8.1.1417 34669Problem: MS-Windows: resolve() does not resolve all components of the path. 34670 (David Briscoe) 34671Solution: Do not bail out for a reparse point. (Yasuhiro Matsumoto, 34672 closes #4211, closes #4447) 34673Files: src/os_mswin.c, src/testdir/test_functions.vim 34674 34675Patch 8.1.1418 34676Problem: Win_execute() is not implemented yet. 34677Solution: Implement it. 34678Files: src/evalfunc.c, src/popupwin.c, src/testdir/test_execute_func.vim, 34679 runtime/doc/popup.txt, runtime/doc/eval.txt 34680 34681Patch 8.1.1419 34682Problem: Listener callbacks may be called recursively. 34683Solution: Set "updating_screen" while listener callbacks are invoked. 34684Files: src/change.c, src/screen.c, src/proto/screen.pro, src/ui.c 34685 34686Patch 8.1.1420 34687Problem: Popup window size only uses first line length. 34688Solution: Use the longest line. (Ben Jackson, closes #4451) Also deal with 34689 wrapping lines. 34690Files: src/popupwin.c, src/testdir/test_popupwin.vim 34691 34692Patch 8.1.1421 34693Problem: Drawing "~" line in popup window. 34694Solution: Just draw text in the last line of the popup window. 34695Files: src/screen.c, src/structs.h, src/popupwin.c, 34696 src/proto/popupwin.pro, src/testdir/test_popupwin.vim, 34697 src/testdir/dumps/Test_popupwin_05.dump, 34698 src/testdir/dumps/Test_popupwin_06.dump 34699 34700Patch 8.1.1422 34701Problem: Popup_getoptions() not implemented yet. 34702Solution: Implement it. (closes #4452) 34703Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c, 34704 src/proto/popupwin.pro, src/testdir/test_popupwin.vim 34705 34706Patch 8.1.1423 34707Problem: Popup windows use options from current window and buffer. 34708Solution: Clear all local options when creating a popup window. 34709Files: src/popupwin.c, src/option.c, src/proto/option.pro, 34710 src/testdir/test_popupwin.vim 34711 34712Patch 8.1.1424 34713Problem: Crash when popup menu is deleted while waiting for char. 34714Solution: Bail out when pum_array was cleared. 34715Files: src/popupmnu.c 34716 34717Patch 8.1.1425 34718Problem: Win_execute() does not set window pointers properly. 34719Solution: Use switch_win_noblock(). Also execute autocommands in a popup 34720 window. 34721Files: src/window.c, src/proto/window.pro, src/evalfunc.c, src/autocmd.c 34722 34723Patch 8.1.1426 34724Problem: No test for syntax highlight in popup window. 34725Solution: Add a screenshot test. Update associated documentation. Avoid 34726 'buftype' being reset by setbufvar(). 34727Files: runtime/doc/eval.txt, src/testdir/test_popupwin.vim, 34728 src/testdir/dumps/Test_popupwin_10.dump, 34729 src/testdir/dumps/Test_popupwin_11.dump 34730 34731Patch 8.1.1427 (after 8.1.1426) 34732Problem: Popup window screenshot test fails. 34733Solution: Add missing change to popup window code. 34734Files: src/popupwin.c 34735 34736Patch 8.1.1428 34737Problem: Popup_atcursor() not implemented yet. 34738Solution: Implement it. (Yasuhiro Matsumoto, closes #4456) 34739Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c, 34740 src/proto/popupwin.pro, src/testdir/test_popupwin.vim 34741 34742Patch 8.1.1429 34743Problem: "pos" option of popup window not supported yet. 34744Solution: Implement the option. Rename popup_getposition() to 34745 popup_getpos(). 34746Files: src/structs.h, src/popupwin.c, src/proto/popupwin.pro, 34747 runtime/doc/popup.txt 34748 34749Patch 8.1.1430 34750Problem: Popup window option "wrap" not supported. 34751Solution: Implement it. 34752Files: src/popupwin.c, src/testdir/test_popupwin.vim, 34753 src/testdir/dumps/Test_popupwin_wrap.dump, 34754 src/testdir/dumps/Test_popupwin_nowrap.dump 34755 34756Patch 8.1.1431 34757Problem: Popup window listed as "Scratch". 34758Solution: List them as "Popup". 34759Files: src/buffer.c, src/popupwin.c, src/testdir/test_popupwin.vim, 34760 runtime/doc/popup.txt, runtime/doc/windows.txt 34761 34762Patch 8.1.1432 (after 8.1.1429) 34763Problem: Can't build with eval feature. 34764Solution: Add missing rename. 34765Files: src/evalfunc.c 34766 34767Patch 8.1.1433 34768Problem: Win_execute() may leave popup window focused, eventually leading 34769 to a crash. (Bjorn Linse) 34770Solution: When previous window was closed, go to the first window. 34771Files: src/window.c, src/testdir/test_popupwin.vim 34772 34773Patch 8.1.1434 34774Problem: Test 3 is old style. 34775Solution: Turn into a new style test. (Yegappan Lakshmanan, closes #4460) 34776Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 34777 src/testdir/test3.in, src/testdir/test3.ok, 34778 src/testdir/test_cindent.vim 34779 34780Patch 8.1.1435 34781Problem: Memory usage test is a bit too flaky. 34782Solution: Adjust the tolerances a bit. (Christian Brabandt) 34783Files: src/testdir/test_memory_usage.vim 34784 34785Patch 8.1.1436 34786Problem: Writefile test fails when run under /tmp. 34787Solution: Adjust 'backupskip'. (Kenta Sato, closes #4462) 34788Files: src/testdir/test_writefile.vim 34789 34790Patch 8.1.1437 34791Problem: Code to handle callbacks is duplicated. 34792Solution: Add callback_T and functions to deal with it. 34793Files: src/structs.h, src/evalfunc.c, src/proto/evalfunc.pro, 34794 src/change.c, src/channel.c, src/proto/channel.pro, src/buffer.c, 34795 src/userfunc.c, src/proto/userfunc.pro, src/eval.c, 34796 src/ex_cmds2.c, src/popupwin.c 34797 34798Patch 8.1.1438 34799Problem: Some commands cause trouble in a popup window. 34800Solution: Add NOT_IN_POPUP_WINDOW. 34801Files: src/macros.h, src/popupwin.c, src/proto/popupwin.pro, 34802 src/ex_docmd.c, src/ex_cmds2.c, src/window.c, 34803 src/testdir/test_popupwin.vim 34804 34805Patch 8.1.1439 34806Problem: Json_encode() is very slow for large results. 34807Solution: In the growarray use a growth of at least 50%. (Ken Takata, 34808 closes #4461) 34809Files: src/misc2.c 34810 34811Patch 8.1.1440 34812Problem: Win_execute() test fails. 34813Solution: Adjust the expected error number. Move to popup test. 34814Files: src/testdir/test_execute_func.vim, src/testdir/test_popupwin.vim 34815 34816Patch 8.1.1441 34817Problem: Popup window filter not yet implemented. 34818Solution: Implement the popup filter. 34819Files: src/structs.h, runtime/doc/popup.txt, src/popupwin.c, 34820 src/proto/popupwin.pro, src/window.c, src/getchar.c, src/screen.c, 34821 src/misc2.c, src/proto/misc2.pro, src/vim.h, 34822 src/testdir/test_popupwin.vim 34823 34824Patch 8.1.1442 34825Problem: Popup windows not considered when the Vim window is resized. 34826 (Ben Jackson) 34827Solution: Reallocate the w_lines structure. (closes #4467) 34828Files: src/screen.c 34829 34830Patch 8.1.1443 34831Problem: Popup window padding and border not implemented yet. 34832Solution: Implement padding and border. Add core position and size to 34833 popup_getpos(). 34834Files: src/structs.h, src/popupwin.c, src/screen.c, 34835 src/testdir/test_popupwin.vim, 34836 src/testdir/dumps/Test_popupwin_20.dump, runtime/doc/popup.txt 34837 34838Patch 8.1.1444 34839Problem: Not using double line characters for popup border. 34840Solution: Use double line characters if using utf-8. 34841Files: src/screen.c, src/testdir/test_popupwin.vim, 34842 src/testdir/dumps/Test_popupwin_21.dump 34843 34844Patch 8.1.1445 34845Problem: Popup window border highlight not implemented yet. 34846Solution: Implement the "borderhighlight" option. 34847Files: src/structs.h, src/popupwin.c, src/window.c, src/screen.c, 34848 src/testdir/test_popupwin.vim, runtime/doc/popup.txt, 34849 src/testdir/dumps/Test_popupwin_22.dump 34850 34851Patch 8.1.1446 34852Problem: Popup window callback not implemented yet. 34853Solution: Implement the callback. 34854Files: runtime/doc/popup.txt, src/popupwin.c, src/structs.h, 34855 src/evalfunc.c, src/window.c, src/testdir/test_popupwin.vim 34856 34857Patch 8.1.1447 34858Problem: Not allowed to create an empty popup. 34859Solution: Remove restriction that there is some text. (closes #4470) 34860Files: src/popupwin.c, src/testdir/test_popupwin.vim 34861 34862Patch 8.1.1448 34863Problem: Statusline is sometimes drawn on top of popup. 34864Solution: Redraw popups after the statusline. (Naruhiko Nishino, 34865 closes #4468) 34866Files: src/screen.c, src/testdir/test_popupwin.vim, 34867 src/testdir/dumps/Test_popupwin_behind.dump 34868 34869Patch 8.1.1449 34870Problem: Popup text truncated at end of screen. 34871Solution: Move popup left if needed. Add the "fixed" property to disable 34872 that. (Ben Jackson, closes #4466) 34873Files: runtime/doc/popup.txt, src/popupwin.c, src/structs.h, 34874 src/testdir/test_popupwin.vim 34875 34876Patch 8.1.1450 34877Problem: Popup window positioning wrong when using padding or borders. 34878Solution: Fix computing the position. 34879Files: src/popupwin.c, src/testdir/test_popupwin.vim, 34880 src/testdir/dumps/Test_popupwin_corners.dump 34881 34882Patch 8.1.1451 34883Problem: CTRL-L does not clear screen with a popup window. 34884Solution: Do not change the type to NOT_VALID. Redraw all windows. 34885 (closes #4471) 34886Files: src/screen.c 34887 34888Patch 8.1.1452 34889Problem: Line and col property of popup windows not properly checked. 34890Solution: Check for "+" or "-" sign. 34891Files: src/popupwin.c, src/dict.c, src/proto/dict.pro, 34892 src/window.c, src/testdir/test_popupwin.vim 34893 34894Patch 8.1.1453 34895Problem: Popup window "moved" property not implemented yet. 34896Solution: Implement it. 34897Files: src/main.c, src/edit.c, src/gui.c, src/globals.h, src/structs.h, 34898 src/screen.c, src/popupwin.c, src/proto/popupwin.pro, 34899 src/testdir/test_popupwin.vim, runtime/doc/popup.txt 34900 34901Patch 8.1.1454 34902Problem: Build failure without the conceal feature. 34903Solution: Remove #ifdef. 34904Files: src/autocmd.c 34905 34906Patch 8.1.1455 34907Problem: Popup_atcursor() not completely implemented. 34908Solution: Add the default for the "moved" property. 34909Files: src/popupwin.c, src/normal.c, src/vim.h, 34910 src/testdir/test_popupwin.vim 34911 34912Patch 8.1.1456 34913Problem: WinBar not redrawn after scrolling one line. 34914Solution: Exclude the winbar height when deciding what to redraw. 34915 (closes #4473) 34916Files: src/screen.c, src/testdir/test_winbar.vim 34917 34918Patch 8.1.1457 34919Problem: Cannot reuse a buffer when loading a screen dump. 34920Solution: Add the "bufnr" option. 34921Files: runtime/doc/eval.txt, src/structs.h, src/channel.c, 34922 src/terminal.c, src/testdir/test_terminal.vim 34923 34924Patch 8.1.1458 34925Problem: Crash when using gtags. (issue #4102) 34926Solution: Check for negative row or col in screen_puts_len(). (Christian 34927 Brabandt) 34928Files: src/screen.c 34929 34930Patch 8.1.1459 34931Problem: Popup window border looks bad when 'ambiwidth' is "double". 34932 (Yasuhiro Matsumoto) 34933Solution: Only use line drawing characters when 'ambiwidth' is "single". 34934 (Ken Takata, closes #4477) 34935Files: src/screen.c 34936 34937Patch 8.1.1460 34938Problem: Popup window border characters may be wrong. 34939Solution: Reset the border characters for each popup. Correct use of 34940 'ambiwidth'. 34941Files: src/screen.c 34942 34943Patch 8.1.1461 34944Problem: Tests do not run or are not reliable on some systems. 34945Solution: Use "findstr" instead of "grep" on MS-Windows. Clear 34946 PROMPT_COMMAND in the terminal test. Delete temp file. Wait for 34947 output after executing a debug command. (Yegappan Lakshmanan, 34948 closes #4479) 34949Files: src/testdir/test_debugger.vim, src/testdir/test_environ.vim, 34950 src/testdir/test_filetype.vim, src/testdir/test_source.vim, 34951 src/testdir/test_terminal.vim 34952 34953Patch 8.1.1462 34954Problem: MS-Windows: using special character requires quoting. 34955Solution: Add quotes. (Ken Takata) 34956Files: src/testdir/test_environ.vim 34957 34958Patch 8.1.1463 34959Problem: Gcc warns for uninitialized variable. 34960Solution: Put usage inside "if". (Ken Takata) 34961Files: src/textprop.c 34962 34963Patch 8.1.1464 34964Problem: Only 4-digit rgb termresponse is recognized. 34965Solution: Also recognize 2-digit rgb response. (closes #4486) 34966Files: src/term.c, src/test_termcodes.vim 34967 34968Patch 8.1.1465 34969Problem: Allocating wrong amount of memory. (Yegappan Lakshmanan) 34970Solution: Use sizeof() for right type of struct. 34971Files: src/memfile_test.c 34972 34973Patch 8.1.1466 34974Problem: Not updating priority on existing sign. 34975Solution: Set the sign priority. Add a test. (Yegappan Lakshmanan) 34976Files: src/sign.c, src/testdir/test_signs.vim, runtime/doc/eval.txt, 34977 runtime/doc/sign.txt 34978 34979Patch 8.1.1467 (after 8.1.1465) 34980Problem: Cscope test fails. 34981Solution: Update expected text. 34982Files: src/testdir/test_cscope.vim 34983 34984Patch 8.1.1468 34985Problem: The generated desktop files may be invalid. 34986Solution: Check validity with desktop-file-validate. (Christian Brabandt, 34987 Will Thompson, closes #4480) 34988Files: src/po/Makefile 34989 34990Patch 8.1.1469 34991Problem: No test for checking the cursor style response. 34992Solution: Add a simple test. Also include the missing part of 8.1.1464. 34993Files: src/term.c, src/testdir/test_termcodes.vim 34994 34995Patch 8.1.1470 34996Problem: New Unicode character U+32FF missing from double-width table. 34997Solution: Add the character. 34998Files: src/mbyte.c 34999 35000Patch 8.1.1471 35001Problem: 'background' not correctly set for 2-digit rgb termresponse. 35002Solution: Adjust what digit to use. (closes #4495) 35003Files: src/term.c, src/testdir/test_termcodes.vim 35004 35005Patch 8.1.1472 35006Problem: Add_termcap_entry() is not tested. 35007Solution: Add a simple test. 35008Files: src/testdir/test_termcodes.vim 35009 35010Patch 8.1.1473 35011Problem: New resolve() implementation causes problem for plugins. 35012Solution: Only resolve a reparse point after checking it is needed. (Ken 35013 Takata, closes #4492) 35014Files: src/os_mswin.c, src/testdir/test_functions.vim 35015 35016Patch 8.1.1474 35017Problem: 'ttybuiltin' is not tested. 35018Solution: At least test that it doesn't break things. 35019Files: src/testdir/test_termcodes.vim 35020 35021Patch 8.1.1475 35022Problem: Search string not displayed when 'rightleft' is set. 35023Solution: Clear the right part of the old text. (closes #4488, closes #4489) 35024Files: src/search.c, src/testdir/test_search.vim 35025 35026Patch 8.1.1476 35027Problem: No statistics displayed after running tests. 35028Solution: Summarize the test results. (Christian Brabandt, closes #4391) 35029 Also make it possible to report a skipped file. 35030Files: src/Makefile, src/testdir/Makefile, src/testdir/summarize.vim, 35031 src/testdir/runtest.vim, src/testdir/test_arabic.vim, 35032 src/testdir/test_autochdir.vim, src/testdir/test_balloon.vim 35033 35034Patch 8.1.1477 35035Problem: Test summary fails in the tiny version. 35036Solution: set 'nocompatible'. 35037Files: Filelist, src/testdir/summarize.vim 35038 35039Patch 8.1.1478 35040Problem: Still an error when running tests with the tiny version. 35041Solution: Do not try reading test.log 35042Files: src/testdir/Makefile, src/testdir/summarize.vim 35043 35044Patch 8.1.1479 35045Problem: Change included for debugging only. 35046Solution: Restore the REDIR_TEST_TO_NULL line. 35047Files: src/testdir/Makefile 35048 35049Patch 8.1.1480 35050Problem: Desktop file check doesn't run on CI. 35051Solution: Install the desktop-file-utils packages. (Christian Brabandt, 35052 closes #4498) 35053Files: .travis.yml 35054 35055Patch 8.1.1481 35056Problem: Length for two-digit rgb termresponse is off by one. 35057Solution: Adjust the length. (closes #4494) 35058Files: src/term.c 35059 35060Patch 8.1.1482 35061Problem: No test for wincol() depending on the 'number' option. 35062Solution: Add a couple of tests. (Christian Brabandt, closes #4500) 35063Files: src/testdir/test_gui.vim 35064 35065Patch 8.1.1483 35066Problem: Skipped tests are not properly listed. 35067Solution: Throw a "Skipped" exception instead of using ":finish" or ":return". 35068Files: src/testdir/test_breakindent.vim, src/testdir/test_cdo.vim, 35069 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim, 35070 src/testdir/test_balloon.vim, src/testdir/test_conceal.vim, 35071 src/testdir/test_debugger.vim, src/testdir/test_diffmode.vim, 35072 src/testdir/test_fold.vim, src/testdir/test_highlight.vim, 35073 src/testdir/test_popup.vim, src/testdir/test_popupwin.vim, 35074 src/testdir/test_search.vim, src/testdir/test_startup.vim, 35075 src/testdir/test_startup_utf8.vim, src/testdir/test_syntax.vim, 35076 src/testdir/test_tabpage.vim, src/testdir/test_termencoding.vim, 35077 src/testdir/test_terminal.vim, src/testdir/test_textprop.vim, 35078 src/testdir/test_timers.vim 35079 35080Patch 8.1.1484 35081Problem: Some tests are slow. 35082Solution: Add timing to the test messages. Fix double free when quitting in 35083 VimLeavePre autocmd. 35084Files: src/testdir/runtest.vim, src/eval.c 35085 35086Patch 8.1.1485 35087Problem: Double free when garbage_collect() is used in autocommand. 35088Solution: Have garbage collection also set the copyID in funccal_stack. 35089Files: src/eval.c, src/userfunc.c 35090 35091Patch 8.1.1486 35092Problem: A listener change is merged even when it adds a line. (Paul Jolly) 35093Solution: Do not merge a change that adds or removes a line. (closes #4490) 35094Files: src/change.c, src/testdir/test_listener.vim 35095 35096Patch 8.1.1487 35097Problem: Older msgfmt cannot generate proper .desktop file. 35098Solution: Add a configure check to not use this msgfmt version. (Ken Takata) 35099Files: src/configure.ac, src/auto/configure 35100 35101Patch 8.1.1488 35102Problem: Summary of tests has incorrect failed count. 35103Solution: Add to the failed count instead of setting it. (Christian Brabandt) 35104Files: src/testdir/summarize.vim 35105 35106Patch 8.1.1489 35107Problem: Sign order wrong when priority was changed. 35108Solution: Reorder signs when priority is changed. (Yegappan Lakshmanan, 35109 closes #4502) 35110Files: src/quickfix.c, src/sign.c, src/testdir/test_signs.vim 35111 35112Patch 8.1.1490 35113Problem: When a single test fails the exit code is not set. (Daniel Hahler) 35114Solution: Add an exit command. (closes #4506) 35115Files: src/testdir/Makefile 35116 35117Patch 8.1.1491 35118Problem: When skipping over code after an exception was thrown expression 35119 evaluation is aborted after a function call. (Ingo Karkat) 35120Solution: Do not fail if not executing the expression. (closes #4507) 35121Files: src/eval.c, src/testdir/test_eval_stuff.vim 35122 35123Patch 8.1.1492 35124Problem: MS-Windows: when "!" is in 'guioptions' ":!start" fails. 35125Solution: Do not use a terminal window when the shell command begins with 35126 "!start". (Yasuhiro Matsumoto, closes #4504) 35127Files: src/misc2.c, src/os_win32.c 35128 35129Patch 8.1.1493 35130Problem: Redrawing with popups is slow and causes flicker. 35131Solution: Avoid clearing and redrawing using a zindex mask. 35132Files: src/globals.h, src/screen.c, src/proto/screen.pro, src/popupwin.c, 35133 src/popupmnu.c 35134 35135Patch 8.1.1494 (after 8.1.1493) 35136Problem: Build failure. 35137Solution: Add missing changes. 35138Files: src/structs.h 35139 35140Patch 8.1.1495 (after 8.1.1494) 35141Problem: Memory access error. 35142Solution: Use the correct size for clearing the popup mask. 35143Files: src/screen.c 35144 35145Patch 8.1.1496 35146Problem: Popup window height is not recomputed. 35147Solution: Recompute the height when needed. 35148Files: src/popupwin.c, src/testdir/dumps/Test_popupwin_06.dump 35149 35150Patch 8.1.1497 35151Problem: Accessing memory beyond allocated space. 35152Solution: Check column before accessing popup mask. 35153Files: src/screen.c 35154 35155Patch 8.1.1498 35156Problem: ":write" increments b:changedtick even though nothing changed. 35157 (Daniel Hahler) 35158Solution: Only increment b:changedtick if the modified flag is reset. 35159Files: src/change.c, src/proto/change.pro, runtime/doc/eval.txt, 35160 src/buffer.c, src/ex_cmds2.c, src/fileio.c, src/memline.c, 35161 src/undo.c 35162 35163Patch 8.1.1499 35164Problem: Ruler not updated after popup window was removed. 35165Solution: use popup_mask in screen_puts(). 35166Files: src/screen.c, src/testdir/test_popupwin.vim, 35167 src/testdir/dumps/Test_popupwin_07.dump, 35168 src/testdir/dumps/Test_popupwin_08.dump 35169 35170Patch 8.1.1500 35171Problem: Wrong shell command when building with VIMDLL and "!" in 35172 'guioptions'. 35173Solution: Add check for GUI in use. (Ken Takata) 35174Files: src/misc2.c 35175 35176Patch 8.1.1501 35177Problem: New behavior of b:changedtick not tested. 35178Solution: Add a few test cases. (Daniel Hahler) 35179Files: src/testdir/test_changedtick.vim 35180 35181Patch 8.1.1502 35182Problem: Cannot play any sound. 35183Solution: Use libcanberra if available. Add sound functions. 35184Files: src/configure.ac, src/auto/configure, src/config.h.in, 35185 src/Makefile, src/sound.c, src/proto/sound.pro, src/proto.h, 35186 src/evalfunc.c, src/feature.h, runtime/doc/eval.txt, Filelist, 35187 src/version.c, src/testdir/test_sound.vim, src/testdir/silent.wav, 35188 src/testdir/Make_all.mak, .travis.yml 35189 35190Patch 8.1.1503 35191Problem: Sound test fails on Travis. 35192Solution: Set AUDIODEV to "null". 35193Files: .travis.yml 35194 35195Patch 8.1.1504 35196Problem: Sound test still fails on Travis. 35197Solution: Add more lines to the install section. 35198Files: .travis.yml 35199 35200Patch 8.1.1505 35201Problem: Running "make clean" twice gives errors. 35202Solution: Add "-f" to "rm". (closes #4516) 35203Files: src/testdir/Makefile 35204 35205Patch 8.1.1506 35206Problem: Syntax error in Travis config. 35207Solution: Set AUDIODEV in another section. 35208Files: .travis.yml 35209 35210Patch 8.1.1507 35211Problem: Sound test still fails on Travis. 35212Solution: Try another dummy sound approach. 35213Files: .travis.yml 35214 35215Patch 8.1.1508 35216Problem: Sound keeps failing on Travis. 35217Solution: Throw a skipped exception in the test. 35218Files: src/testdir/test_sound.vim 35219 35220Patch 8.1.1509 35221Problem: Cmdline_row can become negative, causing a crash. 35222Solution: Make sure cmdline_row does not become negative. (closes #4102) 35223Files: src/misc1.c 35224 35225Patch 8.1.1510 35226Problem: A plugin cannot easily expand a command like done internally. 35227Solution: Add the expandcmd() function. (Yegappan Lakshmanan, closes #4514) 35228Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 35229 src/testdir/test_expand.vim 35230 35231Patch 8.1.1511 35232Problem: Matches in a popup window are not displayed properly. 35233Solution: Do display matches in a popup window. (closes #4517) 35234Files: src/screen.c, src/testdir/test_popupwin.vim, 35235 src/testdir/dumps/Test_popupwin_matches.dump 35236 35237Patch 8.1.1512 35238Problem: ch_evalexpr() hangs when used recursively. (Paul Jolly) 35239Solution: Change ch_block_id from a single number to a list of IDs to wait 35240 on. 35241Files: src/channel.c, src/structs.h 35242 35243Patch 8.1.1513 35244Problem: All popup functionality is in functions, except :popupclear. 35245Solution: Add popup_clear() for consistency. Also rename sound_stopall() to 35246 sound_clear(). 35247Files: src/ex_cmds.h, src/ex_cmdidxs.h, src/evalfunc.c, src/popupwin.c, 35248 src/proto/popupwin.pro, src/sound.c, src/proto/sound.pro, 35249 src/testdir/test_popupwin.vim src/testdir/test_sound.vim, 35250 runtime/doc/eval.txt runtime/doc/popup.txt 35251 35252Patch 8.1.1514 (after 8.1.1492) 35253Problem: MS-Windows: wrong shell command with ! in 'guioptions'. 35254Solution: Do not check for ! in 'guioptions' when applying 'shellxquote'. 35255 (Yasuhiro Matsumoto, closes #4519) 35256Files: src/misc2.c 35257 35258Patch 8.1.1515 35259Problem: Memory leak reported for sound when build with EXITFREE. 35260Solution: Free sound stuff when exiting. 35261Files: src/misc2.c 35262 35263Patch 8.1.1516 35264Problem: Time reported for a test measured wrong. 35265Solution: Move the computation to the end of RunTheTest(). (Ozaki Kiichi, 35266 closes #4520) 35267Files: src/testdir/runtest.vim 35268 35269Patch 8.1.1517 35270Problem: When a popup changes all windows are redrawn. 35271Solution: Only update the lines that were affected. Add a file for 35272 profiling popup windows efficiency. 35273Files: src/screen.c, src/proto/screen.pro, src/ui.c, src/popupwin.c, 35274 src/globals.h, src/testdir/popupbounce.vim, Filelist 35275 35276Patch 8.1.1518 35277Problem: Crash when setting 'columns' while a popup is visible. 35278Solution: Recompute all positions when clearing the screen. (closes #4467) 35279Files: src/screen.c, src/testdir/test_popupwin.vim, 35280 src/testdir/dumps/Test_popupwin_04a.dump 35281 35282Patch 8.1.1519 35283Problem: 'backupskip' may contain duplicates. 35284Solution: Add the P_NODUP flag. (Tom Ryder) 35285Files: src/option.c, src/testdir/test_options.vim 35286 35287Patch 8.1.1520 35288Problem: Popup windows are ignored when dealing with mouse position 35289Solution: Find the mouse position inside a popup window. Allow for modeless 35290 selection. 35291Files: src/ui.c, src/proto/ui.pro, src/popupwin.c, 35292 src/proto/popupwin.pro, src/screen.c, src/beval.c, src/edit.c, 35293 src/evalfunc.c, src/gui.c, src/normal.c, src/structs.h 35294 35295Patch 8.1.1521 35296Problem: When a popup window is closed the buffer remains. 35297Solution: Wipe out the buffer. 35298Files: src/window.c, src/testdir/test_popupwin.vim 35299 35300Patch 8.1.1522 35301Problem: Popup_notification() not implemented yet. 35302Solution: Implement it. 35303Files: src/popupwin.c, src/proto/popupwin.pro, src/evalfunc.c, 35304 src/structs.h, src/testdir/test_popupwin.vim, 35305 runtime/doc/popup.txt 35306 src/testdir/dumps/Test_popupwin_notify_01.dump, 35307 src/testdir/dumps/Test_popupwin_notify_02.dump 35308 35309Patch 8.1.1523 35310Problem: Cannot show range of buffer lines in popup window. 35311Solution: Add the "firstline" property. (closes #4523) 35312Files: src/popupwin.c, src/structs.h, runtime/doc/popup.txt, 35313 src/testdir/test_popupwin.vim, 35314 testdir/dumps/Test_popupwin_firstline.dump 35315 35316Patch 8.1.1524 35317Problem: Tests are silently skipped. 35318Solution: Throw an exception for skipped tests in more places. 35319Files: src/testdir/test_assert.vim, src/testdir/test_paste.vim, 35320 src/testdir/shared.vim, src/testdir/test_crypt.vim, 35321 src/testdir/test_cscope.vim, src/testdir/test_digraph.vim, 35322 src/testdir/test_float_func.vim, src/testdir/test_gui.vim, 35323 src/testdir/test_gui_init.vim, src/testdir/test_history.vim, 35324 src/testdir/test_langmap.vim, src/testdir/test_listlbr.vim, 35325 src/testdir/test_listlbr_utf8.vim, src/testdir/test_lua.vim, 35326 src/testdir/test_makeencoding.vim, 35327 src/testdir/test_matchadd_conceal.vim, 35328 src/testdir/test_matchadd_conceal_utf8.vim, 35329 src/testdir/test_memory_usage.vim, src/testdir/test_menu.vim, 35330 src/testdir/test_mksession.vim, 35331 src/testdir/test_mksession_utf8.vim, 35332 src/testdir/test_netbeans.vim, src/testdir/test_paste.vim, 35333 src/testdir/test_perl.vim, src/testdir/test_profile.vim, 35334 src/testdir/test_prompt_buffer.vim, src/testdir/test_python2.vim, 35335 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim, 35336 src/testdir/test_pyx3.vim, src/testdir/test_quickfix.vim, 35337 src/testdir/test_quotestar.vim, src/testdir/test_reltime.vim, 35338 src/testdir/test_ruby.vim, src/testdir/test_sha256.vim, 35339 src/testdir/test_shortpathname.vim, src/testdir/test_signals.vim, 35340 src/testdir/test_signs.vim, src/testdir/test_spell.vim, 35341 src/testdir/test_syntax.vim, src/testdir/test_tcl.vim, 35342 src/testdir/test_termcodes.vim, src/testdir/test_terminal.vim, 35343 src/testdir/test_terminal_fail.vim, 35344 src/testdir/test_textobjects.vim, src/testdir/test_textprop.vim, 35345 src/testdir/test_timers.vim, src/testdir/test_vartabs.vim, 35346 src/testdir/test_winbar.vim, src/testdir/test_windows_home.vim, 35347 src/testdir/test_xxd.vim 35348 35349Patch 8.1.1525 35350Problem: Cannot move a popup window with the mouse. 35351Solution: Add the "drag" property and make it possible to drag a popup 35352 window by its border. 35353Files: src/popupwin.c, src/proto/popupwin.pro, src/structs.h, src/ui.c, 35354 src/window.c, src/proto/window.pro, runtime/doc/popup.txt 35355 35356Patch 8.1.1526 35357Problem: No numerical value for the patchlevel. 35358Solution: Add v:versionlong. 35359Files: src/version.c, src/eval.c, src/vim.h, runtime/doc/eval.txt, 35360 src/testdir/test_eval_stuff.vim 35361 35362Patch 8.1.1527 35363Problem: When moving a popup window over the command line it is not 35364 redrawn. 35365Solution: Redraw the command line. Move popup redrawing code to the popupwin 35366 file. 35367Files: src/screen.c, src/proto/screen.pro, src/popupwin.c, 35368 src/proto/popupwin.pro, src/testdir/test_popupwin.vim, 35369 src/testdir/dumps/Test_popupwin_drag_01.dump, 35370 src/testdir/dumps/Test_popupwin_drag_02.dump 35371 35372Patch 8.1.1528 35373Problem: Popup_any_visible() is unused. 35374Solution: Remove it. 35375Files: src/popupwin.c, src/proto/popupwin.pro 35376 35377Patch 8.1.1529 35378Problem: Libcanberra is linked with even when not used. 35379Solution: Have configure check for libcanberra only when wanted. 35380 (suggestions by Libor Bukata) 35381Files: src/feature.h, src/configure.ac, src/auto/configure, src/Makefile 35382 35383Patch 8.1.1530 35384Problem: Travis config is not optimal. 35385Solution: Remove system conditions. Do not use excluding matrix. Cache OSX 35386 results. (Ozaki Kiichi, closes #4521) 35387Files: .travis.yml 35388 35389Patch 8.1.1531 35390Problem: Clipboard type name is inconsistent. 35391Solution: Rename VimClipboard to Clipboard_T. 35392Files: src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, src/gui_mac.c, 35393 src/proto/gui_mac.pro, src/gui_x11.c, src/proto/gui_x11.pro, 35394 src/ops.c, src/proto/ops.pro, src/os_qnx.c, src/proto/os_qnx.pro, 35395 src/os_unix.c, src/proto/os_unix.pro, src/ui.c, src/proto/ui.pro, 35396 src/winclip.c, src/proto/winclip.pro, src/globals.h, src/proto.h 35397 35398Patch 8.1.1532 (after 8.1.1531) 35399Problem: Build fails. 35400Solution: Add missing changes. 35401Files: src/vim.h 35402 35403Patch 8.1.1533 35404Problem: GUI build fails on Mac. 35405Solution: Change VimClipboard type in non-C file. 35406Files: src/os_macosx.m 35407 35408Patch 8.1.1534 35409Problem: Modeless selection in popup window selects too much. 35410Solution: Restrict the selection to inside of the popup window. 35411Files: src/vim.h, src/ui.c, src/testdir/test_popupwin.vim, 35412 src/testdir/dumps/Test_popupwin_select_01.dump, 35413 src/testdir/dumps/Test_popupwin_select_02.dump 35414 35415Patch 8.1.1535 (after 8.1.1534) 35416Problem: Popup select test fails on Mac. 35417Solution: Skip test if clipboard feature not available. 35418Files: src/testdir/test_popupwin.vim 35419 35420Patch 8.1.1536 (after 8.1.1534) 35421Problem: Popup select test still fails on Mac. 35422Solution: Set 'clipboard' to "autoselect" 35423Files: src/testdir/test_popupwin.vim 35424 35425Patch 8.1.1537 35426Problem: Using "tab" for popup window can be confusing. 35427Solution: Use "tabpage". (Hirohito Higashi, closes #4532) 35428Files: runtime/doc/popup.txt, src/popupwin.c, 35429 src/testdir/test_popupwin.vim 35430 35431Patch 8.1.1538 35432Problem: Cannot specify highlighting for notifications. 35433Solution: Use the PopupNotification group if it exists. Add a minimal width 35434 to notifications. 35435Files: runtime/doc/popup.txt, src/popupwin.c, 35436 src/testdir/test_popupwin.vim, 35437 src/testdir/dumps/Test_popupwin_notify_01.dump, 35438 src/testdir/dumps/Test_popupwin_notify_02.dump 35439 35440Patch 8.1.1539 35441Problem: Not easy to define a variable and lock it. 35442Solution: Add ":const". (Ryuichi Hayashida, closes #4541) 35443Files: runtime/doc/eval.txt, src/eval.c, src/ex_cmdidxs.h, src/ex_cmds.h, 35444 src/proto/eval.pro, src/testdir/Make_all.mak, 35445 src/testdir/test_const.vim 35446 35447Patch 8.1.1540 (after 8.1.1539) 35448Problem: Cannot build without the +eval feature. 35449Solution: Define ex_const if needed. 35450Files: src/ex_docmd.c 35451 35452Patch 8.1.1541 35453Problem: Check for ASAN is not reliable. 35454Solution: Check the version output. (Dominique Pelle, closes #4543) 35455Files: src/testdir/test_memory_usage.vim 35456 35457Patch 8.1.1542 35458Problem: An OptionSet autocommand does not get enough info. 35459Solution: Add v:option_command, v:option_oldlocal and v:option_oldglobal. 35460 (Latrice Wilgus, closes #4118) 35461Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, 35462 runtime/doc/version8.txt, src/eval.c, src/option.c, src/structs.h, 35463 src/testdir/test_autocmd.vim, src/vim.h 35464 35465Patch 8.1.1543 35466Problem: Const test fails with small features. 35467Solution: Don't unlet non-existing variables. 35468Files: src/testdir/test_const.vim 35469 35470Patch 8.1.1544 35471Problem: Some balloon tests don't run when they can. 35472Solution: Split GUI balloon tests off into a separate file. (Ozaki Kiichi, 35473 closes #4538) Change the feature check into a command for 35474 consistency. 35475Files: Filelist, src/testdir/Make_all.mak, src/testdir/check.vim, 35476 src/testdir/test_arabic.vim, src/testdir/test_balloon.vim, 35477 src/testdir/test_balloon_gui.vim, src/testdir/test_crypt.vim, 35478 src/testdir/test_cscope.vim, src/testdir/test_digraph.vim, 35479 src/testdir/test_float_func.vim, src/testdir/test_gui.vim, 35480 src/testdir/test_gui_init.vim, src/testdir/test_history.vim, 35481 src/testdir/test_langmap.vim, src/testdir/test_listlbr.vim, 35482 src/testdir/test_listlbr_utf8.vim, src/testdir/test_lua.vim, 35483 src/testdir/test_makeencoding.vim, 35484 src/testdir/test_matchadd_conceal.vim, 35485 src/testdir/test_matchadd_conceal_utf8.vim, 35486 src/testdir/test_memory_usage.vim, src/testdir/test_menu.vim, 35487 src/testdir/test_mksession.vim, 35488 src/testdir/test_mksession_utf8.vim, 35489 src/testdir/test_netbeans.vim, src/testdir/test_paste.vim, 35490 src/testdir/test_perl.vim, src/testdir/test_popupwin.vim, 35491 src/testdir/test_profile.vim, src/testdir/test_prompt_buffer.vim, 35492 src/testdir/test_python2.vim, src/testdir/test_python3.vim, 35493 src/testdir/test_pyx2.vim, src/testdir/test_pyx3.vim, 35494 src/testdir/test_quickfix.vim, src/testdir/test_quotestar.vim, 35495 src/testdir/test_reltime.vim, src/testdir/test_ruby.vim, 35496 src/testdir/test_sha256.vim, src/testdir/test_shortpathname.vim, 35497 src/testdir/test_signals.vim, src/testdir/test_signs.vim, 35498 src/testdir/test_spell.vim, src/testdir/test_syntax.vim, 35499 src/testdir/test_tcl.vim, src/testdir/test_termcodes.vim, 35500 src/testdir/test_terminal.vim, src/testdir/test_terminal_fail.vim, 35501 src/testdir/test_textobjects.vim, src/testdir/test_textprop.vim, 35502 src/testdir/test_timers.vim, src/testdir/test_vartabs.vim, 35503 src/testdir/test_winbar.vim, src/testdir/test_windows_home.vim, 35504 src/testdir/test_xxd.vim 35505 35506Patch 8.1.1545 35507Problem: When the screen is to small there is no message about that. 35508 (Daniel Hahler) 35509Solution: Do not use :cquit. (closes #4534) 35510Files: src/testdir/runtest.vim 35511 35512Patch 8.1.1546 35513Problem: In some tests 'tags' is set but not restored. (Daniel Hahler) 35514Solution: Restore 'tags'. (closes #4535) 35515Files: src/testdir/test_autocmd.vim, src/testdir/test_cmdline.vim, 35516 src/testdir/test_options.vim, src/testdir/test_tagcase.vim, 35517 src/testdir/test_tagjump.vim, src/testdir/test_taglist.vim 35518 35519Patch 8.1.1547 35520Problem: Functionality of bt_nofile() is confusing. 35521Solution: Split into bt_nofile() and bt_nofilename(). 35522Files: src/buffer.c, src/proto/buffer.pro, src/evalfunc.c, src/ex_cmds.c, 35523 src/ex_docmd.c, src/fileio.c, src/popupmnu.c, src/quickfix.c 35524 35525Patch 8.1.1548 35526Problem: Popup_dialog() is not implemented. 35527Solution: Implement popup_dialog() and popup_filter_yesno(). 35528Files: src/popupwin.c, src/proto/popupwin.pro, src/evalfunc.c, 35529 src/structs.h, src/globals.h, src/testdir/test_popupwin.vim, 35530 runtime/doc/popup.txt 35531 35532Patch 8.1.1549 (after 8.1.1547) 35533Problem: Quickfix test fails. 35534Solution: Negate result of bt_quickfix(). 35535Files: src/quickfix.c 35536 35537Patch 8.1.1550 35538Problem: When a popup has left padding text may be cut off. 35539Solution: Add the border and padding when computing the size. 35540Files: src/popupwin.c, src/testdir/test_popupwin.vim, 35541 src/testdir/dumps/Test_popupwin_20.dump, 35542 src/testdir/dumps/Test_popupwin_21.dump 35543 35544Patch 8.1.1551 35545Problem: Warning for shadowing popup_dragwin. (Dominique Pelle) 35546Solution: Add missing change. 35547Files: src/ui.c 35548 35549Patch 8.1.1552 35550Problem: Cursor position is wrong after sign column appears or disappears. 35551 (Yegappan Lakshmanan) 35552Solution: Call changed_line_abv_curs() instead of changed_cline_bef_curs(). 35553Files: src/sign.c, src/testdir/test_signs.vim, 35554 src/testdir/dumps/Test_sign_cursor_01.dump, 35555 src/testdir/dumps/Test_sign_cursor_02.dump 35556 35557Patch 8.1.1553 35558Problem: Not easy to change the text in a popup window. 35559Solution: Add popup_settext(). (Ben Jackson, closes #4549) 35560 Also display a space for an empty popup. 35561Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c, 35562 src/proto/popupwin.pro, 35563 src/testdir/dumps/Test_popup_settext_01.dump, 35564 src/testdir/dumps/Test_popup_settext_02.dump, 35565 src/testdir/dumps/Test_popup_settext_03.dump, 35566 src/testdir/dumps/Test_popup_settext_04.dump, 35567 src/testdir/dumps/Test_popup_settext_05.dump, 35568 src/testdir/dumps/Test_popup_settext_06.dump, 35569 src/testdir/test_popupwin.vim 35570 35571Patch 8.1.1554 (after 8.1.1539) 35572Problem: Docs and tests for :const can be improved. 35573Solution: Improve documentation, add a few more tests. (Ryuichi Hayashida, 35574 closes #4551) 35575Files: runtime/doc/eval.txt, src/testdir/test_const.vim 35576 35577Patch 8.1.1555 35578Problem: NOT_IN_POPUP_WINDOW is confusing. (Andy Massimino) 35579Solution: Rename to ERROR_IF_POPUP_WINDOW(). 35580Files: src/popupwin.c, src/proto/popupwin.pro, src/macros.h, 35581 src/ex_cmds2.c, src/ex_docmd.c, src/window.c 35582 35583Patch 8.1.1556 35584Problem: The command displayed to show a failing screenshot does not include 35585 the "testdir" directory. 35586Solution: Prefix the directory name so that it can be copy-pasted. 35587Files: src/testdir/screendump.vim 35588 35589Patch 8.1.1557 35590Problem: Compiler warning for unused variables in tiny version. (Tony 35591 Mechelynck) 35592Solution: Add #ifdef. 35593Files: src/option.c 35594 35595Patch 8.1.1558 35596Problem: Popup_menu() and popup_filter_menu() are not implemented yet. 35597Solution: Implement the functions. Fix that centering didn't take the border 35598 and padding into account. 35599Files: runtime/doc/popup.txt, src/popupwin.c, src/proto/popupwin.pro, 35600 src/evalfunc.c, src/screen.c, src/testdir/test_popupwin.vim, 35601 src/testdir/dumps/Test_popupwin_menu_01.dump, 35602 src/testdir/dumps/Test_popupwin_menu_02.dump, 35603 src/testdir/dumps/Test_popupwin_menu_03.dump, 35604 src/testdir/dumps/Test_popupwin_drag_01.dump, 35605 src/testdir/dumps/Test_popupwin_drag_02.dump 35606 35607Patch 8.1.1559 35608Problem: Popup window title property not implemented yet. 35609Solution: Implement the title property. 35610Files: runtime/doc/popup.txt, src/popupwin.c, src/structs.h 35611 src/window.c, src/testdir/test_popupwin.vim, 35612 src/testdir/dumps/Test_popupwin_menu_01.dump, 35613 src/testdir/dumps/Test_popupwin_menu_02.dump, 35614 src/testdir/dumps/Test_popupwin_title.dump 35615 35616Patch 8.1.1560 35617Problem: Popup window hidden option not implemented yet. 35618Solution: Implement the hidden option. 35619Files: src/popupwin.c, src/testdir/test_popupwin.vim 35620 35621Patch 8.1.1561 35622Problem: Popup_setoptions() is not implemented yet. 35623Solution: Implement popup_setoptions(). Also add more fields to 35624 popup_getoptions(). 35625Files: runtime/doc/popup.txt, src/popupwin.c, src/proto/popupwin.pro, 35626 src/dict.c, src/proto/dict.pro, src/evalfunc.c, 35627 src/testdir/test_popupwin.vim, src/testdir/runtest.vim 35628 35629Patch 8.1.1562 35630Problem: Popup window not always redrawn after popup_setoptions(). 35631Solution: Force a redraw. 35632Files: src/popupwin.c, src/testdir/test_popupwin.vim, 35633 src/testdir/dumps/Test_popupwin_23.dump 35634 35635Patch 8.1.1563 35636Problem: Crash when using closures. 35637Solution: Set reference in varlist of funccal when running the garbage 35638 collector. (Ozaki Kiichi, closes #4554, closes #4547) 35639Files: src/testdir/test_vimscript.vim, src/userfunc.c 35640 35641Patch 8.1.1564 35642Problem: Sign column takes up space. (Adam Stankiewicz) 35643Solution: Optionally put signs in the number column. (Yegappan Lakshmanan, 35644 closes #4555, closes #4515) 35645Files: runtime/doc/options.txt, src/option.c, src/screen.c, 35646 src/testdir/test_signs.vim 35647 35648Patch 8.1.1565 35649Problem: MS-Windows: no sound support. 35650Solution: Add sound support for MS-Windows. (Yasuhiro Matsumoto, Ken Takata, 35651 closes #4522) 35652Files: runtime/doc/eval.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak, 35653 src/sound.c, src/testdir/test_sound.vim 35654 35655Patch 8.1.1566 35656Problem: Error message when terminal closes while it is not in the current 35657 tab. 35658Solution: Also set "do_set_w_closing" when using the special autocommand 35659 window. (closes #4552) 35660Files: src/terminal.c 35661 35662Patch 8.1.1567 35663Problem: Localtime_r() does not respond to $TZ changes. 35664Solution: If $TZ changes then call tzset(). (Tom Ryder) 35665Files: src/auto/configure, src/config.h.in, src/configure.ac, 35666 src/evalfunc.c, src/memline.c, src/proto/memline.pro, 35667 src/testdir/test_functions.vim, src/undo.c 35668 35669Patch 8.1.1568 (after 8.1.1567) 35670Problem: Strftime() test fails on MS-Windows. 35671Solution: Skip the check for using the $TZ environment variable. 35672Files: src/testdir/test_functions.vim 35673 35674Patch 8.1.1569 35675Problem: Cannot build with signs but without diff feature. 35676Solution: Move #ifdef. (Tom Ryder) 35677Files: src/screen.c 35678 35679Patch 8.1.1570 35680Problem: Icon signs not displayed properly in the number column. 35681Solution: Display them properly. (Yegappan Lakshmanan, closes #4559) 35682Files: src/gui.c, src/screen.c, src/testdir/test_signs.vim 35683 35684Patch 8.1.1571 35685Problem: textprop highlight starts too early if just after a tab. 35686Solution: Check if still drawing a previous character. (closes #4558) 35687Files: src/screen.c, src/testdir/test_textprop.vim, 35688 src/testdir/dumps/Test_textprop_tab.dump 35689 35690Patch 8.1.1572 (after 8.1.1569) 35691Problem: Compiler warnings with tiny build. (Tony Mechelynck) 35692Solution: Add #ifdef. 35693Files: src/screen.c 35694 35695Patch 8.1.1573 (after 8.1.1571) 35696Problem: Textprop test fails if screenshots do not work. 35697Solution: Add check for screenshots working. 35698Files: src/testdir/test_textprop.vim 35699 35700Patch 8.1.1574 35701Problem: Tabpage option not yet implemented for popup window. 35702Solution: Implement tabpage option, also for popup_getoptions(). 35703Files: runtime/doc/popup.txt, src/popupwin.c, 35704 src/testdir/test_popupwin.vim 35705 35706Patch 8.1.1575 35707Problem: Callbacks may be garbage collected. 35708Solution: Set reference in callbacks. (Ozaki Kiichi, closes #4564) 35709Files: src/buffer.c, src/channel.c, src/eval.c, src/ex_cmds2.c, 35710 src/popupwin.c, src/proto/buffer.pro, src/proto/popupwin.pro, 35711 src/terminal.c, src/testdir/test_listener.vim, 35712 src/testdir/test_popupwin.vim, src/testdir/test_prompt_buffer.vim, 35713 src/userfunc.c 35714 35715Patch 8.1.1576 35716Problem: Compiler warning for unused argument. 35717Solution: Add "UNUSED" annotation. (Dominique Pelle, closes #4570) 35718Files: src/ui.c 35719 35720Patch 8.1.1577 35721Problem: Command line redrawn for +arabic without Arabic characters. 35722 (Dominique Pelle) 35723Solution: Check if there actually are any Arabic characters. Do redraw 35724 after displaying incsearch. (closes #4569) 35725Files: src/ex_getln.c 35726 35727Patch 8.1.1578 35728Problem: MS-Windows: pathdef.c should depend on build options. 35729Solution: Generate pathdef.c in the object directory. Fix dependencies. 35730 (Ken Takata, closes #4565) 35731Files: .gitignore, .hgignore, src/Make_cyg_ming.mak, src/Make_mvc.mak 35732 35733Patch 8.1.1579 35734Problem: Dict and list could be GC'ed while displaying error in a timer. 35735 (Yasuhiro Matsumoto) 35736Solution: Block garbage collection when executing a timer. Add 35737 test_garbagecollect_soon(). Add "no_wait_return" to 35738 test_override(). (closes #4571) 35739Files: src/dict.c, src/testdir/test_timers.vim, src/evalfunc.c, 35740 runtime/doc/eval.txt 35741 35742Patch 8.1.1580 35743Problem: Cannot make part of a popup transparent. 35744Solution: Add the "mask" option. 35745Files: runtime/doc/popup.txt, src/popupwin.c, src/screen.c, 35746 src/structs.h, src/window.c, src/ui.c, src/vim.h, src/globals.h, 35747 src/testdir/dumps/Test_popupwin_mask_1.dump, 35748 src/testdir/dumps/Test_popupwin_mask_2.dump 35749 35750Patch 8.1.1581 35751Problem: Shared functions for testing are disorganised. 35752Solution: Group functions in script files. (Ozaki Kiichi, closes #4573) 35753Files: Filelist, src/testdir/screendump.vim, src/testdir/shared.vim, 35754 src/testdir/term_util.vim, src/testdir/test_mksession.vim, 35755 src/testdir/test_suspend.vim, src/testdir/test_terminal.vim, 35756 src/testdir/test_timers.vim, src/testdir/view_util.vim 35757 35758Patch 8.1.1582 35759Problem: Cannot build with +textprop but without +timers. 35760Solution: Add #ifdef. (Ola Söder, closes #4574) 35761Files: src/popupwin.c 35762 35763Patch 8.1.1583 35764Problem: Set_ref_in_list() only sets ref in items. 35765Solution: Rename to set_ref_in_list_items() to avoid confusion. 35766Files: src/eval.c, src/proto/eval.pro, src/if_lua.c, src/popupwin.c, 35767 src/userfunc.c, src/if_py_both.h 35768 35769Patch 8.1.1584 35770Problem: The evalfunc.c file is getting too big. 35771Solution: Move channel and job related functions to channel.c. 35772Files: src/channel.c, src/evalfunc.c, src/proto/channel.pro 35773 35774Patch 8.1.1585 35775Problem: :let-heredoc does not trim enough. 35776Solution: Trim indent from the contents based on the indent of the first 35777 line. Use let-heredoc in more tests. 35778Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_balloon.vim, 35779 src/testdir/test_cindent.vim, src/testdir/test_const.vim, 35780 src/testdir/test_debugger.vim, src/testdir/test_functions.vim, 35781 src/testdir/test_goto.vim, src/testdir/test_gui.vim, 35782 src/testdir/test_highlight.vim, src/testdir/test_join.vim, 35783 src/testdir/test_let.vim, src/testdir/test_memory_usage.vim, 35784 src/testdir/test_messages.vim, 35785 src/testdir/test_mksession_utf8.vim, src/testdir/test_normal.vim, 35786 src/testdir/test_popup.vim, src/testdir/test_popupwin.vim, 35787 src/testdir/test_profile.vim, src/testdir/test_quickfix.vim, 35788 src/testdir/test_xxd.vim 35789 35790Patch 8.1.1586 35791Problem: Error number used in two places. 35792Solution: Renumber one. (Ken Takata) 35793Files: runtime/doc/popup.txt, src/popupwin.c 35794 35795Patch 8.1.1587 35796Problem: Redraw problem when sign icons in the number column. 35797Solution: Clear and redraw when changing related options. Right align the 35798 sign icon in the GUI. (Yegappan Lakshmanan, closes #4578) 35799Files: src/gui.c, src/option.c 35800 35801Patch 8.1.1588 35802Problem: In :let-heredoc line continuation is recognized. 35803Solution: Do not consume line continuation. (Ozaki Kiichi, closes #4580) 35804Files: src/autocmd.c, src/digraph.c, src/eval.c, src/evalfunc.c, 35805 src/ex_cmds.c, src/ex_cmds.h, src/ex_cmds2.c, src/ex_docmd.c, 35806 src/ex_getln.c, src/normal.c, src/ops.c, src/proto/autocmd.pro, 35807 src/proto/ex_cmds2.pro, src/proto/ex_docmd.pro, 35808 src/proto/ex_getln.pro, src/proto/userfunc.pro, 35809 src/testdir/test_let.vim, src/testdir/test_startup.vim, 35810 src/userfunc.c 35811 35812Patch 8.1.1589 35813Problem: Popup window does not indicate scroll position. 35814Solution: Add a scrollbar. 35815Files: runtime/doc/popup.txt, src/popupwin.c, src/structs.h, 35816 src/testdir/test_popupwin.vim, 35817 src/testdir/dumps/Test_popupwin_firstline.dump, 35818 src/testdir/dumps/Test_popupwin_scroll_1.dump, 35819 src/testdir/dumps/Test_popupwin_scroll_2.dump, 35820 src/testdir/dumps/Test_popupwin_scroll_3.dump, 35821 src/testdir/dumps/Test_popupwin_scroll_4.dump 35822 35823Patch 8.1.1590 35824Problem: Popup window test fails. 35825Solution: Add "scrollbar" to expected result. 35826Files: src/testdir/test_popupwin.vim 35827 35828Patch 8.1.1591 35829Problem: On error garbage collection may free memory in use. 35830Solution: Reset may_garbage_collect when evaluating expression mapping. 35831 Add tests. (Ozaki Kiichi, closes #4579) 35832Files: src/ex_cmds2.c, src/getchar.c, src/testdir/test_mapping.vim, 35833 src/testdir/test_timers.vim, src/testdir/test_vimscript.vim 35834 35835Patch 8.1.1592 35836Problem: May start file dialog while exiting. 35837Solution: Ignore the "browse" modifier when exiting. (Ozaki Kiichi, 35838 closes #4582 35839Files: src/ex_cmds.c, src/terminal.c 35840 35841Patch 8.1.1593 35842Problem: Filetype not detected for C++ header files without extension. 35843Solution: Recognize the file by the Emacs file mode. (Dmitry Ilyin, 35844 closes #4593) 35845Files: runtime/scripts.vim, src/testdir/test_filetype.vim 35846 35847Patch 8.1.1594 35848Problem: May still start file dialog while exiting. 35849Solution: Ignore the "browse" modifier in another place when exiting. 35850 (Ozaki Kiichi, closes #4582) 35851Files: src/ex_cmds.c 35852 35853Patch 8.1.1595 35854Problem: MS-Windows with VIMDLL: colors wrong in the GUI. 35855Solution: Do not set the terminal colors when not using the GUI. (Ken 35856 Takata, closes #4588) 35857Files: src/syntax.c 35858 35859Patch 8.1.1596 35860Problem: When resizing the screen may draw popup in wrong position. (Masato 35861 Nishihata) 35862Solution: Check the popup is not outside of the screen. (fixes #4592) 35863Files: src/popupwin.c 35864 35865Patch 8.1.1597 35866Problem: Cannot scroll a popup window with the mouse. 35867Solution: If the popup window has a scrollbar let the mouse scroll wheel 35868 scroll the window. 35869Files: runtime/doc/popup.txt, src/normal.c, src/popupwin.c, src/screen.c, 35870 src/testdir/dumps/Test_popupwin_firstline.dump, 35871 src/testdir/dumps/Test_popupwin_scroll_1.dump, 35872 src/testdir/dumps/Test_popupwin_scroll_2.dump, 35873 src/testdir/dumps/Test_popupwin_scroll_3.dump, 35874 src/testdir/dumps/Test_popupwin_scroll_5.dump, 35875 src/testdir/dumps/Test_popupwin_scroll_6.dump, 35876 src/testdir/dumps/Test_popupwin_scroll_7.dump 35877 35878Patch 8.1.1598 35879Problem: Update to test file missing. 35880Solution: Update the popup window test file. 35881Files: src/testdir/test_popupwin.vim 35882 35883Patch 8.1.1599 35884Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) 35885Solution: Add a dummy assignment. 35886Files: src/popupwin.c, src/normal.c 35887 35888Patch 8.1.1600 35889Problem: Cannot specify highlighting for popup window scrollbar. 35890Solution: Add "scrollbarhighlight" and "thumbhighlight" options. 35891Files: src/popupwin.c, src/structs.h, src/window.c, 35892 src/testdir/dumps/Test_popupwin_scroll_5.dump, 35893 src/testdir/dumps/Test_popupwin_scroll_6.dump, 35894 src/testdir/dumps/Test_popupwin_scroll_7.dump 35895 35896Patch 8.1.1601 35897Problem: Missing changes to popup window test file. 35898Solution: Add those changes. 35899Files: src/testdir/test_popupwin.vim 35900 35901Patch 8.1.1602 35902Problem: Popup window cannot overflow on the left or right. 35903Solution: Only set the "fixed" option when it is in the dict. Set w_leftcol 35904 to allow for the popup overflowing on the left and use it when 35905 applying the mask. 35906Files: src/popupwin.c 35907 35908Patch 8.1.1603 35909Problem: Crash when using unknown highlighting in text property. 35910Solution: Check for zero highlight ID. 35911Files: src/screen.c, src/testdir/test_textprop.vim 35912 35913Patch 8.1.1604 35914Problem: Popup window scroll test is flaky. 35915Solution: Add a delay between scroll events. 35916Files: src/testdir/test_popupwin.vim 35917 35918Patch 8.1.1605 35919Problem: Vim may delay processing messages on a json channel. (Pontus 35920 Leitzler) 35921Solution: Try parsing json when checking if there is readahead. 35922Files: src/channel.c 35923 35924Patch 8.1.1606 35925Problem: On a narrow screen ":hi" output is confusing. 35926Solution: Insert a space between highlight group name and "xxx". (Masato 35927 Nishihaga, closes #4599) 35928Files: src/syntax.c, src/testdir/test_highlight.vim 35929 35930Patch 8.1.1607 35931Problem: Popup window scrollbar does not respond to click. 35932Solution: Mouse click in scrollbar scrolls by one line. 35933Files: src/popupwin.c, src/proto/popupwin.pro, src/structs.h, src/ui.c, 35934 src/normal.c, runtime/doc/popup.txt, 35935 src/testdir/dumps/Test_popupwin_scroll_8.dump, 35936 src/testdir/dumps/Test_popupwin_scroll_9.dump 35937 35938Patch 8.1.1608 35939Problem: The evalfunc.c file is too big. 35940Solution: Move sign functionality to sign.c. 35941Files: src/evalfunc.c, src/proto/evalfunc.pro, src/sign.c, 35942 src/proto/sign.pro 35943 35944Patch 8.1.1609 35945Problem: The user cannot easily close a popup window. 35946Solution: Add the "close" property. (mostly by Masato Nishihata, 35947 closes #4601) 35948Files: runtime/doc/popup.txt, src/popupwin.c, src/proto/popupwin.pro, 35949 src/structs.h, src/testdir/dumps/Test_popupwin_close_01.dump, 35950 src/testdir/dumps/Test_popupwin_close_02.dump, 35951 src/testdir/dumps/Test_popupwin_close_03.dump, 35952 src/testdir/test_popupwin.vim, src/ui.c 35953 35954Patch 8.1.1610 35955Problem: There is no way to add or load a buffer without side effects. 35956Solution: Add the bufadd() and bufload() functions. 35957Files: runtime/doc/eval.txt, src/evalfunc.c, 35958 src/testdir/test_functions.vim 35959 35960Patch 8.1.1611 35961Problem: Bufadd() reuses existing buffer without a name. 35962Solution: When the name is empty always create a new buffer. 35963Files: src/evalfunc.c, src/testdir/test_functions.vim 35964 35965Patch 8.1.1612 35966Problem: Cannot show an existing buffer in a popup window. 35967Solution: Support buffer number argument in popup_create(). 35968Files: src/buffer.c, src/proto/buffer.pro, src/evalfunc.c, 35969 src/popupwin.c, src/vim.h, src/normal.c, src/screen.c, src/ui.c, 35970 src/window.c, src/testdir/test_popupwin.vim, runtime/doc/popup.txt 35971 35972Patch 8.1.1613 35973Problem: Popup window test fails with Athena and Motif. 35974Solution: Compute the highlight attribute when the GUI is not active. 35975Files: src/syntax.c 35976 35977Patch 8.1.1614 35978Problem: 'numberwidth' can only go up to 10. 35979Solution: Allow up to 20. (Charlie Stanton, closes #4584) 35980Files: runtime/doc/options.txt, src/option.c, src/screen.c, 35981 src/testdir/gen_opt_test.vim, src/testdir/test_options.vim 35982 35983Patch 8.1.1615 35984Problem: Crash when passing buffer number to popup_create(). (Yasuhiro 35985 Matsumoto) 35986Solution: Initialize the window properly. 35987Files: src/popupwin.c, src/testdir/test_popupwin.vim 35988 35989Patch 8.1.1616 35990Problem: Build failure with gcc on Amiga. 35991Solution: Add missing header includes. (Ola Söder, closes #4603) 35992Files: src/os_amiga.h 35993 35994Patch 8.1.1617 35995Problem: No test for popup window with mask and position fixed. 35996Solution: Add a couple of screenshots. Fix detected problems. 35997Files: src/popupwin.c, src/structs.h, src/testdir/test_popupwin.vim, 35998 src/testdir/dumps/Test_popupwin_mask_1.dump, 35999 src/testdir/dumps/Test_popupwin_mask_2.dump, 36000 src/testdir/dumps/Test_popupwin_mask_3.dump, 36001 src/testdir/dumps/Test_popupwin_mask_4.dump 36002 36003Patch 8.1.1618 36004Problem: Amiga-like systems quickly run out of stack. 36005Solution: Reserve a Megabyte stack. (Ola Söder, closes #4608) 36006Files: src/os_amiga.c 36007 36008Patch 8.1.1619 36009Problem: Tests are not run with GUI on Travis. 36010Solution: Add a testgui job. (Ozaki Kiichi, closes #4609) 36011Files: .travis.yml, src/testdir/test_highlight.vim, 36012 src/testdir/test_mapping.vim, src/testdir/test_timers.vim 36013 36014Patch 8.1.1620 36015Problem: No test for popup window with border and mask. 36016Solution: Add this popup window, fix problems. 36017Files: src/popupwin.c, src/testdir/test_popupwin.vim, 36018 src/testdir/dumps/Test_popupwin_mask_1.dump, 36019 src/testdir/dumps/Test_popupwin_mask_2.dump, 36020 src/testdir/dumps/Test_popupwin_mask_3.dump, 36021 src/testdir/dumps/Test_popupwin_mask_4.dump 36022 36023Patch 8.1.1621 36024Problem: Amiga: time.h included twice. 36025Solution: Remove include from evalfunc.c, move outside of #ifdef in 36026 os_amiga.h. (Ola Söder, closes #4607) 36027Files: src/evalfunc.c, src/os_amiga.h 36028 36029Patch 8.1.1622 36030Problem: Wrong width if displaying a lot of lines in a popup window. 36031Solution: Accurately compute the line overflow. 36032Files: src/popupwin.c, src/testdir/test_popupwin.vim, 36033 src/testdir/dumps/Test_popupwin_firstline.dump 36034 36035Patch 8.1.1623 36036Problem: Display wrong with signs in narrow number column. 36037Solution: Increase the numbercolumn width if needed. (Yegappan Lakshmanan, 36038 closes #4606) 36039Files: src/option.c, src/screen.c, src/sign.c, src/testdir/test_signs.vim 36040 36041Patch 8.1.1624 36042Problem: When testing in the GUI may try to run gvim in a terminal. 36043Solution: Add the -v argument. (Yee Cheng Chin, closes #4605) Don't skip 36044 tests that work now. 36045Files: src/testdir/shared.vim, src/testdir/term_util.vim, 36046 src/testdir/test_mapping.vim, src/testdir/test_timers.vim 36047 36048Patch 8.1.1625 36049Problem: Script line numbers are not exactly right. 36050Solution: Handle heredoc and continuation lines better. (Ozaki Kiichi, 36051 closes #4611, closes #4511) 36052Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro, 36053 src/testdir/test_vimscript.vim, src/userfunc.c 36054 36055Patch 8.1.1626 36056Problem: No test for closing a popup window with a modified buffer. 36057Solution: Add a test. Add "popups" to getbufinfo(). 36058Files: runtime/doc/eval.txt, src/evalfunc.c, 36059 src/testdir/test_popupwin.vim 36060 36061Patch 8.1.1627 36062Problem: Header file contains mixed comment style. 36063Solution: Use // style comments. 36064Files: src/structs.h 36065 36066Patch 8.1.1628 36067Problem: Popup window functions not in list of functions. 36068Solution: Add popup window functions to the list of functions. Reorganise 36069 the popup window help. 36070Files: runtime/doc/eval.txt, runtime/doc/popup.txt, 36071 runtime/doc/usr_41.txt 36072 36073Patch 8.1.1629 36074Problem: Terminal function help is in the wrong file. 36075Solution: Move the function details to terminal.txt. 36076Files: runtime/doc/eval.txt, runtime/doc/terminal.txt 36077 36078Patch 8.1.1630 36079Problem: Various small problems. 36080Solution: Various small improvements. 36081Files: src/gui_beval.c, src/list.c, src/menu.c, src/message.c, 36082 src/misc2.c, src/testdir/test_terminal.vim, src/os_vms_conf.h, 36083 src/testdir/Make_vms.mms 36084 36085Patch 8.1.1631 36086Problem: Displaying signs is inefficient. 36087Solution: Avoid making multiple calls to get information about a placed 36088 sign. (Yegappan Lakshmanan, closes #4586) 36089Files: src/proto/sign.pro, src/screen.c, src/sign.c, src/structs.h 36090 36091Patch 8.1.1632 36092Problem: Build with EXITFREE but without +arabic fails. 36093Solution: Rename the function and adjust #ifdefs. (closes #4613) 36094Files: src/ex_getln.c, src/proto/ex_getln.pro, src/misc2.c 36095 36096Patch 8.1.1633 36097Problem: Cannot generate prototypes with X11 but without GUI. 36098Solution: Include X11/Intrinsic.h. 36099Files: src/gui.h 36100 36101Patch 8.1.1634 36102Problem: Terminal test fails when term_getansicolors() is missing. 36103 Diff test fails without +rightleft. (Dominique Pelle) 36104Solution: Check if term_getansicolors() is supported. (closes #4597) 36105Files: src/testdir/test_terminal.vim, src/testdir/test_diffmode.vim 36106 36107Patch 8.1.1635 36108Problem: Warnings for unused variables in small version. (John Marriott) 36109Solution: Adjust #ifdefs. 36110Files: src/screen.c 36111 36112Patch 8.1.1636 36113Problem: Crash when popup has fitting scrollbar. (Trygve Aaberge) 36114Solution: Don't divide by zero if the scrollbar just fits. (closes #4615) 36115Files: src/popupwin.c, src/testdir/test_popupwin.vim 36116 36117Patch 8.1.1637 36118Problem: After running tests and clean the XfakeHOME directory remains. 36119Solution: Use "rm -rf". (Hirohito Higashi) 36120Files: src/testdir/Makefile, src/testdir/Make_amiga.mak 36121 36122Patch 8.1.1638 36123Problem: Running tests leaves some files behind. 36124Solution: Delete the files. (Ozaki Kiichi, closes #4617) 36125Files: src/testdir/test_functions.vim, src/testdir/test_popupwin.vim 36126 36127Patch 8.1.1639 36128Problem: Changing an autoload name into a script file name is inefficient. 36129Solution: Remember the last replaced #. (Ozaki Kiichi, closes #4618) 36130Files: src/eval.c 36131 36132Patch 8.1.1640 36133Problem: The CursorHold autocommand takes down a balloon. (Paul Jolly) 36134Solution: Ignore the CursorHold pseudo-key. 36135Files: src/getchar.c, src/testdir/test_balloon.vim, 36136 src/testdir/dumps/Test_balloon_eval_term_01.dump, 36137 src/testdir/dumps/Test_balloon_eval_term_01a.dump 36138 36139Patch 8.1.1641 36140Problem: Garbage collection may run at a wrong moment. (Trygve Aaberge) 36141Solution: Postpone garbage collection while parsing messages. (closes #4620) 36142Files: src/misc2.c 36143 36144Patch 8.1.1642 (after 8.1.0374) 36145Problem: May use uninitialized variable. (Patrick Palka) 36146Solution: Initialize variables earlier. (closes #4623) 36147Files: src/screen.c, src/testdir/test_number.vim 36148 36149Patch 8.1.1643 36150Problem: Sign placement is wrong when 'foldcolumn' is set. 36151Solution: Adjust the column computation. (Yee Cheng Chin, closes #4627) 36152Files: src/gui.c 36153 36154Patch 8.1.1644 36155Problem: Sound test does not work on Travis. 36156Solution: Use "sg" command to enable audio. (Ozaki Kiichi, closes #4624) 36157Files: .travis.yml 36158 36159Patch 8.1.1645 36160Problem: Cannot use a popup window for a balloon. 36161Solution: Add popup_beval(). Add the "mousemoved" property. Add the 36162 screenpos() function. 36163Files: src/popupwin.c, src/proto/popupwin.pro, src/move.c, 36164 src/proto/move.pro, src/beval.c, src/proto/beval.pro, 36165 src/evalfunc.c, src/popupmnu.c, src/normal.c, 36166 src/testdir/test_popupwin.vim, src/testdir/test_cursor_func.vim, 36167 runtime/doc/popup.txt, runtime/doc/eval.txt, 36168 runtime/doc/usr_41.txt, 36169 src/testdir/dumps/Test_popupwin_beval_1.dump, 36170 src/testdir/dumps/Test_popupwin_beval_2.dump, 36171 src/testdir/dumps/Test_popupwin_beval_3.dump 36172 36173Patch 8.1.1646 (after 8.1.1645) 36174Problem: build failure 36175Solution: Add changes to structure. 36176Files: src/structs.h 36177 36178Patch 8.1.1647 36179Problem: Build error with GTK and hangulinput feature, im_get_status() 36180 defined twice. (Dominique Pelle) 36181Solution: Adjust im_get_status(). (closes #4628) 36182Files: src/hangulin.c, src/mbyte.c 36183 36184Patch 8.1.1648 36185Problem: MS-Windows: build error with normal features. 36186Solution: Adjust #ifdef for find_word_under_cursor(). 36187Files: src/beval.c, src/proto/beval.pro 36188 36189Patch 8.1.1649 36190Problem: Illegal memory access when closing popup window. 36191Solution: Get w_next before closing the window. 36192Files: src/popupwin.c 36193 36194Patch 8.1.1650 36195Problem: Warning for using uninitialized variable. (Tony Mechelynck) 36196Solution: Simplify the code by always using the mouse coordinates. 36197Files: src/beval.c 36198 36199Patch 8.1.1651 36200Problem: Suspend test is flaky on some systems. 36201Solution: Wait for the shell prompt to show. (Yee Cheng Chin, closes #4632) 36202Files: src/testdir/test_suspend.vim 36203 36204Patch 8.1.1652 36205Problem: GUI: popup window doesn't close on mouse movement. (Paul Jolly) 36206Solution: Generate mouse-move events when a popup window is visible. 36207Files: src/gui.c, src/globals.h 36208 36209Patch 8.1.1653 36210Problem: Ubsan warns for possibly passing NULL pointer. 36211Solution: Skip code when length is zero. (Dominique Pelle, closes #4631) 36212Files: src/channel.c 36213 36214Patch 8.1.1654 36215Problem: GUI: screen updates from 'balloonexpr' are not displayed. 36216Solution: Update the screen if needed. Also avoid the cursor being 36217 displayed in the wrong position. 36218Files: src/beval.c 36219 36220Patch 8.1.1655 36221Problem: Popup window border drawn wrong with multi-byte char. (Marcin 36222 Szamotulski) 36223Solution: Correct check in mb_fix_col(). (closes #4635) 36224Files: src/mbyte.c, src/testdir/test_popupwin.vim, 36225 src/testdir/dumps/Test_popupwin_24.dump 36226 36227Patch 8.1.1656 36228Problem: Popup window width is wrong when using Tabs. (Paul Jolly) 36229Solution: Count tabs correctly. (closes #4637) 36230Files: src/popupwin.c, src/testdir/test_popupwin.vim, 36231 src/testdir/dumps/Test_popupwin_11.dump 36232 36233Patch 8.1.1657 36234Problem: Terminal: screen updates from 'balloonexpr' are not displayed. 36235Solution: Update the screen if needed. Fix the word position for 36236 "mousemoved". 36237Files: src/beval.c, src/proto/beval.pro, src/popupwin.c, src/normal.c, 36238 src/proto/normal.pro 36239 36240Patch 8.1.1658 36241Problem: Debug statements included in patch. 36242Solution: Remove the debug statements. 36243Files: src/normal.c, src/popupwin.c 36244 36245Patch 8.1.1659 36246Problem: Popup window "mousemoved" values not correct. 36247Solution: Convert text column to mouse column. 36248Files: src/popupwin.c, runtime/doc/popup.txt 36249 36250Patch 8.1.1660 36251Problem: Assert_fails() does not fail inside try/catch. 36252Solution: Set trylevel to zero. (Ozaki Kiichi, closes #4639) 36253Files: src/eval.c, src/testdir/test_assert.vim 36254 36255Patch 8.1.1661 36256Problem: Cannot build with +textprop but without +balloon_eval. 36257Solution: Adjust #ifdefs. (closes #4645) 36258Files: src/proto.h 36259 36260Patch 8.1.1662 36261Problem: Cannot build uninstal.exe with some version of MinGW. 36262Solution: Add -lole32. (Rene Nyffenegger, closes #4646) 36263Files: src/Make_cyg_ming.mak 36264 36265Patch 8.1.1663 36266Problem: Compiler warning for using size_t. 36267Solution: Add type cast. (Mike Williams) 36268Files: src/popupwin.c 36269 36270Patch 8.1.1664 36271Problem: GUI resize may cause changing Rows at a bad time. (Dominique 36272 Pelle) 36273Solution: Postpone resizing while updating the screen. 36274Files: src/term.c 36275 36276Patch 8.1.1665 36277Problem: Crash when popup window with mask is below the screen. 36278Solution: Correct boundary check. 36279Files: src/popupwin.c, src/testdir/test_popupwin.vim, 36280 src/testdir/dumps/Test_popupwin_mask_5.dump 36281 36282Patch 8.1.1666 36283Problem: Click in popup window scrollbar with border doesn't scroll. 36284Solution: Correct column for the border. (Naruhiko Nishino, closes #4650) 36285Files: src/popupwin.c, src/testdir/test_popupwin.vim, 36286 src/testdir/dumps/Test_popupwin_scroll_9.dump 36287 36288Patch 8.1.1667 36289Problem: Flags for Ex commands may clash with other symbols. 36290Solution: Prepend with EX_. 36291Files: src/ex_cmds.h, src/evalfunc.c, src/ex_docmd.c, src/ex_getln.c, 36292 src/usercmd.c, src/syntax.c 36293 36294Patch 8.1.1668 36295Problem: Popup window test is a bit flaky on some systems. 36296Solution: Clear the command line. (Naruhiko Nishino, closes #4656) 36297Files: src/testdir/test_popupwin.vim 36298 36299Patch 8.1.1669 36300Problem: Travis: test results section is closed even when some tests 36301 failed. 36302Solution: Only close the section on success. (Daniel Hahler, closes #4659) 36303Files: .travis.yml 36304 36305Patch 8.1.1670 36306Problem: Sign column not always properly aligned. 36307Solution: Use "col" only after it was calculated. (Yee Cheng Chin, 36308 closes #4649) 36309Files: src/gui.c 36310 36311Patch 8.1.1671 36312Problem: Copying a blob may result in it being locked. 36313Solution: Reset v_lock. (Ken Takata, closes #4648) 36314Files: src/blob.c, src/testdir/test_blob.vim 36315 36316Patch 8.1.1672 (after 8.1.1667) 36317Problem: "make cmdidxs" doesn't work. 36318Solution: Update macro names. (Naruhiko Nishino, closes #4660) 36319Files: src/create_cmdidxs.vim 36320 36321Patch 8.1.1673 36322Problem: Cannot easily find the popup window at a certain position. 36323Solution: Add popup_locate(). 36324Files: runtime/doc/popup.txt, src/evalfunc.c, src/popupwin.c, 36325 src/proto/popupwin.pro, src/testdir/test_popupwin.vim 36326 36327Patch 8.1.1674 36328Problem: Script to check a colorscheme can be improved. 36329Solution: Match the whole group name. Don't warn for what is usually omitted. 36330Files: runtime/colors/tools/check_colors.vim 36331 36332Patch 8.1.1675 36333Problem: Listener list not correctly updated on listener_remove(). 36334Solution: Only set "prev" when not removing a listener. Return one if the 36335 listener was found and removed. 36336Files: src/change.c 36337 36338Patch 8.1.1676 36339Problem: "maxwidth" of popup window does not always work properly. 36340Solution: Adjust the computation. (Naruhiko Nishino, closes #4653) 36341Files: src/popupwin.c, src/testdir/test_popupwin.vim, 36342 src/testdir/dumps/Test_popupwin_menu_maxwidth_1.dump 36343 36344Patch 8.1.1677 36345Problem: Tests get stuck when running into an existing swapfile. 36346Solution: Set v:swapchoice to "q" and report an error. (Daniel Hahler, 36347 closes #4644) 36348Files: src/testdir/runtest.vim 36349 36350Patch 8.1.1678 36351Problem: When using popup_menu() does not scroll to show the selected line. 36352Solution: Scroll the text. (Naruhiko Nishino, closes #4651) 36353Files: src/popupwin.c, src/testdir/test_popupwin.vim, 36354 src/testdir/dumps/Test_popupwin_menu_scroll_1.dump, 36355 src/testdir/dumps/Test_popupwin_menu_scroll_2.dump, 36356 src/testdir/dumps/Test_popupwin_menu_scroll_3.dump, 36357 src/testdir/dumps/Test_popupwin_menu_scroll_4.dump, 36358 src/testdir/dumps/Test_popupwin_menu_scroll_5.dump, 36359 src/testdir/dumps/Test_popupwin_menu_scroll_6.dump 36360 36361Patch 8.1.1679 36362Problem: Test using SwapExists autocommand file may fail. 36363Solution: Remove the SwapExists autocommand. 36364Files: src/testdir/test_window_cmd.vim 36365 36366Patch 8.1.1680 36367Problem: The command table is not well aligned. 36368Solution: Adjust indent. 36369Files: src/ex_cmds.h 36370 36371Patch 8.1.1681 36372Problem: Insert stray "{" when listener gets buffer line. (Paul Jolly) 36373Solution: Flush the cached line after invoking listeners. (closes #4455) 36374Files: src/memline.c, src/testdir/test_listener.vim 36375 36376Patch 8.1.1682 36377Problem: Placing a larger number of signs is slow. 36378Solution: Add functions for dealing with a list of signs. (Yegappan 36379 Lakshmanan, closes #4636) 36380Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/evalfunc.c, 36381 src/proto/sign.pro, src/sign.c, src/testdir/test_signs.vim 36382 36383Patch 8.1.1683 36384Problem: Dictionary with string keys is longer than needed. 36385Solution: Use *{key: val} for literal keys. 36386Files: runtime/doc/eval.txt, src/eval.c, src/dict.c, src/proto/dict.pro, 36387 src/testdir/test_listdict.vim, src/testdir/test_popupwin.vim, 36388 src/testdir/dumps/Test_popupwin_07.dump, 36389 src/testdir/dumps/Test_popupwin_mask_2.dump, 36390 src/testdir/dumps/Test_popupwin_mask_3.dump, 36391 src/testdir/dumps/Test_popupwin_mask_4.dump, 36392 src/testdir/dumps/Test_popupwin_mask_5.dump, 36393 src/testdir/dumps/Test_popupwin_scroll_2.dump, 36394 src/testdir/dumps/Test_popupwin_scroll_3.dump, 36395 src/testdir/dumps/Test_popupwin_scroll_4.dump 36396 36397Patch 8.1.1684 36398Problem: Profiling functionality is spread out. 36399Solution: Put profiling functionality in profiler.c. (Yegappan Lakshmanan, 36400 closes #4666) 36401Files: Filelist, src/Make_cyg_ming.mak, src/Make_dice.mak, 36402 src/Make_manx.mak, src/Make_morph.mak, src/Make_mvc.mak, 36403 src/Make_sas.mak, src/Make_vms.mms, src/Makefile, src/README.md, 36404 src/ex_cmds2.c, src/globals.h, src/profiler.c, src/proto.h, 36405 src/proto/ex_cmds2.pro, src/proto/profiler.pro, 36406 src/proto/userfunc.pro, src/structs.h, src/userfunc.c 36407 36408Patch 8.1.1685 36409Problem: Missing file in distributed file list. 36410Solution: Add profiler.pro 36411Files: Filelist 36412 36413Patch 8.1.1686 36414Problem: "*" of "*{" is recognized as multiply operator. (Yasuhiro 36415 Matsumoto) 36416Solution: Check for the "{". 36417Files: src/eval.c, src/testdir/test_listdict.vim 36418 36419Patch 8.1.1687 36420Problem: The evalfunc.c file is too big. 36421Solution: Move testing support to a separate file. 36422Files: Filelist, src/evalfunc.c, src/eval.c, src/proto/eval.pro, 36423 src/testing.c, src/proto/testing.pro, src/Make_cyg_ming.mak, 36424 src/Make_morph.mak, src/Make_mvc.mak, src/Make_vms.mms, 36425 src/Makefile, src/README.md, src/proto.h 36426 36427Patch 8.1.1688 36428Problem: Old makefiles are no longer useful. 36429Solution: Delete the makefiles, they most likely don't work anyway. 36430Files: Filelist, src/Make_dice.mak, src/Make_manx.mak, src/Make_sas.mak 36431 36432Patch 8.1.1689 36433Problem: Profiling code is spread out. 36434Solution: Move more profiling code to profiler.c. (Yegappan Lakshmanan, 36435 closes #4668) 36436Files: src/ex_cmds2.c, src/profiler.c, src/proto/ex_cmds2.pro, 36437 src/proto/profiler.pro, src/proto/userfunc.pro, src/structs.h, 36438 src/userfunc.c 36439 36440Patch 8.1.1690 36441Problem: Default padding for popup window menu is too much. 36442Solution: Only add padding left and right. 36443Files: runtime/doc/popup.txt, src/popupwin.c, 36444 src/testdir/dumps/Test_popupwin_menu_01.dump, 36445 src/testdir/dumps/Test_popupwin_menu_02.dump, 36446 src/testdir/dumps/Test_popupwin_menu_maxwidth_1.dump, 36447 src/testdir/dumps/Test_popupwin_menu_scroll_1.dump, 36448 src/testdir/dumps/Test_popupwin_menu_scroll_2.dump, 36449 src/testdir/dumps/Test_popupwin_menu_scroll_3.dump, 36450 src/testdir/dumps/Test_popupwin_menu_scroll_4.dump, 36451 src/testdir/dumps/Test_popupwin_menu_scroll_5.dump, 36452 src/testdir/dumps/Test_popupwin_menu_scroll_6.dump 36453 36454Patch 8.1.1691 36455Problem: Diff test fails on some systems. (Elimar Riesebieter) 36456Solution: Add a term_wait() call. 36457Files: src/testdir/test_diffmode.vim 36458 36459Patch 8.1.1692 36460Problem: Using *{} for literal dict is not backwards compatible. (Yasuhiro 36461 Matsumoto) 36462Solution: Use ~{} instead. 36463Files: runtime/doc/eval.txt runtime/doc/popup.txt, src/eval.c, 36464 src/testdir/test_listdict.vim src/testdir/test_popupwin.vim, 36465 src/testdir/dumps/Test_popupwin_07.dump, 36466 src/testdir/dumps/Test_popupwin_mask_2.dump, 36467 src/testdir/dumps/Test_popupwin_mask_3.dump, 36468 src/testdir/dumps/Test_popupwin_mask_4.dump, 36469 src/testdir/dumps/Test_popupwin_mask_5.dump, 36470 src/testdir/dumps/Test_popupwin_scroll_2.dump, 36471 src/testdir/dumps/Test_popupwin_scroll_3.dump, 36472 src/testdir/dumps/Test_popupwin_scroll_4.dump 36473 36474Patch 8.1.1693 36475Problem: Syntax coloring and highlighting is in one big file. 36476Solution: Move the highlighting to a separate file. (Yegappan Lakshmanan, 36477 closes #4674) 36478Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 36479 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 36480 src/globals.h, src/highlight.c, src/proto.h, 36481 src/proto/highlight.pro, src/proto/syntax.pro, src/structs.h, 36482 src/syntax.c 36483 36484Patch 8.1.1694 36485Problem: The RUN_VIM variable is longer than needed. 36486Solution: Shorten RUN_VIM. (Daniel Hahler, closes #4643) 36487Files: src/testdir/Makefile, src/testdir/shared.vim 36488 36489Patch 8.1.1695 36490Problem: Windows 10: crash when cursor is at bottom of terminal. 36491Solution: Position the cursor before resizing. (Yasuhiro Matsumoto, 36492 closes #4679) 36493Files: src/os_win32.c 36494 36495Patch 8.1.1696 36496Problem: MSVC: link command line is too long. 36497Solution: Use the @<< mechanism to pass the arguments via a file. (Christian 36498 Brabandt) 36499Files: src/Make_mvc.mak 36500 36501Patch 8.1.1697 36502Problem: Cannot build with MSVC. 36503Solution: Remove the backslashes after the @<< mechanism. 36504Files: src/Make_mvc.mak 36505 36506Patch 8.1.1698 36507Problem: Appveyor build with MSVC fails. 36508Solution: Remove the sed command 36509Files: ci/appveyor.bat 36510 36511Patch 8.1.1699 36512Problem: Highlight_ga can be local instead of global. 36513Solution: Move highlight_ga into highlight.c. (Yegappan Lakshmanan, 36514 closes #4675) 36515Files: src/globals.h, src/highlight.c, src/proto/highlight.pro, 36516 src/structs.h, src/syntax.c 36517 36518Patch 8.1.1700 36519Problem: Listener callback called for the wrong buffer. 36520Solution: Invoke listeners before calling ml_append_int(). 36521Files: src/memline.c 36522 36523Patch 8.1.1701 36524Problem: Appveyor build with MSVC fails puts progress bar in log. 36525Solution: Adjust the sed command. (Ken Takata) 36526Files: ci/appveyor.bat 36527 36528Patch 8.1.1702 36529Problem: Compiler warning for uninitialized variable. 36530Solution: Initialize it. (Christian Brabandt) 36531Files: src/gui.c 36532 36533Patch 8.1.1703 36534Problem: Breaking out of loop by checking window pointer is insufficient. 36535Solution: Check the window ID and the buffer number. (closes #4683) 36536Files: src/misc2.c 36537 36538Patch 8.1.1704 36539Problem: C-R C-W does not work after C-G when using 'incsearch'. 36540Solution: Put cursor at end of the match. (Yasuhiro Matsumoto, closes #4664) 36541Files: src/ex_getln.c, src/testdir/test_search.vim 36542 36543Patch 8.1.1705 36544Problem: Using ~{} for a literal dict is not nice. 36545Solution: Use #{} instead. 36546Files: runtime/doc/eval.txt runtime/doc/popup.txt, src/eval.c, 36547 src/testdir/test_listdict.vim src/testdir/test_popupwin.vim 36548 36549Patch 8.1.1706 36550Problem: Typo in #ifdef. 36551Solution: Change PROT to PROTO. 36552Files: src/beval.c 36553 36554Patch 8.1.1707 36555Problem: Coverity warns for possibly using a NULL pointer. 36556Solution: Change the logic to make sure no NULL pointer is used. 36557Files: src/popupwin.c, src/testdir/test_popupwin.vim 36558 36559Patch 8.1.1708 36560Problem: Coverity warns for using uninitialized variable. 36561Solution: Set the start col when col is set. 36562Files: src/beval.c 36563 36564Patch 8.1.1709 36565Problem: Coverity warns for possibly using a NULL pointer. 36566Solution: Make sure no NULL pointer is used. 36567Files: src/popupwin.c, src/testdir/test_popupwin.vim 36568 36569Patch 8.1.1710 36570Problem: Coverity found dead code. 36571Solution: Remove merging of listener changes. 36572Files: src/change.c 36573 36574Patch 8.1.1711 36575Problem: Listener callback called at the wrong moment 36576Solution: Invoke listeners before calling ml_delete_int(). (closes #4657) 36577Files: src/memline.c 36578 36579Patch 8.1.1712 36580Problem: Signs in number column cause text to be misaligned. 36581Solution: Improve alignment. (Yasuhiro Matsumoto, closes #4694) 36582Files: src/screen.c, src/testdir/test_signs.vim 36583 36584Patch 8.1.1713 36585Problem: Highlighting cursor line only works with popup_menu(). 36586Solution: Add the "cursorline" property. (Naruhiko Nishino, closes #4671) 36587Files: runtime/doc/popup.txt, src/popupwin.c, 36588 src/testdir/dumps/Test_popupwin_cursorline_1.dump, 36589 src/testdir/dumps/Test_popupwin_cursorline_2.dump, 36590 src/testdir/dumps/Test_popupwin_cursorline_3.dump, 36591 src/testdir/dumps/Test_popupwin_cursorline_4.dump, 36592 src/testdir/dumps/Test_popupwin_cursorline_5.dump, 36593 src/testdir/dumps/Test_popupwin_cursorline_6.dump, 36594 src/testdir/dumps/Test_popupwin_menu_filter_1.dump, 36595 src/testdir/dumps/Test_popupwin_menu_filter_2.dump, 36596 src/testdir/dumps/Test_popupwin_menu_filter_3.dump, 36597 src/testdir/dumps/Test_popupwin_menu_filter_4.dump, 36598 src/testdir/test_popupwin.vim, src/vim.h 36599 36600Patch 8.1.1714 36601Problem: Cannot preview a file in a popup window. 36602Solution: Add the 'previewpopup' option. 36603Files: runtime/doc/windows.txt, runtime/doc/options.txt, src/popupwin.c, 36604 src/proto/popupwin.pro, src/option.c, src/option.h, src/ex_cmds.c, 36605 src/testdir/dumps/Test_popupwin_previewpopup_1.dump, 36606 src/testdir/dumps/Test_popupwin_previewpopup_2.dump, 36607 src/ex_docmd.c, src/testdir/gen_opt_test.vim 36608 36609Patch 8.1.1715 36610Problem: Emoji characters are seen as word characters for spelling. (Gautam 36611 Iyer) 36612Solution: Exclude class 3 from word characters. 36613Files: src/spell.c 36614 36615Patch 8.1.1716 36616Problem: Old style comments are wasting space 36617Solution: Use new style comments in option header file. (closes #4702) 36618Files: src/option.h 36619 36620Patch 8.1.1717 36621Problem: Last char in menu popup window highlighted. 36622Solution: Do not highlight an extra character twice. 36623Files: src/screen.c, src/testdir/test_popupwin.vim, 36624 src/testdir/dumps/Test_popupwin_menu_04.dump 36625 36626Patch 8.1.1718 36627Problem: Popup menu highlighting does not look good. 36628Solution: Highlight the whole window line. Fix that sign line HL is not 36629 displayed in a window with a background color. 36630Files: src/popupwin.c, src/sign.c, src/proto/sign.pro, src/screen.c, 36631 src/testdir/dumps/Test_popupwin_menu_scroll_1.dump, 36632 src/testdir/dumps/Test_popupwin_menu_scroll_2.dump, 36633 src/testdir/dumps/Test_popupwin_menu_scroll_3.dump, 36634 src/testdir/dumps/Test_popupwin_menu_scroll_4.dump, 36635 src/testdir/dumps/Test_popupwin_menu_scroll_5.dump, 36636 src/testdir/dumps/Test_popupwin_menu_scroll_6.dump, 36637 src/testdir/dumps/Test_popupwin_menu_01.dump, 36638 src/testdir/dumps/Test_popupwin_menu_02.dump, 36639 src/testdir/dumps/Test_popupwin_menu_04.dump 36640 36641Patch 8.1.1719 36642Problem: Popup too wide when 'showbreak' is set. 36643Solution: Set window width when computing line length. (closes #4701) 36644Files: src/popupwin.c, src/testdir/test_popupwin.vim, 36645 src/testdir/dumps/Test_popupwin_showbreak.dump 36646 36647Patch 8.1.1720 36648Problem: Crash with very long %[] pattern. (Reza Mirzazade farkhani) 36649Solution: Check for reg_toolong. (closes #4703) 36650Files: src/regexp.c, src/testdir/test_regexp_utf8.vim 36651 36652Patch 8.1.1721 36653Problem: Build failure with normal features without netbeans interface. 36654Solution: Enable signs when using the text properties feature. 36655Files: src/feature.h 36656 36657Patch 8.1.1722 36658Problem: Error when scriptversion is 2 a making a dictionary access. 36659Solution: Parse the subscript even when not evaluating the sub-expression. 36660 (closes #4704) 36661Files: src/eval.c, src/testdir/test_eval_stuff.vim 36662 36663Patch 8.1.1723 36664Problem: Heredoc assignment has no room for new features. (FUJIWARA Takuya) 36665Solution: Require the marker does not start with a lower case character. 36666 (closes #4705) 36667Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_let.vim 36668 36669Patch 8.1.1724 36670Problem: Too much overhead checking for CTRL-C while processing text. 36671Solution: Increase BREAKCHECK_SKIP. Remove the difference for when built 36672 with the GUI. (suggested by Andy Massimino, closes #4708) 36673Files: src/misc1.c, src/screen.c, src/feature.h 36674 36675Patch 8.1.1725 36676Problem: MS-Windows: E325 message may use incorrect date format. 36677Solution: Convert strftime() result to 'encoding'. Also make the message 36678 translatable. (Ken Takata, closes #4685, closes #4681) 36679Files: src/memline.c 36680 36681Patch 8.1.1726 36682Problem: The eval.txt help file is too big. 36683Solution: Split off testing support to testing.txt. Move function details 36684 to where the functionality is explained. 36685Files: runtime/doc/Makefile, runtime/doc/eval.txt, 36686 runtime/doc/testing.txt, runtime/doc/sign.txt, 36687 runtime/doc/textprop.txt, runtime/doc/help.txt, 36688 runtime/doc/channel.txt, runtime/doc/tags 36689 36690Patch 8.1.1727 36691Problem: Code for viminfo support is spread out. 36692Solution: Move to code to viminfo.c. (Yegappan Lakshmanan, closes #4686) 36693Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 36694 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/buffer.c, 36695 src/eval.c, src/ex_cmds.c, src/ex_docmd.c, src/globals.h, 36696 src/proto.h, src/proto/buffer.pro, src/proto/eval.pro, 36697 src/proto/ex_cmds.pro, src/proto/viminfo.pro, src/structs.h, 36698 src/viminfo.c 36699 36700Patch 8.1.1728 36701Problem: Wrong place for command line history viminfo support. 36702Solution: Move it to viminfo.c. 36703Files: src/ex_getln.c, src/proto/ex_getln.pro, src/viminfo.c, 36704 src/structs.h 36705 36706Patch 8.1.1729 36707Problem: Heredoc with trim not properly handled in function. 36708Solution: Allow for missing indent. (FUJIWARA Takuya, closes #4713) 36709Files: src/userfunc.c, src/testdir/test_let.vim 36710 36711Patch 8.1.1730 36712Problem: Wrong place for mark viminfo support. 36713Solution: Move it to viminfo.c. (Yegappan Lakshmanan, closes #4716) 36714Files: src/README.md, src/mark.c, src/proto/mark.pro, 36715 src/proto/viminfo.pro, src/structs.h, src/viminfo.c 36716 36717Patch 8.1.1731 36718Problem: Command line history not read from viminfo on startup. 36719Solution: Get history length after initializing it. 36720Files: src/viminfo.c, src/testdir/test_viminfo.vim 36721 36722Patch 8.1.1732 36723Problem: Completion in cmdwin does not work for buffer-local commands. 36724Solution: Use the right buffer. (closes #4711) 36725Files: src/usercmd.c, src/testdir/test_ins_complete.vim 36726 36727Patch 8.1.1733 36728Problem: The man ftplugin leaves an empty buffer behind. 36729Solution: Don't make new window and edit, use split. (Jason Franklin) 36730Files: runtime/ftplugin/man.vim, src/testdir/test_man.vim 36731 36732Patch 8.1.1734 36733Problem: The evalfunc.c file is too big. 36734Solution: Move some functions to other files. 36735Files: src/evalfunc.c, src/proto/evalfunc.pro, src/json.c, 36736 src/proto/json.pro src/window.c, src/proto/window.pro, 36737 src/highlight.c, src/proto/highlight.pro, src/globals.h 36738 36739Patch 8.1.1735 (after 8.1.1734) 36740Problem: Can't build with tiny features. 36741Solution: Add missing #ifdefs. 36742Files: src/json.c, src/highlight.c 36743 36744Patch 8.1.1736 36745Problem: Viminfo support is spread out. 36746Solution: Move more viminfo code to viminfo.c. (Yegappan Lakshmanan, 36747 closes #4717) Reorder code to make most functions static. 36748Files: src/fileio.c, src/ops.c, src/option.c, src/proto/ops.pro, 36749 src/proto/option.pro, src/proto/search.pro, src/proto/viminfo.pro, 36750 src/search.c, src/structs.h, src/viminfo.c, src/ex_cmds.c, 36751 src/proto/ex_cmds.pro 36752 36753Patch 8.1.1737 36754Problem: :args command that outputs one line gives more prompt. 36755Solution: Only output line break if needed. (Daniel Hahler, closes #4715) 36756Files: src/version.c, src/testdir/test_arglist.vim 36757 36758Patch 8.1.1738 36759Problem: Testing lambda with timer is slow. 36760Solution: Do not test timer accuracy, only that it works. (Daniel Hahler, 36761 closes #4723) 36762Files: src/testdir/test_lambda.vim 36763 36764Patch 8.1.1739 36765Problem: Deleted match highlighting not updated in other window. 36766Solution: Mark the window for refresh. (closes #4720) Also fix that 36767 ambi-width check clears with wrong attributes. 36768Files: src/term.c, src/highlight.c, src/testdir/test_match.vim, 36769 src/testdir/dumps/Test_matchdelete_1.dump 36770 36771Patch 8.1.1740 36772Problem: Exepath() doesn't work for "bin/cat". 36773Solution: Check for any path separator. (Daniel Hahler, closes #4724, 36774 closes #4710) 36775Files: src/evalfunc.c, src/os_unix.c, src/testdir/test_functions.vim 36776 36777Patch 8.1.1741 36778Problem: Cleared/added match highlighting not updated in other window. 36779 (Andy Massimino) 36780Solution: Mark the right window for refresh. 36781Files: src/highlight.c, src/testdir/test_match.vim, 36782 src/testdir/dumps/Test_matchclear_1.dump, 36783 src/testdir/dumps/Test_matchadd_1.dump 36784 36785Patch 8.1.1742 36786Problem: Still some match functions in evalfunc.c. 36787Solution: Move them to highlight.c. 36788Files: src/evalfunc.c, src/highlight.c, src/proto/highlight.pro, 36789 src/ex_docmd.c 36790 36791Patch 8.1.1743 36792Problem: 'hlsearch' and match highlighting in the wrong place. 36793Solution: Move highlighting from inside screen functions to highlight.c. 36794Files: src/screen.c, src/highlight.c, src/proto/highlight.pro 36795 36796Patch 8.1.1744 36797Problem: Build error without the conceal feature. 36798Solution: Define variables also without the conceal feature. 36799Files: src/screen.c 36800 36801Patch 8.1.1745 36802Problem: Compiler warning for unused argument. 36803Solution: Add UNUSED. Change comments to new style. 36804Files: src/highlight.c 36805 36806Patch 8.1.1746 36807Problem: ":dl" is seen as ":dlist" instead of ":delete". 36808Solution: Do not use cmdidxs2[] if the length is 1. (closes #4721) 36809Files: src/ex_docmd.c, src/testdir/test_excmd.vim, 36810 src/testdir/Make_all.mak 36811 36812Patch 8.1.1747 36813Problem: Compiler warning for unused variables. (Tony Mechelynck) 36814Solution: Add #ifdef. 36815Files: src/screen.c 36816 36817Patch 8.1.1748 (after 8.1.1737) 36818Problem: :args output is not aligned. 36819Solution: Output a line break after the last item in a row. 36820Files: src/version.c 36821 36822Patch 8.1.1749 36823Problem: Coverity warns for using negative index. 36824Solution: Move using index inside "if". 36825Files: src/viminfo.c 36826 36827Patch 8.1.1750 36828Problem: Depending on the terminal width :version may miss a line break. 36829Solution: Add a line break when needed. 36830Files: src/version.c 36831 36832Patch 8.1.1751 36833Problem: When redrawing popups plines_win() may be called often. 36834Solution: Pass a cache to mouse_comp_pos(). 36835Files: src/ui.c, src/proto/ui.pro, src/beval.c, src/evalfunc.c, 36836 src/popupwin.c 36837 36838Patch 8.1.1752 36839Problem: Resizing hashtable is inefficient. 36840Solution: Avoid resizing when the final size is predictable. 36841Files: src/hashtab.c, src/proto/hashtab.pro, src/popupwin.c 36842 36843Patch 8.1.1753 36844Problem: Use of popup window mask is inefficient. 36845Solution: Precompute and cache the mask. 36846Files: src/popupwin.c 36847 36848Patch 8.1.1754 (after 8.1.1753) 36849Problem: Build failure. 36850Solution: Add missing change to window struct. 36851Files: src/structs.h 36852 36853Patch 8.1.1755 36854Problem: Leaking memory when using a popup window mask. 36855Solution: Free the cached mask. 36856Files: src/window.c 36857 36858Patch 8.1.1756 36859Problem: Autocommand that splits window messes up window layout. 36860Solution: Disallow splitting a window while closing one. In ":all" give an 36861 error when moving a window will not work. 36862Files: src/buffer.c, src/window.c, src/testdir/test_window_cmd.vim 36863 36864Patch 8.1.1757 36865Problem: Text added with appendbufline() to another buffer isn't displayed. 36866Solution: Update topline. (partly by Christian Brabandt, closes #4718) 36867Files: src/evalfunc.c, src/testdir/test_bufline.vim, 36868 src/testdir/dumps/Test_appendbufline_1.dump 36869 36870Patch 8.1.1758 36871Problem: Count of g$ not used correctly when text is not wrapped. 36872Solution: Do use the count. (Christian Brabandt, closes #4729, closes #4566) 36873Files: src/normal.c, src/testdir/test_normal.vim 36874 36875Patch 8.1.1759 36876Problem: No mode char for terminal mapping from maparg(). 36877Solution: Check for TERMINAL mode. (closes #4735) 36878Files: src/getchar.c, src/testdir/test_maparg.vim 36879 36880Patch 8.1.1760 36881Problem: Extra line break for wrapping output of :args. 36882Solution: Avoid the extra line break. (Daniel Hahler, closes #4737) 36883Files: src/version.c, src/testdir/test_arglist.vim 36884 36885Patch 8.1.1761 36886Problem: Filetype "vuejs" causes problems for some users. 36887Solution: Rename to "vue". 36888Files: runtime/filetype.vim, src/testdir/test_filetype.vim 36889 36890Patch 8.1.1762 36891Problem: Some filetype rules are in the wrong place. 36892Solution: Move to the right place. Add a few more tests. 36893Files: runtime/filetype.vim, src/testdir/test_filetype.vim 36894 36895Patch 8.1.1763 36896Problem: Evalfunc.c is still too big. 36897Solution: Move dict and list functions to a better place. 36898Files: src/evalfunc.c, src/dict.c, src/proto/dict.pro, src/list.c, 36899 src/proto/list.pro, src/blob.c, src/proto/blob.pro 36900 36901Patch 8.1.1764 36902Problem: ":browse oldfiles" is not tested. 36903Solution: Add a test. 36904Files: src/testdir/test_viminfo.vim 36905 36906Patch 8.1.1765 36907Problem: get(func, dict, def) does not work properly. 36908Solution: Handle NULL dict better. (Takuya Fujiwara, closes #4734) 36909Files: src/evalfunc.c, src/testdir/test_getvar.vim, 36910 src/testdir/test_partial.vim 36911 36912Patch 8.1.1766 36913Problem: Code for writing session file is spread out. 36914Solution: Put it in one file. (Yegappan Lakshmanan, closes #4728) 36915Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 36916 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 36917 src/eval.c, src/ex_docmd.c, src/misc2.c, src/proto.h, 36918 src/proto/eval.pro, src/proto/misc2.pro, src/proto/session.pro, 36919 src/session.c 36920 36921Patch 8.1.1767 36922Problem: FEAT_SESSION defined separately. 36923Solution: Make FEAT_SESSION depend on FEAT_EVAL. 36924Files: src/feature.h, src/session.c, src/evalfunc.c, src/ex_docmd.c, 36925 src/gui_gtk_x11.c, src/proto.h 36926 36927Patch 8.1.1768 36928Problem: Man plugin changes setting in current window. 36929Solution: Set options later. (Jason Franklin) 36930Files: runtime/ftplugin/man.vim, src/testdir/test_man.vim 36931 36932Patch 8.1.1769 36933Problem: 'shellslash' is also used for completion. 36934Solution: Add the 'completeslash' option. (Yasuhiro Matsumoto, closes #3612) 36935Files: runtime/doc/options.txt, src/ex_getln.c, src/insexpand.c, 36936 src/option.c, src/option.h, src/structs.h, 36937 src/testdir/test_ins_complete.vim 36938 36939Patch 8.1.1770 36940Problem: Cannot get the window ID of the popup preview window. 36941Solution: Add popup_getpreview(). 36942Files: src/evalfunc.c, src/popupwin.c, src/proto/popupwin.pro, 36943 runtime/doc/eval.txt, runtime/doc/popup.txt, 36944 src/testdir/dumps/Test_popupwin_previewpopup_3.dump 36945 36946Patch 8.1.1771 36947Problem: Options test fails on MS-Windows. 36948Solution: Add correct and incorrect values for 'completeslash'. 36949Files: src/testdir/gen_opt_test.vim 36950 36951Patch 8.1.1772 36952Problem: Options test still fails on MS-Windows. 36953Solution: Check buffer-local value of 'completeslash'. 36954Files: src/option.c 36955 36956Patch 8.1.1773 36957Problem: The preview popup window may be too far to the right. 36958Solution: Keep it inside the screen. Also keep the close button and 36959 scrollbar visible if possible. 36960Files: src/popupwin.c, src/proto/popupwin.pro, src/ex_cmds.c, 36961 src/screen.c, src/vim.h, src/testdir/test_popupwin.vim, 36962 src/testdir/dumps/Test_popupwin_previewpopup_1.dump, 36963 src/testdir/dumps/Test_popupwin_previewpopup_2.dump, 36964 src/testdir/dumps/Test_popupwin_previewpopup_3.dump, 36965 src/testdir/dumps/Test_popupwin_previewpopup_4.dump 36966 36967Patch 8.1.1774 36968Problem: Test is silently skipped. 36969Solution: Throw "Skipped". 36970Files: src/testdir/test_ins_complete.vim 36971 36972Patch 8.1.1775 36973Problem: Error message may be empty in filetype test. 36974Solution: Use v:exception instead. (Daniel Hahler, closes #4744) 36975Files: src/testdir/test_filetype.vim 36976 36977Patch 8.1.1776 36978Problem: Text added with a job to another buffer isn't displayed. 36979Solution: Update topline after adding a line. (closes #4745) 36980Files: src/channel.c, src/testdir/test_channel.vim, src/testdir/check.vim, 36981 src/testdir/dumps/Test_job_buffer_scroll_1.dump 36982 36983Patch 8.1.1777 36984Problem: Useless checks for job feature in channel test. 36985Solution: Remove the checks. Remove ch_log() calls. 36986Files: src/testdir/test_channel.vim 36987 36988Patch 8.1.1778 36989Problem: Not showing the popup window right border is confusing. 36990Solution: Also show the border when there is no close button. (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.1779 36995Problem: Not showing the popup window right border is confusing. 36996Solution: Also show the border when 'wrap' is off. (closes #4747) 36997Files: src/popupwin.c, src/testdir/dumps/Test_popupwin_20.dump, 36998 src/testdir/dumps/Test_popupwin_21.dump 36999 37000Patch 8.1.1780 37001Problem: Warning for file no longer available is repeated every time Vim is 37002 focused. (Brian Armstrong) 37003Solution: Only give the message once. (closes #4748) 37004Files: src/fileio.c 37005 37006Patch 8.1.1781 37007Problem: Amiga: no builtin OS readable version info. 37008Solution: Add a "version" variable. (Ola Söder, closes #4753) 37009Files: src/os_amiga.c 37010 37011Patch 8.1.1782 37012Problem: MS-Windows: system() has temp file error with 'noshelltemp'. 37013Solution: Check s_dont_use_vimrun. (Ken Takata, closes #4754) 37014Files: src/os_win32.c 37015 37016Patch 8.1.1783 37017Problem: MS-Windows: compiler test may fail when using %:S. 37018Solution: Reset 'shellslash'. 37019Files: src/testdir/test_compiler.vim 37020 37021Patch 8.1.1784 37022Problem: MS-Windows: resolve() does not work if serial nr duplicated. 37023Solution: Use another method to get the full path. (Ken Takata, closes #4661) 37024Files: src/os_mswin.c 37025 37026Patch 8.1.1785 37027Problem: Map functionality mixed with character input. 37028Solution: Move the map functionality to a separate file. (Yegappan 37029 Lakshmanan, closes #4740) Graduate the +localmap feature. 37030Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 37031 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 37032 src/buffer.c, src/feature.h, src/evalfunc.c, src/ex_docmd.c, 37033 src/getchar.c, src/map.c, src/proto.h, src/proto/getchar.pro, 37034 src/proto/map.pro, src/version.c, src/structs.h 37035 37036Patch 8.1.1786 37037Problem: Double click in popup scrollbar starts selection. 37038Solution: Ignore the double click. 37039Files: src/ui.c, src/popupwin.c, src/proto/popupwin.pro 37040 37041Patch 8.1.1787 37042Problem: Cannot resize a popup window. 37043Solution: Allow for resizing by dragging the lower right corner. 37044Files: runtime/doc/popup.txt, src/popupwin.c, src/structs.h, src/vim.h, 37045 src/ui.c src/testdir/test_popupwin.vim, 37046 src/testdir/dumps/Test_popupwin_drag_01.dump, 37047 src/testdir/dumps/Test_popupwin_drag_02.dump, 37048 src/testdir/dumps/Test_popupwin_drag_03.dump, 37049 src/testdir/dumps/Test_popupwin_previewpopup_1.dump, 37050 src/testdir/dumps/Test_popupwin_previewpopup_2.dump, 37051 src/testdir/dumps/Test_popupwin_previewpopup_3.dump, 37052 src/testdir/dumps/Test_popupwin_previewpopup_4.dump 37053 37054Patch 8.1.1788 (after 8.1.1787) 37055Problem: missing changes in proto file 37056Solution: Update proto file. 37057Files: src/proto/popupwin.pro 37058 37059Patch 8.1.1789 37060Problem: Cannot see file name of preview popup window. 37061Solution: Add the file name as the title. 37062Files: src/ex_cmds.c, src/popupwin.c, src/proto/popupwin.pro, 37063 src/fileio.c, 37064 src/testdir/dumps/Test_popupwin_previewpopup_1.dump, 37065 src/testdir/dumps/Test_popupwin_previewpopup_2.dump, 37066 src/testdir/dumps/Test_popupwin_previewpopup_3.dump, 37067 src/testdir/dumps/Test_popupwin_previewpopup_4.dump, 37068 src/testdir/dumps/Test_popupwin_previewpopup_5.dump 37069 37070Patch 8.1.1790 37071Problem: :mkvimrc is not tested. 37072Solution: Add a test. 37073Files: src/testdir/test_mksession.vim 37074 37075Patch 8.1.1791 37076Problem: 'completeslash' also applies to globpath(). 37077Solution: Add the WILD_IGNORE_COMPLETESLASH flag. (test by Yasuhiro 37078 Matsumoto, closes #4760) 37079Files: src/testdir/test_ins_complete.vim, src/ex_getln.c, src/evalfunc.c, 37080 src/vim.h 37081 37082Patch 8.1.1792 37083Problem: The vgetorpeek() function is too long. 37084Solution: Split off the part that handles mappings. 37085Files: src/getchar.c 37086 37087Patch 8.1.1793 37088Problem: Mixed comment style in globals. 37089Solution: Use // comments where appropriate. 37090Files: src/globals.h 37091 37092Patch 8.1.1794 (after 8.1.1792) 37093Problem: Tests are flaky. 37094Solution: Undo the change to vgetorpeek(). 37095Files: src/getchar.c 37096 37097Patch 8.1.1795 37098Problem: No syntax HL after splitting windows with :bufdo. (Yasuhiro 37099 Matsumoto) 37100Solution: Trigger Syntax autocommands in buffers that are active. 37101 (closes #4761) 37102Files: src/vim.h, src/option.c, src/ex_cmds2.c, 37103 src/testdir/test_syntax.vim 37104 37105Patch 8.1.1796 37106Problem: :argdo is not tested 37107Solution: Add a test. 37108Files: src/testdir/test_arglist.vim 37109 37110Patch 8.1.1797 (after 8.1.1794) 37111Problem: The vgetorpeek() function is too long. 37112Solution: Split off the part that handles mappings, with fix. 37113Files: src/getchar.c 37114 37115Patch 8.1.1798 37116Problem: Warning for unused variable in tiny version. (Tony Mechelynck) 37117Solution: Move inside #ifdef. Reformat code. 37118Files: src/getchar.c 37119 37120Patch 8.1.1799 37121Problem: Cannot avoid mapping for a popup window. 37122Solution: Add the "mapping" property, default TRUE. 37123Files: runtime/doc/popup.txt, src/getchar.c, src/popupwin.c, src/vim.h, 37124 src/proto/popupwin.pro, src/testdir/test_popupwin.vim 37125 37126Patch 8.1.1800 37127Problem: Function call functions have too many arguments. 37128Solution: Pass values in a funcexe_T struct. 37129Files: src/eval.c, src/structs.h, src/userfunc.c, src/proto/userfunc.pro, 37130 src/list.c, src/regexp.c, src/terminal.c, src/change.c, 37131 src/ex_cmds2.c, src/popupwin.c, src/channel.c 37132 37133Patch 8.1.1801 37134Problem: Cannot build without the +eval feature. 37135Solution: Always define funcexe_T. 37136Files: src/structs.h 37137 37138Patch 8.1.1802 37139Problem: Missing change to call_callback(). 37140Solution: Add missing change. 37141Files: src/sound.c 37142 37143Patch 8.1.1803 37144Problem: All builtin functions are global. 37145Solution: Add the method call operator ->. Implemented for a limited number 37146 of functions. 37147Files: runtime/doc/eval.txt, src/eval.c, src/structs.h, src/userfunc.c, 37148 src/globals.h, src/evalfunc.c, src/proto/evalfunc.pro, 37149 src/testdir/test_method.vim, src/testdir/Make_all.mak 37150 37151Patch 8.1.1804 37152Problem: No test for display updating without a scroll region. 37153Solution: Add a test. 37154Files: src/testdir/test_display.vim, src/testdir/check.vim, 37155 src/testdir/test_diffmode.vim, 37156 src/testdir/dumps/Test_scroll_no_region_1.dump, 37157 src/testdir/dumps/Test_scroll_no_region_2.dump, 37158 src/testdir/dumps/Test_scroll_no_region_3.dump 37159 37160Patch 8.1.1805 37161Problem: Au_did_filetype is declared twice. 37162Solution: Remove it from autocmd.c. (closes #4767) 37163Files: src/globals.h, src/autocmd.c 37164 37165Patch 8.1.1806 37166Problem: Test for display updating doesn't check without statusline. 37167Solution: Add screenshots without a status line. 37168Files: src/testdir/test_display.vim, 37169 src/testdir/dumps/Test_scroll_no_region_4.dump, 37170 src/testdir/dumps/Test_scroll_no_region_5.dump, 37171 src/testdir/dumps/Test_scroll_no_region_6.dump 37172 37173Patch 8.1.1807 37174Problem: More functions can be used as a method. 37175Solution: Add append(), appendbufline(), assert_equal(), etc. 37176 Also add the :eval command. 37177Files: runtime/doc/eval.txt, runtime/doc/testing.txt, src/evalfunc.c, 37178 src/testdir/test_method.vim, src/ex_cmds.h, src/ex_eval.c, 37179 src/proto/ex_eval.pro, src/ex_cmdidxs.h 37180 37181Patch 8.1.1808 37182Problem: Build failure for tiny version. 37183Solution: Define ex_eval to ex_ni. Clean up the ordering a bit. 37184Files: src/ex_docmd.c 37185 37186Patch 8.1.1809 37187Problem: More functions can be used as a method. 37188Solution: Add has_key(), split(), str2list(), etc. 37189Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_method.vim, 37190 src/testdir/test_diffmode.vim, src/testdir/test_syntax.vim, 37191 src/testdir/test_system.vim 37192 37193Patch 8.1.1810 37194Problem: Popup_getoptions() is missing an entry for "mapping". 37195Solution: Add the entry. 37196Files: src/popupwin.c, src/testdir/test_popupwin.vim 37197 37198Patch 8.1.1811 37199Problem: Popup window color cannot be set to "Normal". 37200Solution: Check for non-empty 'wincolor' instead of zero attribute. 37201 (closes #4772) 37202Files: src/screen.c, src/testdir/test_popupwin.vim, 37203 src/testdir/dumps/Test_popupwin_20.dump, 37204 src/testdir/dumps/Test_popupwin_21.dump 37205 37206Patch 8.1.1812 37207Problem: Reading a truncated undo file hangs Vim. 37208Solution: Check for reading EOF. (closes #4769) 37209Files: src/undo.c, src/testdir/test_undo.vim 37210 37211Patch 8.1.1813 37212Problem: ATTENTION prompt for a preview popup window. 37213Solution: Close the popup window if aborting the buffer load. Avoid getting 37214 the ATTENTION dialog. 37215Files: src/tag.c, src/ex_cmds.c, src/memline.c, src/vim.h, 37216 runtime/doc/windows.txt 37217 37218Patch 8.1.1814 37219Problem: A long title in a popup window overflows. 37220Solution: Truncate the title. (closes #4770) 37221Files: src/testdir/test_popupwin.vim, src/popupwin.c, 37222 src/testdir/dumps/Test_popupwin_longtitle_1.dump, 37223 src/testdir/dumps/Test_popupwin_longtitle_2.dump 37224 37225Patch 8.1.1815 37226Problem: Duplicating info for internal functions. 37227Solution: Use one table to list internal functions. 37228Files: src/evalfunc.c 37229 37230Patch 8.1.1816 37231Problem: Cannot use a user defined function as a method. 37232Solution: Pass the base as the first argument to the user defined function 37233 after "->". (partly by FUJIWARA Takuya) 37234Files: src/eval.c, src/userfunc.c, src/testdir/test_user_func.vim, 37235 src/testdir/test_autoload.vim, 37236 src/testdir/sautest/autoload/foo.vim 37237 37238Patch 8.1.1817 37239Problem: Github contribution text is incomplete. 37240Solution: Update the text. 37241Files: CONTRIBUTING.md 37242 37243Patch 8.1.1818 37244Problem: Unused variable. 37245Solution: Remove the variable. (Mike Williams) 37246Files: src/sound.c 37247 37248Patch 8.1.1819 37249Problem: :pedit does not work with a popup preview window. 37250Solution: Avoid aborting with an error. (fixes #4777) Also double check 37251 that after prepare_tagpreview() the current window is not a 37252 popup window. 37253Files: src/ex_docmd.c, src/popupmenu.c, src/search.c, src/tag.c, 37254 src/testdir/test_popupwin.vim, 37255 src/testdir/dumps/Test_popupwin_previewpopup_6.dump, 37256 src/testdir/dumps/Test_popupwin_previewpopup_7.dump, 37257 src/testdir/dumps/Test_popupwin_previewpopup_8.dump 37258 37259Patch 8.1.1820 37260Problem: Using expr->FuncRef() does not work. 37261Solution: Make FuncRef work as a method. 37262Files: src/eval.c, src/userfunc.c, src/testdir/test_method.vim 37263 37264Patch 8.1.1821 37265Problem: No test for wrong number of method arguments. 37266Solution: Add a test. 37267Files: src/testdir/test_method.vim 37268 37269Patch 8.1.1822 37270Problem: Confusing error message when range is not allowed. 37271Solution: With ADDR_NONE give e_norange. Change e_invaddr to e_invrange for 37272 consistency. 37273Files: src/ex_docmd.c, src/globals.h, src/testdir/test_excmd.vim 37274 37275Patch 8.1.1823 37276Problem: Command line history code is spread out. 37277Solution: Put the code in a new file. (Yegappan Lakshmanan, closes #4779) 37278 Also graduate the +cmdline_hist feature. 37279Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 37280 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 37281 src/cmdhist.c, src/ex_getln.c, src/proto.h, src/proto/cmdhist.pro, 37282 src/proto/ex_getln.pro, src/version.c, src/evalfunc.c, 37283 src/ex_cmds.c, src/ex_docmd.c, src/misc2.c, src/normal.c, 37284 src/ops.c, src/option.c, src/search.c, src/tag.c, src/usercmd.c, 37285 src/viminfo.c, src/feature.h, src/globals.h 37286 37287Patch 8.1.1824 37288Problem: Crash when correctly spelled word is very long. (Ben Kraft) 37289Solution: Check word length before copying. (closes #4778) 37290Files: src/spell.c, src/testdir/test_spell.vim 37291 37292Patch 8.1.1825 37293Problem: Allocating more memory than needed for extended structs. 37294Solution: Use offsetof() instead of sizeof(). (Dominique Pelle, 37295 closes #4785) 37296Files: src/dict.c 37297 37298Patch 8.1.1826 37299Problem: Tests use hand coded feature and option checks. 37300Solution: Use the commands from check.vim in more tests. 37301Files: src/testdir/check.vim, src/testdir/shared.vim, 37302 src/testdir/test_autochdir.vim, src/testdir/test_autocmd.vim, 37303 src/testdir/test_balloon.vim, src/testdir/test_breakindent.vim, 37304 src/testdir/test_bufline.vim, src/testdir/test_cdo.vim, 37305 src/testdir/test_channel.vim, src/testdir/test_clientserver.vim, 37306 src/testdir/test_conceal.vim, src/testdir/test_cscope.vim, 37307 src/testdir/test_debugger.vim, src/testdir/test_filechanged.vim, 37308 src/testdir/test_fold.vim, src/testdir/test_functions.vim, 37309 src/testdir/test_gui.vim, src/testdir/test_gui_init.vim, 37310 src/testdir/test_highlight.vim, src/testdir/test_mapping.vim, 37311 src/testdir/test_match.vim, src/testdir/test_memory_usage.vim, 37312 src/testdir/test_options.vim, src/testdir/test_paste.vim, 37313 src/testdir/test_popup.vim, src/testdir/test_search.vim, 37314 src/testdir/test_signals.vim, src/testdir/test_startup.vim, 37315 src/testdir/test_syntax.vim, src/testdir/test_termcodes.vim, 37316 src/testdir/test_terminal.vim, src/testdir/test_timers.vim, 37317 src/testdir/test_vimscript.vim 37318 37319Patch 8.1.1827 37320Problem: Allocating more memory than needed for extended structs. 37321Solution: Use offsetof() instead of sizeof(). (Dominique Pelle, 37322 closes #4786) 37323Files: src/getchar.c, src/regexp.c, src/sign.c, src/structs.h, 37324 src/syntax.c, src/textprop.c, src/userfunc.c 37325 37326Patch 8.1.1828 37327Problem: Not strict enough checking syntax of method invocation. 37328Solution: Check there is no white space inside ->method(. 37329Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_method.vim 37330 37331Patch 8.1.1829 37332Problem: Difference in screenshots. 37333Solution: Update screenshots. Change checks in a few more tests. 37334 (closes #4789) 37335Files: src/testdir/test_balloon_gui.vim, 37336 src/testdir/test_shortpathname.vim, 37337 src/testdir/test_windows_home.vim, 37338 src/testdir/dumps/Test_popupwin_previewpopup_1.dump, 37339 src/testdir/dumps/Test_popupwin_previewpopup_2.dump, 37340 src/testdir/dumps/Test_popupwin_previewpopup_3.dump, 37341 src/testdir/dumps/Test_popupwin_previewpopup_4.dump, 37342 src/testdir/dumps/Test_popupwin_previewpopup_5.dump 37343 37344Patch 8.1.1830 37345Problem: Travis does not report error when tests fail. 37346Solution: Explicitly do "exit 1". 37347Files: .travis.yml 37348 37349Patch 8.1.1831 37350Problem: Confusing skipped message. 37351Solution: Drop "run" from "run start the GUI". 37352Files: src/testdir/check.vim 37353 37354Patch 8.1.1832 37355Problem: Win_execute() does not work in other tab. (Rick Howe) 37356Solution: Take care of the tab. (closes #4792) 37357Files: src/testdir/test_execute_func.vim, src/evalfunc.c, src/window.c, 37358 src/proto/window.pro 37359 37360Patch 8.1.1833 37361Problem: Allocating a bit too much when spellbadword() does not find a bad 37362 word. 37363Solution: Reset "len" when going to the next word. (Daniel Hahler, 37364 closes #4788) 37365Files: src/evalfunc.c 37366 37367Patch 8.1.1834 37368Problem: Cannot use a lambda as a method. 37369Solution: Implement ->{lambda}(). (closes #4768) 37370Files: runtime/doc/eval.txt, src/eval.c, src/testdir/test_method.vim 37371 37372Patch 8.1.1835 37373Problem: Cannot use printf() as a method. 37374Solution: Pass the base as the second argument to printf(). 37375Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_method.vim 37376 37377Patch 8.1.1836 37378Problem: Inaccurate memory estimate for Amiga-like OS. 37379Solution: Adjust #ifdef for AvailMem(). (Ola Söder, closes #4797) 37380Files: src/os_amiga.c 37381 37382Patch 8.1.1837 37383Problem: Popup test fails if clipboard is supported but not working. 37384Solution: Add the "clipboard_working" feature. Also use Check commands 37385 instead of "if" and "throw". And remove stray ch_logfile(). 37386Files: src/testdir/test_popupwin.vim, src/evalfunc.c, 37387 runtime/doc/eval.txt 37388 37389Patch 8.1.1838 37390Problem: There is :spellwrong and :spellgood but not :spellrare. 37391Solution: Add :spellrare. (Martin Tournoij, closes #4291) 37392Files: runtime/doc/spell.txt, src/ex_cmdidxs.h, src/ex_cmds.h, 37393 src/normal.c, src/proto/spellfile.pro, src/spellfile.c, 37394 src/spell.h, src/testdir/Make_all.mak, 37395 src/testdir/test_normal.vim, src/testdir/test_spellfile.vim 37396 37397Patch 8.1.1839 37398Problem: Insufficient info when test fails because of screen size. 37399Solution: Report the detected screen size. 37400Files: src/testdir/runtest.vim 37401 37402Patch 8.1.1840 37403Problem: Testing: WorkingClipboard() is not accurate. 37404Solution: Check feature clipboard_working instead. 37405Files: src/testdir/shared.vim, src/testdir/test_paste.vim, 37406 src/testdir/test_quotestar.vim, src/testdir/test_termcodes.vim 37407 37408Patch 8.1.1841 37409Problem: No test for Ex shift commands. 37410Solution: Add a test. (Dominique Pelle, closes #4801) 37411Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim, 37412 src/testdir/test_shift.vim 37413 37414Patch 8.1.1842 37415Problem: Test listed as flaky should no longer be flaky. 37416Solution: Remove Test_popup_and_window_resize from the list of flaky tests. 37417 (Daniel Hahler, close #4807) 37418Files: src/testdir/runtest.vim 37419 37420Patch 8.1.1843 37421Problem: Might be freeing memory that was not allocated. 37422Solution: Have next_fenc() set the fenc_alloced flag. (closes #4804) 37423Files: src/fileio.c 37424 37425Patch 8.1.1844 37426Problem: Buffer no longer unloaded when adding text properties to it. 37427Solution: Do not create the memfile. (closes #4808) 37428Files: runtime/doc/textprop.txt, src/testdir/test_textprop.vim, 37429 src/textprop.c 37430 37431Patch 8.1.1845 37432Problem: May use NULL pointer when running out of memory. 37433Solution: Do not clear popup buffers when NULL. (closes #4802) 37434Files: src/screen.c 37435 37436Patch 8.1.1846 37437Problem: Inconsistently using GetVimCommand() and v:progpath. (Daniel 37438 Hahler) 37439Solution: Use GetVimCommand(). (closes #4806) 37440Files: src/testdir/test_autocmd.vim, src/testdir/test_gui.vim, 37441 src/testdir/test_normal.vim, src/testdir/test_profile.vim, 37442 src/testdir/test_suspend.vim, src/testdir/test_system.vim, 37443 src/testdir/test_vimscript.vim 37444 37445Patch 8.1.1847 37446Problem: Suspend test is failing. 37447Solution: Do not use GetVimCommandClean(). 37448Files: src/testdir/test_suspend.vim 37449 37450Patch 8.1.1848 37451Problem: 'langmap' is not used for CTRL-W command in terminal. 37452Solution: Push the command in the typeahead buffer instead of the stuff 37453 buffer. (closes #4814) 37454Files: src/terminal.c, src/testdir/test_terminal.vim 37455 37456Patch 8.1.1849 37457problem: Some insert complete functions in the wrong file. 37458Solution: Move complete functions to insexpand.c. (Yegappan Lakshmanan, 37459 closes #4815) 37460Files: src/evalfunc.c, src/insexpand.c, src/proto/insexpand.pro 37461 37462Patch 8.1.1850 37463Problem: Focus may remain in popup window. 37464Solution: Change focus if needed. 37465Files: src/popupmnu.c 37466 37467Patch 8.1.1851 37468Problem: Crash when sound_playfile() callback plays sound. 37469Solution: Invoke callback later from event loop. 37470Files: src/testdir/test_sound.vim, src/ui.c, src/sound.c, 37471 src/proto/sound.pro, src/feature.h, src/os_unix.c, src/ex_docmd.c, 37472 src/misc2.c 37473 37474Patch 8.1.1852 37475Problem: Timers test is flaky. 37476Solution: Accept a larger count. Add test to list of flaky tests. 37477Files: src/testdir/test_timers.vim, src/testdir/runtest.vim 37478 37479Patch 8.1.1853 37480Problem: Timers test is still flaky. 37481Solution: Compute the time to sleep more accurately. 37482Files: src/ex_docmd.c 37483 37484Patch 8.1.1854 37485Problem: Now another timer test is flaky. 37486Solution: Add test to list of flaky tests. 37487Files: src/testdir/runtest.vim 37488 37489Patch 8.1.1855 37490Problem: Another failing timer test. 37491Solution: Assert that timers are finished by the end of the test. Rename 37492 test functions to make them easier to find. 37493Files: src/testdir/test_timers.vim, src/testdir/runtest.vim 37494 37495Patch 8.1.1856 37496Problem: popup preview test fails sometimes. (Christian Brabandt) 37497Solution: Clear the command line. 37498Files: src/testdir/test_popupwin.vim, 37499 src/testdir/dumps/Test_popupwin_previewpopup_6.dump 37500 37501Patch 8.1.1857 37502Problem: Cannot use modifier with multi-byte character. 37503Solution: Allow using a multi-byte character, although it doesn't work 37504 everywhere. 37505Files: src/misc2.c, src/testdir/test_mapping.vim 37506 37507Patch 8.1.1858 37508Problem: Test for multi-byte mapping fails on some systems. 37509Solution: Test in another way. 37510Files: src/testdir/test_mapping.vim 37511 37512Patch 8.1.1859 37513Problem: Timer test sometimes fails on Mac. 37514Solution: Show more info when it fails. 37515Files: src/testdir/test_timers.vim 37516 37517Patch 8.1.1860 37518Problem: Map timeout test is flaky. 37519Solution: Add test to list of flaky tests. Increase timeout. 37520Files: src/testdir/runtest.vim, src/testdir/test_mapping.vim 37521 37522Patch 8.1.1861 37523Problem: Only some assert functions can be used as a method. 37524Solution: Allow using most assert functions as a method. 37525Files: runtime/doc/testing.txt, src/evalfunc.c, 37526 src/testdir/test_assert.vim 37527 37528Patch 8.1.1862 37529Problem: Coverity warns for not using return value. 37530Solution: Add "(void)" to avoid the warning. 37531Files: src/normal.c 37532 37533Patch 8.1.1863 37534Problem: Confusing error when using a builtin function as method while it 37535 does not support that. 37536Solution: Add a specific error message. 37537Files: src/vim.h, src/evalfunc.c, src/userfunc.c, 37538 src/testdir/test_method.vim 37539 37540Patch 8.1.1864 37541Problem: Still a timer test that is flaky on Mac. 37542Solution: Adjust the sleep times. 37543Files: src/testdir/test_timers.vim 37544 37545Patch 8.1.1865 37546Problem: Spellrare and spellrepall in the wrong order. 37547Solution: Put spellrare below spellrepall. (closes #4820) 37548Files: runtime/doc/spell.txt, src/ex_cmds.h 37549 37550Patch 8.1.1866 37551Problem: Modeless selection in GUI does not work properly. 37552Solution: Avoid going beyond the end of the line. (closes #4783) 37553Files: src/ui.c 37554 37555Patch 8.1.1867 37556Problem: Still a timer test that is flaky on Mac. 37557Solution: Loop with a sleep instead of one fixed sleep. 37558Files: src/testdir/test_timers.vim 37559 37560Patch 8.1.1868 37561Problem: Multibyte characters in 'listchars' don't work correctly if 37562 'linebreak' is also enabled. (Martin Tournoij) 37563Solution: Make it work correctly. (Christian Brabandt, closes #4822, 37564 closes #4812) 37565Files: src/screen.c, src/testdir/test_listchars.vim 37566 37567Patch 8.1.1869 37568Problem: Code for the argument list is spread out. 37569Solution: Put argument list code in arglist.c. (Yegappan Lakshmanan, 37570 closes #4819) 37571Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 37572 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 37573 src/arglist.c, src/buffer.c, src/evalfunc.c, src/ex_cmds2.c, 37574 src/ex_docmd.c, src/proto.h, src/proto/arglist.pro, 37575 src/proto/buffer.pro, src/proto/ex_cmds2.pro, 37576 src/proto/ex_docmd.pro 37577 37578Patch 8.1.1870 37579Problem: Using :pedit from a help file sets the preview window to help 37580 filetype. (Wang Shidong) 37581Solution: Do not set "keep_help_flag". (closes #3536) 37582Files: src/ex_docmd.c, src/testdir/test_window_cmd.vim 37583 37584Patch 8.1.1871 (after 8.1.1866) 37585Problem: Modeless selection in GUI still not correct. 37586Solution: Fix max_col. 37587Files: src/ui.c 37588 37589Patch 8.1.1872 37590Problem: When Vim exits because of a signal, VimLeave is not triggered. 37591 (Daniel Hahler) 37592Solution: Unblock autocommands when triggering VimLeave. (closes #4818) 37593Files: src/main.c 37594 37595Patch 8.1.1873 (after 8.1.1872) 37596Problem: Cannot build tiny version. 37597Solution: Remove #ifdef for is_autocmd_blocked(). 37598Files: src/autocmd.c 37599 37600Patch 8.1.1874 37601Problem: Modeless selection in popup window overlaps scrollbar. 37602Solution: Subtract scrollbar from max_col. (closes #4773) 37603Files: src/ui.c, src/testdir/test_popupwin.vim, 37604 src/testdir/dumps/Test_popupwin_select_01.dump 37605 37606Patch 8.1.1875 37607Problem: Cannot get size and position of the popup menu. 37608Solution: Add pum_getpos(). (Ben Jackson, closes #4827) 37609Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, src/evalfunc.c, 37610 src/testdir/test_popup.vim 37611 37612Patch 8.1.1876 37613Problem: proto file missing from distribution 37614Solution: Add the file. 37615Files: Filelist 37616 37617Patch 8.1.1877 37618Problem: Graduated features scattered. 37619Solution: Put graduated and obsolete features together. 37620Files: src/feature.h 37621 37622Patch 8.1.1878 37623Problem: Negative float before method not parsed correctly. 37624Solution: Apply "!" and "-" in front of expression before using ->. 37625Files: src/eval.c, src/proto/eval.pro, src/userfunc.c, 37626 src/testdir/test_method.vim 37627 37628Patch 8.1.1879 37629Problem: More functions can be used as methods. 37630Solution: Make float functions usable as a method. 37631Files: runtime/doc/eval.txt, src/evalfunc.c, 37632 src/testdir/test_float_func.vim 37633 37634Patch 8.1.1880 37635Problem: Cannot show extra info for completion in a popup window. 37636Solution: Add the "popup" entry in 'completeopt'. 37637Files: runtime/doc/options.txt, src/popupmnu.c, src/ex_cmds.c, 37638 src/proto/ex_cmds.pro, src/ex_docmd.c, src/search.c, src/tag.c, 37639 src/popupwin.c, src/proto/popupwin.pro, src/option.c, src/vim.h, 37640 src/testdir/test_popupwin.vim, 37641 src/testdir/dumps/Test_popupwin_infopopup_1.dump, 37642 src/testdir/dumps/Test_popupwin_infopopup_2.dump, 37643 src/testdir/dumps/Test_popupwin_infopopup_3.dump, 37644 src/testdir/dumps/Test_popupwin_infopopup_4.dump 37645 37646Patch 8.1.1881 37647Problem: Popup window test fails in some configurations. 37648Solution: Check that screendumps can be made. 37649Files: src/testdir/test_popupwin.vim 37650 37651Patch 8.1.1882 37652Problem: Cannot specify properties of the info popup window. 37653Solution: Add the 'completepopup' option. Default to PmenuSel highlight. 37654Files: runtime/doc/options.txt, runtime/doc/insert.txt, src/option.c, 37655 src/popupwin.c, src/proto/popupwin.pro, src/option.h, 37656 src/testdir/test_popupwin.vim, src/screen.c, 37657 src/testdir/dumps/Test_popupwin_infopopup_1.dump, 37658 src/testdir/dumps/Test_popupwin_infopopup_2.dump, 37659 src/testdir/dumps/Test_popupwin_infopopup_3.dump 37660 37661Patch 8.1.1883 37662Problem: Options test fails. 37663Solution: Add entry for 'completepopup'. 37664Files: src/testdir/gen_opt_test.vim 37665 37666Patch 8.1.1884 37667Problem: Cannot use mouse scroll wheel in popup in Insert mode. Mouse 37668 clicks in popup close the popup menu. 37669Solution: Check if the mouse is in a popup window. Do not let mouse events 37670 close the popup menu. (closes #4544) 37671Files: src/edit.c, src/popupmnu.c, src/insexpand.c 37672 37673Patch 8.1.1885 37674Problem: Comments in libvterm are inconsistent. 37675Solution: Use // comments. Also update the table of combining characters. 37676Files: src/libvterm/bin/unterm.c, src/libvterm/bin/vterm-ctrl.c, 37677 src/libvterm/bin/vterm-dump.c, src/libvterm/include/vterm.h, 37678 src/libvterm/include/vterm_keycodes.h, 37679 src/libvterm/src/encoding.c, src/libvterm/src/keyboard.c, 37680 src/libvterm/src/mouse.c, src/libvterm/src/parser.c, 37681 src/libvterm/src/pen.c, src/libvterm/src/rect.h, 37682 src/libvterm/src/state.c, src/libvterm/src/unicode.c, 37683 src/libvterm/src/utf8.h, src/libvterm/src/vterm.c, 37684 src/libvterm/src/vterm_internal.h, src/libvterm/src/termscreen.c 37685 37686Patch 8.1.1886 37687Problem: Command line expansion code is spread out. 37688Solution: Move the code to cmdexpand.c. (Yegappan Lakshmanan, closes #4831) 37689Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 37690 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 37691 src/cmdexpand.c, src/evalfunc.c, src/ex_getln.c, src/proto.h, 37692 src/proto/cmdexpand.pro, src/proto/ex_getln.pro, src/structs.h 37693 37694Patch 8.1.1887 37695Problem: The +cmdline_compl feature is not in the tiny version. 37696Solution: Graduate the +cmdline_compl feature. 37697Files: src/cmdexpand.c, src/arglist.c, src/autocmd.c, src/buffer.c, 37698 src/cmdhist.c, src/eval.c, src/evalfunc.c, src/ex_cmds2.c, 37699 src/ex_docmd.c, src/ex_getln.c, src/feature.h, src/highlight.c, 37700 src/if_cscope.c, src/map.c, src/menu.c, src/misc1.c, src/misc2.c, 37701 src/option.c, src/sign.c, src/syntax.c, src/tag.c, src/term.c, 37702 src/usercmd.c, src/userfunc.c, src/version.c, src/globals.h, 37703 src/option.h, src/structs.h, runtime/doc/cmdline.txt 37704 37705Patch 8.1.1888 37706Problem: More functions can be used as methods. 37707Solution: Make various functions usable as a method. 37708Files: runtime/doc/eval.txt, src/evalfunc.c, 37709 src/testdir/test_vimscript.vim, src/testdir/test_balloon_gui.vim, 37710 src/testdir/test_popup.vim, src/testdir/test_functions.vim, 37711 src/testdir/test_hide.vim, src/testdir/test_arglist.vim 37712 37713Patch 8.1.1889 37714Problem: Coverity warns for using a NULL pointer. 37715Solution: Use zero for column if pos is NULL. 37716Files: src/netbeans.c 37717 37718Patch 8.1.1890 37719Problem: Ml_get error when deleting fold marker. 37720Solution: Check that the line number is not below the last line. Adjust the 37721 fold when deleting the empty line. (Christian Brabandt, 37722 closes #4834) 37723Files: src/fold.c, src/normal.c, src/testdir/test_fold.vim 37724 37725Patch 8.1.1891 37726Problem: Functions used in one file are global. 37727Solution: Add "static". (Yegappan Lakshmanan, closes #4840) 37728Files: src/autocmd.c, src/buffer.c, src/change.c, src/channel.c, 37729 src/charset.c, src/dict.c, src/digraph.c, src/eval.c, 37730 src/ex_cmds.c, src/ex_eval.c, src/fileio.c, src/findfile.c, 37731 src/getchar.c, src/gui.c, src/indent.c, src/json.c, src/list.c, 37732 src/mark.c, src/menu.c, src/message.c, src/misc1.c, src/misc2.c, 37733 src/ops.c, src/option.c, src/popupwin.c, src/profiler.c, 37734 src/proto/autocmd.pro, src/proto/buffer.pro, src/proto/change.pro, 37735 src/proto/channel.pro, src/proto/charset.pro, src/proto/dict.pro, 37736 src/proto/eval.pro, src/proto/ex_cmds.pro, src/proto/ex_eval.pro, 37737 src/proto/fileio.pro, src/proto/findfile.pro, 37738 src/proto/getchar.pro, src/proto/gui.pro, src/proto/indent.pro, 37739 src/proto/json.pro, src/proto/list.pro, src/proto/mark.pro, 37740 src/proto/menu.pro, src/proto/message.pro, src/proto/misc1.pro, 37741 src/proto/misc2.pro, src/proto/ops.pro, src/proto/option.pro, 37742 src/proto/popupwin.pro, src/proto/profiler.pro, 37743 src/proto/quickfix.pro, src/proto/spell.pro, src/proto/term.pro, 37744 src/proto/textprop.pro, src/proto/ui.pro, src/proto/undo.pro, 37745 src/proto/window.pro, src/quickfix.c, src/regexp.c, src/spell.c, 37746 src/term.c, src/textprop.c, src/ui.c, src/undo.c, src/window.c 37747 37748Patch 8.1.1892 37749Problem: Missing index entry and option menu for 'completepopup'. 37750Solution: Add the entries. Adjust #ifdefs to avoid dead code. 37751Files: runtime/doc/quickref.txt, runtime/optwin.vim, src/option.c, 37752 src/option.h, src/popupwin.c 37753 37754Patch 8.1.1893 37755Problem: Script to summarize test results can be improved. 37756Solution: Use "silent" for substitute to avoid reporting number of matches. 37757 Remove duplicate "set nocp". (Daniel Hahler, closes #4845) 37758Files: src/testdir/summarize.vim 37759 37760Patch 8.1.1894 37761Problem: Not checking for out-of-memory of autoload_name(). 37762Solution: Check for NULL. (Dominique Pelle, closes #4846) 37763Files: src/eval.c 37764 37765Patch 8.1.1895 37766Problem: Using NULL pointer when out of memory. 37767Solution: Bail out or skip the code using the pointer. (Zu-Ming Jiang, 37768 closes #4805, closes #4843, closes #4939, closes #4844) 37769Files: src/message.c, src/highlight.c, src/buffer.c, src/ops.c 37770 37771Patch 8.1.1896 37772Problem: Compiler warning for unused variable. 37773Solution: Add #ifdef. (John Marriott) Missing part of 8.1.1892. 37774Files: src/popupmnu.c 37775 37776Patch 8.1.1897 37777Problem: May free memory twice when out of memory. 37778Solution: Check that backslash_halve_save() returns a different pointer. 37779 (Dominique Pelle, closes #4847) 37780Files: src/cmdexpand.c, src/misc1.c 37781 37782Patch 8.1.1898 37783Problem: Crash when out of memory during startup. 37784Solution: When out of memory message given during initialisation bail out. 37785 (closes #4842) 37786Files: src/misc2.c 37787 37788Patch 8.1.1899 37789Problem: sign_place() does not work as documented. 37790Solution: Make it accept line numbers like line(). (Yegappan Lakshmanan, 37791 closes #4848) 37792Files: src/sign.c, src/testdir/test_signs.vim 37793 37794Patch 8.1.1900 37795Problem: Sign test fails in the GUI. 37796Solution: Catch and ignore the exception. 37797Files: src/testdir/test_signs.vim 37798 37799Patch 8.1.1901 37800Problem: The +insert_expand feature is not always available. 37801Solution: Graduate the +insert_expand feature. 37802Files: src/feature.h, src/autocmd.c, src/buffer.c, src/change.c, 37803 src/charset.c, src/edit.c, src/evalfunc.c, src/ex_cmds.c, 37804 src/ex_getln.c, src/getchar.c, src/gui.c, src/highlight.c, 37805 src/indent.c, src/insexpand.c, src/misc2.c, src/move.c, 37806 src/option.c, src/popupmnu.c, src/screen.c, src/search.c, 37807 src/spell.c, src/tag.c, src/term.c, src/userfunc.c, src/version.c, 37808 src/globals.h, src/option.h, src/proto.h, src/structs.h, 37809 src/vim.h, runtime/doc/change.txt, runtime/doc/index.txt, 37810 runtime/doc/insert.txt, runtime/doc/options.txt 37811 37812Patch 8.1.1902 37813Problem: Cannot have an info popup without a border. 37814Solution: Add the "border" item to 'completepopup'. 37815Files: src/popupwin.c, src/proto/popupwin.pro, src/popupmnu.c, 37816 src/testdir/test_popupwin.vim, src/testdir/gen_opt_test.vim, 37817 src/testdir/dumps/Test_popupwin_infopopup_nb_1.dump 37818 37819Patch 8.1.1903 37820Problem: Cannot build without the +eval feature. 37821Solution: Add missing #ifdefs 37822Files: src/insexpand.c, src/popupmnu.c 37823 37824Patch 8.1.1904 37825Problem: Cannot have an info popup align with the popup menu. 37826Solution: Add the "align" item to 'completepopup'. 37827Files: src/popupwin.c, src/popupmnu.c, src/vim.h, 37828 runtime/doc/insert.txt, src/testdir/test_popupwin.vim, 37829 src/testdir/dumps/Test_popupwin_infopopup_align_1.dump, 37830 src/testdir/dumps/Test_popupwin_infopopup_align_2.dump, 37831 src/testdir/dumps/Test_popupwin_infopopup_align_3.dump 37832 37833Patch 8.1.1905 37834Problem: Cannot set all properties of the info popup. 37835Solution: Add popup_findinfo(). Rename popup_getpreview() to 37836 popup_findpreview(). 37837Files: src/popupwin.c, src/proto/popupwin.pro, src/ex_cmds.c, 37838 src/ex_docmd.c, src/popupmnu.c, src/evalfunc.c, 37839 runtime/doc/popup.txt, src/testdir/test_popupwin.vim, 37840 src/testdir/dumps/Test_popupwin_infopopup_align_3.dump 37841 37842Patch 8.1.1906 37843Problem: Info popup size is sometimes incorrect. 37844Solution: Compute the position and size after setting the content. 37845Files: src/popupmnu.c 37846 37847Patch 8.1.1907 37848Problem: Wrong position for info popup with scrollbar on the left. 37849Solution: Take the scrollbar into account. 37850Files: src/popupwin.c, src/testdir/test_popupwin.vim, 37851 src/testdir/dumps/Test_popupwin_infopopup_5.dump, 37852 src/testdir/dumps/Test_popupwin_cursorline_3.dump, 37853 src/testdir/dumps/Test_popupwin_cursorline_4.dump, 37854 src/testdir/dumps/Test_popupwin_cursorline_5.dump, 37855 src/testdir/dumps/Test_popupwin_cursorline_6.dump, 37856 src/testdir/dumps/Test_popupwin_menu_filter_1.dump, 37857 src/testdir/dumps/Test_popupwin_menu_filter_2.dump, 37858 src/testdir/dumps/Test_popupwin_menu_filter_3.dump, 37859 src/testdir/dumps/Test_popupwin_menu_filter_4.dump 37860 37861Patch 8.1.1908 37862Problem: Every popup window consumes a buffer number. 37863Solution: Recycle buffers only used for popup windows. Do not list popup 37864 window buffers. 37865Files: src/popupwin.c, src/window.c, src/vim.h, src/buffer.c, 37866 src/proto/buffer.pro, src/ex_docmd.c, 37867 src/testdir/test_popupwin.vim 37868 37869Patch 8.1.1909 37870Problem: More functions can be used as methods. 37871Solution: Make a few more functions usable as a method. 37872Files: runtime/doc/eval.txt, runtime/doc/testing.txt, src/evalfunc.c, 37873 src/testdir/test_popupwin.vim, src/testdir/test_bufwintabinfo.vim, 37874 src/testdir/test_bufline.vim, src/testdir/test_assert.vim 37875 37876Patch 8.1.1910 37877Problem: Redrawing too much when toggling 'relativenumber'. 37878Solution: Only clear when 'signcolumn' is set to "number". (Yegappan 37879 Lakshmanan, closes #4852) 37880Files: src/option.c 37881 37882Patch 8.1.1911 37883Problem: More functions can be used as methods. 37884Solution: Make a few more functions usable as a method. 37885Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test69.in, 37886 src/testdir/test69.ok, src/testdir/test_functions.vim 37887 37888Patch 8.1.1912 37889Problem: More functions can be used as methods. 37890Solution: Make channel and job functions usable as a method. 37891Files: runtime/doc/channel.txt, src/evalfunc.c, 37892 src/testdir/test_channel.vim 37893 37894Patch 8.1.1913 37895Problem: Not easy to compute the space on the command line. 37896Solution: Add v:echospace. (Daniel Hahler, closes #4732) 37897Files: src/vim.h, src/eval.c, src/option.c, runtime/doc/eval.txt, 37898 src/testdir/test_messages.vim 37899 37900Patch 8.1.1914 37901Problem: Command line expansion code is spread out. 37902Solution: Move set_one_cmd_context(). (Yegappan Lakshmanan, closes #4855) 37903Files: src/cmdexpand.c, src/ex_docmd.c, src/proto/ex_docmd.pro 37904 37905Patch 8.1.1915 37906Problem: More functions can be used as methods. 37907Solution: Make various functions usable as a method. 37908Files: runtime/doc/eval.txt, src/evalfunc.c, 37909 src/testdir/test_functions.vim, src/testdir/test_cd.vim, 37910 src/testdir/test_cindent.vim, src/testdir/test_match.vim, 37911 src/testdir/test_popup.vim, src/testdir/test_cursor_func.vim, 37912 src/testdir/test_method.vim, src/testdir/test_bufline.vim, 37913 src/testdir/test_diffmode.vim 37914 37915Patch 8.1.1916 37916Problem: Trying to allocate negative amount of memory when closing a popup. 37917Solution: Check the rows are not out of bounds. Don't finish a selection if 37918 it was never started. 37919Files: src/ui.c 37920 37921Patch 8.1.1917 37922Problem: Non-current window is not redrawn when moving popup. (Ben Jackson) 37923Solution: Redraw all windows under a popup. (closes #4860) 37924Files: src/popupwin.c, src/testdir/test_popupwin.vim, 37925 src/testdir/dumps/Test_popupwin_drag_01.dump, 37926 src/testdir/dumps/Test_popupwin_drag_02.dump, 37927 src/testdir/dumps/Test_popupwin_drag_03.dump 37928 37929Patch 8.1.1918 37930Problem: Redrawing popups is inefficient. 37931Solution: Fix the logic to compute what window lines to redraw. Make it 37932 work below the last line. Remove redrawing all windows. 37933Files: src/popupwin.c 37934 37935Patch 8.1.1919 37936Problem: Using current window option values when passing a buffer to 37937 popup_create(). 37938Solution: Clear the window-local options. (closes #4857) 37939Files: src/option.c, src/proto/option.pro, src/popupwin.c, 37940 src/testdir/test_popupwin.vim 37941 37942Patch 8.1.1920 37943Problem: Cannot close a popup by the X when a filter consumes all events. 37944Solution: Check for a click on the close button before invoking filters. 37945 (closes #4858) 37946Files: src/popupwin.c, src/proto/popupwin.pro, src/ui.c, 37947 src/testdir/test_popupwin.vim, 37948 src/testdir/dumps/Test_popupwin_close_04.dump, 37949 src/testdir/dumps/Test_popupwin_close_05.dump 37950 37951Patch 8.1.1921 37952Problem: More functions can be used as methods. 37953Solution: Make various functions usable as a method. 37954Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_expand.vim, 37955 src/testdir/test_expand_func.vim, src/testdir/test_expr.vim, 37956 src/testdir/test_findfile.vim, src/testdir/test_fnameescape.vim, 37957 src/testdir/test_fnamemodify.vim, src/testdir/test_fold.vim, 37958 src/testdir/test_functions.vim, src/testdir/test_search.vim, 37959 src/testdir/test_vimscript.vim 37960 37961Patch 8.1.1922 37962Problem: In diff mode global operations can be very slow. 37963Solution: Do not call diff_redraw() many times, call it once when redrawing. 37964 And also don't update folds multiple times. 37965Files: src/globals.h, src/diff.c, src/proto/diff.pro, src/screen.c, 37966 src/fold.c 37967 37968Patch 8.1.1923 37969Problem: Some source files are not in a normal encoding. 37970Solution: Convert hangulin.c from euc-kr to utf-8 and digraph.c from latin1 37971 to utf-8. (Daniel Hahler, closes #4731) 37972Files: src/hangulin.c, src/digraph.c, .travis.yml 37973 37974Patch 8.1.1924 37975Problem: Using empty string for current buffer is unexpected. 37976Solution: Make the argument optional for bufname() and bufnr(). 37977Files: src/evalfunc.c, src/testdir/test_arglist.vim, runtime/doc/eval.txt 37978 37979Patch 8.1.1925 37980Problem: More functions can be used as methods. 37981Solution: Make various functions usable as a method. 37982Files: runtime/doc/eval.txt, src/evalfunc.c, 37983 src/testdir/test_bufline.vim, src/testdir/test_bufwintabinfo.vim, 37984 src/testdir/test_cd.vim, src/testdir/test_changelist.vim, 37985 src/testdir/test_cmdline.vim, src/testdir/test_edit.vim, 37986 src/testdir/test_environ.vim, src/testdir/test_file_perm.vim, 37987 src/testdir/test_getvar.vim, src/testdir/test_jumplist.vim, 37988 src/testdir/test_put.vim, src/testdir/test_stat.vim 37989 37990Patch 8.1.1926 37991Problem: Cursorline not redrawn when putting a line above the cursor. 37992Solution: Redraw when the cursor line is below a change. (closes #4862) 37993Files: src/change.c 37994 37995Patch 8.1.1927 37996Problem: Code for dealing with script files is spread out. 37997Solution: Move the code to scriptfile.c. (Yegappan Lakshmanan, closes #4861) 37998Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 37999 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 38000 src/cmdexpand.c, src/ex_cmds2.c, src/proto.h, 38001 src/proto/ex_cmds2.pro, src/proto/scriptfile.pro, src/scriptfile.c 38002 38003Patch 8.1.1928 38004Problem: Popup windows don't move with the text when making changes. 38005Solution: Add the 'textprop' property to the popup window options, position 38006 the popup relative to a text property. (closes #4560) 38007 No tests yet. 38008Files: runtime/doc/popup.txt, src/textprop.c, src/proto/textprop.pro, 38009 src/structs.h, src/popupwin.c, src/proto/popupwin.pro, src/move.c, 38010 src/proto/move.pro, src/window.c 38011 38012Patch 8.1.1929 38013Problem: No tests for text property popup window. 38014Solution: Add a few tests. 38015Files: src/testdir/Make_all.mak, src/textprop.c, 38016 src/testdir/test_popupwin_textprop.vim, 38017 src/testdir/dumps/Test_popup_textprop_01.dump, 38018 src/testdir/dumps/Test_popup_textprop_02.dump, 38019 src/testdir/dumps/Test_popup_textprop_03.dump, 38020 src/testdir/dumps/Test_popup_textprop_04.dump, 38021 src/testdir/dumps/Test_popup_textprop_05.dump, 38022 src/testdir/dumps/Test_popup_textprop_06.dump 38023 38024Patch 8.1.1930 38025Problem: Cannot recognize .jsx and .tsx files. 38026Solution: Recognize them as javascriptreact and typescriptreact. 38027 (closes #4830) 38028Files: runtime/filetype.vim, src/testdir/test_filetype.vim, 38029 runtime/syntax/javascriptreact.vim, 38030 runtime/indent/javascriptreact.vim, 38031 runtime/ftplugin/javascriptreact.vim 38032 38033Patch 8.1.1931 (after 8.1.1930) 38034Problem: Syntax test fails. 38035Solution: Add new javascriptreact type to completions. 38036Files: src/testdir/test_syntax.vim 38037 38038Patch 8.1.1932 38039Problem: Ml_get errors after using append(). (Alex Genco) 38040Solution: Do not update the cursor twice. (closes #1737) 38041Files: src/evalfunc.c, src/testdir/test_functions.vim 38042 38043Patch 8.1.1933 38044Problem: The eval.c file is too big. 38045Solution: Move code related to variables to evalvars.c. (Yegappan 38046 Lakshmanan, closes #4868) 38047Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 38048 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 38049 src/eval.c, src/evalfunc.c, src/evalvars.c, src/globals.h, 38050 src/proto.h, src/proto/eval.pro, src/proto/evalvars.pro, src/vim.h 38051 38052Patch 8.1.1934 38053Problem: Not enough tests for text property popup window. 38054Solution: Add a few more tests. 38055Files: src/popupwin.c, src/testdir/test_popupwin_textprop.vim, 38056 src/testdir/dumps/Test_popup_textprop_corn_1.dump, 38057 src/testdir/dumps/Test_popup_textprop_corn_2.dump, 38058 src/testdir/dumps/Test_popup_textprop_corn_3.dump, 38059 src/testdir/dumps/Test_popup_textprop_corn_4.dump 38060 38061Patch 8.1.1935 (after 8.1.1934) 38062Problem: Test for text property popup window is flaky. 38063Solution: Remove the undo message 38064Files: src/testdir/test_popupwin_textprop.vim, 38065 src/testdir/dumps/Test_popup_textprop_corn_4.dump 38066 38067Patch 8.1.1936 38068Problem: Not enough tests for text property popup window. 38069Solution: Add a few more tests. Make negative offset work. Close all 38070 popups when window closes. 38071Files: src/popupwin.c, src/testdir/test_popupwin_textprop.vim, 38072 src/testdir/dumps/Test_popup_textprop_07.dump, 38073 src/testdir/dumps/Test_popup_textprop_off_1.dump, 38074 src/testdir/dumps/Test_popup_textprop_off_2.dump, 38075 src/testdir/dumps/Test_popup_textprop_corn_5.dump, 38076 src/testdir/dumps/Test_popup_textprop_corn_6.dump 38077 38078Patch 8.1.1937 (after 8.1.1930) 38079Problem: Errors when using javascriptreact. 38080Solution: Use ":runtime" instead of ":source". (closes #4875) 38081Files: runtime/syntax/javascriptreact.vim, 38082 runtime/indent/javascriptreact.vim, 38083 runtime/ftplugin/javascriptreact.vim 38084 38085Patch 8.1.1938 38086Problem: May crash when out of memory. 38087Solution: Initialize v_type to VAR_UNKNOWN. (Dominique Pelle, closes #4871) 38088Files: src/userfunc.c 38089 38090Patch 8.1.1939 38091Problem: Code for handling v: variables in generic eval file. 38092Solution: Move v: variables to evalvars.c. (Yegappan Lakshmanan, 38093 closes #4872) 38094Files: src/eval.c, src/evalvars.c, src/proto/eval.pro, 38095 src/proto/evalvars.pro 38096 38097Patch 8.1.1940 (after 8.1.1939) 38098Problem: Script tests fail. 38099Solution: Don't set vimvars type in set_vim_var_nr(). 38100Files: src/eval.c, src/evalvars.c, src/proto/evalvars.pro 38101 38102Patch 8.1.1941 38103Problem: getftype() test fails on Mac. 38104Solution: Skip /dev/fd/. 38105Files: src/testdir/test_stat.vim 38106 38107Patch 8.1.1942 38108Problem: Shadow directory gets outdated when files are added. 38109Solution: Add the "shadowupdate" target and add a few comments. 38110Files: src/Makefile 38111 38112Patch 8.1.1943 38113Problem: More code can be moved to evalvars.c. 38114Solution: Move it, clean up comments. Also move some window related 38115 functions to window.c. (Yegappan Lakshmanan, closes #4874) 38116Files: src/eval.c, src/evalfunc.c, src/evalvars.c, src/proto/eval.pro, 38117 src/proto/evalvars.pro, src/proto/window.pro, src/window.c 38118 38119Patch 8.1.1944 38120Problem: Leaking memory when using sound callback. 38121Solution: Free the callback queue item. 38122Files: src/sound.c 38123 38124Patch 8.1.1945 38125Problem: Popup window "firstline" cannot be reset. 38126Solution: Allow for setting "firstline" to zero. Fix that the text jumps to 38127 the top when using win_execute(). (closes #4876) 38128Files: src/popupwin.c, src/testdir/test_popupwin.vim, 38129 src/testdir/dumps/Test_popupwin_scroll_5.dump, 38130 src/testdir/dumps/Test_popupwin_scroll_6.dump 38131 38132Patch 8.1.1946 38133Problem: Memory error when profiling a function without a script ID. 38134Solution: Check for missing script ID. (closes #4877) 38135Files: src/testdir/test_profile.vim, src/profiler.c 38136 38137Patch 8.1.1947 38138Problem: When executing one test the report doesn't show it. 38139Solution: Adjust the regexp. (Daniel Hahler, closes #4879) 38140Files: src/testdir/summarize.vim 38141 38142Patch 8.1.1948 38143Problem: Mouse doesn't work in Linux console and causes 100% CPU. (James P. 38144 Harvey) 38145Solution: Loop in WaitForCharOrMouse() when gpm_process_wanted is set. 38146 (closes #4828) 38147Files: src/os_unix.c 38148 38149Patch 8.1.1949 38150Problem: Cannot scroll a popup window to the very bottom. 38151Solution: Scroll to the bottom when the "firstline" property was set to -1. 38152 (closes #4577) Allow resetting min/max width/height. 38153Files: src/popupwin.c, src/testdir/test_popupwin.vim, 38154 src/dict.c, src/proto/dict.pro, 38155 src/testdir/dumps/Test_popupwin_firstline.dump, 38156 src/testdir/dumps/Test_popupwin_firstline_1.dump, 38157 src/testdir/dumps/Test_popupwin_firstline_2.dump, 38158 src/testdir/dumps/Test_popupwin_scroll_10.dump 38159 38160Patch 8.1.1950 38161Problem: Using NULL pointer after an out-of-memory. 38162Solution: Check for NULL pointer. (Dominique Pelle, closes #4881) 38163Files: src/syntax.c 38164 38165Patch 8.1.1951 38166Problem: Mouse double click test is a bit flaky. 38167Solution: Add to list of flaky tests. Update a couple of comments. 38168Files: src/testdir/runtest.vim, src/testdir/shared.vim, 38169 src/testdir/test_substitute.vim 38170 38171Patch 8.1.1952 38172Problem: More functions can be used as a method. 38173Solution: Allow more functions to be used as a method. 38174Files: runtime/doc/eval.txt, src/evalfunc.c, 38175 src/testdir/test_tagjump.vim, src/testdir/test_bufwintabinfo.vim, 38176 src/testdir/test_terminal.vim, src/testdir/test_getvar.vim, 38177 src/testdir/test_escaped_glob.vim, 38178 src/testdir/test_glob2regpat.vim 38179 38180Patch 8.1.1953 38181Problem: More functions can be used as a method. 38182Solution: Allow more functions to be used as a method. 38183Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_blob.vim, 38184 src/testdir/test_breakindent.vim, src/testdir/test_delete.vim, 38185 src/testdir/test_functions.vim, src/testdir/test_getcwd.vim, 38186 src/testdir/test_history.vim, src/testdir/test_listdict.vim, 38187 src/testdir/test_syn_attr.vim, src/testdir/test_termcodes.vim, 38188 src/testdir/test_true_false.vim 38189 38190Patch 8.1.1954 38191Problem: More functions can be used as a method. 38192Solution: Allow more functions to be used as a method. 38193Files: runtime/doc/eval.txt, src/evalfunc.c, 38194 src/testdir/test_arglist.vim, src/testdir/test_functions.vim, 38195 src/testdir/test_json.vim, src/testdir/test_lispwords.vim, 38196 src/testdir/test_listener.vim, src/testdir/test_lua.vim, 38197 src/testdir/test_utf8.vim 38198 38199Patch 8.1.1955 38200Problem: Tests contain typos. 38201Solution: Correct the typos. (Dominique Pelle) 38202Files: src/testdir/popupbounce.vim, src/testdir/runtest.vim, 38203 src/testdir/screendump.vim, src/testdir/test49.vim, 38204 src/testdir/test_autocmd.vim, src/testdir/test_cindent.vim, 38205 src/testdir/test_const.vim, src/testdir/test_popupwin.vim, 38206 src/testdir/test_quickfix.vim, src/testdir/test_search.vim, 38207 src/testdir/test_tabpage.vim, src/testdir/test_tcl.vim 38208 38209Patch 8.1.1956 38210Problem: Screenshot tests may use a different encoding. (Dominique Pelle) 38211Solution: Always set 'encoding' to "utf-8" when running Vim in a terminal. 38212 (closes #4884) 38213Files: src/testdir/shared.vim, src/testdir/test_popupwin.vim, 38214 src/testdir/dumps/Test_popupwin_behind.dump 38215 38216Patch 8.1.1957 38217Problem: More code can be moved to evalvars.c. 38218Solution: Move code to where it fits better. (Yegappan Lakshmanan, 38219 closes #4883) 38220Files: src/eval.c, src/evalvars.c, src/ex_getln.c, src/globals.h, 38221 src/if_py_both.h, src/proto/eval.pro, src/proto/evalvars.pro, 38222 src/proto/ex_getln.pro, src/proto/scriptfile.pro, 38223 src/scriptfile.c, src/session.c, src/viminfo.c 38224 38225Patch 8.1.1958 38226Problem: Old style comments taking up space. 38227Solution: Change to new style comments. 38228Files: src/vim.h 38229 38230Patch 8.1.1959 38231Problem: When using "firstline" in popup window text may jump when 38232 redrawing it. (Nick Jensen) 38233Solution: Set 'scrolloff' to zero in a popup window. (closes #4882) 38234Files: src/popupwin.c, src/testdir/test_popupwin.vim, 38235 src/testdir/dumps/Test_popupwin_scroll_5.dump, 38236 src/testdir/dumps/Test_popupwin_scroll_6.dump 38237 38238Patch 8.1.1960 38239Problem: Fold code is spread out. 38240Solution: Move fold functions to fold.c. 38241Files: src/evalfunc.c, src/fold.c, src/proto/fold.pro 38242 38243Patch 8.1.1961 38244Problem: More functions can be used as a method. 38245Solution: Allow more functions to be used as a method. Add a test for 38246 mapcheck(). 38247Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test70.in, 38248 src/testdir/test_functions.vim, src/testdir/test_getcwd.vim, 38249 src/testdir/test_maparg.vim, src/testdir/test_match.vim 38250 38251Patch 8.1.1962 38252Problem: Leaking memory when using tagfunc(). 38253Solution: Free the user_data. (Dominique Pelle, closes #4886) 38254Files: src/window.c 38255 38256Patch 8.1.1963 38257Problem: Popup window filter may be called recursively when using a Normal 38258 mode command. (Nick Jensen) 38259Solution: Prevent recursiveness. (closes #4887) Also restore KeyTyped. 38260Files: src/popupwin.c, src/testdir/test_popupwin.vim 38261 38262Patch 8.1.1964 38263Problem: Crash when using nested map() and filter(). 38264Solution: Do not set the v:key type to string without clearing the pointer. 38265 (closes #4888) 38266Files: src/eval.c, src/testdir/test_filter_map.vim 38267 38268Patch 8.1.1965 38269Problem: The search count message is not displayed when using a mapping. 38270 (Gary Johnson) 38271Solution: Ignore cmd_silent for showing the search count. (Christian 38272 Brabandt) 38273Files: src/search.c 38274 38275Patch 8.1.1966 38276Problem: Some code in options.c fits better elsewhere. 38277Solution: Move functions from options.c to other files. (Yegappan 38278 Lakshmanan, closes #4889) 38279Files: src/evalfunc.c, src/globals.h, src/indent.c, src/map.c, 38280 src/option.c, src/proto/map.pro, src/proto/option.pro, 38281 src/proto/quickfix.pro, src/proto/screen.pro, src/proto/spell.pro, 38282 src/proto/window.pro, src/quickfix.c, src/screen.c, src/spell.c, 38283 src/window.c 38284 38285Patch 8.1.1967 38286Problem: Line() only works for the current window. 38287Solution: Add an optional argument for the window to use. 38288Files: runtime/eval.txt, src/evalfunc.c, src/testdir/test_popupwin.vim 38289 38290Patch 8.1.1968 38291Problem: Crash when using nested map(). 38292Solution: Clear the pointer in prepare_vimvar(). (Ozaki Kiichi, 38293 closes #4890, closes #4891) 38294Files: src/evalvars.c, src/testdir/test_filter_map.vim, 38295 src/testdir/test_functions.vim 38296 38297Patch 8.1.1969 38298Problem: Popup window filter is used in all modes. 38299Solution: Add the "filtermode" property. 38300Files: src/popupwin.c, src/vim.h, src/map.c, src/proto/map.pro, 38301 src/structs.h, runtime/doc/popup.txt, 38302 src/testdir/test_popupwin.vim 38303 38304Patch 8.1.1970 38305Problem: Search stat space wrong, no test for 8.1.1965. 38306Solution: Fix check for cmd_silent. Add a test. (Christian Brabandt) 38307Files: src/search.c, src/testdir/test_search_stat.vim 38308 38309Patch 8.1.1971 38310Problem: Manually enabling features causes build errors. (John Marriott) 38311Solution: Adjust #ifdefs. 38312Files: src/proto.h, src/popupmnu.c, src/buffer.c, src/quickfix.c, 38313 src/ui.c 38314 38315Patch 8.1.1972 38316Problem: No proper test for getchar(). 38317Solution: Add a test with special characters. 38318Files: src/testdir/test_functions.vim 38319 38320Patch 8.1.1973 38321Problem: Cannot build without the quickfix feature. 38322Solution: Remove #ifdef for qf_info_T. 38323Files: src/structs.h 38324 38325Patch 8.1.1974 38326Problem: Coverity warns for using pointer as array. 38327Solution: Call var2fpos() directly instead of using f_line(). 38328Files: src/evalfunc.c 38329 38330Patch 8.1.1975 38331Problem: MS-Windows GUI responds slowly to timer. 38332Solution: Break out of wait loop when timer was added or input is available. 38333 (closes #4893) 38334Files: src/gui_w32.c 38335 38336Patch 8.1.1976 38337Problem: Travis log always shows test output. 38338Solution: Change script to avoid if/else. (Ozaki Kiichi, closes #4892) 38339Files: .travis.yml 38340 38341Patch 8.1.1977 38342Problem: Terminal debugger plugin may hang. 38343Solution: Wait longer when still reading symbols. 38344Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 38345 38346Patch 8.1.1978 38347Problem: The eval.c file is too big. 38348Solution: Move filter() and map() to list.c. 38349Files: src/eval.c, src/proto/eval.pro, src/list.c, src/proto/list.pro, 38350 src/evalfunc.c 38351 38352Patch 8.1.1979 38353Problem: Code for handling file names is spread out. 38354Solution: Move code to new filepath.c file. Graduate FEAT_MODIFY_FNAME. 38355Files: src/filepath.c, Filelist, src/Make_cyg_ming.mak, 38356 src/Make_morph.mak, src/Make_mvc.mak, src/Make_vms.mms, 38357 src/Makefile, src/README.md, src/eval.c, src/evalfunc.c, 38358 src/ex_docmd.c, src/feature.h, src/findfile.c, src/if_cscope.c, 38359 src/message.c, src/misc1.c, src/proto.h, src/proto/eval.pro, 38360 src/proto/evalvars.pro src/proto/filepath.pro, 38361 src/proto/findfile.pro, src/proto/message.pro, src/regexp.c, 38362 src/version.c 38363 38364Patch 8.1.1980 38365Problem: Fix for search stat not tested. 38366Solution: Add a screenshot test. (Christian Brabandt) 38367Files: src/testdir/test_search_stat.vim, 38368 src/testdir/dumps/Test_searchstat_1.dump, 38369 src/testdir/dumps/Test_searchstat_2.dump 38370 38371Patch 8.1.1981 38372Problem: The evalfunc.c file is too big. 38373Solution: Move undo functions to undo.c. Move cmdline functions to 38374 ex_getln.c. Move some container functions to list.c. 38375Files: src/evalfunc.c, src/undo.c, src/proto/undo.pro, src/ex_getln.c, 38376 src/proto/ex_getln.pro, src/list.c, src/proto/list.pro 38377 38378Patch 8.1.1982 38379Problem: More functions can be used as methods. 38380Solution: Make popup functions usable as a method. 38381Files: runtime/doc/popup.txt, src/evalfunc.c, 38382 src/testdir/test_popupwin.vim 38383 38384Patch 8.1.1983 38385Problem: Compiler nags for uninitialized variable and unused function. 38386Solution: Add unnecessary initialization. Move function inside #ifdef. 38387Files: src/memline.c, src/channel.c 38388 38389Patch 8.1.1984 38390Problem: More functions can be used as methods. 38391Solution: Make various functions usable as a method. 38392Files: runtime/doc/eval.txt, src/evalfunc.c, 38393 src/testdir/test_functions.vim, src/testdir/test_perl.vim, 38394 src/testdir/test_prompt_buffer.vim, src/testdir/test_python2.vim, 38395 src/testdir/test_python3.vim, src/testdir/test_pyx2.vim 38396 38397Patch 8.1.1985 38398Problem: Code for dealing with paths is spread out. 38399Solution: Move path related functions from misc1.c to filepath.c. 38400 Remove NO_EXPANDPATH. 38401Files: src/misc1.c, src/proto/misc1.pro, src/filepath.c, 38402 src/evalfunc.c, src/globals.h, src/misc2.c, src/os_unix.c, 38403 src/os_unix.h, src/proto/filepath.pro, src/scriptfile.c, 38404 src/proto/misc2.pro, src/proto/scriptfile.pro, src/vim.h 38405 38406Patch 8.1.1986 38407Problem: More functions can be used as methods. 38408Solution: Make textprop functions usable as a method. 38409Files: runtime/doc/textprop.txt, src/evalfunc.c, 38410 src/testdir/test_textprop.vim 38411 38412Patch 8.1.1987 38413Problem: More functions can be used as methods. 38414Solution: Make various functions usable as a method. 38415Files: runtime/doc/eval.txt, src/evalfunc.c, 38416 src/testdir/test_clientserver.vim, 38417 src/testdir/test_eval_stuff.vim, src/testdir/test_functions.vim, 38418 src/testdir/test_reltime.vim, src/testdir/test_rename.vim 38419 38420Patch 8.1.1988 38421Problem: :startinsert! does not work the same way as "A". 38422Solution: Use the same code to move the cursor. (closes #4896) 38423Files: src/ex_docmd.c, src/normal.c, src/proto/normal.pro, 38424 src/testdir/test_edit.vim 38425 38426Patch 8.1.1989 38427Problem: The evalfunc.c file is still too big. 38428Solution: Move f_pathshorten() to filepath.c. Move f_cscope_connection() to 38429 if_cscope.c. Move diff_ functions to diff.c. Move timer_ 38430 functions to ex_cmds2.c. move callback functions to evalvars.c. 38431Files: src/evalfunc.c, src/proto/evalfunc.pro, src/filepath.c, 38432 src/proto/filepath.pro, src/if_cscope.c, src/proto/if_cscope.pro, 38433 src/diff.c, src/proto/diff.pro, src/ex_cmds2.c, 38434 src/proto/ex_cmds2.pro, src/evalvars.c, src/proto/evalvars.pro 38435 38436Patch 8.1.1990 38437Problem: Cannot build with eval but without cscope. 38438Solution: Always include if_cscope.pro. 38439Files: src/proto.h 38440 38441Patch 8.1.1991 38442Problem: Still cannot build with eval but without cscope. 38443Solution: Move f_cscope_connection() outside of #ifdef. 38444Files: src/if_cscope.c 38445 38446Patch 8.1.1992 38447Problem: The search stat moves when wrapping at the end of the buffer. 38448Solution: Put the "W" in front instead of at the end. 38449Files: src/search.c, src/testdir/test_search_stat.vim 38450 38451Patch 8.1.1993 38452Problem: More functions can be used as methods. 38453Solution: Make various functions usable as a method. 38454Files: runtime/doc/eval.txt, src/evalfunc.c, 38455 src/testdir/test_bufline.vim, src/testdir/test_charsearch.vim, 38456 src/testdir/test_clientserver.vim, src/testdir/test_cmdline.vim, 38457 src/testdir/test_cursor_func.vim, src/testdir/test_diffmode.vim, 38458 src/testdir/test_environ.vim, src/testdir/test_functions.vim, 38459 src/testdir/test_matchadd_conceal_utf8.vim, 38460 src/testdir/test_popupwin.vim, src/testdir/test_search.vim, 38461 src/testdir/test_searchpos.vim, src/testdir/test_utf8.vim 38462 38463Patch 8.1.1994 38464Problem: MS-Windows: cannot build with eval but without cscope 38465Solution: Adjust the makefiles to always build if_cscope.obj. 38466Files: src/Make_mvc.mak, src/Make_cyg_ming.mak 38467 38468Patch 8.1.1995 38469Problem: More functions can be used as methods. 38470Solution: Make sign functions usable as a method. 38471Files: runtime/doc/sign.txt, src/evalfunc.c, src/testdir/test_signs.vim 38472 38473Patch 8.1.1996 38474Problem: More functions can be used as methods. 38475Solution: Make various functions usable as a method. 38476Files: runtime/doc/eval.txt, src/evalfunc.c, 38477 src/testdir/test_bufwintabinfo.vim, 38478 src/testdir/test_cursor_func.vim, src/testdir/test_expr.vim, 38479 src/testdir/test_functions.vim, src/testdir/test_put.vim, 38480 src/testdir/test_quickfix.vim, src/testdir/test_sha256.vim, 38481 src/testdir/test_tabpage.vim, src/testdir/test_tagjump.vim, 38482 src/testdir/test_vartabs.vim 38483 38484Patch 8.1.1997 38485Problem: No redraw after a popup window filter is invoked. 38486Solution: Redraw if needed. 38487Files: src/popupwin.c, src/testdir/test_popupwin.vim 38488 src/testdir/dumps/Test_popupwin_menu_filter_5.dump 38489 38490Patch 8.1.1998 38491Problem: Redraw even when no popup window filter was invoked. 38492Solution: Only redraw when must_redraw was set to a larger value. 38493Files: src/popupwin.c 38494 38495Patch 8.1.1999 38496Problem: Calling both PlaySoundW() and PlaySoundA(). 38497Solution: Only use PlaySoundW(). (Dan Thompson, closes #4903) 38498Files: src/sound.c 38499 38500Patch 8.1.2000 38501Problem: Plugin cannot get the current IME status. 38502Solution: Add the getimstatus() function. (closes #4904) 38503Files: runtime/doc/eval.txt, src/evalfunc.c, src/mbyte.c, 38504 src/proto/mbyte.pro, src/testdir/test_iminsert.vim 38505 38506Patch 8.1.2001 38507Problem: Some source files are too big. 38508Solution: Move buffer and window related functions to evalbuffer.c and 38509 evalwindow.c. (Yegappan Lakshmanan, closes #4898) 38510Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 38511 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 38512 src/buffer.c, src/channel.c, src/evalbuffer.c, src/evalfunc.c, 38513 src/evalwindow.c, src/proto.h, src/proto/buffer.pro, 38514 src/proto/evalbuffer.pro, src/proto/evalfunc.pro, 38515 src/proto/evalwindow.pro, src/proto/window.pro, src/window.c 38516 38517Patch 8.1.2002 38518Problem: Version number 2000 missing. 38519Solution: Add the number in the list of patches. 38520Files: src/version.c 38521 38522Patch 8.1.2003 38523Problem: MS-Windows: code page 65001 is not recognized. 38524Solution: Use utf-8 for code page 65001. (Dan Thompson, closes #4902) 38525Files: src/mbyte.c 38526 38527Patch 8.1.2004 38528Problem: More functions can be used as methods. 38529Solution: Make various functions usable as a method. 38530Files: runtime/doc/eval.txt, src/evalfunc.c, 38531 src/testdir/test_breakindent.vim, src/testdir/test_expr.vim, 38532 src/testdir/test_functions.vim, src/testdir/test_sound.vim, 38533 src/testdir/test_spell.vim, src/testdir/test_substitute.vim, 38534 src/testdir/test_swap.vim, src/testdir/test_utf8.vim 38535 38536Patch 8.1.2005 38537Problem: The regexp.c file is too big. 38538Solution: Move the backtracking engine to a separate file. (Yegappan 38539 Lakshmanan, closes #4905) 38540Files: Filelist, src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Makefile, 38541 src/regexp.c, src/regexp_bt.c 38542 38543Patch 8.1.2006 38544Problem: Build failure with huge features but without channel feature. 38545Solution: Add #ifdef. (Dominique Pelle, closes #4906) 38546Files: src/ui.c 38547 38548Patch 8.1.2007 38549Problem: No test for what 8.1.1926 fixes. 38550Solution: Add a test case. 38551Files: src/testdir/test_highlight.vim 38552 38553Patch 8.1.2008 38554Problem: Error for invalid range when using listener and undo. (Paul Jolly) 38555Solution: Do not change the cursor before the lines are restored. 38556 (closes #4908) 38557Files: src/undo.c, src/testdir/test_listener.vim 38558 38559Patch 8.1.2009 38560Problem: Cursorline highlighting not updated in popup window. (Marko 38561 Mahnič) 38562Solution: Check if the cursor position changed. (closes #4912) 38563Files: src/popupwin.c, src/structs.h, src/testdir/test_popupwin.vim, 38564 src/testdir/dumps/Test_popupwin_cursorline_7.dump 38565 38566Patch 8.1.2010 38567Problem: New file uses old style comments. 38568Solution: Change to new style comments. (Yegappan Lakshmanan, closes #4910) 38569Files: src/regexp_bt.c 38570 38571Patch 8.1.2011 38572Problem: More functions can be used as methods. 38573Solution: Make various functions usable as a method. Make the window 38574 command test faster. 38575Files: runtime/doc/eval.txt, runtime/doc/testing.txt, src/evalfunc.c, 38576 src/testdir/test_assert.vim, src/testdir/test_gui.vim, 38577 src/testdir/test_messages.vim, src/testdir/test_options.vim, 38578 src/testdir/test_quickfix.vim, src/testdir/test_taglist.vim, 38579 src/testdir/test_termcodes.vim, src/testdir/test_timers.vim, 38580 src/testdir/test_vimscript.vim, src/testdir/test_viminfo.vim, 38581 src/testdir/test_window_cmd.vim 38582 38583Patch 8.1.2012 38584Problem: More functions can be used as methods. 38585Solution: Make terminal functions usable as a method. Fix term_getattr(). 38586Files: runtime/doc/terminal.txt, src/evalfunc.c, src/terminal.c 38587 src/testdir/test_mksession.vim, src/testdir/test_terminal.vim 38588 38589Patch 8.1.2013 38590Problem: More functions can be used as methods. 38591Solution: Make various functions usable as a method. 38592Files: runtime/doc/eval.txt, src/evalfunc.c, 38593 src/testdir/test_cursor_func.vim, 38594 src/testdir/test_execute_func.vim, src/testdir/test_functions.vim, 38595 src/testdir/test_listchars.vim, src/testdir/test_timers.vim, 38596 src/testdir/test_undo.vim, src/testdir/test_window_cmd.vim, 38597 src/testdir/test_window_id.vim 38598 38599Patch 8.1.2014 38600Problem: Terminal altscreen test fails sometimes. 38601Solution: Use WaitFor(). 38602Files: src/testdir/test_terminal.vim 38603 38604Patch 8.1.2015 38605Problem: Terminal altscreen test still fails sometimes. 38606Solution: Write the escape sequence in a file. 38607Files: src/testdir/test_terminal.vim 38608 38609Patch 8.1.2016 38610Problem: Terminal altscreen test now fails on MS-Windows. 38611Solution: Skip the test on MS-Windows 38612Files: src/testdir/test_terminal.vim 38613 38614Patch 8.1.2017 38615Problem: Cannot execute commands after closing the cmdline window. 38616Solution: Also trigger BufEnter and WinEnter. (closes #4762) 38617Files: runtime/doc/autocmd.txt, runtime/doc/cmdline.txt, src/ex_getln.c, 38618 src/testdir/test_cmdline.vim 38619 38620Patch 8.1.2018 38621Problem: Using freed memory when out of memory and displaying message. 38622Solution: Make a copy of the message first. 38623Files: src/main.c, src/message.c, src/normal.c 38624 38625Patch 8.1.2019 38626Problem: 'cursorline' always highlights the whole line. 38627Solution: Add 'cursorlineopt' to specify what is highlighted. 38628 (Ozaki Kiichi, closes #4693) 38629Files: runtime/doc/options.txt, runtime/doc/quickref.txt, 38630 runtime/doc/syntax.txt, runtime/optwin.vim, src/option.c, 38631 src/option.h, src/screen.c, src/structs.h, 38632 src/testdir/Make_all.mak, src/testdir/gen_opt_test.vim, 38633 src/testdir/test_alot.vim, src/testdir/test_cursorline.vim 38634 38635Patch 8.1.2020 38636Problem: It is not easy to change the window layout. 38637Solution: Add win_splitmove(). (Andy Massimino, closes #4561) 38638Files: runtime/doc/eval.txt, src/evalfunc.c, src/evalwindow.c, 38639 src/proto/evalwindow.pro, src/testdir/test_window_cmd.vim 38640 38641Patch 8.1.2021 38642Problem: Some global functions can be local to the file. 38643Solution: Add "static". (Yegappan Lakshmanan, closes #4917) 38644Files: src/ex_cmds2.c, src/filepath.c, src/hangulin.c, src/mbyte.c, 38645 src/misc1.c, src/os_unix.c, src/proto/ex_cmds2.pro, 38646 src/proto/filepath.pro, src/proto/hangulin.pro, 38647 src/proto/mbyte.pro, src/proto/misc1.pro, src/proto/os_unix.pro, 38648 src/proto/terminal.pro, src/proto/undo.pro, src/pty.c, 38649 src/terminal.c, src/undo.c 38650 38651Patch 8.1.2022 38652Problem: The option.c file is too big. 38653Solution: Move option definitions to a separate file. (Yegappan Lakshmanan, 38654 closes #4918) 38655Files: Filelist, src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, 38656 src/option.c, src/optiondefs.h 38657 38658Patch 8.1.2023 38659Problem: No test for synIDattr() returning "strikethrough". 38660Solution: Extend the synIDattr() test. (Jaskaran Singh, closes #4929) 38661Files: src/testdir/test_syn_attr.vim 38662 38663Patch 8.1.2024 38664Problem: Delete call commented out for debugging. 38665Solution: Restore the delete call. (Christian Brabandt) 38666Files: src/testdir/test_undo.vim 38667 38668Patch 8.1.2025 38669Problem: MS-Windows: Including shlguid.h causes problems for msys2. 38670Solution: Do not include shlguid.h. (closes #4913) 38671Files: src/GvimExt/gvimext.h 38672 38673Patch 8.1.2026 38674Problem: Possibly using uninitialized memory. 38675Solution: Check if "dict" is NULL. (closes #4925) 38676Files: src/ops.c 38677 38678Patch 8.1.2027 38679Problem: MS-Windows: problem with ambiwidth characters. 38680Solution: handle ambiguous width characters in ConPTY on Windows 10 (1903). 38681 (Nobuhiro Takasaki, closes #4411) 38682Files: src/Make_mvc.mak, src/Make_cyg_ming.mak, src/libvterm/src/parser.c, 38683 src/libvterm/src/state.c, src/libvterm/src/termscreen.c, 38684 src/libvterm/src/unicode.c, src/libvterm/src/vterm_internal.h, 38685 src/misc2.c, src/os_win32.c, src/proto/misc2.pro, 38686 src/proto/os_win32.pro 38687 38688Patch 8.1.2028 38689Problem: Options test script does not work. 38690Solution: Use optiondefs.h for input. 38691Files: src/testdir/Makefile, src/testdir/Make_dos.mak, 38692 src/testdir/Make_ming.mak 38693 38694Patch 8.1.2029 38695Problem: Cannot control 'cursorline' highlighting well. 38696Solution: Add "screenline". (Christian Brabandt, closes #4933) 38697Files: runtime/doc/options.txt, src/change.c, src/main.c, src/option.c, 38698 src/option.h, src/optiondefs.h, src/screen.c, src/structs.h, 38699 src/highlight.c, src/testdir/dumps/Test_Xcursorline_1.dump, 38700 src/testdir/dumps/Test_Xcursorline_2.dump, 38701 src/testdir/dumps/Test_Xcursorline_3.dump, 38702 src/testdir/dumps/Test_Xcursorline_4.dump, 38703 src/testdir/dumps/Test_Xcursorline_5.dump, 38704 src/testdir/dumps/Test_Xcursorline_6.dump, 38705 src/testdir/dumps/Test_Xcursorline_7.dump, 38706 src/testdir/dumps/Test_Xcursorline_8.dump, 38707 src/testdir/dumps/Test_Xcursorline_9.dump, 38708 src/testdir/dumps/Test_Xcursorline_10.dump, 38709 src/testdir/dumps/Test_Xcursorline_11.dump, 38710 src/testdir/dumps/Test_Xcursorline_12.dump, 38711 src/testdir/dumps/Test_Xcursorline_13.dump, 38712 src/testdir/dumps/Test_Xcursorline_14.dump, 38713 src/testdir/dumps/Test_Xcursorline_15.dump, 38714 src/testdir/dumps/Test_Xcursorline_16.dump, 38715 src/testdir/dumps/Test_Xcursorline_17.dump, 38716 src/testdir/dumps/Test_Xcursorline_18.dump, 38717 src/testdir/gen_opt_test.vim, src/testdir/test_cursorline.vim, 38718 src/testdir/dumps/Test_cursorline_yank_01.dump, 38719 src/testdir/dumps/Test_wincolor_01.dump, 38720 src/testdir/dumps/Test_textprop_01.dump 38721 38722Patch 8.1.2030 38723Problem: Tests fail when build with normal features and terminal. 38724 (Dominique Pelle) 38725Solution: Disable tests that won't work. (closes #4932) 38726Files: src/testdir/test_popupwin.vim, src/testdir/test_terminal.vim 38727 38728Patch 8.1.2031 38729Problem: Cursor position wrong when resizing and using conceal. 38730Solution: Set the flags that the cursor position is valid when setting the 38731 row and column during redrawing. (closes #4931) 38732Files: src/screen.c, src/testdir/test_conceal.vim, 38733 src/testdir/dumps/Test_conceal_resize_01.dump, 38734 src/testdir/dumps/Test_conceal_resize_02.dump 38735 38736Patch 8.1.2032 38737Problem: Scrollbar thumb wrong in popup window. 38738Solution: Adjust thumb size and position when scrolled. 38739Files: src/popupwin.c, src/testdir/dumps/Test_popupwin_scroll_2.dump 38740 38741Patch 8.1.2033 38742Problem: Cannot build with tiny features. 38743Solution: Add #ifdef. 38744Files: src/screen.c 38745 38746Patch 8.1.2034 38747Problem: Dark theme of GTK 3 not supported. 38748Solution: Add the "d" flag in 'guioptions'. (Jonathan Conder, closes #4934) 38749Files: runtime/doc/options.txt, src/feature.h, src/gui.c, 38750 src/gui_gtk_x11.c, src/option.h, src/proto/gui_gtk_x11.pro, 38751 src/testdir/test_gui.vim 38752 38753Patch 8.1.2035 38754Problem: Recognizing octal numbers is confusing. 38755Solution: Introduce scriptversion 4: do not use octal and allow for single 38756 quote inside numbers. 38757Files: runtime/doc/eval.txt, src/vim.h, src/eval.c, src/scriptfile.c, 38758 src/evalfunc.c, src/testdir/test_eval_stuff.vim, 38759 src/testdir/test_functions.vim 38760 38761Patch 8.1.2036 (after 8.1.2035) 38762Problem: The str2nr() tests fail. 38763Solution: Add missing part of patch. 38764Files: src/charset.c 38765 38766Patch 8.1.2037 38767Problem: Can call win_gotoid() in cmdline window. 38768Solution: Disallow switching windows. (Yasuhiro Matsumoto, closes #4940) 38769Files: src/evalwindow.c, src/testdir/test_cmdline.vim 38770 38771Patch 8.1.2038 38772Problem: has('vimscript-4') is always 0. 38773Solution: Add "vimscript-4" to the feature table. (Naruhiko Nishino, 38774 closes #4941) 38775Files: src/evalfunc.c, src/testdir/test_eval_stuff.vim 38776 38777Patch 8.1.2039 38778Problem: Character from 'showbreak' does not use 'wincolor'. (Nick Jensen) 38779Solution: Mix with 'wincolor'. (closes #4938) 38780Files: src/screen.c, src/testdir/test_popupwin.vim, 38781 src/testdir/dumps/Test_popupwin_showbreak.dump 38782 38783Patch 8.1.2040 38784Problem: No highlighting of current line in quickfix window. 38785Solution: Combine with line_attr. 38786Files: src/screen.c, src/testdir/test_quickfix.vim, 38787 src/testdir/dumps/Test_quickfix_cwindow_1.dump, 38788 src/testdir/dumps/Test_quickfix_cwindow_2.dump 38789 38790Patch 8.1.2041 (after 8.1.2040) 38791Problem: No test for diff mode with syntax highlighting. 38792Solution: Add a test case. 38793Files: src/testdir/test_diffmode.vim, 38794 src/testdir/dumps/Test_diff_syntax_1.dump 38795 38796Patch 8.1.2042 38797Problem: The evalfunc.c file is too big. 38798Solution: Move getchar() and parse_queued_messages() to getchar.c. 38799Files: src/getchar.c, src/proto/getchar.pro, src/evalfunc.c, src/misc2.c, 38800 src/proto/misc2.pro 38801 38802Patch 8.1.2043 38803Problem: Not sufficient testing for quoted numbers. 38804Solution: Add a few more test cases. 38805Files: src/testdir/test_functions.vim, src/testdir/test_eval_stuff.vim 38806 38807Patch 8.1.2044 38808Problem: No easy way to process postponed work. (Paul Jolly) 38809Solution: Add the SafeState autocommand event. 38810Files: runtime/doc/autocmd.txt, src/main.c, src/proto/main.pro, 38811 src/vim.h, src/autocmd.c, src/channel.c, src/edit.c, 38812 src/ex_getln.c 38813 38814Patch 8.1.2045 38815Problem: The option.c file is too big. 38816Solution: Split off the code dealing with strings. (Yegappan Lakshmanan, 38817 closes #4937) 38818Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 38819 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 38820 src/option.c, src/option.h, src/optiondefs.h, src/optionstr.c, 38821 src/ops.c, src/os_unix.c, src/proto.h, src/proto/option.pro, 38822 src/proto/optionstr.pro 38823 38824Patch 8.1.2046 38825Problem: SafeState may be triggered at the wrong moment. 38826Solution: Move it up higher to after where messages are processed. Add a 38827 SafeStateAgain event to trigger there. 38828Files: runtime/doc/autocmd.txt, src/main.c, src/proto/main.pro, 38829 src/getchar.c, src/channel.c, src/autocmd.c, src/vim.h 38830 38831Patch 8.1.2047 38832Problem: Cannot check the current state. 38833Solution: Add the state() function. 38834Files: runtime/doc/eval.txt, src/misc1.c, src/proto/misc1.pro, 38835 src/evalfunc.c, src/proto/evalfunc.pro, src/main.c, 38836 src/proto/main.pro, src/channel.c, src/proto/channel.pro, 38837 src/userfunc.c, src/proto/userfunc.pro 38838 38839Patch 8.1.2048 38840Problem: Not clear why SafeState and SafeStateAgain are not triggered. 38841Solution: Add log statements. 38842Files: src/getchar.c, src/main.c, src/proto/main.pro 38843 38844Patch 8.1.2049 (after 8.1.2048) 38845Problem: Cannot build tiny version. 38846Solution: Add #ifdefs. 38847Files: src/main.c 38848 38849Patch 8.1.2050 38850Problem: Popup window test fails in some configurations. (James McCoy) 38851Solution: Clear the command line. 38852Files: src/testdir/test_popupwin.vim, 38853 src/testdir/dumps/Test_popupwin_scroll_10.dump 38854 38855Patch 8.1.2051 38856Problem: Double-click test is a bit flaky. 38857Solution: Correct entry in list of flaky tests. 38858Files: src/testdir/runtest.vim 38859 38860Patch 8.1.2052 38861Problem: Using "x" before a closed fold may delete that fold. 38862Solution: Do not translate 'x' do "dl". (Christian Brabandt, closes #4927) 38863Files: src/normal.c, src/testdir/test_fold.vim 38864 38865Patch 8.1.2053 38866Problem: SafeStateAgain not triggered if callback uses feedkeys(). 38867Solution: Check for safe state in the input loop. Make log messages easier 38868 to find. Add 'S' flag to state(). 38869Files: src/main.c, src/proto/main.pro, src/getchar.c, 38870 runtime/doc/eval.txt 38871 38872Patch 8.1.2054 38873Problem: Compiler test for Perl may fail. 38874Solution: Accept any error line number. (James McCoy, closes #4944) 38875Files: src/testdir/test_compiler.vim 38876 38877Patch 8.1.2055 38878Problem: Not easy to jump to function line from profile. 38879Solution: Use "file:99" instead of "file line 99" so that "gf" works. 38880 (Daniel Hahler, closes #4951) 38881Files: src/profiler.c, src/testdir/test_profile.vim 38882 38883Patch 8.1.2056 38884Problem: "make test" for indent files doesn't cause make to fail. 38885Solution: Exit the script with ":cquit". (Daniel Hahler, closes #4949) 38886Files: runtime/indent/testdir/runtest.vim, .gitignore 38887 38888Patch 8.1.2057 38889Problem: The screen.c file is much too big. 38890Solution: Split it in three parts. (Yegappan Lakshmanan, closes #4943) 38891Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 38892 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 38893 src/drawline.c, src/drawscreen.c, src/globals.h, src/proto.h, 38894 src/proto/drawline.pro, src/proto/drawscreen.pro, 38895 src/proto/screen.pro, src/screen.c, src/vim.h 38896 38897Patch 8.1.2058 38898Problem: Function for ex command is named inconsistently. 38899Solution: Rename do_marks() to ex_marks(). 38900Files: src/mark.c, src/proto/mark.pro, src/ex_cmds.h 38901 38902Patch 8.1.2059 38903Problem: Fix for "x" deleting a fold has side effects. 38904Solution: Fix it where the fold is included. 38905Files: src/normal.c 38906 38907Patch 8.1.2060 38908Problem: "precedes" in 'listchars' not used properly. 38909Solution: Correctly handle the "precedes" char in list mode for long lines. 38910 (Zach Wegner, Christian Brabandt, closes #4953) 38911Files: runtime/doc/options.txt, src/drawline.c, 38912 src/testdir/test_display.vim, src/testdir/view_util.vim 38913 38914Patch 8.1.2061 38915Problem: MS-Windows GUI: ":sh" crashes when trying to use a terminal. 38916Solution: Check for a NULL command. (Yasuhiro Matsumoto, closes #4958) 38917Files: src/os_win32.c 38918 38919Patch 8.1.2062 38920Problem: The mouse code is spread out. 38921Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan, 38922 closes #4959) 38923Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 38924 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 38925 src/auto/configure, src/configure.ac, src/edit.c, src/ex_cmds.c, 38926 src/ex_docmd.c, src/ex_getln.c, src/insexpand.c, 38927 src/libvterm/src/termmouse.c, src/libvterm/src/mouse.c, 38928 src/main.c, src/message.c, src/misc1.c, src/misc2.c, src/mouse.c, 38929 src/normal.c, src/proto.h, src/proto/edit.pro, 38930 src/proto/misc1.pro, src/proto/misc2.pro, src/proto/mouse.pro, 38931 src/proto/normal.pro, src/proto/term.pro, src/proto/ui.pro, 38932 src/search.c, src/term.c, src/ui.c, src/vim.h, src/window.c 38933 38934Patch 8.1.2063 38935Problem: Some tests fail when +balloon_eval_term is missing but 38936 _balloon_eval is present. (Dominique Pelle) 38937Solution: Check the right feature in the test. (closes #4962) 38938Files: src/testdir/test_popupwin.vim, src/testdir/test_terminal.vim 38939 38940Patch 8.1.2064 38941Problem: MS-Windows: compiler warnings for unused arguments. 38942Solution: Add UNUSED. (Yegappan Lakshmanan, closes #4963) 38943Files: src/channel.c, src/ex_docmd.c, src/ex_getln.c, src/fileio.c, 38944 src/gui_w32.c, src/main.c, src/memline.c, src/os_mswin.c, 38945 src/os_win32.c, src/terminal.c, src/ui.c, src/undo.c 38946 38947Patch 8.1.2065 38948Problem: Compiler warning building non-GUI with MinGW. 38949Solution: Adjust #ifdefs. (Yegappan Lakshmanan, closes #4964) 38950Files: sre/mouse.c 38951 38952Patch 8.1.2066 38953Problem: No tests for state(). 38954Solution: Add tests. Clean up some feature checks. Make "a" flag work. 38955Files: src/testdir/test_functions.vim, src/testdir/test_terminal.vim, 38956 src/misc1.c 38957 38958Patch 8.1.2067 38959Problem: No tests for SafeState and SafeStateAgain. 38960Solution: Add tests. 38961Files: src/testdir/test_autocmd.vim 38962 38963Patch 8.1.2068 (after 8.1.2067) 38964Problem: Test for SafeState and SafeStateAgain may fail. 38965Solution: Accept more possible responses 38966Files: src/testdir/test_autocmd.vim 38967 38968Patch 8.1.2069 (after 8.1.2068) 38969Problem: Test for SafeStateAgain may still fail. 38970Solution: Send another message to trigger SafeStateAgain. 38971Files: src/testdir/test_autocmd.vim 38972 38973Patch 8.1.2070 38974Problem: Mouse code is spread out. 38975Solution: Move mouse terminal code parsing to mouse.c. (Yegappan Lakshmanan, 38976 closes #4966) 38977Files: src/mouse.c, src/proto/mouse.pro, src/proto/term.pro, src/term.c 38978 38979Patch 8.1.2071 38980Problem: When 'wincolor' is set text property changes highlighting. (Andy 38981 Stewart) 38982Solution: Fix combining colors. (closes #4968) 38983Files: src/drawline.c, src/testdir/test_highlight.vim, 38984 src/testdir/dumps/Test_wincolor_01.dump 38985 38986Patch 8.1.2072 38987Problem: "gk" moves to start of line instead of upwards. 38988Solution: Fix off-by-one error. (Christian Brabandt, closes #4969) 38989Files: src/normal.c, src/testdir/test_normal.vim 38990 38991Patch 8.1.2073 38992Problem: When editing a buffer 'colorcolumn' may not work. 38993Solution: Set the buffer before copying option values. Call 38994 check_colorcolumn() after copying window options. 38995Files: src/buffer.c, src/option.c, src/proto/option.pro, 38996 src/proto/indent.pro, src/testdir/test_highlight.vim, 38997 src/testdir/dumps/Test_colorcolumn_1.dump 38998 38999Patch 8.1.2074 39000Problem: Test for SafeState autocommand is a bit flaky. 39001Solution: Add to list of flaky tests. 39002Files: src/testdir/runtest.vim 39003 39004Patch 8.1.2075 39005Problem: Get many log messages when waiting for a typed character. 39006Solution: Do not repeat the repeated messages when nothing happens. 39007Files: src/globals.h, src/channel.c, src/main.c 39008 39009Patch 8.1.2076 39010Problem: Crash when trying to put a terminal buffer in a popup window. 39011Solution: Check for NULL buffer. Do not allow putting a terminal in a popup 39012 window. 39013Files: src/libvterm/src/termscreen.c, src/terminal.c, src/popupwin.c, 39014 runtime/doc/popup.txt, src/testdir/test_popupwin.vim 39015 39016Patch 8.1.2077 39017Problem: The ops.c file is too big. 39018Solution: Move code for dealing with registers to a new file. (Yegappan 39019 Lakshmanan, closes #4982) 39020Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 39021 src/Make_mvc.mak, src/Make_vms.mms src/Makefile, src/README.md, 39022 src/ops.c, src/proto.h, src/proto/ops.pro, src/proto/register.pro, 39023 src/register.c, src/structs.h 39024 39025Patch 8.1.2078 39026Problem: Build error with +textprop but without +terminal. (Tony Mechelynck) 39027Solution: Add #ifdef. 39028Files: src/popupwin.c 39029 39030Patch 8.1.2079 39031Problem: Popup window test fails without +terminal. 39032Solution: Check for the +terminal feature. 39033Files: src/testdir/test_popupwin.vim 39034 39035Patch 8.1.2080 39036Problem: The terminal API is limited and can't be disabled. 39037Solution: Add term_setapi() to set the function prefix. (Ozaki Kiichi, 39038 closes #2907) 39039Files: runtime/doc/eval.txt, runtime/doc/terminal.txt, src/channel.c, 39040 src/evalfunc.c, src/proto/terminal.pro, src/structs.h, 39041 src/terminal.c, src/testdir/term_util.vim, 39042 src/testdir/test_terminal.vim 39043 39044Patch 8.1.2081 39045Problem: The spell.c file is too big. 39046Solution: Move the code for spell suggestions to a separate file. (Yegappan 39047 Lakshmanan, closes #4988) 39048Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 39049 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 39050 src/proto.h, src/proto/spell.pro, src/proto/spellsuggest.pro, 39051 src/spell.c, src/spell.h, src/spellsuggest.c 39052 39053Patch 8.1.2082 39054Problem: Some files have a weird name to fit in 8.3 characters. 39055Solution: Use a nicer names. 39056Files: Filelist, Makefile, src/popupmnu.c, src/popupmenu.c, 39057 src/proto/popupmnu.pro, src/proto/popupmenu.pro, 39058 src/Make_cyg_ming.mak, src/Make_morph.mak, src/Make_mvc.mak, 39059 src/Make_vms.mms, src/Makefile, src/proto.h, src/README.md, 39060 src/uninstal.c, src/uninstall.c, uninstal.txt, uninstall.txt, 39061 nsis/gvim.nsi, src/INSTALLpc.txt, src/dosinst.c, src/dosinst.h 39062 39063Patch 8.1.2083 39064Problem: Multi-byte chars do not work properly with "%.*S" in printf(). 39065Solution: Use mb_ptr2cells(). Daniel Hahler, closes #4989) 39066Files: src/testdir/test_expr.vim, src/message.c 39067 39068Patch 8.1.2084 39069Problem: Amiga: cannot get the user name. 39070Solution: Use getpwuid() if available. (Ola Söder, closes #4985) 39071Files: src/os_amiga.c, src/os_amiga.h 39072 39073Patch 8.1.2085 39074Problem: MS-Windows: draw error moving cursor over double-cell character. 39075Solution: Move the cursor to the left edge if needed. (Nobuhiro Takasaki, 39076 closes #4986) 39077Files: src/os_win32.c 39078 39079Patch 8.1.2086 (after 8.1.2082) 39080Problem: Missing a few changes for the renamed files. 39081Solution: Rename in a few more places. (Ken Takata) 39082Files: nsis/README.txt, runtime/doc/gui_w32.txt, runtime/doc/usr_90.txt, 39083 src/GvimExt/GvimExt.reg, src/GvimExt/README.txt, 39084 src/proto/popupmenu.pro, src/proto/popupmnu.pro 39085 39086Patch 8.1.2087 39087Problem: Cannot easily select one test function to execute. 39088Solution: Support the $TEST_FILTER environment variable. (Ozaki Kiichi, 39089 closes #2695) 39090Files: src/Makefile, src/testdir/runtest.vim, src/testdir/summarize.vim 39091 39092Patch 8.1.2088 39093Problem: Renamed libvterm mouse.c file not in distributed file list. 39094Solution: Rename the file in the file list. 39095Files: Filelist 39096 39097Patch 8.1.2089 (after 8.1.2087) 39098Problem: Do not get a hint that $TEST_FILTER was active. 39099Solution: Mention $TEST_FILTER if no functions were executed. 39100Files: src/testdir/runtest.vim 39101 39102Patch 8.1.2090 39103Problem: Not clear why channel log file ends. 39104Solution: Add a "closing" line. 39105Files: src/channel.c 39106 39107Patch 8.1.2091 39108Problem: Double free when memory allocation fails. (Zu-Ming Jiang) 39109Solution: Use VIM_CLEAR() instead of vim_free(). (closes #4991) 39110Files: src/getchar.c 39111 39112Patch 8.1.2092 39113Problem: MS-Windows: redirect in system() does not work. 39114Solution: Handle 'shellxescape' and 'shellxquote' better. (Yasuhiro 39115 Matsumoto, closes #2054) 39116Files: src/ex_cmds.c, src/misc2.c, src/testdir/test_system.vim 39117 39118Patch 8.1.2093 39119Problem: MS-Windows: system() test fails. 39120Solution: Expect CR when using systemlist(). 39121Files: src/testdir/test_system.vim 39122 39123Patch 8.1.2094 39124Problem: The fileio.c file is too big. 39125Solution: Move buf_write() to bufwrite.c. (Yegappan Lakshmanan, 39126 closes #4990) 39127Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 39128 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 39129 src/bufwrite.c, src/fileio.c, src/option.c, src/proto.h, 39130 src/proto/bufwrite.pro, src/proto/fileio.pro, src/structs.h 39131 39132Patch 8.1.2095 39133Problem: Leaking memory when getting item from dict. 39134Solution: Also free the key when not evaluating. 39135Files: src/dict.c 39136 39137Patch 8.1.2096 39138Problem: Too many #ifdefs. 39139Solution: Graduate FEAT_COMMENTS. 39140Files: src/feature.h, src/buffer.c, src/change.c, src/edit.c, 39141 src/evalfunc.c, src/fold.c, src/insexpand.c, src/misc1.c, 39142 src/normal.c, src/ops.c, src/option.c, src/optionstr.c, 39143 src/search.c, src/version.c, src/globals.h, src/option.h, 39144 src/optiondefs.h, src/structs.h, runtime/doc/change.txt, 39145 runtime/doc/options.txt, runtime/doc/various.txt 39146 39147Patch 8.1.2097 39148Problem: :mksession is not sufficiently tested. 39149Solution: Add more test cases. (Yegappan Lakshmanan, closes #4992) 39150Files: src/testdir/test_mksession.vim 39151 39152Patch 8.1.2098 (after 8.1.2097) 39153Problem: mksession test fails on MS-Windows. 39154Solution: Skip testing with backslashes on MS-Windows. 39155Files: src/testdir/test_mksession.vim 39156 39157Patch 8.1.2099 39158Problem: state() test fails on some Mac systems. 39159Solution: Increase the wait time. (closes #4983) 39160Files: src/testdir/test_functions.vim 39161 39162Patch 8.1.2100 39163Problem: :mksession is not sufficiently tested. 39164Solution: Add more test cases. (Yegappan Lakshmanan, closes #4993) 39165Files: src/testdir/test_mksession.vim 39166 39167Patch 8.1.2101 39168Problem: write_session_file() often defined but not used. 39169Solution: Adjust the #ifdef. (Yegappan Lakshmanan, closes #4998) 39170Files: src/session.c 39171 39172Patch 8.1.2102 39173Problem: Can't build with GTK and FEAT_GUI_GNOME. (Tony Mechelynck) 39174Solution: Adjust the #ifdef. (Yegappan Lakshmanan) 39175Files: src/session.c 39176 39177Patch 8.1.2103 39178Problem: wrong error message if "termdebugger" is not executable. 39179Solution: Check if "termdebugger" is executable and give a clear error 39180 message. (Ozaki Kiichi, closes #5000) Fix indents. 39181Files: runtime/pack/dist/opt/termdebug/plugin/termdebug.vim 39182 39183Patch 8.1.2104 39184Problem: The normal.c file is too big. 39185Solution: Move do_pending_operator() to ops.c. (Yegappan Lakshmanan, 39186 closes #4999). 39187Files: src/normal.c, src/ops.c, src/proto/normal.pro, src/proto/ops.pro, 39188 src/globals.h 39189 39190Patch 8.1.2105 39191Problem: MS-Windows: system() may crash. 39192Solution: Do not use "itmp" when it is NULL. (Yasuhiro Matsumoto, 39193 closes #5005) 39194Files: src/ex_cmds.c 39195 39196Patch 8.1.2106 39197Problem: No tests for dragging the mouse beyond the window. 39198Solution: Add a test. (Dominique Pelle, closes #5004) 39199Files: src/testdir/test_termcodes.vim 39200 39201Patch 8.1.2107 39202Problem: Various memory leaks reported by asan. 39203Solution: Free the memory. (Ozaki Kiichi, closes #5003) 39204Files: src/buffer.c, src/change.c, src/eval.c, src/evalfunc.c, 39205 src/option.c, src/popupwin.c, src/proto/change.pro, 39206 src/scriptfile.c, src/terminal.c, src/testdir/test_method.vim 39207 39208Patch 8.1.2108 39209Problem: Cannot close the cmdline window from CmdWinEnter. (George Brown) 39210Solution: Reset cmdwin_result earlier. (Christian Brabandt, closes #4980) 39211Files: src/ex_getln.c, src/testdir/test_autocmd.vim 39212 39213Patch 8.1.2109 39214Problem: popup_getoptions() hangs with tab-local popup. 39215Solution: Correct pointer name. (Marko Mahnič, closes #5006) 39216Files: src/popupwin.c, src/testdir/test_popupwin.vim 39217 39218Patch 8.1.2110 39219Problem: CTRL-C closes two popups instead of one. 39220Solution: Reset got_int when the filter consumed the key. 39221Files: src/getchar.c, src/testdir/test_popupwin.vim 39222 39223Patch 8.1.2111 39224Problem: Viminfo file not sufficiently tested. 39225Solution: Add more tests. (Yegappan Lakshmanan, closes #5009) 39226Files: src/testdir/test_viminfo.vim 39227 39228Patch 8.1.2112 39229Problem: Build number for ConPTY is outdated. 39230Solution: Update to new build number. (Nobuhiro Takasaki, closes #5014) 39231Files: src/os_win32.c 39232 39233Patch 8.1.2113 39234Problem: ":help expr-!~?" only works after searching. 39235Solution: Escape "~" after "expr-". (closes #5015) 39236Files: src/ex_cmds.c, src/testdir/test_help.vim 39237 39238Patch 8.1.2114 39239Problem: When a popup is closed with CTRL-C the callback aborts. 39240Solution: Reset got_int when invoking the callback. (closes #5008) 39241Files: src/popupwin.c 39242 39243Patch 8.1.2115 39244Problem: MS-Windows: shell commands fail if &shell contains a space. 39245Solution: Use quotes instead of escaping. (closes #4920) 39246Files: src/option.c, src/os_win32.c, src/testdir/test_startup.vim, 39247 src/testdir/test_system.vim, src/vimrun.c, 39248 39249Patch 8.1.2116 39250Problem: No check for out of memory. 39251Solution: Check for NULL pointer. 39252Files: src/option.c 39253 39254Patch 8.1.2117 39255Problem: CursorLine highlight used while 'cursorline' is off. 39256Solution: Check 'cursorline' is set. (cloes #5017) 39257Files: src/drawline.c, src/testdir/test_cursorline.vim 39258 39259Patch 8.1.2118 39260Problem: Termcodes test fails when $TERM is "dumb". 39261Solution: Skip the test. (James McCoy, closes #5019) 39262Files: src/testdir/test_termcodes.vim 39263 39264Patch 8.1.2119 39265Problem: memory access error for empty string when 'encoding' is a single 39266 byte encoding. 39267Solution: Check for empty string when getting the length. (Dominique Pelle, 39268 closes #5021, closes #5007) 39269Files: src/macros.h 39270 39271Patch 8.1.2120 39272Problem: Some MB_ macros are more complicated than necessary. (Dominique 39273 Pelle) 39274Solution: Simplify the macros. Expand inline. 39275Files: src/macros.h, src/beval.c, src/diff.c src/eval.c src/evalfunc.c 39276 src/ex_getln.c, src/filepath.c, src/findfile.c, src/getchar.c, 39277 src/highlight.c, src/ops.c, src/os_mswin.c, src/popupmenu.c, 39278 src/search.c, src/spell.c, src/spellsuggest.c, src/terminal.c 39279 39280Patch 8.1.2121 39281Problem: Mode is not updated when switching to terminal in Insert mode. 39282Solution: Redraw the mode when entering a terminal window. (Jason Franklin) 39283Files: src/window.c, src/testdir/test_window_cmd.vim 39284 39285Patch 8.1.2122 (after 8.1.2121) 39286Problem: Cannot build without terminal feature. 39287Solution: Add #ifdef. 39288Files: src/window.c 39289 39290Patch 8.1.2123 39291Problem: Parsing CSI sequence is messy. 39292Solution: Generalize parsing a CSI sequence. 39293Files: src/term.c 39294 39295Patch 8.1.2124 39296Problem: Ruler is not updated if win_execute() moves cursor. 39297Solution: Update the status line. (closes #5022) 39298Files: src/evalwindow.c, src/testdir/test_execute_func.vim 39299 39300Patch 8.1.2125 39301Problem: Fnamemodify() fails when repeating :e. 39302Solution: Do not go before the tail. (Rob Pilling, closes #5024) 39303Files: src/filepath.c, src/testdir/test_fnamemodify.vim 39304 39305Patch 8.1.2126 39306Problem: Viminfo not sufficiently tested. 39307Solution: Add more test cases. Clean up comments. (Yegappan Lakshmanan, 39308 closes #5032) 39309Files: src/search.c, src/structs.h, src/testdir/test_viminfo.vim, 39310 src/viminfo.c 39311 39312Patch 8.1.2127 39313Problem: The indent.c file is a bit big. 39314Solution: Move C-indent code to a new cindent.c file. Move other 39315 indent-related code to indent.c. (Yegappan Lakshmanan, 39316 closes #5031) 39317Files: Filelist, src/Make_cyg_ming.mak, src/Make_morph.mak, 39318 src/Make_mvc.mak, src/Make_vms.mms, src/Makefile, src/README.md, 39319 src/change.c, src/cindent.c, src/edit.c, src/evalfunc.c, 39320 src/ex_cmds.c, src/globals.h, src/indent.c, src/misc1.c, 39321 src/ops.c, src/proto.h, src/proto/cindent.pro, src/proto/edit.pro, 39322 src/proto/ex_cmds.pro, src/proto/indent.pro, src/proto/misc1.pro, 39323 src/proto/ops.pro, src/userfunc.c 39324 39325Patch 8.1.2128 39326Problem: Renamed libvterm sources makes merging difficult. 39327Solution: Rename back to the original name and only rename the .o files. 39328 Also clean the libvterm build artifacts. (James McCoy, 39329 closes #5027) 39330Files: src/libvterm/src/termmouse.c, src/libvterm/src/mouse.c, 39331 src/libvterm/src/termscreen.c, src/libvterm/src/screen.c, 39332 src/Makefile, src/configure.ac, src/auto/configure, 39333 src/Make_cyg_ming.mak, src/Make_mvc.mak 39334 39335Patch 8.1.2129 39336Problem: Using hard coded executable path in test. 39337Solution: Use v:progpath. Use $VIMRUNTIME instead of "runtime". (James 39338 McCoy, closes #5025) 39339Files: src/testdir/test49.vim, src/testdir/test_compiler.vim, 39340 src/testdir/test_spell.vim 39341 39342Patch 8.1.2130 (after 8.1.2128) 39343Problem: MSVC build fails. 39344Solution: Add the source file name explicitly. 39345Files: src/Make_mvc.mak 39346 39347Patch 8.1.2131 (after 8.1.2129) 39348Problem: MSVC tests fail. 39349Solution: Replace backslashes with slashes. 39350Files: src/testdir/test_compiler.vim, src/testdir/test_spell.vim 39351 39352Patch 8.1.2132 39353Problem: MS-Windows: screen mess when not recognizing insider build. 39354Solution: Always move the cursor to the first column first. (Nobuhiro 39355 Takasaki, closes #5036) 39356Files: src/os_win32.c 39357 39358Patch 8.1.2133 39359Problem: Some tests fail when run as root. 39360Solution: Add CheckNotRoot and use it. (James McCoy, closes #5020) 39361Files: src/testdir/check.vim, src/testdir/shared.vim, 39362 src/testdir/test_rename.vim, src/testdir/test_swap.vim, 39363 src/testdir/test_terminal.vim, src/testdir/test_viminfo.vim 39364 39365Patch 8.1.2134 39366Problem: Modifier keys are not always recognized. 39367Solution: Handle key codes generated by xterm with modifyOtherKeys set. 39368 Add this to libvterm so we can debug it. 39369Files: src/term.c, src/getchar.c, src/libvterm/src/vterm_internal.h, 39370 src/libvterm/src/state.c, src/libvterm/src/keyboard.c, 39371 src/libvterm/include/vterm.h, src/globals.h, src/terminal.c 39372 39373Patch 8.1.2135 39374Problem: With modifyOtherKeys Alt-a does not work properly. 39375Solution: Remove the ALT modifier. Get multi-byte after applying ALT. 39376Files: src/getchar.c 39377 39378Patch 8.1.2136 39379Problem: using freed memory with autocmd from fuzzer. (Dhiraj Mishra, 39380 Dominique Pelle) 39381Solution: Avoid using "wp" after autocommands. (closes #5041) 39382Files: src/window.c, src/testdir/test_autocmd.vim 39383 39384Patch 8.1.2137 39385Problem: Parsing the termresponse is not tested. 39386Solution: Add a first test. (related to #5042) 39387Files: src/testdir/test_termcodes.vim 39388 39389Patch 8.1.2138 39390Problem: Including the build number in the Win32 binary is confusing. 39391Solution: Only use the patchlevel. 39392Files: src/vim.rc 39393 39394Patch 8.1.2139 39395Problem: The modifyOtherKeys codes are not tested. 39396Solution: Add a test case. 39397Files: src/testdir/test_termcodes.vim 39398 39399Patch 8.1.2140 39400Problem: "gk" and "gj" do not work correctly in number column. 39401Solution: Allow for a negative "curswant". (Zach Wegner, closes #4969) 39402Files: src/testdir/test_normal.vim, src/misc2.c, src/normal.c 39403 39404Patch 8.1.2141 39405Problem: :tselect has an extra hit-enter prompt. 39406Solution: Do not set need_wait_return when only moving the cursor. 39407 (closes #5040) 39408Files: src/message.c, src/testdir/test_tagjump.vim, 39409 src/testdir/dumps/Test_tselect_1.dump 39410 39411Patch 8.1.2142 39412Problem: Some key mappings do not work with modifyOtherKeys. 39413Solution: Remove the Shift modifier if it is already included in the key. 39414Files: src/term.c, src/testdir/test_termcodes.vim 39415 39416Patch 8.1.2143 39417Problem: Cannot see each command even when 'verbose' is set. 39418Solution: List each command when 'verbose' is at least 16. 39419Files: src/ex_docmd.c src/testdir/test_tagjump.vim, 39420 src/testdir/test_cmdline.vim, 39421 src/testdir/dumps/Test_verbose_option_1.dump 39422 39423Patch 8.1.2144 39424Problem: Side effects when using t_ti to enable modifyOtherKeys. 39425Solution: Add t_TI and t_TE. 39426Files: runtime/doc/term.txt, src/term.c, src/optiondefs.h, src/term.h, 39427 39428Patch 8.1.2145 39429Problem: Cannot map <C-H> when modifyOtherKeys is enabled. 39430Solution: Add the <C-H> mapping twice, both with modifier and as 0x08. Use 39431 only the first one when modifyOtherKeys has been detected. 39432Files: src/term.c, src/eval.c, src/getchar.c, src/globals.h, 39433 src/gui_mac.c, src/gui_w32.c, src/highlight.c, src/if_ole.cpp, 39434 src/main.c, src/map.c, src/menu.c, src/misc2.c, src/option.c, 39435 src/proto/misc2.pro, src/proto/term.pro, 39436 src/testdir/test_termcodes.vim, src/structs.h, src/terminal.c, 39437 src/usercmd.c, src/vim.h 39438 39439Patch 8.1.2146 (after 8.1.2145) 39440Problem: Build failure. 39441Solution: Include omitted changed file. 39442Files: src/optionstr.c 39443 39444Patch 8.1.2147 39445Problem: Crash when allocating memory fails. (Zu-Ming Jiang) 39446Solution: Check that 'spellcapcheck' is not NULL. (closes #5048) 39447Files: src/spell.c 39448 39449Patch 8.1.2148 39450Problem: No test for right click extending Visual area. 39451Solution: Add a test. (Dominique Pelle, closes #5018) 39452Files: src/testdir/test_termcodes.vim 39453 39454Patch 8.1.2149 39455Problem: Crash when running out of memory very early. 39456Solution: Do not use IObuff when it's NULL. (closes #5052) 39457Files: src/message.c 39458 39459Patch 8.1.2150 39460Problem: No test for 'ttymouse' set from xterm version response. 39461Solution: Test the three possible values. 39462Files: src/testdir/test_termcodes.vim 39463 39464Patch 8.1.2151 39465Problem: State test is a bit flaky. 39466Solution: Add to the list of flaky tests. 39467Files: src/testdir/runtest.vim 39468 39469Patch 8.1.2152 39470Problem: Problems navigating tags file on MacOS Catalina. 39471Solution: Use fseek instead of lseek. (John Lamb, fixes #5061) 39472Files: src/tag.c 39473 39474Patch 8.1.2153 39475Problem: Combining text property and syntax highlight is wrong. (Nick 39476 Jensen) 39477Solution: Compute the syntax highlight attribute much earlier. 39478 (closes #5057) 39479Files: src/drawline.c, src/testdir/test_textprop.vim, 39480 src/testdir/dumps/Test_textprop_syn_1.dump 39481 39482Patch 8.1.2154 39483Problem: Quickfix window height wrong when there is a tabline. (Daniel 39484 Hahler) 39485Solution: Take the tabline height into account. (closes #5058) 39486Files: src/quickfix.c, src/testdir/test_quickfix.vim 39487 39488Patch 8.1.2155 39489Problem: In a terminal window 'cursorlineopt' does not work properly. 39490Solution: Check the 'cursorlineopt' value. (closes #5055) 39491Files: src/drawline.c, src/testdir/test_terminal.vim, 39492 src/testdir/dumps/Test_terminal_normal_1.dump, 39493 src/testdir/dumps/Test_terminal_normal_2.dump, 39494 src/testdir/dumps/Test_terminal_normal_3.dump 39495 39496Patch 8.1.2156 39497Problem: First character after Tab is not highlighted. 39498Solution: Remember the syntax attribute for a column. 39499Files: src/drawline.c, src/testdir/test_syntax.vim, 39500 src/testdir/dumps/Test_syntax_c_01.dump 39501 39502Patch 8.1.2157 39503Problem: Libvterm source files missing from distribution. 39504Solution: Rename source files. (closes #5065) 39505Files: Filelist 39506 39507Patch 8.1.2158 39508Problem: Terminal attributes missing in Terminal-normal mode. 39509Solution: Use "syntax_attr". 39510Files: src/drawline.c, src/testdir/test_terminal.vim, 39511 src/testdir/dumps/Test_terminal_dumpload.dump 39512 39513Patch 8.1.2159 39514Problem: Some mappings are listed twice. 39515Solution: Skip mappings duplicated for modifyOtherKeys. (closes #5064) 39516Files: src/map.c, src/testdir/test_mapping.vim 39517 39518Patch 8.1.2160 39519Problem: Cannot build with +syntax but without +terminal. 39520Solution: Add #ifdef. 39521Files: src/drawline.c 39522 39523Patch 8.1.2161 39524Problem: Mapping test fails. 39525Solution: Run the test separately. 39526Files: src/testdir/Make_all.mak, src/testdir/test_alot.vim 39527 39528Patch 8.1.2162 39529Problem: Popup resize test is flaky. (Christian Brabandt) 39530Solution: Add the function to the list of flaky tests. 39531Files: src/testdir/runtest.vim 39532 39533Patch 8.1.2163 39534Problem: Cannot build with +spell but without +syntax. 39535Solution: Add #ifdef. (John Marriott) 39536Files: src/drawline.c 39537 39538Patch 8.1.2164 39539Problem: Stuck when using "j" in a popupwin with popup_filter_menu if a 39540 line wraps. 39541Solution: Check the cursor line is visible. (closes #4577) 39542Files: src/popupwin.c, src/testdir/test_popupwin.vim, 39543 src/testdir/dumps/Test_popupwin_wrap_1.dump, 39544 src/testdir/dumps/Test_popupwin_wrap_2.dump 39545 39546Patch 8.1.2165 39547Problem: Mapping test fails on Mac. 39548Solution: Remove the default Mac mapping. 39549Files: src/testdir/test_mapping.vim 39550 39551Patch 8.1.2166 39552Problem: Rubyeval() not tested as a method. 39553Solution: Change a test case. 39554Files: src/testdir/test_ruby.vim 39555 39556Patch 8.1.2167 39557Problem: Mapping test fails on MS-Windows. 39558Solution: Remove all the existing Insert-mode mappings. 39559Files: src/testdir/test_mapping.vim 39560 39561Patch 8.1.2168 39562Problem: Heredoc assignment not skipped in if block. 39563Solution: Check if "skip" is set. (closes #5063) 39564Files: src/evalvars.c, src/testdir/test_let.vim 39565 39566Patch 8.1.2169 39567Problem: Terminal flags are never reset. 39568Solution: Reset the flags when setting 'term'. 39569Files: src/term.c, src/testdir/test_termcodes.vim 39570 39571Patch 8.1.2170 (after 8.1.2169) 39572Problem: Cannot build without the +termresponse feature. 39573Solution: Add #ifdef. 39574Files: src/term.c 39575 39576Patch 8.1.2171 39577Problem: Mouse support not always available. 39578Solution: Enable mouse support also in tiny version. Do not define 39579 FEAT_MOUSE_XTERM on MS-Windows (didn't really work). 39580Files: src/feature.h, src/edit.c, src/evalfunc.c, src/ex_getln.c, 39581 src/getchar.c, src/message.c, src/misc1.c, src/mouse.c, 39582 src/move.c, src/normal.c, src/ops.c, src/option.c, 39583 src/optionstr.c, src/os_unix.c, src/os_win32.c, src/register.c, 39584 src/term.c, src/testing.c, src/window.c, src/globals.h, 39585 src/option.h, src/optiondefs.h, src/os_win32.h, src/vim.h, 39586 src/version.c 39587 39588Patch 8.1.2172 39589Problem: Spell highlight is wrong at start of the line. 39590Solution: Fix setting the "v" variable. (closes #5078) 39591Files: src/drawline.c, src/testdir/test_spell.vim, 39592 src/testdir/dumps/Test_spell_1.dump 39593 39594Patch 8.1.2173 39595Problem: Searchit() has too many arguments. 39596Solution: Move optional arguments to a struct. Add the "wrapped" argument. 39597Files: src/search.c, src/proto/search.pro, src/structs.h, src/evalfunc.c, 39598 src/ex_docmd.c, src/gui.c, src/quickfix.c, src/spell.c, src/tag.c, 39599 src/ex_getln.c, src/insexpand.c, src/normal.c 39600 39601Patch 8.1.2174 39602Problem: Screen not recognized as supporting "sgr" mouse codes. 39603Solution: Recognize screen 4.7. (Jordan Christiansen, closes #5042) 39604Files: src/term.c, src/testdir/test_termcodes.vim 39605 39606Patch 8.1.2175 39607Problem: Meson files are not recognized. 39608Solution: Add the meson filetype. (Liam Beguin, Nirbheek Chauhan, 39609 closes #5056) Also recognize hollywood. 39610Files: runtime/filetype.vim, src/testdir/test_filetype.vim 39611 39612Patch 8.1.2176 39613Problem: Syntax attributes not combined with Visual highlighting. (Arseny 39614 Nasokin) 39615Solution: Combine the attributes. (closes #5083) 39616Files: src/drawline.c, src/testdir/test_syntax.vim, 39617 src/testdir/dumps/Test_syntax_c_01.dump 39618 39619Patch 8.1.2177 39620Problem: Dart files are not recognized. 39621Solution: Add a filetype rule. (Eugene Ciurana, closes #5087) 39622Files: runtime/filetype.vim, src/testdir/test_filetype.vim 39623 39624Patch 8.1.2178 39625Problem: Accessing uninitialized memory in test. 39626Solution: Check if there was a match before using the match position. 39627 (Dominique Pelle, closes #5088) 39628Files: src/search.c 39629 39630Patch 8.1.2179 39631Problem: Pressing "q" at the more prompt doesn't stop Python output. (Daniel 39632 Hahler) 39633Solution: Check for got_int in writer(). (closes #5053) 39634 Also do this for Lua. 39635Files: src/if_py_both.h, src/if_lua.c 39636 39637Patch 8.1.2180 39638Problem: Error E303 is not useful when 'directory' is empty. 39639Solution: Skip the error message. (Daniel Hahler, #5067) 39640Files: src/memline.c, src/testdir/test_recover.vim, 39641 runtime/doc/options.txt, runtime/doc/message.txt 39642 39643Patch 8.1.2181 39644Problem: Highlighting wrong when item follows tab. 39645Solution: Don't use syntax attribute when n_extra is non-zero. 39646 (Christian Brabandt, closes #5076) 39647Files: src/drawline.c, src/feature.h, 39648 src/testdir/dumps/Test_syntax_c_01.dump 39649 39650Patch 8.1.2182 39651Problem: Test42 seen as binary by git diff. 39652Solution: Add .gitattributes file. Make explicit that 'cpo' does not 39653 contain 'S'. (Daniel Hahler, closes #5072) 39654Files: .gitattributes, Filelist, src/testdir/test42.in 39655 39656Patch 8.1.2183 39657Problem: Running a test is a bit verbose. 39658Solution: Silence some messages. (Daniel Hahler, closes #5070) 39659Files: src/testdir/Makefile 39660 39661Patch 8.1.2184 39662Problem: Option context is not copied when splitting a window. (Daniel 39663 Hahler) 39664Solution: Copy the option context, so that ":verbose set" works. 39665 (closes #5066) 39666Files: src/option.c, src/testdir/test_options.vim 39667 39668Patch 8.1.2185 (after 8.1.2181) 39669Problem: Syntax test fails. 39670Solution: Add missing file patch. 39671Files: src/testdir/test_syntax.vim 39672 39673Patch 8.1.2186 (after 8.1.2184) 39674Problem: Cannot build without the +eval feature. 39675Solution: Move line inside #ifdef. 39676Files: src/option.c 39677 39678Patch 8.1.2187 39679Problem: Error for bad regexp even though regexp is not used when writing 39680 a file. (Arseny Nasokin) 39681Solution: Ignore regexp errors. (closes #5059) 39682Files: src/cmdexpand.c, src/ex_docmd.c, src/testdir/test_writefile.vim 39683 39684Patch 8.1.2188 (after 8.1.2187) 39685Problem: Build error for missing define. 39686Solution: Add missing change. 39687Files: src/vim.h 39688 39689Patch 8.1.2189 39690Problem: Syntax highlighting wrong for tab. 39691Solution: Don't clear syntax attribute n_extra is non-zero. 39692Files: src/drawline.c, src/testdir/test_syntax.vim, 39693 src/testdir/dumps/Test_syntax_c_01.dump 39694 39695Patch 8.1.2190 39696Problem: Syntax test fails on Mac. 39697Solution: Limit the window size to 20 rows. 39698Files: src/testdir/test_syntax.vim, 39699 src/testdir/dumps/Test_syntax_c_01.dump 39700 39701Patch 8.1.2191 39702Problem: When using modifyOtherKeys CTRL-X mode may not work. 39703Solution: Recognize a control character also in the form with a modifier. 39704Files: src/getchar.c 39705 39706Patch 8.1.2192 39707Problem: Cannot easily fill the info popup asynchronously. 39708Solution: Add the "popuphidden" value to 'completeopt'. (closes #4924) 39709Files: src/popupmenu.c, src/proto/popupmenu.pro, src/popupwin.c, 39710 src/proto/popupwin.pro, src/vim.h, runtime/doc/options.txt, 39711 runtime/doc/insert.txt, src/ex_cmds.c, src/proto/ex_cmds.pro, 39712 src/optionstr.c, src/testdir/test_popupwin.vim, 39713 src/testdir/dumps/Test_popupwin_infopopup_hidden_1.dump, 39714 src/testdir/dumps/Test_popupwin_infopopup_hidden_2.dump, 39715 src/testdir/dumps/Test_popupwin_infopopup_hidden_3.dump 39716 39717Patch 8.1.2193 39718Problem: Popup_setoptions(popup_getoptions()) does not work. 39719Solution: Also accept a list with three entries for "moved" and 39720 "mousemoved". (closes #5081) 39721Files: runtime/doc/popup.txt, src/popupwin.c, 39722 src/testdir/test_popupwin.vim 39723 39724Patch 8.1.2194 39725Problem: ModifyOtherKeys is not enabled by default. 39726Solution: Add t_TI and t_TE to the builtin xterm termcap. 39727Files: runtime/doc/map.txt, src/term.c 39728 39729Patch 8.1.2195 39730Problem: Vim does not exit when closing a terminal window and it is the 39731 last window. 39732Solution: Exit Vim if the closed terminal window is the last one. 39733 (closes #4539) 39734Files: runtime/doc/terminal.txt, src/terminal.c, src/ex_docmd.c, 39735 src/proto/ex_docmd.pro, src/testdir/test_terminal.vim 39736 39737Patch 8.1.2196 39738Problem: MS-Windows: running tests with MSVC lacks updates. 39739Solution: Improve running individual tests on MS-Windows. (closes #4922) 39740Files: src/Make_mvc.mak, src/testdir/Make_dos.mak 39741 39742Patch 8.1.2197 39743Problem: ExitPre autocommand may cause accessing freed memory. 39744Solution: Check the window pointer is still valid. (closes #5093) 39745Files: src/testdir/test_exit.vim, src/ex_docmd.c 39746 39747Patch 8.1.2198 39748Problem: Crash when using :center in autocommand. 39749Solution: Bail out early for an empty line. (Dominique Pelle, closes #5095) 39750Files: src/ex_cmds.c, src/testdir/test_textformat.vim 39751 39752Patch 8.1.2199 39753Problem: Build failure when using normal features without GUI and EXITFREE 39754 defined. 39755Solution: Add #ifdef. (Dominique Pelle, closes #5106) 39756Files: src/scriptfile.c 39757 39758Patch 8.1.2200 39759Problem: Crash when memory allocation fails. 39760Solution: Check for NULL curwin and curbuf. (Christian Brabandt, 39761 closes #4839) 39762Files: src/getchar.c 39763 39764Patch 8.1.2201 39765Problem: Cannot build with dynamically linked Python 3.8. 39766Solution: Implement py3__Py_DECREF() and py3__Py_XDECREF(). (Ken Takata, 39767 closes #4080) 39768Files: src/if_python3.c 39769 39770Patch 8.1.2202 39771Problem: MS-Windows: build failure with GUI and small features. 39772Solution: Add #ifdef. (Michael Soyka, closes #5097) 39773Files: src/gui_w32.c 39774 39775Patch 8.1.2203 39776Problem: Running libvterm tests without the +terminal feature. 39777Solution: Only add the libvterm test target when building libvterm. 39778Files: src/configure.ac, src/auto/configure, src/config.mk.in, 39779 src/Makefile 39780 39781Patch 8.1.2204 39782Problem: Crash on exit when closing terminals. (Corey Hickey) 39783Solution: Actually wait for the job to stop. (closes #5100) 39784Files: src/terminal.c 39785 39786Patch 8.1.2205 39787Problem: Sign entry structure has confusing name. 39788Solution: Rename signlist_T to sign_entry_T and prefix se_ to the fields. 39789Files: src/structs.h, src/netbeans.c, src/sign.c, src/globals.h, 39790 src/drawline.c 39791 39792Patch 8.1.2206 39793Problem: No test for fixed issue #3893. 39794Solution: Add a test. (Christian Brabandt, #3893) 39795Files: src/testdir/test_display.vim, 39796 src/testdir/dumps/Test_winline_rnu.dump 39797 39798Patch 8.1.2207 39799Problem: "gn" doesn't work quite right. (Jaehwang Jerry Jung) 39800Solution: Improve and simplify the search logic. (Christian Brabandt, 39801 closes #5103, closes #5075) 39802Files: src/search.c, src/testdir/test_gn.vim 39803 39804Patch 8.1.2208 39805Problem: Unix: Tabs in output might be expanded to spaces. 39806Solution: Reset the XTABS flag. (closes #5108) 39807Files: src/os_unix.c 39808 39809Patch 8.1.2209 39810Problem: LF in escape codes may be expanded to CR-LF. 39811Solution: Do not expand LF in escape codes to CR-LF. (closes #5107) 39812Files: src/term.c 39813 39814Patch 8.1.2210 39815Problem: Using negative offset for popup_create() does not work. 39816Solution: Use -1 instead of zero. (closes #5111) 39817Files: src/popupwin.c, src/popupwin.vim, src/testdir/test_popupwin.vim, 39818 src/testdir/dumps/Test_popupwin_corners.dump 39819 39820Patch 8.1.2211 39821Problem: Listener callback "added" argument is not the total. (Andy 39822 Massimino) 39823Solution: Compute the total. (closes #5105) 39824Files: src/change.c, src/testdir/test_listener.vim 39825 39826Patch 8.1.2212 39827Problem: Cannot see the selection type in :reg output. (Ayberk Aydın) 39828Solution: Add c/l/b. (Christian Brabandt, closes #5110, closes #4546) 39829Files: runtime/doc/change.txt, src/register.c, 39830 src/testdir/test_registers.vim 39831 39832Patch 8.1.2213 39833Problem: Popup_textprop tests fail. 39834Solution: Adjust the column and line positioning. 39835Files: src/popupwin.c 39836 39837Patch 8.1.2214 39838Problem: Too much is redrawn when 'cursorline' is set. 39839Solution: Don't do a complete redraw. (closes #5079) 39840Files: src/main.c, src/change.c, src/drawscreen.c, 39841 src/testdir/dumps/Test_Xcursorline_13.dump, 39842 src/testdir/dumps/Test_Xcursorline_14.dump, 39843 src/testdir/dumps/Test_Xcursorline_15.dump, 39844 src/testdir/dumps/Test_Xcursorline_16.dump, 39845 src/testdir/dumps/Test_Xcursorline_17.dump, 39846 src/testdir/dumps/Test_Xcursorline_18.dump 39847 39848Patch 8.1.2215 39849Problem: Unreachable code in adjusting text prop columns. 39850Solution: Remove the code. (Christian Brabandt) 39851Files: src/textprop.c 39852 39853Patch 8.1.2216 39854Problem: Text property in wrong place after :substitute. 39855Solution: Pass the new column instead of the old one. (Christian Brabandt, 39856 closes #4427) 39857Files: src/ex_cmds.c, src/testdir/test_textprop.vim 39858 39859Patch 8.1.2217 39860Problem: Compiler warning for unused variable. 39861Solution: Move variable inside #ifdef. (John Marriott) 39862Files: src/ex_cmds.c 39863 39864Patch 8.1.2218 39865Problem: "gN" is off by one in Visual mode. 39866Solution: Check moving forward. (Christian Brabandt, #5075) 39867Files: src/search.c, src/testdir/test_gn.vim 39868 39869Patch 8.1.2219 39870Problem: No autocommand for open window with terminal. 39871Solution: Add TerminalWinOpen. (Christian Brabandt) 39872Files: runtime/doc/autocmd.txt, src/autocmd.c, src/terminal.c, 39873 src/testdir/test_terminal.vim, src/vim.h 39874 39875Patch 8.1.2220 39876Problem: :cfile does not abort like other quickfix commands. 39877Solution: Abort when desired. Add tests for aborting. (Yegappan Lakshmanan, 39878 closes #5121) 39879Files: src/quickfix.c, src/testdir/test_quickfix.vim 39880 39881Patch 8.1.2221 39882Problem: Cannot filter :disp output. 39883Solution: Support filtering :disp output. (Andy Massimino, closes #5117) 39884Files: runtime/doc/various.txt, src/register.c, 39885 src/testdir/test_filter_cmd.vim 39886 39887Patch 8.1.2222 39888Problem: Accessing invalid memory. (Dominique Pelle) 39889Solution: Reset highlight_match every time. (closes #5125) 39890Files: src/ex_getln.c 39891 39892Patch 8.1.2223 39893Problem: Cannot see what buffer an ml_get error is for. 39894Solution: Add the buffer number and name in the message 39895Files: src/memline.c 39896 39897Patch 8.1.2224 39898Problem: Cannot build Amiga version. 39899Solution: Add dummy mch_setmouse(). (Ola Söder, closes #5126) 39900Files: src/os_amiga.c, src/proto/os_amiga.pro 39901 39902Patch 8.1.2225 39903Problem: The "last used" info of a buffer is under used. 39904Solution: Add "lastused" to getbufinfo(). List buffers sorted by last-used 39905 field. (Andy Massimino, closes #4722) 39906Files: runtime/doc/eval.txt, runtime/doc/options.txt, 39907 runtime/doc/windows.txt, src/buffer.c, src/evalbuffer.c, 39908 src/ex_getln.c, src/misc1.c, src/option.c, src/option.h, 39909 src/proto/misc1.pro, src/proto/viminfo.pro, 39910 src/testdir/test_bufwintabinfo.vim, src/testdir/test_cmdline.vim, 39911 src/testdir/test_excmd.vim, src/undo.c, src/vim.h, src/viminfo.c 39912 39913Patch 8.1.2226 39914Problem: Cannot use system copy/paste in non-xterm terminals. 39915Solution: Instead of setting 'mouse' to "a" set it to "nvi" in defaults.vim. 39916Files: runtime/defaults.vim, runtime/doc/term.txt, 39917 runtime/doc/options.txt 39918 39919Patch 8.1.2227 39920Problem: Layout wrong if 'lines' changes while cmdline window is open. 39921Solution: Do not restore the window layout if 'lines' changed. 39922 (closes #5130) 39923Files: src/window.c, src/testdir/test_cmdline.vim, 39924 src/testdir/dumps/Test_cmdwin_restore_1.dump, 39925 src/testdir/dumps/Test_cmdwin_restore_2.dump, 39926 src/testdir/dumps/Test_cmdwin_restore_3.dump 39927 39928Patch 8.1.2228 39929Problem: screenpos() returns wrong values when 'number' is set. (Ben 39930 Jackson) 39931Solution: Compare the column with the window width. (closes #5133) 39932Files: src/move.c, src/testdir/test_cursor_func.vim 39933 39934Patch 8.1.2229 39935Problem: Cannot color number column above/below cursor differently. 39936Solution: Add LineNrAbove and LineNrBelow. (Shaun Brady, closes #624) 39937Files: runtime/doc/syntax.txt, runtime/doc/options.txt, src/optiondefs.h, 39938 src/drawline.c, src/vim.h, src/testdir/test_number.vim, 39939 src/testdir/dumps/Test_relnr_colors_1.dump, 39940 src/testdir/dumps/Test_relnr_colors_2.dump, 39941 src/testdir/dumps/Test_relnr_colors_3.dump, 39942 src/testdir/dumps/Test_relnr_colors_4.dump 39943 39944Patch 8.1.2230 39945Problem: MS-Windows: testing external commands can be improved. 39946Solution: Adjust tests, remove duplicate test. (closes #4928) 39947Files: src/testdir/test_normal.vim, src/testdir/test_system.vim, 39948 src/testdir/test_terminal.vim, src/testdir/test_undo.vim 39949 39950Patch 8.1.2231 39951Problem: Not easy to move to the middle of a text line. 39952Solution: Add the gM command. (Yasuhiro Matsumoto, closes #2070) 39953Files: runtime/doc/index.txt, runtime/doc/motion.txt, 39954 runtime/doc/quickref.txt, runtime/doc/usr_25.txt, src/normal.c, 39955 src/testdir/test_normal.vim 39956 39957Patch 8.1.2232 39958Problem: MS-Windows: compiler warning for int size. 39959Solution: Add type cast. (Mike Williams) 39960Files: src/normal.c 39961 39962Patch 8.1.2233 39963Problem: Cannot get the Vim command line arguments. 39964Solution: Add v:argv. (Dmitri Vereshchagin, closes #1322) 39965Files: runtime/doc/eval.txt, src/evalvars.c, src/vim.h, 39966 src/proto/evalvars.pro, src/main.c, src/testdir/test_startup.vim 39967 39968Patch 8.1.2234 39969Problem: get_short_pathname() fails depending on encoding. 39970Solution: Use the wide version of the library function. (closes #5129) 39971Files: src/filepath.c, src/testdir/test_shortpathname.vim 39972 39973Patch 8.1.2235 39974Problem: "C" with 'virtualedit' set does not include multi-byte char. 39975Solution: Include the whole multi-byte char. (Nobuhiro Takasaki, 39976 closes #5152) 39977Files: src/ops.c, src/testdir/test_virtualedit.vim 39978 39979Patch 8.1.2236 39980Problem: Ml_get error if pattern matches beyond last line. 39981Solution: Adjust position if needed. (Christian Brabandt, closes #5139) 39982Files: src/ex_cmds.c, src/testdir/test_substitute.vim 39983 39984Patch 8.1.2237 39985Problem: Mode() result after using "r" depends on whether CURSOR_SHAPE is 39986 defined. (Christian Brabandt) 39987Solution: Move the #ifdef to only skip ui_cursor_shape(). 39988Files: src/normal.c 39989 39990Patch 8.1.2238 39991Problem: Error in docs tags goes unnoticed. 39992Solution: Adjust tags build command. (Ken Takata, closes #5158) 39993Files: Filelist, .travis.yml, runtime/doc/Makefile, 39994 runtime/doc/doctags.vim 39995 39996Patch 8.1.2239 39997Problem: CI fails when running tests without building Vim. 39998Solution: Skip creating doc tags if the execute does not exist. 39999Files: runtime/doc/Makefile 40000 40001Patch 8.1.2240 40002Problem: Popup window width changes when scrolling. 40003Solution: Also adjust maxwidth when applying minwidth and there is a 40004 scrollbar. Fix off-by-one error. (closes #5162) 40005Files: src/popupwin.c, src/testdir/test_popupwin.vim, 40006 src/testdir/dumps/Test_popupwin_scroll_11.dump, 40007 src/testdir/dumps/Test_popupwin_scroll_12.dump, 40008 src/testdir/dumps/Test_popupwin_previewpopup_4.dump, 40009 src/testdir/dumps/Test_popupwin_previewpopup_5.dump, 40010 src/testdir/dumps/Test_popupwin_previewpopup_7.dump, 40011 src/testdir/dumps/Test_popupwin_previewpopup_8.dump, 40012 40013Patch 8.1.2241 40014Problem: Match highlight does not combine with 'wincolor'. 40015Solution: Apply 'wincolor' last on top of any other attribute. (closes #5159) 40016Files: src/drawline.c, src/testdir/test_popupwin.vim, 40017 src/testdir/dumps/Test_popupwin_matches.dump 40018 src/testdir/dumps/Test_popupwin_menu_01.dump 40019 src/testdir/dumps/Test_popupwin_menu_02.dump 40020 src/testdir/dumps/Test_popupwin_menu_04.dump 40021 40022Patch 8.1.2242 40023Problem: Creating docs tags uses user preferences. (Tony Mechelynck) 40024Solution: Add "--clean". 40025Files: runtime/doc/Makefile 40026 40027Patch 8.1.2243 40028Problem: Typos in comments. 40029Solution: Fix the typos. (Dominique Pelle, closes #5160) Also adjust 40030 formatting a bit. 40031Files: src/autocmd.c, src/buffer.c, src/cindent.c, src/crypt.c, 40032 src/diff.c, src/getchar.c, src/globals.h, src/gui_gtk_x11.c, 40033 src/highlight.c, src/insexpand.c, src/macros.h, src/map.c, 40034 src/memline.c, src/message.c, src/option.c, src/os_unix.c, 40035 src/pty.c, src/quickfix.c, src/regexp_nfa.c, src/register.c, 40036 src/spellsuggest.c, src/structs.h, src/textprop.c, src/ui.c, 40037 src/undo.c, src/vim.h, src/viminfo.c 40038 40039Patch 8.1.2244 40040Problem: 'wrapscan' is not used for "gn". 40041Solution: Only reset 'wrapscan' for the first search round. (closes #5164) 40042Files: src/search.c, src/testdir/test_gn.vim 40043 40044Patch 8.1.2245 40045Problem: Third character of 'listchars' tab shows in wrong place when 40046 'breakindent' is set. 40047Solution: Set c_final to NUL. (Naruhiko Nishino, closes #5165) 40048Files: src/drawline.c, src/testdir/test_breakindent.vim 40049 40050Patch 8.1.2246 40051Problem: Some tests are still in old style. 40052Solution: Change a few tests to new style. (Yegappan Lakshmanan) 40053Files: src/testdir/Make_all.mak, src/testdir/test49.ok, 40054 src/testdir/test49.vim, src/testdir/test_trycatch.vim, 40055 src/testdir/test_vimscript.vim 40056 40057Patch 8.1.2247 40058Problem: "make vimtags" does not work in runtime/doc. 40059Solution: Test existence with "which" instead of "test -x". (Ken Takata) 40060Files: runtime/doc/Makefile 40061 40062Patch 8.1.2248 40063Problem: CTRL-W dot does not work in a terminal when modifyOtherKeys is 40064 enabled. 40065Solution: Use the modifier when needed. Pass the modifier along with the 40066 key to avoid mistakes. 40067Files: src/terminal.c, src/proto/terminal.pro, src/mouse.c 40068 40069Patch 8.1.2249 40070Problem: "make vimtags" does not print any message. 40071Solution: Add a message that the tags have been updated. 40072Files: runtime/doc/Makefile 40073 40074Patch 8.1.2250 40075Problem: CTRL-U and CTRL-D don't work in popup window. 40076Solution: Initialize 'scroll'. Add "lastline" in popup_getpos(). 40077 (closes #5170) 40078Files: src/popupwin.c, src/testdir/test_popupwin.vim, 40079 runtime/doc/popup.txt 40080 40081Patch 8.1.2251 40082Problem: ":term command" may not work without a shell. 40083Solution: Add the ++shell option to :term. (closes #3340) 40084Files: runtime/doc/terminal.txt, src/terminal.c, 40085 src/os_unix.c, src/proto/os_unix.pro, 40086 src/testdir/test_terminal.vim 40087 40088Patch 8.1.2252 40089Problem: Compiler warning for int size. 40090Solution: Add type cast. (Mike Williams) 40091Files: src/filepath.c 40092 40093Patch 8.1.2253 40094Problem: Using "which" to check for an executable is not reliable. 40095Solution: Use "command -v" instead. Also exit with error code when 40096 generating tags has an error. (closes #5174) 40097Files: runtime/doc/Makefile 40098 40099Patch 8.1.2254 40100Problem: MS-Windows: mouse scroll wheel doesn't work in popup. 40101Solution: Handle mouse wheel events separately. (closes #5138) 40102Files: src/gui_w32.c, src/gui.c, src/proto/gui.pro 40103 40104Patch 8.1.2255 40105Problem: ":term ++shell" does not work on MS-Windows. 40106Solution: Add MS-Windows support. 40107Files: src/terminal.c, src/testdir/test_terminal.vim 40108 40109Patch 8.1.2256 (after 8.1.2255) 40110Problem: Test for ":term ++shell" fails on MS-Windows. 40111Solution: Accept failure of "dir" executable. 40112Files: src/testdir/test_terminal.vim 40113 40114Patch 8.1.2257 40115Problem: MS-Windows GUI: scroll wheel always uses current window. 40116Solution: Add the 'scrollfocus' option for MS-Windows. 40117Files: runtime/doc/options.txt, src/gui_w32.c, src/optiondefs.h, 40118 src/option.h 40119 40120Patch 8.1.2258 40121Problem: May get hit-enter prompt after entering a number. (Malcolm Rowe) 40122Solution: Put back accidentally deleted lines. (closes #5176) 40123Files: src/misc1.c 40124 40125Patch 8.1.2259 40126Problem: Running tests may leave XfakeHOME behind. 40127Solution: Source summarize.vim without using setup.vim. (closes #5177) 40128 Also fix that on MS-Windows the test log isn't echoed. 40129Files: src/testdir/Makefile, src/testdir/Make_dos.mak 40130 40131Patch 8.1.2260 40132Problem: Terminal test may fail on MS-Windows. 40133Solution: Catch the situation that "term dir" fails with a CreateProcess 40134 error. 40135Files: src/testdir/test_terminal.vim 40136 40137Patch 8.1.2261 40138Problem: With modifyOtherKeys set 'noesckeys' doesn't work. (James McCoy) 40139Solution: Disable modifyOtherKeys while in Insert mode when 'noesckeys' is 40140 set. (closes #5180) 40141Files: src/edit.c, src/testdir/test_edit.vim 40142 40143Patch 8.1.2262 40144Problem: Unpack assignment in function not recognized. 40145Solution: Skip over "[a, b]". (closes #5051) 40146Files: src/userfunc.c, src/testdir/test_let.vim 40147 40148Patch 8.1.2263 40149Problem: 'noesckeys' test fails in GUI. 40150Solution: Skip the test in the GUI. 40151Files: src/testdir/test_edit.vim 40152 40153Patch 8.1.2264 40154Problem: There are two test files for :let. 40155Solution: Merge the two files. 40156Files: src/testdir/test_assign.vim, src/testdir/test_let.vim, 40157 src/testdir/Make_all.mak, src/testdir/test_alot.vim 40158 40159Patch 8.1.2265 40160Problem: When popup with "botleft" does not fit it flips incorrectly. 40161Solution: Only flip when there is more space on the other side. Add the 40162 "posinvert" option to disable flipping and do it in both 40163 directions if enabled. (closes #5151) 40164Files: src/popupwin.c, src/testdir/test_popupwin.vim, src/vim.h, 40165 src/testdir/dumps/Test_popupwin_nospace.dump 40166 40167Patch 8.1.2266 40168Problem: Position unknown for a mouse click in a popup window. 40169Solution: Set v:mouse_col and v:mouse_lnum. (closes #5171) 40170Files: src/popupwin.c, src/testdir/test_popupwin.vim 40171 40172Patch 8.1.2267 40173Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) 40174Solution: Rearrange the code. 40175Files: src/buffer.c 40176 40177Patch 8.1.2268 40178Problem: Spell file flag zero is not recognized. 40179Solution: Use -1 as an error value, so that zero can be used as a valid flag 40180 number. 40181Files: src/spellfile.c, src/testdir/test_spell.vim 40182 40183Patch 8.1.2269 40184Problem: Tags file with very long line stops using binary search. 40185Solution: Reallocate the buffer if needed. 40186Files: src/tag.c, src/testdir/test_tagjump.vim 40187 40188Patch 8.1.2270 40189Problem: "gf" is not tested in Visual mode. 40190Solution: Add Visual mode test and test errors. (Dominique Pelle, 40191 closes #5197) 40192Files: src/testdir/test_gf.vim 40193 40194Patch 8.1.2271 40195Problem: Build error if FEAT_TAG_BINS is not defined. (John Marriott) 40196Solution: Add #ifdef. 40197Files: src/tag.c 40198 40199Patch 8.1.2272 40200Problem: Test may hang at more prompt. 40201Solution: Reset 'more' after resetting 'compatible'. (Michael Soyka) 40202Files: src/testdir/test_vimscript.vim 40203 40204Patch 8.1.2273 40205Problem: Wrong default when "pos" is changed with popup_atcursor(). 40206Solution: Adjust the default line and col when "pos" is not the default 40207 value. (#5151) 40208Files: runtime/doc/popup.txt, src/structs.h, src/popupwin.c, 40209 src/proto/popupwin.pro, src/ex_cmds.c, 40210 src/testdir/test_popupwin.vim, 40211 src/testdir/dumps/Test_popupwin_atcursor_pos.dump 40212 40213Patch 8.1.2274 40214Problem: Newlines in 'balloonexpr' result only work in the GUI. 40215Solution: Also recognize newlines in the terminal. (closes #5193) 40216Files: src/popupmenu.c, src/testdir/test_balloon.vim, 40217 src/testdir/dumps/Test_balloon_eval_term_01.dump, 40218 src/testdir/dumps/Test_balloon_eval_term_01a.dump, 40219 src/testdir/dumps/Test_balloon_eval_term_02.dump 40220 40221Patch 8.1.2275 40222Problem: Using "seesion" looks like a mistake. 40223Solution: Use an underscore to make the function sort first. 40224Files: src/testdir/test_mksession.vim 40225 40226Patch 8.1.2276 40227Problem: MS-Windows: session test leaves files behind. 40228Solution: Wipe out buffers before deleting the directory. (closes #5187) 40229Files: src/testdir/test_mksession.vim 40230 40231Patch 8.1.2277 40232Problem: Terminal window is not updated when info popup changes. 40233Solution: Redraw windows when re-using an info popup. (closes #5192) 40234Files: src/ex_cmds.c 40235 40236Patch 8.1.2278 40237Problem: Using "cd" with "exe" may fail. 40238Solution: Use chdir() instead. 40239Files: src/testdir/test_autochdir.vim, src/testdir/test_autocmd.vim, 40240 src/testdir/test_cd.vim, src/testdir/test_expand.vim, 40241 src/testdir/test_find_complete.vim, src/testdir/test_findfile.vim, 40242 src/testdir/test_getcwd.vim, src/testdir/test_shortpathname.vim 40243 40244Patch 8.1.2279 40245Problem: Computation of highlight attributes is too complicated. 40246Solution: Simplify the attribute computation and make it more consistent. 40247 (closes #5190) Fix that 'combine' set to zero doesn't work. 40248Files: src/drawline.c, src/testdir/test_textprop.vim, 40249 src/testdir/dumps/Test_textprop_01.dump 40250 40251Patch 8.1.2280 40252Problem: Crash when passing partial to substitute(). 40253Solution: Take extra arguments into account. (closes #5186) 40254Files: src/userfunc.c, src/structs.h, src/regexp.c, src/proto/regexp.pro, 40255 src/testdir/test_substitute.vim 40256 40257Patch 8.1.2281 40258Problem: 'showbreak' cannot be set for one window. 40259Solution: Make 'showbreak' global-local. 40260Files: src/optiondefs.h, src/option.c, src/option.h, 40261 src/proto/option.pro, src/structs.h, src/charset.c, 40262 src/drawline.c, src/edit.c, src/move.c, src/normal.c, src/ops.c, 40263 src/optionstr.c, src/testdir/test_highlight.vim, 40264 src/testdir/test_breakindent.vim, runtime/doc/options.txt 40265 40266Patch 8.1.2282 40267Problem: Crash when passing many arguments through a partial. (Andy 40268 Massimino) 40269Solution: Check the number of arguments. (closes #5186) 40270Files: src/userfunc.c, src/proto/userfunc.pro, src/evalfunc.c, 40271 src/regexp.c, src/testdir/test_expr.vim, 40272 src/testdir/test_substitute.vim 40273 40274Patch 8.1.2283 40275Problem: Missed one use of p_sbr. 40276Solution: Add missing p_sbr change. 40277Files: src/indent.c 40278 40279Patch 8.1.2284 40280Problem: Compiler warning for unused variable. (Tony Mechelynck) 40281Solution: Add #ifdef. 40282Files: src/move.c 40283 40284Patch 8.1.2285 40285Problem: Padding in structures wastes memory. 40286Solution: Move fields to avoid padding. (Dominique Pelle, closes #5202) 40287Files: src/structs.h 40288 40289Patch 8.1.2286 40290Problem: Using border highlight in popup window leaks memory. 40291Solution: Free memory before overwriting. (Dominique Pelle, closes #5203) 40292Files: src/popupwin.c 40293 40294Patch 8.1.2287 40295Problem: Using EndOfBuffer highlight in popup does not look good. 40296Solution: Do not EndOfBuffer highlight. (closes #5204) 40297Files: src/drawscreen.c, src/testdir/test_popupwin.vim, 40298 src/testdir/dumps/Test_popupwin_02.dump, 40299 src/testdir/dumps/Test_popupwin_04.dump, 40300 src/testdir/dumps/Test_popupwin_04a.dump, 40301 src/testdir/dumps/Test_popupwin_05.dump, 40302 src/testdir/dumps/Test_popupwin_06.dump, 40303 src/testdir/dumps/Test_popupwin_07.dump, 40304 src/testdir/dumps/Test_popupwin_08.dump 40305 40306Patch 8.1.2288 40307Problem: Not using all space when popup with "topleft" flips to above. 40308Solution: Recompute the height when a popup flips from below to above. 40309 (closes #5151) 40310Files: src/popupwin.c, src/testdir/test_popupwin.vim, 40311 src/testdir/dumps/Test_popupwin_nospace.dump 40312 40313Patch 8.1.2289 40314Problem: After :diffsplit closing the window does not disable diff. 40315Solution: Add "closeoff" to 'diffopt' and add it to the default. 40316Files: runtime/doc/options.txt, src/optiondefs.h, src/diff.c, 40317 src/proto/diff.pro, src/window.c, src/testdir/test_diffmode.vim 40318 40319Patch 8.1.2290 40320Problem: Autocommand test fails. 40321Solution: Remove 'closeoff' from 'diffopt'. 40322Files: src/testdir/test_autocmd.vim 40323 40324Patch 8.1.2291 40325Problem: Memory leak when executing command in a terminal. 40326Solution: Free "argv". (Dominique Pelle, closes #5208) 40327Files: src/terminal.c 40328 40329Patch 8.1.2292 40330Problem: v:mouse_winid not set on click in popup window. 40331Solution: Set v:mouse_winid. (closes #5171) 40332Files: runtime/doc/popup.txt, src/popupwin.c, 40333 src/testdir/test_popupwin.vim 40334 40335Patch 8.1.2293 40336Problem: Join adds trailing space when second line is empty. (Brennan 40337 Vincent) 40338Solution: Do not add a trailing space. 40339Files: src/ops.c, src/testdir/test_join.vim 40340 40341Patch 8.1.2294 40342Problem: Cursor position wrong when characters are concealed and a search 40343 causes a scroll. 40344Solution: Fix the cursor column in a concealed line after window scroll. 40345 (closes #5215, closes #5012) 40346Files: src/drawscreen.c, src/testdir/test_matchadd_conceal.vim 40347 40348Patch 8.1.2295 40349Problem: If buffer of popup is in another window cursorline sign shows. 40350Solution: Check the group of the sign. 40351Files: src/option.c, src/proto/option.pro, src/sign.c, 40352 src/proto/sign.pro, src/screen.c, src/drawline.c, 40353 src/testdir/test_popupwin.vim, 40354 src/testdir/dumps/Test_popupwin_cursorline_8.dump 40355 40356Patch 8.1.2296 40357Problem: Text properties are not combined with syntax by default. 40358Solution: Make it work as documented. (closes #5190) 40359Files: src/testprop.c, src/testdir/test_textprop.vim 40360 40361Patch 8.1.2297 40362Problem: The ex_vimgrep() function is too long. 40363Solution: Split it in three parts. (Yegappan Lakshmanan, closes #5211) 40364Files: src/quickfix.c 40365 40366Patch 8.1.2298 (after 8.1.2296) 40367Problem: Missing part of 8.1.2296. 40368Solution: s/test/text/ 40369Files: src/textprop.c 40370 40371Patch 8.1.2299 40372Problem: ConPTY in MS-Windows 1909 is still wrong. 40373Solution: Use same solution as for 1903. (Nobuhiro Takasaki, closes #5217) 40374Files: src/misc2.c, src/os_win32.c 40375 40376Patch 8.1.2300 40377Problem: Redraw breaks going through list of popup windows. 40378Solution: Use different flags for popup_reset_handled(). (closes #5216) 40379Files: src/popupwin.c, src/proto/popupwin.pro, src/structs.h, src/vim.h, 40380 src/mouse.c, src/testdir/test_popupwin.vim 40381 40382Patch 8.1.2301 40383Problem: MS-Windows GUI: drawing error when background color changes. 40384Solution: Implement gui_mch_new_colors(). (Simon Sadler) 40385Files: src/gui_w32.c 40386 40387Patch 8.1.2302 40388Problem: :lockmarks does not work for '[ and ']. 40389Solution: save and restore '[ and '] marks. (James McCoy, closes #5222) 40390Files: runtime/doc/motion.txt, src/bufwrite.c, src/diff.c, src/ex_cmds.c, 40391 src/fileio.c, src/indent.c, src/ops.c, src/register.c, 40392 src/testdir/test_autocmd.vim, src/testdir/test_diffmode.vim 40393 40394Patch 8.1.2303 40395Problem: Cursor in wrong position after horizontal scroll. 40396Solution: Set w_valid_leftcol. (closes #5214, closes #5224) 40397Files: src/move.c, src/testdir/test_matchadd_conceal.vim 40398 40399Patch 8.1.2304 40400Problem: Cannot get the mouse position when getting a mouse click. 40401Solution: Add getmousepos(). 40402Files: runtime/doc/eval.txt, runtime/doc/popup.txt, src/mouse.c 40403 src/proto/mouse.pro, src/evalfunc.c, src/popupwin.c, 40404 src/popupwin.pro, src/testdir/test_popupwin.vim, 40405 src/testdir/test_functions.vim 40406 40407Patch 8.1.2305 40408Problem: No warning for wrong entry in translations. 40409Solution: Check semicolons in keywords entry of desktop file. 40410Files: src/po/check.vim 40411 40412Patch 8.1.2306 40413Problem: Double and triple clicks are not tested. 40414Solution: Test mouse clicks to select text. (closes #5226) 40415Files: src/testdir/test_termcodes.vim 40416 40417Patch 8.1.2307 40418Problem: Positioning popup doesn't work for buffer-local textprop. 40419Solution: Make it work. (closes #5225) 40420Files: src/popupwin.c, src/testdir/test_popupwin_textprop.vim 40421 40422Patch 8.1.2308 40423Problem: Deleting text before zero-width textprop removes it. 40424Solution: Keep zero-width textprop when deleting text. 40425Files: src/textprop.c, src/testdir/test_textprop.vim 40426 40427Patch 8.1.2309 40428Problem: Compiler warning for argument type. 40429Solution: Use linenr_T and cast to varnumber_T. (John Marriott) 40430Files: src/mouse.c 40431 40432Patch 8.1.2310 40433Problem: No proper test for directory changes in quickfix. 40434Solution: Add a test that uses multiple directories. (Yegappan Lakshmanan, 40435 closes #5230) 40436Files: src/testdir/test_quickfix.vim 40437 40438Patch 8.1.2311 40439Problem: Warning for missing function prototype. 40440Solution: Add the proto. (Dominique Pelle, closes #5233) 40441Files: src/proto/popupwin.pro 40442 40443Patch 8.1.2312 40444Problem: "line:" field in tags file not used. 40445Solution: Recognize the field and use the value. (Andy Massimino, Daniel 40446 Hahler, closes #5232, closes #2546, closes #1057) 40447Files: src/tag.c, src/testdir/test_tagjump.vim 40448 40449Patch 8.1.2313 40450Problem: Debugging where a delay comes from is not easy. 40451Solution: Use different values when calling ui_delay(). 40452Files: src/buffer.c, src/change.c, src/fileio.c, src/gui.c, 40453 src/if_xcmdsrv.c, src/insexpand.c, src/main.c, src/normal.c, 40454 src/screen.c, src/search.c, src/tag.c, src/term.c, src/ui.c 40455 40456Patch 8.1.2314 40457Problem: vi' sometimes does not select anything. 40458Solution: Recognize an empty selection. (Christian Brabandt, closes #5183) 40459Files: src/search.c, src/testdir/test_textobjects.vim 40460 40461Patch 8.1.2315 40462Problem: Not always using the right window when jumping to an error. 40463Solution: Add the "uselast" flag in 'switchbuf'. (closes #1652) 40464Files: runtime/doc/options.txt, src/option.h, src/optionstr.c, 40465 src/quickfix.c, src/testdir/test_quickfix.vim 40466 40467Patch 8.1.2316 40468Problem: FORTIFY_SOURCE can also be present in CPPFLAGS. 40469Solution: Remove it in configure. (Benedikt Morbach, closes #2786) 40470Files: src/configure.ac, src/auto/configure 40471 40472Patch 8.1.2317 40473Problem: No test for spell affix file with flag on suffix. 40474Solution: Add a test case. 40475Files: src/testdir/test_spell.vim 40476 40477Patch 8.1.2318 (after 8.1.2301) 40478Problem: MS-Windows GUI: main background shows in toolbar. 40479Solution: Remove transparency from the toolbar. (Simon Sadler) 40480Files: src/gui_w32.c 40481 40482Patch 8.1.2319 40483Problem: Compiler warning for int size. 40484Solution: Add typecast. (Mike Williams) 40485Files: src/mouse.c 40486 40487Patch 8.1.2320 40488Problem: Insufficient test coverage for quickfix. 40489Solution: Add more tests. Fix uncovered problem. (Yegappan Lakshmanan, 40490 closes #5238) 40491Files: src/quickfix.c, src/testdir/test_quickfix.vim 40492 40493Patch 8.1.2321 40494Problem: Cannot select all text with the mouse. (John Marriott) 40495Solution: Move limiting the mouse column to f_getmousepos(). (closes #5242) 40496Files: src/mouse.c 40497 40498Patch 8.1.2322 (after 8.1.2320) 40499Problem: Quickfix test fails in very big terminal. 40500Solution: Adjust the expected result for the width. (Masato Nishihata, 40501 closes #5244) 40502Files: src/testdir/test_quickfix.vim 40503 40504Patch 8.1.2323 40505Problem: Old MSVC version no longer tested. 40506Solution: Drop support for MSVC 2008 and older. (Ken Takata, closes #5248) 40507Files: src/INSTALLpc.txt, src/Make_mvc.mak, src/gui_w32.c, src/os_win32.c 40508 40509Patch 8.1.2324 40510Problem: Width of scrollbar in popup menu not taken into account. 40511Solution: Add the width of the scrollbar. 40512Files: src/popupmenu.c, src/testdir/dumps/Test_popupwin_infopopup_6.dump, 40513 src/testdir/test_popupwin.vim 40514 40515Patch 8.1.2325 40516Problem: Crash when using balloon with empty line. 40517Solution: Handle empty lines. (Markus Braun) 40518Files: src/popupmenu.c, src/testdir/test_popup.vim 40519 40520Patch 8.1.2326 40521Problem: Cannot parse a date/time string. 40522Solution: Add strptime(). (Stephen Wall, closes #5250) 40523Files: runtime/doc/eval.txt, runtime/doc/usr_41.txt, src/auto/configure, 40524 src/config.h.in, src/configure.ac, src/evalfunc.c, src/os_unix.h, 40525 src/testdir/test_functions.vim 40526 40527Patch 8.1.2327 40528Problem: Cannot build with Hangul input. 40529Solution: Remove Hangul input support. 40530Files: Filelist, src/Makefile, runtime/doc/hangulin.txt, src/feature.h, 40531 src/gui_gtk_x11.c, src/gui_x11.c, src/gui.c, src/edit.c, 40532 src/mbyte.c, src/screen.c, src/ui.c, src/hangulin.c, 40533 src/globals.h, src/proto/hangulin.pro, src/proto.h, 40534 src/evalfunc.c, src/version.c, src/configure.ac, 40535 src/auto/configure, src/config.h.in, src/config.mk.in 40536 40537Patch 8.1.2328 40538Problem: A few hangul input pieces remain. 40539Solution: Update VMS makefile. 40540Files: src/Make_vms.mms 40541 40542Patch 8.1.2329 40543Problem: Mouse multiple click test is a bit flaky. 40544Solution: Add it to the list of flaky tests. 40545Files: src/testdir/runtest.vim 40546 40547Patch 8.1.2330 (after 8.1.2314) 40548Problem: vi' does not always work when 'selection' is exclusive. 40549Solution: Adjust start position. 40550Files: src/search.c, src/testdir/test_textobjects.vim 40551 40552Patch 8.1.2331 40553Problem: The option.c file is still very big. 40554Solution: Move a few functions to where they fit better. (Yegappan 40555 Lakshmanan, closes #4895) 40556Files: src/option.c, src/proto/option.pro, src/change.c, 40557 src/proto/change.pro, src/ex_getln.c, src/proto/ex_getln.pro, 40558 src/globals.h, src/gui.c, src/proto/gui.pro, src/ui.c, 40559 src/proto/ui.pro, src/term.c, src/proto/term.pro, src/indent.c, 40560 src/proto/indent.pro 40561 40562Patch 8.1.2332 (after 8.1.2331) 40563Problem: Missing file in refactoring. 40564Solution: Update missing file. 40565Files: src/search.c 40566 40567Patch 8.1.2333 40568Problem: With modifyOtherKeys CTRL-^ doesn't work. 40569Solution: Handle the exception. 40570Files: src/getchar.c, src/testdir/test_termcodes.vim 40571 40572Patch 8.1.2334 40573Problem: Possible NULL pointer dereference in popup_locate(). (Coverity) 40574Solution: Check for NULL pointer. 40575Files: src/popupwin.c 40576 40577Patch 8.1.2335 40578Problem: Error message for function arguments may use NULL pointer. 40579 (Coverity) 40580Solution: Use the original function name. 40581Files: src/evalfunc.c 40582 40583Patch 8.1.2336 40584Problem: When an expr mapping moves the cursor it is not restored. 40585Solution: Position the cursor after an expr mapping. (closes #5256) 40586Files: src/getchar.c, src/testdir/test_mapping.vim, 40587 src/testdir/dumps/Test_map_expr_1.dump 40588 40589Patch 8.1.2337 40590Problem: Double-click time sometimes miscomputed. 40591Solution: Correct time computation. (Dominique Pelle, closes #5259) 40592Files: src/mouse.c, src/testdir/runtest.vim 40593 40594Patch 8.1.2338 40595Problem: Using Visual mark with :s gives E20 if not set. 40596Solution: Ignore errors when handling 'incsearch'. (closes #3837) 40597Files: src/ex_getln.c, src/testdir/test_search.vim, 40598 src/testdir/dumps/Test_incsearch_substitute_14.dump 40599 40600Patch 8.1.2339 40601Problem: Insufficient testing for quickfix. 40602Solution: Add a few more tests. (Yegappan Lakshmanan, closes #5261) 40603Files: src/testdir/test_quickfix.vim 40604 40605Patch 8.1.2340 40606Problem: Quickfix test fails under valgrind and asan. 40607Solution: Make sure long line does not overflow IObuff. (Dominique Pelle, 40608 closes #5263) Put back fix for large terminals. (Yegappan 40609 Lakshmanan, closes #5264) 40610Files: src/quickfix.c, src/testdir/test_quickfix.vim 40611 40612Patch 8.1.2341 40613Problem: Not so easy to interrupt a script programmatically. 40614Solution: Add the interrupt() function. (Yasuhiro Matsumoto, closes #2834) 40615Files: runtime/doc/eval.txt, src/evalfunc.c, src/ex_eval.c, 40616 src/testdir/Make_all.mak, src/testdir/test_interrupt.vim 40617 40618Patch 8.1.2342 40619Problem: Random number generator in Vim script is slow. 40620Solution: Add rand() and srand(). (Yasuhiro Matsumoto, closes #1277) 40621Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/Make_all.mak, 40622 src/testdir/test_random.vim 40623 40624Patch 8.1.2343 40625Problem: Using time() for srand() is not very random. 40626Solution: use /dev/urandom if available 40627Files: src/evalfunc.c, src/testdir/test_random.vim 40628 40629Patch 8.1.2344 40630Problem: Cygwin: warning for using strptime(). 40631Solution: Move defining _XOPEN_SOURCE and __USE_XOPEN to vim.h. (Ken Takata, 40632 closes #5265) Use 700 for _XOPEN_SOURCE for mkdtemp(). 40633Files: src/os_unix.h, src/vim.h 40634 40635Patch 8.1.2345 40636Problem: .cjs files are not recognized as Javascript. 40637Solution: Add the *.cjs pattern. (closes #5268) 40638Files: runtime/filetype.vim, src/testdir/test_filetype.vim 40639 40640Patch 8.1.2346 40641Problem: CTRL-R CTRL-R doesn't work with modifyOtherKeys. 40642Solution: Allow key codes when fetching argument for CTRL-R. (closes #5266) 40643 Also fix CTRL-G in Insert mode. 40644Files: src/edit.c, src/ex_getln.c, src/testdir/test_termcodes.vim 40645 40646Patch 8.1.2347 (after 8.1.2344) 40647Problem: MacOS: build fails. 40648Solution: Don't define _XOPEN_SOURCE for Mac. 40649Files: src/vim.h 40650 40651Patch 8.1.2348 40652Problem: :const cannot be followed by "| endif". 40653Solution: Check following command for :const. (closes #5269) 40654 Also fix completion after :const. 40655Files: src/testdir/test_let.vim, src/testdir/test_const.vim, 40656 src/ex_docmd.c, src/cmdexpand.c, src/eval.c, 40657 src/testdir/test_cmdline.vim 40658 40659Patch 8.1.2349 40660Problem: :lockvar and :unlockvar cannot be followed by "| endif". 40661Solution: Check for following commands. (closes #5269) 40662Files: src/testdir/test_const.vim, src/ex_docmd.c 40663 40664Patch 8.1.2350 40665Problem: Other text for CTRL-V in Insert mode with modifyOtherKeys. 40666Solution: Convert the Escape sequence back to key as if modifyOtherKeys is 40667 not set, and use CTRL-SHIFT-V to get the Escape sequence itself. 40668 (closes #5254) 40669Files: runtime/doc/insert.txt, runtime/doc/cmdline.txt, src/edit.c, 40670 src/proto/edit.pro, src/term.c, src/proto/term.pro, src/getchar.c, 40671 src/proto/getchar.pro, src/testdir/test_termcodes.vim, 40672 src/ex_getln.c 40673 40674Patch 8.1.2351 40675Problem: 'wincolor' not used for > for not fitting double width char. 40676 Also: popup drawn on right half of double width character looks 40677 wrong. 40678Solution: Adjust color for > character. Clear left half of double width 40679 character if right half is being overwritten. 40680Files: src/drawline.c, src/screen.c, 40681 src/testdir/dumps/Test_popupwin_doublewidth_1.dump 40682 40683Patch 8.1.2352 40684Problem: CI doesn't cover FreeBSD. 40685Solution: Configure Cirrus-CI. (Christian Brabandt, closes #5273) 40686Files: .cirrus.yml, README.md 40687 40688Patch 8.1.2353 40689Problem: Build failure on FreeBSD. 40690Solution: Change #ifdef to only check for Linux-like systems. 40691Files: src/vim.h 40692 40693Patch 8.1.2354 40694Problem: Cirrus CI runs on another repository. 40695Solution: Run Cirrus CI on vim/vim. 40696Files: .cirrus.yml, README.md 40697 40698Patch 8.1.2355 40699Problem: Test with "man" fails on FreeBSD. 40700Solution: Use "-P" instead of "--pager". 40701Files: src/testdir/test_normal.vim 40702 40703Patch 8.1.2356 40704Problem: rand() does not use the best algorithm. 40705Solution: use xoshiro128** instead of xorshift. (Kaito Udagawa, 40706 closes #5279) 40707Files: runtime/doc/eval.txt, src/evalfunc.c, src/testdir/test_random.vim 40708 40709Patch 8.1.2357 40710Problem: No test with wrong argument for rand(). 40711Solution: Add a test case. 40712Files: src/testdir/test_random.vim 40713 40714Patch 8.1.2358 40715Problem: Tests fail on Cirrus CI for FreeBSD. 40716Solution: Fix a test and skip some. (Christian Brabandt, closes #5281) 40717Files: Filelist, .cirrus.yml, src/testdir/check.vim, 40718 src/testdir/test_normal.vim, src/testdir/test_quickfix.vim, 40719 src/testdir/test_source_utf8.vim, src/testdir/test_terminal.vim, 40720 src/testdir/test_utf8_comparisons.vim 40721 40722Patch 8.1.2359 40723Problem: Cannot build without FEAT_FLOAT. (John Marriott) 40724Solution: Fix #ifdefs around f_srand(). 40725Files: src/evalfunc.c 40726 40727Patch 8.1.2360 40728Problem: Quickfix test coverage can still be improved. 40729Solution: Add more test cases. (Yegappan Lakshmanan, closes #5276) 40730Files: src/testdir/test_quickfix.vim 40731 40732Patch 8.1.2361 40733Problem: MS-Windows: test failures related to VIMDLL. 40734Solution: Adjust code and tests. (Ken Takata, closes #5283) 40735Files: src/evalfunc.c, src/ex_cmds.c, src/gui_w32.c, src/mbyte.c, 40736 src/menu.c, src/proto.h, src/testdir/test_highlight.vim 40737 40738Patch 8.1.2362 40739Problem: Cannot place signs in a popup window. (Maxim Kim) 40740Solution: Use the group prefix "PopUp" to specify which signs should show up 40741 in a popup window. (closes #5277) 40742Files: runtime/doc/sign.txt, src/popupwin.c, src/sign.c, 40743 src/testdir/dumps/Test_popupwin_sign_1.dump 40744 40745Patch 8.1.2363 40746Problem: ml_get error when accessing Visual area in 'statusline'. 40747Solution: Disable Visual mode when using another window. (closes #5278) 40748Files: src/testdir/test_statusline.vim, src/buffer.c 40749 40750Patch 8.1.2364 40751Problem: Termwinscroll test is flaky on FreeBSD. 40752Solution: Add to list of flaky tests. Rename function. 40753Files: src/testdir/runtest.vim, src/testdir/test_terminal.vim 40754 40755Patch 8.1.2365 40756Problem: Missing tests for recent popupwin changes. 40757Solution: Add test cases. 40758Files: src/testdir/test_popupwin.vim 40759 40760Patch 8.1.2366 40761Problem: Using old C style comments. 40762Solution: Use // comments where appropriate. 40763Files: src/ascii.h, src/beval.h, src/dosinst.h, src/feature.h, 40764 src/glbl_ime.h, src/globals.h, src/gui_at_sb.h, src/gui_gtk_f.h, 40765 src/gui_gtk_vms.h, src/gui.h, src/gui_x11_pm.h, src/gui_xmebwp.h, 40766 src/if_cscope.h, src/if_mzsch.h, src/if_ole.h, src/if_py_both.h, 40767 src/iscygpty.h, src/keymap.h, src/macros.h, src/nbdebug.h, 40768 src/option.h, src/os_amiga.h, src/os_beos.h, src/os_dos.h, 40769 src/os_mac.h, src/os_qnx.h, src/os_unix.h, src/os_unixx.h, 40770 src/os_vms_conf.h, src/os_win32.h, src/proto.h, src/regexp.h, 40771 src/spell.h, src/structs.h, src/term.h, src/version.h, src/vimio.h 40772 40773Patch 8.1.2367 40774Problem: Registers are not sufficiently tested. 40775Solution: Add a few more test cases. (Yegappan Lakshmanan, closes #5288) 40776Files: src/testdir/test_registers.vim 40777 40778Patch 8.1.2368 40779Problem: Using old C style comments. 40780Solution: Use // comments where appropriate. 40781Files: src/autocmd.c, src/beval.c, src/blob.c, src/blowfish.c, 40782 src/buffer.c, src/change.c, src/channel.c, src/charset.c, 40783 src/cindent.c, src/crypt.c, src/crypt_zip.c 40784 40785Patch 8.1.2369 40786Problem: Cannot build with quickfix and without text properties. 40787Solution: Fix typo. (Naruhiko Nishino) 40788Files: src/popupmenu.c 40789 40790Patch 8.1.2370 40791Problem: Build problems on VMS. 40792Solution: Adjust the build file. (Zoltan Arpadffy) 40793Files: src/Make_vms.mms, src/os_unix.c, src/os_vms.c 40794 40795Patch 8.1.2371 40796Problem: FEAT_TEXT_PROP is a confusing name. 40797Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291) 40798Files: runtime/doc/popup.txt, src/beval.c, src/buffer.c, src/change.c, 40799 src/drawline.c, src/drawscreen.c, src/edit.c, src/eval.c, 40800 src/evalbuffer.c, src/evalfunc.c, src/evalwindow.c, src/ex_cmds.c, 40801 src/ex_docmd.c, src/feature.h, src/fileio.c, src/getchar.c, 40802 src/globals.h, src/gui.c, src/gui_w32.c, src/indent.c, 40803 src/insexpand.c, src/macros.h, src/main.c, src/memline.c, 40804 src/misc2.c, src/mouse.c, src/move.c, src/ops.c, src/option.h, 40805 src/optiondefs.h, src/optionstr.c, src/popupmenu.c, 40806 src/popupwin.c, src/proto.h, src/screen.c, src/search.c, 40807 src/sign.c, src/structs.h, src/tag.c, src/testdir/runtest.vim, 40808 src/testdir/test_execute_func.vim, src/testdir/test_popupwin.vim, 40809 src/testdir/test_popupwin_textprop.vim, src/textprop.c, src/ui.c, 40810 src/version.c, src/vim.h, src/window.c 40811 40812Patch 8.1.2372 40813Problem: VMS: failing realloc leaks memory. (Chakshu Gupta) 40814Solution: Free the memory. (partly fixes #5292) 40815Files: src/os_vms.c 40816 40817Patch 8.1.2373 40818Problem: Cannot build with +popupwin but without +quickfix. (John Marriott) 40819Solution: Adjust #ifdefs. 40820Files: src/ex_cmds.c, src/popupmenu.c, src/popupwin.c, src/fileio.c, 40821 src/testdir/test_compiler.vim, src/testdir/test_tagjump.vim, 40822 src/testdir/test86.in, src/testdir/test87.in, 40823 src/testdir/test_autocmd.vim, src/testdir/test_bufwintabinfo.vim, 40824 src/testdir/test_channel.vim, src/testdir/test_edit.vim, 40825 src/testdir/test_execute_func.vim, 40826 src/testdir/test_filter_cmd.vim, src/testdir/test_gui.vim, 40827 src/testdir/test_makeencoding.vim, src/testdir/test_mksession.vim, 40828 src/testdir/test_normal.vim, src/testdir/test_popup.vim, 40829 src/testdir/test_popupwin.vim, src/testdir/test_preview.vim, 40830 src/testdir/test_startup.vim, src/testdir/test_statusline.vim, 40831 src/testdir/test_tabpage.vim, src/testdir/test_window_cmd.vim, 40832 src/testdir/test_window_id.vim 40833 40834Patch 8.1.2374 40835Problem: Unused parts of libvterm are included. 40836Solution: Delete the unused files. 40837Files: Filelist, src/libvterm/bin/vterm-ctrl.c, 40838 src/libvterm/bin/unterm.c, src/libvterm/bin/vterm-dump.c 40839 40840Patch 8.1.2375 40841Problem: No sufficient testing for registers. 40842Solution: Add more test cases. (Yegappan Lakshmanan, closes #5296) 40843 Fix that "p" on last virtual column of tab inserts spaces. 40844Files: src/register.c, src/testdir/test_registers.vim, 40845 src/testdir/test_virtualedit.vim, src/testdir/test_visual.vim 40846 40847Patch 8.1.2376 40848Problem: Preprocessor indents are incorrect. 40849Solution: Fix the indents. (Ken Takata, closes #5298) 40850Files: src/drawline.c, src/gui_w32.c, src/os_mswin.c, src/os_win32.c, 40851 src/proto.h 40852 40853Patch 8.1.2377 40854Problem: GUI: when losing focus a pending operator is executed. 40855Solution: Do not execute an operator when getting K_IGNORE. (closes #5300) 40856Files: src/normal.c 40857 40858Patch 8.1.2378 40859Problem: Using old C style comments. 40860Solution: Use // comments where appropriate. 40861Files: src/dict.c, src/diff.c, src/digraph.c, src/dosinst.c, src/edit.c, 40862 src/eval.c, src/evalbuffer.c, src/evalfunc.c 40863 40864Patch 8.1.2379 40865Problem: Using old C style comments. 40866Solution: Use // comments where appropriate. 40867Files: src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c, 40868 src/ex_getln.c, src/fileio.c, src/filepath.c, src/findfile.c, 40869 src/fold.c 40870 40871Patch 8.1.2380 40872Problem: Using old C style comments. 40873Solution: Use // comments where appropriate. 40874Files: src/getchar.c, src/gui.c, src/gui_at_fs.c, src/gui_at_sb.c, 40875 src/gui_athena.c, src/gui_beval.c, src/gui_gtk.c, src/gui_gtk_f.c, 40876 src/gui_gtk_x11.c 40877 40878Patch 8.1.2381 40879Problem: Not all register related code is covered by tests. 40880Solution: Add more test cases. (Yegappan Lakshmanan, closes #5301) 40881Files: src/testdir/test_marks.vim, src/testdir/test_registers.vim, 40882 src/testdir/test_virtualedit.vim 40883 40884Patch 8.1.2382 40885Problem: MS-Windows: When using VTP bold+inverse doesn't work. 40886Solution: Compare with the default colors. (Nobuhiro Takasaki, closes #5303) 40887Files: src/os_win32.c, src/proto/os_win32.pro, src/screen.c 40888 40889Patch 8.1.2383 40890Problem: Using old C style comments. 40891Solution: Use // comments where appropriate. 40892Files: src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, src/gui_w32.c, 40893 src/gui_x11.c, src/gui_xmdlg.c, src/gui_xmebw.c 40894 40895Patch 8.1.2384 40896Problem: Test 48 is old style. 40897Solution: Merge test cases into new style test. (Yegappan Lakshmanan, 40898 closes #5307) 40899Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 40900 src/testdir/test48.in, src/testdir/test48.ok, 40901 src/testdir/test_virtualedit.vim 40902 40903Patch 8.1.2385 40904Problem: Opening cmdline window with feedkeys() does not work. (Yegappan 40905 Lakshmanan) 40906Solution: Recognize K_CMDWIN also when ex_normal_busy is set. 40907Files: src/ex_getln.c, src/testdir/test_cmdline.vim 40908 40909Patch 8.1.2386 40910Problem: 'wincolor' is not used for 'listchars'. 40911Solution: Combine the colors. (closes #5308) 40912Files: src/drawline.c, src/testdir/test_highlight.vim, 40913 src/testdir/dumps/Test_wincolor_lcs.dump 40914 40915Patch 8.1.2387 40916Problem: Using old C style comments. 40917Solution: Use // comments where appropriate. 40918Files: src/hardcopy.c, src/hashtab.c, src/if_cscope.c, src/if_lua.c, 40919 src/if_mzsch.c, src/if_perlsfio.c, src/if_python.c, 40920 src/if_python3.c, src/if_ruby.c, src/if_tcl.c, src/if_xcmdsrv.c 40921 40922Patch 8.1.2388 40923Problem: Using old C style comments. 40924Solution: Use // comments where appropriate. 40925Files: src/json.c, src/json_test.c, src/kword_test.c, src/list.c, 40926 src/main.c, src/mark.c, src/mbyte.c, src/memfile.c, 40927 src/memfile_test.c, src/memline.c, src/menu.c 40928 40929Patch 8.1.2389 40930Problem: Using old C style comments. 40931Solution: Use // comments where appropriate. 40932Files: src/libvterm/src/screen.c, src/libvterm/src/unicode.c, 40933 src/libvterm/src/vterm.c, src/libvterm/t/harness.c, 40934 src/libvterm/include/vterm.h, src/xdiff/xdiffi.c, 40935 src/xdiff/xemit.c, src/xdiff/xhistogram.c, src/xdiff/xpatience.c, 40936 src/xdiff/xutils.c, src/xdiff/xdiff.h, src/xdiff/xdiffi.h, 40937 src/xdiff/xemit.h, src/xdiff/xinclude.h, src/xdiff/xmacros.h, 40938 src/xdiff/xprepare.h, src/xdiff/xtypes.h, src/xdiff/xutils.h 40939 40940Patch 8.1.2390 40941Problem: Test94 is old style, fix 7.4.441 not tested. 40942Solution: Turn test94 into a new style test. Add tests for the fix in patch 40943 7.4.441. (Yegappan Lakshmanan, closes #5316) 40944Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 40945 src/testdir/test94.in, src/testdir/test94.ok, 40946 src/testdir/test_cmdline.vim, src/testdir/test_visual.vim 40947 40948Patch 8.1.2391 40949Problem: Cannot build when __QNXNTO__ is defined. (Ian Wayne Larson) 40950Solution: Move the check for "qansi". (Ken Takata, closes #5317) 40951Files: src/highlight.c 40952 40953Patch 8.1.2392 40954Problem: Using old C style comments. 40955Solution: Use // comments where appropriate. 40956Files: src/nbdebug.c, src/netbeans.c, src/normal.c, src/ops.c, 40957 src/option.c 40958 40959Patch 8.1.2393 40960Problem: Using old C style comments. 40961Solution: Use // comments where appropriate. 40962Files: src/os_amiga.c, src/os_beos.c, src/os_mac_conv.c, src/os_mswin.c, 40963 src/os_qnx.c, src/os_unix.c, src/os_vms.c, src/os_win32.c 40964 40965Patch 8.1.2394 40966Problem: Using old C style comments. 40967Solution: Use // comments where appropriate. 40968Files: src/popupmenu.c, src/pty.c, src/quickfix.c, src/regexp.c, 40969 src/regexp_nfa.c, src/screen.c, src/search.c, src/sha256.c, 40970 src/sign.c 40971 40972Patch 8.1.2395 40973Problem: Using old C style comments. 40974Solution: Use // comments where appropriate. 40975Files: src/spell.c, src/spellfile.c, src/syntax.c, src/tag.c, src/term.c, 40976 src/terminal.c, src/termlib.c, src/testing.c 40977 40978Patch 8.1.2396 40979Problem: Using old C style comments. 40980Solution: Use // comments where appropriate. 40981Files: src/ui.c, src/undo.c, src/uninstall.c, src/usercmd.c, 40982 src/userfunc.c, src/winclip.c, src/window.c, src/xpm_w32.c 40983 40984Patch 8.1.2397 40985Problem: Should not define __USE_XOPEN. _XOPEN_SOURCE is not needed for 40986 Android. 40987Solution: Remove __USE_XOPEN and adjust #ifdefs. (Ozaki Kiichi, 40988 closes #5322) 40989Files: src/vim.h 40990 40991Patch 8.1.2398 40992Problem: strptime() test fails on Japanese Mac. 40993Solution: Use %T instead of %X. 40994Files: src/testdir/test_functions.vim 40995 40996Patch 8.1.2399 40997Problem: Info popup on top of cursor if it doesn't fit. 40998Solution: Hide the popup if it doesn't fit. 40999Files: src/popupmenu.c, src/testdir/test_popupwin.vim, 41000 src/testdir/dumps/Test_popupwin_infopopup_wide_1.dump 41001 41002Patch 8.1.2400 41003Problem: Test39 is old style. 41004Solution: Convert the test cases into new style. (Yegappan Lakshmanan, 41005 closes #5324) 41006Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 41007 src/testdir/test39.in, src/testdir/test39.ok, 41008 src/testdir/test_blockedit.vim, src/testdir/test_visual.vim 41009 41010Patch 8.1.2401 41011Problem: :cexpr does not handle | in expression. 41012Solution: Remove EX_TRLBAR and set nextcmd pointer. 41013Files: src/testdir/test_quickfix.vim, src/ex_cmds.h, src/quickfix.c 41014 41015Patch 8.1.2402 41016Problem: Typos and other small things. 41017Solution: Small fixes. 41018Files: .gitignore, src/testdir/shared.vim, src/testdir/test49.vim, 41019 src/message.c, src/Makefile 41020 41021Patch 8.1.2403 41022Problem: Autocmd test fails under valgrind. 41023Solution: Wait a bit longer. 41024Files: src/testdir/test_autocmd.vim 41025 41026Patch 8.1.2404 41027Problem: Channel test fails under valgrind. 41028Solution: Sleep a bit longer. 41029Files: src/testdir/test_channel.vim 41030 41031Patch 8.1.2405 41032Problem: matchadd_conceal test fails under valgrind. 41033Solution: Use WaitForAssert() and wait a bit longer. 41034Files: src/testdir/test_matchadd_conceal.vim 41035 41036Patch 8.1.2406 41037Problem: Leaking memory in test_paste and test_registers. 41038Solution: Free the old title. Don't copy expr_line. 41039Files: src/term.c, src/os_unix.c, src/register.c 41040 41041Patch 8.1.2407 41042Problem: proto file and dependencies outdated. 41043Solution: Update proto files and dependencies. 41044Files: src/Makefile, src/proto/bufwrite.pro, src/proto/cmdhist.pro, 41045 src/proto/optionstr.pro, src/proto/popupwin.pro, 41046 src/proto/viminfo.pro, src/proto/if_cscope.pro 41047 41048Patch 8.1.2408 41049Problem: Syntax menu and build instructions outdated. 41050Solution: Update build instructions and syntax menu. 41051Files: Makefile, runtime/makemenu.vim, runtime/synmenu.vim 41052 41053Patch 8.1.2409 41054Problem: Creating the distribution doesn't work as documented. 41055Solution: Adjust name of uninstall binary. Create src/auto directory if 41056 needed. 41057Files: tools/rename.bat, src/Make_mvc.mak 41058 41059Patch 8.1.2410 41060Problem: MS-Windows: test_iminsert fails without IME support. 41061Solution: Skip the test when imgetstatus() doesn't work. 41062Files: src/testdir/test_iminsert.vim 41063 41064Patch 8.1.2411 41065Problem: Function argument copied unnecessarily. 41066Solution: Use the argument directly. 41067Files: src/ex_docmd.c 41068 41069Patch 8.1.2412 41070Problem: Crash when evaluating expression with error. (Dhiraj Mishra) 41071Solution: Check parsing failed. (closes #5329) 41072Files: src/eval.c, src/testdir/test_lambda.vim 41073 41074Patch 8.1.2413 41075Problem: Cannot update ex_cmdidxs.h on MS-Windows. 41076Solution: Add build rules and dependencies. (Ken Takata, closes #5337) 41077Files: src/Make_cyg_ming.mak, src/Make_mvc.mak, src/Make_vms.mms 41078 41079Patch 8.1.2414 41080Problem: MS-Windows: properties dialog box shows wrong character. 41081Solution: Explicitly specify encoding. (Ken Takata, closes #5338) 41082Files: src/vim.rc 41083 41084Patch 8.1.2415 41085Problem: Popup menu flickers if an info popup is used. (Nick Jensen) 41086Solution: Set the pum_skip_redraw flag. 41087Files: src/popupmenu.c 41088 41089Patch 8.1.2416 41090Problem: Loading menus sets v:errmsg. 41091Solution: Avoid setting v:errmsg and add a test for that. (Jason Franklin) 41092Files: runtime/delmenu.vim, runtime/menu.vim, src/testdir/test_menu.vim 41093 41094Patch 8.1.2417 41095Problem: MinGW/Cygwin build does not clean up all files. 41096Solution: Delete *.map files. (Michael Soyka) 41097Files: src/Make_cyg_ming.mak 41098 41099Patch 8.1.2418 41100Problem: bufnr('$') is wrong after recycling popup buffer. 41101Solution: Sort the buffer list by buffer number. (closes #5335) 41102Files: src/buffer.c, src/testdir/test_popupwin.vim 41103 41104Patch 8.1.2419 41105Problem: With a long file name the hit-enter prompt appears. (J. Lewis 41106 Muir) 41107Solution: When checking for text to wrap don't do this when outputing a CR. 41108Files: src/message.c, src/testdir/test_display.vim, 41109 src/testdir/dumps/Test_long_file_name_1.dump 41110 41111Patch 8.1.2420 41112Problem: Crash when calling popup_close() in win_execute(). 41113Solution: Disallow popup_close() in popup window. (Yasuhiro Matsumoto, 41114 closes #5345) 41115Files: src/popupwin.c, src/testdir/test_popupwin.vim 41116 41117Patch 8.1.2421 41118Problem: Test88 is old style. 41119Solution: Turn into a new style test. (Yegappan Lakshmanan, closes #5347) 41120Files: src/Makefile, src/testdir/Make_all.mak, src/testdir/Make_vms.mms, 41121 src/testdir/test88.in, src/testdir/test88.ok, 41122 src/testdir/test_conceal.vim, src/testdir/test_python2.vim 41123 src/testdir/test_python3.vim 41124 41125Patch 8.1.2422 41126Problem: "make depend" does not work correctly for libvterm. 41127Solution: Fix build dependencies. And a few minor improvements. 41128Files: src/Makefile, src/filepath.c, src/insexpand.c, src/main.c 41129 41130Patch 8.1.2423 41131Problem: MS-Windows properties shows version as "8, 1, 0". 41132Solution: Use "8.1.0". (Ken Takata, closes #5342) 41133Files: src/vim.rc 41134 41135Patch 8.1.2424 41136Problem: MS-Windows: console buffer is resized unnecessarily. 41137Solution: Only call ResizeConBuf() when the size differs. (Nobuhiro 41138 Takasaki, closes #5343) 41139Files: src/os_win32.c 41140 41141 41142 vim:tw=78:ts=8:noet:ft=help:norl: 41143