version7.txt (674697B)
1 *version7.txt* For Vim version 9.2. Last change: 2026 Feb 14 2 3 4 VIM REFERENCE MANUAL by Bram Moolenaar 5 6 7 *vim7* *version-7.0* *version7.0* 8 Welcome to Vim 7! A large number of features has been added. This file 9 mentions all the new items, changes to existing features and bug fixes 10 since Vim 6.x. Use this command to see the version you are using: > 11 :version 12 13 See |vi_diff.txt| for an overview of differences between Vi and Vim 7.0. 14 See |version4.txt| for differences between Vim 3.x and Vim 4.x. 15 See |version5.txt| for differences between Vim 4.x and Vim 5.x. 16 See |version6.txt| for differences between Vim 5.x and Vim 6.x. 17 18 INCOMPATIBLE CHANGES |incompatible-7| 19 20 NEW FEATURES |new-7| 21 22 Vim script enhancements |new-vim-script| 23 Spell checking |new-spell| 24 Omni completion |new-omni-completion| 25 MzScheme interface |new-MzScheme| 26 Printing multibyte text |new-print-multibyte| 27 Tab pages |new-tab-pages| 28 Undo branches |new-undo-branches| 29 Extended Unicode support |new-more-unicode| 30 More highlighting |new-more-highlighting| 31 Translated manual pages |new-manpage-trans| 32 Internal grep |new-vimgrep| 33 Scroll back in messages |new-scroll-back| 34 Cursor past end of the line |new-onemore| 35 POSIX compatibility |new-posix| 36 Debugger support |new-debug-support| 37 Remote file explorer |new-netrw-explore| 38 Define an operator |new-define-operator| 39 Mapping to an expression |new-map-expression| 40 Visual and Select mode mappings |new-map-select| 41 Location list |new-location-list| 42 Various new items |new-items-7| 43 44 IMPROVEMENTS |improvements-7| 45 46 COMPILE TIME CHANGES |compile-changes-7| 47 48 BUG FIXES |bug-fixes-7| 49 50 VERSION 7.1 |version-7.1| 51 Changed |changed-7.1| 52 Added |added-7.1| 53 Fixed |fixed-7.1| 54 55 VERSION 7.2 |version-7.2| 56 Changed |changed-7.2| 57 Added |added-7.2| 58 Fixed |fixed-7.2| 59 60 VERSION 7.3 |version-7.3| 61 62 Persistent undo |new-persistent-undo| 63 More encryption |new-more-encryption| 64 Conceal text |new-conceal| 65 Lua interface |new-lua| 66 Python3 interface |new-python3| 67 68 Changed |changed-7.3| 69 Added |added-7.3| 70 Fixed |fixed-7.3| 71 72 VERSION 7.4 |version-7.4| 73 New regexp engine |new-regexp-engine| 74 Better Python interface |better-python-interface| 75 Changed |changed-7.4| 76 Added |added-7.4| 77 Fixed |fixed-7.4| 78 79 80 ============================================================================== 81 INCOMPATIBLE CHANGES *incompatible-7* 82 83 These changes are incompatible with previous releases. Check this list if you 84 run into a problem when upgrading from Vim 6.x to 7.0. 85 86 A ":write file" command no longer resets the 'modified' flag of the buffer, 87 unless the '+' flag is in 'cpoptions' |cpo-+|. This was illogical, since the 88 buffer is still modified compared to the original file. And when undoing 89 all changes the file would actually be marked modified. It does mean that 90 ":quit" fails now. 91 92 ":helpgrep" now uses a help window to display a match. 93 94 In an argument list double quotes could be used to include spaces in a file 95 name. This caused a difference between ":edit" and ":next" for escaping 96 double quotes and it is incompatible with some versions of Vi. 97 Command Vim 6.x file name Vim 7.x file name ~ 98 :edit foo\"888 foo"888 foo"888 99 :next foo\"888 foo888 foo"888 100 :next a\"b c\"d ab cd a"b and c"d 101 102 In a |literal-string| a single quote can be doubled to get one. 103 ":echo 'a''b'" would result in "a b", but now that two quotes stand for one it 104 results in "a'b". 105 106 When overwriting a file with ":w! fname" there was no warning for when "fname" 107 was being edited by another Vim. Vim now gives an error message |E768|. 108 109 The support for Mac OS 9 has been removed. 110 111 Files ending in .tex now have 'filetype' set to "context", "plaintex", or 112 "tex". |ft-tex-plugin| 113 114 115 Minor incompatibilities: 116 117 For filetype detection: For many types, use */.dir/filename instead of 118 ~/.dir/filename, so that it also works for other user's files. 119 120 For quite a few filetypes the indent settings have been moved from the 121 filetype plugin to the indent plugin. If you used: > 122 :filetype plugin on 123 Then some indent settings may be missing. You need to use: > 124 :filetype plugin indent on 125 126 ":0verbose" now sets 'verbose' to zero instead of one. 127 128 Removed the old and incomplete "VimBuddy" code. 129 130 Buffers without a name report "No Name" instead of "No File". It was 131 confusing for buffers with a name and 'buftype' set to "nofile". 132 133 When ":file xxx" is used in a buffer without a name, the alternate file name 134 isn't set. This avoids creating buffers without a name, they are not useful. 135 136 The "2html.vim" script now converts closed folds to HTML. This means the HTML 137 looks like it's displayed, with the same folds open and closed. Use "zR", or 138 "let html_ignore_folding=1", if no folds should appear in the HTML. (partly by 139 Carl Osterwisch) 140 Diff mode is now also converted to HTML as it is displayed. 141 142 Win32: The effect of the <F10> key depended on 'winaltkeys'. Now it depends 143 on whether <F10> has been mapped or not. This allows mapping <F10> without 144 changing 'winaltkeys'. 145 146 When 'octal' is in 'nrformats' and using CTRL-A on "08" it became "018", which 147 is illogical. Now it becomes "9". The leading zero(s) is(are) removed to 148 avoid the number becoming octal after incrementing "009" to "010". 149 150 When 'encoding' is set to a Unicode encoding, the value for 'fileencodings' 151 now includes "default" before "latin1". This means that for files with 8-bit 152 encodings the default is to use the encoding specified by the environment, if 153 possible. Previously latin1 would always be used, which is wrong in a 154 non-latin1 environment, such as Russian. 155 156 Previously Vim would exit when there are two windows, both of them displaying 157 a help file, and using ":quit". Now only the window is closed. 158 159 "-w {scriptout}" only works when {scriptout} doesn't start with a digit. 160 Otherwise it's used to set the 'window' option. 161 162 Previously <Home> and <xHome> could be mapped separately. This had the 163 disadvantage that all mappings (with modifiers) had to be duplicated, since 164 you can't be sure what the keyboard generates. Now all <xHome> are internally 165 translated to <Home>, both for the keys and for mappings. Also for <xEnd>, 166 <xF1>, etc. 167 168 ":put" now leaves the cursor on the last inserted line. 169 170 When a .gvimrc file exists then 'compatible' is off, just like when a ".vimrc" 171 file exists. 172 173 When making a string upper-case with "vlllU" or similar then the German sharp 174 s is replaced with "SS". This does not happen with "~" to avoid backwards 175 compatibility problems and because "SS" can't be changed back to a sharp s. 176 177 "gd" previously found the very first occurrence of a variable in a function, 178 that could be the function argument without type. Now it finds the position 179 where the type is given. 180 181 The line continuation in functions was not taken into account, line numbers in 182 errors were logical lines, not lines in the sourced file. That made it 183 difficult to locate errors. Now the line number in the sourced file is 184 reported, relative to the function start. This also means that line numbers 185 for ":breakadd func" are different. 186 187 When defining a user command with |:command| the special items could be 188 abbreviated. This caused unexpected behavior, such as <li> being recognized 189 as <line1>. The items can no longer be abbreviated. 190 191 When executing a FileChangedRO autocommand it is no longer allowed to switch 192 to another buffer or edit another file. This is to prevent crashes (the event 193 is triggered deep down in the code where changing buffers is not anticipated). 194 It is still possible to reload the buffer. 195 196 At the |more-prompt| and the |hit-enter-prompt|, when the 'more' option is 197 set, the 'k', 'u', 'g' and 'b' keys are now used to scroll back to previous 198 messages. Thus they are no longer used as typeahead. 199 200 ============================================================================== 201 NEW FEATURES *new-7* 202 203 Vim script enhancements *new-vim-script* 204 ----------------------- 205 206 In Vim scripts the following types have been added: 207 208 |List| ordered list of items 209 |Dictionary| associative array of items 210 |Funcref| reference to a function 211 212 Many functions and commands have been added to support the new types. 213 214 The |string()| function can be used to get a string representation of a 215 variable. Works for Numbers, Strings and composites of them. Then |eval()| 216 can be used to turn the string back into the variable value. 217 218 The |:let| command can now use "+=", "-=" and ".=": > 219 :let var += expr " works like :let var = var + expr 220 :let var -= expr " works like :let var = var - expr 221 :let var .= string " works like :let var = var . string 222 223 With the |:profile| command you can find out where your function or script 224 is wasting time. 225 226 In the Python interface vim.eval() also handles Dictionaries and Lists. 227 |python-eval| (G. Sumner Hayes) 228 229 The |getscript| plugin was added as a convenient way to update scripts from 230 www.vim.org automatically. (Charles Campbell) 231 232 The |vimball| plugin was added as a convenient way to distribute a set of 233 files for a plugin (plugin file, autoload script, documentation). (Charles 234 Campbell) 235 236 237 Spell checking *new-spell* 238 -------------- 239 240 Spell checking has been integrated in Vim. There were a few implementations 241 with scripts, but they were slow and/or required an external program. 242 243 The 'spell' option is used to switch spell checking on or off 244 The 'spelllang' option is used to specify the accepted language(s) 245 The 'spellfile' option specifies where new words are added 246 The 'spellsuggest' option specifies the methods used for making suggestions 247 248 The |]s| and |[s| commands can be used to move to the next or previous error 249 The |zg| and |zw| commands can be used to add good and wrong words 250 The |z=| command can be used to list suggestions and correct the word 251 The |:mkspell| command is used to generate a Vim spell file from word lists 252 253 The "undercurl" highlighting attribute was added to nicely point out spelling 254 mistakes in the GUI (based on patch from Marcin Dalecki). 255 The "guisp" color can be used to give it a color different from foreground and 256 background. 257 The number of possible different highlight attributes was raised from about 258 220 to over 30000. This allows for the attributes of spelling to be combined 259 with syntax highlighting attributes. This is also used for syntax 260 highlighting and marking the Visual area. 261 262 Much more info here: |spell|. 263 264 265 Omni completion *new-omni-completion* 266 --------------- 267 268 This could also be called "intellisense", but that is a trademark. It is a 269 smart kind of completion. The text in front of the cursor is inspected to 270 figure out what could be following. This may suggest struct and class 271 members, system functions, etc. 272 273 Use CTRL-X CTRL-O in Insert mode to start the completion. |i_CTRL-X_CTRL-O| 274 275 The 'omnifunc' option is set by filetype plugins to define the function that 276 figures out the completion. 277 278 Currently supported languages: 279 C |ft-c-omni| 280 (X)HTML with CSS |ft-html-omni| 281 JavaScript |ft-javascript-omni| 282 PHP |ft-php-omni| 283 Python 284 Ruby |ft-ruby-omni| 285 SQL |ft-sql-omni| 286 XML |ft-xml-omni| 287 any language with syntax highlighting |ft-syntax-omni| 288 289 You can add your own omni completion scripts. 290 291 When the 'completeopt' option contains "menu" then matches for Insert mode 292 completion are displayed in a (rather primitive) popup menu. 293 294 295 MzScheme interface *new-MzScheme* 296 ------------------ 297 298 The MzScheme interpreter is supported. |MzScheme| 299 300 The |:mzscheme| command can be used to execute MzScheme commands 301 The |:mzfile| command can be used to execute an MzScheme script file 302 303 This depends on Vim being compiled with the |+mzscheme| feature. 304 305 306 Printing multibyte text *new-print-multibyte* 307 ------------------------ 308 309 The |:hardcopy| command now supports printing multibyte characters when using 310 PostScript. 311 312 The 'printmbcharset' and 'printmbfont' options are used for this. 313 Also see |postscript-cjk-printing|. (Mike Williams) 314 315 316 Tab pages *new-tab-pages* 317 --------- 318 319 A tab page is a page with one or more windows with a label (aka tab) at the top. 320 By clicking on the label you can quickly switch between the tab pages. And 321 with the keyboard, using the |gt| (Goto Tab) command. This is a convenient 322 way to work with many windows. 323 324 To start Vim with each file argument in a separate tab page use the |-p| 325 argument. The maximum number of pages can be set with 'tabpagemax'. 326 327 The line with tab labels is either made with plain text and highlighting or 328 with a GUI mechanism. The GUI labels look better but are only available on a 329 few systems. The line can be customized with 'tabline', 'guitablabel' and 330 'guitabtooltip'. Whether it is displayed is set with 'showtabline'. Whether 331 to use the GUI labels is set with the "e" flag in 'guioptions'. 332 333 The |:tab| command modifier can be used to have most commands that open a new 334 window open a new tab page instead. 335 336 The |--remote-tab| argument can be used to edit a file in a new tab page in an 337 already running Vim server. 338 339 Variables starting with "t:" are local to a tab page. 340 341 More info here: |tabpage| 342 Most of the GUI stuff was implemented by Yegappan Lakshmanan. 343 344 345 Undo branches *new-undo-branches* 346 ------------- 347 348 Previously there was only one line of undo-redo. If, after undoing a number 349 of changes, a new change was made all the undone changes were lost. This 350 could lead to accidentally losing work. 351 352 Vim now makes an undo branch in this situation. Thus you can go back to the 353 text after any change, even if they were undone. So long as you do not run 354 into 'undolevels', when undo information is freed up to limit the memory used. 355 356 To be able to navigate the undo branches each change is numbered sequentially. 357 The commands |g-| and |:earlier| go back in time, to older changes. The 358 commands |g+| and |:later| go forward in time, to newer changes. 359 360 The changes are also timestamped. Use ":earlier 10m" to go to the text as it 361 was about ten minutes earlier. 362 363 The |:undolist| command can be used to get an idea of which undo branches 364 exist. The |:undo| command now takes an argument to directly jump to a 365 specific position in this list. The |changenr()| function can be used to 366 obtain the change number. 367 368 There is no graphical display of the tree with changes, navigation can be 369 quite confusing. 370 371 372 Extended Unicode support *new-more-unicode* 373 ------------------------ 374 375 Previously only two combining characters were displayed. The limit is now 376 raised to 6. This can be set with the 'maxcombine' option. The default is 377 still 2. 378 379 |ga| now shows all combining characters, not just the first two. 380 381 Previously only 16 bit Unicode characters were supported for displaying. Now 382 the full 32 bit character set can be used. Unless manually disabled at 383 compile time to save a bit of memory. 384 385 For pattern matching it is now possible to search for individual composing 386 characters. |patterns-composing| 387 388 The |8g8| command searches for an illegal UTF-8 byte sequence. 389 390 391 More highlighting *new-more-highlighting* 392 ----------------- 393 394 Highlighting matching parens: 395 396 When moving the cursor through the text and it is on a paren, then the 397 matching paren can be highlighted. This uses the new |CursorMoved| 398 autocommand event. 399 400 This means some commands are executed every time you move the cursor. If this 401 slows you down too much switch it off with: > 402 :NoMatchParen 403 404 See |matchparen| for more information. 405 406 The plugin uses the |:match| command. It now supports three match patterns. 407 The plugin uses the third one. The first one is for the user and the second 408 one can be used by another plugin. 409 410 Highlighting the cursor line and column: 411 412 The 'cursorline' and 'cursorcolumn' options have been added. These highlight 413 the screen line and screen column of the cursor. This makes the cursor 414 position easier to spot. 'cursorcolumn' is also useful to align text. This 415 may make screen updating quite slow. The CursorColumn and CursorLine 416 highlight groups allow changing the colors used. |hl-CursorColumn| 417 |hl-CursorLine| 418 419 The number of possible different highlight attributes was raised from about 420 220 to over 30000. This allows for the attributes of spelling to be combined 421 with syntax highlighting attributes. This is also used for syntax 422 highlighting, marking the Visual area, CursorColumn, etc. 423 424 425 Translated manual pages *new-manpage-trans* 426 ----------------------- 427 428 The manual page of Vim and associated programs is now also available in 429 several other languages. 430 431 French - translated by David Blanchet 432 Italian - translated by Antonio Colombo 433 Russian - translated by Vassily Ragosin 434 Polish - translated by Mikolaj Machowski 435 436 The Unix Makefile installs the Italian manual pages in .../man/it/man1/, 437 .../man/it.ISO8859-1/man1/ and .../man/it.UTF-8/man1/. There appears to be no 438 standard for what encoding goes in the "it" directory, the 8-bit encoded file 439 is used there as a best guess. 440 Other languages are installed in similar places. 441 The translated pages are not automatically installed when Vim was configured 442 with "--disable-nls", but "make install-languages install-tool-languages" will 443 do it anyway. 444 445 446 Internal grep *new-vimgrep* 447 ------------- 448 449 The ":vimgrep" command can be used to search for a pattern in a list of files. 450 This is like the ":grep" command, but no external program is used. Besides 451 better portability, handling of different file encodings and using multi-line 452 patterns, this also allows grepping in compressed and remote files. 453 |:vimgrep|. 454 455 If you want to use the search results in a script you can use the 456 |getqflist()| function. 457 458 To grep files in various directories the "**" pattern can be used. It expands 459 into an arbitrary depth of directories. "**" can be used in all places where 460 file names are expanded, thus also with |:next| and |:args|. 461 462 463 Scroll back in messages *new-scroll-back* 464 ----------------------- 465 466 When displaying messages, at the |more-prompt| and the |hit-enter-prompt|, The 467 'k', 'u', 'g' and 'b' keys can be used to scroll back to previous messages. 468 This is especially useful for commands such as ":syntax", ":autocommand" and 469 ":highlight". This is implemented in a generic way thus it works for all 470 commands and highlighting is kept. Only works when the 'more' option is set. 471 Previously it only partly worked for ":clist". 472 473 The |g<| command can be used to see the last page of messages after you have 474 hit <Enter> at the |hit-enter-prompt|. Then you can scroll further back. 475 476 477 Cursor past end of the line *new-onemore* 478 --------------------------- 479 480 When the 'virtualedit' option contains "onemore" the cursor can move just past 481 the end of the line. As if it's on top of the line break. 482 483 This makes some commands more consistent. Previously the cursor was always 484 past the end of the line if the line was empty. But it is far from Vi 485 compatible. It may also break some plugins or Vim scripts. Use with care! 486 487 The patch was provided by Mattias Flodin. 488 489 490 POSIX compatibility *new-posix* 491 ------------------- 492 493 The POSIX test suite was used to verify POSIX compatibility. A number of 494 problems have been fixed to make Vim more POSIX compatible. Some of them 495 conflict with traditional Vi or expected behavior. The $VIM_POSIX environment 496 variable can be set to get POSIX compatibility. See |posix|. 497 498 Items that were fixed for both Vi and POSIX compatibility: 499 - repeating "R" with a count only overwrites text once; added the 'X' flag to 500 'cpoptions' |cpo-X| 501 - a vertical movement command that moves to a non-existing line fails; added 502 the '-' flag to 'cpoptions' |cpo--| 503 - when preserving a file and doing ":q!" the file can be recovered; added the 504 '&' flag to 'cpoptions' |cpo-&| 505 - The 'window' option is partly implemented. It specifies how much CTRL-F and 506 CTRL-B scroll when there is one window. The "-w {number}" argument is now 507 accepted. "-w {scriptout}" only works when {scriptout} doesn't start with a 508 digit. 509 - Allow "-c{command}" argument, no space between "-c" and {command}. 510 - When writing a file with ":w!" don't reset 'readonly' when 'Z' is present in 511 'cpoptions'. 512 - Allow 'l' and '#' flags for ":list", ":print" and ":number". 513 - Added the '.' flag to 'cpoptions': ":cd" fails when the buffer is modified. 514 - In Ex mode with an empty buffer ":read file" doesn't keep an empty line 515 above or below the new lines. 516 - Remove a backslash before a NL for the ":global" command. 517 - When ":append", ":insert" or ":change" is used with ":global", get the 518 inserted lines from the command. Can use backslash-NL to separate lines. 519 - Can use ":global /pat/ visual" to execute Normal mode commands at each 520 matched line. Use "Q" to continue and go to the next line. 521 - The |:open| command has been partially implemented. It stops Ex mode, but 522 redraws the whole screen, not just one line as open mode is supposed to do. 523 - Support using a pipe to read the output from and write input to an external 524 command. Added the 'shelltemp' option and has("filterpipe"). 525 - In ex silent mode the ":set" command output is displayed. 526 - The ":@@" and ":**" give an error message when no register was used before. 527 - The search pattern "[]-`]" matches ']', '^', '_' and '`'. 528 - Autoindent for ":insert" is using the line below the insert. 529 - Autoindent for ":change" is using the first changed line. 530 - Editing Ex command lines is not done in cooked mode, because CTRL-D and 531 CTRL-T cannot be handled then. 532 - In Ex mode, "1,3" prints three lines. "%" prints all lines. 533 - In Ex mode "undo" would undo all changes since Ex mode was started. 534 - Implemented the 'prompt' option. 535 536 537 Debugger support *new-debug-support* 538 ---------------- 539 540 The 'balloonexpr' option has been added. This is a generic way to implement 541 balloon functionality. You can use it to show info for the word under the 542 mouse pointer. 543 544 545 Remote file explorer *new-netrw-explore* 546 -------------------- 547 548 The netrw plugin now also supports viewing a directory, when "scp://" is used. 549 Deleting and renaming files is possible. 550 551 To avoid duplicating a lot of code, the previous file explorer plugin has been 552 integrated in the netrw plugin. This means browsing local and remote files 553 works the same way. 554 555 ":browse edit" and ":browse split" use the netrw plugin when it's available 556 and a GUI dialog is not possible. 557 558 The netrw plugin is maintained by Charles Campbell. 559 560 561 Define an operator *new-define-operator* 562 ------------------ 563 564 Previously it was not possible to define your own operator; a command that is 565 followed by a {motion}. Vim 7 introduces the 'operatorfunc' option and the 566 |g@| operator. This makes it possible to define a mapping that works like an 567 operator. The actual work is then done by a function, which is invoked 568 through the |g@| operator. 569 570 See |:map-operator| for the explanation and an example. 571 572 573 Mapping to an expression *new-map-expression* 574 ------------------------ 575 576 The {rhs} argument of a mapping can be an expression. That means the 577 resulting characters can depend on the context. Example: > 578 :inoremap <expr> . InsertDot() 579 Here the dot will be mapped to whatever InsertDot() returns. 580 581 This also works for abbreviations. See |:map-<expr>| for the details. 582 583 584 Visual and Select mode mappings *new-map-select* 585 ------------------------------- 586 587 Previously Visual mode mappings applied both to Visual and Select mode. With 588 a trick to have the mappings work in Select mode like they would in Visual 589 mode. 590 591 Commands have been added to define mappings for Visual and Select mode 592 separately: |:xmap| and |:smap|. With the associated "noremap" and "unmap" 593 commands. 594 595 The same is done for menus: |:xmenu|, |:smenu|, etc. 596 597 598 Location list *new-location-list* 599 ------------- 600 601 The support for a per-window quickfix list (location list) is added. The 602 location list can be displayed in a location window (similar to the quickfix 603 window). You can open more than one location list window. A set of commands 604 similar to the quickfix commands are added to browse the location list. 605 (Yegappan Lakshmanan) 606 607 608 Various new items *new-items-7* 609 ----------------- 610 611 Normal mode commands: ~ 612 613 a", a' and a` New text objects to select quoted strings. |a'| 614 i", i' and i` (Taro Muraoka) 615 616 CTRL-W <Enter> In the quickfix window: opens a new window to show the 617 location of the error under the cursor. 618 619 |at| and |it| text objects select a block of text between HTML or XML tags. 620 621 <A-LeftMouse> ('mousemodel' "popup" or "popup-setpos") 622 <A-RightMouse> ('mousemodel' "extend") 623 Make a blockwise selection. |<A-LeftMouse>| 624 625 gF Start editing the filename under the cursor and jump 626 to the line number following the file name. 627 (Yegappan Lakshmanan) 628 629 CTRL-W F Start editing the filename under the cursor in a new 630 window and jump to the line number following the file 631 name. (Yegappan Lakshmanan) 632 633 Insert mode commands: ~ 634 635 CTRL-\ CTRL-O Execute a Normal mode command. Like CTRL-O but 636 without moving the cursor. |i_CTRL-\_CTRL-O| 637 638 Options: ~ 639 640 'balloonexpr' expression for text to show in evaluation balloon 641 'completefunc' The name of the function used for user-specified 642 Insert mode completion. CTRL-X CTRL-U can be used in 643 Insert mode to do any kind of completion. (Taro 644 Muraoka) 645 'completeopt' Enable popup menu and other settings for Insert mode 646 completion. 647 'cursorcolumn' highlight column of the cursor 648 'cursorline' highlight line of the cursor 649 'formatexpr' expression for formatting text with |gq| and when text 650 goes over 'textwidth' in Insert mode. 651 'formatlistpat' pattern to recognize a numbered list for formatting. 652 (idea by Hugo Haas) 653 'fsync' Whether fsync() is called after writing a file. 654 (Ciaran McCreesh) 655 'guitablabel' expression for text to display in GUI tab page label 656 'guitabtooltip' expression for text to display in GUI tab page tooltip 657 'macatsui' Mac: use ATSUI text display functions 658 'maxcombine' maximum number of combining characters displayed 659 'maxmempattern' maximum amount of memory to use for pattern matching 660 'mkspellmem' parameters for |:mkspell| memory use 661 'mzquantum' Time in msec to schedule MzScheme threads. 662 'numberwidth' Minimal width of the space used for the 'number' and 663 'relativenumber' option. (Emmanuel Renieris) 664 'omnifunc' The name of the function used for omni completion. 665 'operatorfunc' function to be called for |g@| operator 666 'printmbcharset' CJK character set to be used for :hardcopy 667 'printmbfont' font names to be used for CJK output of :hardcopy 668 'pumheight' maximum number of items to show in the popup menu 669 'quoteescape' Characters used to escape quotes inside a string. 670 Used for the a", a' and a` text objects. |a'| 671 'shelltemp' whether to use a temp file or pipes for shell commands 672 'showtabline' whether to show the tab pages line 673 'spell' switch spell checking on/off 674 'spellcapcheck' pattern to locate the end of a sentence 675 'spellfile' file where good and wrong words are added 676 'spelllang' languages to check spelling for 677 'spellsuggest' methods for spell suggestions 678 'synmaxcol' maximum column to look for syntax items; avoids very 679 slow redrawing when there are very long lines 680 'tabline' expression for text to display in the tab pages line 681 'tabpagemax' maximum number of tab pages to open for |-p| 682 'verbosefile' Log messages in a file. 683 'wildoptions' "tagfile" value enables listing the file name of 684 matching tags for CTRL-D command line completion. 685 (based on an idea from Yegappan Lakshmanan) 686 'winfixwidth' window with fixed width, similar to 'winfixheight' 687 688 689 Ex commands: ~ 690 691 Win32: The ":winpos" command now also works in the console. (Vipin Aravind) 692 693 |:startreplace| Start Replace mode. (Charles Campbell) 694 |:startgreplace| Start Virtual Replace mode. 695 696 |:0file| Removes the name of the buffer. (Charles Campbell) 697 698 |:diffoff| Switch off diff mode in the current window or in all 699 windows. 700 701 |:delmarks| Delete marks. 702 703 |:exusage| Help for Ex commands (Nvi command). 704 |:viusage| Help for Vi commands (Nvi command). 705 706 |:sort| Sort lines in the buffer without depending on an 707 external command. (partly by Bryce Wagner) 708 709 |:vimgrep| Internal grep command, search for a pattern in files. 710 |:vimgrepadd| Like |:vimgrep| but don't make a new list. 711 712 |:caddfile| Add error messages to an existing quickfix list 713 (Yegappan Lakshmanan). 714 |:cbuffer| Read error lines from a buffer. (partly by Yegappan 715 Lakshmanan) 716 |:cgetbuffer| Create a quickfix list from a buffer but don't jump to 717 the first error. 718 |:caddbuffer| Add errors from the current buffer to the quickfix 719 list. 720 |:cexpr| Read error messages from a Vim expression (Yegappan 721 Lakshmanan). 722 |:caddexpr| Add error messages from a Vim expression to an 723 existing quickfix list. (Yegappan Lakshmanan). 724 |:cgetexpr| Create a quickfix list from a Vim expression, but 725 don't jump to the first error. (Yegappan Lakshmanan). 726 727 |:lfile| Like |:cfile| but use the location list. 728 |:lgetfile| Like |:cgetfile| but use the location list. 729 |:laddfile| Like |:caddfile| but use the location list. 730 |:lbuffer| Like |:cbuffer| but use the location list. 731 |:lgetbuffer| Like |:cgetbuffer| but use the location list. 732 |:laddbuffer| Like |:caddbuffer| but use the location list. 733 |:lexpr| Like |:cexpr| but use the location list. 734 |:lgetexpr| Like |:cgetexpr| but use the location list. 735 |:laddexpr| Like |:caddexpr| but use the location list. 736 |:ll| Like |:cc| but use the location list. 737 |:llist| Like |:clist| but use the location list. 738 |:lnext| Like |:cnext| but use the location list. 739 |:lprevious| Like |:cprevious| but use the location list. 740 |:lNext| Like |:cNext| but use the location list. 741 |:lfirst| Like |:cfirst| but use the location list. 742 |:lrewind| Like |:crewind| but use the location list. 743 |:llast| Like |:clast| but use the location list. 744 |:lnfile| Like |:cnfile| but use the location list. 745 |:lpfile| Like |:cpfile| but use the location list. 746 |:lNfile| Like |:cNfile| but use the location list. 747 |:lolder| Like |:colder| but use the location list. 748 |:lnewer| Like |:cnewer| but use the location list. 749 |:lwindow| Like |:cwindow| but use the location list. 750 |:lopen| Like |:copen| but use the location list. 751 |:lclose| Like |:cclose| but use the location list. 752 |:lmake| Like |:make| but use the location list. 753 |:lgrep| Like |:grep| but use the location list. 754 |:lgrepadd| Like |:grepadd| but use the location list. 755 |:lvimgrep| Like |:vimgrep| but use the location list. 756 |:lvimgrepadd| Like |:vimgrepadd| but use the location list. 757 |:lhelpgrep| Like |:helpgrep| but use the location list. 758 |:lcscope| Like |:cscope| but use the location list. 759 |:ltag| Jump to a tag and add matching tags to a location list. 760 761 |:undojoin| Join a change with the previous undo block. 762 |:undolist| List the leafs of the undo tree. 763 764 |:earlier| Go back in time for changes in the text. 765 |:later| Go forward in time for changes in the text. 766 767 |:for| Loop over a |List|. 768 |:endfor| 769 770 |:lockvar| Lock a variable, prevents it from being changed. 771 |:unlockvar| Unlock a locked variable. 772 773 |:mkspell| Create a Vim spell file. 774 |:spellgood| Add a word to the list of good words. 775 |:spellwrong| Add a word to the list of bad words 776 |:spelldump| Dump list of good words. 777 |:spellinfo| Show information about the spell files used. 778 |:spellrepall| Repeat a spelling correction for the whole buffer. 779 |:spellundo| Remove a word from list of good and bad words. 780 781 |:mzscheme| Execute MzScheme commands. 782 |:mzfile| Execute an MzScheme script file. 783 784 |:nbkey| Pass a key to NetBeans for processing. 785 786 |:profile| Commands for Vim script profiling. 787 |:profdel| Stop profiling for specified items. 788 789 |:smap| Select mode mapping. 790 |:smapclear| 791 |:snoremap| 792 |:sunmap| 793 794 |:xmap| Visual mode mapping, not used for Select mode. 795 |:xmapclear| 796 |:xnoremap| 797 |:xunmap| 798 799 |:smenu| Select mode menu. 800 |:snoremenu| 801 |:sunmenu| 802 803 |:xmenu| Visual mode menu, not used for Select mode. 804 |:xnoremenu| 805 |:xunmenu| 806 807 |:tabclose| Close the current tab page. 808 |:tabdo| Perform a command in every tab page. 809 |:tabedit| Edit a file in a new tab page. 810 |:tabnew| Open a new tab page. 811 |:tabfind| Search for a file and open it in a new tab page. 812 |:tabnext| Go to the next tab page. 813 |:tabprevious| Go to the previous tab page. 814 |:tabNext| Go to the previous tab page. 815 |:tabfirst| Go to the first tab page. 816 |:tabrewind| Go to the first tab page. 817 |:tablast| Go to the last tab page. 818 |:tabmove| Move the current tab page elsewhere. 819 |:tabonly| Close all other tab pages. 820 |:tabs| List the tab pages and the windows they contain. 821 822 Ex command modifiers: ~ 823 824 |:keepalt| Do not change the alternate file. 825 826 |:noautocmd| Do not trigger autocommand events. 827 828 |:sandbox| Execute a command in the sandbox. 829 830 |:tab| When opening a new window create a new tab page. 831 832 833 Ex command arguments: ~ 834 835 |++bad| Specify what happens with characters that can't be 836 converted and illegal bytes. (code example by Yasuhiro 837 Matsumoto) 838 Also, when a conversion error occurs or illegal bytes 839 are found include the line number in the error 840 message. 841 842 843 New and extended functions: ~ 844 845 |add()| append an item to a List 846 |append()| append List of lines to the buffer 847 |argv()| without an argument return the whole argument list 848 |browsedir()| dialog to select a directory 849 |bufnr()| takes an extra argument: create buffer 850 |byteidx()| index of a character (Ilya Sher) 851 |call()| call a function with List as arguments 852 |changenr()| number of current change 853 |complete()| set matches for Insert mode completion 854 |complete_add()| add match for 'completefunc' 855 |complete_check()| check for key pressed, for 'completefunc' 856 |copy()| make a shallow copy of a List or Dictionary 857 |count()| count nr of times a value is in a List or Dictionary 858 |cursor()| also accepts an offset for 'virtualedit', and 859 the first argument can be a list: [lnum, col, off] 860 |deepcopy()| make a full copy of a List or Dictionary 861 |diff_filler()| returns number of filler lines above line {lnum}. 862 |diff_hlID()| returns the highlight ID for diff mode 863 |empty()| check if List or Dictionary is empty 864 |eval()| evaluate {string} and return the result 865 |extend()| append one List to another or add items from one 866 Dictionary to another 867 |feedkeys()| put characters in the typeahead buffer 868 |filter()| remove selected items from a List or Dictionary 869 |finddir()| find a directory in 'path' 870 |findfile()| find a file in 'path' (Johannes Zellner) 871 |foldtextresult()| the text displayed for a closed fold at line "lnum" 872 |function()| make a Funcref out of a function name 873 |garbagecollect()| cleanup unused |Lists| and |Dictionaries| with circular 874 references 875 |get()| get an item from a List or Dictionary 876 |getbufline()| get a list of lines from a specified buffer 877 (Yegappan Lakshmanan) 878 |getcmdtype()| return the current command-line type 879 (Yegappan Lakshmanan) 880 |getfontname()| get actual font name being used 881 |getfperm()| get file permission string (Nikolai Weibull) 882 |getftype()| get type of file (Nikolai Weibull) 883 |getline()| with second argument: get List with buffer lines 884 |getloclist()| list of location list items (Yegappan Lakshmanan) 885 |getpos()| return a list with the position of cursor, mark, etc. 886 |getqflist()| list of quickfix errors (Yegappan Lakshmanan) 887 |getreg()| get contents of a register 888 |gettabwinvar()| get variable from window in specified tab page. 889 |has_key()| check whether a key appears in a Dictionary 890 |haslocaldir()| check if current window used |:lcd| 891 |hasmapto()| check for a mapping to a string 892 |index()| index of item in List 893 |inputlist()| prompt the user to make a selection from a list 894 |insert()| insert an item somewhere in a List 895 |islocked()| check if a variable is locked 896 |items()| get List of Dictionary key-value pairs 897 |join()| join List items into a String 898 |keys()| get List of Dictionary keys 899 |len()| number of items in a List or Dictionary 900 |map()| change each List or Dictionary item 901 |maparg()| extra argument: use abbreviation 902 |mapcheck()| extra argument: use abbreviation 903 |match()| extra argument: count 904 |matcharg()| return arguments of |:match| command 905 |matchend()| extra argument: count 906 |matchlist()| list with match and submatches of a pattern in a string 907 |matchstr()| extra argument: count 908 |max()| maximum value in a List or Dictionary 909 |min()| minimum value in a List or Dictionary 910 |mkdir()| create a directory 911 |pathshorten()| reduce directory names to a single character 912 |printf()| format text 913 |pumvisible()| check whether the popup menu is displayed 914 |range()| generate a List with numbers 915 |readfile()| read a file into a list of lines 916 |reltime()| get time value, possibly relative 917 |reltimestr()| turn a time value into a string 918 |remove()| remove one or more items from a List or Dictionary 919 |repeat()| repeat "expr" "count" times (Christophe Poucet) 920 |reverse()| reverse the order of a List 921 |search()| extra argument: 922 |searchdecl()| search for declaration of variable 923 |searchpair()| extra argument: line to stop searching 924 |searchpairpos()| return a List with the position of the match 925 |searchpos()| return a List with the position of the match 926 |setloclist()| modify a location list (Yegappan Lakshmanan) 927 |setpos()| set cursor or mark to a position 928 |setqflist()| modify a quickfix list (Yegappan Lakshmanan) 929 |settabwinvar()| set variable in window of specified tab page 930 |sort()| sort a List 931 |soundfold()| get the sound-a-like equivalent of a word 932 |spellbadword()| get a badly spelled word 933 |spellsuggest()| get suggestions for correct spelling 934 |split()| split a String into a List 935 |str2nr()| convert a string to a number, base 2, 8, 10 or 16 936 |stridx()| extra argument: start position 937 |strridx()| extra argument: start position 938 |string()| string representation of a List or Dictionary 939 |system()| extra argument: filters {input} through a shell command 940 |tabpagebuflist()| List of buffers in a tab page 941 |tabpagenr()| number of current or last tab page 942 |tabpagewinnr()| window number in a tab page 943 |tagfiles()| List with tags file names 944 |taglist()| get list of matching tags (Yegappan Lakshmanan) 945 |tr()| translate characters (Ron Aaron) 946 |uniq()| remove copies of repeated adjacent list items 947 |values()| get List of Dictionary values 948 |winnr()| takes an argument: what window to use 949 |winrestview()| restore the view of the current window 950 |winsaveview()| save the view of the current window 951 |writefile()| write a list of lines into a file 952 953 User defined functions can now be loaded automatically from the "autoload" 954 directory in 'runtimepath'. See |autoload-functions|. 955 956 957 New Vim variables: ~ 958 959 |v:insertmode| used for |InsertEnter| and |InsertChange| autocommands 960 |v:val| item value in a |map()| or |filter()| function 961 |v:key| item key in a |map()| or |filter()| function 962 |v:profiling| non-zero after a ":profile start" command 963 |v:fcs_reason| the reason why |FileChangedShell| was triggered 964 |v:fcs_choice| what should happen after |FileChangedShell| 965 |v:beval_bufnr| buffer number for 'balloonexpr' 966 |v:beval_winnr| window number for 'balloonexpr' 967 |v:beval_lnum| line number for 'balloonexpr' 968 |v:beval_col| column number for 'balloonexpr' 969 |v:beval_text| text under the mouse pointer for 'balloonexpr' 970 |v:scrollstart| what caused the screen to be scrolled up 971 |v:swapname| name of the swap file for the |SwapExists| event 972 |v:swapchoice| what to do for an existing swap file 973 |v:swapcommand| command to be executed after handling |SwapExists| 974 |v:char| argument for evaluating 'formatexpr' 975 976 977 New autocommand events: ~ 978 979 |ColorScheme| after loading a color scheme 980 981 |CursorHoldI| the user doesn't press a key for a while in Insert mode 982 |CursorMoved| the cursor was moved in Normal mode 983 |CursorMovedI| the cursor was moved in Insert mode 984 985 |FileChangedShellPost| after handling a file changed outside of Vim 986 987 |InsertEnter| starting Insert or Replace mode 988 |InsertChange| going from Insert to Replace mode or back 989 |InsertLeave| leaving Insert or Replace mode 990 991 |MenuPopup| just before showing popup menu 992 993 |QuickFixCmdPre| before :make, :grep et al. (Ciaran McCreesh) 994 |QuickFixCmdPost| after :make, :grep et al. (Ciaran McCreesh) 995 996 |SessionLoadPost| after loading a session file. (Yegappan Lakshmanan) 997 998 |ShellCmdPost| after executing a shell command 999 |ShellFilterPost| after filtering with a shell command 1000 1001 |SourcePre| before sourcing a Vim script 1002 1003 |SpellFileMissing| when a spell file can't be found 1004 1005 |SwapExists| found existing swap file when editing a file 1006 1007 |TabEnter| just after entering a tab page 1008 |TabLeave| just before leaving a tab page 1009 1010 |VimResized| after the Vim window size changed (Yakov Lerner) 1011 1012 1013 New highlight groups: ~ 1014 1015 Pmenu Popup menu: normal item |hl-Pmenu| 1016 PmenuSel Popup menu: selected item |hl-PmenuSel| 1017 PmenuThumb Popup menu: scrollbar |hl-PmenuThumb| 1018 PmenuSbar Popup menu: Thumb of the scrollbar |hl-PmenuSbar| 1019 1020 TabLine tab pages line, inactive label |hl-TabLine| 1021 TabLineSel tab pages line, selected label |hl-TabLineSel| 1022 TabLineFill tab pages line, filler |hl-TabLineFill| 1023 1024 SpellBad badly spelled word |hl-SpellBad| 1025 SpellCap word with wrong caps |hl-SpellCap| 1026 SpellRare rare word |hl-SpellRare| 1027 SpellLocal word only exists in other region |hl-SpellLocal| 1028 1029 CursorColumn 'cursorcolumn' |hl-CursorColumn| 1030 CursorLine 'cursorline' |hl-CursorLine| 1031 1032 MatchParen matching parens |pi_paren.txt| |hl-MatchParen| 1033 1034 1035 New items in search patterns: ~ 1036 |/\%d| \%d123 search for character with decimal number 1037 |/\]| [\d123] idem, in a collection 1038 |/\%o| \%o103 search for character with octal number 1039 |/\]| [\o1o3] idem, in a collection 1040 |/\%x| \%x1a search for character with 2 pos. hex number 1041 |/\]| [\x1a] idem, in a collection 1042 |/\%u| \%u12ab search for character with 4 pos. hex number 1043 |/\]| [\u12ab] idem, in a collection 1044 |/\%U| \%U1234abcd search for character with 8 pos. hex number 1045 |/\]| [\U1234abcd] idem, in a collection 1046 (The above partly by Ciaran McCreesh) 1047 1048 |/[[=| [[=a=]] an equivalence class (only for latin1 characters) 1049 |/[[.| [[.a.]] a collation element (only works with single char) 1050 1051 |/\%'m| \%'m match at mark m 1052 |/\%<'m| \%<'m match before mark m 1053 |/\%>'m| \%>'m match after mark m 1054 |/\%V| \%V match in Visual area 1055 1056 Nesting |/multi| items no longer is an error when an empty match is possible. 1057 1058 It is now possible to use \{0}, it matches the preceding atom zero times. Not 1059 useful, just for compatibility. 1060 1061 1062 New Syntax/Indent/FTplugin files: ~ 1063 1064 Moved all the indent settings from the filetype plugin to the indent file. 1065 Implemented b:undo_indent to undo indent settings when setting 'filetype' to a 1066 different value. 1067 1068 a2ps syntax and ftplugin file. (Nikolai Weibull) 1069 ABAB/4 syntax file. (Marius van Wyk) 1070 alsaconf ftplugin file. (Nikolai Weibull) 1071 AppendMatchGroup ftplugin file. (Dave Silvia) 1072 arch ftplugin file. (Nikolai Weibull) 1073 asterisk and asteriskvm syntax file. (Tilghman Lesher) 1074 BDF ftplugin file. (Nikolai Weibull) 1075 BibTeX indent file. (Dorai Sitaram) 1076 BibTeX Bibliography Style syntax file. (Tim Pope) 1077 BTM ftplugin file. (Bram Moolenaar) 1078 calendar ftplugin file. (Nikolai Weibull) 1079 Changelog indent file. (Nikolai Weibull) 1080 ChordPro syntax file. (Niels Bo Andersen) 1081 Cmake indent and syntax file. (Andy Cedilnik) 1082 conf ftplugin file. (Nikolai Weibull) 1083 context syntax and ftplugin file. (Nikolai Weibull) 1084 CRM114 ftplugin file. (Nikolai Weibull) 1085 cvs RC ftplugin file. (Nikolai Weibull) 1086 D indent file. (Jason Mills) 1087 Debian Sources.list syntax file. (Matthijs Mohlmann) 1088 dictconf and dictdconf syntax, indent and ftplugin files. (Nikolai Weibull) 1089 diff ftplugin file. (Bram Moolenaar) 1090 dircolors ftplugin file. (Nikolai Weibull) 1091 django and htmldjango syntax file. (Dave Hodder) 1092 doxygen syntax file. (Michael Geddes) 1093 elinks ftplugin file. (Nikolai Weibull) 1094 eterm ftplugin file. (Nikolai Weibull) 1095 eviews syntax file. (Vaidotas Zemlys) 1096 fetchmail RC ftplugin file. (Nikolai Weibull) 1097 FlexWiki syntax and ftplugin file. (George Reilly) 1098 Generic indent file. (Dave Silvia) 1099 gpg ftplugin file. (Nikolai Weibull) 1100 gretl syntax file. (Vaidotas Zemlys) 1101 groovy syntax file. (Alessio Pace) 1102 group syntax and ftplugin file. (Nikolai Weibull) 1103 grub ftplugin file. (Nikolai Weibull) 1104 Haskell ftplugin file. (Nikolai Weibull) 1105 help ftplugin file. (Nikolai Weibull) 1106 indent ftplugin file. (Nikolai Weibull) 1107 Javascript ftplugin file. (Bram Moolenaar) 1108 Kconfig ftplugin and syntax file. (Nikolai Weibull) 1109 ld syntax, indent and ftplugin file. (Nikolai Weibull) 1110 lftp ftplugin file. (Nikolai Weibull) 1111 libao config ftplugin file. (Nikolai Weibull) 1112 limits syntax and ftplugin file. (Nikolai Weibull) 1113 Lisp indent file. (Sergey Khorev) 1114 loginaccess and logindefs syntax and ftplugin file. (Nikolai Weibull) 1115 m4 ftplugin file. (Nikolai Weibull) 1116 mailaliases syntax file. (Nikolai Weibull) 1117 mailcap ftplugin file. (Nikolai Weibull) 1118 manconf syntax and ftplugin file. (Nikolai Weibull) 1119 matlab ftplugin file. (Jake Wasserman) 1120 Maxima syntax file. (Robert Dodier) 1121 MGL syntax file. (Gero Kuhlmann) 1122 modconf ftplugin file. (Nikolai Weibull) 1123 mplayer config ftplugin file. (Nikolai Weibull) 1124 Mrxvtrc syntax and ftplugin file. (Gautam Iyer) 1125 MuPAD source syntax, indent and ftplugin. (Dave Silvia) 1126 mutt RC ftplugin file. (Nikolai Weibull) 1127 nanorc syntax and ftplugin file. (Nikolai Weibull) 1128 netrc ftplugin file. (Nikolai Weibull) 1129 pamconf syntax and ftplugin file. (Nikolai Weibull) 1130 Pascal indent file. (Neil Carter) 1131 passwd syntax and ftplugin file. (Nikolai Weibull) 1132 PHP compiler plugin. (Doug Kearns) 1133 pinfo ftplugin file. (Nikolai Weibull) 1134 plaintex syntax and ftplugin files. (Nikolai Weibull, Benji Fisher) 1135 procmail ftplugin file. (Nikolai Weibull) 1136 prolog ftplugin file. (Nikolai Weibull) 1137 protocols syntax and ftplugin file. (Nikolai Weibull) 1138 quake ftplugin file. (Nikolai Weibull) 1139 racc syntax and ftplugin file. (Nikolai Weibull) 1140 readline ftplugin file. (Nikolai Weibull) 1141 rhelp syntax file. (Johannes Ranke) 1142 rnoweb syntax file. (Johannes Ranke) 1143 Relax NG compact ftplugin file. (Nikolai Weibull) 1144 Scheme indent file. (Sergey Khorev) 1145 screen ftplugin file. (Nikolai Weibull) 1146 sensors syntax and ftplugin file. (Nikolai Weibull) 1147 services syntax and ftplugin file. (Nikolai Weibull) 1148 setserial syntax and ftplugin file. (Nikolai Weibull) 1149 sieve syntax and ftplugin file. (Nikolai Weibull) 1150 SiSU syntax file (Ralph Amissah) 1151 Sive syntax file. (Nikolai Weibull) 1152 slp config, reg and spi syntax and ftplugin files. (Nikolai Weibull) 1153 SML indent file. (Saikat Guha) 1154 SQL anywhere syntax and indent file. (David Fishburn) 1155 SQL indent file. 1156 SQL-Informix syntax file. (Dean L Hill) 1157 SQL: Handling of various variants. (David Fishburn) 1158 sshconfig ftplugin file. (Nikolai Weibull) 1159 Stata and SMCL syntax files. (Jeff Pitblado) 1160 sudoers ftplugin file. (Nikolai Weibull) 1161 sysctl syntax and ftplugin file. (Nikolai Weibull) 1162 terminfo ftplugin file. (Nikolai Weibull) 1163 trustees syntax file. (Nima Talebi) 1164 Vera syntax file. (David Eggum) 1165 udev config, permissions and rules syntax and ftplugin files. (Nikolai Weibull) 1166 updatedb syntax and ftplugin file. (Nikolai Weibull) 1167 VHDL indent file (Gerald Lai) 1168 WSML syntax file. (Thomas Haselwanter) 1169 Xdefaults ftplugin file. (Nikolai Weibull) 1170 XFree86 config ftplugin file. (Nikolai Weibull) 1171 xinetd syntax, indent and ftplugin file. (Nikolai Weibull) 1172 xmodmap ftplugin file. (Nikolai Weibull) 1173 Xquery syntax file. (Jean-Marc Vanel) 1174 xsd (XML schema) indent file. 1175 YAML ftplugin file. (Nikolai Weibull) 1176 Zsh ftplugin file. (Nikolai Weibull) 1177 1178 1179 New Keymaps: ~ 1180 1181 Sinhala (Sri Lanka) (Harshula Jayasuriya) 1182 Tamil in TSCII encoding (Yegappan Lakshmanan) 1183 Greek in cp737 (Panagiotis Louridas) 1184 Polish-slash (HS6_06) 1185 Ukrainian-jcuken (Anatoli Sakhnik) 1186 Kana (Edward L. Fox) 1187 1188 1189 New message translations: ~ 1190 1191 The Ukrainian messages are now also available in cp1251. 1192 Vietnamese message translations and menu. (Phan Vinh Thinh) 1193 1194 1195 Others: ~ 1196 1197 The |:read| command has the |++edit| argument. This means it will use the 1198 detected 'fileformat', 'fileencoding' and other options for the buffer. This 1199 also fixes the problem that editing a compressed file didn't set these 1200 options. 1201 1202 The Netbeans interface was updated for Sun Studio 10. The protocol number 1203 goes from 2.2 to 2.3. (Gordon Prieur) 1204 1205 Mac: When starting up Vim will load the $VIMRUNTIME/macmap.vim script to 1206 define default command-key mappings. (mostly by Benji Fisher) 1207 1208 Mac: Add the selection type to the clipboard, so that Block, line and 1209 character selections can be used between two Vims. (Eckehard Berns) 1210 Also fixes the problem that setting 'clipboard' to "unnamed" breaks using 1211 "yyp". 1212 1213 Mac: GUI font selector. (Peter Cucka) 1214 1215 Mac: support for multibyte characters. (Da Woon Jung) 1216 This doesn't always work properly. If you see text drawing problems try 1217 switching the 'macatsui' option off. 1218 1219 Mac: Support the xterm mouse in the non-GUI version. 1220 1221 Mac: better integration with Xcode. Post a fake mouse-up event after the odoc 1222 event and the drag receive handler to work around a stall after Vim loads a 1223 file. Fixed an off-by-one line number error. (Da Woon Jung) 1224 1225 Mac: When started from Finder change directory to the file being edited or the 1226 user home directory. 1227 1228 Added the t_SI and t_EI escape sequences for starting and ending Insert mode. 1229 To be used to set the cursor shape to a bar or a block. No default values, 1230 they are not supported by termcap/terminfo. 1231 1232 GUI font selector for Motif. (Marcin Dalecki) 1233 1234 Nicer toolbar buttons for Motif. (Marcin Dalecki) 1235 1236 Mnemonics for the Motif find/replace dialog. (Marcin Dalecki) 1237 1238 Included a few improvements for Motif from Marcin Dalecki. Draw label 1239 contents ourselves to make them handle fonts in a way configurable by Vim and 1240 a bit less dependent on the X11 font management. 1241 1242 Autocommands can be defined local to a buffer. This means they will also work 1243 when the buffer does not have a name or no specific name. See 1244 |autocmd-buflocal|. (Yakov Lerner) 1245 1246 For xterm most combinations of modifiers with function keys are recognized. 1247 |xterm-modifier-keys| 1248 1249 When 'verbose' is set the output of ":highlight" will show where a highlight 1250 item was last set. 1251 When 'verbose' is set the output of the ":map", ":abbreviate", ":command", 1252 ":function" and ":autocmd" commands will show where it was last defined. 1253 (Yegappan Lakshmanan) 1254 1255 ":function /pattern" lists functions matching the pattern. 1256 1257 "1gd" can be used like "gd" but ignores matches in a {} block that ends before 1258 the cursor position. Likewise for "1gD" and "gD". 1259 1260 'scrolljump' can be set to a negative number to scroll a percentage of the 1261 window height. 1262 1263 The |v:scrollstart| variable has been added to help find the location in 1264 your script that causes the hit-enter prompt. 1265 1266 To make it possible to handle the situation that a file is being edited that 1267 is already being edited by another Vim instance, the |SwapExists| event has 1268 been added. The |v:swapname|, |v:swapchoice| and |v:swapcommand| variables 1269 can be used, for example to use the |client-server| functionality to bring the 1270 other Vim to the foreground. 1271 When starting Vim with a "-t tag" argument, there is an existing swapfile and 1272 the user selects "quit" or "abort" then exit Vim. 1273 1274 Undo now also restores the '< and '> marks. "gv" selects the same area as 1275 before the change and undo. 1276 1277 When editing a search pattern for a "/" or "?" command and 'incsearch' is set 1278 CTRL-L can be used to add a character from the current match. CTRL-R CTRL-W 1279 will add a word, but exclude the part of the word that was already typed. 1280 1281 Ruby interface: add line number methods. (Ryan Paul) 1282 1283 The $MYVIMRC environment variable is set to the first found vimrc file. 1284 The $MYGVIMRC environment variable is set to the first found gvimrc file. 1285 1286 ============================================================================== 1287 IMPROVEMENTS *improvements-7* 1288 1289 ":helpgrep" accepts a language specifier after the pattern: "pat@it". 1290 1291 Moved the help for printing to a separate help file. It's quite a lot now. 1292 1293 When doing completion for ":!cmd", ":r !cmd" or ":w !cmd" executable files are 1294 found in $PATH instead of looking for ordinary files in the current directory. 1295 1296 When ":silent" is used and a backwards range is given for an Ex command the 1297 range is swapped automatically instead of asking if that is OK. 1298 1299 The pattern matching code was changed from a recursive function to an 1300 iterative mechanism. This avoids out-of-stack errors. State is stored in 1301 allocated memory, running out of memory can always be detected. Allows 1302 matching more complex things, but Vim may seem to hang while doing that. 1303 1304 Previously some options were always evaluated in the |sandbox|. Now that only 1305 happens when the option was set from a modeline or in secure mode. Applies to 1306 'balloonexpr', 'foldexpr', 'foldtext' and 'includeexpr'. (Sumner Hayes) 1307 1308 Some commands and expressions could have nasty side effects, such as using 1309 CTRL-R = while editing a search pattern and the expression invokes a function 1310 that jumps to another window. The |textlock| has been added to prevent this 1311 from happening. 1312 1313 ":breakadd here" and ":breakdel here" can be used to set or delete a 1314 breakpoint at the cursor. 1315 1316 It is now possible to define a function with: > 1317 :exe "func Test()\n ...\n endfunc" 1318 1319 The tutor was updated to make it simpler to use and text was added to explain 1320 a few more important commands. Used ideas from Gabriel Zachmann. 1321 1322 Unix: When libcall() fails obtain an error message with dlerror() and display 1323 it. (Johannes Zellner) 1324 1325 Mac and Cygwin: When editing an existing file make the file name the same case 1326 of the edited file. Thus when typing ":e os_UNIX.c" the file name becomes 1327 "os_unix.c". 1328 1329 Added "nbsp" in 'listchars'. (David Blanchet) 1330 1331 Added the "acwrite" value for the 'buftype' option. This is for a buffer that 1332 does not have a name that refers to a file and is written with BufWriteCmd 1333 autocommands. 1334 1335 For lisp indenting and matching parenthesis: (Sergey Khorev) 1336 - square brackets are recognized properly 1337 - #\(, #\), #\[ and #\] are recognized as character literals 1338 - Lisp line comments (delimited by semicolon) are recognized 1339 1340 Added the "count" argument to match(), matchend() and matchstr(). (Ilya Sher) 1341 1342 winnr() takes an optional "$" or "#" argument. (Nikolai Weibull, Yegappan 1343 Lakshmanan) 1344 1345 Added 's' flag to search(): set ' mark if cursor moved. (Yegappan Lakshmanan) 1346 Added 'n' flag to search(): don't move the cursor. (Nikolai Weibull) 1347 Added 'c' flag to search(): accept match at the cursor. 1348 Added 'e' flag to search(): move to end of the match. (Benji Fisher) 1349 Added 'p' flag to search(): return number of sub-pattern. (Benji Fisher) 1350 These also apply to searchpos(), searchpair() and searchpairpos(). 1351 1352 The search() and searchpair() functions have an extra argument to specify 1353 where to stop searching. Speeds up searches that should not continue too far. 1354 1355 When uncompressing fails in the gzip plugin, give an error message but don't 1356 delete the raw text. Helps if the file has a .gz extension but is not 1357 actually compressed. (Andrew Pimlott) 1358 1359 When C, C++ or IDL syntax is used, may additionally load doxygen syntax. 1360 (Michael Geddes) 1361 1362 Support setting 'filetype' and 'syntax' to "aaa.bbb" for "aaa" plus "bbb" 1363 filetype or syntax. 1364 1365 The ":registers" command now displays multibyte characters properly. 1366 1367 VMS: In the usage message mention that a slash can be used to make a flag 1368 upper case. Add color support to the builtin vt320 terminal codes. 1369 (Zoltan Arpadffy) 1370 1371 For the '%' item in 'viminfo', allow a number to set a maximum for the number 1372 of buffers. 1373 1374 For recognizing the file type: When a file looks like a shell script, check 1375 for an "exec" command that starts the tcl interpreter. (suggested by Alexios 1376 Zavras) 1377 1378 Support conversion between utf-8 and latin9 (iso-8859-15) internally, so that 1379 digraphs still work when iconv is not available. 1380 1381 When a session file is loaded while editing an unnamed, empty buffer that 1382 buffer is wiped out. Avoids that there is an unused buffer in the buffer 1383 list. 1384 1385 Win32: When libintl.dll supports bind_textdomain_codeset(), use it. 1386 (NAKADAIRA Yukihiro) 1387 1388 Win32: Vim was not aware of hard links on NTFS file systems. These are 1389 detected now for when 'backupcopy' is "auto". Also fixed a bogus "file has 1390 been changed since reading it" error for links. 1391 1392 When foldtext() finds no text after removing the comment leader, use the 1393 second line of the fold. Helps for C-style /* */ comments where the first 1394 line is just "/*". 1395 1396 When editing the same file from two systems (e.g., Unix and MS-Windows) there 1397 mostly was no warning for an existing swap file, because the name of the 1398 edited file differs (e.g., y:\dir\file vs /home/me/dir/file). Added a flag to 1399 the swap file to indicate it is in the same directory as the edited file. The 1400 used path then doesn't matter and the check for editing the same file is much 1401 more reliable. 1402 1403 Unix: When editing a file through a symlink the swap file would use the name 1404 of the symlink. Now use the name of the actual file, so that editing the same 1405 file twice is detected. (suggestions by Stefano Zacchiroli and James Vega) 1406 1407 Client-server communication now supports 'encoding'. When setting 'encoding' 1408 in a Vim server to "utf-8", and using "vim --remote fname" in a console, 1409 "fname" is converted from the console encoding to utf-8. Also allows Vims 1410 with different 'encoding' settings to exchange messages. 1411 1412 Internal: Changed ga_room into ga_maxlen, so that it doesn't need to be 1413 incremented/decremented each time. 1414 1415 When a register is empty it is not stored in the viminfo file. 1416 1417 Removed the tcltags script, it's obsolete. 1418 1419 ":redir @*>>" and ":redir @+>>" append to the clipboard. Better check for 1420 invalid characters after the register name. |:redir| 1421 1422 ":redir => variable" and ":redir =>> variable" write or append to a variable. 1423 (Yegappan Lakshmanan) |:redir| 1424 1425 ":redir @{a-z}>>" appends to register a to z. (Yegappan Lakshmanan) 1426 1427 The 'verbosefile' option can be used to log messages in a file. Verbose 1428 messages are not displayed then. The "-V{filename}" argument can be used to 1429 log startup messages. 1430 1431 ":let g:" lists global variables. 1432 ":let b:" lists buffer-local variables. 1433 ":let w:" lists window-local variables. 1434 ":let v:" lists Vim variables. 1435 1436 The stridx() and strridx() functions take a third argument, where to start 1437 searching. (Yegappan Lakshmanan) 1438 1439 The getreg() function takes an extra argument to be able to get the expression 1440 for the '=' register instead of the result of evaluating it. 1441 1442 The setline() function can take a List argument to set multiple lines. When 1443 the line number is just below the last line the line is appended. 1444 1445 g CTRL-G also shows the number of characters if it differs from the number of 1446 bytes. 1447 1448 Completion for ":debug" and entering an expression for the '=' register. Skip 1449 ":" between range and command name. (Peter Winters) 1450 1451 CTRL-Q in Insert mode now works like CTRL-V by default. Previously it was 1452 ignored. 1453 1454 When "beep" is included in 'debug' a function or script that causes a beep 1455 will result in a message with the source of the error. 1456 1457 When completing buffer names, match with "\(^\|[\/]\)" instead of "^", so that 1458 ":buf stor<Tab>" finds both "include/storage.h" and "storage/main.c". 1459 1460 To count items (pattern matches) without changing the buffer the 'n' flag has 1461 been added to |:substitute|. See |count-items|. 1462 1463 In a |:substitute| command the \u, \U, \l and \L items now also work for 1464 multibyte characters. 1465 1466 The "screen.linux" $TERM name is recognized to set the default for 1467 'background' to "dark". (Ciaran McCreesh) Also for "cygwin" and "putty". 1468 1469 The |FileChangedShell| autocommand event can now use the |v:fcs_reason| 1470 variable that specifies what triggered the event. |v:fcs_choice| can be used 1471 to reload the buffer or ask the user what to do. 1472 1473 Not all modifiers were recognized for xterm function keys. Added the 1474 possibility in term codes to end in ";*X" or "O*X", where X is any character 1475 and the * stands for the modifier code. 1476 Added the <xUp>, <xDown>, <xLeft> and <xRight> keys, to be able to recognize 1477 the two forms that xterm can send their codes in and still handle all possible 1478 modifiers. 1479 1480 getwinvar() now also works to obtain a buffer-local option from the specified 1481 window. 1482 1483 Added the "%s" item to 'errorformat'. (Yegappan Lakshmanan) 1484 Added the "%>" item to 'errorformat'. 1485 1486 For 'errorformat' it was not possible to have a file name that contains the 1487 character that follows after "%f". For example, in "%f:%l:%m" the file name 1488 could not contain ":". Now include the first ":" where the rest of the 1489 pattern matches. In the example a ":" not followed by a line number is 1490 included in the file name. (suggested by Emanuele Giaquinta) 1491 1492 GTK GUI: use the GTK file dialog when it's available. Mix from patches by 1493 Grahame Bowland and Evan Webb. 1494 1495 Added ":scriptnames" to bugreport.vim, so that we can see what plugins were 1496 used. 1497 1498 Win32: If the user changes the setting for the number of lines a scroll wheel 1499 click scrolls it is now used immediately. Previously Vim would need to be 1500 restarted. 1501 1502 When using @= in an expression the value is expression @= contains. ":let @= 1503 = value" can be used to set the register contents. 1504 1505 A ! can be added to ":popup" to have the popup menu appear at the mouse 1506 pointer position instead of the text cursor. 1507 1508 The table with encodings has been expanded with many MS-Windows codepages, 1509 such as cp1250 and cp737, so that these can also be used on Unix without 1510 prepending "8bit-". 1511 When an encoding name starts with "microsoft-cp" ignore the "microsoft-" part. 1512 1513 Added the "customlist" completion argument to a user-defined command. The 1514 user-defined completion function should return the completion candidates as a 1515 Vim List and the returned results are not filtered by Vim. (Yegappan 1516 Lakshmanan) 1517 1518 Win32: Balloons can have multiple lines if common controls supports it. 1519 (Sergey Khorev) 1520 1521 For command-line completion the matches for various types of arguments are now 1522 sorted: user commands, variables, syntax names, etc. 1523 1524 When no locale is set, thus using the "C" locale, Vim will work with latin1 1525 characters, using its own isupper()/toupper()/etc. functions. 1526 1527 When using an rxvt terminal emulator guess the value of 'background' using the 1528 COLORFGBG environment variable. (Ciaran McCreesh) 1529 1530 Also support t_SI and t_EI on Unix with normal features. (Ciaran McCreesh) 1531 1532 When 'foldcolumn' is one then put as much info in it as possible. This allows 1533 closing a fold with the mouse by clicking on the '-'. 1534 1535 input() takes an optional completion argument to specify the type of 1536 completion supported for the input. (Yegappan Lakshmanan) 1537 1538 "dp" works with more than two buffers in diff mode if there is only one where 1539 'modifiable' is set. 1540 1541 The 'diffopt' option has three new values: "horizontal", "vertical" and 1542 "foldcolumn". 1543 1544 When the 'include' option contains \zs the file name found is what is being 1545 matched from \zs to the end or \ze. Useful to pass more to 'includeexpr'. 1546 1547 Loading plugins on startup now supports subdirectories in the plugin 1548 directory. |load-plugins| 1549 1550 In the foldcolumn always show the '+' for a closed fold, so that it can be 1551 opened easily. It may overwrite another character, esp. if 'foldcolumn' is 1. 1552 1553 It is now possible to get the W10 message again by setting 'readonly'. Useful 1554 in the FileChangedRO autocommand when checking out the file fails. 1555 1556 Unix: When open() returns EFBIG give an appropriate message. 1557 1558 ":mksession" sets the SessionLoad variable to notify plugins. A modeline is 1559 added to the session file to set 'filetype' to "vim". 1560 1561 In the ATTENTION prompt put the "Delete it" choice before "Quit" to make it 1562 more logical. (Robert Webb) 1563 1564 When appending to a file while the buffer has no name the name of the appended 1565 file would be used for the current buffer. But the buffer contents is 1566 actually different from the file content. Don't set the file name, unless the 1567 'P' flag is present in 'cpoptions'. 1568 1569 When starting to edit a new file and the directory for the file doesn't exist 1570 then Vim will report "[New DIRECTORY]" instead of "[New File] to give the user 1571 a hint that something might be wrong. 1572 1573 Win32: Preserve the hidden attribute of the viminfo file. 1574 1575 In Insert mode CTRL-A didn't keep the last inserted text when using CTRL-O and 1576 then a cursor key. Now keep the previously inserted text if nothing is 1577 inserted after the CTRL-O. Allows using CTRL-O commands to move the cursor 1578 without losing the last inserted text. 1579 1580 The exists() function now supports checking for autocmd group definition 1581 and for supported autocommand events. (Yegappan Lakshmanan) 1582 1583 Allow using ":global" in the sandbox, it doesn't do anything harmful by 1584 itself. 1585 1586 ":saveas asdf.c" will set 'filetype' to c when it's empty. Also for ":w 1587 asdf.c" when it sets the filename for the buffer. 1588 1589 Insert mode completion for whole lines now also searches unloaded buffers. 1590 1591 The colortest.vim script can now be invoked directly with ":source" or 1592 ":runtime syntax/colortest.vim". 1593 1594 The 'statusline' option can be local to the window, so that each window can 1595 have a different value. (partly by Yegappan Lakshmanan) 1596 1597 The 'statusline' option and other options that support the same format can now 1598 use these new features: 1599 - When it starts with "%!" the value is first evaluated as an expression 1600 before parsing the value. 1601 - "%#HLname#" can be used to start highlighting with HLname. 1602 1603 When 'statusline' is set to something that causes an error message then it is 1604 made empty to avoid an endless redraw loop. Also for other options, such at 1605 'tabline' and 'titlestring'. ":verbose set statusline" will mention that it 1606 was set in an error handler. 1607 1608 When there are several matching tags, the ":tag <name>" and CTRL-] commands 1609 jump to the [count] matching tag. (Yegappan Lakshmanan) 1610 1611 Win32: In the batch files generated by the install program, use $VIMRUNTIME or 1612 $VIM if it's set. Example provided by Mathias Michaelis. 1613 Also create a vimtutor.bat batch file. 1614 1615 The 'balloonexpr' option is now |global-local|. 1616 1617 The system() function now runs in cooked mode, thus can be interrupted by 1618 CTRL-C. 1619 1620 ============================================================================== 1621 COMPILE TIME CHANGES *compile-changes-7* 1622 1623 Dropped the support for the BeOS and Amiga GUI. They were not maintained and 1624 probably didn't work. If you want to work on this: get the Vim 6.x version 1625 and merge it back in. 1626 1627 When running the tests and one of them fails to produce "test.out" the 1628 following tests are still executed. This helps when running out of memory. 1629 1630 When compiling with EXITFREE defined and the ccmalloc library, it is possible 1631 to detect memory leaks. Some memory will always be reported as leaked, such 1632 as allocated by X11 library functions and the memory allocated in 1633 alloc_cmdbuff() to store the ":quit" command. 1634 1635 Moved the code for printing to src/hardcopy.c. 1636 1637 Moved some code from main() to separate functions to make it easier to see 1638 what is being done. Using a structure to avoid a lot of arguments to the 1639 functions. 1640 1641 Moved unix_expandpath() to misc1.c, so that it can also be used by os_mac.c 1642 without copying the code. 1643 1644 --- Mac --- 1645 1646 "make" now creates the Vim.app directory and "make install" copies it to its 1647 final destination. (Raf) 1648 1649 Put the runtime directory not directly in Vim.app but in 1650 Vim.app/Contents/Resources/vim, so that it's according to Mac specs. 1651 1652 Made it possible to compile with Motif, Athena or GTK without tricks and still 1653 being able to use the MacRoman conversion. Added the os_mac_conv.c file. 1654 1655 When running "make install" the runtime files are installed as for Unix. 1656 Avoids that too many files are copied. When running "make" a link to the 1657 runtime files is created to avoid a recursive copy that takes much time. 1658 1659 Configure will attempt to build Vim for both Intel and PowerPC. The 1660 --with-mac-arch configure argument can change it. 1661 1662 --- Win32 --- 1663 1664 The Make_mvc.mak file was adjusted to work with the latest MS compilers, 1665 including the free version of Visual Studio 2005. (George Reilly) 1666 1667 INSTALLpc.txt was updated for the recent changes. (George Reilly) 1668 1669 The distributed executable is now produced with the free Visual C++ Toolkit 1670 2003 and other free SDK chunks. msvcsetup.bat was added to support this. 1671 1672 Also generate the .pdb file that can be used to generate a useful crash report 1673 on MS-Windows. (George Reilly) 1674 1675 ============================================================================== 1676 BUG FIXES *bug-fixes-7* 1677 1678 When using PostScript printing on MS-DOS the default 'printexpr' used "lpr" 1679 instead of "copy". When 'printdevice' was empty the copy command did not 1680 work. Use "LPT1" then. 1681 1682 The GTK font dialog uses a font size zero when the font name doesn't include a 1683 size. Use a default size of 10. 1684 1685 This example in the documentation didn't work: > 1686 :e `=foo . ".c"` 1687 Skip over the expression in `=expr` when looking for comments, |, % and #. 1688 1689 When ":helpgrep" doesn't find anything there is no error message. 1690 1691 "L" and "H" did not take closed folds into account. 1692 1693 Win32: The "-P title" argument stopped at the first title that matched, even 1694 when it doesn't support MDI. 1695 1696 Mac GUI: CTRL-^ and CTRL-@ did not work. 1697 1698 "2daw" on "word." at the end of a line didn't include the preceding white 1699 space. 1700 1701 Win32: Using FindExecutable() doesn't work to find a program. Use 1702 SearchPath() instead. For executable() use $PATHEXT when the program searched 1703 for doesn't have an extension. 1704 1705 When 'virtualedit' is set, moving the cursor up after appending a character 1706 may move it to a different column. Was caused by auto-formatting moving the 1707 cursor and not putting it back where it was. 1708 1709 When indent was added automatically and then moving the cursor, the indent was 1710 not deleted (like when pressing ESC). The "I" flag in 'cpoptions' can be used 1711 to make it work the old way. 1712 1713 When opening a command-line window, 'textwidth' gets set to 78 by the Vim 1714 filetype plugin. Reset 'textwidth' to 0 to avoid lines are broken. 1715 1716 After using cursor(line, col) moving up/down doesn't keep the same column. 1717 1718 Win32: Borland C before 5.5 requires using ".u." for LowPart and HighPart 1719 fields. (Walter Briscoe) 1720 1721 On Sinix SYS_NMLN isn't always defined. Define it ourselves. (Cristiano De 1722 Michele) 1723 1724 Printing with PostScript may keep the printer waiting for more. Append a 1725 CTRL-D to the printer output. (Mike Williams) 1726 1727 When converting a string with a hex or octal number the leading '-' was 1728 ignored. ":echo '-05' + 0" resulted in 5 instead of -5. 1729 1730 Using "@:" to repeat a command line didn't work when it contains control 1731 characters. Also remove "'<,'>" when in Visual mode to avoid that it appears 1732 twice. 1733 1734 When using file completion for a user command, it would not expand environment 1735 variables like for a regular command with a file argument. 1736 1737 'cindent': When the argument of a #define looks like a C++ class the next line 1738 is indented too much. 1739 1740 When 'comments' includes multibyte characters inserting the middle part and 1741 alignment may go wrong. 'cindent' also suffers from this for right-aligned 1742 items. 1743 1744 Win32: when 'encoding' is set to "utf-8" getenv() still returns strings in the 1745 active codepage. Convert to utf-8. Also for $HOME. 1746 1747 The default for 'helplang' was "zh" for both "zh_cn" and "zh_tw". Now use 1748 "cn" or "tw" as intended. 1749 1750 When 'bin' is set and 'eol' is not set then line2byte() added the line break 1751 after the last line while it's not there. 1752 1753 Using foldlevel() in a WinEnter autocommand may not work. Noticed when 1754 resizing the GUI shell upon startup. 1755 1756 Python: Using buffer.append(f.readlines()) didn't work. Allow appending a 1757 string with a trailing newline. The newline is ignored. 1758 1759 When using the ":saveas f2" command for buffer "f1", the Buffers menu would 1760 contain "f2" twice, one of them leading to "f1". Also trigger the BufFilePre 1761 and BufFilePost events for the alternate buffer that gets the old name. 1762 1763 strridx() did not work well when the needle is empty. (Ciaran McCreesh) 1764 1765 GTK: Avoid a potential hang in gui_mch_wait_for_chars() when input arrives 1766 just before it is invoked 1767 1768 VMS: Occasionally CR characters were inserted in the file. Expansion of 1769 environment variables was not correct. (Zoltan Arpadffy) 1770 1771 UTF-8: When 'delcombine' is set "dw" only deleted the last combining character 1772 from the first character of the word. 1773 1774 When using ":sball" in an autocommand only the filetype in one buffer was 1775 detected. Reset did_filetype in enter_buffer(). 1776 1777 When using ":argdo" and the window already was at the first argument index, 1778 but not actually editing it, the current buffer would be used instead. 1779 1780 When ":next dir/*" includes many matches, adding the names to the argument 1781 list may take an awful lot of time and can't be interrupted. Allow 1782 interrupting this. 1783 1784 When editing a file that was already loaded in a buffer, modelines were not 1785 used. Now window-local options in the modeline are set. Buffer-local options 1786 and global options remain unmodified. 1787 1788 Win32: When 'encoding' is set to "utf-8" in the vimrc file, files from the 1789 command line with non-ASCII characters are not used correctly. Recode the 1790 file names when 'encoding' is set, using the Unicode command line. 1791 1792 Win32 console: When the default for 'encoding' ends up to be "latin1", the 1793 default value of 'isprint' was wrong. 1794 1795 When an error message is given while waiting for a character (e.g., when an 1796 xterm reports the number of colors), the hit-enter prompt overwrote the last 1797 line. Don't reset msg_didout in normal_cmd() for K_IGNORE. 1798 1799 Mac GUI: Shift-Tab didn't work. 1800 1801 When defining tooltip text, don't translate terminal codes, since it's not 1802 going to be used like a command. 1803 1804 GTK 2: Check the tooltip text for valid utf-8 characters to avoid getting a 1805 GTK error. Invalid characters may appear when 'encoding' is changed. 1806 1807 GTK 2: Add a safety check for invalid utf-8 sequences, they can crash pango. 1808 1809 Win32: When 'encoding' is changed while starting up, use the Unicode command 1810 line to convert the file arguments to 'encoding'. Both for the GUI and the 1811 console version. 1812 1813 Win32 GUI: latin9 text (iso-8859-15) was not displayed correctly, because 1814 there is no codepage for latin9. Do our own conversion from latin9 to UCS2. 1815 1816 When two versions of GTK+ 2 are installed it was possible to use the header 1817 files from one and the library from the other. Use GTK_LIBDIR to put the 1818 directory for the library early in the link flags. 1819 1820 With the GUI find/replace dialog a replace only worked if the pattern was 1821 literal text. Now it works for any pattern. 1822 1823 When 'equalalways' is set and 'eadirection' is "hor", ":quit" would still 1824 cause equalizing window heights in the vertical direction. 1825 1826 When ":emenu" is used in a startup script the command was put in the typeahead 1827 buffer, causing a prompt for the crypt key to be messed up. 1828 1829 Mac OS/X: The default for 'isprint' included characters 128-160, causes 1830 problems for Terminal.app. 1831 1832 When a syntax item with "containedin" is used, it may match in the start or 1833 end of a region with a matchgroup, while this doesn't happen for a "contains" 1834 argument. 1835 1836 When a transparent syntax items matches in another item where the highlighting 1837 has already stopped (because of a he= argument), the highlighting would come 1838 back. 1839 1840 When cscope is used to set the quickfix error list, it didn't get set if there 1841 was only one match. (Sergey Khorev) 1842 1843 When 'confirm' is set and using ":bdel" in a modified buffer, then selecting 1844 "cancel", would still give an error message. 1845 1846 The PopUp menu items that started Visual mode didn't work when not in Normal 1847 mode. Switching between selecting a word and a line was not possible. 1848 1849 Win32: The keypad decimal point always resulted in a '.', while on some 1850 keyboards it's a ','. Use MapVirtualKey(VK_DECIMAL, 2). 1851 1852 Removed unused function DisplayCompStringOpaque() from gui_w32.c 1853 1854 In Visual mode there is not always an indication whether the line break is 1855 selected or not. Highlight the character after the line when the line break 1856 is included, e.g., after "v$o". 1857 1858 GTK: The <F10> key can't be mapped, it selects the menu. Disable that with a 1859 GTK setting and do select the menu when <F10> isn't mapped. (David Necas) 1860 1861 After "Y" '[ and '] were not at start/end of the yanked text. 1862 1863 When a telnet connection is dropped Vim preserves files and exits. While 1864 doing that a SIGHUP may arrive and disturb us, thus ignore it. (Scott 1865 Anderson) Also postpone SIGHUP, SIGQUIT and SIGTERM until it's safe to 1866 handle. Added handle_signal(). 1867 1868 When completing a file name on the command line backslashes are required for 1869 white space. Was only done for a space, not for a Tab. 1870 1871 When configure could not find a terminal library, compiling continued for a 1872 long time before reporting the problem. Added a configure check for tgetent() 1873 being found in a library. 1874 1875 When the cursor is on the first char of the last line a ":g/pat/s///" command 1876 may cause the cursor to be displayed below the text. 1877 1878 Win32: Editing a file with non-ASCII characters doesn't work when 'encoding' 1879 is "utf-8". use _wfullpath() instead of _fullpath(). (Yu-sung Moon) 1880 1881 When recovering the 'fileformat' and 'fileencoding' were taken from the 1882 original file instead of from the swapfile. When the file didn't exist, was 1883 empty or the option was changed (e.g., with ":e ++fenc=cp123 file") it could 1884 be wrong. Now store 'fileformat' and 'fileencoding' in the swapfile and use 1885 the values when recovering. 1886 1887 ":bufdo g/something/p" overwrites each last printed text line with the file 1888 message for the next buffer. Temporarily clear 'shortmess' to avoid that. 1889 1890 Win32: Cannot edit a file starting with # with --remote. Do escape % and # 1891 when building the ":drop" command. 1892 1893 A comment or | just after an expression-backtick argument was not recognized. 1894 E.g. in :e `="foo"`"comment. 1895 1896 "(" does not stop at an empty sentence (single dot and white space) while ")" 1897 does. Also breaks "das" on that dot. 1898 1899 When doing "yy" with the cursor on a TAB the ruler could be wrong and "k" 1900 moved the cursor to another column. 1901 1902 When 'commentstring' is '"%s' and there is a double quote in the line a double 1903 quote before the fold marker isn't removed in the text displayed for a closed 1904 fold. 1905 1906 In Visual mode, when 'bin' and 'eol' set, g CTRL-G counted the last line 1907 break, resulting in "selected 202 of 201 bytes". 1908 1909 Motif: fonts were not used for dialog components. (Marcin Dalecki) 1910 1911 Motif: After using a toolbar button the keyboard focus would be on the toolbar 1912 (Lesstif problem). (Marcin Dalecki) 1913 1914 When using "y<C-V>`x" where mark x is in the first column, the last line was 1915 not included. 1916 1917 Not all test scripts work properly on MS-Windows when checked out from CVS. 1918 Use a Vim command to fix all fileformats to dos before executing the tests. 1919 1920 When using ":new" and the file fits in the window, lines could still be above 1921 the window. Now remove empty lines instead of keeping the relative position. 1922 1923 Cmdline completion didn't work after ":let var1 var<Tab>". 1924 1925 When using ":startinsert" or ":startreplace" when already in Insert mode 1926 (possible when using CTRL-R =), pressing Esc would directly restart Insert 1927 mode. (Peter Winters) 1928 1929 "2daw" didn't work at end of file if the last word is a single character. 1930 1931 Completion for ":next a'<Tab>" put a backslash before single quote, but it was 1932 not removed when editing a file. Now halve backslashes in save_patterns(). 1933 Also fix expanding a file name with the shell that contains "\'". 1934 1935 When doing "1,6d|put" only "fewer lines" was reported. Now a following "more 1936 lines" overwrites the message. 1937 1938 Configure could not handle "-Dfoo=long\ long" in the TCL config output. 1939 1940 When searching backwards, using a pattern that matches a newline and uses \zs 1941 after that, didn't find a match. Could also get a hang or end up in the right 1942 column in the wrong line. 1943 1944 When $LANG is "sl" for slovenian, the slovak menu was used, since "slovak" 1945 starts with "sl". 1946 1947 When 'paste' is set in the GUI the Paste toolbar button doesn't work. Clear 1948 'paste' when starting the GUI. 1949 1950 A message about a wrong viminfo line included the trailing NL. 1951 1952 When 'paste' is set in the GUI the toolbar button doesn't work in Insert mode. 1953 Use ":exe" in menu.vim to avoid duplicating the commands, instead of using a 1954 mapping. 1955 1956 Treat "mlterm" as an xterm-like terminal. (Seiichi Sato) 1957 1958 ":z.4" and ":z=4" didn't work Vi compatible. 1959 1960 When sourcing a file, editing it and sourcing it again, it could appear twice 1961 in ":scriptnames" and get a new <SID>, because the inode has changed. 1962 1963 When $SHELL is set but empty the 'shell' option would be empty. Don't use an 1964 empty $SHELL value. 1965 1966 A command "w! file" in .vimrc or $EXINIT didn't work. Now it writes an empty 1967 file. 1968 1969 When a CTRL-F command at the end of the file failed, the cursor was still 1970 moved to the start of the line. Now it remains where it is. 1971 1972 When using ":s" or "&" to repeat the last substitute and "$" was used to put 1973 the cursor in the last column, put the cursor in the last column again. This 1974 is Vi compatible. 1975 1976 Vim is not fully POSIX compliant but sticks with traditional Vi behavior. 1977 Added a few flags in 'cpoptions' to behave the POSIX way when wanted. The 1978 $VIM_POSIX environment variable is checked to set the default. 1979 1980 Appending to a register didn't insert a line break like Vi. Added the '>' 1981 flag to 'cpoptions' for this. 1982 1983 Using "I" in a line with only blanks appended to the line. This is not Vi 1984 compatible. Added the 'H' flag in 'cpoptions' for this. 1985 1986 When joining multiple lines the cursor would be at the last joint, but Vi 1987 leaves it at the position where "J" would put it. Added the 'q' flag in 1988 'cpoptions' for this. 1989 1990 Autoindent didn't work for ":insert" and ":append". 1991 1992 Using ":append" in an empty buffer kept the dummy line. Now it's deleted to 1993 be Vi compatible. 1994 1995 When reading commands from a file and stdout goes to a terminal, would still 1996 request the xterm version. Vim can't read it, thus the output went to the 1997 shell and caused trouble there. 1998 1999 When redirecting to a register with an invalid name the redirection would 2000 still be done (after an error message). Now reset "redir_reg". (Yegappan 2001 Lakshmanan) 2002 2003 It was not possible to use a NL after a backslash in Ex mode. This is 2004 sometimes used to feed multiple lines to a shell command. 2005 2006 When 'cmdheight' is set to 2 in .vimrc and the GUI uses the number of lines 2007 from the terminal we actually get 3 lines for the cmdline in gvim. 2008 2009 When setting $HOME allocated memory would leak. 2010 2011 Win32: bold characters may sometimes write in another character cell. Use 2012 unicodepdy[] as for UTF-8. (Taro Muraoka) 2013 2014 ":w fname" didn't work for files with 'buftype' set to "nofile". 2015 2016 The method used to locate user commands for completion differed from when they 2017 are executed. Ambiguous command names were not completed properly. 2018 2019 Incremental search may cause a crash when there is a custom statusline that 2020 indirectly invokes ":normal". 2021 2022 Diff mode failed when $DIFF_OPTIONS was set in the environment. Unset it 2023 before invoking "diff". 2024 2025 Completion didn't work after ":argdo", ":windo" and ":bufdo". Also for ":set 2026 &l:opt" and ":set &g:opt". (Peter Winters) 2027 2028 When setting 'ttymouse' to "dec" in an xterm that supports the DEC mouse 2029 locator it doesn't work. Now switch off the mouse before selecting another 2030 mouse model. 2031 2032 When the CursorHold event is triggered and the commands peek for typed 2033 characters the typeahead buffer may be messed up, e.g., when a mouse-up event 2034 is received. Avoid invoking the autocommands from the function waiting for a 2035 character, let it put K_CURSORHOLD in the input buffer. 2036 2037 Removed the "COUNT" flag from ":argadd", to avoid ":argadd 1*" to be used like 2038 ":1argadd *". Same for ":argdelete" and ":argedit". 2039 2040 Avoid that $LANG is used for the menus when LC_MESSAGES is "en_US". 2041 2042 Added backslashes before dashes in the vim.1 manual page to make them appear 2043 as real dashes. (Pierre Habouzit) 2044 2045 Where "gq" left the cursor depended on the value of 'formatprg'. Now "gq" 2046 always leaves the cursor at the last line of the formatted text. 2047 2048 When editing a compressed file, such as "changelog.Debian.gz" file, filetype 2049 detection may try to check the contents of the file while it's still 2050 compressed. Skip setting 'filetype' for compressed files until they have been 2051 decompressed. Required for patterns that end in a "*". 2052 2053 Starting with an argument "+cmd" or "-S script" causes the cursor to be moved 2054 to the first line. That breaks a BufReadPost autocommand that uses g`". 2055 Don't move the cursor if it's somewhere past the first line. 2056 2057 "gg=G" while 'modifiable' is off was uninterruptible. 2058 2059 When 'encoding' is "sjis" inserting CTRL-V u d800 a few times causes a crash. 2060 Don't insert a DBCS character with a NUL second byte. 2061 2062 In Insert mode CTRL-O <Home> didn't move the cursor. Made "ins_at_eol" global 2063 and reset it in nv_home(). 2064 2065 Wildcard expansion failed: ":w /tmp/$$.`echo test`". Don't put quotes around 2066 spaces inside backticks. 2067 2068 After this sequence of commands: Y V p gv: the wrong line is selected. Now 2069 let "gv" select the text that was put, since the original text is deleted. 2070 This should be the most useful thing to do. 2071 2072 ":sleep 100u" sleeps for 100 seconds, not 100 usec as one might expect. Give 2073 an error message when the argument isn't recognized. 2074 2075 In gui_mch_draw_string() in gui_w32.c "unibuflen" wasn't static, resulting in 2076 reallocating the buffer every time. (Alexei Alexandrov) 2077 2078 When using a Python "atexit" function it was not invoked when Vim exits. Now 2079 call Py_Finalize() for that. (Ugo Di Girolamo) 2080 This breaks the thread stuff though, fixed by Ugo. 2081 2082 GTK GUI: using a .vimrc with "set cmdheight=2 lines=43" and ":split" right 2083 after startup, the window layout is messed up. (Michael Schaap) Added 2084 win_new_shellsize() call in gui_init() to fix the topframe size. 2085 2086 Trick to get ...MOUSE_NM not used when there are vertical splits. Now pass 2087 column -1 for the left most window and add MOUSE_COLOFF for others. Limits 2088 mouse column to 10000. 2089 2090 searchpair() may hang when the end pattern has "\zs" at the end. Check that 2091 we find the same position again and advance one character. 2092 2093 When in diff mode and making a change that causes the "changed" highlighting 2094 to disappear or reappear, it was still highlighted in another window. 2095 2096 When a ":next" command fails because the user selects "Abort" at the ATTENTION 2097 prompt the argument index was advanced anyway. 2098 2099 When "~" is in 'iskeyword' the "gd" doesn't work, it's used for the previous 2100 substitute pattern. Put "\V" in the pattern to avoid that. 2101 2102 Use of sprintf() sometimes didn't check properly for buffer overflow. Also 2103 when using smsg(). Included code for snprintf() to avoid having to do size 2104 checks where invoking them 2105 2106 ":help \=<Tab>" didn't find "sub-replace-\=". Wild menu for help tags didn't 2107 show backslashes. ":he :s\=" didn't work. 2108 2109 When reading an errorfile "~/" in a file name was not expanded. 2110 2111 GTK GUI: When adding a scrollbar (e.g. when using ":vsplit") in a script or 2112 removing it the window size may change. GTK sends us resize events when we 2113 change the window size ourselves, but they may come at an unexpected moment. 2114 Peek for a character to get any window resize events and fix 'columns' and 2115 'lines' to undo this. 2116 2117 When using the GTK plug mechanism, resizing and focus was not working 2118 properly. (Neil Bird) 2119 2120 After deleting files from the argument list a session file generated with 2121 ":mksession" may contain invalid ":next" commands. 2122 2123 When 'shortmess' is empty and 'keymap' set to accents, in Insert mode CTRL-N 2124 may cause the hit-enter prompt. Typing 'a then didn't result in the accented 2125 character. Put the character typed at the prompt back in the typeahead buffer 2126 so that mapping is done in the right mode. 2127 2128 setbufvar() and setwinvar() did not give error messages. 2129 2130 It was possible to set a variable with an illegal name, e.g. with setbufvar(). 2131 It was possible to define a function with illegal name, e.t. ":func F{-1}()" 2132 2133 CTRL-W F and "gf" didn't use the same method to get the file name. 2134 2135 When reporting a conversion error the line number of the last error could be 2136 given. Now report the first encountered error. 2137 2138 When using ":e ++enc=name file" and iconv() was used for conversion an error 2139 caused a fall-back to no conversion. Now replace a character with '?' and 2140 continue. 2141 2142 When opening a new buffer the local value of 'bomb' was not initialized from 2143 the global value. 2144 2145 Win32: When using the "Edit with Vim" entry the file name was limited to about 2146 200 characters. 2147 2148 When using command line completion for ":e *foo" and the file "+foo" exists 2149 the resulting command ":e +foo" doesn't work. Now insert a backslash: ":e 2150 \+foo". 2151 2152 When the translation of "-- More --" was not 10 characters long the following 2153 message would be in the wrong position. 2154 2155 At the more-prompt the last character in the last line wasn't drawn. 2156 2157 When deleting non-existing text while 'virtualedit' is set the '[ and '] marks 2158 were not set. 2159 2160 Win32: Could not use "**/" in 'path', it had to be "**\". 2161 2162 The search pattern "\n" did not match at the end of the last line. 2163 2164 Searching for a pattern backwards, starting on the NUL at the end of the line 2165 and 'encoding' is "utf-8" would match the pattern just before it incorrectly. 2166 Affected searchpair('/\*', '', '\*/'). 2167 2168 For the Find/Replace dialog it was possible that not finding the text resulted 2169 in an error message while redrawing, which cleared the syntax highlighting 2170 while it was being used, resulting in a crash. Now don't clear syntax 2171 highlighting, disable it with b_syn_error. 2172 2173 Win32: Combining UTF-8 characters were drawn on the previous character. 2174 Could be noticed with a Thai font. 2175 2176 Output of ":function" could leave some of the typed text behind. (Yegappan 2177 Lakshmanan) 2178 2179 When the command line history has only a few lines the command line window 2180 would be opened with these lines above the first window line. 2181 2182 When using a command line window for search strings ":qa" would result in 2183 searching for "qa" instead of quitting all windows. 2184 2185 GUI: When scrolling with the scrollbar and there is a line that doesn't fit 2186 redrawing may fail. Make sure w_skipcol is valid before redrawing. 2187 2188 Limit the values of 'columns' and 'lines' to avoid an overflow in Rows * 2189 Columns. Fixed bad effects when running out of memory (command line would be 2190 reversed, ":qa!" resulted in ":!aq"). 2191 2192 Motif: "gvim -iconic" opened the window anyway. (David Harrison) 2193 2194 There is a tiny chance that a symlink gets created between checking for an 2195 existing file and creating a file. Use the O_NOFOLLOW for open() if it's 2196 available. 2197 2198 In an empty line "ix<CTRL-O>0" moved the cursor to after the line instead of 2199 sticking to the first column. 2200 2201 When using ":wq" and a BufWriteCmd autocmd uses inputsecret() the text was 2202 echoed anyway. Set terminal to raw mode in getcmdline(). 2203 2204 Unix: ":w a;b~c" caused an error in expanding wildcards. 2205 2206 When appending to a file with ":w >>fname" in a buffer without a name, causing 2207 the buffer to use "fname", the modified flag was reset. 2208 2209 When appending to the current file the "not edited" flag would be reset. 2210 ":w" would overwrite the file accidentally. 2211 2212 Unix: When filtering text with an external command Vim would still read input, 2213 causing text typed for the command (e.g., a password) to be eaten and echoed. 2214 Don't read input when the terminal is in cooked mode. 2215 2216 The Cygwin version of xxd used CR/LF line separators. (Corinna Vinschen) 2217 2218 Unix: When filtering text through a shell command some resulting text may be 2219 dropped. Now after detecting that the child has exited try reading some more 2220 of its output. 2221 2222 When inside input(), using "CTRL-R =" and the expression throws an exception 2223 the command line was not abandoned but it wasn't used either. Now abandon 2224 typing the command line. 2225 2226 'delcombine' was also used in Visual and Select mode and for commands like 2227 "cl". That was illogical and has been disabled. 2228 2229 When recording while a CursorHold autocommand was defined special keys would 2230 appear in the register. Now the CursorHold event is not triggered while 2231 recording. 2232 2233 Unix: the src/configure script used ${srcdir-.}, not all shells understand 2234 that. Use ${srcdir:-.} instead. 2235 2236 When editing file "a" which is a symlink to file "b" that doesn't exist, 2237 writing file "a" to create "b" and then ":split b" resulted in two buffers on 2238 the same file with two different swapfile names. Now set the inode in the 2239 buffer when creating a new file. 2240 2241 When 'esckeys' is not set don't send the xterm code to request the version 2242 string, because it may cause trouble in Insert mode. 2243 2244 When evaluating an expression for CTRL-R = on the command line it was possible 2245 to call a function that opens a new window, resulting in errors for 2246 incremental search, and many other nasty things were possible. Now use the 2247 |textlock| to disallow changing the buffer or jumping to another window 2248 to protect from unexpected behavior. Same for CTRL-\ e. 2249 2250 "d(" deleted the character under the cursor, while the documentation specified 2251 an exclusive motion. Vi also doesn't delete the character under the cursor. 2252 2253 Shift-Insert in Insert mode could put the cursor before the last character 2254 when it just fits in the window. In coladvance() don't stop at the window 2255 edge when filling with spaces and when in Insert mode. In mswin.vim avoid 2256 getting a beep from the "l" command. 2257 2258 Win32 GUI: When Alt-F4 is used to close the window and Cancel is selected in 2259 the dialog then Vim would insert <M-F4> in the text. Now it's ignored. 2260 2261 When ":silent! {cmd}" caused the swap file dialog, which isn't displayed, 2262 there would still be a hit-enter prompt. 2263 2264 Requesting the termresponse (|t_RV|) early may cause problems with "-c" 2265 arguments that invoke an external command or even "-c quit". Postpone it 2266 until after executing "-c" arguments. 2267 2268 When typing in Insert mode so that a new line is started, using CTRL-G u to 2269 break undo and start a new change, then joining the lines with <BS> caused 2270 undo info to be missing. Now reset the insertion start point. 2271 2272 Syntax HL: When a region start match has a matchgroup and an offset that 2273 happens to be after the end of the line then it continued in the next line and 2274 stopped at the region end match, making the region continue after that. 2275 Now check for the column being past the end of the line in syn_add_end_off(). 2276 2277 When changing a file, setting 'swapfile' off and then on again, making another 2278 change and killing Vim, then some blocks may be missing from the swapfile. 2279 When 'swapfile' is switched back on mark all blocks in the swapfile as dirty. 2280 Added mf_set_dirty(). 2281 2282 Expanding wildcards in a command like ":e aap;<>!" didn't work. Put 2283 backslashes before characters that are special to the shell. (Adri Verhoef) 2284 2285 A CursorHold autocommand would cause a message to be cleared. Don't show the 2286 special key for the event for 'showcmd'. 2287 2288 When expanding a file name for a shell command, as in "!cmd foo<Tab>" or ":r 2289 !cmd foo<Tab>" also escape characters that are special for the shell: 2290 "!;&()<>". 2291 2292 When the name of the buffer was set by a ":r fname" command |cpo-f| no 2293 autocommands were triggered to notify about the change in the buffer list. 2294 2295 In the quickfix buffer 'bufhidden' was set to "delete", which caused closing 2296 the quickfix window to leave an unlisted "No Name" buffer behind every time. 2297 2298 Win32: when using two screens of different size, setting 'lines' to a large 2299 value didn't fill the whole screen. (SungHyun Nam) 2300 2301 Win32 installer: The generated _vimrc contained an absolute path to diff.exe. 2302 After upgrading it becomes invalid. Now use $VIMRUNTIME instead. 2303 2304 The command line was cleared too often when 'showmode' was set and ":silent 2305 normal vy" was used. Don't clear the command line unless the mode was 2306 actually displayed. Added the "mode_displayed" variable. 2307 2308 The "load session" toolbar item could not handle a space or other special 2309 characters in v:this_session. 2310 2311 ":set sta ts=8 sw=4 sts=2" deleted 4 spaces halfway a line instead of 2. 2312 2313 In a multibyte file the foldmarker could be recognized in the trail byte. 2314 (Taro Muraoka) 2315 2316 Pasting with CTRL-V and menu didn't work properly when some commands are 2317 mapped. Use ":normal!" instead of ":normal". (Tony Apuzzo) 2318 2319 Crashed when expanding a file name argument in backticks. 2320 2321 In some situations the menu and scrollbar didn't work, when the value contains 2322 a CSI byte. (Yukihiro Nakadaira) 2323 2324 GTK GUI: When drawing the balloon focus changes and we might get a key release 2325 event that removed the balloon again. Ignore the key release event. 2326 2327 'titleold' was included in ":mkexrc" and ":mksession" files. 2328 2329 ":set background&" didn't use the same logic as was used when starting up. 2330 2331 When "umask" is set such that nothing is writable then the viminfo file would 2332 be written without write permission. (Julian Bridle) 2333 2334 Motif: In diff mode dragging one scrollbar didn't update the scrollbar of the 2335 other diff'ed window. 2336 2337 When editing in an xterm with a different number of colors than expected the 2338 screen would be cleared and redrawn, causing the message about the edited file 2339 to be cleared. Now set "keep_msg" to redraw the last message. 2340 2341 For a color terminal: When the Normal HL uses bold, possibly to make the color 2342 lighter, and another HL group specifies a color it might become light as well. 2343 Now reset bold if a HL group doesn't specify bold itself. 2344 2345 When using 256 color xterm the color 255 would show up as color 0. Use a 2346 short instead of a char to store the color number. 2347 2348 ml_get errors when searching for "\n\zs" in an empty file. 2349 2350 When selecting a block and using "$" to select until the end of every line and 2351 not highlighting the character under the cursor the first character of the 2352 block could be unhighlighted. 2353 2354 When counting words for the Visual block area and using "$" to select until 2355 the end of every line only up to the length of the last line was counted. 2356 2357 "dip" in trailing empty lines left one empty line behind. 2358 2359 The script ID was only remembered globally for each option. When a buffer- or 2360 window-local option was set the same "last set" location was changed for all 2361 buffers and windows. Now remember the script ID for each local option 2362 separately. 2363 2364 GUI: The "Replace All" button didn't handle backslashes in the replacement in 2365 the same way as "Replace". Escape backslashes so that they are taken 2366 literally. 2367 2368 When using Select mode from Insert mode and typing a key, causing lines to be 2369 deleted and a message displayed, delayed the effect of inserting the key. 2370 Now overwrite the message without delay. 2371 2372 When 'whichwrap' includes "l" then "dl" and "yl" on a single letter line 2373 worked differently. Now recognize all operators when using "l" at the end of 2374 a line. 2375 2376 GTK GUI: when the font selector returned a font name with a comma in it then 2377 it would be handled like two font names. Now put a backslash before the 2378 comma. 2379 2380 MS-DOS, Win32: When 'encoding' defaults to "latin1" then the value for 2381 'iskeyword' was still for CPxxx. And when 'nocompatible' was set 'isprint' 2382 would also be the wrong value. 2383 2384 When a command was defined not to take arguments and no '|' no warning message 2385 would be given for using a '|'. Also with ":loadkeymap". 2386 2387 Motif: When using a fontset and 'encoding' is "utf-8" and sizeof(wchar_t) != 2388 sizeof(XChar2b) then display was wrong. (Yukihiro Nakadaira) 2389 2390 ":all" always set the current window to the first window, even when it 2391 contains a buffer that is not in the argument list (can't be closed because it 2392 is modified). Now go to the window that has the first item of the argument 2393 list. 2394 2395 GUI: To avoid left-over pixels from bold text all characters after a character 2396 with special attributes were redrawn. Now only do this for characters that 2397 actually are bold. Speeds up displaying considerably. 2398 2399 When only highlighting changes and the text is scrolled at the same time 2400 everything is redrawn instead of using a scroll and updating the changed text. 2401 E.g., when using ":match" to highlight a paren that the cursor landed on. 2402 Added SOME_VALID: Redraw the whole window but also try to scroll to minimize 2403 redrawing. 2404 2405 Win32: When using Korean IME making it active didn't work properly. (Moon, 2406 Yu-sung, 2005 March 21) 2407 2408 Ruby interface: when inserting/deleting lines display wasn't updated. (Ryan 2409 Paul) 2410 2411 --- fixes since Vim 7.0b --- 2412 2413 Getting the GCC version in configure didn't work with Solaris sed. First 2414 strip any "darwin." and then get the version number. 2415 2416 The "autoload" directory was missing from the self-installing executable for 2417 MS-Windows. 2418 2419 The MS-Windows install program would find "vimtutor.bat" in the install 2420 directory. After changing to "c:" also change to "\" to avoid looking in the 2421 install directory. 2422 2423 To make the 16 bit DOS version compile exclude not used highlight 2424 initializations and build a tiny instead of small version. 2425 2426 finddir() and findfile() accept a negative count and return a List then. 2427 2428 The Python indent file contained a few debugging statements, removed. 2429 2430 Expanding {} for a function name, resulting in a name starting with "s:" was 2431 not handled correctly. 2432 2433 Spelling: renamed COMPOUNDMAX to COMPOUNDWORDMAX. Added several items to be 2434 able to handle the new Hungarian dictionary. 2435 2436 Mac: Default to building for the current platform only, that is much faster 2437 than building a universal binary. Also, using Perl/Python/etc. only works for 2438 the current platform. 2439 2440 The time on undo messages disappeared for someone. Using %T for strftime() 2441 apparently doesn't work everywhere. Use %H:%M:%S instead. 2442 2443 Typing BS at the "z=" prompt removed the prompt. 2444 2445 --- fixes and changes since Vim 7.0c --- 2446 2447 When jumping to another tab page the Vim window size was always set, even when 2448 nothing in the layout changed. 2449 2450 Win32 GUI tab pages line wasn't always enabled. Do a proper check for the 2451 compiler version. 2452 2453 Win32: When switching between tab pages the Vim window was moved when part of 2454 it was outside of the screen. Now only do that in the direction of a size 2455 change. 2456 2457 Win32: added menu to GUI tab pages line. (Yegappan Lakshmanan) 2458 2459 Mac: Added document icons. (Benji Fisher) 2460 2461 Insert mode completion: Using Enter to accept the current match causes 2462 confusion. Use CTRL-Y instead. Also, use CTRL-E to go back to the typed 2463 text. 2464 2465 GUI: When there are left and right scrollbars, ":tabedit" kept them instead of 2466 using the one that isn't needed. 2467 2468 Using "gP" to replace al the text could leave the cursor below the last line, 2469 causing ml_get errors. 2470 2471 When 'cursorline' is set don't use the highlighting when Visual mode is 2472 active, otherwise it's difficult to see the selected area. 2473 2474 The matchparen plugin restricts the search to 100 lines, to avoid a long delay 2475 when there are closed folds. 2476 2477 Sometimes using CTRL-X s to list spelling suggestions used text from another 2478 line. 2479 2480 Win32: Set the default for 'isprint' back to the wrong default "@,~-255", 2481 because many people use Windows-1252 while 'encoding' is "latin1". 2482 2483 GTK: Added a workaround for gvim crashing when used over an untrusted ssh 2484 link, caused by GTK doing something nasty. (Ed Catmur) 2485 2486 Win32: The font used for the tab page labels is too big. Use the system menu 2487 font. (George Reilly) 2488 2489 Win32: Adjusting the window position and size to keep it on the screen didn't 2490 work properly when the taskbar is on the left or top of the screen. 2491 2492 The installman.sh and installml.sh scripts use ${10}, that didn't work with 2493 old shells. And use "test -f" instead of "test -e". 2494 2495 Win32: When 'encoding' was set in the vimrc then a directory argument for diff 2496 mode didn't work. 2497 2498 GUI: at the inputlist() prompt the cursorshape was adjusted as if the windows 2499 were still at their old position. 2500 2501 The parenmatch plugin didn't remember the highlighting per window. 2502 2503 Using ":bd" for a buffer that's the current window in another tab page caused 2504 a crash. 2505 2506 For a new tab page the 'scroll' option wasn't set to a good default. 2507 2508 Using an end offset for a search "/pat/e" didn't work properly for multibyte 2509 text. (Yukihiro Nakadaira) 2510 2511 ":s/\n/,/" doubled the text when used on the last line. 2512 2513 When "search" is in 'foldopen' "[s" and "]s" now open folds. 2514 2515 When using a numbered function "dict" can be omitted, but "self" didn't work 2516 then. Always add FC_DICT to the function flags when it's part of a 2517 dictionary. 2518 2519 When "--remote-tab" executes locally it left an empty tab page. 2520 2521 "gvim -u NONE", ":set cursorcolumn", "C" in the second line didn't update 2522 text. Do update further lines even though the "$" is displayed. 2523 2524 VMS: Support GTK better, also enable +clientserver. (Zoltan Arpadffy) 2525 2526 When highlighting of statusline or tabline is changed there was no redraw to 2527 show the effect. 2528 2529 Mac: Added "CFBundleIdentifier" to infplist.xml. 2530 2531 Added tabpage-local variables t:var. 2532 2533 Win32: Added double-click in tab pages line creates new tab. (Yegappan 2534 Lakshmanan) 2535 2536 Motif: Added GUI tab pages line. (Yegappan Lakshmanan) 2537 2538 Fixed crash when 'lines' was set to 1000 in a modeline. 2539 2540 When init_spellfile() finds a writable directory in 'runtimepath' but it 2541 doesn't contain a "spell" directory, create one. 2542 2543 Win32: executable() also finds "xxd" in the directory where Vim was started, 2544 but "!xxd" doesn't work. Append the Vim starting directory to $PATH. 2545 2546 The tab page labels are shortened, directory names are reduced to a single 2547 letter by default. Added the pathshorten() function to allow a user to do the 2548 same. 2549 2550 ":saveas" now resets 'readonly' if the file was successfully written. 2551 2552 Set $MYVIMRC file to the first found .vimrc file. 2553 Set $MYGVIMRC file to the first found .gvimrc file. 2554 Added menu item "Startup Settings" that edits the $MYVIMRC file 2555 2556 Added matcharg(). 2557 2558 Error message E745 appeared twice. Renamed one to E786. 2559 2560 Fixed crash when using "au BufRead * Sexplore" and doing ":help". Was wiping 2561 out a buffer that's still in a window. 2562 2563 ":hardcopy" resulted in an error message when 'encoding' is "utf-8" and 2564 'printencoding' is empty. Now it assumes latin1. (Mike Williams) 2565 2566 The check for the toolbar feature for Motif, depending on certain included 2567 files, wasn't detailed enough, causing building to fail in gui_xmebw.c. 2568 2569 Using CTRL-E in Insert mode completion after CTRL-P inserted the first match 2570 instead of the original text. 2571 2572 When displaying a UTF-8 character with a zero lower byte Vim might think the 2573 previous character is double-wide. 2574 2575 The "nbsp" item of 'listchars' didn't work when 'encoding' was utf-8. 2576 2577 Motif: when Xm/xpm.h is missing gui_xmebw.c would not compile. 2578 HAVE_XM_UNHIGHLIGHTT_H was missing a T. 2579 2580 Mac: Moved the .icns files into src/os_mac_rsrc, so that they can all be 2581 copied at once. Adjusted the Info.plist file for three icons. 2582 2583 When Visual mode is active while switching to another tabpage could get ml_get 2584 errors. 2585 2586 When 'list' is set, 'nowrap' the $ in the first column caused 'cursorcolumn' 2587 to move to the right. 2588 2589 When a line wraps, 'cursorcolumn' was never displayed past the end of the 2590 line. 2591 2592 'autochdir' was only available when compiled with NetBeans and GUI. Now it's 2593 a separate feature, also available in the "big" version. 2594 2595 Added CTRL-W gf: open file under cursor in new tab page. 2596 2597 When using the menu in the tab pages line, "New Tab" opens the new tab before 2598 where the click was. Beyond the labels the new tab appears at the end instead 2599 of after the current tab page. 2600 2601 Inside a mapping with an expression getchar() could not be used. 2602 2603 When vgetc is used recursively vgetc_busy protects it from being used 2604 recursively. But after a ":normal" command the protection was reset. 2605 2606 ":s/a/b/n" didn't work when 'modifiable' was off. 2607 2608 When $VIMRUNTIME includes a multibyte character then rgb.txt could not be 2609 found. (Yukihiro Nakadaira) 2610 2611 ":mkspell" didn't work correctly for non-ASCII affix flags when conversion is 2612 needed on the spell file. 2613 2614 glob('/dir/\$ABC/*') didn't work. 2615 2616 When using several tab pages and changing 'cmdheight' the display could become 2617 messed up. Now store the value of 'cmdheight' separately for each tab page. 2618 2619 The user of the Enter key while the popup menu is visible was still confusing. 2620 Now use Enter to select the match after using a cursor key. 2621 2622 Added "usetab" to 'switchbuf'. 2623 2624 2625 --- fixes and changes since Vim 7.0d --- 2626 2627 Added CTRL-W T: move a window to a new tab page. 2628 2629 Using CTRL-X s in Insert mode to complete spelling suggestions and using BS 2630 deleted characters before the bad word. 2631 2632 A few small fixes for the VMS makefile. (Zoltan Arpadffy) 2633 2634 With a window of 91 lines 45 cols, ":vsp" scrolled the window. Copy w_wrow 2635 when splitting a window and skip setting the height when it's already at the 2636 right value. 2637 2638 Using <silent> in a mapping with a shell command and the GUI caused redraw 2639 to use wrong attributes. 2640 2641 Win32: Using MSVC 4.1 for install.exe resulted in the start menu items to be 2642 created in the administrator directory instead of "All Users". Define the 2643 CSIDL_ items if they are missing. 2644 2645 Motif: The GUI tabline did not use the space above the right scrollbar. Work 2646 around a bug in the Motif library. (Yegappan Lakshmanan) 2647 2648 The extra files for XML Omni completion are now also installed. 2649 |xml-omni-datafile| 2650 2651 GTK GUI: when 'm' is missing from 'guioptions' during startup and pressing 2652 <F10> GTK produced error messages. Now do create the menu but disable it just 2653 after the first gui_mch_update(). 2654 2655 ":mkspell" doesn't work well with the Hungarian dictionary from the Hunspell 2656 project. Back to the Myspell dictionary. 2657 2658 In help files hide the | used around tags. 2659 2660 Renamed pycomplete to pythoncomplete. 2661 2662 Added "tabpages" to 'sessionoptions'. 2663 2664 When 'guitablabel' is set the effect wasn't visible right away. 2665 2666 Fixed a few 'cindent' errors. 2667 2668 When completing menu names, e.g., after ":emenu", don't sort the entries but 2669 keep them in the original order. 2670 2671 Fixed a crash when editing a directory in diff mode. Don't trigger 2672 autocommands when executing the diff command. 2673 2674 Getting a keystroke could get stuck if 'encoding' is a multibyte encoding and 2675 typing a special key. 2676 2677 When 'foldignore' is set the folds were not updated right away. 2678 2679 When a list is indexed with [a : b] and b was greater than the length an error 2680 message was given. Now silently truncate the result. 2681 2682 When using BS during Insert mode completion go back to the original text, so 2683 that CTRL-N selects the first matching entry. 2684 2685 Added the 'M' flag to 'cinoptions'. 2686 2687 Win32: Make the "gvim --help" window appear in the middle of the screen 2688 instead of at an arbitrary position. (Randall W. Morris) 2689 2690 Added gettabwinvar() and settabwinvar(). 2691 2692 Command line completion: pressing <Tab> after ":e /usr/*" expands the whole 2693 tree, because it becomes ":e /usr/**". Don't add a star if there already is 2694 one. 2695 2696 Added grey10 to grey90 to all GUIs, so that they can all be used for 2697 initializing highlighting. Use grey40 for CursorColumn and CursorLine when 2698 'background' is "dark". 2699 2700 When reading a file and using iconv for conversion, an incomplete byte 2701 sequence at the end caused problems. (Yukihiro Nakadaira) 2702 2703 2704 --- fixes and changes since Vim 7.0e --- 2705 2706 Default color for MatchParen when 'background' is "dark" is now DarkCyan. 2707 2708 ":syn off" had to be used twice in a file that sets 'syntax' in a modeline. 2709 (Michael Geddes) 2710 2711 When using ":vsp" or ":sp" the available space wasn't used equally between 2712 windows. (Servatius Brandt) 2713 2714 Expanding <cWORD> on a trailing blank resulted in the first word in the line 2715 if 'encoding' is a multibyte encoding. 2716 2717 Spell checking: spellbadword() didn't see a missing capital in the first word 2718 of a line. Popup menu now only suggest the capitalized word when appropriate. 2719 2720 When using whole line completion CTRL-L moves through the matches but it 2721 didn't work when at the original text. 2722 2723 When completion finds the longest match, don't go to the first match but stick 2724 at the original text, so that CTRL-N selects the first one. 2725 2726 Recognize "zsh-beta" like "zsh" for setting the 'shellpipe' default. (James 2727 Vega) 2728 2729 When using ":map <expr>" and the expression results in something with a 2730 special byte (NUL or CSI) then it didn't work properly. Now escape special 2731 bytes. 2732 2733 The default Visual highlighting for a color xterm with 8 colors was a magenta 2734 background, which made magenta text disappear. Now use reverse in this 2735 specific situation. 2736 2737 After completing the longest match "." didn't insert the same text. Repeating 2738 also didn't work correctly for multibyte text. 2739 2740 When using Insert mode completion and BS the whole word that was completed 2741 would result in all possible matches. Now stop completion. Also fixes that 2742 for spell completion the previous word was deleted. 2743 2744 GTK: When 'encoding' is "latin1" and using non-ASCII characters in a file name 2745 the tab page label was wrong and an error message would be given. 2746 2747 The taglist() function could hang on a tags line with a non-ASCII character. 2748 2749 Win32: When 'encoding' differs from the system encoding tab page labels with 2750 non-ASCII characters looked wrong. (Yegappan Lakshmanan) 2751 2752 Motif: building failed when Xm/Notebook.h doesn't exist. Added a configure 2753 check, disable GUI tabline when it's missing. 2754 2755 Mac: When compiled without multibyte feature the clipboard didn't work. 2756 2757 It was possible to switch to another tab page when the cmdline window is open. 2758 2759 Completion could hang when 'lines' is 6 and a preview window was opened. 2760 2761 Added CTRL-W gF: open file under cursor in new tab page and jump to the line 2762 number following the file name. 2763 Added 'guitabtooltip'. Implemented for Win32 (Yegappan Lakshmanan). 2764 2765 Added "throw" to 'debug' option: throw an exception for error messages even 2766 when they would otherwise be ignored. 2767 2768 When 'keymap' is set and a line contains an invalid entry could get a "No 2769 mapping found" warning instead of a proper error message. 2770 2771 Motif: default to using XpmAttributes instead of XpmAttributes_21. 2772 2773 A few more changes for 64 bit MS-Windows. (George Reilly) 2774 2775 Got ml_get errors when doing "o" and selecting in other window where there are 2776 less lines shorter than the cursor position in the other window. ins_mouse() 2777 was using position in wrong window. 2778 2779 Win32 GUI: Crash when giving a lot of messages during startup. Allocate twice 2780 as much memory for the dialog template. 2781 2782 Fixed a few leaks and wrong pointer use reported by coverity. 2783 2784 When showing menus the mode character was sometimes wrong. 2785 2786 Added feedkeys(). (Yakov Lerner) 2787 2788 Made matchlist() always return all submatches. 2789 2790 Moved triggering QuickFixCmdPost to before jumping to the first location. 2791 2792 Mac: Added the 'macatsui' option as a temporary work around for text drawing 2793 problems. 2794 2795 Line completion on "/**" gave error messages when scanning an unloaded buffer. 2796 2797 --- fixes and changes since Vim 7.0f --- 2798 2799 Win32: The height of the tab page labels is now adjusted to the font height. 2800 (Yegappan Lakshmanan) 2801 2802 Win32: selecting the tab label was off by one. (Yegappan Lakshmanan) 2803 2804 Added tooltips for Motif and GTK tab page labels. (Yegappan Lakshmanan) 2805 2806 When 'encoding' is "utf-8" then ":help spell" would report an illegal byte and 2807 the file was not converted from latin1 to utf-8. Now retry with latin1 if 2808 reading the file as utf-8 results in illegal bytes. 2809 2810 Escape the argument of feedkeys() before putting it in the typeahead buffer. 2811 (Yukihiro Nakadaira) 2812 2813 Added the v:char variable for evaluating 'formatexpr'. (Yukihiro Nakadaira) 2814 2815 With 8 colors Search highlighting combined with Statement highlighted text 2816 made the text disappear. 2817 2818 VMS: avoid warnings for redefining MAX and MIN. (Zoltan Arpadffy) 2819 2820 When 'virtualedit' includes "onemore", stopping Visual selection would still 2821 move the cursor left. 2822 2823 Prevent that using CTRL-R = in Insert mode can start Visual mode. 2824 2825 Fixed a crash that occurred when in Insert mode with completion active and a 2826 mapping caused edit() to be called recursively. 2827 2828 When using CTRL-O in Insert mode just after the last character while 2829 'virtualedit' is "all", then typing CR moved the last character to the next 2830 line. Call coladvance() before starting the new line. 2831 2832 When using |:shell| ignore clicks on the tab page labels. Also when using the 2833 command line window. 2834 2835 When 'eventignore' is "all" then adding more to ignoring some events, e.g., 2836 for ":vimgrep", would actually trigger more events. 2837 2838 Win32: When a running Vim uses server name GVIM1 then "gvim --remote fname" 2839 didn't find it. When looking for a server name that doesn't end in a digit 2840 and it is not found then use another server with that name and a number (just 2841 like on Unix). 2842 2843 When using "double" in 'spellsuggest' when the language doesn't support sound 2844 folding resulted in too many suggestions. 2845 2846 Win32: Dropping a shortcut on the Vim icon didn't edit the referred file like 2847 editing it in another way would. Use fname_expand() in buf_set_name() instead 2848 of simply make the file name a full path. 2849 2850 Using feedkeys() could cause Vim to hang. 2851 2852 When closing another tab page from the tabline menu in Insert mode the tabline 2853 was not updated right away. 2854 2855 The syntax menu didn't work in compatible mode. 2856 2857 After using ":tag id" twice with the same "id", ":ts" and then ":pop" a ":ts" 2858 reported no matching tag. Clear the cached tag name. 2859 2860 In Insert mode the matchparen plugin highlighted the wrong paren when there is 2861 a string just next to a paren. 2862 2863 GTK: After opening a new tab page the text was sometimes not drawn correctly. 2864 Flush output and catch up with events when updating the tab page labels. 2865 2866 In the GUI, using CTRL-W q to close the last window of a tab page could cause 2867 a crash. 2868 2869 GTK: The tab pages line menu was not converted from 'encoding' to utf-8. 2870 2871 Typing a multibyte character or a special key at the hit-enter prompt did not 2872 work. 2873 2874 When 'virtualedit' contains "onemore" CTRL-O in Insert mode still moved the 2875 cursor left when it was after the end of the line, even though it's allowed to 2876 be there. 2877 2878 Added test for using tab pages. 2879 2880 towupper() and towlower() were not used, because of checking for 2881 __STDC__ISO_10646__ instead of __STDC_ISO_10646__. (sertacyildiz) 2882 2883 For ":map <expr>" forbid changing the text, jumping to another buffer and 2884 using ":normal" to avoid nasty side effects. 2885 2886 --- fixes and changes since Vim 7.0g --- 2887 2888 Compilation error on HP-UX, use of "dlerr" must be inside a #ifdef. 2889 (Gary Johnson) 2890 2891 Report +reltime feature in ":version" output. 2892 2893 The tar and zip plugins detect failure to get the contents of the archive and 2894 edit the file as-is. 2895 2896 When the result of 'guitablabel' is empty fall back to the default label. 2897 2898 Fixed crash when using ":insert" in a while loop and missing "endwhile". 2899 2900 "gt" and other commands could move to another window when |textlock| active 2901 and when the command line window was open. 2902 2903 Spell checking a file with syntax highlighting and a bad word at the end of 2904 the line is ignored could make "]s" hang. 2905 2906 Mac: inputdialog() didn't work when compiled with big features. 2907 2908 Interrupting ":vimgrep" while it is busy loading a file left a modified and 2909 hidden buffer behind. Use enter_cleanup() and leave_cleanup() around 2910 wipe_buffer(). 2911 2912 When making 'keymap' empty the b:keymap_name variable wasn't deleted. 2913 2914 Using CTRL-N that searches a long time, pressing space to interrupt the 2915 searching and accept the first match, the popup menu was still displayed 2916 briefly. 2917 2918 When setting the Vim window height with -geometry the 'window' option could be 2919 at a value that makes CTRL-F behave differently. 2920 2921 When opening a quickfix window in two tabs they used different buffers, 2922 causing redrawing problems later. Now use the same buffer for all quickfix 2923 windows. (Yegappan Lakshmanan) 2924 2925 When 'mousefocus' is set moving the mouse to the text tab pages line would 2926 move focus to the first window. Also, the mouse pointer would jump to the 2927 active window. 2928 2929 In a session file, when an empty buffer is wiped out, do this silently. 2930 2931 When one window has the cursor on the last line and another window is resized 2932 to make that window smaller, the cursor line could go below the displayed 2933 lines. In win_new_height() subtract one from the available space. 2934 Also avoid that using "~" lines makes the window scroll down. 2935 2936 Mac: When sourcing the "macmap.vim" script and then finding a .vimrc file the 2937 'cpo' option isn't set properly, because it was already set and restored. 2938 Added the <special> argument to ":map", so that 'cpo' doesn't need to be 2939 changed to be able to use <> notation. Also do this for ":menu" for 2940 consistency. 2941 2942 When using "/encoding=abc" in a spell word list, only "bc" was used. 2943 2944 When 'encoding' and 'printencoding' were both "utf-8" then ":hardcopy" didn't 2945 work. (Mike Williams) 2946 2947 Mac: When building with "--disable-gui" the install directory would still be 2948 "/Applications" and Vim.app would be installed. Now install in /usr/local as 2949 usual for a console application. 2950 2951 GUI: when doing completion and there is one match and still searching for 2952 another, the cursor was displayed at the end of the line instead of after the 2953 match. Now show the cursor after the match while still searching for matches. 2954 2955 GUI: The mouse shape changed on the statusline even when 'mouse' was empty and 2956 they can't be dragged. 2957 2958 GTK2: Selecting a button in the confirm() dialog with Tab or cursor keys and 2959 hitting Enter didn't select that button. Removed GTK 1 specific code. (Neil 2960 Bird) 2961 2962 When evaluating 'balloonexpr' takes a long time it could be called 2963 recursively, which could cause a crash. 2964 2965 exists() could not be used to detect whether ":2match" is supported. Added a 2966 check for it specifically. 2967 2968 GTK1: Tab page labels didn't work. (Yegappan Lakshmanan) 2969 2970 Insert mode completion: When finding matches use 'ignorecase', but when adding 2971 matches to the list don't use it, so that all words with different case are 2972 added, "word", "Word" and "WORD". 2973 2974 When 'cursorline' and 'hlsearch' are set and the search pattern is "x\n" 2975 the rest of the line was highlighted as a match. 2976 2977 Cursor moved while evaluating 'balloonexpr' that invokes ":isearch" and 2978 redirects the output. Don't move the cursor to the command line if msg_silent 2979 is set. 2980 2981 exists() ignored text after a function name and option name, which could 2982 result in false positives. 2983 2984 exists() ignored characters after the recognized word, which can be wrong when 2985 using a name with non-keyword characters. Specifically, these calls no longer 2986 allow characters after the name: exists('*funcname') exists('*funcname(...') 2987 exists('&option') exists(':cmd') exists('g:name') exists('g:name[n]') 2988 exists('g:name.n') 2989 2990 Trigger the TabEnter autocommand only after entering the current window of the 2991 tab page, otherwise the commands are executed with an invalid current window. 2992 2993 Win32: When using two monitors and Vim is on the second monitor, changing the 2994 width of the Vim window could make it jump to the first monitor. 2995 2996 When scrolling back at the more prompt and the quitting a line of text would 2997 be left behind when 'cmdheight' is 2 or more. 2998 2999 Fixed a few things for Insert mode completion, especially when typing BS, 3000 CTRL-N or a printable character while still searching for matches. 3001 3002 3003 ============================================================================== 3004 VERSION 7.1 *version-7.1* *version7.1* 3005 3006 This section is about improvements made between version 7.0 and 7.1. 3007 3008 This is a bug-fix release, there are no fancy new features. 3009 3010 3011 Changed *changed-7.1* 3012 ------- 3013 3014 Added setting 'mouse' in vimrc_example.vim. 3015 3016 When building with MZscheme also look for include files in the "plt" 3017 subdirectory. That's where they are for FreeBSD. 3018 3019 The Ruby interface module is now called "Vim" instead of "VIM". But "VIM" is 3020 an alias, so it's backwards compatible. (Tim Pope) 3021 3022 3023 Added *added-7.1* 3024 ----- 3025 3026 New syntax files: 3027 /var/log/messages (Yakov Lerner) 3028 Autohotkey (Nikolai Weibull) 3029 AutoIt v3 (Jared Breland) 3030 Bazaar commit file "bzr". (Dmitry Vasiliev) 3031 Cdrdao TOC (Nikolai Weibull) 3032 Cmusrc (Nikolai Weibull) 3033 Conary recipe (rPath Inc) 3034 Framescript (Nikolai Weibull) 3035 FreeBasic (Mark Manning) 3036 Hamster (David Fishburn) 3037 IBasic (Mark Manning) 3038 Initng (Elan Ruusamae) 3039 Ldapconf (Nikolai Weibull) 3040 Litestep (Nikolai Weibull) 3041 Privoxy actions file (Doug Kearns) 3042 Streaming Descriptors "sd" (Puria Nafisi Azizi) 3043 3044 New tutor files: 3045 Czech (Lubos Turek) 3046 Hungarian (Arpad Horvath) 3047 Turkish (Serkan kkk) 3048 utf-8 version of Greek tutor. 3049 utf-8 version of Russian tutor. 3050 utf-8 version of Slowak tutor. 3051 3052 New filetype plugins: 3053 Bst (Tim Pope) 3054 Cobol (Tim Pope) 3055 Fvwm (Gautam Iyer) 3056 Hamster (David Fishburn) 3057 Django HTML template (Dave Hodder) 3058 3059 New indent files: 3060 Bst (Tim Pope) 3061 Cobol (Tim Pope) 3062 Hamster (David Fishburn) 3063 Django HTML template (Dave Hodder) 3064 Javascript 3065 JSP (David Fishburn) 3066 3067 New keymap files: 3068 Bulgarian (Boyko Bantchev) 3069 Mongolian (Natsagdorj Shagdar) 3070 Thaana (Ibrahim Fayaz) 3071 Vietnamese (Samuel Thibault) 3072 3073 Other new runtime files: 3074 Ada support files. (Neil Bird, Martin Krischik) 3075 Slovenian menu translations (Mojca Miklavec) 3076 Mono C# compiler plugin (Jarek Sobiecki) 3077 3078 3079 Fixed *fixed-7.1* 3080 ----- 3081 3082 Could not build the Win32s version. Added a few structure definitions in 3083 src/gui_w32.c 3084 3085 3086 Patch 7.0.001 3087 Problem: ":set spellsuggest+=10" does not work. (Suresh Govindachar) 3088 Solution: Add P_COMMA to the 'spellsuggest' flags. 3089 Files: src/option.c 3090 3091 Patch 7.0.002 3092 Problem: C omni completion has a problem with tags files with a path 3093 containing "#" or "%". 3094 Solution: Escape these characters. (Sebastian Baberowski) 3095 Files: runtime/autoload/ccomplete.vim 3096 3097 Patch 7.0.003 3098 Problem: GUI: clicking in the lower part of a label in the tab pages line 3099 while 'mousefocus' is set may warp the mouse pointer. (Robert 3100 Webb) 3101 Solution: Check for a negative mouse position. 3102 Files: src/gui.c 3103 3104 Patch 7.0.004 3105 Problem: Compiler warning for debug_saved used before set. (Todd Blumer) 3106 Solution: Remove the "else" for calling save_dbg_stuff(). 3107 Files: src/ex_docmd.c 3108 3109 Patch 7.0.005 (extra) 3110 Problem: Win32: The installer doesn't remove the "autoload" and "spell" 3111 directories. (David Fishburn) 3112 Solution: Add the directories to the list to be removed. 3113 Files: nsis/gvim.nsi 3114 3115 Patch 7.0.006 3116 Problem: Mac: "make shadow" doesn't make a link for infplist.xml. (Axel 3117 Kielhorn) 3118 Solution: Make the link. 3119 Files: src/Makefile 3120 3121 Patch 7.0.007 3122 Problem: AIX: compiling fails for message.c. (Ruediger Hornig) 3123 Solution: Move the #if outside of memchr(). 3124 Files: src/message.c 3125 3126 Patch 7.0.008 3127 Problem: Can't call a function that uses both <SID> and {expr}. (Thomas) 3128 Solution: Check both the expanded and unexpanded name for <SID>. 3129 Files: src/eval.c 3130 3131 Patch 7.0.009 3132 Problem: ml_get errors with both 'sidescroll' and 'spell' set. 3133 Solution: Use ml_get_buf() instead of ml_get(), get the line from the right 3134 buffer, not the current one. 3135 Files: src/spell.c 3136 3137 Patch 7.0.010 3138 Problem: The spellfile plugin required typing login name and password. 3139 Solution: Use "anonymous" and "vim7user" by default. No need to setup a 3140 .netrc file. 3141 Files: runtime/autoload/spellfile.vim 3142 3143 Patch 7.0.011 3144 Problem: Can't compile without the folding and with the eval feature. 3145 Solution: Add an #ifdef. (Vallimar) 3146 Files: src/option.c 3147 3148 Patch 7.0.012 3149 Problem: Using the matchparen plugin, moving the cursor in Insert mode to a 3150 shorter line that ends in a brace, changes the preferred column 3151 Solution: Use winsaveview()/winrestview() instead of getpos()/setpos(). 3152 Files: runtime/plugin/matchparen.vim 3153 3154 Patch 7.0.013 3155 Problem: Insert mode completion: using CTRL-L to add an extra character 3156 also deselects the current match, making it impossible to use 3157 CTRL-L a second time. 3158 Solution: Keep the current match. Also make CTRL-L work at the original 3159 text, using the first displayed match. 3160 Files: src/edit.c 3161 3162 Patch 7.0.014 3163 Problem: Compiling gui_xmebw.c fails on Dec Alpha Tru64. (Rolfe) 3164 Solution: Disable some code for Motif 1.2 and older. 3165 Files: src/gui_xmebw.c 3166 3167 Patch 7.0.015 3168 Problem: Athena: compilation problems with modern compiler. 3169 Solution: Avoid type casts for lvalue. (Alexey Froloff) 3170 Files: src/gui_at_fs.c 3171 3172 Patch 7.0.016 3173 Problem: Printing doesn't work for "dec-mcs" encoding. 3174 Solution: Add "dec-mcs", "mac-roman" and "hp-roman8" to the list of 3175 recognized 8-bit encodings. (Mike Williams) 3176 Files: src/mbyte.c 3177 3178 Patch 7.0.017 (after 7.0.014) 3179 Problem: Linking gui_xmebw.c fails on Dec Alpha Tru64. (Rolfe) 3180 Solution: Adjust defines for Motif 1.2 and older. 3181 Files: src/gui_xmebw.c 3182 3183 Patch 7.0.018 3184 Problem: VMS: plugins are not loaded on startup. 3185 Solution: Remove "**" from the path. (Zoltan Arpadffy) 3186 Files: src/main.c 3187 3188 Patch 7.0.019 3189 Problem: Repeating "VjA789" may cause a crash. (James Vega) 3190 Solution: Check the cursor column after moving it to another line. 3191 Files: src/ops.c 3192 3193 Patch 7.0.020 3194 Problem: Crash when using 'mousefocus'. (William Fulton) 3195 Solution: Make buffer for mouse coordinates 2 bytes longer. (Juergen Weigert) 3196 Files: src/gui.c 3197 3198 Patch 7.0.021 3199 Problem: Crash when using "\\[" and "\\]" in 'errorformat'. (Marc Weber) 3200 Solution: Check for valid submatches after matching the pattern. 3201 Files: src/quickfix.c 3202 3203 Patch 7.0.022 3204 Problem: Using buffer.append() in Ruby may append the line to the wrong 3205 buffer. (Alex Norman) 3206 Solution: Properly switch to the buffer to do the appending. Also for 3207 buffer.delete() and setting a buffer line. 3208 Files: src/if_ruby.c 3209 3210 Patch 7.0.023 3211 Problem: Crash when doing spell completion in an empty line and pressing 3212 CTRL-E. 3213 Solution: Check for a zero pointer. (James Vega) 3214 Also handle a situation without a matching pattern better, report 3215 "No matches" instead of remaining in undefined CTRL-X mode. And 3216 get out of CTRL-X mode when typing a letter. 3217 Files: src/edit.c 3218 3219 Patch 7.0.024 3220 Problem: It is possible to set arbitrary "v:" variables. 3221 Solution: Disallow setting "v:" variables that are not predefined. 3222 Files: src/eval.c 3223 3224 Patch 7.0.025 3225 Problem: Crash when removing an element of a:000. (Nikolai Weibull) 3226 Solution: Mark the a:000 list with VAR_FIXED. 3227 Files: src/eval.c 3228 3229 Patch 7.0.026 3230 Problem: Using libcall() may show an old error. 3231 Solution: Invoke dlerror() to clear a previous error. (Yukihiro Nakadaira) 3232 Files: src/os_unix.c 3233 3234 Patch 7.0.027 (extra) 3235 Problem: Win32: When compiled with SNIFF gvim may hang on exit. 3236 Solution: Translate and dispatch the WM_USER message. (Mathias Michaelis) 3237 Files: src/gui_w48.c 3238 3239 Patch 7.0.028 (extra) 3240 Problem: OS/2: Vim doesn't compile with gcc 3.2.1. 3241 Solution: Add argument to after_pathsep(), don't define vim_handle_signal(), 3242 define HAVE_STDARG_H. (David Sanders) 3243 Files: src/os_unix.c, src/vim.h, src/os_os2_cfg.h 3244 3245 Patch 7.0.029 3246 Problem: getchar() may not position the cursor after a space. 3247 Solution: Position the cursor explicitly. 3248 Files: src/eval.c 3249 3250 Patch 7.0.030 3251 Problem: The ":compiler" command can't be used in a FileChangedRO event. 3252 (Hari Krishna Dara) 3253 Solution: Add the CMDWIN flag to the ":compiler" command. 3254 Files: src/ex_cmds.h 3255 3256 Patch 7.0.031 3257 Problem: When deleting a buffer the buffer-local mappings for Select mode 3258 remain. 3259 Solution: Add the Select mode bit to MAP_ALL_MODES. (Edwin Steiner) 3260 Files: src/vim.h 3261 3262 Patch 7.0.032 (extra, after 7.0.027) 3263 Problem: Missing semicolon. 3264 Solution: Add the semicolon. 3265 Files: src/gui_w48.c 3266 3267 Patch 7.0.033 3268 Problem: When pasting text, with the menu or CTRL-V, autoindent is removed. 3269 Solution: Use "x<BS>" to avoid indent to be removed. (Benji Fisher) 3270 Files: runtime/autoload/paste.vim 3271 3272 Patch 7.0.034 3273 Problem: After doing completion and typing more characters or using BS 3274 repeating with "." didn't work properly. (Martin Stubenschrott) 3275 Solution: Don't put BS and other characters in the redo buffer right away, 3276 do this when finishing completion. 3277 Files: src/edit.c 3278 3279 Patch 7.0.035 3280 Problem: Insert mode completion works when typed but not when replayed from 3281 a register. (Hari Krishna Dara) 3282 Also: Mappings for Insert mode completion don't always work. 3283 Solution: When finding a non-completion key in the input don't interrupt 3284 completion when it wasn't typed. 3285 Do use mappings when checking for typeahead while still finding 3286 completions. Avoids that completion is interrupted too soon. 3287 Use "compl_pending" in a different way. 3288 Files: src/edit.c 3289 3290 Patch 7.0.036 3291 Problem: Can't compile with small features and syntax highlighting or the 3292 diff feature. 3293 Solution: Define LINE_ATTR whenever syntax highlighting or the diff feature 3294 is enabled. 3295 Files: src/screen.c 3296 3297 Patch 7.0.037 3298 Problem: Crash when resizing the GUI window vertically when there is a line 3299 that doesn't fit. 3300 Solution: Don't redraw while the screen data is invalid. 3301 Files: src/screen.c 3302 3303 Patch 7.0.038 3304 Problem: When calling complete() from an Insert mode expression mapping 3305 text could be inserted in an improper way. 3306 Solution: Make undo_allowed() global and use it in complete(). 3307 Files: src/undo.c, src/proto/undo.pro, src/eval.c 3308 3309 Patch 7.0.039 3310 Problem: Calling inputdialog() with a third argument in the console doesn't 3311 work. 3312 Solution: Make a separate function for input() and inputdialog(). (Yegappan 3313 Lakshmanan) 3314 Files: src/eval.c 3315 3316 Patch 7.0.040 3317 Problem: When 'cmdheight' is larger than 1 using inputlist() or selecting 3318 a spell suggestion with the mouse gets the wrong entry. 3319 Solution: Start listing the first alternative on the last line of the screen. 3320 Files: src/eval.c, src/spell.c 3321 3322 Patch 7.0.041 3323 Problem: cursor([1, 1]) doesn't work. (Peter Hodge) 3324 Solution: Allow leaving out the third item of the list and use zero for the 3325 virtual column offset. 3326 Files: src/eval.c 3327 3328 Patch 7.0.042 3329 Problem: When pasting a block of text in Insert mode Vim hangs or crashes. 3330 (Noam Halevy) 3331 Solution: Avoid that the cursor is positioned past the NUL of a line. 3332 Files: src/ops.c 3333 3334 Patch 7.0.043 3335 Problem: Using "%!" at the start of 'statusline' doesn't work. 3336 Solution: Recognize the special item when the option is being set. 3337 Files: src/option.c 3338 3339 Patch 7.0.044 3340 Problem: Perl: setting a buffer line in another buffer may result in 3341 changing the current buffer. 3342 Solution: Properly change to the buffer to be changed. 3343 Files: src/if_perl.xs 3344 3345 Patch 7.0.045 (extra) 3346 Problem: Win32: Warnings when compiling OLE version with MSVC 2005. 3347 Solution: Move including vim.h to before windows.h. (Ilya Bobir) 3348 Files: src/if_ole.cpp 3349 3350 Patch 7.0.046 3351 Problem: The matchparen plugin ignores parens in strings, but not in single 3352 quotes, often marked with "character". 3353 Solution: Also ignore parens in syntax items matching "character". 3354 Files: runtime/plugin/matchparen.vim 3355 3356 Patch 7.0.047 3357 Problem: When running configure the exit status is wrong. 3358 Solution: Handle the exit status properly. (Matthew Woehlke) 3359 Files: configure, src/configure 3360 3361 Patch 7.0.048 3362 Problem: Writing a compressed file fails when there are parens in the name. 3363 (Wang Jian) 3364 Solution: Put quotes around the temp file name. 3365 Files: runtime/autoload/gzip.vim 3366 3367 Patch 7.0.049 3368 Problem: Some TCL scripts are not recognized. (Steven Atkinson) 3369 Solution: Check for "exec wish" in the file. 3370 Files: runtime/scripts.vim 3371 3372 Patch 7.0.050 3373 Problem: After using the netbeans interface close command a stale pointer 3374 may be used. 3375 Solution: Clear the pointer to the closed buffer. (Xavier de Gaye) 3376 Files: src/netbeans.c 3377 3378 Patch 7.0.051 (after 7.0.44) 3379 Problem: The Perl interface doesn't compile or doesn't work properly. 3380 Solution: Remove the spaces before #ifdef and avoid an empty line above it. 3381 Files: src/if_perl.xs 3382 3383 Patch 7.0.052 3384 Problem: The user may not be aware that the Vim server allows others more 3385 functionality than desired. 3386 Solution: When running Vim as root don't become a Vim server without an 3387 explicit --servername argument. 3388 Files: src/main.c 3389 3390 Patch 7.0.053 3391 Problem: Shortening a directory name may fail when there are multibyte 3392 characters. 3393 Solution: Copy the correct bytes. (Titov Anatoly) 3394 Files: src/misc1.c 3395 3396 Patch 7.0.054 3397 Problem: Mac: Using a menu name that only has a mnemonic or accelerator 3398 causes a crash. (Elliot Shank) 3399 Solution: Check for an empty menu name. Also delete empty submenus that 3400 were created before detecting the error. 3401 Files: src/menu.c 3402 3403 Patch 7.0.055 3404 Problem: ":startinsert" in a CmdwinEnter autocommand doesn't take immediate 3405 effect. (Bradley White) 3406 Solution: Put a NOP key in the typeahead buffer. Also avoid that using 3407 CTRL-C to go back to the command line moves the cursor left. 3408 Files: src/edit.c, src/ex_getln.c 3409 3410 Patch 7.0.056 3411 Problem: "#!something" gives an error message. 3412 Solution: Ignore this line, so that it can be used in an executable Vim 3413 script. 3414 Files: src/ex_docmd.c 3415 3416 Patch 7.0.057 (extra, after 7.0.45) 3417 Problem: Win32: Compilation problem with Borland C 5.5. 3418 Solution: Include vim.h as before. (Mark S. Williams) 3419 Files: src/if_ole.cpp 3420 3421 Patch 7.0.058 3422 Problem: The gbk and gb18030 encodings are not recognized. 3423 Solution: Add aliases to cp936. (Edward L. Fox) 3424 Files: src/mbyte.c 3425 3426 Patch 7.0.059 3427 Problem: The Perl interface doesn't compile with ActiveState Perl 5.8.8. 3428 Solution: Remove the __attribute__() items. (Liu Yubao) 3429 Files: src/if_perl.xs 3430 3431 Patch 7.0.060 (after 7.0.51) 3432 Problem: Code for temporarily switching to another buffer is duplicated in 3433 quite a few places. 3434 Solution: Use aucmd_prepbuf() and aucmd_restbuf() also when FEAT_AUTOCMD is 3435 not defined. 3436 Files: src/buffer.c, src/eval.c, src/fileio.c, src/if_ruby.c, 3437 src/if_perl.xs, src/quickfix.c, src/structs.h 3438 3439 Patch 7.0.061 3440 Problem: Insert mode completion for Vim commands may crash if there is 3441 nothing to complete. 3442 Solution: Instead of freeing the pattern make it empty, so that a "not 3443 found" error is given. (Yukihiro Nakadaira) 3444 Files: src/edit.c 3445 3446 Patch 7.0.062 3447 Problem: Mac: Crash when using the popup menu for spell correction. The 3448 popup menu appears twice when letting go of the right mouse button 3449 early. 3450 Solution: Don't show the popup menu on the release of the right mouse 3451 button. Also check that a menu pointer is actually valid. 3452 Files: src/proto/menu.pro, src/menu.c, src/normal.c, src/term.c 3453 3454 Patch 7.0.063 3455 Problem: Tiny chance for a memory leak. (coverity) 3456 Solution: Free pointer when next memory allocation fails. 3457 Files: src/eval.c 3458 3459 Patch 7.0.064 3460 Problem: Using uninitialized variable. (Tony Mechelynck) 3461 Solution: When not used set "temp" to zero. Also avoid a warning for 3462 "files" in ins_compl_dictionaries(). 3463 Files: src/edit.c 3464 3465 Patch 7.0.065 (extra) 3466 Problem: Mac: left-right movement of the scrollwheel causes up-down 3467 scrolling. 3468 Solution: Ignore mouse wheel events that are not up-down. (Nicolas Weber) 3469 Files: src/gui_mac.c 3470 3471 Patch 7.0.066 3472 Problem: After the popup menu for Insert mode completion overlaps the tab 3473 pages line it is not completely removed. 3474 Solution: Redraw the tab pages line after removing the popup menu. (Ori 3475 Avtalion) 3476 Files: src/popupmnu.c 3477 3478 Patch 7.0.067 3479 Problem: Undo doesn't always work properly when using "scim" input method. 3480 Undo is split up when using preediting. 3481 Solution: Reset xim_has_preediting also when preedit_start_col is not 3482 MAXCOL. Don't split undo when <Left> is used while preediting. 3483 (Yukihiro Nakadaira) 3484 Files: src/edit.c, src/mbyte.c 3485 3486 Patch 7.0.068 3487 Problem: When 'ignorecase' is set and using Insert mode completion, 3488 typing characters to change the list of matches, case is not 3489 ignored. (Hugo Ahlenius) 3490 Solution: Store the 'ignorecase' flag with the matches where needed. 3491 Files: src/edit.c, src/search.c, src/spell.c 3492 3493 Patch 7.0.069 3494 Problem: Setting 'guitablabel' to %!expand(\%) causes Vim to free an 3495 invalid pointer. (Kim Schulz) 3496 Solution: Don't try freeing a constant string pointer. 3497 Files: src/buffer.c 3498 3499 Patch 7.0.070 3500 Problem: Compiler warnings for shadowed variables and uninitialized 3501 variables. 3502 Solution: Rename variables such as "index", "msg" and "dup". Initialize 3503 variables. 3504 Files: src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c, 3505 src/ex_docmd.c, src/gui_beval.c, src/gui_gtk.c, src/gui_gtk_x11.c, 3506 src/hardcopy.c, src/if_cscope.c, src/main.c, src/mbyte.c, 3507 src/memline.c, src/netbeans.c, src/normal.c, src/option.c, 3508 src/os_unix.c, src/quickfix.c, src/regexp.c, src/screen.c, 3509 src/search.c, src/spell.c, src/ui.c, src/undo.c, src/window.c, 3510 src/version.c 3511 3512 Patch 7.0.071 3513 Problem: Using an empty search pattern may cause a crash. 3514 Solution: Avoid using a NULL pointer. 3515 Files: src/search.c 3516 3517 Patch 7.0.072 3518 Problem: When starting the GUI fails there is no way to adjust settings or 3519 do something else. 3520 Solution: Add the GUIFailed autocommand event. 3521 Files: src/fileio.c, src/gui.c, src/vim.h 3522 3523 Patch 7.0.073 3524 Problem: Insert mode completion: Typing <CR> sometimes selects the original 3525 text instead of keeping what was typed. (Justin Constantino) 3526 Solution: Don't let <CR> select the original text if there is no popup menu. 3527 Files: src/edit.c 3528 3529 Patch 7.0.074 (extra) 3530 Problem: Win32: tooltips were not converted from 'encoding' to Unicode. 3531 Solution: Set the tooltip to use Unicode and do the conversion. Also 3532 cleanup the code for the tab pages tooltips. (Yukihiro Nakadaira) 3533 Files: src/gui_w32.c, src/gui_w48.c 3534 3535 Patch 7.0.075 3536 Problem: winsaveview() did not store the actual value of the desired cursor 3537 column. This could move the cursor in the matchparen plugin. 3538 Solution: Call update_curswant() before using the value w_curswant. 3539 Files: src/eval.c 3540 3541 Patch 7.0.076 (after 7.0.010) 3542 Problem: Automatic downloading of spell files only works for ftp. 3543 Solution: Don't add login and password for non-ftp URLs. (Alexander Patrakov) 3544 Files: runtime/autoload/spellfile.vim 3545 3546 Patch 7.0.077 3547 Problem: ":unlet v:this_session" causes a crash. (Marius Roets) 3548 Solution: When trying to unlet a fixed variable give an error message. 3549 Files: src/eval.c 3550 3551 Patch 7.0.078 3552 Problem: There are two error messages E46. 3553 Solution: Change the number for the sandbox message to E794. 3554 Files: src/globals.h 3555 3556 Patch 7.0.079 3557 Problem: Russian tutor doesn't work when 'encoding' is "utf-8". 3558 Solution: Use tutor.ru.utf-8 as the master, and generate the other encodings 3559 from it. Select the right tutor depending on 'encoding'. (Alexey 3560 Froloff) 3561 Files: runtime/tutor/Makefile, runtime/tutor/tutor.vim, 3562 runtime/tutor/tutor.ru.utf-8 3563 3564 Patch 7.0.080 3565 Problem: Generating auto/pathdef.c fails for CFLAGS with a backslash. 3566 Solution: Double backslashes in the string. (Alexey Froloff) 3567 Files: src/Makefile 3568 3569 Patch 7.0.081 3570 Problem: Command line completion doesn't work for a shell command with an 3571 absolute path. 3572 Solution: Don't use $PATH when there is an absolute path. 3573 Files: src/ex_getln.c 3574 3575 Patch 7.0.082 3576 Problem: Calling a function that waits for input may cause List and 3577 Dictionary arguments to be freed by the garbage collector. 3578 Solution: Keep a list of all arguments to internal functions. 3579 Files: src/eval.c 3580 3581 Patch 7.0.083 3582 Problem: Clicking with the mouse on an item for inputlist() doesn't work 3583 when 'compatible' is set and/or when 'cmdheight' is more than one. 3584 (Christian J. Robinson) 3585 Solution: Also decrement "lines_left" when 'more' isn't set. Set 3586 "cmdline_row" to zero to get all mouse events. 3587 Files: src/message.c, src/misc1.c 3588 3589 Patch 7.0.084 3590 Problem: The garbage collector may do its work while some Lists or 3591 Dictionaries are used internally, e.g., by ":echo" that runs into 3592 the more-prompt or ":echo [garbagecollect()]". 3593 Solution: Only do garbage collection when waiting for a character at the 3594 toplevel. Let garbagecollect() set a flag that is handled at the 3595 toplevel before waiting for a character. 3596 Files: src/eval.c, src/getchar.c, src/globals.h, src/main.c 3597 3598 Patch 7.0.085 3599 Problem: When doing "make test" the viminfo file is modified. 3600 Solution: Use another viminfo file after setting 'compatible'. 3601 Files: src/testdir/test56.in 3602 3603 Patch 7.0.086 3604 Problem: getqflist() returns entries for pattern and text with the number 3605 zero. Passing these to setqflist() results in the string "0". 3606 Solution: Use an empty string instead of the number zero. 3607 Files: src/quickfix.c 3608 3609 Patch 7.0.087 3610 Problem: After ":file fname" and ":saveas fname" the 'autochdir' option 3611 does not take effect. (Yakov Lerner) 3612 Commands for handling 'autochdir' are repeated many times. 3613 Solution: Add the DO_AUTOCHDIR macro and do_autochdir(). Use it for 3614 ":file fname" and ":saveas fname". 3615 Files: src/proto/buffer.pro, src/buffer.c, src/ex_cmds.c, src/macros.h, 3616 src/netbeans.c, src/option.c, src/window.c 3617 3618 Patch 7.0.088 3619 Problem: When compiled with Perl the generated prototypes have "extern" 3620 unnecessarily added. 3621 Solution: Remove the "-pipe" argument from PERL_CFLAGS. 3622 Files: src/auto/configure, src/configure.in 3623 3624 Patch 7.0.089 3625 Problem: "ga" does not work properly for a non-Unicode multibyte encoding. 3626 Solution: Only check for composing chars for utf-8. (Taro Muraoka) 3627 Files: src/ex_cmds.c 3628 3629 Patch 7.0.090 3630 Problem: Cancelling the conform() dialog on the console with Esc requires 3631 typing it twice. (Benji Fisher) 3632 Solution: When the start of an escape sequence is found use 'timeoutlen' or 3633 'ttimeoutlen'. 3634 Files: src/misc1.c 3635 3636 Patch 7.0.091 3637 Problem: Using winrestview() while 'showcmd' is set causes the cursor to be 3638 displayed in the wrong position. (Yakov Lerner) 3639 Solution: Set the window topline properly. 3640 Files: src/eval.c 3641 3642 Patch 7.0.092 (after 7.0.082 and 7.0.084) 3643 Problem: The list of internal function arguments is obsolete now that 3644 garbage collection is only done at the toplevel. 3645 Solution: Remove the list of all arguments to internal functions. 3646 Files: src/eval.c 3647 3648 Patch 7.0.093 3649 Problem: The matchparen plugin can't handle a 'matchpairs' value where a 3650 colon is matched. 3651 Solution: Change the split() that is used to change 'matchpairs' into a 3652 List. 3653 Files: runtime/plugin/matchparen.vim 3654 3655 Patch 7.0.094 3656 Problem: When a hidden buffer is made the current buffer and another file 3657 edited later, the file message will still be given. Using 3658 ":silent" also doesn't prevent the file message. (Marvin Renich) 3659 Solution: Reset the need_fileinfo flag when reading a file. Don't set 3660 need_fileinfo when msg_silent is set. 3661 Files: src/buffer.c, src/fileio.c 3662 3663 Patch 7.0.095 3664 Problem: The Greek tutor is not available in utf-8. "el" is used for the 3665 language, only "gr" for the country is recognized. 3666 Solution: Add the utf-8 Greek tutor. Use it for conversion to iso-8859-7 3667 and cp737. (Lefteris Dimitroulakis) 3668 Files: runtime/tutor/Makefile, runtime/tutor/tutor.gr.utf-8, 3669 runtime/tutor/tutor.vim 3670 3671 Patch 7.0.096 3672 Problem: taglist() returns the filename relative to the tags file, while 3673 the directory of the tags file is unknown. (Hari Krishna Dara) 3674 Solution: Expand the file name. (Yegappan Lakshmanan) 3675 Files: src/tag.c 3676 3677 Patch 7.0.097 3678 Problem: ":tabclose N" that closes another tab page does not remove the tab 3679 pages line. Same problem when using the mouse. 3680 Solution: Adjust the tab pages line when needed in tabpage_close_other(). 3681 Files: src/ex_docmd.c 3682 3683 Patch 7.0.098 3684 Problem: Redirecting command output in a cmdline completion function 3685 doesn't work. (Hari Krishna Dara) 3686 Solution: Enable redirection when redirection is started. 3687 Files: src/ex_docmd.c, src/ex_getln.c 3688 3689 Patch 7.0.099 3690 Problem: GUI: When the popup menu is visible using the scrollbar messes up 3691 the display. 3692 Solution: Disallow scrolling the current window. Redraw the popup menu 3693 after scrolling another window. 3694 Files: src/gui.c 3695 3696 Patch 7.0.100 3697 Problem: "zug" may report the wrong filename. (Lawrence Kesteloot) 3698 Solution: Call home_replace() to fill NameBuff[]. 3699 Files: src/spell.c 3700 3701 Patch 7.0.101 3702 Problem: When the "~/.vim/spell" directory does not exist "zg" may create 3703 a wrong directory. "zw" doesn't work. 3704 Solution: Use the directory of the file name instead of NameBuff. For "zw" 3705 not only remove a good word but also add the word with "!". 3706 Files: src/spell.c 3707 3708 Patch 7.0.102 3709 Problem: Redrawing cmdline is not correct when using SCIM. 3710 Solution: Don't call im_get_status(). (Yukihiro Nakadaira) 3711 Files: src/ex_getln.c 3712 3713 Patch 7.0.103 (after 7.0.101) 3714 Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) 3715 Solution: Init variable. 3716 Files: src/spell.c 3717 3718 Patch 7.0.104 3719 Problem: The CursorHoldI event only triggers once in Insert mode. It also 3720 triggers after CTRL-V and other two-key commands. 3721 Solution: Set "did_cursorhold" before getting a second key. Reset 3722 "did_cursorhold" after handling a command. 3723 Files: src/edit.c, src/fileio.c 3724 3725 Patch 7.0.105 3726 Problem: When using incremental search the statusline ruler isn't updated. 3727 (Christoph Koegl) 3728 Solution: Update the statusline when it contains the ruler. 3729 Files: src/ex_getln.c 3730 3731 Patch 7.0.106 3732 Problem: The spell popup menu uses ":amenu", triggering mappings. Other 3733 PopupMenu autocommands are removed. (John Little) 3734 Solution: Use ":anoremenu" and use an autocmd group. 3735 Files: runtime/menu.vim 3736 3737 Patch 7.0.107 3738 Problem: Incremental search doesn't redraw the text tabline. (Ilya Bobir) 3739 Also happens in other situations with one window in a tab page. 3740 Solution: Redraw the tabline after clearing the screen. 3741 Files: src/screen.c 3742 3743 Patch 7.0.108 (extra) 3744 Problem: Amiga: Compilation problem. 3745 Solution: Have mch_mkdir() return a failure flag. (Willy Catteau) 3746 Files: src/os_amiga.c, src/proto/os_amiga.pro 3747 3748 Patch 7.0.109 3749 Problem: Lisp indenting is confused by escaped quotes in strings. (Dorai 3750 Sitaram) 3751 Solution: Check for backslash inside strings. (Sergey Khorev) 3752 Files: src/misc1.c 3753 3754 Patch 7.0.110 3755 Problem: Amiga: Compilation problems when not using libnix. 3756 Solution: Change a few #ifdefs. (Willy Catteau) 3757 Files: src/memfile.c 3758 3759 Patch 7.0.111 3760 Problem: The gzip plugin can't handle filenames with single quotes. 3761 Solution: Add and use the shellescape() function. (partly by Alexey Froloff) 3762 Files: runtime/autoload/gzip.vim, runtime/doc/eval.txt, src/eval.c, 3763 src/mbyte.c, src/misc2.c, src/proto/misc2.pro 3764 3765 Patch 7.0.112 3766 Problem: Python interface does not work with Python 2.5. 3767 Solution: Change PyMem_DEL() to Py_DECREF(). (Sumner Hayes) 3768 Files: src/if_python.c 3769 3770 Patch 7.0.113 3771 Problem: Using CTRL-L in Insert completion when there is no current match 3772 may cause a crash. (Yukihiro Nakadaira) 3773 Solution: Check for compl_leader to be NULL 3774 Files: src/edit.c 3775 3776 Patch 7.0.114 3777 Problem: When aborting an insert with CTRL-C an extra undo point is 3778 created in the GUI. (Yukihiro Nakadaira) 3779 Solution: Call gotchars() only when advancing. 3780 Files: src/getchar.c 3781 3782 Patch 7.0.115 3783 Problem: When 'ignorecase' is set, Insert mode completion only adds "foo" 3784 and not "Foo" when both are found. 3785 A found match isn't displayed right away when 'completeopt' does 3786 not have "menu" or "menuone". 3787 Solution: Do not ignore case when checking if a completion match already 3788 exists. call ins_compl_check_keys() also when not using a popup 3789 menu. (Yukihiro Nakadaira) 3790 Files: src/edit.c 3791 3792 Patch 7.0.116 3793 Problem: 64 bit Windows version reports "32 bit" in the ":version" output. 3794 (M. Veerman) 3795 Solution: Change the text for Win64. 3796 Files: src/version.c 3797 3798 Patch 7.0.117 3799 Problem: Using "extend" on a syntax item inside a region with "keepend", an 3800 intermediate item may be truncated. 3801 When applying the "keepend" and there is an offset to the end 3802 pattern the highlighting of a contained item isn't adjusted. 3803 Solution: Use the seen_keepend flag to remember when to apply the "keepend" 3804 flag. Adjust the keepend highlighting properly. (Ilya Bobir) 3805 Files: src/syntax.c 3806 3807 Patch 7.0.118 3808 Problem: printf() does not do zero padding for strings. 3809 Solution: Do allow zero padding for strings. 3810 Files: src/message.c 3811 3812 Patch 7.0.119 3813 Problem: When going back from Insert to Normal mode the CursorHold event 3814 doesn't trigger. (Yakov Lerner) 3815 Solution: Reset "did_cursorhold" when leaving Insert mode. 3816 Files: src/edit.c 3817 3818 Patch 7.0.120 3819 Problem: Crash when using CTRL-R = at the command line and entering 3820 "getreg('=')". (James Vega) 3821 Solution: Avoid recursiveness of evaluating the = register. 3822 Files: src/ops.c 3823 3824 Patch 7.0.121 3825 Problem: GUI: Dragging the last status line doesn't work when there is a 3826 text tabline. (Markus Wolf) 3827 Solution: Take the text tabline into account when deciding to start modeless 3828 selection. 3829 Files: src/gui.c 3830 3831 Patch 7.0.122 3832 Problem: GUI: When clearing after a bold, double-wide character half a 3833 character may be drawn. 3834 Solution: Check for double-wide character and redraw it. (Yukihiro Nakadaira) 3835 Files: src/screen.c 3836 3837 Patch 7.0.123 3838 Problem: On SCO Openserver configure selects the wrong terminal library. 3839 Solution: Put terminfo before the other libraries. (Roger Cornelius) 3840 Also fix a small problem compiling on Mac without Darwin. 3841 Files: src/configure.in, src/auto/configure 3842 3843 Patch 7.0.124 3844 Problem: getwinvar() obtains a dictionary with window-local variables, but 3845 it's always for the current window. 3846 Solution: Get the variables of the specified window. (Geoff Reedy) 3847 Files: src/eval.c 3848 3849 Patch 7.0.125 3850 Problem: When "autoselect" is in the 'clipboard' option then the '< and '> 3851 marks are set while Visual mode is still active. 3852 Solution: Don't set the '< and '> marks when yanking the selected area for 3853 the clipboard. 3854 Files: src/normal.c 3855 3856 Patch 7.0.126 3857 Problem: When 'formatexpr' uses setline() and later internal formatting is 3858 used undo information is not correct. (Jiri Cerny, Benji Fisher) 3859 Solution: Set ins_need_undo after using 'formatexpr'. 3860 Files: src/edit.c 3861 3862 Patch 7.0.127 3863 Problem: Crash when swap file has invalid timestamp. 3864 Solution: Check return value of ctime() for being NULL. 3865 Files: src/memline.c 3866 3867 Patch 7.0.128 3868 Problem: GUI: when closing gvim is cancelled because there is a changed 3869 buffer the screen isn't updated to show the changed buffer in the 3870 current window. (Krzysztof Kacprzak) 3871 Solution: Redraw when closing gvim is cancelled. 3872 Files: src/gui.c 3873 3874 Patch 7.0.129 3875 Problem: GTK GUI: the GTK file dialog can't handle a relative path. 3876 Solution: Make the initial directory a full path before passing it to GTK. 3877 (James Vega) Also postpone adding the default file name until 3878 after setting the directory. 3879 Files: src/gui_gtk.c 3880 3881 Patch 7.0.130 (extra) 3882 Problem: Win32: Trying to edit or write devices may cause Vim to get stuck. 3883 Solution: Add the 'opendevice' option, default off. Disallow 3884 reading/writing from/to devices when it's off. 3885 Also detect more devices by the full name starting with "\\.\". 3886 Files: runtime/doc/options.txt, src/fileio.c, src/option.c, src/option.h, 3887 src/os_win32.c 3888 3889 Patch 7.0.131 3890 Problem: Win32: "vim -r" does not list all the swap files. 3891 Solution: Also check for swap files starting with a dot. 3892 Files: src/memline.c 3893 3894 Patch 7.0.132 (after 7.0.130) 3895 Problem: Win32: Crash when Vim reads from stdin. 3896 Solution: Only use mch_nodetype() when there is a file name. 3897 Files: src/fileio.c 3898 3899 Patch 7.0.133 3900 Problem: When searching included files messages are added to the history. 3901 Solution: Set msg_hist_off for messages about scanning included files. 3902 Set msg_silent to avoid message about wrapping around. 3903 Files: src/edit.c, src/globals.h, src/message.c, src/search.c 3904 3905 Patch 7.0.134 3906 Problem: Crash when comparing a recursively looped List or Dictionary. 3907 Solution: Limit recursiveness for comparing to 1000. 3908 Files: src/eval.c 3909 3910 Patch 7.0.135 3911 Problem: Crash when garbage collecting list or dict with loop. 3912 Solution: Don't use DEL_REFCOUNT but don't recurse into Lists and 3913 Dictionaries when freeing them in the garbage collector. 3914 Also add allocated Dictionaries to the list of Dictionaries to 3915 avoid leaking memory. 3916 Files: src/eval.c, src/proto/eval.pro, src/tag.c 3917 3918 Patch 7.0.136 3919 Problem: Using "O" while matching parens are highlighted may not remove the 3920 highlighting. (Ilya Bobir) 3921 Solution: Also trigger CursorMoved when a line is inserted under the cursor. 3922 Files: src/misc1.c 3923 3924 Patch 7.0.137 3925 Problem: Configure check for big features is wrong. 3926 Solution: Change "==" to "=". (Martti Kuparinen) 3927 Files: src/auto/configure, src/configure.in 3928 3929 Patch 7.0.138 (extra) 3930 Problem: Mac: modifiers don't work with function keys. 3931 Solution: Use GetEventParameter() to obtain modifiers. (Nicolas Weber) 3932 Files: src/gui_mac.c 3933 3934 Patch 7.0.139 3935 Problem: Using CTRL-PageUp or CTRL-PageDown in Insert mode to go to another 3936 tab page does not prepare for undo properly. (Stefano Zacchiroli) 3937 Solution: Call start_arrow() before switching tab page. 3938 Files: src/edit.c 3939 3940 Patch 7.0.140 (after 7.0.134) 3941 Problem: Comparing recursively looped List or Dictionary doesn't work well. 3942 Solution: Detect comparing a List or Dictionary with itself. 3943 Files: src/eval.c 3944 3945 Patch 7.0.141 3946 Problem: When pasting a while line on the command line an extra CR is added 3947 literally. 3948 Solution: Don't add the trailing CR when pasting with the mouse. 3949 Files: src/ex_getln.c, src/proto/ops.pro, src/ops.c 3950 3951 Patch 7.0.142 3952 Problem: Using the middle mouse button in Select mode to paste text results 3953 in an extra "y". (Kriton Kyrimis) 3954 Solution: Let the middle mouse button replace the selected text with the 3955 contents of the clipboard. 3956 Files: src/normal.c 3957 3958 Patch 7.0.143 3959 Problem: Setting 'scroll' to its default value was not handled correctly. 3960 Solution: Compare the right field to PV_SCROLL. 3961 Files: src/option.c 3962 3963 Patch 7.0.144 3964 Problem: May compare two unrelated pointers when matching a pattern against 3965 a string. (Dominique Pelle) 3966 Solution: Avoid calling reg_getline() when REG_MULTI is false. 3967 Files: src/regexp.c 3968 3969 Patch 7.0.145 (after 7.0.142) 3970 Problem: Compiler warning. 3971 Solution: Add type cast. 3972 Files: src/normal.c 3973 3974 Patch 7.0.146 3975 Problem: When 'switchbuf' is set to "usetab" and the current tab has only a 3976 quickfix window, jumping to an error always opens a new window. 3977 Also, when the buffer is open in another tab page it's not found. 3978 Solution: Check for the "split" value of 'switchbuf' properly. Search in 3979 other tab pages for the desired buffer. (Yegappan Lakshmanan) 3980 Files: src/buffer.c, src/quickfix.c 3981 3982 Patch 7.0.147 3983 Problem: When creating a session file and there are several tab pages and 3984 some windows have a local directory a short file name may be used 3985 when it's not valid. (Marius Roets) 3986 A session with multiple tab pages may result in "No Name" buffers. 3987 (Bill McCarthy) 3988 Solution: Don't enter tab pages when going through the list, only use a 3989 pointer to the first window in each tab page. 3990 Use "tabedit" instead of "tabnew | edit" when possible. 3991 Files: src/ex_docmd.c 3992 3993 Patch 7.0.148 3994 Problem: When doing "call a.xyz()" and "xyz" does not exist in dictionary 3995 "a" there is no error message. (Yegappan Lakshmanan) 3996 Solution: Add the error message. 3997 Files: src/eval.c 3998 3999 Patch 7.0.149 4000 Problem: When resizing a window that shows "~" lines the text sometimes 4001 jumps down. 4002 Solution: Remove code that uses "~" lines in some situations. Fix the 4003 computation of the screen line of the cursor. Also set w_skipcol 4004 to handle very long lines. 4005 Files: src/misc1.c, src/window.c 4006 4007 Patch 7.0.150 4008 Problem: When resizing the Vim window scrollbinding doesn't work. (Yakov 4009 Lerner) 4010 Solution: Do scrollbinding in set_shellsize(). 4011 Files: src/term.c 4012 4013 Patch 7.0.151 4014 Problem: Buttons in file dialog are not according to Gnome guidelines. 4015 Solution: Swap Cancel and Open buttons. (Stefano Zacchiroli) 4016 Files: src/gui_gtk.c 4017 4018 Patch 7.0.152 4019 Problem: Crash when using lesstif 2. 4020 Solution: Fill in the extension field. (Ben Hutchings) 4021 Files: src/gui_xmebw.c 4022 4023 Patch 7.0.153 4024 Problem: When using cscope and opening the temp file fails Vim crashes. 4025 (Kaya Bekiroglu) 4026 Solution: Check for NULL pointer returned from mch_open(). 4027 Files: src/if_cscope.c 4028 4029 Patch 7.0.154 4030 Problem: When 'foldnestmax' is negative Vim can hang. (James Vega) 4031 Solution: Avoid the fold level becoming negative. 4032 Files: src/fold.c, src/syntax.c 4033 4034 Patch 7.0.155 4035 Problem: When getchar() returns a mouse button click there is no way to get 4036 the mouse coordinates. 4037 Solution: Add v:mouse_win, v:mouse_lnum and v:mouse_col. 4038 Files: runtime/doc/eval.txt, src/eval.c, src/vim.h 4039 4040 Patch 7.0.156 (extra) 4041 Problem: Vim doesn't compile for Amiga OS 4. 4042 Solution: Various changes for Amiga OS4. (Peter Bengtsson) 4043 Files: src/feature.h, src/mbyte.c, src/memfile.c, src/memline.c, 4044 src/os_amiga.c, src/os_amiga.h, src/pty.c 4045 4046 Patch 7.0.157 4047 Problem: When a function is used recursively the profiling information is 4048 invalid. (Mikolaj Machowski) 4049 Solution: Put the start time on the stack instead of in the function. 4050 Files: src/eval.c 4051 4052 Patch 7.0.158 4053 Problem: In a C file with ":set foldmethod=syntax", typing {<CR> on the 4054 last line results in the cursor being in a closed fold. (Gautam 4055 Iyer) 4056 Solution: Open fold after inserting a new line. 4057 Files: src/edit.c 4058 4059 Patch 7.0.159 4060 Problem: When there is an I/O error in the swap file the cause of the error 4061 cannot be seen. 4062 Solution: Use PERROR() instead of EMSG() where possible. 4063 Files: src/memfile.c 4064 4065 Patch 7.0.160 4066 Problem: ":@a" echoes the command, Vi doesn't do that. 4067 Solution: Set the silent flag in the typeahead buffer to avoid echoing the 4068 command. 4069 Files: src/ex_docmd.c, src/normal.c, src/ops.c, src/proto/ops.pro 4070 4071 Patch 7.0.161 4072 Problem: Win32: Tab pages line popup menu isn't using the right encoding. 4073 (Yongwei Wu) 4074 Solution: Convert the text when necessary. Also fixes the Find/Replace 4075 dialog title. (Yegappan Lakshmanan) 4076 Files: src/gui_w48.c 4077 4078 Patch 7.0.162 4079 Problem: "vim -o a b" when file "a" triggers the ATTENTION dialog, 4080 selecting "Quit" exits Vim instead of editing "b" only. 4081 When file "b" triggers the ATTENTION dialog selecting "Quit" or 4082 "Abort" results in editing file "a" in that window. 4083 Solution: When selecting "Abort" exit Vim. When selecting "Quit" close the 4084 window. Also avoid hit-enter prompt when selecting Abort. 4085 Files: src/buffer.c, src/main.c 4086 4087 Patch 7.0.163 4088 Problem: Can't retrieve the position of a sign after it was set. 4089 Solution: Add the netbeans interface getAnno command. (Xavier de Gaye) 4090 Files: runtime/doc/netbeans.txt, src/netbeans.c 4091 4092 Patch 7.0.164 4093 Problem: ":redir @+" doesn't work. 4094 Solution: Accept "@+" just like "@*". (Yegappan Lakshmanan) 4095 Files: src/ex_docmd.c 4096 4097 Patch 7.0.165 4098 Problem: Using CTRL-L at the search prompt adds a "/" and other characters 4099 without escaping, causing the pattern not to match. 4100 Solution: Escape special characters with a backslash. 4101 Files: src/ex_getln.c 4102 4103 Patch 7.0.166 4104 Problem: Crash in cscope code when connection could not be opened. 4105 (Kaya Bekiroglu) 4106 Solution: Check for the file descriptor to be NULL. 4107 Files: src/if_cscope.c 4108 4109 Patch 7.0.167 4110 Problem: ":function" redefining a dict function doesn't work properly. 4111 (Richard Emberson) 4112 Solution: Allow a function name to be a number when it's a function 4113 reference. 4114 Files: src/eval.c 4115 4116 Patch 7.0.168 4117 Problem: Using uninitialized memory and memory leak. (Dominique Pelle) 4118 Solution: Use alloc_clear() instead of alloc() for w_lines. Free 4119 b_ml.ml_stack after recovery. 4120 Files: src/memline.c, src/window.c 4121 4122 Patch 7.0.169 4123 Problem: With a Visual block selection, with the cursor in the left upper 4124 corner, pressing "I" doesn't remove the highlighting. (Guopeng 4125 Wen) 4126 Solution: When checking if redrawing is needed also check if Visual 4127 selection is still active. 4128 Files: src/screen.c 4129 4130 Patch 7.0.170 (extra) 4131 Problem: Win32: Using "gvim --remote-tab foo" when gvim is minimized while 4132 it previously was maximized, un-maximizing doesn't work properly. 4133 And the labels are not displayed properly when 'encoding' is 4134 utf-8. 4135 Solution: When minimized check for SW_SHOWMINIMIZED. When updating the tab 4136 pages line use TCM_SETITEMW instead of TCM_INSERTITEMW. (Liu 4137 Yubao) 4138 Files: src/gui_w48.c 4139 4140 Patch 7.0.171 (extra) 4141 Problem: VMS: A file name with multiple paths is written in the wrong file. 4142 Solution: Get the actually used file name. (Zoltan Arpadffy) 4143 Also add info to the :version command about compilation. 4144 Files: src/Make_vms.mms, src/buffer.c, src/os_unix.c, src/version.c 4145 4146 Patch 7.0.172 4147 Problem: Crash when recovering and quitting at the "press-enter" prompt. 4148 Solution: Check for "msg_list" to be NULL. (Liu Yubao) 4149 Files: src/ex_eval.c 4150 4151 Patch 7.0.173 4152 Problem: ":call f().TT()" doesn't work. (Richard Emberson) 4153 Solution: When a function returns a Dictionary or another composite continue 4154 evaluating what follows. 4155 Files: src/eval.c 4156 4157 Patch 7.0.174 4158 Problem: ":mksession" doesn't restore window layout correctly in tab pages 4159 other than the current one. (Zhibin He) 4160 Solution: Use the correct topframe for producing the window layout commands. 4161 Files: src/ex_docmd.c 4162 4163 Patch 7.0.175 4164 Problem: The result of tr() is missing the terminating NUL. (Ingo Karkat) 4165 Solution: Add the NUL. 4166 Files: src/eval.c 4167 4168 Patch 7.0.176 4169 Problem: ":emenu" isn't executed directly, causing the encryption key 4170 prompt to fail. (Life Jazzer) 4171 Solution: Fix wrong #ifdef. 4172 Files: src/menu.c 4173 4174 Patch 7.0.177 4175 Problem: When the press-enter prompt gets a character from a non-remappable 4176 mapping, it's put back in the typeahead buffer as remappable, 4177 which may cause an endless loop. 4178 Solution: Restore the non-remappable flag and the silent flag when putting a 4179 char back in the typeahead buffer. 4180 Files: src/getchar.c, src/message.c, src/normal.c 4181 4182 Patch 7.0.178 4183 Problem: When 'enc' is "utf-8" and 'ignorecase' is set the result of ":echo 4184 ("\xe4" == "\xe4")" varies. 4185 Solution: In mb_strnicmp() avoid looking past NUL bytes. 4186 Files: src/mbyte.c 4187 4188 Patch 7.0.179 4189 Problem: Using ":recover" or "vim -r" without a swapfile crashes Vim. 4190 Solution: Check for "buf" to be unequal NULL. (Yukihiro Nakadaira) 4191 Files: src/memline.c 4192 4193 Patch 7.0.180 (extra, after 7.0.171) 4194 Problem: VMS: build failed. Problem with swapfiles. 4195 Solution: Add "compiled_arch". Always expand path and pass it to 4196 buf_modname(). (Zoltan Arpadffy) 4197 Files: src/globals.h, src/memline.c, src/os_unix.c, runtime/menu.vim 4198 4199 Patch 7.0.181 4200 Problem: When reloading a file that starts with an empty line, the reloaded 4201 buffer has an extra empty line at the end. (Motty Lentzitzky) 4202 Solution: Delete all lines, don't use bufempty(). 4203 Files: src/fileio.c 4204 4205 Patch 7.0.182 4206 Problem: When using a mix of undo and "g-" it may no longer be possible to 4207 go to every point in the undo tree. (Andy Wokula) 4208 Solution: Correctly update pointers in the undo tree. 4209 Files: src/undo.c 4210 4211 Patch 7.0.183 4212 Problem: Crash in ":let" when redirecting to a variable that's being 4213 displayed. (Thomas Link) 4214 Solution: When redirecting to a variable only do the assignment when 4215 stopping redirection to avoid that setting the variable causes a 4216 freed string to be accessed. 4217 Files: src/eval.c 4218 4219 Patch 7.0.184 4220 Problem: When the cscope program is called "mlcscope" the Cscope interface 4221 doesn't work. 4222 Solution: Accept "\S*cscope:" instead of "cscope:". (Frodak D. Baksik) 4223 Files: src/if_cscope.c 4224 4225 Patch 7.0.185 4226 Problem: Multi-byte characters in a message are displayed with attributes 4227 from what comes before it. 4228 Solution: Don't use the attributes for a multibyte character. Do use 4229 attributes for special characters. (Yukihiro Nakadaira) 4230 Files: src/message.c 4231 4232 Patch 7.0.186 4233 Problem: Get an ml_get error when 'encoding' is "utf-8" and searching for 4234 "/\_s*/e" in an empty buffer. (Andrew Maykov) 4235 Solution: Don't try getting the line just below the last line. 4236 Files: src/search.c 4237 4238 Patch 7.0.187 4239 Problem: Can't source a remote script properly. 4240 Solution: Add the SourceCmd event. (Charles Campbell) 4241 Files: runtime/doc/autocmd.txt, src/ex_cmds2.c, src/fileio.c, src/vim.h 4242 4243 Patch 7.0.188 (after 7.0.186) 4244 Problem: Warning for wrong pointer type. 4245 Solution: Add a type cast. 4246 Files: src/search.c 4247 4248 Patch 7.0.189 4249 Problem: Translated message about finding matches is truncated. (Yukihiro 4250 Nakadaira) 4251 Solution: Enlarge the buffer. Also use vim_snprintf(). 4252 Files: src/edit.c 4253 4254 Patch 7.0.190 4255 Problem: "syntax spell default" results in an error message. 4256 Solution: Change 4 to 7 for STRNICMP(). (Raul Nunez de Arenas Coronado) 4257 Files: src/syntax.c 4258 4259 Patch 7.0.191 4260 Problem: The items used by getqflist() and setqflist() don't match. 4261 Solution: Support the "bufnum" item for setqflist(). (Yegappan Lakshmanan) 4262 Files: runtime/doc/eval.txt, src/quickfix.c 4263 4264 Patch 7.0.192 4265 Problem: When 'swapfile' is switched off in an empty file it is possible 4266 that not all blocks are loaded into memory, causing ml_get errors 4267 later. 4268 Solution: Rename "dont_release" to "mf_dont_release" and also use it to 4269 avoid using the cached line and locked block. 4270 Files: src/globals.h, src/memfile.c, src/memline.c 4271 4272 Patch 7.0.193 4273 Problem: Using --remote or --remote-tab with an argument that matches 4274 'wildignore' causes a crash. 4275 Solution: Check the argument count before using ARGLIST[0]. 4276 Files: src/ex_cmds.c 4277 4278 Patch 7.0.194 4279 Problem: Once an ml_get error is given redrawing part of the screen may 4280 cause it again, resulting in an endless loop. 4281 Solution: Don't give the error message for a recursive call. 4282 Files: src/memline.c 4283 4284 Patch 7.0.195 4285 Problem: When a buffer is modified and 'autowriteall' is set, ":quit" 4286 results in an endless loop when there is a conversion error while 4287 writing. (Nikolai Weibull) 4288 Solution: Make autowrite() return FAIL if the buffer is still changed after 4289 writing it. 4290 /* put the cursor on the last char, for 'tw' formatting */ 4291 Files: src/ex_cmds2.c 4292 4293 Patch 7.0.196 4294 Problem: When using ":vert ball" the computation of the mouse pointer 4295 position may be off by one column. (Stefan Karlsson) 4296 Solution: Recompute the frame width when moving the vertical separator from 4297 one window to another. 4298 Files: src/window.c 4299 4300 Patch 7.0.197 (extra) 4301 Problem: Win32: Compiling with EXITFREE doesn't work. 4302 Solution: Adjust a few #ifdefs. (Alexei Alexandrof) 4303 Files: src/misc2.c, src/os_mswin.c 4304 4305 Patch 7.0.198 (extra) 4306 Problem: Win32: Compiler warnings. No need to generate gvim.exe.mnf. 4307 Solution: Add type casts. Use "*" for processorArchitecture. (George Reilly) 4308 Files: src/Make_mvc.mak, src/eval.c, src/gvim.exe.mnf, src/misc2.c 4309 4310 Patch 7.0.199 4311 Problem: When using multibyte characters the combination of completion and 4312 formatting may result in a wrong cursor position. 4313 Solution: Don't decrement the cursor column, use dec_cursor(). (Yukihiro 4314 Nakadaira) Also check for the column to be zero. 4315 Files: src/edit.c 4316 4317 Patch 7.0.200 4318 Problem: Memory leaks when out of memory. 4319 Solution: Free the memory. 4320 Files: src/edit.c, src/diff.c 4321 4322 Patch 7.0.201 4323 Problem: Message for ":diffput" about buffer not being in diff mode may be 4324 wrong. 4325 Solution: Check for buffer in diff mode but not modifiable. 4326 Files: src/diff.c 4327 4328 Patch 7.0.202 4329 Problem: Problems on Tandem systems while compiling and at runtime. 4330 Solution: Recognize root uid is 65535. Check select() return value for it 4331 not being supported. Avoid wrong function prototypes. Mention 4332 use of -lfloss. (Matthew Woehlke) 4333 Files: src/Makefile, src/ex_cmds.c, src/fileio.c, src/main.c, 4334 src/osdef1.h.in, src/osdef2.h.in, src/os_unix.c, src/pty.c, 4335 src/vim.h 4336 4337 Patch 7.0.203 4338 Problem: 0x80 characters in a register are not handled correctly for the 4339 "@" command. 4340 Solution: Escape CSI and 0x80 characters. (Yukihiro Nakadaira) 4341 Files: src/ops.c 4342 4343 Patch 7.0.204 4344 Problem: Cscope: Parsing matches for listing isn't done properly. 4345 Solution: Check for line number being found. (Yu Zhao) 4346 Files: src/if_cscope.c 4347 4348 Patch 7.0.205 (after 7.0.203) 4349 Problem: Can't compile. 4350 Solution: Always include the vim_strsave_escape_csi function. 4351 Files: src/getchar.c 4352 4353 Patch 7.0.206 (after 7.0.058) 4354 Problem: Some characters of the "gb18030" encoding are not handled 4355 properly. 4356 Solution: Do not use "cp936" as an alias for "gb18030" encoding. Instead 4357 initialize 'encoding' to "cp936". 4358 Files: src/mbyte.c, src/option.c 4359 4360 Patch 7.0.207 4361 Problem: After patch 2.0.203 CSI and K_SPECIAL characters are escaped when 4362 recorded and then again when the register is executed. 4363 Solution: Remove escaping before putting the recorded characters in a 4364 register. (Yukihiro Nakadaira) 4365 Files: src/getchar.c, src/ops.c, src/proto/getchar.pro 4366 4367 Patch 7.0.208 (after 7.0.171 and 7.0.180) 4368 Problem: VMS: changes to path handling cause more trouble than they solve. 4369 Solution: Revert changes. 4370 Files: src/buffer.c, src/memline.c, src/os_unix.c 4371 4372 Patch 7.0.209 4373 Problem: When replacing a line through Python the cursor may end up beyond 4374 the end of the line. 4375 Solution: Check the cursor column after replacing the line. 4376 Files: src/if_python.c 4377 4378 Patch 7.0.210 4379 Problem: ":cbuffer" and ":lbuffer" always fail when the buffer is modified. 4380 (Gary Johnson) 4381 Solution: Support adding a !. (Yegappan Lakshmanan) 4382 Files: runtime/doc/quickfix.txt, src/ex_cmds.h 4383 4384 Patch 7.0.211 4385 Problem: With ":set cindent noai bs=0" using CTRL-U in Insert mode will 4386 delete auto-indent. After ":set ai" it doesn't. 4387 Solution: Also check 'cindent' being set. (Ryan Lortie) 4388 Files: src/edit.c 4389 4390 Patch 7.0.212 4391 Problem: The GUI can't be terminated with SIGTERM. (Mark Logan) 4392 Solution: Use the signal protection in the GUI as in the console, allow 4393 signals when waiting for 100 msec or longer. 4394 Files: src/ui.c 4395 4396 Patch 7.0.213 4397 Problem: When 'spellfile' has two regions that use the same sound folding 4398 using "z=" will cause memory to be freed twice. (Mark Woodward) 4399 Solution: Clear the hashtable properly so that the items are only freed once. 4400 Files: src/spell.c 4401 4402 Patch 7.0.214 4403 Problem: When using <f-args> in a user command it's not possible to have an 4404 argument end in '\ '. 4405 Solution: Change the handling of backslashes. (Yakov Lerner) 4406 Files: runtime/doc/map.txt, src/ex_docmd.c 4407 4408 Patch 7.0.215 (extra) 4409 Problem: Mac: Scrollbar size isn't set. Context menu has disabled useless 4410 Help entry. Call to MoreMasterPointers() is ignored. 4411 Solution: Call SetControlViewSize() in gui_mch_set_scrollbar_thumb(). Use 4412 kCMHelpItemRemoveHelp for ContextualMenuSelect(). Remove call to 4413 MoreMasterPointers(). (Nicolas Weber) 4414 Files: src/gui_mac.c 4415 4416 Patch 7.0.216 4417 Problem: ":tab wincmd ]" does not open a tab page. (Tony Mechelynck) 4418 Solution: Copy the cmdmod.tab value to postponed_split_tab and use it. 4419 Files: src/globals.h, src/ex_docmd.c, src/if_cscope.c, src/window.c 4420 4421 Patch 7.0.217 4422 Problem: This hangs when pressing "n": ":%s/\n/,\r/gc". (Ori Avtalion) 4423 Solution: Set "skip_match" to advance to the next line. 4424 Files: src/ex_cmds.c 4425 4426 Patch 7.0.218 4427 Problem: "%B" in 'statusline' always shows zero in Insert mode. (DervishD) 4428 Solution: Remove the exception for Insert mode, check the column for being 4429 valid instead. 4430 Files: src/buffer.c 4431 4432 Patch 7.0.219 4433 Problem: When using the 'editexisting.vim' script and a file is being 4434 edited in another tab page the window is split. The "+123" 4435 argument is not used. 4436 Solution: Make the tab page with the file the current tab page. Set 4437 v:swapcommand when starting up to the first "+123" or "-c" command 4438 line argument. 4439 Files: runtime/macros/editexisting.vim, src/main.c 4440 4441 Patch 7.0.220 4442 Problem: Crash when using winnr('#') in a new tab page. (Andy Wokula) 4443 Solution: Check for not finding the window. 4444 Files: src/eval.c 4445 4446 Patch 7.0.221 4447 Problem: finddir() uses 'path' by default, where "." means relative to the 4448 current file. But it works relative to the current directory. 4449 (Tye Zdrojewski) 4450 Solution: Add the current buffer name to find_file_in_path_option() for the 4451 relative file name. 4452 Files: runtime/doc/eval.txt, src/eval.c 4453 4454 Patch 7.0.222 4455 Problem: Perl indenting using 'cindent' works almost right. 4456 Solution: Recognize '#' to start a comment. (Alex Manoussakis) Added '#' 4457 flag in 'cinoptions'. 4458 Files: runtime/doc/indent.txt, src/misc1.c 4459 4460 Patch 7.0.223 4461 Problem: Unprintable characters in completion text mess up the popup menu. 4462 (Gombault Damien) 4463 Solution: Use strtrans() to make the text printable. 4464 Files: src/charset.c, src/popupmnu.c 4465 4466 Patch 7.0.224 4467 Problem: When expanding "##" spaces are escaped twice. (Pavol Juhas) 4468 Solution: Don't escape the spaces that separate arguments. 4469 Files: src/eval.c, src/ex_docmd.c, src/proto/ex_docmd.pro 4470 4471 Patch 7.0.225 4472 Problem: When using setline() in an InsertEnter autocommand and doing "A" 4473 the cursor ends up on the last byte in the line. (Yukihiro 4474 Nakadaira) 4475 Solution: Only adjust the column when using setline() for the cursor line. 4476 Move it back to the head byte if necessary. 4477 Files: src/eval.c, src/misc2.c 4478 4479 Patch 7.0.226 4480 Problem: Display flickering when updating signs through the netbeans 4481 interface. (Xavier de Gaye) 4482 Solution: Remove the redraw_later(CLEAR) call. 4483 Files: src/netbeans.c 4484 4485 Patch 7.0.227 4486 Problem: Crash when closing a window in the GUI. (Charles Campbell) 4487 Solution: Don't call out_flush() from win_free(). 4488 Files: src/window.c 4489 4490 Patch 7.0.228 4491 Problem: Cygwin: problem with symlink to DOS style path. 4492 Solution: Invoke cygwin_conv_to_posix_path(). (Luca Masini) 4493 Files: src/os_unix.c 4494 4495 Patch 7.0.229 4496 Problem: When 'pastetoggle' starts with Esc then pressing Esc in Insert 4497 mode will not time out. (Jeffery Small) 4498 Solution: Use KL_PART_KEY instead of KL_PART_MAP, so that 'ttimeout' applies 4499 to the 'pastetoggle' key. 4500 Files: src/getchar.c 4501 4502 Patch 7.0.230 4503 Problem: After using ":lcd" a script doesn't know how to restore the 4504 current directory. 4505 Solution: Add the haslocaldir() function. (Bob Hiestand) 4506 Files: runtime/doc/usr_41.txt, runtime/doc/eval.txt, src/eval.c 4507 4508 Patch 7.0.231 4509 Problem: When recovering from a swap file the page size is likely to be 4510 different from the minimum. The block used for the first page 4511 then has a buffer of the wrong size, causing a crash when it's 4512 reused later. (Zephaniah Hull) 4513 Solution: Reallocate the buffer when the page size changes. Also check that 4514 the page size is at least the minimum value. 4515 Files: src/memline.c 4516 4517 Patch 7.0.232 (extra) 4518 Problem: Mac: doesn't support GUI tab page labels. 4519 Solution: Add GUI tab page labels. (Nicolas Weber) 4520 Files: src/feature.h, src/gui.c, src/gui.h, src/gui_mac.c, 4521 src/proto/gui_mac.pro 4522 4523 Patch 7.0.233 (extra) 4524 Problem: Mac: code formatted badly. 4525 Solution: Fix code formatting 4526 Files: src/gui_mac.c 4527 4528 Patch 7.0.234 4529 Problem: It's possible to use feedkeys() from a modeline. That is a 4530 security issue, can be used for a trojan horse. 4531 Solution: Disallow using feedkeys() in the sandbox. 4532 Files: src/eval.c 4533 4534 Patch 7.0.235 4535 Problem: It is possible to use writefile() in the sandbox. 4536 Solution: Add a few more checks for the sandbox. 4537 Files: src/eval.c 4538 4539 Patch 7.0.236 4540 Problem: Linux 2.4 uses sysinfo() with a mem_unit field, which is not 4541 backwards compatible. 4542 Solution: Add an autoconf check for sysinfo.mem_unit. Let mch_total_mem() 4543 return Kbyte to avoid overflow. 4544 Files: src/auto/configure, src/configure.in, src/config.h.in, 4545 src/option.c, src/os_unix.c 4546 4547 Patch 7.0.237 4548 Problem: For root it is recommended to not use 'modeline', but in 4549 not-compatible mode the default is on. 4550 Solution: Let 'modeline' default to off for root. 4551 Files: runtime/doc/options.txt, src/option.c 4552 4553 Patch 7.0.238 4554 Problem: Crash when ":match" pattern runs into 'maxmempattern'. (Yakov 4555 Lerner) 4556 Solution: Don't free the regexp program of match_hl. 4557 Files: src/screen.c 4558 4559 Patch 7.0.239 4560 Problem: When using local directories and tab pages ":mksession" uses a 4561 short file name when it shouldn't. Window-local options from a 4562 modeline may be applied to the wrong window. (Teemu Likonen) 4563 Solution: Add the did_lcd flag, use the full path when it's set. Don't use 4564 window-local options from the modeline when using the current 4565 window for another buffer in ":doautoall". 4566 Files: src/fileio.c, src/ex_docmd.c 4567 4568 Patch 7.0.240 4569 Problem: Crash when splitting a window in the GUI. (opposite of 7.0.227) 4570 Solution: Don't call out_flush() from win_alloc(). Also avoid this for 4571 win_delete(). Also block autocommands while the window structure 4572 is invalid. 4573 Files: src/window.c 4574 4575 Patch 7.0.241 4576 Problem: ":windo throw 'foo'" loops forever. (Andy Wokula) 4577 Solution: Detect that win_goto() doesn't work. 4578 Files: src/ex_cmds2.c 4579 4580 Patch 7.0.242 (extra) 4581 Problem: Win32: Using "-register" in a Vim that does not support OLE causes 4582 a crash. 4583 Solution: Don't use EMSG() but mch_errmsg(). Check p_go for being NULL. 4584 (partly by Michael Wookey) 4585 Files: src/gui_w32.c 4586 4587 Patch 7.0.243 (extra) 4588 Problem: Win32: When GvimExt is built with MSVC 2005 or later, the "Edit 4589 with vim" context menu doesn't appear in the Windows Explorer. 4590 Solution: Embed the linker manifest file into the resources of GvimExt.dll. 4591 (Mathias Michaelis) 4592 Files: src/GvimExt/Makefile 4593 4594 4595 Fixes after Vim 7.1a BETA: 4596 4597 The extra archive had CVS directories included below "farsi" and 4598 "runtime/icons". CVS was missing the farsi icon files. 4599 4600 Fix compiling with Gnome 2.18, undefine bind_textdomain_codeset. (Daniel 4601 Drake) 4602 4603 Mac: "make install" didn't copy rgb.txt. 4604 4605 When editing a compressed file while there are folds caused "ml_get" errors 4606 and some lines could be missing. When decompressing failed option values were 4607 not restored. 4608 4609 4610 Patch 7.1a.001 4611 Problem: Crash when downloading a spell file. (Szabolcs Horvat) 4612 Solution: Avoid that did_set_spelllang() is used recursively when a new 4613 window is opened for the download. 4614 Also avoid wiping out the wrong buffer. 4615 Files: runtime/autoload/spellfile.vim, src/buffer.c, src/ex_cmds.c, 4616 src/spell.c 4617 4618 Patch 7.1a.002 (extra) 4619 Problem: Compilation error with MingW. 4620 Solution: Check for LPTOOLTIPTEXT to be defined. 4621 Files: src/gui_w32.c 4622 4623 4624 Fixes after Vim 7.1b BETA: 4625 4626 Made the Mzscheme interface build both with old and new versions of Mzscheme, 4627 using an #ifdef. (Sergey Khorev) 4628 Mzscheme interface didn't link, missing function. Changed order of libraries 4629 in the configure script. 4630 4631 Ruby interface didn't compile on Mac. Changed #ifdef. (Lily Ballard) 4632 4633 Patch 7.1b.001 (extra) 4634 Problem: Random text in a source file. No idea how it got there. 4635 Solution: Delete the text. 4636 Files: src/gui_w32.c 4637 4638 Patch 7.1b.002 4639 Problem: When 'maxmem' is large there can be an overflow in computations. 4640 (Thomas Wiegner) 4641 Solution: Use the same mechanism as in mch_total_mem(): first reduce the 4642 multiplier as much as possible. 4643 Files: src/memfile.c 4644 4645 ============================================================================== 4646 VERSION 7.2 *version-7.2* *version7.2* 4647 4648 This section is about improvements made between version 7.1 and 7.2. 4649 4650 This is mostly a bug-fix release. The main new feature is floating point 4651 support. |Float| 4652 4653 4654 Changed *changed-7.2* 4655 ------- 4656 4657 Changed the command line buffer name from "command-line" to "[Command Line]". 4658 4659 Removed optional ! for ":caddexpr", ":cgetexpr", ":cgetfile", ":laddexpr", 4660 ":lgetexpr" and ":lgetfile". They are not needed. (Yegappan Lakshmanan) 4661 4662 An offset for syntax matches worked on bytes instead of characters. That is 4663 inconsistent and can easily be done wrong. Use character offsets now. 4664 (Yukihiro Nakadaira) 4665 4666 The FileChangedShellPost event was also given when a file didn't change. 4667 (John Little) 4668 4669 When the current line is long (doesn't fit) the popup menu can't be seen. 4670 Display it below the screen line instead of below the text line. 4671 (Francois Ingelrest) 4672 4673 Switched to autoconf version 2.62. 4674 4675 Moved including fcntl.h to vim.h and removed it from all .c files. 4676 4677 Introduce macro STRMOVE(d, s), like STRCPY() for overlapping strings. 4678 Use it instead of mch_memmove(p, p + x, STRLEN(p + x) + 1). 4679 4680 Removed the bulgarian.vim keymap file, two more standard ones replace it. 4681 (Boyko Bantchev) 4682 4683 Increased the maximum number of tag matches for command line completion from 4684 200 to 300. 4685 4686 Renamed help file sql.txt to ft_sql.txt and ada.txt to ft_ada.txt. 4687 4688 4689 Added *added-7.2* 4690 ----- 4691 4692 New syntax files: 4693 CUDA (Timothy B. Terriberry) 4694 Cdrdao config (Nikolai Weibull) 4695 Coco/R (Ashish Shukla) 4696 Denyhosts config (Nikolai Weibull) 4697 Dtrace script (Nicolas Weber) 4698 Git output, commit, config, rebase, send-email (Tim Pope) 4699 HASTE and HastePreProc (M. Tranchero) 4700 Haml (Tim Pope) 4701 Host conf (Nikolai Weibull) 4702 Linden script (Timo Frenay) 4703 MS messages (Kevin Locke) 4704 PDF (Tim Pope) 4705 ProMeLa (Maurizio Tranchero) 4706 Reva Foth (Ron Aaron) 4707 Sass (Tim Pope) 4708 Symbian meta-makefile, MMP (Ron Aaron) 4709 VOS CM macro (Andrew McGill) 4710 XBL (Doug Kearns) 4711 4712 New tutor files: 4713 Made UTF-8 versions of all the tutor files. 4714 Greek renamed from ".gr" to ".el" (Greek vs Greece). 4715 Esperanto (Dominique Pelle) 4716 Croatian (Paul B. Mahol) 4717 4718 New filetype plugins: 4719 Cdrdao config (Nikolai Weibull) 4720 Debian control files (Debian Vim maintainers) 4721 Denyhosts (Nikolai Weibull) 4722 Dos .ini file (Nikolai Weibull) 4723 Dtrace script (Nicolas Weber) 4724 FnameScript (Nikolai Weibull) 4725 Git, Git config, Git commit, Git rebase, Git send-email (Tim Pope) 4726 Haml (Tim Pope) 4727 Host conf (Nikolai Weibull) 4728 Host access (Nikolai Weibull) 4729 Logtalk (Paulo Moura) 4730 MS messages (Kevin Locke) 4731 NSIS script (Nikolai Weibull) 4732 PDF (Tim Pope) 4733 Reva Forth (Ron Aaron) 4734 Sass (Tim Pope) 4735 4736 New indent files: 4737 DTD (Nikolai Weibull) 4738 Dtrace script (Nicolas Weber) 4739 Erlang (Csaba Hoch) 4740 FrameScript (Nikolai Weibull) 4741 Git config (Tim Pope) 4742 Haml (Tim Pope) 4743 Logtalk (Paulo Moura) 4744 Sass (Tim Pope) 4745 Tiny Fugue (Christian J. Robinson) 4746 4747 New compiler plugins: 4748 RSpec (Tim Pope) 4749 4750 New keymap files: 4751 Croatian (Paul B. Mahol) 4752 Russian Dvorak (Serhiy Boiko) 4753 Ukrainian Dvorak (Serhiy Boiko) 4754 Removed plain Bulgarian, "bds" and phonetic are sufficient. 4755 4756 Other new runtime files: 4757 Esperanto menu and message translations. (Dominique Pelle) 4758 Finnish menu and message translations. (Flammie Pirinen) 4759 Brazilian Portuguese message translations. (Eduardo Dobay) 4760 4761 Added floating point support. |Float| 4762 4763 Added argument to mode() to return a bit more detail about the current mode. 4764 (Ben Schmidt) 4765 4766 Added support for BSD console mouse: |sysmouse|. (Paul B. Mahol) 4767 4768 Added the "newtab" value for the 'switchbuf' option. (partly by Yegappan 4769 Lakshmanan) 4770 4771 Improved error messages for the netbeans interface. (Philippe Fremy) 4772 4773 Added support for using xterm mouse codes for screen. (Micah Cowan) 4774 4775 Added support for cross compiling: 4776 Adjusted configure.in and added INSTALLcross.txt. (Marc Haisenko) Fixed 4777 mistakes in configure.in after that. 4778 Don't use /usr/local/include and /usr/local/lib in configure. (Philip 4779 Prindeville) 4780 For cross compiling the Cygwin version on Unix, change VIM.TLB to vim.tlb in 4781 src/vim.rc. (Tsuneo Nakagawa) 4782 4783 Added v:searchforward variable: What direction we're searching in. (Yakov 4784 Lerner) 4785 4786 4787 Fixed *fixed-7.2* 4788 ----- 4789 4790 Patch 7.1.001 4791 Problem: Still can't build with Gnome libraries. 4792 Solution: Fix typo in bind_textdomain_codeset. (Mike Kelly) 4793 Files: src/gui_gtk.c, src/gui_gtk_x11.c 4794 4795 Patch 7.1.002 4796 Problem: Oracle Pro*C/C++ files are not detected. 4797 Solution: Add the missing star. (Micah J. Cowan) 4798 Files: runtime/filetype.vim 4799 4800 Patch 7.1.003 (extra) 4801 Problem: The "Tear off this menu" message appears in the message history 4802 when using a menu. (Yongwei Wu) 4803 Solution: Disable message history when displaying the menu tip. 4804 Files: src/gui_w32.c 4805 4806 Patch 7.1.004 4807 Problem: Crash when doing ":next directory". (Raphael Finkel) 4808 Solution: Do not use "buf", it may be invalid after autocommands. 4809 Files: src/ex_cmds.c 4810 4811 Patch 7.1.005 4812 Problem: "cit" used on <foo></foo> deletes <foo>. Should not delete 4813 anything and start insertion, like "ci'" does on "". (Michal 4814 Bozon) 4815 Solution: Handle an empty object specifically. Made it work consistent for 4816 various text objects. 4817 Files: src/search.c 4818 4819 Patch 7.1.006 4820 Problem: Resetting 'modified' in a StdinReadPost autocommand doesn't work. 4821 Solution: Set 'modified' before the autocommands instead of after it. 4822 Files: src/buffer.c 4823 4824 Patch 7.1.007 (extra) 4825 Problem: Mac: Context menu doesn't work on Intel Macs. 4826 Scrollbars are not dimmed when Vim is not the active application. 4827 Solution: Remove the test whether context menus are supported. They are 4828 always there in OS/X. Handle the dimming. (Nicolas Weber) 4829 Files: src/gui_mac.c, src/gui.h 4830 4831 Patch 7.1.008 4832 Problem: getfsize() returns a negative number for very big files. 4833 Solution: Check for overflow and return -2. 4834 Files: runtime/doc/eval.txt, src/eval.c 4835 4836 Patch 7.1.009 4837 Problem: In diff mode, displaying the difference between a tab and spaces 4838 is not highlighted correctly. 4839 Solution: Only change highlighting at the end of displaying a tab. 4840 Files: src/screen.c 4841 4842 Patch 7.1.010 4843 Problem: The Gnome session file doesn't restore tab pages. 4844 Solution: Add SSOP_TABPAGES to the session flags. (Matias D'Ambrosio) 4845 Files: src/gui_gtk_x11.c 4846 4847 Patch 7.1.011 4848 Problem: Possible buffer overflow when $VIMRUNTIME is very long. (Victor 4849 Stinner) 4850 Solution: Use vim_snprintf(). 4851 Files: src/main.c 4852 4853 Patch 7.1.012 4854 Problem: ":let &shiftwidth = 'asdf'" doesn't produce an error message. 4855 Solution: Check for a string argument. (Chris Lubinski) 4856 Files: src/option.c 4857 4858 Patch 7.1.013 4859 Problem: ":syn include" only loads the first file, while it is documented 4860 as doing the equivalent of ":runtime!". 4861 Solution: Change the argument to source_runtime(). (James Vega) 4862 Files: src/syntax.c 4863 4864 Patch 7.1.014 4865 Problem: Crash when doing C indenting. (Chris Monson) 4866 Solution: Obtain the current line again after invoking cin_islabel(). 4867 Files: src/edit.c 4868 4869 Patch 7.1.015 4870 Problem: MzScheme interface: current-library-collection-paths produces no 4871 list. Interface doesn't build on a Mac. 4872 Solution: Use a list instead of a pair. (Bernhard Fisseni) Use "-framework" 4873 argument for MZSCHEME_LIBS in configure. 4874 Files: src/configure.in, src/if_mzsch.c, src/auto/configure 4875 4876 Patch 7.1.016 (after patch 7.1.012) 4877 Problem: Error message about setting 'diff' to a string. 4878 Solution: Don't pass an empty string to set_option_value() when setting 4879 'diff'. 4880 Files: src/quickfix.c, src/popupmnu.c 4881 4882 Patch 7.1.017 4883 Problem: ":confirm w" does give a prompt when 'readonly' is set, but not 4884 when the file permissions are read-only. (Michael Schaap) 4885 Solution: Provide a dialog in both situations. (Chris Lubinski) 4886 Files: src/ex_cmds.c, src/fileio.c, src/proto/fileio.pro 4887 4888 Patch 7.1.018 4889 Problem: When 'virtualedit' is set a "p" of a block just past the end of 4890 the line inserts before the cursor. (Engelke) 4891 Solution: Check for the cursor being just after the line (Chris Lubinski) 4892 Files: src/ops.c 4893 4894 Patch 7.1.019 4895 Problem: ":py" asks for an argument, ":py asd" then gives the error that 4896 ":py" isn't implemented. Should already happen for ":py". 4897 Solution: Compare with ex_script_ni. (Chris Lubinski) 4898 Files: src/ex_docmd.c 4899 4900 Patch 7.1.020 4901 Problem: Reading from uninitialized memory when using a dialog. (Dominique 4902 Pelle) 4903 Solution: In msg_show_console_dialog() append a NUL after every appended 4904 character. 4905 Files: src/message.c 4906 4907 Patch 7.1.021 (after 7.1.015) 4908 Problem: Mzscheme interface doesn't compile on Win32. 4909 Solution: Fix the problem that 7.1.015 fixed in a better way. (Sergey Khorev) 4910 Files: src/if_mzsch.c 4911 4912 Patch 7.1.022 4913 Problem: When setting 'keymap' twice the b:keymap_name variable isn't set. 4914 (Milan Berta) 4915 Solution: Don't unlet b:keymap_name for ":loadkeymap". (Martin Toft) 4916 Files: src/digraph.c 4917 4918 Patch 7.1.023 4919 Problem: "dw" in a line with one character deletes the line. Vi and nvi 4920 don't do this. (Kjell Arne Rekaa) 4921 Solution: Check for one-character words especially. 4922 Files: src/search.c 4923 4924 Patch 7.1.024 4925 Problem: Using a pointer that has become invalid. (Chris Monson) 4926 Solution: Obtain the line pointer again after we looked at another line. 4927 Files: src/search.c 4928 4929 Patch 7.1.025 4930 Problem: search() and searchpos() don't use match under cursor at start of 4931 line when using 'bc' flags. (Viktor Kojouharov) 4932 Solution: Don't go to the previous line when the 'c' flag is present. 4933 Also fix that "j" doesn't move the cursor to the right column. 4934 Files: src/eval.c, src/search.c 4935 4936 Patch 7.1.026 4937 Problem: "[p" doesn't work in Visual mode. (David Brown) 4938 Solution: Use checkclearop() instead of checkclearopq(). 4939 Files: src/normal.c 4940 4941 Patch 7.1.027 4942 Problem: On Sun systems opening /dev/fd/N doesn't work, and they are used 4943 by process substitutions. 4944 Solution: Allow opening specific character special files for Sun systems. 4945 (Gary Johnson) 4946 Files: src/fileio.c, src/os_unix.h 4947 4948 Patch 7.1.028 4949 Problem: Can't use last search pattern for ":sort". (Brian McKee) 4950 Solution: When the pattern is empty use the last search pattern. (Martin 4951 Toft) 4952 Files: runtime/doc/change.txt, src/ex_cmds.c 4953 4954 Patch 7.1.029 (after 7.1.019) 4955 Problem: Can't compile when all interfaces are used. (Taylor Venable) 4956 Solution: Only check for ex_script_ni when it's defined. 4957 Files: src/ex_docmd.c 4958 4959 Patch 7.1.030 4960 Problem: The "vimtutor" shell script checks for "vim6" but not for "vim7". 4961 (Christian Robinson) 4962 Solution: Check for more versions, but prefer using "vim". 4963 Files: src/vimtutor 4964 4965 Patch 7.1.031 4966 Problem: virtcol([123, '$']) doesn't work. (Michael Schaap) 4967 Solution: When '$' is used for the column number get the last column. 4968 Files: runtime/doc/eval.txt, src/eval.c 4969 4970 Patch 7.1.032 4971 Problem: Potential crash when editing a command line. (Chris Monson) 4972 Solution: Check the position to avoid access before the start of an array. 4973 Files: src/ex_getln.c 4974 4975 Patch 7.1.033 4976 Problem: A buffer is marked modified when it was first deleted and then 4977 added again using a ":next" command. (John Mullin) 4978 Solution: When checking if a buffer is modified use the BF_NEVERLOADED flag. 4979 Files: src/option.c 4980 4981 Patch 7.1.034 4982 Problem: Win64: A few compiler warnings. Problems with optimizer. 4983 Solution: Use int instead of size_t. Disable the optimizer in one function. 4984 (George V. Reilly) 4985 Files: src/eval.c, src/spell.c 4986 4987 Patch 7.1.035 4988 Problem: After ":s/./&/#" all listed lines have a line number. (Yakov 4989 Lerner) 4990 Solution: Reset the line number flag when not using the "&" flag. 4991 Files: src/ex_cmds.c 4992 4993 Patch 7.1.036 4994 Problem: Completing ":echohl" argument should include "None". (Ori 4995 Avtalion) ":match" should have "none" too. 4996 Solution: Add flags to use expand_highlight(). Also fix that when disabling 4997 FEAT_CMDL_COMPL compilation fails. (Chris Lubinski) 4998 Files: src/eval.c, src/ex_docmd.c, src/ex_getln.c, src/proto/syntax.pro 4999 src/syntax.c 5000 5001 Patch 7.1.037 5002 Problem: strcpy() used for overlapping strings. (Chris Monson) 5003 Solution: Use mch_memmove() instead. 5004 Files: src/option.c 5005 5006 Patch 7.1.038 5007 Problem: When 'expandtab' is set then a Tab copied for 'copyindent' is 5008 expanded to spaces, even when 'preserveindent' is set. (Alexei 5009 Alexandrov) 5010 Solution: Remove the check for 'expandtab'. Also fix that ">>" doesn't obey 5011 'preserveindent'. (Chris Lubinski) 5012 Files: src/misc1.c 5013 5014 Patch 7.1.039 5015 Problem: A tag in a help file that starts with "help-tags" and contains a 5016 percent sign may make Vim crash. (Ulf Harnhammar) 5017 Solution: Use puts() instead of fprintf(). 5018 Files: src/ex_cmds.c 5019 5020 Patch 7.1.040 5021 Problem: ":match" only supports three matches. 5022 Solution: Add functions clearmatches(), getmatches(), matchadd(), 5023 matchdelete() and setmatches(). Changed the data structures for 5024 this. A small bug in syntax.c is fixed, so newly created 5025 highlight groups can have their name resolved correctly from their 5026 ID. (Martin Toft) 5027 Files: runtime/doc/eval.txt, runtime/doc/pattern.txt, 5028 runtime/doc/usr_41.txt, src/eval.c, src/ex_docmd.c, 5029 src/proto/window.pro, src/screen.c, src/structs.h, src/syntax.c, 5030 src/testdir/Makefile, src/testdir/test63.in, 5031 src/testdir/test63.ok, src/window.c 5032 5033 Patch 7.1.041 (extra, after 7.1.040) 5034 Problem: Some changes for patch 7.1.040 are in extra files. 5035 Solution: Update the extra files. 5036 Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 5037 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms 5038 5039 Patch 7.1.042 (after 7.1.040) 5040 Problem: Internal error when using matchadd(). (David Larson) 5041 Solution: Check the third argument to be present before using the fourth 5042 argument. (Martin Toft) 5043 Files: src/eval.c 5044 5045 Patch 7.1.043 5046 Problem: In Ex mode using CTRL-D twice may cause a crash. Cursor isn't 5047 positioned properly after CTRL-D. 5048 Solution: Set prev_char properly. Position the cursor correctly. (Antony 5049 Scriven) 5050 Files: src/ex_getln.c 5051 5052 Patch 7.1.044 5053 Problem: In Insert mode 0 CTRL-T deletes all indent, it should add indent. 5054 (Gautam Iyer) 5055 Solution: Check for CTRL-D typed. 5056 Files: src/edit.c 5057 5058 Patch 7.1.045 5059 Problem: Unnecessary screen redrawing. (Jjgod Jiang) 5060 Solution: Reset "must_redraw" after clearing the screen. 5061 Files: src/screen.c 5062 5063 Patch 7.1.046 5064 Problem: ":s" command removes combining characters. (Ron Aaron) 5065 Solution: Copy composing characters individually. (Chris Lubinski) 5066 Files: src/regexp.c 5067 5068 Patch 7.1.047 5069 Problem: vim_regcomp() called with invalid argument. (Xiaozhou Liu) 5070 Solution: Change TRUE to RE_MAGIC + RE_STRING. 5071 Files: src/ex_eval.c 5072 5073 Patch 7.1.048 5074 Problem: The matchparen plugin doesn't update the match when scrolling with 5075 the mouse wheel. (Ilya Bobir) 5076 Solution: Set the match highlighting for text that can be scrolled into the 5077 viewable area without moving the cursor. (Chris Lubinski) 5078 Files: runtime/plugin/matchparen.vim 5079 5080 Patch 7.1.049 5081 Problem: Cannot compile GTK2 version with Hangul input feature. 5082 Solution: Don't define FEAT_XFONTSET when using GTK2. 5083 Files: src/feature.h 5084 5085 Patch 7.1.050 5086 Problem: Possible crash when using C++ indenting. (Chris Monson) 5087 Solution: Keep the line pointer to the line to compare with. Avoid going 5088 past the end of line. 5089 Files: src/misc1.c 5090 5091 Patch 7.1.051 5092 Problem: Accessing uninitialized memory when finding spell suggestions. 5093 Solution: Don't try swapping characters at the end of a word. 5094 Files: src/spell.c 5095 5096 Patch 7.1.052 5097 Problem: When creating a new match not all fields are initialized, which 5098 may lead to unpredictable results. 5099 Solution: Initialise rmm_ic and rmm_maxcol. 5100 Files: src/window.c 5101 5102 Patch 7.1.053 5103 Problem: Accessing uninitialized memory when giving a message. 5104 Solution: Check going the length before checking for a NUL byte. 5105 Files: src/message.c 5106 5107 Patch 7.1.054 5108 Problem: Accessing uninitialized memory when displaying the fold column. 5109 Solution: Add a NUL to the extra array. (Dominique Pelle). Also do this in 5110 a couple of other situations. 5111 Files: src/screen.c 5112 5113 Patch 7.1.055 5114 Problem: Using strcpy() with arguments that overlap. 5115 Solution: Use mch_memmove() instead. 5116 Files: src/buffer.c, src/charset.c, src/eval.c, src/ex_getln.c, 5117 src/misc1.c, src/regexp.c, src/termlib.c 5118 5119 Patch 7.1.056 5120 Problem: More prompt does not behave correctly after scrolling back. 5121 (Randall W. Morris) 5122 Solution: Avoid lines_left becomes negative. (Chris Lubinski) Don't check 5123 mp_last when deciding to show the more prompt. (Martin Toft) 5124 Files: src/message.c 5125 5126 Patch 7.1.057 5127 Problem: Problem with CursorHoldI when using "r" in Visual mode (Max 5128 Dyckhoff) 5129 Solution: Ignore CursorHold(I) when getting a second character for a Normal 5130 mode command. Also abort the "r" command in Visual when a special 5131 key is typed. 5132 Files: src/normal.c 5133 5134 Patch 7.1.058 5135 Problem: When 'rightleft' is set the completion menu is positioned wrong. 5136 (Baha-Eddine MOKADEM) 5137 Solution: Fix the completion menu. (Martin Toft) 5138 Files: src/popupmnu.c, src/proto/search.pro, src/search.c 5139 5140 Patch 7.1.059 5141 Problem: When in Ex mode and doing "g/^/vi" and then pressing CTRL-C Vim 5142 hangs and beeps. (Antony Scriven) 5143 Solution: Clear "got_int" in the main loop to avoid the hang. When typing 5144 CTRL-C twice in a row abort the ":g" command. This is Vi 5145 compatible. 5146 Files: src/main.c 5147 5148 Patch 7.1.060 5149 Problem: Splitting quickfix window messes up window layout. (Marius 5150 Gedminas) 5151 Solution: Compute the window size in a smarter way. (Martin Toft) 5152 Files: src/window.c 5153 5154 Patch 7.1.061 5155 Problem: Win32: When 'encoding' is "latin1" 'ignorecase' doesn't work for 5156 characters with umlaut. (Joachim Hofmann) 5157 Solution: Do not use islower()/isupper()/tolower()/toupper() but our own 5158 functions. (Chris Lubinski) 5159 Files: src/mbyte.c, src/regexp.c, src/vim.h 5160 5161 Patch 7.1.062 (after 7.1.038) 5162 Problem: Indents of C comments can be wrong. (John Mullin) 5163 Solution: Adjust ind_len. (Chris Lubinski) 5164 Files: src/misc1.c 5165 5166 Patch 7.1.063 (after 7.1.040) 5167 Problem: Warning for uninitialized variable. 5168 Solution: Initialise it to NULL. 5169 Files: src/ex_docmd.c 5170 5171 Patch 7.1.064 5172 Problem: On Interix some files appear not to exist. 5173 Solution: Remove the top bit from st_mode. (Ligesh) 5174 Files: src/os_unix.c 5175 5176 Patch 7.1.065 (extra) 5177 Problem: Win32: Compilation problem for newer version of w32api. 5178 Solution: Only define __IID_DEFINED__ when needed. (Chris Sutcliffe) 5179 Files: src/Make_ming.mak, src/iid_ole.c 5180 5181 Patch 7.1.066 5182 Problem: When 'bomb' is set or reset the file should be considered 5183 modified. (Tony Mechelynck) 5184 Solution: Handle like 'endofline'. (Martin Toft) 5185 Files: src/buffer.c, src/fileio.c, src/option.c, src/structs.h 5186 5187 Patch 7.1.067 5188 Problem: 'thesaurus' doesn't work when 'infercase' is set. (Mohsin) 5189 Solution: Don't copy the characters being completed but check the case and 5190 apply it to the suggested word. Also fix that the first word in 5191 the thesaurus line is not used. (Martin Toft) 5192 Files: src/edit.c 5193 5194 Patch 7.1.068 5195 Problem: When 'equalalways' is set and splitting a window, it's possible 5196 that another small window gets bigger. 5197 Solution: Only equalize window sizes when after a split the windows are 5198 smaller than another window. (Martin Toft) 5199 Files: runtime/doc/options.txt, runtime/doc/windows.txt, src/window.c 5200 5201 Patch 7.1.069 5202 Problem: GTK GUI: When using confirm() without a default button there still 5203 is a default choice. 5204 Solution: Ignore Enter and Space when there is no default button. (Chris 5205 Lubinski) 5206 Files: src/gui_gtk.c 5207 5208 Patch 7.1.070 (extra) 5209 Problem: Win32 GUI: When using confirm() without a default button there 5210 still is a default choice. 5211 Solution: Set focus on something else than a button. (Chris Lubinski) 5212 Files: src/gui_w32.c 5213 5214 Patch 7.1.071 (after 7.1.040) 5215 Problem: Regexp patterns are not tested. 5216 Solution: Add a basic test, to be expanded later. 5217 Also add (commented-out) support for valgrind. 5218 Files: src/testdir/Makefile, src/testdir/test64.in, src/testdir/test64.ok 5219 5220 Patch 7.1.072 (extra, after 7.1.041 and 7.1.071) 5221 Problem: Some changes for patch 7.1.071 are in extra files. 5222 Solution: Update the extra files. Also fix a few warnings from the DOS test 5223 makefile. 5224 Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 5225 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms 5226 5227 Patch 7.1.073 (after 7.1.062) 5228 Problem: Wrong cursor position and crash when 'preserveindent' is set. 5229 (Charles Campbell) 5230 Solution: Handle the situation that we start without indent. (Chris 5231 Lubinski) 5232 Files: src/misc1.c 5233 5234 Patch 7.1.074 5235 Problem: Crash when calling string() on a recursively nested List. 5236 Solution: Check result value for being NULL. (Yukihiro Nakadaira) 5237 Files: src/eval.c 5238 5239 Patch 7.1.075 5240 Problem: ":let v:statusmsg" reads memory already freed. 5241 Solution: Don't set v:statusmsg when listing it. 5242 Files: src/eval.c 5243 5244 Patch 7.1.076 5245 Problem: Another strcpy() with overlapping arguments. 5246 Solution: Use mch_memmove(). (Dominique Pelle) And another one. 5247 Files: src/ex_docmd.c, src/normal.c 5248 5249 Patch 7.1.077 5250 Problem: Using "can_spell" without initializing it. (Dominique Pelle) 5251 Solution: Set a default for get_syntax_attr(). 5252 Files: src/syntax.c 5253 5254 Patch 7.1.078 5255 Problem: Dropping a file name on gvim that contains a CSI byte doesn't work 5256 when editing the command line. 5257 Solution: Escape the CSI byte when inserting in the input buffer. (Yukihiro 5258 Nakadaira) 5259 Files: src/gui.c, src/ui.c 5260 5261 Patch 7.1.079 5262 Problem: When the locale is "C" and 'encoding' is "latin1" then the "@" 5263 character in 'isfname', 'isprint', etc. doesn't pick up accented 5264 characters. 5265 Solution: Instead of isalpha() use MB_ISLOWER() and MB_ISUPPER(). 5266 Files: src/charset.c, src/macros.h 5267 5268 Patch 7.1.080 (extra) 5269 Problem: Compiler warnings for using "const char *" for "char *". 5270 Solution: Add type casts. (Chris Sutcliffe) 5271 Files: src/GvimExt/gvimext.cpp 5272 5273 Patch 7.1.081 5274 Problem: Command line completion for a shell command: "cat </tmp/file<Tab>" 5275 doesn't work. 5276 Solution: Start the file name at any character that can't be in a file name. 5277 (Martin Toft) 5278 Files: src/ex_docmd.c 5279 5280 Patch 7.1.082 5281 Problem: After a ":split" the matchparen highlighting isn't there. 5282 Solution: Install a WinEnter autocommand. Also fixes that after 5283 ":NoMatchParen" only the current window is updated. (Martin Toft) 5284 Files: runtime/doc/pi_paren.txt, runtime/plugin/matchparen.vim 5285 5286 Patch 7.1.083 (after 7.1.081) 5287 Problem: Command line completion doesn't work with wildcards. 5288 Solution: Add vim_isfilec_or_wc() and use it. (Martin Toft) 5289 Files: src/charset.c, src/proto/charset.pro, src/ex_docmd.c 5290 5291 Patch 7.1.084 5292 Problem: Using the "-nb" argument twice causes netbeans not to get 5293 fileOpened events. 5294 Solution: Change "&" to "&&". (Xavier de Gaye) 5295 Files: src/ex_cmds.c 5296 5297 Patch 7.1.085 5298 Problem: ":e fold.c" then ":sp fold.c" results in folds of original window 5299 to disappear. (Akita Noek) 5300 Solution: Invoke foldUpdateAll() for all windows of the changed buffer. 5301 (Martin Toft) 5302 Files: src/ex_cmds.c 5303 5304 Patch 7.1.086 5305 Problem: Crash when using specific Python syntax highlighting. (Quirk) 5306 Solution: Check for a negative index, coming from a keyword match at the 5307 start of a line from a saved state. 5308 Files: src/syntax.c 5309 5310 Patch 7.1.087 5311 Problem: Reading past ":cscope find" command. Writing past end of a buffer. 5312 Solution: Check length of the argument before using the pattern. Use 5313 vim_strncpy(). (Dominique Pelle) 5314 Files: if_cscope.c 5315 5316 Patch 7.1.088 (extra) 5317 Problem: The coordinates used by ":winpos" differ from what getwinposx() 5318 and getwinposy() return. 5319 Solution: Use MoveWindowStructure() instead of MoveWindow(). (Michael Henry) 5320 Files: src/gui_mac.c 5321 5322 Patch 7.1.089 5323 Problem: ":let loaded_getscriptPlugin" doesn't clear to eol, result is 5324 "#1in". 5325 Solution: Clear to the end of the screen after displaying the first variable 5326 value. 5327 Files: src/eval.c 5328 5329 Patch 7.1.090 5330 Problem: Compiler warning on Mac OS X 10.5. 5331 Solution: Don't redeclare sigaltstack(). (Hisashi T Fujinaka) 5332 Files: src/os_unix.c 5333 5334 Patch 7.1.091 (extra) 5335 Problem: Win32: Can't embed Vim inside another application. 5336 Solution: Add the --windowid argument. (Nageshwar) 5337 Files: runtime/doc/gui_w32.txt, runtime/doc/starting.txt, 5338 runtime/doc/vi_diff.txt, src/globals.h, src/gui_w32.c, src/main.c 5339 5340 Patch 7.1.092 (extra, after 7.1.088) 5341 Problem: Wrong arguments for MoveWindowStructure(). 5342 Solution: Remove "TRUE". (Michael Henry) 5343 Files: src/gui_mac.c 5344 5345 Patch 7.1.093 5346 Problem: Reading past end of a screen line when determining cell width. 5347 (Dominique Pelle) 5348 Solution: Add an argument to mb_off2cells() for the maximum offset. 5349 Files: src/globals.h, src/gui.c, src/mbyte.c, src/proto/mbyte.pro, 5350 src/screen.c 5351 5352 Patch 7.1.094 5353 Problem: When checking if syntax highlighting is present, looking in the 5354 current buffer instead of the specified one. 5355 Solution: Use "buf" instead of "curbuf". 5356 Files: src/syntax.c 5357 5358 Patch 7.1.095 5359 Problem: The FocusLost and FocusGained autocommands are triggered 5360 asynchronously in the GUI. This may cause arbitrary problems. 5361 Solution: Put the focus event in the input buffer and handle it when ready 5362 for it. 5363 Files: src/eval.c, src/getchar.c, src/gui.c, src/gui_gtk_x11.c, 5364 src/keymap.h 5365 5366 Patch 7.1.096 5367 Problem: Reading past end of a string when resizing Vim. (Dominique Pelle) 5368 Solution: Check the string pointer before getting the char it points to. 5369 Files: src/message.c 5370 5371 Patch 7.1.097 5372 Problem: ":setlocal stl=%!1+1" does not work. 5373 Solution: Adjust check for pointer. (Politz) 5374 Files: src/option.c 5375 5376 Patch 7.1.098 5377 Problem: ":call s:var()" doesn't work if "s:var" is a Funcref. (Andy Wokula) 5378 Solution: Before converting "s:" into a script ID, check if it is a Funcref. 5379 Files: src/eval.c 5380 5381 Patch 7.1.099 5382 Problem: When the 'keymap' and 'paste' options have a non-default value, 5383 ":mkexrc" and ":mksession" do not correctly set the options. 5384 Solution: Set the options with side effects before other options. 5385 Files: src/option.c 5386 5387 Patch 7.1.100 5388 Problem: Win32: Executing cscope doesn't always work properly. 5389 Solution: Use another way to invoke cscope. (Mike Williams) 5390 Files: src/if_cscope.c, src/if_cscope.h, src/main.c, 5391 src/proto/if_cscope.pro 5392 5393 Patch 7.1.101 5394 Problem: Ruby: The Buffer.line= method does not work. 5395 Solution: Add the "self" argument to set_current_line(). (Jonathan Hankins) 5396 Files: src/if_ruby.c 5397 5398 Patch 7.1.102 5399 Problem: Perl interface doesn't compile with new version of Perl. 5400 Solution: Add two variables to the dynamic library loading. (Suresh 5401 Govindachar) 5402 Files: src/if_perl.xs 5403 5404 Patch 7.1.103 5405 Problem: Using "dw" with the cursor past the end of the last line (using 5406 CTRL-\ CTRL-O from Insert mode) deletes a character. (Tim Chase) 5407 Solution: Don't move the cursor back when the movement failed. 5408 Files: src/normal.c 5409 5410 Patch 7.1.104 (after 7.1.095) 5411 Problem: When 'lazyredraw' is set a focus event causes redraw to be 5412 postponed until a key is pressed. 5413 Solution: Instead of not returning from vgetc() when a focus event is 5414 encountered return K_IGNORE. Add plain_vgetc() for when the 5415 caller doesn't want to get K_IGNORE. 5416 Files: src/digraph.c, src/edit.c, src/ex_cmds.c, src/ex_getln.c, 5417 src/getchar.c, src/normal.c, src/proto/getchar.pro, src/window.c 5418 5419 Patch 7.1.105 5420 Problem: Internal error when using "0 ? {'a': 1} : {}". (A.Politz) 5421 Solution: When parsing a dictionary value without using the value, don't try 5422 obtaining the key name. 5423 Files: src/eval.c 5424 5425 Patch 7.1.106 5426 Problem: ":messages" doesn't quit listing on ":". 5427 Solution: Break the loop when "got_int" is set. 5428 Files: src/message.c 5429 5430 Patch 7.1.107 5431 Problem: When doing a block selection and using "s" to change the text, 5432 while triggering auto-indenting, causes the wrong text to be 5433 repeated in other lines. (Adri Verhoef) 5434 Solution: Compute the change of indent and compensate for that. 5435 Files: src/ops.c 5436 5437 Patch 7.1.108 (after 7.1.100) 5438 Problem: Win32: Compilation problems in Cscope code. (Jeff Lanzarotta) 5439 Solution: Use (long) instead of (intptr_t) when it's not defined. 5440 Files: src/if_cscope.c 5441 5442 Patch 7.1.109 5443 Problem: GTK: when there are many tab pages, clicking on the arrow left of 5444 the labels moves to the next tab page on the right. (Simeon Bird) 5445 Solution: Check the X coordinate of the click and pass -1 as value for the 5446 left arrow. 5447 Files: src/gui_gtk_x11.c, src/term.c 5448 5449 Patch 7.1.110 (after 7.1.102) 5450 Problem: Win32: Still compilation problems with Perl. 5451 Solution: Change the #ifdefs. (Suresh Govindachar) 5452 Files: src/if_perl.xs 5453 5454 Patch 7.1.111 5455 Problem: When using ":vimgrep" with the "j" flag folds from another buffer 5456 may be displayed. (A.Politz) 5457 Solution: When not jumping to another buffer update the folds. 5458 Files: src/quickfix.c 5459 5460 Patch 7.1.112 5461 Problem: Using input() with a wrong argument may crash Vim. (A.Politz) 5462 Solution: Init the input() return value to NULL. 5463 Files: src/eval.c 5464 5465 Patch 7.1.113 5466 Problem: Using map() to go over an empty list causes memory to be freed 5467 twice. (A.Politz) 5468 Solution: Don't clear the typeval in restore_vimvar(). 5469 Files: src/eval.c 5470 5471 Patch 7.1.114 5472 Problem: Memory leak in getmatches(). 5473 Solution: Don't increment the refcount twice. 5474 Files: src/eval.c 5475 5476 Patch 7.1.115 (after 7.1.105) 5477 Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) 5478 Solution: Init variable to NULL. 5479 Files: src/eval.c 5480 5481 Patch 7.1.116 5482 Problem: Cannot display Unicode characters above 0x10000. 5483 Solution: Remove the replacement with a question mark when UNICODE16 is not 5484 defined. (partly by Nicolas Weber) 5485 Files: src/screen.c 5486 5487 Patch 7.1.117 5488 Problem: Can't check whether Vim was compiled with Gnome. (Tony Mechelynck) 5489 Solution: Add gui_gnome to the has() list. 5490 Files: src/eval.c 5491 5492 Patch 7.1.118 (after 7.1.107) 5493 Problem: Compiler warning for Visual C compiler. 5494 Solution: Add typecast. (Mike Williams) 5495 Files: src/ops.c 5496 5497 Patch 7.1.119 5498 Problem: Crash when 'cmdheight' set to very large value. (A.Politz) 5499 Solution: Limit 'cmdheight' to 'lines' minus one. Store right value of 5500 'cmdheight' when running out of room. 5501 Files: src/option.c, src/window.c 5502 5503 Patch 7.1.120 5504 Problem: Can't properly check memory leaks while running tests. 5505 Solution: Add an argument to garbagecollect(). Delete functions and 5506 variables in the test scripts. 5507 Files: runtime/doc/eval.txt src/eval.c, src/globals.h, src/main.c, 5508 src/testdir/Makefile, src/testdir/test14.in, 5509 src/testdir/test26.in, src/testdir/test34.in, 5510 src/testdir/test45.in, src/testdir/test47.in, 5511 src/testdir/test49.in, src/testdir/test55.in, 5512 src/testdir/test56.in, src/testdir/test58.in, 5513 src/testdir/test59.in, src/testdir/test60.in, 5514 src/testdir/test60.vim, src/testdir/test62.in, 5515 src/testdir/test63.in, src/testdir/test64.in, 5516 5517 Patch 7.1.121 5518 Problem: Using ":cd %:h" when editing a file in the current directory 5519 results in an error message for using an empty string. 5520 Solution: When "%:h" results in an empty string use ".". 5521 Files: src/eval.c 5522 5523 Patch 7.1.122 5524 Problem: Mac: building Vim.app fails. Using wrong architecture. 5525 Solution: Use line continuation for the gui_bundle dependency. Detect the 5526 system architecture with "uname -a". 5527 Files: src/main.aap 5528 5529 Patch 7.1.123 5530 Problem: Win32: ":edit foo ~ foo" expands "~". 5531 Solution: Change the call to expand_env(). 5532 Files: src/ex_docmd.c, src/misc1.c, src/proto/misc1.pro, src/option.c 5533 5534 Patch 7.1.124 (extra) 5535 Problem: Mac: When dropping a file on Vim.app that is already in the buffer 5536 list (from .viminfo) results in editing an empty, unnamed buffer. 5537 (Axel Kielhorn) Also: warning for unused variable. 5538 Solution: Move to the buffer of the first argument. Delete unused variable. 5539 Files: src/gui_mac.c 5540 5541 Patch 7.1.125 5542 Problem: The TermResponse autocommand event is not always triggered. (Aron 5543 Griffis) 5544 Solution: When unblocking autocommands check if v:termresponse changed and 5545 trigger the event then. 5546 Files: src/buffer.c, src/diff.c, src/ex_getln.c, src/fileio.c, 5547 src/globals.h, src/misc2.c, src/proto/fileio.pro, src/window.c 5548 5549 Patch 7.1.126 (extra) 5550 Problem: ":vimgrep */*" fails when a BufRead autocommand changes directory. 5551 (Bernhard Kuhn) 5552 Solution: Change back to the original directory after loading a file. 5553 Also: use shorten_fname1() to avoid duplicating code. 5554 Files: src/buffer.c, src/ex_docmd.c, src/fileio.c, src/gui_gtk.c, 5555 src/gui_w48.c, src/proto/ex_docmd.pro, src/proto/fileio.pro, 5556 src/quickfix.c 5557 5558 Patch 7.1.127 5559 Problem: Memory leak when doing cmdline completion. (Dominique Pelle) 5560 Solution: Free "orig" argument of ExpandOne() when it's not used. 5561 Files: src/ex_getln.c 5562 5563 Patch 7.1.128 (extra) 5564 Problem: Build problems with new version of Cygwin. 5565 Solution: Remove -D__IID_DEFINED__, like with MingW. (Guopeng Wen) 5566 Files: src/Make_cyg.mak 5567 5568 Patch 7.1.129 (extra) 5569 Problem: Win32: Can't get the user name when it is longer than 15 5570 characters. 5571 Solution: Use UNLEN instead of MAX_COMPUTERNAME_LENGTH. (Alexei Alexandrov) 5572 Files: src/os_win32.c 5573 5574 Patch 7.1.130 5575 Problem: Crash with specific order of undo and redo. (A.Politz) 5576 Solution: Clear and adjust pointers properly. Add u_check() for debugging. 5577 Files: src/undo.c, src/structs.h 5578 5579 Patch 7.1.131 5580 Problem: ":mksession" always adds ":setlocal autoread". (Christian J. 5581 Robinson) 5582 Solution: Skip boolean global/local option using global value. 5583 Files: src/option.c 5584 5585 Patch 7.1.132 5586 Problem: getpos("'>") may return a negative column number for a Linewise 5587 selection. (A.Politz) 5588 Solution: Don't add one to MAXCOL. 5589 Files: src/eval.c 5590 5591 Patch 7.1.133 (after 7.1.126) 5592 Problem: shorten_fname1() linked when it's not needed. 5593 Solution: Add #ifdef. 5594 Files: src/fileio.c 5595 5596 Patch 7.1.134 (extra) 5597 Problem: Win32: Can't build with VC8 5598 Solution: Detect the MSVC version instead of using NMAKE_VER. 5599 (Mike Williams) 5600 Files: src/Make_mvc.mak 5601 5602 Patch 7.1.135 5603 Problem: Win32: When editing a file c:\tmp\foo and c:\tmp\\foo we have two 5604 buffers for the same file. (Suresh Govindachar) 5605 Solution: Invoke FullName_save() when a path contains "//" or "\\". 5606 Files: src/buffer.c 5607 5608 Patch 7.1.136 5609 Problem: Memory leak when using Ruby syntax highlighting. (Dominique Pelle) 5610 Solution: Free the contained-in list. 5611 Files: src/syntax.c 5612 5613 Patch 7.1.137 5614 Problem: Build failure when using EXITFREE. (Dominique Pelle) 5615 Solution: Add an #ifdef around using clip_exclude_prog. 5616 Files: src/misc2.c 5617 5618 Patch 7.1.138 5619 Problem: The Perl Msg() function doesn't stop when "q" is typed at the more 5620 prompt. (Hari Krishna Dara) 5621 Solution: Check got_int. 5622 Files: src/if_perl.xs 5623 5624 Patch 7.1.139 5625 Problem: When using marker folding and ending Insert mode with CTRL-C the 5626 current fold is truncated. (Fred Kater) 5627 Solution: Ignore got_int while updating folds. 5628 Files: src/fold.c 5629 5630 Patch 7.1.140 5631 Problem: v:count is set only after typing a non-digit, that makes it 5632 difficult to make a nice mapping. 5633 Solution: Set v:count while still typing the count. 5634 Files: src/normal.c 5635 5636 Patch 7.1.141 5637 Problem: GTK: -geom argument doesn't support a negative offset. 5638 Solution: Compute position from the right/lower corner. 5639 Files: src/gui_gtk_x11.c 5640 5641 Patch 7.1.142 5642 Problem: ":redir @A>" doesn't work. 5643 Solution: Ignore the extra ">" also when appending. (James Vega) 5644 Files: src/ex_docmd.c 5645 5646 Patch 7.1.143 5647 Problem: Uninitialized memory read when diffing three files. (Dominique 5648 Pelle) 5649 Solution: Remove "+ !notset" so that we don't use fields that were not 5650 computed. 5651 Files: src/diff.c 5652 5653 Patch 7.1.144 5654 Problem: After ":diffup" cursor can be in the wrong position. 5655 Solution: Force recomputing the cursor position. 5656 Files: src/diff.c 5657 5658 Patch 7.1.145 5659 Problem: Insert mode completion: When using the popup menu, after 5660 completing a word and typing a non-word character Vim is still 5661 completing the same word, following CTRL-N doesn't work. 5662 Insert mode Completion: When using CTRL-X O and there is only 5663 "struct." before the cursor, typing one char to reduce the 5664 matches, then BS completion stops. 5665 Solution: When typing a character that is not part of the item being 5666 completed, stop complete mode. For whole line completion also 5667 accept a space. For file name completion stop at a path 5668 separator. 5669 For omni completion stay in completion mode even if completing 5670 with empty string. 5671 Files: src/edit.c 5672 5673 Patch 7.1.146 (extra) 5674 Problem: VMS: Files with a very rare record organization (VFC) cannot be 5675 properly written by Vim. 5676 On older VAX systems mms runs into a syntax error. 5677 Solution: Check for this special situation. Do not wrap a comment, make it 5678 one long line. (Zoltan Arpadffy) 5679 Files: src/fileio.c, src/Make_vms.mms 5680 5681 Patch 7.1.147 (after 7.1.127) 5682 Problem: Freeing memory already freed when completing user name. (Meino 5683 Cramer) 5684 Solution: Use a flag to remember if "orig" needs to be freed. 5685 Files: src/ex_getln.c 5686 5687 Patch 7.1.148 5688 Problem: Some types are not found by configure. 5689 Solution: Test for the sys/types.h header file. (Sean Boudreau) 5690 Files: src/configure.in, src/auto/configure 5691 5692 Patch 7.1.149 5693 Problem: GTK GUI: When the completion popup menu is used scrolling another 5694 window by the scrollbar is OK, but using the scroll wheel it 5695 behaves line <Enter>. 5696 Solution: Ignore K_MOUSEDOWN and K_MOUSEUP. Fix redrawing the popup menu. 5697 Files: src/edit.c, src/gui.c 5698 5699 Patch 7.1.150 5700 Problem: When 'clipboard' has "unnamed" using "p" in Visual mode doesn't 5701 work correctly. (Jianrong Yu) 5702 Solution: When 'clipboard' has "unnamed" also obtain the selection when 5703 getting the default register. 5704 Files: src/ops.c 5705 5706 Patch 7.1.151 5707 Problem: Using whole line completion with 'ignorecase' and 'infercase' set 5708 and the line is empty get an lalloc(0) error. 5709 Solution: Don't try changing case for an empty match. (Matthew Wozniski) 5710 Files: src/edit.c 5711 5712 Patch 7.1.152 5713 Problem: Display problem when 'hls' and 'cursorcolumn' are set and 5714 searching for "$". (John Mullin) Also when scrolling 5715 horizontally when 'wrap' is off. 5716 Solution: Keep track of the column where highlighting was set. Check the 5717 column offset when skipping characters. 5718 Files: src/screen.c 5719 5720 Patch 7.1.153 5721 Problem: Compiler warnings on SGI. Undefined XpmAllocColor (Charles 5722 Campbell) 5723 Solution: Add type casts. Init st_dev and st_ino separately. Don't use 5724 type casts for vim_snprintf() when HAVE_STDARG_H is defined. 5725 Define XpmAllocColor when needed. 5726 Files: src/eval.c, src/ex_cmds.c, src/fileio.c, src/misc2.c, 5727 src/gui_xmebw.c 5728 5729 Patch 7.1.154 5730 Problem: Compiler warning for signed/unsigned compare. 5731 Solution: Add type cast. 5732 Files: src/screen.c 5733 5734 Patch 7.1.155 5735 Problem: Crash when 'undolevels' is 0 and repeating "udd". (James Vega) 5736 Solution: When there is only one branch use u_freeheader() to delete it. 5737 Files: src/undo.c 5738 5739 Patch 7.1.156 5740 Problem: Overlapping arguments for strcpy() when expanding command line 5741 variables. 5742 Solution: Use mch_memmove() instead of STRCPY(). Also fix a few typos. 5743 (Dominique Pelle) 5744 Files: src/ex_docmd.c 5745 5746 Patch 7.1.157 5747 Problem: In Ex mode, :" gives an error at end-of-file. (Michael Hordijk) 5748 Solution: Only give an error for an empty line, not for a comment. 5749 Files: src/ex_docmd.c 5750 5751 Patch 7.1.158 (extra) 5752 Problem: Win32 console: When 'encoding' is "utf-8" and typing Alt-y the 5753 result is wrong. Win32 GUI: Alt-y results in "u" when 'encoding' 5754 is "cp1250" (Lukas Cerman) 5755 Solution: For utf-8 don't set the 7th bit in a byte, convert to the correct 5756 byte sequence. For cp1250, when conversion to 'encoding' results 5757 in the 7th bit not set, set the 7th bit after conversion. 5758 Files: src/os_win32.c, src/gui_w48.c 5759 5760 Patch 7.1.159 5761 Problem: strcpy() has overlapping arguments. 5762 Solution: Use mch_memmove() instead. (Dominique Pelle) 5763 Files: src/ex_cmds.c 5764 5765 Patch 7.1.160 5766 Problem: When a focus autocommand is defined, getting or losing focus 5767 causes the hit-enter prompt to be redrawn. (Bjorn Winckler) 5768 Solution: Overwrite the last line. 5769 Files: src/message.c 5770 5771 Patch 7.1.161 5772 Problem: Compilation errors with tiny features and EXITFREE. 5773 Solution: Add #ifdefs. (Dominique Pelle) 5774 Files: src/edit.c, src/misc2.c 5775 5776 Patch 7.1.162 5777 Problem: Crash when using a modifier before "while" or "for". (A.Politz) 5778 Solution: Skip modifiers when checking for a loop command. 5779 Files: src/proto/ex_docmd.pro, src/ex_docmd.c, src/ex_eval.c 5780 5781 Patch 7.1.163 5782 Problem: Warning for the unknown option 'bufsecret'. 5783 Solution: Remove the lines .vim that use this option. (Andy Wokula) 5784 Files: runtime/menu.vim 5785 5786 Patch 7.1.164 5787 Problem: Reading past end of regexp pattern. (Dominique Pelle) 5788 Solution: Use utf_ptr2len(). 5789 Files: src/regexp.c 5790 5791 Patch 7.1.165 5792 Problem: Crash related to getting X window ID. (Dominique Pelle) 5793 Solution: Don't trust the window ID that we got in the past, check it every 5794 time. 5795 Files: src/os_unix.c 5796 5797 Patch 7.1.166 5798 Problem: Memory leak for using "gp" in Visual mode. 5799 Solution: Free memory in put_register(). (Dominique Pelle) 5800 Files: src/ops.c 5801 5802 Patch 7.1.167 5803 Problem: Xxd crashes when using "xxd -b -c 110". (Debian bug 452789) 5804 Solution: Allocate more memory. Fix check for maximum number of columns. 5805 Files: src/xxd/xxd.c 5806 5807 Patch 7.1.168 (extra) 5808 Problem: Win32 GUI: Since patch 7.1.095, when the Vim window does not have 5809 focus, clicking in it doesn't position the cursor. (Juergen 5810 Kraemer) 5811 Solution: Don't reset s_button_pending just after receiving focus. 5812 Files: src/gui_w48.c 5813 5814 Patch 7.1.169 5815 Problem: Using uninitialized variable when system() fails. (Dominique 5816 Pelle) 5817 Solution: Let system() return an empty string when it fails. 5818 Files: src/eval.c 5819 5820 Patch 7.1.170 5821 Problem: Valgrind warning for overlapping arguments for strcpy(). 5822 Solution: Use mch_memmove() instead. (Dominique Pelle) 5823 Files: src/getchar.c 5824 5825 Patch 7.1.171 5826 Problem: Reading one byte before allocated memory. 5827 Solution: Check index not to become negative. (Dominique Pelle) 5828 Files: src/ex_getln.c 5829 5830 Patch 7.1.172 5831 Problem: When 'buftype' is "acwrite" Vim still checks if the file or 5832 directory exists before overwriting. 5833 Solution: Don't check for overwriting when the buffer name is not a file 5834 name. 5835 Files: src/ex_cmds.c 5836 5837 Patch 7.1.173 5838 Problem: Accessing freed memory. (Dominique Pelle) 5839 Solution: Don't call reg_getline() to check if a line is the first in the 5840 file. 5841 Files: src/regexp.c 5842 5843 Patch 7.1.174 5844 Problem: Writing NUL past end of a buffer. 5845 Solution: Copy one byte less when using strncat(). (Dominique Pelle) 5846 Files: src/ex_cmds.c, src/ex_docmd.c, 5847 5848 Patch 7.1.175 5849 Problem: <BS> doesn't work with some combination of 'sts', 'linebreak' and 5850 'backspace'. (Francois Ingelrest) 5851 Solution: When adding white space results in not moving back delete one 5852 character. 5853 Files: src/edit.c 5854 5855 Patch 7.1.176 5856 Problem: Building with Aap fails when the "compiledby" argument contains 5857 '<' or '>' characters. (Alex Yeh) 5858 Solution: Change how quoting is done in the Aap recipe. 5859 Files: src/main.aap 5860 5861 Patch 7.1.177 5862 Problem: Freeing memory twice when in debug mode while reading a script. 5863 Solution: Ignore script input while in debug mode. 5864 Files: src/ex_cmds2.c, src/getchar.c, src/globals.h 5865 5866 Patch 7.1.178 5867 Problem: "%" doesn't work on "/* comment *//* comment */". 5868 Solution: Don't handle the "//" in "*//*" as a C++ comment. (Markus 5869 Heidelberg) 5870 Files: src/search.c 5871 5872 Patch 7.1.179 5873 Problem: Need to check for TCL 8.5. 5874 Solution: Adjust configure script. (Alexey Froloff) 5875 Files: src/configure.in, src/auto/configure 5876 5877 Patch 7.1.180 5878 Problem: Regexp patterns not tested sufficiently. 5879 Solution: Add more checks to the regexp test. 5880 Files: src/testdir/test64.in, src/testdir/test64.ok 5881 5882 Patch 7.1.181 5883 Problem: Accessing uninitialized memory in Farsi mode. (Dominique Pelle) 5884 Solution: Only invoke lrF_sub() when there is something to do. 5885 Files: src/ex_cmds.c 5886 5887 Patch 7.1.182 5888 Problem: When using tab pages and an argument list the session file may 5889 contain wrong "next" commands. (Alexander Bluem) 5890 Solution: Use "argu" commands and only when needed. 5891 Files: src/ex_docmd.c 5892 5893 Patch 7.1.183 5894 Problem: "Internal error" for ":echo matchstr('a', 'a\%[\&]')" (Mitanu 5895 Paul) 5896 Solution: Inside "\%[]" detect \&, \| and \) as an error. 5897 Files: src/regexp.c 5898 5899 Patch 7.1.184 5900 Problem: Crash when deleting backwards over a line break in Insert mode. 5901 Solution: Don't advance the cursor when it's already on the NUL after a 5902 line. (Matthew Wozniski) 5903 Files: src/normal.c 5904 5905 Patch 7.1.185 5906 Problem: Using "gR" with a multibyte encoding and typing a CR pushes 5907 characters onto the replace stack incorrectly, resulting in BS 5908 putting back the wrong characters. (Paul B. Mahol) 5909 Solution: Push multibyte characters onto the replace stack in reverse byte 5910 order. Add replace_push_mb(). 5911 Files: src/edit.c, src/misc1.c, src/proto/edit.pro 5912 5913 Patch 7.1.186 5914 Problem: "expand('<afile>')" returns a bogus value after changing 5915 directory. (Dave Fishburn) 5916 Solution: Copy "autocmd_fname" to allocated memory and expand to full 5917 filename. Shorten the path when expanding <afile>. 5918 Files: src/ex_docmd.c, src/fileio.c 5919 5920 Patch 7.1.187 5921 Problem: Win32 GUI: Custom completion using system() no longer works 5922 after patch 7.1.104. (Erik Falor) 5923 Solution: Loop when safe_vgetc() returns K_IGNORE. 5924 Files: src/ex_getln.c 5925 5926 Patch 7.1.188 5927 Problem: When 'showmode' is off the message for changing a readonly file is 5928 given in the second column instead of the first. (Payl B. Mahol) 5929 Solution: Put the W10 message in the first column. 5930 Files: src/edit.c 5931 5932 Patch 7.1.189 (after 7.1.104) 5933 Problem: Patch 7.1.104 was incomplete. 5934 Solution: Also call plain_vgetc() in ask_yesno(). 5935 Files: src/misc1.c 5936 5937 Patch 7.1.190 5938 Problem: Cursor after end-of-line: "iA sentence.<Esc>)" 5939 Solution: Move cursor back and make motion inclusive. 5940 Files: src/normal.c 5941 5942 Patch 7.1.191 5943 Problem: Win32 GUI: after patch 7.1.168 there is still a problem when 5944 clicking in a scrollbar. (Juergen Jottkaerr) 5945 Solution: Don't check the input buffer when dragging the scrollbar. 5946 Files: src/gui.c 5947 5948 Patch 7.1.192 5949 Problem: With Visual block selection, "s" and typing something, CTRL-C 5950 doesn't stop Vim from repeating the replacement in other lines, 5951 like happens for "I". 5952 Solution: Check for "got_int" to be set. 5953 Files: src/ops.c 5954 5955 Patch 7.1.193 5956 Problem: Some Vim 5.x digraphs are missing in Vim 7, even though the 5957 character pairs are not used. (Philippe de Muyter) 5958 Solution: Add those Vim 5.x digraphs that don't conflict with others. 5959 Files: src/digraph.c 5960 5961 Patch 7.1.194 5962 Problem: ":echo glob('~/{}')" results in /home/user//. 5963 Solution: Don't add a slash if there already is one. 5964 Files: src/os_unix.c 5965 5966 Patch 7.1.195 5967 Problem: '0 mark doesn't work for "~/foo ~ foo". 5968 Solution: Don't expand the whole file name, only "~/". 5969 Files: src/mark.c 5970 5971 Patch 7.1.196 (extra) 5972 Problem: Win32 GUI: "\n" in a tooltip doesn't cause a line break. (Erik 5973 Falor) 5974 Solution: Use the TTM_SETMAXTIPWIDTH message. 5975 Files: src/gui_w32.c 5976 5977 Patch 7.1.197 5978 Problem: Mac: "make install" doesn't work when prefix defined. 5979 Solution: Pass different arguments to "make installruntime". (Jjgod Jiang) 5980 Files: src/Makefile 5981 5982 Patch 7.1.198 5983 Problem: Hang when using ":s/\n//gn". (Burak Gorkemli) 5984 Solution: Set "skip_match". 5985 Files: src/ex_cmds.c 5986 5987 Patch 7.1.199 5988 Problem: Can't do command line completion for a specific file name 5989 extension. 5990 Solution: When the pattern ends in "$" don't add a star for completion and 5991 remove the "$" before matching with file names. 5992 Files: runtime/doc/cmdline.txt, src/ex_getln.c 5993 5994 Patch 7.1.200 (after 7.1.177 and 7.1.182) 5995 Problem: Compiler warnings for uninitialized variables. 5996 Solution: Init variables. 5997 Files: src/ex_cmds2.c, src/ex_docmd.c 5998 5999 Patch 7.1.201 6000 Problem: When reading stdin 'fenc' and 'ff' are not set. 6001 Solution: Set the options after reading stdin. (Ben Schmidt) 6002 Files: src/fileio.c 6003 6004 Patch 7.1.202 6005 Problem: Incomplete utf-8 byte sequence is not checked for validity. 6006 Solution: Check the bytes that are present for being valid. (Ben Schmidt) 6007 Files: src/mbyte.c 6008 6009 Patch 7.1.203 6010 Problem: When 'virtualedit' is "onemore" then "99|" works but ":normal 99|" 6011 doesn't. (Andy Wokula) 6012 Solution: Check for "onemore" flag in check_cursor_col(). 6013 Files: src/misc2.c 6014 6015 Patch 7.1.204 (extra) 6016 Problem: Win32: Using the example at 'balloonexpr' the balloon disappears 6017 after four seconds and then comes back again. Also moves the 6018 mouse pointer a little bit. (Yongwei Wu) 6019 Solution: Set the autopop time to 30 seconds (the max value). (Sergey 6020 Khorev) Move the mouse two pixels forward and one back to end up 6021 in the same position (really!). 6022 Files: src/gui_w32.c 6023 6024 Patch 7.1.205 6025 Problem: Can't get the operator in an ":omap". 6026 Solution: Add the "v:operator" variable. (Ben Schmidt) 6027 Files: runtime/doc/eval.txt, src/eval.c, src/normal.c, src/vim.h 6028 6029 Patch 7.1.206 6030 Problem: Compiler warnings when using MODIFIED_BY. 6031 Solution: Add type casts. (Ben Schmidt) 6032 Files: src/version.c 6033 6034 Patch 7.1.207 6035 Problem: Netbeans: "remove" cannot delete one line. 6036 Solution: Remove partial lines and whole lines properly. Avoid a memory 6037 leak. (Xavier de Gaye) 6038 Files: src/netbeans.c 6039 6040 Patch 7.1.208 6041 Problem: On Alpha get an unaligned access error. 6042 Solution: Store the dictitem pointer before using it. (Matthew Luckie) 6043 Files: src/eval.c 6044 6045 Patch 7.1.209 6046 Problem: GTK: When using the netrw plugin and doing ":gui" Vim hangs. 6047 Solution: Stop getting a selection after three seconds. This is a hack. 6048 Files: src/gui_gtk_x11.c 6049 6050 Patch 7.1.210 6051 Problem: Listing mapping for 0xdb fails when 'encoding' is utf-8. (Tony 6052 Mechelynck) 6053 Solution: Recognize K_SPECIAL KS_EXTRA KE_CSI as a CSI byte. 6054 Files: src/mbyte.c 6055 6056 Patch 7.1.211 6057 Problem: The matchparen plugin may take an unexpected amount of time, so 6058 that it looks like Vim hangs. 6059 Solution: Add a timeout to searchpair(), searchpairpos(), search() and 6060 searchpos(). Use half a second timeout in the plugin. 6061 Files: runtime/doc/eval.txt, runtime/plugin/matchparen.vim, src/edit.c, 6062 src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, src/normal.c, 6063 src/proto/eval.pro, src/proto/ex_cmds2.pro, src/proto/search.pro, 6064 src/search.c 6065 6066 Patch 7.1.212 6067 Problem: Accessing a byte before a line. 6068 Solution: Check that the column is 1 or more. (Dominique Pelle) 6069 Files: src/edit.c 6070 6071 Patch 7.1.213 6072 Problem: A ":tabedit" command that results in the "swap file exists" dialog 6073 and selecting "abort" doesn't close the new tab. (Al Budden) 6074 Solution: Pass "old_curwin" to do_exedit(). 6075 Files: src/ex_docmd.c 6076 6077 Patch 7.1.214 6078 Problem: ":1s/g\n\zs1//" deletes characters from the first line. (A Politz) 6079 Solution: Start replacing in the line where the match starts. 6080 Files: src/ex_cmds.c 6081 6082 Patch 7.1.215 6083 Problem: It is difficult to figure out what syntax items are nested at a 6084 certain position. 6085 Solution: Add the synstack() function. 6086 Files: runtime/doc/eval.txt, src/eval.c, src/proto/syntax.pro, 6087 src/syntax.c 6088 6089 Patch 7.1.216 6090 Problem: Variants of --remote-tab are not mentioned for "vim --help". 6091 Solution: Display optional -wait and -silent. 6092 Files: src/main.c 6093 6094 Patch 7.1.217 6095 Problem: The "help-tags" tag may be missing from runtime/doc/tags when it 6096 was generated during "make install". 6097 Solution: Add the "++t" argument to ":helptags" to force adding the tag. 6098 Files: runtime/doc/Makefile, runtime/doc/various.txt, src/ex_cmds.c, 6099 src/ex_cmds.h 6100 6101 Patch 7.1.218 6102 Problem: A syntax region without a "keepend", containing a region with 6103 "extend" could be truncated at the end of the containing region. 6104 Solution: Do not call syn_update_ends() when there are no keepend items. 6105 Files: src/syntax.c 6106 6107 Patch 7.1.219 (after 7.1.215) 6108 Problem: synstack() returns situation after the current character, can't 6109 see the state for a one-character region. 6110 Solution: Don't update ending states in the requested column. 6111 Files: runtime/doc/eval.txt, src/eval.c, src/hardcopy.c, 6112 src/proto/syntax.pro, src/screen.c, src/spell.c, src/syntax.c 6113 6114 Patch 7.1.220 6115 Problem: When a ")" or word movement command moves the cursor back from the 6116 end of the line it may end up on the trail byte of a multibyte 6117 character. It's also moved back when it isn't needed. 6118 Solution: Add the adjust_cursor() function. 6119 Files: src/normal.c 6120 6121 Patch 7.1.221 6122 Problem: When inserting a "(", triggering the matchparen plugin, the 6123 following highlighting may be messed up. 6124 Solution: Before triggering the CursorMovedI autocommands update the display 6125 to update the stored syntax stacks for the change. 6126 Files: src/edit.c 6127 6128 Patch 7.1.222 (after 7.1.217) 6129 Problem: Wildcards in argument of ":helptags" are not expanded. (Marcel 6130 Svitalsky) 6131 Solution: Expand wildcards in the directory name. 6132 Files: src/ex_cmds.c 6133 6134 Patch 7.1.223 6135 Problem: glob() doesn't work properly when 'shell' is "sh" or "bash" and 6136 the expanded name contains spaces, '~', single quotes and other 6137 special characters. (Adri Verhoef, Charles Campbell) 6138 Solution: For Posix shells define a vimglob() function to list the matches 6139 instead of using "echo" directly. 6140 Files: src/os_unix.c 6141 6142 Patch 7.1.224 6143 Problem: When using "vim -F -o file1 file2" only one window is 6144 right-to-left. Same for "-H". (Ben Schmidt) 6145 Solution: use set_option_value() to set 'rightleft'. 6146 Files: src/main.c 6147 6148 Patch 7.1.225 6149 Problem: Using uninitialized value when XGetWMNormalHints() fails. 6150 Solution: Check the return value. (Dominique Pelle) 6151 Files: src/os_unix.c 6152 6153 Patch 7.1.226 6154 Problem: Command line completion doesn't work when a file name contains a 6155 '&' character. 6156 Solution: Accept all characters in a file name, except ones that end a 6157 command or white space. 6158 Files: src/ex_docmd.c 6159 6160 Patch 7.1.227 6161 Problem: Hang in syntax HL when moving over a ")". (Dominique Pelle) 6162 Solution: Avoid storing a syntax state in the wrong position in the list of 6163 remembered states. 6164 Files: src/syntax.c 6165 6166 Patch 7.1.228 6167 Problem: When 'foldmethod' is "indent" and a fold is created with ">>" it 6168 can't be closed with "zc". (Daniel Shahaf) 6169 Solution: Reset the "small" flag of a fold when adding a line to it. 6170 Files: src/fold.c 6171 6172 Patch 7.1.229 6173 Problem: A fold is closed when it shouldn't when 'foldmethod' is "indent" 6174 and backspacing a non-white character so that the indent increases. 6175 Solution: Keep the fold open after backspacing a character. 6176 Files: src/edit.c 6177 6178 Patch 7.1.230 6179 Problem: Memory leak when executing SourceCmd autocommands. 6180 Solution: Free the memory. (Dominique Pelle) 6181 Files: src/ex_cmds2.c 6182 6183 Patch 7.1.231 6184 Problem: When shifting lines the change is acted upon multiple times. 6185 Solution: Don't have shift_line() call changed_bytes. 6186 Files: src/edit.c, src/ops.c, src/proto/edit.pro, src/proto/ops.pro 6187 6188 Patch 7.1.232 (after 7.1.207 and 7.1.211) 6189 Problem: Compiler warnings with MSVC. 6190 Solution: Add type casts. (Mike Williams) 6191 Files: src/ex_cmds2.c, src/netbeans.c 6192 6193 Patch 7.1.233 6194 Problem: Crash when doing Insert mode completion for a user defined 6195 command. (Yegappan Lakshmanan) 6196 Solution: Don't use the non-existing command line. 6197 Files: src/ex_getln.c 6198 6199 Patch 7.1.234 6200 Problem: When diff'ing three files the third one isn't displayed correctly. 6201 (Gary Johnson) 6202 Solution: Compute the size of diff blocks correctly when merging blocks. 6203 Compute filler lines correctly when scrolling. 6204 Files: src/diff.c 6205 6206 Patch 7.1.235 6207 Problem: Pattern matching is slow when using a lot of simple patterns. 6208 Solution: Avoid allocating memory by not freeing it when it's not so much. 6209 (Alexei Alexandrov) 6210 Files: src/regexp.c 6211 6212 Patch 7.1.236 6213 Problem: When using 'incsearch' and 'hlsearch' a complicated pattern may 6214 make Vim hang until CTRL-C is pressed. 6215 Solution: Add the 'redrawtime' option. 6216 Files: runtime/doc/options.txt, src/ex_cmds.c, src/ex_docmd.c, 6217 src/ex_getln.c, src/gui.c, src/misc1.c, src/normal.c, 6218 src/option.c, src/quickfix.c, src/regexp.c, src/proto/regexp.pro, 6219 src/proto/search.pro, src/search.c, src/screen.c, 6220 src/option.h, src/spell.c, src/structs.h, src/syntax.c, src/tag.c, 6221 src/vim.h 6222 6223 Patch 7.1.237 6224 Problem: Compiler warning on an Alpha processor in Motif code. 6225 Solution: Change a typecast. (Adri Verhoef) 6226 Files: src/gui_motif.c 6227 6228 Patch 7.1.238 6229 Problem: Using the 'c' flag with searchpair() may cause it to fail. Using 6230 the 'r' flag doesn't work when 'wrapscan' is set. (A.Politz) 6231 Solution: Only use the 'c' flag for the first search, not for repeating. 6232 When using 'r' imply 'W'. (Antony Scriven) 6233 Files: src/eval.c 6234 6235 Patch 7.1.239 (after 7.1.233) 6236 Problem: Compiler warning for sprintf() argument. 6237 Solution: Add a typecast. (Nico Weber) 6238 Files: src/ex_getln.c 6239 6240 Patch 7.1.240 6241 Problem: When "gUe" turns a German sharp s into SS the operation stops 6242 before the end of the word. Latin2 has the same sharp s but it's 6243 not changed to SS there. 6244 Solution: Make sure all the characters are operated upon. Detect the sharp 6245 s in latin2. Also fixes that changing case of a multibyte 6246 character that changes the byte count doesn't always work. 6247 Files: src/ops.c 6248 6249 Patch 7.1.241 6250 Problem: Focus change events not always ignored. (Erik Falor) 6251 Solution: Ignore K_IGNORE in Insert mode in a few more places. 6252 Files: src/edit.c 6253 6254 Patch 7.1.242 (after 7.1.005) 6255 Problem: "cib" doesn't work properly on "(x)". (Tim Pope) 6256 Solution: Use ltoreq() instead of lt(). Also fix "ciT" on "<a>x</a>". 6257 Files: src/search.c 6258 6259 Patch 7.1.243 (after 7.1.240) 6260 Problem: "U" doesn't work on all text in Visual mode. (Adri Verhoef) 6261 Solution: Loop over all the lines to be changed. Add tests for this. 6262 Files: src/ops.c, src/testdir/test39.in, src/testdir/test39.ok 6263 6264 Patch 7.1.244 6265 Problem: GUI may have part of the command line cut off. 6266 Solution: Don't round the number of lines up, always round down. 6267 (Tony Houghton, Scott Dillard) 6268 Files: src/gui.c 6269 6270 Patch 7.1.245 6271 Problem: Pressing CTRL-\ three times causes Vim to quit. (Ranganath Rao). 6272 Also for f CTRL-\ CTRL-\. 6273 Solution: When going to cooked mode in mch_delay() set a flag to ignore 6274 SIGQUIT. 6275 Files: src/os_unix.c 6276 6277 Patch 7.1.246 6278 Problem: Configure hangs when the man pager is something strange. (lorien) 6279 Solution: Set MANPAGER and PAGER to "cat". (Micah Cowan) 6280 Files: src/auto/configure, src/configure.in 6281 6282 Patch 7.1.247 6283 Problem: When using Netbeans backspacing in Insert mode skips a character 6284 now and then. (Ankit Jain) 6285 Solution: Avoid calling netbeans_removed(), it frees the line pointer. 6286 (partly by Dominique Pelle). 6287 Files: src/misc1.c 6288 6289 Patch 7.1.248 6290 Problem: Can't set the '" mark. Can't know if setpos() was successful. 6291 Solution: Allow setting the '" mark with setpos(). Have setpos() return a 6292 value indicating success/failure. 6293 Files: runtime/doc/eval.txt, src/eval.c, src/mark.c 6294 6295 Patch 7.1.249 6296 Problem: After "U" the cursor can be past end of line. (Adri Verhoef) 6297 Solution: Adjust the cursor position in u_undoline(). 6298 Files: src/undo.c 6299 6300 Patch 7.1.250 6301 Problem: ":setglobal fenc=anything" gives an error message in a buffer 6302 where 'modifiable' is off. (Ben Schmidt) 6303 Solution: Don't give an error if 'modifiable' doesn't matter. 6304 Files: src/option.c 6305 6306 Patch 7.1.251 6307 Problem: Using freed memory when spell checking enabled. 6308 Solution: Obtain the current line again after calling spell_move_to(). 6309 (Dominique Pelle) 6310 Files: src/screen.c 6311 6312 Patch 7.1.252 (after 7.1.243) 6313 Problem: Test 39 fails when the environment has a utf-8 locale. (Dominique 6314 Pelle) 6315 Solution: Force 'encoding' to be latin1. 6316 Files: src/testdir/test39.in 6317 6318 Patch 7.1.253 6319 Problem: ":sort" doesn't work in a one line file. (Patrick Texier) 6320 Solution: Don't sort if there is only one line. (Dominique Pelle) 6321 Files: src/ex_cmds.c 6322 6323 Patch 7.1.254 6324 Problem: Tests 49 and 55 fail when the locale is French. 6325 Solution: Using C messages for test 49. Filter the error message in test 55 6326 such that it works when the number is halfway the message. 6327 Files: src/testdir/test49.in, src/testdir/test55.in 6328 6329 Patch 7.1.255 6330 Problem: Vim doesn't support utf-32. (Yongwei Wu) 6331 Solution: Add aliases for utf-32, it's the same as ucs-4. 6332 Files: src/mbyte.c 6333 6334 Patch 7.1.256 6335 Problem: findfile() also returns directories. 6336 Solution: Cleanup the code for finding files and directories in a list of 6337 directories. Remove the ugly global ff_search_ctx. 6338 Files: src/eval.c, src/misc2.c, src/vim.h, src/tag.c 6339 6340 Patch 7.1.257 6341 Problem: Configure can't always find the Tcl header files. 6342 Solution: Also look in /usr/local/include/tcl$tclver and 6343 /usr/include/tcl$tclver (James Vega) 6344 Files: src/auto/configure, src/configure.in 6345 6346 Patch 7.1.258 6347 Problem: Crash when doing "d/\n/e" and 'virtualedit' is "all". (Andy Wokula) 6348 Solution: Avoid that the column becomes negative. Also fixes other problems 6349 with the end of a pattern match is in column zero. (A.Politz) 6350 Files: src/search.c 6351 6352 Patch 7.1.259 6353 Problem: Cursor is in the wrong position when 'rightleft' is set, 6354 'encoding' is "utf-8" and on an illegal byte. (Dominique Pelle) 6355 Solution: Only put the cursor in the first column when actually on a 6356 double-wide character. (Yukihiro Nakadaira) 6357 Files: src/screen.c 6358 6359 Patch 7.1.260 6360 Problem: Cursor positioning problem after ^@ wrapping halfway when 6361 'encoding' is utf-8. 6362 Solution: Only count a position for printable characters. (partly by 6363 Yukihiro Nakadaira) 6364 Files: src/charset.c 6365 6366 Patch 7.1.261 6367 Problem: When a 2 byte BOM is detected Vim uses UCS-2, which doesn't work 6368 for UTF-16 text. (Tony Mechelynck) 6369 Solution: Default to UTF-16. 6370 Files: src/fileio.c, src/testdir/test42.ok 6371 6372 Patch 7.1.262 6373 Problem: Can't get the process ID of Vim. 6374 Solution: Implement getpid(). 6375 Files: src/eval.c, runtime/doc/eval.txt 6376 6377 Patch 7.1.263 6378 Problem: The filetype can consist of two dot separated names. This works 6379 for syntax and ftplugin, but not for indent. (Brett Stahlman) 6380 Solution: Use split() and loop over each dot separated name. 6381 Files: runtime/indent.vim 6382 6383 Patch 7.1.264 6384 Problem: Crash when indenting lines. (Dominique Pelle) 6385 Solution: Set the cursor column when changing the cursor line. 6386 Files: src/ops.c, src/misc1.c 6387 6388 Patch 7.1.265 6389 Problem: When 'isfname' contains a space, cmdline completion can hang. 6390 (James Vega) 6391 Solution: Reset the "len" variable. 6392 Files: src/ex_docmd.c 6393 6394 Patch 7.1.266 6395 Problem: When the version string returned by the terminal contains 6396 unexpected characters, it is used as typed input. (James Vega) 6397 Solution: Assume the escape sequence ends in a letter. 6398 Files: src/term.c 6399 6400 Patch 7.1.267 6401 Problem: When changing folds cursor may be positioned in the wrong place. 6402 Solution: Call changed_window_setting_win() instead of 6403 changed_window_setting(). 6404 Files: src/fold.c 6405 6406 Patch 7.1.268 6407 Problem: Always shows "+" at end of screen line with: ":set 6408 listchars=eol:$,extends:+ nowrap list cursorline" (Gary Johnson) 6409 Solution: Check for lcs_eol_one instead of lcs_eol. 6410 Files: src/screen.c 6411 6412 Patch 7.1.269 6413 Problem: The matchparen plugin has an arbitrary limit for the number of 6414 lines to look for a match. 6415 Solution: Rely on the searchpair() timeout. 6416 Files: runtime/plugin/matchparen.vim 6417 6418 Patch 7.1.270 6419 Problem: ":?foo?" matches in current line since patch 7.1.025. (A.Politz) 6420 Solution: Remove the SEARCH_START flag. 6421 Files: src/ex_docmd.c, src/search.c 6422 6423 Patch 7.1.271 6424 Problem: In a Vim build without autocommands, checking a file that was 6425 changed externally causes the current buffer to be changed 6426 unexpectedly. (Karsten Hopp) 6427 Solution: Store "curbuf" instead of "buf". 6428 Files: src/fileio.c 6429 6430 Patch 7.1.272 6431 Problem: The special buffer name [Location List] is not used for a buffer 6432 displayed in another tab page. 6433 Solution: Use FOR_ALL_TAB_WINDOWS instead of FOR_ALL_WINDOWS. (Hiroaki 6434 Nishihara) 6435 Files: src/buffer.c 6436 6437 Patch 7.1.273 6438 Problem: When profiling on Linux Vim exits early. (Liu Yubao) 6439 Solution: When profiling don't exit on SIGPROF. 6440 Files: src/Makefile, src/os_unix.c 6441 6442 Patch 7.1.274 (after 7.1.272) 6443 Problem: Compiler warning for optimized build. 6444 Solution: Init win to NULL. 6445 Files: src/buffer.c 6446 6447 Patch 7.1.275 (extra) 6448 Problem: Mac: ATSUI and 'antialias' don't work properly together. 6449 Solution: Fix this and the input method. (Jjgod Jiang) 6450 Files: src/vim.h, src/gui_mac.c 6451 6452 Patch 7.1.276 6453 Problem: "gw" uses 'formatexpr', even though the docs say it doesn't. 6454 Solution: Don't use 'formatexpr' for "gw". 6455 Files: src/vim.h, src/edit.c, src/ops.c, src/proto/ops.pro 6456 6457 Patch 7.1.277 6458 Problem: Default for 'paragraphs' misses some items (Colin Watson) 6459 Solution: Add TP, HP, Pp, Lp and It to 'paragraphs'. (James Vega) 6460 Files: runtime/doc/options.txt, src/option.c 6461 6462 Patch 7.1.278 (extra, after 7.1.275) 6463 Problem: Build failure when USE_CARBONKEYHANDLER is not defined. 6464 Solution: Remove #ifdef. 6465 Files: src/gui_mac.c 6466 6467 Patch 7.1.279 6468 Problem: When using cscope temporary files are left behind. 6469 Solution: Send the quit command to cscope and give it two seconds to exit 6470 nicely before killing it. (partly by Dominique Pelle) 6471 Files: src/if_cscope.c 6472 6473 Patch 7.1.280 (after 7.1.275) 6474 Problem: Mac: build problems when not using multibyte feature. (Nicholas 6475 Stallard) 6476 Solution: Don't define USE_IM_CONTROL when not using multibyte. 6477 Files: src/vim.h 6478 6479 Patch 7.1.281 (after 7.1.279) 6480 Problem: sa.sa_mask is not initialized. Cscope may not exit. 6481 Solution: Use sigemptyset(). Use SIGKILL instead of SIGTERM. (Dominique 6482 Pelle) 6483 Files: src/if_cscope.c 6484 6485 Patch 7.1.282 (extra) 6486 Problem: Win64: Edit with Vim context menu isn't installed correctly. 6487 Compiler warnings and a few other things. 6488 Solution: Add [ and ] to entry of class name. Use UINT_PTR instead of UINT. 6489 And fixes for other things. (George V. Reilly) 6490 Files: src/GvimExt/Makefile, src/dosinst.c, src/if_ole.cpp, src/if_ole.h, 6491 src/if_ole.idl, src/INSTALLpc.txt, src/Make_mvc.mak, 6492 src/os_win32.c, 6493 6494 Patch 7.1.283 6495 Problem: Non-extra part for 7.1.282. 6496 Solution: Various changes. 6497 Files: src/ex_docmd.c, src/globals.h, src/if_cscope.c, src/main.c, 6498 src/mark.c, src/netbeans.c, src/popupmnu.c, src/vim.h, 6499 src/window.c 6500 6501 Patch 7.1.284 6502 Problem: Compiler warnings for functions without prototype. 6503 Solution: Add the function prototypes. (Patrick Texier) 6504 Files: src/eval.c, src/quickfix.c 6505 6506 Patch 7.1.285 (extra) 6507 Problem: Mac: dialog hotkeys don't work. 6508 Solution: Add hotkey support. (Dan Sandler) 6509 Files: src/gui_mac.c 6510 6511 Patch 7.1.286 (after 7.1.103) 6512 Problem: "w" at the end of the buffer moves the cursor past the end of the 6513 line. (Markus Heidelberg) 6514 Solution: Move the cursor back from the NUL when it was moved forward. 6515 Files: src/normal.c 6516 6517 Patch 7.1.287 6518 Problem: Crash when reversing a list after using it. (Andy Wokula) 6519 Solution: Update the pointer to the last used element. (Dominique Pelle) 6520 Files: src/eval.c 6521 6522 Patch 7.1.288 (after 7.1.281) 6523 Problem: Cscope still leaves behind temp files when using gvim. 6524 Solution: When getting the ECHILD error loop for a while until cscope exits. 6525 (Dominique Pelle) 6526 Files: if_cscope.c 6527 6528 Patch 7.1.289 6529 Problem: When EXITFREE is defined and 'acd' is set freed memory is used. 6530 (Dominique Pelle) 6531 Solution: Reset p_acd before freeing all buffers. 6532 Files: src/misc2.c 6533 6534 Patch 7.1.290 6535 Problem: Reading bytes that were not written when spell checking and a line 6536 has a very large indent. 6537 Solution: Don't copy the start of the next line when it only contains 6538 spaces. (Dominique Pelle) 6539 Files: src/spell.c 6540 6541 Patch 7.1.291 (after 7.1.288) 6542 Problem: Compiler warning. 6543 Solution: Change 50 to 50L. 6544 Files: src/if_cscope.c 6545 6546 Patch 7.1.292 6547 Problem: When using a pattern with "\@<=" the submatches can be wrong. 6548 (Brett Stahlman) 6549 Solution: Save the submatches when attempting a look-behind match. 6550 Files: src/regexp.c 6551 6552 Patch 7.1.293 6553 Problem: Spell checking considers super- and subscript characters as word 6554 characters. 6555 Solution: Recognize the Unicode super and subscript characters. 6556 Files: src/spell.c 6557 6558 Patch 7.1.294 6559 Problem: Leaking memory when executing a shell command. 6560 Solution: Free memory when not able to save for undo. (Dominique Pelle) 6561 Files: src/ex_cmds.c 6562 6563 Patch 7.1.295 6564 Problem: Vimtutor only works with vim, not gvim. 6565 Solution: Add the -g flag to vimtutor. (Dominique Pelle) Add gvimtutor. 6566 Files: src/Makefile, src/gvimtutor, src/vimtutor, runtime/doc/vimtutor.1 6567 6568 Patch 7.1.296 6569 Problem: SELinux is not supported. 6570 Solution: Detect the selinux library and use mch_copy_sec(). (James Vega) 6571 Files: src/auto/configure, src/config.h.in, src/configure.in, 6572 src/fileio.c, src/memfile.c, src/os_unix.c, src/proto/os_unix.pro 6573 6574 Patch 7.1.297 6575 Problem: When using the search/replace dialog the parenmatch highlighting 6576 can be wrong. (Tim Duncan) 6577 Solution: In the GUI redraw function invoke the CursorMoved autocmd. 6578 Files: src/gui.c 6579 6580 Patch 7.1.298 (after 7.1.295) 6581 Problem: src/gvimtutor is not distributed. 6582 Solution: Add it to the list of distributed files. 6583 Files: Filelist 6584 6585 Patch 7.1.299 6586 Problem: Filetype detection doesn't work properly for file names ending in 6587 a part that is ignored and contain a space or other special 6588 characters. 6589 Solution: Escape the special characters using the new fnameescape function. 6590 Files: runtime/doc/eval.txt, runtime/filetype.vim, src/eval.c, 6591 src/ex_getln.c, src/proto/ex_getln.pro, src/vim.h 6592 6593 Patch 7.1.300 6594 Problem: Value of asmsyntax argument isn't checked for valid characters. 6595 Solution: Only accepts letters and digits. 6596 Files: runtime/filetype.vim 6597 6598 Patch 7.1.301 6599 Problem: When the "File/Save" menu is used in Insert mode, a tab page label 6600 is not updated to remove the "+". 6601 Solution: Call draw_tabline() from showruler(). (Bjorn Winckler) 6602 Files: src/screen.c 6603 6604 Patch 7.1.302 (after 7.1.299) 6605 Problem: Compilation error on MS-Windows. 6606 Solution: Don't use xp_shell when it's not defined. 6607 Files: src/ex_getln.c 6608 6609 Patch 7.1.303 (after 7.1.302) 6610 Problem: Compilation error on MS-Windows, again. 6611 Solution: Declare p. 6612 Files: src/ex_getln.c 6613 6614 Patch 7.1.304 6615 Problem: Shortpath_for_invalid_fname() does not work correctly and is 6616 unnecessary complex. 6617 Solution: Clean up shortpath_for_invalid_fname(). (mostly by Yegappan 6618 Lakshmanan) 6619 Files: src/eval.c 6620 6621 Patch 7.1.305 6622 Problem: Editing a compressed file with special characters in the name 6623 doesn't work properly. 6624 Solution: Escape special characters. 6625 Files: runtime/autoload/gzip.vim 6626 6627 Patch 7.1.306 6628 Problem: Some Unicode characters are handled like word characters while 6629 they are symbols. 6630 Solution: Adjust the table for Unicode classification. 6631 Files: src/mbyte.c 6632 6633 Patch 7.1.307 6634 Problem: Many warnings when compiling with Python 2.5. 6635 Solution: Use ssize_t instead of int for some types. (James Vega) 6636 Files: src/if_python.c 6637 6638 Patch 7.1.308 6639 Problem: When in readonly mode ":options" produces an error. 6640 Solution: Reset 'readonly'. (Gary Johnson) 6641 Files: runtime/optwin.vim 6642 6643 Patch 7.1.309 6644 Problem: Installing and testing with a shadow directory doesn't work. 6645 (James Vega) 6646 Solution: Add "po" to the list of directories to link. Also link the Vim 6647 scripts in testdir. And a few more small fixes. 6648 Files: src/Makefile 6649 6650 Patch 7.1.310 6651 Problem: Incomplete utf-8 byte sequence at end of the file is not detected. 6652 Accessing memory that wasn't written. 6653 Solution: Check the last bytes in the buffer for being a valid utf-8 6654 character. (mostly by Ben Schmidt) 6655 Also fix that the reported line number of the error was wrong. 6656 Files: src/fileio.c 6657 6658 Patch 7.1.311 6659 Problem: Compiler warning for missing sentinel in X code. 6660 Solution: Change 0 to NULL. (Markus Heidelberg) 6661 Files: src/mbyte.c 6662 6663 Patch 7.1.312 6664 Problem: The .po files have mistakes in error numbers. 6665 Solution: Search for these mistakes in the check script. (Dominique Pelle) 6666 Files: src/po/check.vim 6667 6668 Patch 7.1.313 6669 Problem: When the netbeans interface setModified call is used the status 6670 lines and window title are not updated. 6671 Solution: Redraw the status lines and title. (Philippe Fremy) 6672 Files: src/netbeans.c 6673 6674 Patch 7.1.314 6675 Problem: The value of 'pastetoggle' is written to the session file without 6676 any escaping. (Randall Hansen) 6677 Solution: Use put_escstr(). (Ben Schmidt) 6678 Files: src/option.c 6679 6680 Patch 7.1.315 6681 Problem: Crash with specific search pattern using look-behind match. 6682 (Andreas Politz) 6683 Solution: Also save the value of "need_clear_subexpr". 6684 Files: src/regexp.c 6685 6686 Patch 7.1.316 6687 Problem: When 'cscopetag' is set ":tag" gives an error message instead of 6688 going to the next tag in the tag stack. 6689 Solution: Don't call do_cstag() when there is no argument. (Mark Goldman) 6690 Files: src/ex_docmd.c 6691 6692 Patch 7.1.317 6693 Problem: Compiler warnings in Motif calls. 6694 Solution: Change zero to NULL. (Dominique Pelle) 6695 Files: src/gui_motif.c 6696 6697 Patch 7.1.318 6698 Problem: Memory leak when closing xsmp connection. Crash on exit when 6699 using Lesstif. 6700 Solution: Don't close the X display to work around a Lesstif bug. Free 6701 clientid. Also fix a leak for Motif and Athena. (Dominique Pelle) 6702 Files: src/gui_x11.c, src/os_unix.c 6703 6704 Patch 7.1.319 6705 Problem: When a register has an illegal utf-8 sequence, pasting it on the 6706 command line causes an illegal memory access. 6707 Solution: Use mb_cptr2char_adv(). (Dominique Pelle) 6708 Files: src/ex_getln.c 6709 6710 Patch 7.1.320 (extra) 6711 Problem: Win64: Warnings while compiling Python interface. 6712 Solution: Use PyInt in more places. Also update version message for the 6713 console. (George Reilly) 6714 Files: src/if_python.c, src/version.c 6715 6716 Patch 7.1.321 (extra) 6717 Problem: Win32 / Win64: Install file is outdated. 6718 Solution: Update the text for recent compiler. (George Reilly) 6719 Files: src/INSTALLpc.txt 6720 6721 Patch 7.1.322 6722 Problem: Can't get start of Visual area in an <expr> mapping. 6723 Solution: Add the 'v' argument to getpos(). 6724 Files: runtime/doc/eval.txt, src/eval.c 6725 6726 Patch 7.1.323 6727 Problem: Test 19 fails with some termcaps. (Dominique Pelle) 6728 Solution: Set the t_kb and t_kD termcap values. 6729 Files: src/testdir/test19.in, src/testdir/test38.in 6730 6731 Patch 7.1.324 6732 Problem: File name path length on Unix is limited to 1024. 6733 Solution: Use PATH_MAX when it's more than 1000. 6734 Files: src/os_unix.h 6735 6736 Patch 7.1.325 6737 Problem: When editing a command line that's longer than available space in 6738 the window, the characters at the end are in reverse order. 6739 Solution: Increment the insert position even when the command line doesn't 6740 fit. (Ingo Karkat) 6741 Files: src/ex_getln.c 6742 6743 Patch 7.1.326 6744 Problem: ":s!from!to!" works, but ":smagic!from!to!" doesn't. It sees the 6745 "!" as a flag to the command. Same for ":snomagic". (Johan Spetz) 6746 Solution: When checking for a forced command also ignore ":smagic" and 6747 ":snomagic". (Ian Kelling) 6748 Files: src/ex_docmd.c 6749 6750 Patch 7.1.327 6751 Problem: The GUI tutor is installed when there is no GUI version. 6752 Solution: Only install gvimtutor when building a GUI version. 6753 Files: src/Makefile 6754 6755 Patch 7.1.328 6756 Problem: Crash when using Cygwin and non-posix path name in tags file. 6757 Solution: Use separate buffer for posix path. (Ben Schmidt) 6758 Files: src/os_unix.c 6759 6760 Patch 7.1.329 6761 Problem: When the popup menu is removed a column of cells, the right half 6762 of double-wide characters, may not be redrawn. 6763 Solution: Check if the right half of a character needs to be redrawn. 6764 (Yukihiro Nakadaira) 6765 Files: src/screen.c 6766 6767 Patch 7.1.330 6768 Problem: Reading uninitialized memory when using Del in replace mode. 6769 Solution: Use utfc_ptr2len_len() instead of mb_ptr2len(). (Dominique Pelle) 6770 Files: src/misc1.c 6771 6772 6773 Warning for missing sentinel in gui_xmldlg.c. (Dominique Pelle) 6774 6775 A search offset from the end of a match didn't work properly for multibyte 6776 characters. (Yukihiro Nakadaira) 6777 6778 When displaying the value of 'key' don't show "*****" when the value is empty. 6779 (Ben Schmidt) 6780 6781 Internal error when compiled with EXITFREE and using the nerd_tree plugin. 6782 Set last_msg_hist to NULL when history becomes empty. Call 6783 free_all_functions() after garbage collection. (Dominique Pelle) 6784 6785 GTK with XIM: <S-Space> does not work. (Yukihiro Nakadaira) 6786 6787 Some shells do not support "echo -n", which breaks glob(). Use "echo" instead 6788 of "echo -n $1; echo". (Gary Johnson) 6789 6790 "echo 22,44" printed "22" on top of the command, the error messages caused 6791 the rest not to be cleared. Added the need_clr_eos flag. 6792 6793 Netbeans events are handled while updating the screen, causing a crash. 6794 Change the moment when events are handled. Rename nb_parse_messages() to 6795 netbeans_parse_messages(). (Xavier de Gaye) 6796 6797 Test 11 was broken after patch 7.1.186 on Win32 console. (Daniel Shahaf) 6798 Use shellescape() on the file name. 6799 6800 IM was turned off in im_preedit_end_cb() for no good reason. (Takuhiro 6801 Nishioka) 6802 6803 A corrupted spell file could cause Vim to use lots of memory. Better 6804 detection for running into the end of the file. (idea from James Vega) 6805 6806 Mac: Included a patch to make it build with GTK. Moved language init to 6807 mac_lang_init() function. (Ben Schmidt) 6808 6809 Problem with 'wildmenu' after ":lcd", up/down arrows don't work. (Erik Falor) 6810 6811 Fix configure.in to avoid "implicitly declared" warnings when running 6812 configure. 6813 6814 Fixed a memory leak when redefining a keymap. (Dominique Pelle) 6815 6816 Setting 'pastetoggle' to "jj" didn't work. 6817 6818 'ic' and 'smartcase' don't work properly when using \%V in a search pattern. 6819 (Kana Natsuno) 6820 6821 Patch 7.2a.001 6822 Problem: On some systems X11/Xlib.h exists (from X11-dev package) but 6823 X11/Intrinsic.h does not (in Xt-dev package). This breaks the 6824 build. Also, on Solaris 9 sys/ptem.h isn't found. 6825 Solution: Have configure only accept X11 when X11/Intrinsic.h exists. 6826 Check for sys/ptem.h while including sys/stream.h. (Vladimir 6827 Marek) 6828 Files: src/auto/configure, src/configure.in 6829 6830 Patch 7.2a.002 6831 Problem: getbufvar(N, "") gets the dictionary of the current buffer instead 6832 of buffer N. 6833 Solution: Set curbuf before calling find_var_in_ht(). (Kana Natsuno) 6834 Files: src/eval.c 6835 6836 Patch 7.2a.003 6837 Problem: Leaking memory when using ":file name" and using access control 6838 lists. 6839 Solution: Invoke mch_free_acl() in vim_rename(). (Dominique Pelle) 6840 Files: src/fileio.c 6841 6842 Patch 7.2a.004 6843 Problem: Some systems can't get spell files by ftp. 6844 Solution: Use http when it looks like it's possible. (James Vega) 6845 Files: runtime/autoload/spellfile.vim 6846 6847 Patch 7.2a.005 6848 Problem: A few error messages use confusing names. Misspelling. 6849 Solution: Change "dissallows" to "disallows". (Dominique Pelle) Change 6850 "number" to "Number". 6851 Files: src/eval.c, src/fileio.c 6852 6853 Patch 7.2a.006 6854 Problem: Reading past NUL in a string. 6855 Solution: Check for invalid utf-8 byte sequence. (Dominique Pelle) 6856 Files: src/charset.c 6857 6858 Patch 7.2a.007 6859 Problem: ":let v = 1.2.3" was OK in Vim 7.1, now it gives an error. 6860 Solution: Don't look for a floating point number after the "." operator. 6861 Files: src/eval.c 6862 6863 Patch 7.2a.008 6864 Problem: printf("%g", 1) doesn't work. 6865 Solution: Convert Number to Float when needed. 6866 Files: src/message.c 6867 6868 Patch 7.2a.009 6869 Problem: cygwin_conv_to_posix_path() does not specify buffer size. 6870 Solution: Use new Cygwin function: cygwin_conv_path(). (Corinna Vinschen) 6871 Files: src/main.c, src/os_unix.c 6872 6873 Patch 7.2a.010 6874 Problem: When a file name has an illegal byte sequence Vim may read 6875 uninitialised memory. 6876 Solution: Don't use UTF_COMPOSINGLIKE() on an illegal byte. In 6877 msg_outtrans_len_attr() use char2cells() instead of ptr2cells(). 6878 In utf_ptr2char() don't check second byte when first byte is 6879 illegal. (Dominique Pelle) 6880 Files: src/mbyte.c, src/message.c 6881 6882 Patch 7.2a.011 6883 Problem: The Edit/Startup Settings menu doesn't work. 6884 Solution: Expand environment variables. (Ben Schmidt) 6885 Files: runtime/menu.vim 6886 6887 Patch 7.2a.012 6888 Problem: Compiler warnings for casting int to pointer. 6889 Solution: Add cast to long in between. (Martin Toft) 6890 Files: src/gui_gtk_x11.c 6891 6892 Patch 7.2a.013 6893 Problem: shellescape() does not escape "%" and "#" characters. 6894 Solution: Add find_cmdline_var() and use it when the second argument to 6895 shellescape() is non-zero. 6896 Files: runtime/doc/eval.txt, src/eval.c, src/ex_docmd.c, 6897 src/proto/ex_docmd.pro, src/proto/misc2.pro, src/misc2.c 6898 6899 Patch 7.2a.014 6900 Problem: Problem with % in message. 6901 Solution: Put % in single quotes. 6902 Files: src/eval.c 6903 6904 Patch 7.2a.015 (after 7.2a.010) 6905 Problem: Misaligned messages. 6906 Solution: Compute length of unprintable chars correctly. 6907 Files: src/message.c 6908 6909 Patch 7.2a.016 6910 Problem: Using CTRL-W v in the quickfix window results in two quickfix 6911 windows, which is not allowed. ":tab split" should be allowed to 6912 open a new quickfix window in another tab. 6913 Solution: For CTRL-W v instead of splitting the window open a new one. 6914 When using ":tab" do allow splitting the quickfix window (was 6915 already included in patch 7.2a.013). 6916 Files: src/window.c 6917 6918 Patch 7.2a.017 6919 Problem: ":doautoall" executes autocommands for all buffers instead of just 6920 for loaded buffers. 6921 Solution: Change "curbuf" to "buf". 6922 Files: src/fileio.c 6923 6924 Patch 7.2a.018 6925 Problem: Compiler warnings when compiling with Gnome. (Tony Mechelynck) 6926 Solution: Add type casts. 6927 Files: src/gui_gtk_x11.c 6928 6929 Patch 7.2a.019 6930 Problem: ":let &g:tw = 44" sets the local option value. (Cyril Slobin) 6931 Solution: Use get_varp_scope() instead of get_varp(). (Ian Kelling) 6932 Files: src/option.c 6933 6934 There is no way to avoid adding /usr/local/{include|lib} to the build 6935 commands. Add the --with-local-dir argument to configure. (Michael 6936 Haubenwallner) 6937 6938 When using CTRL-D after ":help", the number of matches could be thousands. 6939 Restrict to TAG_MANY to avoid this taking too long. (Ian Kelling) 6940 6941 The popup menu could be placed at a weird location. Caused by w_wcol computed 6942 by curs_columns(). (Dominique Pelle) 6943 6944 Overlapping STRCPY() arguments when using %r item in 'errorformat'. Use 6945 STRMOVE() instead. (Ralf Wildenhues) 6946 6947 Mac: On Leopard gvim, when using the mouse wheel nothing would happen until 6948 another event occurs, such as moving the mouse. Then the recorded scrolling 6949 would take place all at once. (Eckehard Berns) 6950 6951 Solution for cursor color not reflecting IM status for GTK 2. Add 6952 preedit_is_active flag. (SungHyun Nam) 6953 6954 filereadable() can hang on a FIFO on Linux. Use open() instead of fopen(), 6955 with O_NONBLOCK. (suggested by Lars Kotthoff) 6956 6957 Included patch to support Perl 5.10. (Yasuhiro Matsumoto) 6958 6959 When files are dropped on gvim while the screen is being updated, ignore the 6960 drop command to avoid freeing memory that is being used. 6961 6962 In a terminal, when drawing the popup menu over double-wide characters, half 6963 characters may not be cleared properly. (Yukihiro Nakadaira) 6964 6965 The #ifdef for including "vimio.h" was inconsistent. In a few files it 6966 depended on MSWIN, which isn't defined until later. 6967 6968 Patch 7.2b.001 6969 Problem: Compilation problem: mb_fix_col() missing with multibyte feature 6970 but without GUI or clipboard. 6971 Solution: Remove #ifdef. 6972 Files: src/mbyte.c 6973 6974 Patch 7.2b.002 6975 Problem: Compiler warnings for signed/unsigned mismatch. 6976 Solution: Add type casts. 6977 Files: src/screen.c 6978 6979 Patch 7.2b.003 6980 Problem: Still a compilation problem, check_col() and check_row() missing. 6981 Solution: Add FEAT_MBYTE to the #if. 6982 Files: src/ui.c 6983 6984 Patch 7.2b.004 6985 Problem: Trying to free memory for a static string when using ":helpgrep". 6986 (George Reilly) 6987 Solution: Set 'cpo' to empty_option instead of an empty string. Also for 6988 searchpair() and substitute(). 6989 Files: src/quickfix.c, src/eval.c 6990 6991 Patch 7.2b.005 6992 Problem: The special character "!" isn't handled properly in shellescape(). 6993 (Jan Minar) 6994 Solution: Escape "!" when using a "csh" like shell and with 6995 shellescape(s, 1). Twice for both. Also escape <NL>. 6996 Files: src/misc2.c 6997 6998 Patch 7.2b.006 6999 Problem: Reading past end of string when reading info from tags line. 7000 Solution: Break the loop when encountering a NUL. (Dominique Pelle) 7001 Files: src/tag.c 7002 7003 Patch 7.2b.007 7004 Problem: Part of a message cannot be translated. 7005 Solution: Put _() around the message. 7006 Files: src/search.c 7007 7008 Patch 7.2b.008 7009 Problem: A few filetypes are not detected or not detected properly. 7010 Solution: Add filetype detection patterns. (Nikolai Weibull) 7011 Files: runtime/filetype.vim 7012 7013 Patch 7.2b.009 7014 Problem: Reading past end of screen line. (Epicurus) 7015 Solution: Avoid going past the value of Columns. 7016 Files: src/screen.c 7017 7018 Patch 7.2b.010 7019 Problem: ":mksession" doesn't work for ":map , foo", ":sunmap ,". (Ethan 7020 Mallove) 7021 Solution: Check for "nxo", "nso" and other strange mapping combinations. 7022 Files: src/getchar.c 7023 7024 Patch 7.2b.011 7025 Problem: Configure for TCL ends up with include file in compiler command. 7026 (Richard Hogg) 7027 Solution: Delete items from $TCL_DEFS that do not start with a dash. 7028 Files: src/auto/configure, src/configure.in 7029 7030 Patch 7.2b.012 7031 Problem: Build failure with +multi_byte but without +diff. 7032 Solution: Add #ifdef. (Patrick Texier) 7033 Files: src/main.c 7034 7035 Patch 7.2b.013 7036 Problem: Build fails with tiny features and Perl. (Dominique Pelle) 7037 Solution: Define missing functions. Also when compiling Python. 7038 Files: src/if_perl.xs, src/if_python.c 7039 7040 Patch 7.2b.014 7041 Problem: Configure uses an unsafe temp file to store commands. 7042 Solution: Create the temp file in local directory. 7043 Files: src/auto/configure, src/configure.in 7044 7045 Patch 7.2b.015 7046 Problem: Build fails on Mac when using Aap. 7047 Solution: Fix typo in configure script. 7048 Files: src/auto/configure, src/configure.in 7049 7050 Patch 7.2b.016 7051 Problem: Build fails with normal features but without +autocmd. 7052 Solution: Fix #ifdefs. (Ian Kelling) 7053 Files: src/eval.c, src/ex_cmds.c, src/quickfix.c, src/option.c, 7054 src/ex_docmd.c 7055 7056 Patch 7.2b.017 7057 Problem: "vim -O foo foo" results in only one window. (Zdenek Sekera) 7058 Solution: Handle result of ATTENTION prompt properly. (Ian Kelling) 7059 Files: src/main.c 7060 7061 Patch 7.2b.018 7062 Problem: When doing command line completion on a file name for a csh-like 7063 shell argument a '!' character isn't escaped properly. 7064 Solution: Add another backslash. 7065 Files: src/ex_getln.c, src/misc2.c, src/proto/misc2.pro, src/screen.c 7066 7067 Patch 7.2b.019 (extra) 7068 Problem: Win32: Various compiler warnings. 7069 Solution: Use __w64 attribute. Comment-out unused parameters. Adjust a few 7070 #ifdefs. (George Reilly) 7071 Files: src/gui_w48.c, src/GvimExt/gvimext.cpp, src/Make_mvc.mak, 7072 src/os_mswin.c, src/os_win32.c, src/vim.h 7073 7074 Patch 7.2b.020 7075 Problem: ":sort n" doesn't handle negative numbers. (James Vega) 7076 Solution: Include '-' in the number. 7077 Files: src/charset.c, src/ex_cmds.c 7078 7079 Patch 7.2b.021 7080 Problem: Reloading doesn't read the BOM correctly. (Steve Gardner) 7081 Solution: Accept utf-8 BOM when specified file encoding is utf-8. 7082 Files: src/fileio.c 7083 7084 Patch 7.2b.022 7085 Problem: When using ":normal" while updating the status line the count of 7086 an operator is lost. (Dominique Pelle) 7087 Solution: Save and restore "opcount". 7088 Files: src/ex_docmd.c, src/globals.h, src/normal.c 7089 7090 Patch 7.2b.023 7091 Problem: Crash when using the result of synstack(0,0). (Matt Wozniski) 7092 Solution: Check for v_list to be NULL in a few more places. 7093 Files: src/eval.c 7094 7095 Patch 7.2b.024 7096 Problem: Using ":gui" while the netrw plugin is active causes a delay in 7097 updating the display. 7098 Solution: Don't check for terminal codes when starting the GUI. 7099 Files: src/term.c 7100 7101 Patch 7.2b.025 7102 Problem: When the CursorHold event triggers a pending count is lost. 7103 (Juergen Kraemer) 7104 Solution: Save the counts and restore them. 7105 Files: src/normal.c, src/structs.h 7106 7107 Patch 7.2b.026 7108 Problem: The GTK 2 file chooser causes the ~/.recently-used.xbel file to be 7109 written over and over again. This may cause a significant 7110 slowdown. (Guido Berhoerster) 7111 Solution: Don't use the GTK 2 file chooser. 7112 Files: src/gui_gtk.c 7113 7114 Patch 7.2b.027 7115 Problem: Memory leak for Python, Perl, etc. script command with end marker. 7116 Solution: Free the memory of the end marker. (Andy Kittner) 7117 Files: src/ex_getln.c 7118 7119 Patch 7.2b.028 7120 Problem: Reading uninitialized memory when doing ":gui -f". (Dominique 7121 Pelle) 7122 Solution: Don't position the cursor when the screen size is invalid. 7123 Files: src/gui.c 7124 7125 Patch 7.2b.029 7126 Problem: ":help a" doesn't jump to "a" tag in docs. (Tony Mechelynck) 7127 Solution: Get all tags and throw away more than TAG_MANY after sorting. 7128 When there is no argument find matches for "help" to avoid a long 7129 delay. 7130 Files: src/ex_cmds.c, src/ex_getln.c 7131 7132 Patch 7.2b.030 7133 Problem: When changing the value of t_Co from 8 to 16 the Visual 7134 highlighting keeps both reverse and a background color. 7135 Solution: Remove the attribute when setting the default highlight color. 7136 (Markus Heidelberg) 7137 Files: src/syntax.c 7138 7139 Error when cancelling completion menu and auto-formatting. (fixed by Ian 7140 Kelling) 7141 7142 Patch 7.2c.001 7143 Problem: ":let x=[''] | let x += x" causes hang. (Matt Wozniski) 7144 Solution: Only insert elements up to the original length of the List. 7145 Files: runtime/doc/eval.txt, src/eval.c 7146 7147 Patch 7.2c.002 7148 Problem: fnameescape() doesn't handle a leading '+' or '>'. (Jan Minar) 7149 Solution: Escape a leading '+' and '>'. And a single '-'. 7150 Files: runtime/doc/eval.txt, src/ex_getln.c 7151 7152 Patch 7.2c.003 7153 Problem: Searching for "foo\%[bar]\+" gives a "Corrupted regexp program" 7154 error. (Joachim Hofmann) 7155 Solution: Mark the \%[] item as not being simple. 7156 Files: src/regexp.c 7157 7158 On Vista access to system directories is virtualized. (Michael Mutschler) 7159 Adjusted the manifest file to avoid this. (George Reilly) 7160 7161 Memory leak when using CTRL-C to cancel listing the jump list. (Dominique 7162 Pelle) 7163 7164 Mac: Could not build with Perl interface. 7165 7166 ============================================================================== 7167 VERSION 7.3 *version-7.3* *version7.3* 7168 7169 This section is about improvements made between version 7.2 and 7.3. 7170 7171 This release has hundreds of bug fixes and there are a few new features. The 7172 most notable new features are: 7173 7174 7175 Persistent undo *new-persistent-undo* 7176 --------------- 7177 7178 Store undo information in a file. Can undo to before when the file was read, 7179 also for unloaded buffers. See |undo-persistence| (partly by Jordan Lewis) 7180 7181 Added the ":earlier 1f" and ":later 1f" commands. 7182 Added file save counter to undo information. 7183 Added the |undotree()| and |undofile()| functions. 7184 7185 Also added the 'undoreload' option. This makes it possible to save the 7186 current text when reloading the buffer, so that the reload can be undone. 7187 7188 7189 More encryption *new-more-encryption* 7190 --------------- 7191 7192 Support for Blowfish encryption. Added the 'cryptmethod' option. 7193 Mostly by Mohsin Ahmed. 7194 7195 Also encrypt the text in the swap file and the undo file. 7196 7197 7198 Conceal text *new-conceal* 7199 ------------ 7200 7201 Added the |+conceal| feature. (Vince Negri) 7202 This allows hiding stretches of text, based on syntax highlighting. 7203 It also allows replacing a stretch of text by a character |:syn-cchar|. 7204 The 'conceallevel' option specifies what happens with text matching a syntax 7205 item that has the conceal attribute. 7206 The 'concealcursor' option specifies what happens in the cursor line. 7207 7208 The help files conceal characters used to mark tags and examples. 7209 7210 Added the |synconcealed()| function and use it for :TOhtml. (Benjamin Fritz) 7211 7212 Added the 'cursorbind' option, keeps the cursor in two windows with the same 7213 text in sync. 7214 7215 7216 Lua interface *new-lua* 7217 ------------- 7218 7219 Added the |Lua| interface. (Luis Carvalho) 7220 7221 7222 Python3 interface *new-python3* 7223 ----------------- 7224 7225 Added the Python3 interface. It exists next to Python 2.x, both can be used 7226 at the same time. See |python3| (Roland Puntaier) 7227 7228 7229 Changed *changed-7.3* 7230 ------- 7231 7232 The MS-Windows installer no longer requires the user to type anything in the 7233 console windows. The installer now also works on 64 bit systems, including 7234 the "Edit with Vim" context menu. 7235 The gvim executable is 32 bits, the installed gvimext.dll is either a 32 or 64 7236 bit version. (mostly by George Reilly) 7237 Made the DOS installer work with more compilers. 7238 The MS-Windows big gvim is now built with Python 2.7 and 3.1.2, Perl 5.12 and 7239 Ruby 1.9.1. You need the matching .dll files to use them. 7240 7241 The extra and language files are no longer distributed separately. 7242 The source files for all systems are included in one distribution. 7243 7244 After using ":recover" or recovering a file in another way, ":x" and "ZZ" 7245 didn't save what you see. This could result in work being lost. Now the text 7246 after recovery is compared to the original file contents. When they differ 7247 the buffer is marked as modified. 7248 7249 When Vim is exiting because of a deadly signal, when v:dying is 2 or more, 7250 VimLeavePre, VimLeave, BufWinLeave and BufUnload autocommands are not 7251 executed. 7252 7253 Removed support for GTK 1. It was no longer maintained and required a lot of 7254 #ifdefs in the source code. GTK 2 should be available for every system. 7255 (James Vega) 7256 7257 It is no longer allowed to set the 'encoding' option from a modeline. It 7258 would corrupt the text. (Patrick Texier) 7259 7260 Renamed runtime/spell/fixdup to runtime/spell/fixdup.vim. 7261 7262 Removed obsolete Mac code. 7263 7264 Updated spell files for Ubuntu locale names. 7265 7266 Switched from autoconf 2.63 to 2.65. 7267 7268 Removed Mupad indent and ftplugin files, they are not useful. 7269 7270 The maximum number of messages remembered in the history is now 200 (was 100). 7271 7272 7273 Added *added-7.3* 7274 ----- 7275 7276 Added the 'relativenumber' option. (Markus Heidelberg) 7277 7278 Added the 'colorcolumn' option: highlight one or more columns in a window. 7279 E.g. to highlight the column after 'textwidth'. (partly by Gregor Uhlenheuer) 7280 7281 Added support for NetBeans in a terminal. Added |:nbstart| and |:nbclose|. 7282 (Xavier de Gaye) 7283 7284 More floating point functions: |acos()|, |asin()|, |atan2()|, |cosh()|, 7285 |exp()|, |fmod()|, |log()|, |sinh()|, |tan()|, |tanh()|. (Bill McCarthy) 7286 7287 Added the |gettabvar()| and |settabvar()| functions. (Yegappan Lakshmanan) 7288 7289 Added the |strchars()|, |strwidth()| and |strdisplaywidth()| functions. 7290 7291 Support GDK_SUPER_MASK for GTK on Mac. (Stephan Schulz) 7292 7293 Made CTRL and ALT modifier work for mouse wheel. (Benjamin Haskell) 7294 7295 Added support for horizontal scroll wheel. (Bjorn Winckler) 7296 7297 When the buffer is in diff mode, have :TOhtml create HTML to show the diff 7298 side-by-side. (Christian Brabandt) 7299 7300 Various improvements to ":TOhtml" and the 2html.vim script. (Benjamin Fritz) 7301 7302 Add the 'L' item to 'cinoptions'. (Manuel Konig) 7303 7304 Improve Javascript indenting. Add "J" flag to 'cinoptions'. (Hari Kumar G) 7305 7306 Mac: Support disabling antialias. (LC Mi) 7307 7308 Mac: Add clipboard support in the Mac console. (Bjorn Winckler) 7309 7310 Make it possible to drag a tab page label to another position. (Paul B. Mahol) 7311 7312 Better implementation of creating the Color Scheme menu. (Juergen Kraemer) 7313 7314 In Visual mode with 'showcmd' display the number of bytes and characters. 7315 7316 Allow synIDattr() getting GUI attributes when built without GUI. (Matt 7317 Wozniski) 7318 7319 Support completion for ":find". Added test 73. (Nazri Ramliy) 7320 7321 Command line completion for :ownsyntax and :setfiletype. (Dominique Pelle) 7322 7323 Command line completion for :lmap and :lunmap. 7324 7325 Support syntax and filetype completion for user commands. (Christian Brabandt) 7326 7327 Avoid use of the GTK main_loop() so that the GtkFileChooser can be used. 7328 (James Vega) 7329 7330 When 'formatexpr' evaluates to non-zero fall back to internal formatting, also 7331 for "gq". (James Vega) 7332 7333 Support :browse for commands that use an error file argument. (Lech Lorens) 7334 7335 Support wide file names in gvimext. (Szabolcs Horvat) 7336 7337 Improve test for joining lines. (Milan Vancura) 7338 Make joining a range of lines much faster. (Milan Vancura) 7339 7340 Add patch to improve support of z/OS (OS/390). (Ralf Schandl) 7341 7342 Added the helphelp.txt file. Moved text from various.txt to it. 7343 7344 Added "q" item for 'statusline'. Added |w:quickfix_title|. (Lech Lorens) 7345 7346 Various improvements for VMS. (Zoltan Arpadffy) 7347 7348 7349 New syntax files: ~ 7350 Haskell Cabal build file (Vincent Berthoux) 7351 ChaiScript (Jason Turner) 7352 Cucumber (Tim Pope) 7353 Datascript (Dominique Pelle) 7354 Fantom (Kamil Toman) 7355 Liquid (Tim Pope) 7356 Markdown (Tim Pope) 7357 wavefront's obj file (Vincent Berthoux) 7358 Perl 6 (Andy Lester) 7359 SDC - Synopsys Design Constraints (Maurizio Tranchero) 7360 SVG - Scalable Vector Graphics (Vincent Berthoux) 7361 task data (John Florian) 7362 task 42 edit (John Florian) 7363 7364 New filetype plugins: ~ 7365 Cucumber (Tim Pope) 7366 Liquid (Tim Pope) 7367 Logcheck (Debian) 7368 Markdown (Tim Pope) 7369 Perl 6 (Andy Lester) 7370 Quickfix window (Lech Lorens) 7371 Tcl (Robert L Hicks) 7372 7373 New indent plugins: ~ 7374 CUDA (Bram Moolenaar) 7375 ChaiScript (Jason Turner) 7376 Cucumber (Tim Pope) 7377 LifeLines (Patrick Texier) 7378 Liquid (Tim Pope) 7379 Mail (Bram Moolenaar) 7380 Perl 6 (Andy Lester) 7381 7382 Other new runtime files: ~ 7383 Breton spell file (Dominique Pelle) 7384 Dvorak keymap (Ashish Shukla) 7385 Korean translations. (SungHyun Nam) 7386 Python 3 completion (Aaron Griffin) 7387 Serbian menu translations (Aleksandar Jelenak) 7388 Tetum spell files 7389 Tutor Bairish (Sepp Hell) 7390 Tutor in Esperanto. (Dominique Pellé) 7391 Tutor in Portuguese. 7392 Norwegian Tutor now also available as tutor.nb 7393 7394 Removed the Mupad runtime files, they were not maintained. 7395 7396 7397 Fixed *fixed-7.3* 7398 ----- 7399 7400 Patch 7.2.001 7401 Problem: Mac: pseudo-ttys don't work properly on Leopard, resulting in the 7402 shell not to have a prompt, CTRL-C not working, etc. 7403 Solution: Don't use SVR4 compatible ptys, even though they are detected. 7404 (Ben Schmidt) 7405 Files: src/pty.c 7406 7407 Patch 7.2.002 7408 Problem: Leaking memory when displaying menus. 7409 Solution: Free allocated memory. (Dominique Pelle) 7410 Files: src/menu.c 7411 7412 Patch 7.2.003 7413 Problem: Typo in translated message. Message not translated. 7414 Solution: Correct spelling. Add _(). (Dominique Pelle) 7415 Files: src/spell.c, src/version.c 7416 7417 Patch 7.2.004 7418 Problem: Cscope help message is not translated. 7419 Solution: Put it in _(). (Dominique Pelle) 7420 Files: src/if_cscope.c, src/if_cscope.h 7421 7422 Patch 7.2.005 7423 Problem: A few problems when profiling. Using flag pointer instead of flag 7424 value. Allocating zero bytes. Not freeing used memory. 7425 Solution: Remove wrong '&' characters. Skip dumping when there is nothing 7426 to dump. Free used memory. (Dominique Pelle) 7427 Files: src/eval.c 7428 7429 Patch 7.2.006 7430 Problem: HTML files are not recognized by contents. 7431 Solution: Add a rule to the scripts file. (Nico Weber) 7432 Files: runtime/scripts.vim 7433 7434 Patch 7.2.007 (extra) 7435 Problem: Minor issues for VMS. 7436 Solution: Minor fixes for VMS. Add float support. (Zoltan Arpadffy) 7437 Files: runtime/doc/os_vms.txt, src/os_vms_conf.h, src/Make_vms.mms, 7438 src/testdir/Make_vms.mms, src/testdir/test30.in, 7439 src/testdir/test54.in 7440 7441 Patch 7.2.008 7442 Problem: With a BufHidden autocommand that invokes ":bunload" the window 7443 count for a buffer can be wrong. (Bob Hiestand) 7444 Solution: Don't call enter_buffer() when already in that buffer. 7445 Files: src/buffer.c 7446 7447 Patch 7.2.009 7448 Problem: Can't compile with Perl 5.10 on MS-Windows. (Cesar Romani) 7449 Solution: Add the Perl_sv_free2 function for dynamic loading. (Dan Sharp) 7450 Files: src/if_perl.xs 7451 7452 Patch 7.2.010 7453 Problem: When using "K" in Visual mode not all characters are properly 7454 escaped. (Ben Schmidt) 7455 Solution: Use a function with the functionality of shellescape(). (Jan 7456 Minar) 7457 Files: src/mbyte.c, src/misc2.c, src/normal.c 7458 7459 Patch 7.2.011 7460 Problem: Get an error when inserting a float value from the expression 7461 register. 7462 Solution: Convert the Float to a String automatically in the same place 7463 where a List would be converted to a String. 7464 Files: src/eval.c 7465 7466 Patch 7.2.012 7467 Problem: Compiler warnings when building with startup timing. 7468 Solution: Add type casts. 7469 Files: src/ex_cmds2.c 7470 7471 Patch 7.2.013 7472 Problem: While waiting for the X selection Vim consumes a lot of CPU time 7473 and hangs until a response is received. 7474 Solution: Sleep a bit when the selection event hasn't been received yet. 7475 Time out after a couple of seconds to avoid a hang when the 7476 selection owner isn't responding. 7477 Files: src/ui.c 7478 7479 Patch 7.2.014 7480 Problem: synstack() doesn't work in an empty line. 7481 Solution: Accept column zero as a valid position. 7482 Files: src/eval.c 7483 7484 Patch 7.2.015 7485 Problem: "make all test install" doesn't stop when the test fails. (Daniel 7486 Shahaf) 7487 Solution: When test.log contains failures exit with non-zero status. 7488 Files: src/testdir/Makefile 7489 7490 Patch 7.2.016 7491 Problem: The pattern being completed may be in freed memory when the 7492 command line is being reallocated. (Dominique Pelle) 7493 Solution: Keep a pointer to the expand_T in the command line structure. 7494 Don't use <S-Tab> as CTRL-P when there are no results. Clear the 7495 completion when using a command line from the history. 7496 Files: src/ex_getln.c 7497 7498 Patch 7.2.017 7499 Problem: strlen() used on text that may not end in a NUL. (Dominique Pelle) 7500 Pasting a very big selection doesn't work. 7501 Solution: Use the length passed to the XtSelectionCallbackProc() function. 7502 After getting the SelectionNotify event continue dispatching 7503 events until the callback is actually called. Also dispatch the 7504 PropertyNotify event. 7505 Files: src/ui.c 7506 7507 Patch 7.2.018 7508 Problem: Memory leak when substitute is aborted. 7509 Solution: Free the buffer allocated for the new text. (Dominique Pelle) 7510 Files: src/ex_cmds.c 7511 7512 Patch 7.2.019 7513 Problem: Completion of ":noautocmd" doesn't work and exists(":noautocmd") 7514 returns zero. (Ben Fritz) 7515 Solution: Add "noautocmd" to the list of modifiers and commands. 7516 Files: src/ex_cmds.h, src/ex_docmd.c 7517 7518 Patch 7.2.020 7519 Problem: Starting the GUI when the executable starts with 'k', but the KDE 7520 version no longer exists. 7521 Solution: Don't have "kvim" start the GUI. 7522 Files: src/main.c 7523 7524 Patch 7.2.021 7525 Problem: When executing autocommands getting the full file name may be 7526 slow. (David Kotchan) 7527 Solution: Postpone calling FullName_save() until autocmd_fname is used. 7528 Files: src/ex_docmd.c, src/fileio.c, src/globals.h 7529 7530 Patch 7.2.022 (extra) 7531 Problem: Testing is not possible when compiling with MingW. 7532 Solution: Add a MingW specific test Makefile. (Bill McCarthy) 7533 Files: Filelist, src/testdir/Make_ming.mak 7534 7535 Patch 7.2.023 7536 Problem: 'cursorcolumn' is in the wrong place in a closed fold when the 7537 display is shifted left. (Gary Johnson) 7538 Solution: Subtract w_skipcol or w_leftcol when needed. 7539 Files: src/screen.c 7540 7541 Patch 7.2.024 7542 Problem: It's possible to set 'history' to a negative value and that causes 7543 an out-of-memory error. 7544 Solution: Check that 'history' has a positive value. (Doug Kearns) 7545 Files: src/option.c 7546 7547 Patch 7.2.025 7548 Problem: When a CursorHold event invokes system() it is retriggered over 7549 and over again. 7550 Solution: Don't reset did_cursorhold when getting K_IGNORE. 7551 Files: src/normal.c 7552 7553 Patch 7.2.026 (after 7.2.010) 7554 Problem: "K" doesn't use the length of the identifier but uses the rest of 7555 the line. 7556 Solution: Copy the desired number of characters first. 7557 Files: src/normal.c 7558 7559 Patch 7.2.027 7560 Problem: Can use cscope commands in the sandbox. 7561 Solution: Disallow them, they might not be safe. 7562 Files: src/ex_cmds.h 7563 7564 Patch 7.2.028 7565 Problem: Confusing error message for missing (). 7566 Solution: Change "braces" to "parentheses". (Gary Johnson) 7567 Files: src/eval.c 7568 7569 Patch 7.2.029 7570 Problem: No completion for ":doautoall". 7571 Solution: Complete ":doautoall" like ":doautocmd". (Doug Kearns) 7572 Files: src/ex_docmd.c 7573 7574 Patch 7.2.030 (after 7.2.027) 7575 Problem: Can't compile. 7576 Solution: Remove prematurely added ex_oldfiles. 7577 Files: src/ex_cmds.h 7578 7579 Patch 7.2.031 7580 Problem: Information in the viminfo file about previously edited files is 7581 not available to the user. There is no way to get a complete list 7582 of files edited in previous Vim sessions. 7583 Solution: Add v:oldfiles and fill it with the list of old file names when 7584 first reading the viminfo file. Add the ":oldfiles" command, 7585 ":browse oldfiles" and the "#<123" special file name. Increase 7586 the default value for 'viminfo' from '20 to '100. 7587 Files: runtime/doc/cmdline.txt, runtime/doc/eval.txt, 7588 runtime/doc/starting.txt, runtime/doc/usr_21.txt, src/eval.c, 7589 src/ex_cmds.c, src/ex_cmds.h, src/ex_docmd.c, src/feature.h, 7590 src/fileio.c, src/main.c, src/mark.c, src/misc1.c, 7591 src/proto/eval.pro, src/proto/ex_cmds.pro, src/proto/mark.pro, 7592 src/option.c, src/structs.h, src/vim.h 7593 7594 Patch 7.2.032 (after 7.2.031) 7595 Problem: Can't build with EXITFREE defined. (Dominique Pelle) 7596 Solution: Change vv_string to vv_str. 7597 Files: src/eval.c 7598 7599 Patch 7.2.033 7600 Problem: When detecting a little endian BOM "ucs-2le" is used, but the text 7601 might be "utf-16le". 7602 Solution: Default to "utf-16le", it also works for "ucs-2le". (Jia Yanwei) 7603 Files: src/fileio.c, src/testdir/test42.ok 7604 7605 Patch 7.2.034 7606 Problem: Memory leak in spell info when deleting buffer. 7607 Solution: Free the memory. (Dominique Pelle) 7608 Files: src/buffer.c 7609 7610 Patch 7.2.035 7611 Problem: Mismatches between alloc/malloc, free/vim_free, 7612 realloc/vim_realloc. 7613 Solution: Use the right function. (Dominique Pelle) 7614 Files: src/gui_x11.c, src/mbyte.c, src/misc2.c, src/os_unix.c 7615 7616 Patch 7.2.036 (extra) 7617 Problem: Mismatches between alloc/malloc, free/vim_free, 7618 realloc/vim_realloc. 7619 Solution: Use the right function. (Dominique Pelle) 7620 Files: src/gui_riscos.c, src/gui_w48.c, src/mbyte.c, src/os_vms.c, 7621 src/os_w32exe.c, src/os_win16.c 7622 7623 Patch 7.2.037 7624 Problem: Double free with GTK 1 and compiled with EXITFREE. 7625 Solution: Don't close display. (Dominique Pelle) 7626 Files: src/os_unix.c 7627 7628 Patch 7.2.038 7629 Problem: Overlapping arguments to memcpy(). 7630 Solution: Use mch_memmove(). (Dominique Pelle) 7631 Files: src/if_xcmdsrv.c 7632 7633 Patch 7.2.039 7634 Problem: Accessing freed memory on exit when EXITFREE is defined. 7635 Solution: Call hash_init() on the v: hash table. 7636 Files: src/eval.c 7637 7638 Patch 7.2.040 7639 Problem: When using ":e ++ff=dos fname" and the file contains a NL without 7640 a CR before it and 'ffs' contains "unix" then the fileformat 7641 becomes unix. 7642 Solution: Ignore 'ffs' when using the ++ff argument. (Ben Schmidt) 7643 Also remove unreachable code. 7644 Files: src/fileio.c 7645 7646 Patch 7.2.041 7647 Problem: In diff mode, when using two tabs, each with two diffed buffers, 7648 editing a buffer of the other tab messes up the diff. (Matt 7649 Mzyzik) 7650 Solution: Only copy options from a window where the buffer was edited that 7651 doesn't have 'diff' set or is for the current tab page. 7652 Also fix that window options for a buffer are stored with the 7653 wrong window. 7654 Files: src/buffer.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, 7655 src/ex_getln.c, src/if_sniff.c, src/main.c, src/netbeans.c, 7656 src/normal.c, src/popupmnu.c, src/proto/buffer.pro, 7657 src/proto/ex_cmds.pro src/quickfix.c, src/window.c 7658 7659 Patch 7.2.042 7660 Problem: When using winrestview() in a BufWinEnter autocommand the window 7661 is scrolled anyway. (Matt Zyzik) 7662 Solution: Don't recompute topline when above 'scrolloff' from the bottom. 7663 Don't always put the cursor halfway when entering a buffer. Add 7664 "w_topline_was_set". 7665 Files: src/buffer.c, src/move.c, src/structs.h 7666 7667 Patch 7.2.043 7668 Problem: VMS: Too many characters are escaped in filename and shell 7669 commands. 7670 Solution: Escape fewer characters. (Zoltan Arpadffy) 7671 Files: src/vim.h 7672 7673 Patch 7.2.044 7674 Problem: Crash because of STRCPY() being over protective of the destination 7675 size. (Dominique Pelle) 7676 Solution: Add -D_FORTIFY_SOURCE=1 to CFLAGS. Use an intermediate variable 7677 for the pointer to avoid a warning. 7678 Files: src/auto/configure, src/configure.in, src/eval.c 7679 7680 Patch 7.2.045 7681 Problem: The Python interface has an empty entry in sys.path. 7682 Solution: Filter out the empty entry. (idea from James Vega) 7683 Files: src/if_python.c 7684 7685 Patch 7.2.046 7686 Problem: Wrong check for filling buffer with encoding. (Danek Duvall) 7687 Solution: Remove pointers. (Dominique Pelle) 7688 Files: src/mbyte.c 7689 7690 Patch 7.2.047 7691 Problem: Starting Vim with the -nb argument while it's not supported causes 7692 the other side to hang. 7693 Solution: When -nb is used while it's not supported exit Vim. (Xavier de 7694 Gaye) 7695 Files: src/main.c, src/vim.h 7696 7697 Patch 7.2.048 7698 Problem: v:prevcount is changed too often. Counts are not multiplied when 7699 setting v:count. 7700 Solution: Set v:prevcount properly. Multiply counts. (idea by Ben Schmidt) 7701 Files: src/eval.c, src/normal.c, src/proto/eval.pro 7702 7703 Patch 7.2.049 (extra) 7704 Problem: Win32: the clipboard doesn't support UTF-16. 7705 Solution: Change UCS-2 support to UTF-16 support. (Jia Yanwei) 7706 Files: src/gui_w32.c, src/gui_w48.c, src/mbyte.c, src/misc1.c, 7707 src/os_mswin.c, src/os_win32.c, src/proto/os_mswin.pro 7708 7709 Patch 7.2.050 7710 Problem: Warnings for not checking return value of fwrite(). (Chip Campbell) 7711 Solution: Use the return value. 7712 Files: src/spell.c 7713 7714 Patch 7.2.051 7715 Problem: Can't avoid 'wildignore' and 'suffixes' for glob() and globpath(). 7716 Solution: Add an extra argument to these functions. (Ingo Karkat) 7717 Files: src/eval.c, src/ex_getln.c, src/proto/ex_getln.pro, 7718 runtime/doc/eval.txt, runtime/doc/options.txt 7719 7720 Patch 7.2.052 7721 Problem: synIDattr() doesn't support "sp" for special color. 7722 Solution: Recognize "sp" and "sp#". (Matt Wozniski) 7723 Files: runtime/doc/eval.txt, src/eval.c 7724 7725 Patch 7.2.053 7726 Problem: Crash when using WorkShop command ":ws foo". (Dominique Pelle) 7727 Solution: Avoid using a NULL pointer. 7728 Files: src/workshop.c 7729 7730 Patch 7.2.054 7731 Problem: Compilation warnings for format in getchar.c. 7732 Solution: Use fputs() instead of fprintf(). (Dominique Pelle) 7733 Files: src/getchar.c 7734 7735 Patch 7.2.055 7736 Problem: Various compiler warnings with strict checking. 7737 Solution: Avoid the warnings by using return values and renaming. 7738 Files: src/diff.c, src/eval.c, src/ex_cmds.c, src/ex_docmd.c, 7739 src/fileio.c, src/fold.c, src/globals.h, src/gui.c, 7740 src/gui_at_sb.c, src/gui_gtk_x11.c, src/gui_xmdlg.c, 7741 src/gui_xmebw.c, src/main.c, src/mbyte.c, src/message.c, 7742 src/netbeans.c, src/option.c, src/os_unix.c, src/spell.c, 7743 src/ui.c, src/window.c 7744 7745 Patch 7.2.056 (after 7.2.050) 7746 Problem: Tests 58 and 59 fail. 7747 Solution: Don't invoke fwrite() with a zero length. (Dominique Pelle) 7748 Files: src/spell.c 7749 7750 Patch 7.2.057 (after 7.2.056) 7751 Problem: Combination of int and size_t may not work. 7752 Solution: Use size_t for variable. 7753 Files: src/spell.c 7754 7755 Patch 7.2.058 7756 Problem: Can't add a patch name to the ":version" output. 7757 Solution: Add the extra_patches array. 7758 Files: src/version.c 7759 7760 Patch 7.2.059 7761 Problem: Diff display is not always updated. 7762 Solution: Update the display more often. 7763 Files: src/diff.c 7764 7765 Patch 7.2.060 7766 Problem: When a spell files has many compound rules it may take a very long 7767 time making the list of suggestions. Displaying also can be slow 7768 when there are misspelled words. 7769 Can't parse some Hunspell .aff files. 7770 Solution: Check if a compounding can possibly work before trying a 7771 combination, if the compound rules don't contain wildcards. 7772 Implement using CHECKCOMPOUNDPATTERN. 7773 Ignore COMPOUNDRULES. Ignore a comment after most items. 7774 Accept ONLYINCOMPOUND as an alias for NEEDCOMPOUND. 7775 Accept FORBIDDENWORD as an alias for BAD. 7776 Files: runtime/doc/spell.txt, src/spell.c 7777 7778 Patch 7.2.061 7779 Problem: Can't create a funcref for an autoload function without loading 7780 the script first. (Marc Weber) 7781 Solution: Accept autoload functions that don't exist yet in function(). 7782 Files: src/eval.c 7783 7784 Patch 7.2.062 7785 Problem: "[Scratch]" is not translated. 7786 Solution: Mark the string for translation. (Dominique Pelle) 7787 Files: src/buffer.c 7788 7789 Patch 7.2.063 7790 Problem: Warning for NULL argument of Perl_sys_init3(). 7791 Solution: Use Perl_sys_init() instead. (partly by Dominique Pelle) 7792 Files: src/if_perl.xs 7793 7794 Patch 7.2.064 7795 Problem: Screen update bug when repeating "~" on a Visual block and the 7796 last line doesn't change. 7797 Solution: Keep track of changes for all lines. (Moritz Orbach) 7798 Files: src/ops.c 7799 7800 Patch 7.2.065 7801 Problem: GTK GUI: the cursor disappears when doing ":vsp" and the Vim 7802 window is maximized. (Dominique Pelle, Denis Smolyar) 7803 Solution: Don't change "Columns" back to an old value at a wrong moment. 7804 Do change "Rows" when it should not be a problem. 7805 Files: src/gui.c 7806 7807 Patch 7.2.066 7808 Problem: It's not easy to see whether 'encoding' is a multibyte encoding. 7809 Solution: Add has('multi_byte_encoding'). 7810 Files: runtime/doc/eval.txt, src/eval.c 7811 7812 Patch 7.2.067 7813 Problem: Session file can't load extra file when the path contains special 7814 characters. 7815 Solution: Escape the file name. (Lech Lorens) 7816 Files: src/ex_docmd.c 7817 7818 Patch 7.2.068 7819 Problem: Emacs tags file lines can be too long, resulting in an error 7820 message. (James Vega) 7821 Solution: Ignore lines with errors if they are too long. 7822 Files: src/tag.c 7823 7824 Patch 7.2.069 (after 7.2.060) 7825 Problem: Compiler warning for storing size_t in int. 7826 Solution: Add type cast. 7827 Files: src/spell.c 7828 7829 Patch 7.2.070 7830 Problem: Crash when a function returns a:000. (Matt Wozniski) 7831 Solution: Don't put the function struct on the stack, allocate it. Free it 7832 only when nothing in it is used. 7833 Files: src/eval.c 7834 7835 Patch 7.2.071 (extra) 7836 Problem: Win32: Handling netbeans events while Vim is busy updating the 7837 screen may cause a crash. 7838 Solution: Like with GTK, only handle netbeans messages in the main loop. 7839 (Xavier de Gaye) 7840 Files: src/gui_w48.c, src/netbeans.c 7841 7842 Patch 7.2.072 (extra) 7843 Problem: Compiler warning in Sniff code. 7844 Solution: Use return value of pipe(). (Dominique Pelle) 7845 Files: src/if_sniff.c 7846 7847 Patch 7.2.073 7848 Problem: ":set <xHome>" has the same output as ":set <Home>". (Matt 7849 Wozniski) 7850 Solution: Don't translate "x" keys to its alternative for ":set". 7851 Files: src/gui_mac.c, src/misc2.c, src/option.c, src/proto/misc2.pro 7852 7853 Patch 7.2.074 (extra, after 7.2.073) 7854 Problem: ":set <xHome>" has the same output as ":set <Home>". (Matt 7855 Wozniski) 7856 Solution: Don't translate "x" keys to its alternative for ":set". 7857 Files: src/gui_mac.c 7858 7859 Patch 7.2.075 (after 7.2.058) 7860 Problem: Explanation about making a diff for extra_patches is unclear. 7861 Solution: Adjust comment. 7862 Files: src/version.c 7863 7864 Patch 7.2.076 7865 Problem: rename(from, to) deletes the file if "from" and "to" are not equal 7866 but still refer to the same file. E.g., on a FAT32 filesystem 7867 under Unix. 7868 Solution: Go through another file name. 7869 Files: src/fileio.c 7870 7871 Patch 7.2.077 (after 7.2.076) 7872 Problem: rename(from, to) doesn't work if "from" and "to" differ only in 7873 case on a system that ignores case in file names. 7874 Solution: Go through another file name. 7875 Files: src/fileio.c 7876 7877 Patch 7.2.078 7878 Problem: When deleting a fold that is specified with markers the cursor 7879 position may be wrong. Folds may not be displayed properly after 7880 a delete. Wrong fold may be deleted. 7881 Solution: Fix the problems. (mostly by Lech Lorens) 7882 Files: src/fold.c 7883 7884 Patch 7.2.079 7885 Problem: "killed" netbeans events are not handled correctly. 7886 Solution: A "killed" netbeans event is sent when the buffer is deleted or 7887 wiped out (in this case, the netbeans annotations in this buffer 7888 have been removed). A user can still remove a sign with the 7889 command ":sign unplace" and this does not trigger a "killed" 7890 event. (Xavier de Gaye) 7891 Files: runtime/doc/netbeans.txt, src/buffer.c, src/globals.h, 7892 src/netbeans.c, src/proto/netbeans.pro 7893 7894 Patch 7.2.080 7895 Problem: When typing a composing character just after starting completion 7896 may access memory before its allocation point. (Dominique Pelle) 7897 Solution: Don't delete before the completion start column. Add extra checks 7898 for the offset not being negative. 7899 Files: src/edit.c 7900 7901 Patch 7.2.081 7902 Problem: Compiler warning for floating point overflow on VAX. 7903 Solution: For VAX use a smaller number. (Zoltan Arpadffy) 7904 Files: src/message.c 7905 7906 Patch 7.2.082 7907 Problem: When 'ff' is "mac" then "ga" on a ^J shows 0x0d instead of 0x0a. 7908 (Andy Wokula) 7909 Solution: Use NL for this situation. (Lech Lorens) 7910 Files: src/ex_cmds.c 7911 7912 Patch 7.2.083 7913 Problem: ":tag" does not return to the right tag entry from the tag stack. 7914 Solution: Don't change the current match when there is no argument. 7915 (Erik Falor) 7916 Files: src/tag.c 7917 7918 Patch 7.2.084 7919 Problem: Recursive structures are not handled properly in Python 7920 vim.eval(). 7921 Solution: Keep track of references in a better way. (Yukihiro Nakadaira) 7922 Files: src/if_python.c 7923 7924 Patch 7.2.085 7925 Problem: ":set <M-b>=<Esc>b" does not work when 'encoding' is utf-8. 7926 Solution: Put the <M-b> character in the input buffer as valid utf-8. 7927 (partly by Matt Wozniski) 7928 Files: src/term.c 7929 7930 Patch 7.2.086 7931 Problem: Using ":diffget 1" in buffer 1 corrupts the text. 7932 Solution: Don't do anything when source and destination of ":diffget" or 7933 ":diffput" is the same buffer. (Dominique Pelle) 7934 Files: src/diff.c 7935 7936 Patch 7.2.087 7937 Problem: Adding URL to 'path' doesn't work to edit a file. 7938 Solution: Skip simplify_filename() for URLs. (Matt Wozniski) 7939 Files: src/misc2.c 7940 7941 Patch 7.2.088 (extra) 7942 Problem: OpenClipboard() may fail when another application is using the 7943 clipboard. 7944 Solution: Retry OpenClipboard() a few times. (Jianrong Yu) 7945 Files: src/os_mswin.c 7946 7947 Patch 7.2.089 (extra) 7948 Problem: Win32: crash when using Ultramon buttons. 7949 Solution: Don't use a WM_OLE message of zero size. (Ray Megal) 7950 Files: src/if_ole.cpp, src/gui_w48.c 7951 7952 Patch 7.2.090 7953 Problem: User command containing 0x80 in multibyte character does not work 7954 properly. (Yasuhiro Matsumoto) 7955 Solution: Undo replacement of K_SPECIAL and CSI characters when executing 7956 the command. 7957 Files: src/ex_docmd.c 7958 7959 Patch 7.2.091 7960 Problem: ":cs help" output is not aligned for some languages. 7961 Solution: Compute character size instead of byte size. (Dominique Pelle) 7962 Files: src/if_cscope.c 7963 7964 Patch 7.2.092 7965 Problem: Some error messages are not translated. 7966 Solution: Add _() around the messages. (Dominique Pelle) 7967 Files: src/eval.c 7968 7969 Patch 7.2.093 (extra) 7970 Problem: Win32: inputdialog() and find/replace dialogs can't handle 7971 multibyte text. 7972 Solution: Use the wide version of dialog functions when available. (Yanwei 7973 Jia) 7974 Files: src/gui_w32.c, src/gui_w48.c 7975 7976 Patch 7.2.094 7977 Problem: Compiler warning for signed/unsigned compare. 7978 Solution: Add type cast. Also fix a few typos. 7979 Files: src/edit.c 7980 7981 Patch 7.2.095 7982 Problem: With Visual selection, "r" and then CTRL-C Visual mode is stopped 7983 but the highlighting is not removed. 7984 Solution: Call reset_VIsual(). 7985 Files: src/normal.c 7986 7987 Patch 7.2.096 7988 Problem: After ":number" the "Press Enter" message may be on the wrong 7989 screen, if switching screens for shell commands. 7990 Solution: Reset info_message. (James Vega) 7991 Files: src/ex_cmds.c 7992 7993 Patch 7.2.097 7994 Problem: "!xterm&" doesn't work when 'shell' is "bash". 7995 Solution: Ignore SIGHUP after calling setsid(). (Simon Schubert) 7996 Files: src/os_unix.c 7997 7998 Patch 7.2.098 7999 Problem: Warning for signed/unsigned pointer. 8000 Solution: Add type cast. 8001 Files: src/eval.c 8002 8003 Patch 7.2.099 8004 Problem: Changing GUI options causes an unnecessary redraw when the GUI 8005 isn't active. 8006 Solution: Avoid the redraw. (Lech Lorens) 8007 Files: src/option.c 8008 8009 Patch 7.2.100 8010 Problem: When using ":source" on a FIFO or something else that can't rewind 8011 the first three bytes are skipped. 8012 Solution: Instead of rewinding read the first line and detect a BOM in that. 8013 (mostly by James Vega) 8014 Files: src/ex_cmds2.c 8015 8016 Patch 7.2.101 (extra) 8017 Problem: MSVC version not recognized. 8018 Solution: Add the version number to the list. (Zhong Zhang) 8019 Files: src/Make_mvc.mak 8020 8021 Patch 7.2.102 (after 7.2.100) 8022 Problem: When 'encoding' is "utf-8" a BOM at the start of a Vim script is 8023 not removed. (Tony Mechelynck) 8024 Solution: When no conversion is taking place make a copy of the line without 8025 the BOM. 8026 Files: src/ex_cmds2.c 8027 8028 Patch 7.2.103 8029 Problem: When 'bomb' is changed the window title is updated to show/hide a 8030 "+", but the tab page label isn't. (Patrick Texier) 8031 Solution: Set "redraw_tabline" in most places where "need_maketitle" is set. 8032 (partly by Lech Lorens) 8033 Files: src/option.c 8034 8035 Patch 7.2.104 8036 Problem: When using ":saveas bar.c" the tab label isn't updated right away. 8037 Solution: Set redraw_tabline. (Francois Ingelrest) 8038 Files: src/ex_cmds.c 8039 8040 Patch 7.2.105 8041 Problem: Modeline setting for 'foldmethod' overrules diff options. (Ingo 8042 Karkat) 8043 Solution: Don't set 'foldmethod' and 'wrap' from a modeline when 'diff' is 8044 on. 8045 Files: src/option.c 8046 8047 Patch 7.2.106 8048 Problem: Endless loop when using "]s" in HTML when there are no 8049 misspellings. (Ingo Karkat) 8050 Solution: Break the search loop. Also fix pointer alignment for systems 8051 with pointers larger than int. 8052 Files: src/spell.c 8053 8054 Patch 7.2.107 8055 Problem: When using a GUI dialog and ":echo" commands the messages are 8056 deleted after the dialog. (Vincent Birebent) 8057 Solution: Don't call msg_end_prompt() since there was no prompt. 8058 Files: src/message.c 8059 8060 Patch 7.2.108 (after 7.2.105) 8061 Problem: Can't build without the diff feature. 8062 Solution: Add #ifdef. 8063 Files: src/option.c 8064 8065 Patch 7.2.109 8066 Problem: 'langmap' does not work for multibyte characters. 8067 Solution: Add a list of mapped multibyte characters. (based on work by 8068 Konstantin Korikov, Agathoklis Hatzimanikas) 8069 Files: runtime/doc/options.txt, src/edit.c, src/getchar.c, src/macros.h, 8070 src/normal.c, src/option.c, src/proto/option.pro, src/window.c 8071 8072 Patch 7.2.110 8073 Problem: Compiler warning for unused variable. 8074 Solution: Init the variable. 8075 Files: src/ex_docmd.c 8076 8077 Patch 7.2.111 8078 Problem: When using Visual block mode with 'cursorcolumn' it's unclear what 8079 is selected. 8080 Solution: Don't use 'cursorcolumn' highlighting inside the Visual selection. 8081 (idea by Dominique Pelle) 8082 Files: src/screen.c 8083 8084 Patch 7.2.112 8085 Problem: Cursor invisible in Visual mode when 'number' is set and cursor in 8086 first column. (Matti Niemenmaa, Renato Alves) 8087 Solution: Check that vcol_prev is smaller than vcol. 8088 Files: src/screen.c 8089 8090 Patch 7.2.113 8091 Problem: Crash for substitute() call using submatch(1) while there is no 8092 such submatch. (Yukihiro Nakadaira) 8093 Solution: Also check the start of the submatch is set, it can be NULL when 8094 an attempted match didn't work out. 8095 Files: src/regexp.c 8096 8097 Patch 7.2.114 8098 Problem: Using wrong printf format. 8099 Solution: Use "%ld" instead of "%d". (Dominique Pelle) 8100 Files: src/netbeans.c 8101 8102 Patch 7.2.115 8103 Problem: Some debugging code is never used. 8104 Solution: Remove nbtrace() and nbprt(). (Dominique Pelle) 8105 Files: src/nbdebug.c, src/nbdebug.h 8106 8107 Patch 7.2.116 8108 Problem: Not all memory is freed when EXITFREE is defined. 8109 Solution: Free allocated memory on exit. (Dominique Pelle) 8110 Files: src/ex_docmd.c, src/gui_gtk_x11.c, src/misc2.c, src/search.c, 8111 src/tag.c 8112 8113 Patch 7.2.117 8114 Problem: Location list incorrectly labelled "Quickfix List". 8115 Solution: Break out of both loops for finding window for location list 8116 buffer. (Lech Lorens) 8117 Files: src/buffer.c, src/quickfix.c, src/screen.c 8118 8119 Patch 7.2.118 8120 Problem: <PageUp> at the more prompt only does half a page. 8121 Solution: Make <PageUp> go up a whole page. Also make 'f' go a page 8122 forward, but not quit the more prompt. (Markus Heidelberg) 8123 Files: src/message.c 8124 8125 Patch 7.2.119 8126 Problem: Status line is redrawn too often. 8127 Solution: Check ScreenLinesUC[] properly. (Yukihiro Nakadaira) 8128 Files: src/screen.c 8129 8130 Patch 7.2.120 8131 Problem: When opening the quickfix window or splitting the window and 8132 setting the location list, the location list is copied and then 8133 deleted, which is inefficient. 8134 Solution: Don't copy the location list when not needed. (Lech Lorens) 8135 Files: src/quickfix.c, src/vim.h, src/window.c 8136 8137 Patch 7.2.121 8138 Problem: In gvim "!grep a *.c" spews out a lot of text that can't be 8139 stopped with CTRL-C. 8140 Solution: When looping to read and show text, do check for typed characters 8141 every two seconds. 8142 Files: src/os_unix.c 8143 8144 Patch 7.2.122 8145 Problem: Invalid memory access when the VimResized autocommand changes 8146 'columns' and/or 'lines'. 8147 Solution: After VimResized check for changed values. (Dominique Pelle) 8148 Files: src/screen.c 8149 8150 Patch 7.2.123 8151 Problem: Typing 'q' at more prompt for ":map" output still displays another 8152 line, causing another more prompt. (Markus Heidelberg) 8153 Solution: Quit listing maps when 'q' typed. 8154 Files: src/getchar.c 8155 8156 Patch 7.2.124 8157 Problem: Typing 'q' at more prompt for ":tselect" output still displays 8158 more lines, causing another more prompt. (Markus Heidelberg) 8159 Solution: Quit listing tags when 'q' typed. 8160 Files: src/tag.c 8161 8162 Patch 7.2.125 8163 Problem: Leaking memory when reading XPM bitmap for a sign. 8164 Solution: Don't allocate the memory twice. (Dominique Pelle) 8165 Files: src/gui_x11.c 8166 8167 Patch 7.2.126 8168 Problem: When EXITFREE is defined signs are not freed. 8169 Solution: Free all signs on exit. Also free keymaps. (Dominique Pelle) 8170 Files: src/misc2.c, src/ex_cmds.c, src/proto/ex_cmds.pro 8171 8172 Patch 7.2.127 8173 Problem: When listing mappings and a wrapping line causes the more prompt, 8174 after typing 'q' there can be another more prompt. (Markus 8175 Heidelberg) 8176 Solution: Set "lines_left" to allow more lines to be displayed. 8177 Files: src/message.c 8178 8179 Patch 7.2.128 (after 7.2.055) 8180 Problem: Using ":lcd" makes session files not work. 8181 Solution: Compare return value of mch_chdir() properly. (Andreas Bernauer) 8182 Files: src/ex_docmd.c 8183 8184 Patch 7.2.129 8185 Problem: When opening a command window from input() it uses the search 8186 history. 8187 Solution: Use get_cmdline_type(). (James Vega) 8188 Files: src/ex_getln.c 8189 8190 Patch 7.2.130 8191 Problem: Vim may hang until CTRL-C is typed when using CTRL-Z. 8192 Solution: Avoid using pause(). Also use "volatile" for variables used in 8193 signal functions. (Dominique Pelle) 8194 Files: src/auto/configure, src/configure.in, src/config.h.in, 8195 src/globals.h, src/os_unix.c 8196 8197 Patch 7.2.131 8198 Problem: When 'keymap' is cleared may still use the cursor highlighting for 8199 when it's enabled. 8200 Solution: Reset 'iminsert' and 'imsearch'. (partly by Dominique Pelle) 8201 Also avoid ":setlocal" for these options have a global effect. 8202 Files: src/option.c 8203 8204 Patch 7.2.132 8205 Problem: When changing directory during a SwapExists autocmd freed memory 8206 may be accessed. (Dominique Pelle) 8207 Solution: Add the allbuf_lock flag. 8208 Files: src/ex_getln.c, src/globals.h, src/fileio.c, 8209 src/proto/ex_getln.pro 8210 8211 Patch 7.2.133 8212 Problem: ":diffoff!" changes settings in windows not in diff mode. 8213 Solution: Only change settings in other windows when 'diff' is set, always 8214 do it for the current window. (Lech Lorens) 8215 Files: src/diff.c 8216 8217 Patch 7.2.134 8218 Problem: Warning for discarding "const" from pointer. 8219 Solution: Don't pass const pointer to mch_memmove(). 8220 Files: src/fileio.c 8221 8222 Patch 7.2.135 8223 Problem: Memory leak when redefining user command with complete argument. 8224 Solution: Free the old complete argument. (Dominique Pelle) 8225 Files: src/ex_docmd.c 8226 8227 Patch 7.2.136 (after 7.2.132) 8228 Problem: ":cd" is still possible in a SwapExists autocmd. 8229 Solution: Check the allbuf_lock flag in ex_cd(). 8230 Files: src/ex_docmd.c 8231 8232 Patch 7.2.137 8233 Problem: When 'virtualedit' is set, a left shift of a blockwise selection 8234 that starts and ends inside a tab shifts too much. (Helmut 8235 Stiegler) 8236 Solution: Redo the block left shift code. (Lech Lorens) 8237 Files: src/ops.c, src/testdir/Makefile, src/testdir/test66.in, 8238 src/testdir/test66.ok 8239 8240 Patch 7.2.138 (extra part of 7.2.137) 8241 Problem: See 7.2.137. 8242 Solution: See 7.2.137. 8243 Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 8244 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 8245 src/testdir/Make_vms.mms 8246 8247 Patch 7.2.139 8248 Problem: Crash when 'virtualedit' is "all". (James Vega) 8249 Solution: Avoid overflow when column is MAXCOL. (Dominique Pelle) 8250 Files: src/misc2.c 8251 8252 Patch 7.2.140 8253 Problem: Diff highlighting isn't displayed before the Visual area if it 8254 starts at the cursor position. (Markus Heidelberg) 8255 Solution: Also check fromcol_prev. 8256 Files: src/screen.c 8257 8258 Patch 7.2.141 8259 Problem: When redrawing a character for bold spill this causes the next 8260 character to be redrawn as well. 8261 Solution: Only redraw one extra character. (Yukihiro Nakadaira) 8262 Files: src/screen.c 8263 8264 Patch 7.2.142 8265 Problem: Motif and Athena balloons don't use tooltip colors. 8266 Solution: Set the colors. (Matt Wozniski) 8267 Files: src/gui_beval.c 8268 8269 Patch 7.2.143 8270 Problem: No command line completion for ":cscope" command. 8271 Solution: Add the completion for ":cscope". (Dominique Pelle) 8272 Files: src/ex_docmd.c, src/ex_getln.c, src/if_cscope.c, 8273 src/proto/if_cscope.pro, src/vim.h 8274 8275 Patch 7.2.144 8276 Problem: When 't_Co' is set to the value it already had the color scheme is 8277 reloaded anyway. 8278 Solution: Only load the colorscheme when the t_Co value changes. (Dominique 8279 Pelle) 8280 Files: src/option.c 8281 8282 Patch 7.2.145 8283 Problem: White space in ":cscope find" is not ignored. 8284 Solution: Ignore the white space, but not when the leading white space is 8285 useful for the argument. 8286 Files: runtime/doc/if_scop.txt, src/if_cscope.c 8287 8288 Patch 7.2.146 8289 Problem: v:warningmsg isn't used for all warnings. 8290 Solution: Set v:warningmsg for relevant warnings. (Ingo Karkat) 8291 Files: src/fileio.c, src/misc1.c, src/option.c 8292 8293 Patch 7.2.147 8294 Problem: When compiled as small version and 'number' is on the cursor is 8295 displayed in the wrong position after a tab. (James Vega) 8296 Solution: Don't increment vcol when still displaying the line number. 8297 Files: src/screen.c 8298 8299 Patch 7.2.148 8300 Problem: When searching for "$" while 'hlsearch' is set, highlighting the 8301 character after the line does not work in the cursor column. 8302 Also highlighting for Visual mode after the line end when this 8303 isn't needed. (Markus Heidelberg) 8304 Solution: Only compare the cursor column in the cursor line. Only highlight 8305 for Visual selection after the last character when it's needed to 8306 see where the Visual selection ends. 8307 Files: src/screen.c 8308 8309 Patch 7.2.149 8310 Problem: Using return value of function that doesn't return a value results 8311 in reading uninitialized memory. 8312 Solution: Set the default to return zero. Make cursor() return -1 on 8313 failure. Let complete() return an empty string in case of an 8314 error. (partly by Dominique Pelle) 8315 Files: runtime/doc/eval.txt, src/eval.c 8316 8317 Patch 7.2.150 (extra) 8318 Problem: Can't use tab pages from VisVim. 8319 Solution: Add tab page support to VisVim. (Adam Slater) 8320 Files: src/VisVim/Commands.cpp, src/VisVim/Resource.h, 8321 src/VisVim/VisVim.rc 8322 8323 Patch 7.2.151 8324 Problem: ":hist a" doesn't work like ":hist all" as the docs suggest. 8325 Solution: Make ":hist a" and ":hist al" work. (Dominique Pelle) 8326 Files: src/ex_getln.c 8327 8328 Patch 7.2.152 8329 Problem: When using "silent echo x" inside ":redir" a next echo may start 8330 halfway the line. (Tony Mechelynck, Dennis Benzinger) 8331 Solution: Reset msg_col after redirecting silently. 8332 Files: src/ex_docmd.c, src/message.c, src/proto/message.pro 8333 8334 Patch 7.2.153 8335 Problem: Memory leak for ":recover empty_dir/". 8336 Solution: Free files[] when it becomes empty. (Dominique Pelle) 8337 Files: src/memline.c 8338 8339 Patch 7.2.154 (after 7.2.132) 8340 Problem: ":cd" is still possible in a SwapExists autocmd. 8341 Solution: Set allbuf_lock in do_swapexists(). 8342 Files: src/memline.c 8343 8344 Patch 7.2.155 8345 Problem: Memory leak in ":function /pat". 8346 Solution: Free the memory. (Dominique Pelle) 8347 Files: src/eval.c 8348 8349 Patch 7.2.156 (after 7.2.143) 8350 Problem: No completion for :scscope and :lcscope commands. 8351 Solution: Implement the completion. (Dominique Pelle) 8352 Files: src/if_cscope.c, src/ex_docmd.c, src/proto/if_cscope.pro 8353 8354 Patch 7.2.157 8355 Problem: Illegal memory access when searching in path. 8356 Solution: Avoid looking at a byte after end of a string. (Dominique Pelle) 8357 Files: src/search.c 8358 8359 Patch 7.2.158 8360 Problem: Warnings from VisualC compiler. 8361 Solution: Add type casts. (George Reilly) 8362 Files: src/ops.c 8363 8364 Patch 7.2.159 8365 Problem: When $x_includes ends up being "NONE" configure fails. 8366 Solution: Check for $x_includes not to be "NONE" (Rainer) 8367 Files: src/auto/configure, src/configure.in 8368 8369 Patch 7.2.160 8370 Problem: Search pattern not freed on exit when 'rightleft' set. 8371 Solution: Free mr_pattern_alloced. 8372 Files: src/search.c 8373 8374 Patch 7.2.161 8375 Problem: Folds messed up in other tab page. (Vlad Irnov) 8376 Solution: Instead of going over all windows in current tab page go over all 8377 windows in all tab pages. Also free memory for location lists in 8378 other tab pages when exiting. (Lech Lorens) 8379 Files: src/fileio.c, src/mark.c, src/misc1.c, src/misc2.c 8380 8381 Patch 7.2.162 8382 Problem: The quickfix window may get wrong filetype. 8383 Solution: Do not detect the filetype for the quickfix window. (Lech Lorens) 8384 Files: src/quickfix.c 8385 8386 Patch 7.2.163 8387 Problem: The command line window may get folding. 8388 Solution: Default to no/manual folding. (Lech Lorens) 8389 Files: src/ex_getln.c 8390 8391 Patch 7.2.164 8392 Problem: When 'showbreak' is set the size of the Visual block may be 8393 reported wrong. (Eduardo Daudt Flach) 8394 Solution: Temporarily make 'sbr' empty. 8395 Files: src/normal.c, src/ops.c 8396 8397 Patch 7.2.165 8398 Problem: The argument for the FuncUndefined autocmd event is expanded like 8399 a file name. 8400 Solution: Don't try expanding it. (Wang Xu) 8401 Files: src/fileio.c 8402 8403 Patch 7.2.166 8404 Problem: No completion for ":sign" command. 8405 Solution: Add ":sign" completion. (Dominique Pelle) 8406 Files: src/ex_cmds.c, src/ex_docmd.c, src/ex_getln.c, src/vim.h, 8407 src/proto/ex_cmds.pro 8408 8409 Patch 7.2.167 8410 Problem: Splint doesn't work well for checking the code. 8411 Solution: Add splint arguments in the Makefile. Exclude some code from 8412 splint that it can't handle. Tune splint arguments to give 8413 reasonable errors. Add a filter for removing false warnings from 8414 splint output. Many small changes to avoid warnings. More to 8415 follow... 8416 Files: Filelist, src/Makefile, src/buffer.c, src/charset.c, 8417 src/cleanlint.vim, src/digraph.c, src/edit.c, src/ex_cmds.c, 8418 src/globals.h, src/ops.c, src/os_unix.c, src/os_unix.h, 8419 src/proto/buffer.pro, src/proto/edit.pro, src/screen.c, 8420 src/structs.h 8421 8422 Patch 7.2.168 8423 Problem: When no ctags program can be found, "make tags" attempts to 8424 execute the first C file. 8425 Solution: Default to "ctags" when no ctags program can be found. 8426 Files: src/configure.in, src/auto/configure 8427 8428 Patch 7.2.169 8429 Problem: Splint complains about a lot of things. 8430 Solution: Add type casts, #ifdefs and other changes to avoid warnings. 8431 Change colnr_T from unsigned to int. Avoids mistakes with 8432 subtracting columns. 8433 Files: src/cleanlint.vim, src/diff.c, src/edit.c, src/ex_cmds.c, 8434 src/ex_cmds2.c, src/ex_docmd.c, src/proto/ex_cmds.pro, 8435 src/proto/spell.pro, src/quickfix.c, src/spell.c, src/structs.h, 8436 src/term.h, src/vim.h 8437 8438 Patch 7.2.170 8439 Problem: Using b_dev while it was not set. (Dominique Pelle) 8440 Solution: Add the b_dev_valid flag. 8441 Files: src/buffer.c, src/fileio.c, src/structs.h 8442 8443 Patch 7.2.171 (after 7.2.169) 8444 Problem: Compiler warnings. (Tony Mechelynck) 8445 Solution: Add function prototype. (Patrick Texier) Init variable. 8446 Files: src/ex_cmds.c 8447 8448 Patch 7.2.172 (extra) 8449 Problem: Compiler warning. 8450 Solution: Adjust function prototype. (Patrick Texier) 8451 Files: src/os_mswin.c 8452 8453 Patch 7.2.173 8454 Problem: Without lint there is no check for unused function arguments. 8455 Solution: Use gcc -Wunused-parameter instead of lint. For a few files add 8456 attributes to arguments that are known not to be used. 8457 Files: src/auto/configure, src/buffer.c, src/charset.c, src/diff.c, 8458 src/configure.in, src/config.h.in, src/edit.c, src/ex_cmds.c, 8459 src/ex_cmds2.c, src/version.c, src/vim.h 8460 8461 Patch 7.2.174 8462 Problem: Too many warnings from gcc -Wextra. 8463 Solution: Change initializer. Add UNUSED. Add type casts. 8464 Files: src/edit.c, src/eval.c, src/ex_cmds.c, src/ex_docmd.c, 8465 src/ex_getln.c, src/fileio.c, getchar.c, globals.h, main.c, 8466 memline.c, message.c, src/misc1.c, src/move.c, src/normal.c, 8467 src/option.c, src/os_unix.c, src/os_unix.h, src/regexp.c, 8468 src/search.c, src/tag.c 8469 8470 Patch 7.2.175 8471 Problem: Compiler warning in OpenBSD. 8472 Solution: Add type cast for NULL. (Dasn) 8473 Files: src/if_cscope.c 8474 8475 Patch 7.2.176 8476 Problem: Exceptions for splint are not useful. 8477 Solution: Remove the S_SPLINT_S ifdefs. 8478 Files: src/edit.c, src/ex_cmds.c, src/ex_docmd.c, src/os_unix.c, 8479 src/os_unix.h, src/os_unixx.h, src/structs.h, src/term.h 8480 8481 Patch 7.2.177 8482 Problem: Compiler warnings when using -Wextra 8483 Solution: Add UNUSED and type casts. 8484 Files: src/eval.c, src/ex_docmd.c, src/ex_eval.c, src/ex_getln.c, 8485 src/fileio.c, src/hardcopy.c, src/if_cscope.c, src/if_xcmdsrv.c, 8486 src/farsi.c, src/mark.c, src/menu.c 8487 8488 Patch 7.2.178 8489 Problem: Using negative value for device number might not work. 8490 Solution: Use a separate flag for whether ffv_dev was set. 8491 Files: src/misc2.c 8492 8493 Patch 7.2.179 8494 Problem: Using negative value for device number might not work. 8495 Solution: Use a separate flag for whether sn_dev was set. 8496 Files: src/ex_cmds2.c 8497 8498 Patch 7.2.180 8499 Problem: Some more compiler warnings when using gcc -Wextra. 8500 Solution: Add UNUSED and type casts. 8501 Files: src/buffer.c, src/ex_cmds.c, src/macros.h, src/main.c, 8502 src/menu.c, src/message.c, src/misc1.c, src/mbyte.c, 8503 src/normal.c, src/option.c, src/os_unix.c, src/quickfix.c, 8504 src/screen.c, src/search.c, src/spell.c, src/syntax.c, src/tag.c, 8505 src/term.c, src/ui.c 8506 8507 Patch 7.2.181 8508 Problem: Some more compiler warnings when using gcc -Wextra. 8509 Solution: Add UNUSED and type casts. 8510 Files: src/if_mzsch.c, src/gui.c, src/gui_gtk.c, src/gui_gtk_x11.c, 8511 src/gui_gtk_f.c, src/gui_beval.c, src/netbeans.c 8512 8513 Patch 7.2.182 (after 7.2.181) 8514 Problem: Compilation problems after previous patch for Motif. Gvim with 8515 GTK crashes on startup. 8516 Solution: Add comma. Init form structure to zeroes. 8517 Files: src/netbeans.c, src/gui_gtk_f.c 8518 8519 Patch 7.2.183 8520 Problem: Configure problem for sys/sysctl.h on OpenBSD. (Dasn) 8521 Solution: Add separate check for this header file. Also switch to newer 8522 version of autoconf. 8523 Files: src/auto/configure, src/configure.in 8524 8525 Patch 7.2.184 8526 Problem: Some more compiler warnings when using gcc -Wextra. 8527 Solution: Add UNUSED and type casts. Autoconf check for wchar_t. 8528 Files: src/auto/configure, src/config.h.in, src/configure.in, 8529 src/gui_athena.c, src/gui_x11.c, src/gui.c, src/gui_beval.c, 8530 src/gui_at_sb.c, src/gui_at_fs.c, src/gui_motif.c, 8531 src/gui_xmdlg.c, src/gui_xmebw.c, src/if_python.c, src/window.c, 8532 src/workshop.c 8533 8534 Patch 7.2.185 8535 Problem: Some more compiler warnings when using gcc -Wextra. 8536 Solution: Add UNUSED and type casts. 8537 Files: src/Makefile, src/if_tlc.c, src/if_ruby.c 8538 8539 Patch 7.2.186 8540 Problem: Some more compiler warnings when using gcc -Wextra. 8541 Solution: Now with the intended if_tcl.c changes. 8542 Files: src/if_tcl.c 8543 8544 Patch 7.2.187 (after 7.2.186) 8545 Problem: Doesn't build with older versions of TCL. (Yongwei Wu) 8546 Solution: Add #ifdefs. (Dominique Pelle) 8547 Files: src/if_tcl.c 8548 8549 Patch 7.2.188 8550 Problem: Crash with specific use of function calls. (Meikel Brandmeyer) 8551 Solution: Make sure the items referenced by a function call are not freed 8552 twice. (based on patch from Nico Weber) 8553 Files: src/eval.c 8554 8555 Patch 7.2.189 8556 Problem: Possible hang for deleting auto-indent. (Dominique Pelle) 8557 Solution: Make sure the position is not beyond the end of the line. 8558 Files: src/edit.c 8559 8560 Patch 7.2.190 8561 Problem: The register executed by @@ isn't restored. 8562 Solution: Mark the executable register in the viminfo file. 8563 Files: src/ops.c 8564 8565 Patch 7.2.191 8566 Problem: Mzscheme interface doesn't work on Ubuntu. 8567 Solution: Change autoconf rules. Define missing macro. Some changes to 8568 avoid gcc warnings. Remove per-buffer namespace. (Sergey Khorev) 8569 Files: runtime/doc/if_mzsch.txt, src/Makefile, src/Make_ming.mak, 8570 src/Make_mvc.mak, src/auto/configure, src/configure.in, 8571 src/config.mk.in, src/eval.c, src/if_mzsch.c, src/if_mzsch.h, 8572 src/main.c, src/proto/if_mzsch.pro 8573 8574 Patch 7.2.192 (after 7.2.188) 8575 Problem: Still a crash in the garbage collector for a very rare situation. 8576 Solution: Make sure current_copyID is always incremented correctly. (Kent 8577 Sibilev) 8578 Files: src/eval.c 8579 8580 Patch 7.2.193 8581 Problem: Warning for uninitialized values. 8582 Solution: Initialize all the struct items. 8583 Files: src/eval.c 8584 8585 Patch 7.2.194 (extra) 8586 Problem: MSVC: rem commands are echoed. 8587 Solution: Add commands to switch off echo. (Wang Xu) 8588 Files: src/msvc2008.bat 8589 8590 Patch 7.2.195 8591 Problem: Leaking memory for the command Vim was started with. 8592 Solution: Remember the pointer and free it. 8593 Files: src/gui_gtk_x11.c 8594 8595 Patch 7.2.196 (after 7.2.167) 8596 Problem: Turns out splint doesn't work well enough to be usable. 8597 Solution: Remove splint support. 8598 Files: Filelist, src/cleanlint.vim 8599 8600 Patch 7.2.197 8601 Problem: Warning for uninitialized values. 8602 Solution: Initialize all the struct items of typebuf. 8603 Files: src/globals.h 8604 8605 Patch 7.2.198 8606 Problem: Size of buffer used for tgetent() may be too small. 8607 Solution: Use the largest known size everywhere. 8608 Files: src/vim.h 8609 8610 Patch 7.2.199 8611 Problem: Strange character in comment. 8612 Solution: Change to "message". (Yongwei Wu) 8613 Files: src/term.c 8614 8615 Patch 7.2.200 8616 Problem: Reading past end of string when navigating the menu bar or 8617 resizing the window. 8618 Solution: Add and use mb_ptr2len_len(). (partly by Dominique Pelle) 8619 Also add mb_ptr2cells_len() to prevent more trouble. 8620 Files: src/gui_gtk_x11.c, src/os_unix.c, src/globals.h, src/mbyte.c, 8621 src/proto/mbyte.pro 8622 8623 Patch 7.2.201 8624 Problem: Cannot copy/paste HTML to/from Firefox via the clipboard. 8625 Solution: Implement this for GTK. Add the "html" value to 'clipboard'. 8626 Files: runtime/doc/options.txt, src/globals.h, src/gui_gtk_x11.c, 8627 src/mbyte.c, src/proto/mbyte.pro, src/option.c 8628 8629 Patch 7.2.202 8630 Problem: BufWipeout autocommand that edits another buffer causes problems. 8631 Solution: Check for the situation, give an error and quit the operation. 8632 Files: src/fileio.c 8633 8634 Patch 7.2.203 8635 Problem: When reloading a buffer or doing anything else with a buffer that 8636 is not displayed in a visible window, autocommands may be applied 8637 to the current window, folds messed up, etc. 8638 Solution: Instead of using the current window for the hidden buffer use a 8639 special window, splitting the current one temporarily. 8640 Files: src/fileio.c, src/globals.h, src/gui.c, src/if_perl.xs, 8641 src/progo/gui.pro, src/proto/window.pro, src/screen.c, 8642 src/structs.h, src/window.c 8643 8644 Patch 7.2.204 (extra) 8645 Problem: Win32: Can't build with Visual Studio 2010 beta 1. 8646 Solution: Fix the makefile. (George Reilly) 8647 Files: src/Make_mvc.mak 8648 8649 Patch 7.2.205 (extra) 8650 Problem: Win32: No support for High DPI awareness. 8651 Solution: Fix the manifest file. (George Reilly) 8652 Files: src/Make_mvc.mak, src/gvim.exe.mnf 8653 8654 Patch 7.2.206 8655 Problem: Win32: Can't build netbeans interface with Visual Studio 2010. 8656 Solution: Undefine ECONNREFUSED. (George Reilly) 8657 Files: src/netbeans.c 8658 8659 Patch 7.2.207 8660 Problem: Using freed memory with ":redrawstatus" when it works recursively. 8661 Solution: Prevent recursively updating the status line. (partly by Dominique 8662 Pelle) 8663 Files: src/screen.c 8664 8665 Patch 7.2.208 8666 Problem: "set novice" gives an error message, it should be ignored. 8667 Solution: Don't see "no" in "novice" as unsetting an option. (Patrick 8668 Texier) 8669 Files: src/option.c 8670 8671 Patch 7.2.209 8672 Problem: For xxd setmode() is undefined on Cygwin. 8673 Solution: Include io.h. (Dominique Pelle) 8674 Files: src/xxd/xxd.c 8675 8676 Patch 7.2.210 8677 Problem: When a file that is being edited has its timestamp updated outside 8678 of Vim and ":checktime" is used still get a warning when writing 8679 the file. (Matt Mueller) 8680 Solution: Store the timestamp in b_mtime_read when the timestamp is the only 8681 thing that changed. 8682 Files: src/fileio.c 8683 8684 Patch 7.2.211 8685 Problem: Memory leak when expanding a series of file names. 8686 Solution: Use ga_clear_strings() instead of ga_clear(). 8687 Files: src/misc1.c 8688 8689 Patch 7.2.212 (extra) 8690 Problem: Warnings for redefining SIG macros. 8691 Solution: Don't define them if already defined. (Bjorn Winckler) 8692 Files: src/os_mac.h 8693 8694 Patch 7.2.213 8695 Problem: Warning for using vsprintf(). 8696 Solution: Use vim_vsnprintf(). 8697 Files: src/netbeans.c 8698 8699 Patch 7.2.214 8700 Problem: Crash with complete function for user command. (Andy Wokula) 8701 Solution: Avoid using a NULL pointer (Dominique Pelle) 8702 Files: src/ex_getln.c 8703 8704 Patch 7.2.215 8705 Problem: ml_get error when using ":vimgrep". 8706 Solution: Load the memfile for the hidden buffer before putting it in a 8707 window. Correct the order of splitting the window and filling 8708 the window and buffer with data. 8709 Files: src/fileio.c, src/proto/window.pro, src/quickfix.c, src/window.c 8710 8711 Patch 7.2.216 8712 Problem: Two error messages have the same number E812. 8713 Solution: Give one message a different number. 8714 Files: runtime/doc/autocmd.txt, runtime/doc/if_mzsch.txt, src/if_mzsch.c 8715 8716 Patch 7.2.217 8717 Problem: Running tests with valgrind doesn't work as advertised. 8718 Solution: Fix the line in the Makefile. 8719 Files: src/testdir/Makefile 8720 8721 Patch 7.2.218 8722 Problem: Cannot build GTK with hangul_input feature. (Dominique Pelle) 8723 Solution: Adjust #ifdef. (SungHyun Nam) 8724 Files: src/gui.c 8725 8726 Patch 7.2.219 (extra) 8727 Problem: Photon GUI is outdated. 8728 Solution: Updates for QNX 6.4.0. (Sean Boudreau) 8729 Files: src/gui_photon.c 8730 8731 Patch 7.2.220 (after 7.2.215) 8732 Problem: a BufEnter autocommand that changes directory causes problems. 8733 (Ajit Thakkar) 8734 Solution: Disable autocommands when opening a hidden buffer in a window. 8735 Files: src/fileio.c 8736 8737 Patch 7.2.221 8738 Problem: X cut_buffer0 text is used as-is, it may be in the wrong encoding. 8739 Solution: Convert between 'enc' and latin1. (James Vega) 8740 Files: src/gui_gtk_x11.c, src/message.c, src/ops.c, src/proto/ui.pro, 8741 src/ui.c 8742 8743 Patch 7.2.222 8744 Problem: ":mksession" doesn't work properly with 'acd' set. 8745 Solution: Make it work. (Yakov Lerner) 8746 Files: src/ex_docmd.c 8747 8748 Patch 7.2.223 8749 Problem: When a script is run with ":silent" it is not able to give warning 8750 messages. 8751 Solution: Add the ":unsilent" command. 8752 Files: runtime/doc/various.txt, src/ex_cmds.h, src/ex_docmd.c 8753 8754 Patch 7.2.224 8755 Problem: Crash when using 'completefunc'. (Ingo Karkat) 8756 Solution: Disallow entering edit() recursively when doing completion. 8757 Files: src/edit.c 8758 8759 Patch 7.2.225 8760 Problem: When using ":normal" a saved character may be executed. 8761 Solution: Also store old_char when saving typeahead. 8762 Files: src/getchar.c, src/structs.h 8763 8764 Patch 7.2.226 8765 Problem: ml_get error after deleting the last line. (Xavier de Gaye) 8766 Solution: When adjusting marks a callback may be invoked. Adjust the cursor 8767 position before invoking deleted_lines_mark(). 8768 Files: src/ex_cmds.c, src/ex_docmd.c, src/if_mzsch.c, src/if_python.c, 8769 src/if_perl.xs, src/misc1.c 8770 8771 Patch 7.2.227 8772 Problem: When using ":cd" in a script there is no way to track this. 8773 Solution: Display the directory when 'verbose' is 5 or higher. 8774 Files: src/ex_docmd.c 8775 8776 Patch 7.2.228 8777 Problem: Cscope is limited to 8 connections. 8778 Solution: Allocated the connection array to handle any number of 8779 connections. (Dominique Pelle) 8780 Files: runtime/doc/if_cscop.txt, src/if_cscope.h, src/if_cscope.c 8781 8782 Patch 7.2.229 8783 Problem: Warning for shadowed variable. 8784 Solution: Rename "wait" to "wait_time". 8785 Files: src/os_unix.c 8786 8787 Patch 7.2.230 8788 Problem: A few old lint-style ARGUSED comments. 8789 Solution: Change to the new UNUSED style. 8790 Files: src/getchar.c 8791 8792 Patch 7.2.231 8793 Problem: Warning for unreachable code. 8794 Solution: Add #ifdef. 8795 Files: src/if_perl.xs 8796 8797 Patch 7.2.232 8798 Problem: Cannot debug problems with being in a wrong directory. 8799 Solution: When 'verbose' is 5 or higher report directory changes. 8800 Files: src/os_unix.c, src/os_unix.h, src/proto/os_unix.pro 8801 8802 Patch 7.2.233 (extra part of 7.2.232) 8803 Problem: Cannot debug problems with being in a wrong directory. 8804 Solution: When 'verbose' is 5 or higher report directory changes. 8805 Files: src/os_msdos.c, src/os_mswin.c, src/os_riscos.c, src/os_mac.h 8806 8807 Patch 7.2.234 8808 Problem: It is not possible to ignore file names without a suffix. 8809 Solution: Use an empty entry in 'suffixes' for file names without a dot. 8810 Files: runtime/doc/cmdline.txt, src/misc1.c 8811 8812 Patch 7.2.235 8813 Problem: Using CTRL-O z= in Insert mode has a delay before redrawing. 8814 Solution: Reset msg_didout and msg_scroll. 8815 Files: src/misc1.c, src/spell.c 8816 8817 Patch 7.2.236 8818 Problem: Mac: Compiling with Ruby doesn't always work. 8819 Solution: In configure filter out the --arch argument (Bjorn Winckler) 8820 Files: src/configure.in, src/auto/configure 8821 8822 Patch 7.2.237 8823 Problem: Crash on exit when window icon not set. 8824 Solution: Copy terminal name when using it for the icon name. 8825 Files: src/os_unix.c 8826 8827 Patch 7.2.238 8828 Problem: Leaking memory when setting term to "builtin_dumb". 8829 Solution: Free memory when resetting term option t_Co. 8830 Files: src/option.c, src/proto/option.pro, src/term.c 8831 8832 Patch 7.2.239 8833 Problem: Using :diffpatch twice or when patching fails causes memory 8834 corruption and/or a crash. (Bryan Venteicher) 8835 Solution: Detect missing output file. Avoid using non-existing buffer. 8836 Files: src/diff.c 8837 8838 Patch 7.2.240 8839 Problem: Crash when using find/replace dialog repeatedly. (Michiel 8840 Hartsuiker) 8841 Solution: Avoid doing the operation while busy or recursively. Also refuse 8842 replace when text is locked. 8843 Files: src/gui.c 8844 8845 Patch 7.2.241 8846 Problem: When using a combination of ":bufdo" and "doautoall" we may end up 8847 in the wrong directory. (Ajit Thakkar) 8848 Crash when triggering an autocommand in ":vimgrep". (Yukihiro 8849 Nakadaira) 8850 Solution: Clear w_localdir and globaldir when using the aucmd_win. 8851 Use a separate flag to decide aucmd_win needs to be restored. 8852 Files: src/fileio.c, src/globals.h, src/structs.h 8853 8854 Patch 7.2.242 8855 Problem: Setting 'lazyredraw' causes the cursor column to be recomputed. 8856 (Tom Link) 8857 Solution: Only recompute the cursor column for a boolean option if changes 8858 the cursor position. 8859 Files: src/option.c 8860 8861 Patch 7.2.243 8862 Problem: Memory leak when using :vimgrep and resizing. (Dominique Pelle) 8863 Solution: Free memory for aucmd_win when resizing and don't allocate it 8864 twice. 8865 Files: src/screen.c 8866 8867 Patch 7.2.244 8868 Problem: When 'enc' is utf-8 and 'fenc' is latin1, writing a non-latin1 8869 character gives a conversion error without any hint what is wrong. 8870 Solution: When known add the line number to the error message. 8871 Files: src/fileio.c 8872 8873 Patch 7.2.245 8874 Problem: When 'enc' is "utf-16" and 'fenc' is "utf-8" writing a file does 8875 conversion while none should be done. (Yukihiro Nakadaira) When 8876 'fenc' is empty the file is written as utf-8 instead of utf-16. 8877 Solution: Do proper comparison of encodings, taking into account that all 8878 Unicode values for 'enc' use utf-8 internally. 8879 Files: src/fileio.c 8880 8881 Patch 7.2.246 8882 Problem: Cscope home page link is wrong. 8883 Solution: Update the URL. (Sergey Khorev) 8884 Files: runtime/doc/if_cscop.txt 8885 8886 Patch 7.2.247 8887 Problem: Mzscheme interface minor problem. 8888 Solution: Better error message when build fails. (Sergey Khorev) 8889 Files: src/if_mzsch.c 8890 8891 Patch 7.2.248 (extra) 8892 Problem: Mzscheme interface building minor problems. 8893 Solution: Update Win32 makefiles. (Sergey Khorev) 8894 Files: src/Make_cyg.mak, src/Make_ming.mak, src/Make_mvc.mak 8895 8896 Patch 7.2.249 8897 Problem: The script to check .po files can't handle '%' in plural forms. 8898 Solution: Remove "Plural-Forms:" from the checked string. 8899 Files: src/po/check.vim 8900 8901 Patch 7.2.250 (extra) 8902 Problem: Possible buffer overflow. 8903 Solution: Compute the remaining space. (Dominique Pelle) 8904 Files: src/GvimExt/gvimext.cpp 8905 8906 Patch 7.2.251 (after 7.2.044) 8907 Problem: Compiler adds invalid memory bounds check. 8908 Solution: Remove _FORTIFY_SOURCE=2 from CFLAGS. (Dominique Pelle) 8909 Files: src/auto/configure, src/configure.in 8910 8911 Patch 7.2.252 8912 Problem: When using a multibyte 'enc' the 'iskeyword' option cannot 8913 contain characters above 128. 8914 Solution: Use mb_ptr2char_adv(). 8915 Files: src/charset.c 8916 8917 Patch 7.2.253 8918 Problem: Netbeans interface: getLength always uses current buffer. 8919 Solution: Use ml_get_buf() instead of ml_get(). (Xavier de Gaye) 8920 Files: src/netbeans.c 8921 8922 Patch 7.2.254 8923 Problem: Compiler warning for assigning size_t to int. 8924 Solution: Use size_t for the variable. (George Reilly) 8925 Files: src/fileio.c 8926 8927 Patch 7.2.255 (after 7.2.242) 8928 Problem: Setting 'rightleft', 'linebreak' and 'wrap' may cause cursor to be 8929 in wrong place. 8930 Solution: Recompute the cursor column for these options. 8931 Files: src/option.c 8932 8933 Patch 7.2.256 8934 Problem: When 'guifont' was not set GTK font dialog doesn't have a default. 8935 (Andreas Metzler) 8936 Solution: Set default to DEFAULT_FONT. (James Vega) 8937 Files: src/gui_gtk_x11.c 8938 8939 Patch 7.2.257 8940 Problem: With GTK 2.17 lots of assertion error messages. 8941 Solution: Remove check for static gravity. (Sebastian Droege) 8942 Files: src/gui_gtk_f.c 8943 8944 Patch 7.2.258 8945 Problem: v:beval_col and b:beval_text are wrong in UTF-8 text. (Tony 8946 Mechelynck) 8947 Solution: Use byte number instead of character number for the column. 8948 Files: src/ui.c 8949 8950 Patch 7.2.259 8951 Problem: exists() doesn't work properly for an empty aucmd group. 8952 Solution: Change how au_exists() handles a missing pattern. Also add a 8953 test for this. (Bob Hiestand) 8954 Files: src/fileio.c, src/testdir/Makefile, src/testdir/test67.in, 8955 src/testdir/test67.ok 8956 8957 Patch 7.2.260 (extra part of 7.2.259) 8958 Problem: exists() doesn't work properly for empty aucmd group. 8959 Solution: Change how au_exists() handles a missing pattern. Also add a 8960 test for this. (Bob Hiestand) 8961 Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 8962 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 8963 src/testdir/Make_vms.mms 8964 8965 Patch 7.2.261 8966 Problem: When deleting lines with a specific folding configuration E38 may 8967 appear. (Shahaf) 8968 Solution: When adjusting nested folds for deleted lines take into account 8969 that they don't start at the top of the enclosing fold. 8970 Files: src/fold.c 8971 8972 Patch 7.2.262 8973 Problem: When using custom completion for a user command the pattern string 8974 goes beyond the cursor position. (Hari Krishna Dara) 8975 Solution: Truncate the string at the cursor position. 8976 Files: src/ex_getln.c, src/structs.h 8977 8978 Patch 7.2.263 8979 Problem: GTK2: when using the -geom argument with an offset from the right 8980 edge and the size is smaller than the default, the Vim window is 8981 not positioned properly. 8982 Solution: Use another function to set the size. (Vitaly Minko) 8983 Files: src/gui_gtk_x11.c 8984 8985 Patch 7.2.264 8986 Problem: GTK2: When the Vim window is maximized setting 'columns' or 8987 'lines' doesn't work. 8988 Solution: Unmaximize the window before setting the size. (Vitaly Minko) 8989 Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro 8990 8991 Patch 7.2.265 8992 Problem: When using ":silent broken" inside try/catch silency may persist. 8993 (dr-dr xp) 8994 Solution: Set msg_silent when there is an error and it's bigger than the 8995 saved value. 8996 Files: src/ex_docmd.c 8997 8998 Patch 7.2.266 8999 Problem: When an expression abbreviation is triggered, the typed character 9000 is unknown. 9001 Solution: Make the typed character available in v:char. 9002 Files: runtime/doc/map.txt, src/eval.c, src/getchar.c, src/ops.c, 9003 src/proto/eval.pro 9004 9005 Patch 7.2.267 9006 Problem: Crash for narrow window and double-width character. 9007 Solution: Check for zero width. (Taro Muraoka) 9008 Files: src/charset.c 9009 9010 Patch 7.2.268 9011 Problem: Crash when using Python to set cursor beyond end of line. 9012 (winterTTr) 9013 Solution: Check the column to be valid. 9014 Files: src/if_python.c 9015 9016 Patch 7.2.269 9017 Problem: Many people struggle to find out why Vim startup is slow. 9018 Solution: Add the --startuptime command line flag. 9019 Files: runtime/doc/starting.txt, src/globals.h, src/feature.h, 9020 src/main.c, src/macros.h 9021 9022 Patch 7.2.270 9023 Problem: Using ":@c" when the c register contains a CR causes the rest to 9024 be executed later. (Dexter Douglas) 9025 Solution: Don't check for typeahead to start with ':', keep executing 9026 commands until all added typeahead has been used. 9027 Files: src/ex_docmd.c 9028 9029 Patch 7.2.271 9030 Problem: Using freed memory in Motif GUI version when making a choice. 9031 Solution: Free memory only after using it. (Dominique Pelle) 9032 Files: src/gui_xmdlg.c 9033 9034 Patch 7.2.272 9035 Problem: "_.svz" is not recognized as a swap file. (David M. Besonen) 9036 Solution: Accept .s[uvw][a-z] as a swap file name extension. 9037 Files: src/memline.c 9038 9039 Patch 7.2.273 9040 Problem: Crash with redir to unknown array. (Christian Brabandt) 9041 Solution: Don't assign the redir result when there was an error. 9042 Files: src/eval.c 9043 9044 Patch 7.2.274 9045 Problem: Syntax folding doesn't work properly when adding a comment. 9046 Solution: Fix it and add a test. (Lech Lorens) 9047 Files: src/fold.c, src/testdir/test45.in, src/testdir/test45.ok 9048 9049 Patch 7.2.275 9050 Problem: Warning for unused argument and comparing signed and unsigned. 9051 Solution: Add type cast. 9052 Files: src/memline.c 9053 9054 Patch 7.2.276 9055 Problem: Crash when setting 'isprint' to a small bullet. (Raul Coronado) 9056 Solution: Check for the character to be < 256. Also make it possible to 9057 specify a range of multibyte characters. (Lech Lorens) 9058 Files: src/charset.c 9059 9060 Patch 7.2.277 9061 Problem: CTRL-Y in a diff'ed window may move the cursor outside of the 9062 window. (Lech Lorens) 9063 Solution: Limit the number of filler lines to the height of the window. 9064 Don't reset filler lines to zero for an empty buffer. 9065 Files: src/move.c 9066 9067 Patch 7.2.278 9068 Problem: Using magic number in the folding code. 9069 Solution: Use the defined MAX_LEVEL. 9070 Files: src/fold.c 9071 9072 Patch 7.2.279 9073 Problem: Invalid memory read with visual mode "r". (Dominique Pelle) 9074 Solution: Make sure the cursor position is valid. Don't check the cursor 9075 position but the position being used. And make sure we get the 9076 right line. 9077 Files: src/misc2.c, src/ops.c 9078 9079 Patch 7.2.280 9080 Problem: A redraw in a custom statusline with %! may cause a crash. 9081 (Yukihiro Nakadaira) 9082 Solution: Make a copy of 'statusline'. Also fix typo in function name 9083 redraw_custom_statusline. (partly by Dominique Pelle) 9084 Files: src/screen.c 9085 9086 Patch 7.2.281 9087 Problem: 'cursorcolumn' highlighting is wrong in diff mode. 9088 Solution: Adjust the column computation. (Lech Lorens) 9089 Files: src/screen.c 9090 9091 Patch 7.2.282 9092 Problem: A fold can't be closed. 9093 Solution: Initialize fd_small to MAYBE. (Lech Lorens) 9094 Files: src/fold.c 9095 9096 Patch 7.2.283 9097 Problem: Changing font while the window is maximized doesn't keep the 9098 window maximized. 9099 Solution: Recompute number of lines and columns after changing font. (James 9100 Vega) 9101 Files: src/gui_gtk_x11.c 9102 9103 Patch 7.2.284 9104 Problem: When editing the same buffer in two windows, one with folding, 9105 display may be wrong after changes. 9106 Solution: Call set_topline() to take care of side effects. (Lech Lorens) 9107 Files: src/misc1.c 9108 9109 Patch 7.2.285 (after 7.2.169) 9110 Problem: CTRL-U in Insert mode also deletes indent. (Andrey Voropaev) 9111 Solution: Fix mistake made in patch 7.2.169. 9112 Files: src/edit.c 9113 9114 Patch 7.2.286 (after 7.2.269) 9115 Problem: The "--startuptime=<file>" argument is not consistent with other 9116 arguments. 9117 Solution: Use "--startuptime <file>". Added the +startuptime feature. 9118 Files: runtime/doc/eval.txt, runtime/doc/starting.txt, 9119 runtime/doc/various.txt, src/eval.c, src/main.c, src/version.c 9120 9121 Patch 7.2.287 9122 Problem: Warning from gcc 3.4 about uninitialized variable. 9123 Solution: Move assignment outside of #ifdef. 9124 Files: src/if_perl.xs 9125 9126 Patch 7.2.288 9127 Problem: Python 2.6 pyconfig.h redefines macros. 9128 Solution: Undefine the macros before including pyconfig.h. 9129 Files: src/if_python.c 9130 9131 Patch 7.2.289 9132 Problem: Checking wrong struct member. 9133 Solution: Change tb_buf to tb_noremap. (Dominique Pelle) 9134 Files: src/getchar.c 9135 9136 Patch 7.2.290 9137 Problem: Not freeing memory from ":lmap", ":xmap" and ":menutranslate". 9138 Solution: Free the memory when exiting. (Dominique Pelle) 9139 Files: src/misc2.c 9140 9141 Patch 7.2.291 9142 Problem: Reading uninitialised memory in arabic mode. 9143 Solution: Use utfc_ptr2char_len() rather than utfc_ptr2char(). (Dominique 9144 Pelle) 9145 Files: src/screen.c 9146 9147 Patch 7.2.292 9148 Problem: Block right-shift doesn't work properly with multibyte encoding 9149 and 'list' set. 9150 Solution: Add the missing "else". (Lech Lorens) 9151 Files: src/ops.c 9152 9153 Patch 7.2.293 9154 Problem: When setting 'comments' option it may be used in a wrong way. 9155 Solution: Don't increment after skipping over digits. (Yukihiro Nakadaira) 9156 Files: src/misc1.c 9157 9158 Patch 7.2.294 9159 Problem: When using TEMPDIRS dir name could get too long. 9160 Solution: Overwrite tail instead of appending each time. Use mkdtemp() when 9161 available. (James Vega) 9162 Files: src/auto/configure, src/config.h.in, src/configure.in, src/fileio.c 9163 9164 Patch 7.2.295 9165 Problem: When using map() on a List the index is not known. 9166 Solution: Set v:key to the index. (Hari Krishna Dara) 9167 Files: runtime/doc/eval.txt, src/eval.c 9168 9169 Patch 7.2.296 9170 Problem: Help message about startuptime is wrong. (Dominique Pelle) 9171 Solution: Remove the equal sign. 9172 Files: src/main.c 9173 9174 Patch 7.2.297 9175 Problem: Reading freed memory when writing ":reg" output to a register. 9176 (Dominique Pelle) 9177 Solution: Skip the register being written to. 9178 Files: src/ops.c 9179 9180 Patch 7.2.298 9181 Problem: ":vimgrep" crashes when there is an autocommand that sets a 9182 window-local variable. 9183 Solution: Initialize the w: hashtab for re-use. (Yukihiro Nakadaira) 9184 Files: src/fileio.c 9185 9186 Patch 7.2.299 9187 Problem: Crash when comment middle is longer than start. 9188 Solution: Fix size computation. (Lech Lorens) 9189 Files: src/misc1.c 9190 9191 Patch 7.2.300 9192 Problem: Vim doesn't close file descriptors when forking and executing 9193 another command, e.g., ":shell". 9194 Solution: Use FD_CLOEXEC when available. (James Vega) 9195 Files: auto/configure, src/config.h.in, src/configure.in, 9196 src/ex_cmdds2.c, src/fileio.c, src/memfile.c, src/memline.c 9197 9198 Patch 7.2.301 9199 Problem: Formatting is wrong when 'tw' is set to a small value. 9200 Solution: Fix it and add tests. Also fix behavior of "1" in 'fo'. (Yukihiro 9201 Nakadaira) 9202 Files: src/edit.c, src/testdir/Makefile, src/testdir/test68.in, 9203 src/testdir/test68.ok, src/testdir/test69.in, 9204 src/testdir/test69,ok 9205 9206 Patch 7.2.302 (extra part of 7.2.301) 9207 Problem: Formatting wrong with small 'tw' value. 9208 Solution: Add build rules for tests. 9209 Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 9210 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 9211 src/testdir/Make_vms.mms 9212 9213 Patch 7.2.303 (after 7.2.294) 9214 Problem: Can't build on MS-Windows. 9215 Solution: Add #ifdef around vim_settempdir(). (James Vega) 9216 Files: src/fileio.c 9217 9218 Patch 7.2.304 9219 Problem: Compiler warning for bad pointer cast. 9220 Solution: Use another variable for int pointer. 9221 Files: src/ops.c 9222 9223 Patch 7.2.305 9224 Problem: Recursively redrawing causes a memory leak. (Dominique Pelle) 9225 Solution: Disallow recursive screen updating. 9226 Files: src/screen.c 9227 9228 Patch 7.2.306 9229 Problem: shellescape("10%%", 1) only escapes first %. (Christian Brabandt) 9230 Solution: Don't copy the character after the escaped one. 9231 Files: src/misc2.c 9232 9233 Patch 7.2.307 9234 Problem: Crash with a very long syntax match statement. (Guy Gur Ari) 9235 Solution: When the offset does not fit in the two bytes available give an 9236 error instead of continuing with invalid pointers. 9237 Files: src/regexp.c 9238 9239 Patch 7.2.308 9240 Problem: When using a regexp in the "\=" expression of a substitute 9241 command, submatch() returns empty strings for further lines. 9242 (Clockwork Jam) 9243 Solution: Save and restore the line number and line count when calling 9244 reg_getline(). 9245 Files: src/regexp.c 9246 9247 Patch 7.2.309 (after 7.2.308) 9248 Problem: Warning for missing function prototype. (Patrick Texier) 9249 Solution: Add the prototype. 9250 Files: src/regexp.c 9251 9252 Patch 7.2.310 9253 Problem: When a filetype plugin in ~/.vim/ftdetect uses ":setfiletype" and 9254 the file starts with a "# comment" it gets "conf" filetype. 9255 Solution: Check for "conf" filetype after using ftdetect plugins. 9256 Files: runtime/filetype.vim 9257 9258 Patch 7.2.311 9259 Problem: Can't compile with FreeMiNT. 9260 Solution: Change #ifdef for limits.h. (Alan Hourihane) 9261 Files: src/fileio.c 9262 9263 Patch 7.2.312 9264 Problem: iconv() returns an invalid character sequence when conversion 9265 fails. It should return an empty string. (Yongwei Wu) 9266 Solution: Be more strict about invalid characters in the input. 9267 Files: src/mbyte.c 9268 9269 Patch 7.2.313 9270 Problem: Command line completion doesn't work after "%:h" and similar. 9271 Solution: Expand these items before doing the completion. 9272 Files: src/ex_getln.c, src/misc1.c, src/proto/misc1.pro 9273 9274 Patch 7.2.314 9275 Problem: Missing function in small build. 9276 Solution: Always include concat_str. 9277 Files: src/misc1.c 9278 9279 Patch 7.2.315 9280 Problem: Python libs can't be found on 64 bit system. 9281 Solution: Add lib64 to the list of directories. (Michael Henry) 9282 Files: src/auto/configure, src/configure.in 9283 9284 Patch 7.2.316 9285 Problem: May get multiple _FORTIFY_SOURCE arguments. (Tony Mechelynck) 9286 Solution: First remove all these arguments and then add the one we want. 9287 (Dominique Pelle) 9288 Files: src/auto/configure, src/configure.in 9289 9290 Patch 7.2.317 9291 Problem: Memory leak when adding a highlight group with unprintable 9292 characters, resulting in E669. 9293 Solution: Free the memory. And fix a few typos. (Dominique Pelle) 9294 Files: src/syntax.c 9295 9296 Patch 7.2.318 9297 Problem: Wrong locale value breaks floating point numbers for gvim. 9298 Solution: Set the locale again after doing GUI inits. (Dominique Pelle) 9299 Files: src/main.c 9300 9301 Patch 7.2.319 9302 Problem: Motif: accessing freed memory when cancelling font dialog. 9303 Solution: Destroy the widget only after accessing it. (Dominique Pelle) 9304 Files: src/gui_xmdlg.c 9305 9306 Patch 7.2.320 9307 Problem: Unused function in Mzscheme interface. 9308 Solution: Remove the function and what depends on it. (Dominique Pelle) 9309 Files: src/if_mzsch.c, src/proto/if_mzsch.pro 9310 9311 Patch 7.2.321 9312 Problem: histadd() and searching with "*" fails to add entry to history 9313 when it is empty. 9314 Solution: Initialize the history. (Lech Lorens) 9315 Files: src/eval.c, src/normal.c 9316 9317 Patch 7.2.322 9318 Problem: Wrong indenting in virtual replace mode with CTRL-Y below a short 9319 line. 9320 Solution: Check for character to be NUL. (suggested by Lech Lorens) 9321 Files: src/edit.c 9322 9323 Patch 7.2.323 (extra) 9324 Problem: Balloon evaluation crashes on Win64. 9325 Solution: Change pointer types. (Sergey Khorev) 9326 Files: src/gui_w32.c 9327 9328 Patch 7.2.324 9329 Problem: A negative column argument in setpos() may cause a crash. 9330 Solution: Check for invalid column number. (James Vega) 9331 Files: src/eval.c, src/misc2.c 9332 9333 Patch 7.2.325 9334 Problem: A stray "w" in the startup vimrc file causes the edited file to be 9335 replaced with an empty file. (Stone Kang). 9336 Solution: Do not write a buffer when it has never been loaded. 9337 Files: src/fileio.c 9338 9339 Patch 7.2.326 9340 Problem: Win32: $HOME doesn't work when %HOMEPATH% is not defined. 9341 Solution: Use "\" for %HOMEPATH% when it is not defined. 9342 Files: src/misc1.c 9343 9344 Patch 7.2.327 9345 Problem: Unused functions in Workshop. 9346 Solution: Add "#if 0" and minor cleanup. (Dominique Pelle) 9347 Files: src/workshop.c, src/integration.c, src/integration.h 9348 9349 Patch 7.2.328 9350 Problem: has("win64") does not return 1 on 64 bit MS-Windows version. 9351 Solution: Also check for _WIN64 besides WIN64. 9352 Files: src/eval.c 9353 9354 Patch 7.2.329 9355 Problem: "g_" doesn't position cursor correctly when in Visual mode and 9356 'selection' is "exclusive". (Ben Fritz) 9357 Solution: Call adjust_for_sel(). 9358 Files: src/normal.c 9359 9360 Patch 7.2.330 9361 Problem: Tables for Unicode case operators are outdated. 9362 Solution: Add a Vim script for generating the tables. Include tables for 9363 Unicode 5.2. 9364 Files: runtime/tools/README.txt, runtime/tools/unicode.vim, src/mbyte.c 9365 9366 Patch 7.2.331 9367 Problem: Can't interrupt "echo list" for a very long list. 9368 Solution: Call line_breakcheck() in list_join(). 9369 Files: src/eval.c 9370 9371 Patch 7.2.332 9372 Problem: Crash when spell correcting triggers an autocommand that reloads 9373 the buffer. 9374 Solution: Make a copy of the line to be modified. (Dominique Pelle) 9375 Files: src/spell.c 9376 9377 Patch 7.2.333 9378 Problem: Warnings from static code analysis. 9379 Solution: Small changes to various lines. (Dominique Pelle) 9380 Files: src/buffer.c, src/edit.c, src/ex_getln.c, src/fileio.c, 9381 src/if_cscope.c, src/netbeans.c, src/ops.c, src/quickfix.c, 9382 src/syntax.c, src/ui.c 9383 9384 Patch 7.2.334 9385 Problem: Postponing keys in Netbeans interface does not work properly. 9386 Solution: Store the key string instead of the number. Avoid an infinite 9387 loop. (Mostly by Xavier de Gaye) 9388 Files: src/netbeans.c, src/proto/netbeans.pro 9389 9390 Patch 7.2.335 9391 Problem: The CTRL-] command escapes too many characters. 9392 Solution: Use a different list of characters to be escaped. (Sergey Khorev) 9393 Files: src/normal.c 9394 9395 Patch 7.2.336 9396 Problem: MzScheme interface can't evaluate an expression. 9397 Solution: Add mzeval(). (Sergey Khorev) 9398 Files: runtime/doc/eval.txt, runtime/doc/if_mzsch.txt, 9399 runtime/doc/usr_41.txt, src/eval.c, src/if_mzsch.c, 9400 src/proto/eval.pro, src/proto/if_mzsch.pro, 9401 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 9402 src/testdir/Makefile, src/testdir/main.aap, src/testdir/test1.in, 9403 src/testdir/test70.in, src/testdir/test70.ok 9404 9405 Patch 7.2.337 9406 Problem: The :compiler command doesn't function properly when invoked in a 9407 function. 9408 Solution: Add "g:" before "current_compiler". (Yukihiro Nakadaira) 9409 Files: src/ex_cmds2.c 9410 9411 Patch 7.2.338 (after 7.2.300) 9412 Problem: Part of FD_CLOEXEC change is missing. 9413 Solution: Include source file skipped because of typo. 9414 Files: src/ex_cmds2.c 9415 9416 Patch 7.2.339 (after 7.2.269) 9417 Problem: Part of --startuptime patch is missing. 9418 Solution: Add check for time_fd. 9419 Files: src/ex_cmds2.c 9420 9421 Patch 7.2.340 9422 Problem: Gcc warning for condition that can never be true. (James Vega) 9423 Solution: Use start_lvl instead flp->lvl. 9424 Files: src/fold.c 9425 9426 Patch 7.2.341 9427 Problem: Popup menu wraps to next line when double-wide character doesn't 9428 fit. (Jiang Ma) 9429 Solution: Display a ">" instead. (Dominique Pelle) 9430 Files: src/screen.c 9431 9432 Patch 7.2.342 9433 Problem: Popup menu displayed wrong in 'rightleft' mode when there are 9434 multibyte characters. 9435 Solution: Adjust the column computations. (Dominique Pelle) 9436 Files: src/popupmnu.c 9437 9438 Patch 7.2.343 (after 7.2.338) 9439 Problem: Can't compile on Win32. 9440 Solution: Insert the missing '|'. 9441 Files: src/ex_cmds2.c 9442 9443 Patch 7.2.344 (after 7.2.343) 9444 Problem: Can't compile on some systems 9445 Solution: Move the #ifdef outside of the mch_open macro. (Patrick Texier) 9446 Files: src/ex_cmds2.c 9447 9448 Patch 7.2.345 9449 Problem: Tab line is not updated when the value of 'bt' is changed. 9450 Solution: Call redraw_titles(). (Lech Lorens) 9451 Files: src/option.c 9452 9453 Patch 7.2.346 9454 Problem: Repeating a command with @: causes a mapping to be applied twice. 9455 Solution: Do not remap characters inserted in the typeahead buffer. (Kana 9456 Natsuno) 9457 Files: src/ops.c 9458 9459 Patch 7.2.347 9460 Problem: Crash when executing <expr> mapping redefines that same mapping. 9461 Solution: Save the values used before evaluating the expression. 9462 Files: src/getchar.c 9463 9464 Patch 7.2.348 (after 7.2.330) 9465 Problem: Unicode double-width characters are not up-to date. 9466 Solution: Produce the double-width table like the others. 9467 Files: runtime/tools/unicode.vim, src/mbyte.c 9468 9469 Patch 7.2.349 9470 Problem: CTRL-W gf doesn't put the new tab in the same place as "tab split" 9471 and "gf". (Tony Mechelynck) 9472 Solution: Store the tab number in cmdmod.tab. 9473 Files: src/window.c 9474 9475 Patch 7.2.350 9476 Problem: Win32: When changing font the window may jump from the secondary 9477 to the primary screen. (Michael Wookey) 9478 Solution: When the screen position was negative don't correct it to zero. 9479 Files: src/gui.c 9480 9481 Patch 7.2.351 (after 7.2.347) 9482 Problem: Can't build with some compilers. 9483 Solution: Move the #ifdef outside of a macro. Cleanup the code. 9484 Files: src/getchar.c 9485 9486 Patch 7.2.352 (extra) 9487 Problem: Win64: Vim doesn't work when cross-compiled with MingW libraries. 9488 Solution: Always return TRUE for the WM_NCCREATE message. (Andy Kittner) 9489 Files: src/gui_w48.c 9490 9491 Patch 7.2.353 9492 Problem: No command line completion for ":profile". 9493 Solution: Complete the subcommand and file name. 9494 Files: src/ex_docmd.c, src/ex_cmds2.c, src/ex_getln.c, 9495 src/proto/ex_cmds2.pro, src/vim.h 9496 9497 Patch 7.2.354 9498 Problem: Japanese single-width double-byte characters not handled correctly. 9499 Solution: Put 0x8e in ScreenLines[] and the second byte in ScreenLines2[]. 9500 (partly by Kikuchan) 9501 Files: src/screen.c 9502 9503 Patch 7.2.355 9504 Problem: Computing the cursor column in validate_cursor_col() is wrong when 9505 line numbers are used and 'n' is not in 'cpoptions', causing the 9506 popup menu to be positioned wrong. 9507 Solution: Correctly use the offset. (partly by Dominique Pelle) 9508 Files: src/move.c 9509 9510 Patch 7.2.356 9511 Problem: When 'foldmethod' is changed not all folds are closed as expected. 9512 Solution: In foldUpdate() correct the start position and reset fd_flags when 9513 w_foldinvalid is set. (Lech Lorens) 9514 Files: src/fold.c 9515 9516 Patch 7.2.357 9517 Problem: When changing 'fileformat' from/to "mac" and there is a CR in the 9518 text the display is wrong. 9519 Solution: Redraw the text when 'fileformat' is changed. (Ben Schmidt) 9520 Files: src/option.c 9521 9522 Patch 7.2.358 9523 Problem: Compiler warnings on VMS. (Zoltan Arpadffy) 9524 Solution: Pass array itself instead its address. Return a value. 9525 Files: src/gui_gtk_x11.c, src/os_unix.c 9526 9527 Patch 7.2.359 9528 Problem: Crash when using the Netbeans join command. 9529 Solution: Make sure the ml_flush_line() function is not used recursively. 9530 (Xavier de Gaye) 9531 Files: src/memline.c 9532 9533 Patch 7.2.360 9534 Problem: Ruby on MS-Windows: can't use sockets. 9535 Solution: Call NtInitialize() during initialization. (Ariya Mizutani) 9536 Files: src/if_ruby.c 9537 9538 Patch 7.2.361 9539 Problem: Ruby 1.9 is not supported. 9540 Solution: Add Ruby 1.9 support. (Masaki Suketa) 9541 Files: src/Makefile, src/auto/configure, src/configure.in, src/if_ruby.c 9542 9543 Patch 7.2.362 (extra, after 7.2.352) 9544 Problem: Win64: Vim doesn't work when cross-compiled with MingW libraries. 9545 Solution: Instead of handling WM_NCCREATE, create wide text area window 9546 class if the parent window iw side. (Sergey Khorev) 9547 Files: src/gui_w32.c, src/gui_w48.c 9548 9549 Patch 7.2.363 9550 Problem: Can't dynamically load Perl 5.10. 9551 Solution: Add the function Perl_croak_xs_usage. (Sergey Khorev) 9552 Files: src/if_perl.xs 9553 9554 Patch 7.2.364 (extra) 9555 Problem: Can't build gvimext.dll on Win 7 x64 using MinGW (John Marriott) 9556 Solution: Check if _MSC_VER is defined. (Andy Kittner) 9557 Files: src/GvimExt/gvimext.h 9558 9559 Patch 7.2.365 (extra) 9560 Problem: MS-Windows with MingW: "File->Save As" does not work. (John 9561 Marriott) 9562 Solution: Correctly fill in structure size. (Andy Kittner) 9563 Files: src/gui_w48.c 9564 9565 Patch 7.2.366 9566 Problem: CTRL-B doesn't go back to the first line of the buffer. 9567 Solution: Avoid an overflow when adding MAXCOL. 9568 Files: src/move.c 9569 9570 Patch 7.2.367 9571 Problem: "xxd -r -p" doesn't work as documented. 9572 Solution: Skip white space. (James Vega) 9573 Files: src/xxd/xxd.c 9574 9575 Patch 7.2.368 (after 7.2.361) 9576 Problem: Ruby interface: Appending line doesn't work. (Michael Henry) 9577 Solution: Reverse check for NULL line. (James Vega) 9578 Files: src/if_ruby.c 9579 9580 Patch 7.2.369 9581 Problem: Error message is not easy to understand. 9582 Solution: Add quotes. (SungHyun Nam) 9583 Files: src/ex_cmds2.c 9584 9585 Patch 7.2.370 (after 7.2.356) 9586 Problem: A redraw may cause folds to be closed. 9587 Solution: Revert part of the previous patch. Add a test. (Lech Lorens) 9588 Files: src/diff.c, src/fold.c, src/option.c, src/testdir/test45.in, 9589 src/testdir/test45.ok 9590 9591 Patch 7.2.371 9592 Problem: Build problems on Tandem NonStop. 9593 Solution: A few changes to #ifdefs (Joachim Schmitz) 9594 Files: src/auto/configure, src/configure.in, src/config.h.in, src/vim.h, 9595 src/if_cscope.c, src/osdef1.h.in, src/tag.c 9596 9597 Patch 7.2.372 (extra) 9598 Problem: Cross-compiling GvimExt and xxd doesn't work. 9599 Solution: Change the build files. (Markus Heidelberg) 9600 Files: src/INSTALLpc.txt, src/GvimExt/Make_ming.mak, src/Make_cyg.mak, 9601 src/Make_ming.mak, src/xxd/Make_cyg.mak 9602 9603 Patch 7.2.373 9604 Problem: Gcc 4.5 adds more error messages. (Chris Indy) 9605 Solution: Update default 'errorformat'. 9606 Files: src/option.h 9607 9608 Patch 7.2.374 9609 Problem: Ruby eval() doesn't understand Vim types. 9610 Solution: Add the vim_to_ruby() function. (George Gensure) 9611 Files: src/eval.c, src/if_ruby.c 9612 9613 Patch 7.2.375 9614 Problem: ml_get errors when using ":bprevious" in a BufEnter autocmd. 9615 (Dominique Pelle) 9616 Solution: Clear w_valid when entering another buffer. 9617 Files: src/buffer.c 9618 9619 Patch 7.2.376 9620 Problem: ml_get error when using SiSU syntax. (Nathan Thomas) 9621 Solution: If the match ends below the last line move it to the end of the 9622 last line. 9623 Files: src/syntax.c 9624 9625 Patch 7.2.377 (extra, after 7.2.372) 9626 Problem: Misplaced assignment. Duplicate build line for gvimext.dll. 9627 Solution: Move setting CROSS_COMPILE to before ifneq. Remove the wrong 9628 build line. (Markus Heidelberg) 9629 Files: src/Make_ming.mak 9630 9631 Patch 7.2.378 9632 Problem: C function declaration indented too much. (Rui) 9633 Solution: Don't see a line containing { or } as a type. (Matt Wozniski) 9634 Files: src/misc1.c 9635 9636 Patch 7.2.379 9637 Problem: 'eventignore' is set to an invalid value inside ":doau". (Antony 9638 Scriven) 9639 Solution: Don't include the leading comma when the option was empty. 9640 Files: src/fileio.c 9641 9642 Patch 7.2.380 (after 7.2.363) 9643 Problem: Perl interface builds with 5.10.1 but not with 5.10.0. 9644 Solution: Change the #ifdefs. (Sergey Khorev) 9645 Files: src/if_perl.xs 9646 9647 Patch 7.2.381 9648 Problem: No completion for :behave. 9649 Solution: Add :behave completion. Minor related fixes. (Dominique Pelle) 9650 Files: src/ex_docmd.c, src/ex_getln.c, src/proto/ex_docmd.pro, src/vim.h 9651 9652 Patch 7.2.382 9653 Problem: Accessing freed memory when closing the cmdline window when 9654 'bufhide' is set to "wipe". 9655 Solution: Check if the buffer still exists before invoking close_buffer() 9656 (Dominique Pelle) 9657 Files: src/ex_getln.c 9658 9659 Patch 7.2.383 9660 Problem: Vim doesn't build cleanly with MSVC 2010. 9661 Solution: Change a few types. (George Reilly) 9662 Files: src/ex_cmds2.c, src/if_python.c, src/syntax.c 9663 9664 Patch 7.2.384 (extra) 9665 Problem: Vim doesn't build properly with MSVC 2010. 9666 Solution: Add the nmake version to the build file. (George Reilly) 9667 Files: src/Make_mvc.mak, src/testdir/Make_dos.mak 9668 9669 Patch 7.2.385 9670 Problem: When in the command line window dragging status line only works 9671 for last-but-one window. (Jean Johner) 9672 Solution: Remove the code that disallows this. 9673 Files: src/ui.c 9674 9675 Patch 7.2.386 9676 Problem: Focus hack for KDE 3.1 causes problems for other window managers. 9677 Solution: Remove the hack. (forwarded by Joel Bradshaw) 9678 Files: src/gui_gtk.c 9679 9680 Patch 7.2.387 9681 Problem: Ruby with MingW still doesn't build all versions. 9682 Solution: More #ifdefs for the Ruby code. (Sergey Khorev) 9683 Files: src/if_ruby.c 9684 9685 Patch 7.2.388 (extra part of 7.2.387) 9686 Problem: Ruby with MingW still doesn't build all versions. 9687 Solution: Different approach to build file. (Sergey Khorev) 9688 Files: src/Make_ming.mak 9689 9690 Patch 7.2.389 9691 Problem: synIDattr() cannot return the font. 9692 Solution: Support the "font" argument. (Christian Brabandt) 9693 Files: runtime/doc/eval.txt, src/eval.c, src/syntax.c 9694 9695 Patch 7.2.390 9696 Problem: In some situations the popup menu can be displayed wrong. 9697 Solution: Remove the popup menu if the cursor moved. (Lech Lorens) 9698 Files: src/edit.c 9699 9700 Patch 7.2.391 9701 Problem: Internal alloc(0) error when doing "CTRL-V $ c". (Martti Kuparinen) 9702 Solution: Fix computations in getvcol(). (partly by Lech Lorens) 9703 Files: src/charset.c, src/memline.c 9704 9705 Patch 7.2.392 9706 Problem: Netbeans hangs reading from a socket at the maximum block size. 9707 Solution: Use select() or poll(). (Xavier de Gaye) 9708 Files: src/vim.h, src/os_unixx.h, src/if_xcmdsrv.c, src/netbeans.c 9709 9710 Patch 7.2.393 9711 Problem: Mac: Can't build with different Xcode developer tools directory. 9712 Solution: make "Developer" directory name configurable. (Rainer Muller) 9713 Files: src/configure.in, src/auto/configure 9714 9715 Patch 7.2.394 9716 Problem: .lzma and .xz files are not supported. 9717 Solution: Recognize .lzma and .xz files so that they can be edited. 9718 Files: runtime/plugin/gzip.vim 9719 9720 Patch 7.2.395 9721 Problem: In help CTRL=] on g?g? escapes the ?, causing it to fail. (Tony 9722 Mechelynck) 9723 Solution: Don't escape ? for a help command. (Sergey Khorev) 9724 Files: src/normal.c 9725 9726 Patch 7.2.396 9727 Problem: Get E38 errors. (Dasn) 9728 Solution: Set cursor to line 1 instead of 0. (Dominique Pelle) 9729 Files: src/popupmnu.c 9730 9731 Patch 7.2.397 9732 Problem: Redundant check for w_lines_valid. 9733 Solution: Remove the if. (Lech Lorens) 9734 Files: src/fold.c 9735 9736 Patch 7.2.398 9737 Problem: When moving windows the cursor ends up in the wrong line. 9738 Solution: Set the window width and height properly. (Lech Lorens) 9739 Files: src/window.c 9740 9741 Patch 7.2.399 (extra, after 7.2.388) 9742 Problem: Cannot compile on MingW. 9743 Solution: Move ifneq to separate line. (Vlad Sandrini, Dominique Pelle) 9744 Files: src/Make_ming.mak 9745 9746 Patch 7.2.400 (after 7.2.387) 9747 Problem: Dynamic Ruby is not initialised properly for version 1.9.1. 9748 Ruby cannot create strings from NULL. 9749 Solution: Cleanup #ifdefs. Handle NULL like an empty string. Add 9750 ruby_init_stack. (Sergey Khorev) 9751 Files: src/if_ruby.c 9752 9753 Patch 7.2.401 9754 Problem: ":e dir<Tab>" with 'wildmode' set to "list" doesn't highlight 9755 directory names with a space. (Alexandre Provencio) 9756 Solution: Remove the backslash before checking if the name is a directory. 9757 (Dominique Pelle) 9758 Files: src/ex_getln.c 9759 9760 Patch 7.2.402 9761 Problem: This gives a #705 error: let X = function('haslocaldir') 9762 let X = function('getcwd') 9763 Solution: Don't give E705 when the name is found in the hashtab. (Sergey 9764 Khorev) 9765 Files: src/eval.c 9766 9767 Patch 7.2.403 (after 7.2.400) 9768 Problem: Compiler warning for pointer type. (Tony Mechelynck) 9769 Solution: Move type cast to the right place. 9770 Files: src/if_ruby.c 9771 9772 Patch 7.2.404 9773 Problem: Pointers for composing characters are not properly initialized. 9774 Solution: Compute the size of the pointer, not what it points to. (Yukihiro 9775 Nakadaira) 9776 Files: src/screen.c 9777 9778 Patch 7.2.405 9779 Problem: When built with small features the matching text is not 9780 highlighted for ":s/pat/repl/c". 9781 Solution: Remove the #ifdef for IncSearch. (James Vega) 9782 Files: src/syntax.c 9783 9784 Patch 7.2.406 9785 Problem: Patch 7.2.119 introduces uninit mem read. (Dominique Pelle) 9786 Solution: Only used ScreenLinesC when ScreenLinesUC is not zero. (Yukihiro 9787 Nakadaira) Also clear ScreenLinesC when allocating. 9788 Files: src/screen.c 9789 9790 Patch 7.2.407 9791 Problem: When using an expression in ":s" backslashes in the result are 9792 dropped. (Sergey Goldgaber, Christian Brabandt) 9793 Solution: Double backslashes. 9794 Files: src/regexp.c 9795 9796 Patch 7.2.408 9797 Problem: With ":g/the/s/foo/bar/" the '[ and '] marks can be set to a line 9798 that was not changed. 9799 Solution: Only set '[ and '] marks when a substitution was done. 9800 Files: src/ex_cmds.c 9801 9802 Patch 7.2.409 9803 Problem: Summary of number of substitutes is incorrect for ":folddo". (Jean 9804 Johner) 9805 Solution: Reset sub_nsubs and sub_nlines in global_exe(). 9806 Files: src/ex_cmds.c 9807 9808 Patch 7.2.410 9809 Problem: Highlighting directories for completion doesn't work properly. 9810 Solution: Don't halve backslashes when not needed, expanded "~/". 9811 (Dominique Pelle) 9812 Files: src/ex_getln.c 9813 9814 Patch 7.2.411 9815 Problem: When parsing 'cino' a comma isn't skipped properly. 9816 Solution: Skip the comma. (Lech Lorens) 9817 Files: src/misc1.c 9818 9819 Patch 7.2.412 9820 Problem: [ or ] followed by mouse click doesn't work. 9821 Solution: Reverse check for key being a mouse event. (Dominique Pelle) 9822 Files: src/normal.c 9823 9824 Patch 7.2.413 9825 Problem: Large file support is incorrect. 9826 Solution: Add AC_SYS_LARGEFILE to configure. (James Vega) 9827 Files: src/configure.in, src/config.h.in, src/auto/configure 9828 9829 Patch 7.2.414 9830 Problem: CTRL-K <space> <space> does not produce 0xa0 as expected. (Tony 9831 Mechelynck) 9832 Solution: Remove the Unicode range 0xe000 - 0xefff from digraphs, these are 9833 not valid characters. 9834 Files: src/digraph.c 9835 9836 Patch 7.2.415 9837 Problem: Win32: Can't open a remote file when starting Vim. 9838 Solution: Don't invoke cygwin_conv_path() for URLs. (Tomoya Adachi) 9839 Files: src/main.c 9840 9841 Patch 7.2.416 9842 Problem: Logtalk.dict is not installed. 9843 Solution: Add it to the install target. (Markus Heidelberg) 9844 Files: src/Makefile 9845 9846 Patch 7.2.417 9847 Problem: When 'shell' has an argument with a slash then 'shellpipe' is not 9848 set properly. (Britton Kerin) 9849 Solution: Assume there are no spaces in the path, arguments follow. 9850 Files: src/option.c 9851 9852 Patch 7.2.418 9853 Problem: Vim tries to set the background or foreground color in a terminal 9854 to -1. (Graywh) Happens with ":hi Normal ctermbg=NONE". 9855 Solution: When resetting the foreground or background color don't set the 9856 color, let the clear screen code do that. 9857 Files: src/syntax.c 9858 9859 Patch 7.2.419 9860 Problem: Memory leak in Motif when clicking on "Search Vim Help". 9861 Solution: Free string returned by XmTextGetString(). (Dominique Pelle) 9862 Files: src/gui_motif.c 9863 9864 Patch 7.2.420 9865 Problem: ":argedit" does not accept "++enc=utf8" as documented. (Dominique 9866 Pelle) 9867 Solution: Add the ARGOPT flag to ":argedit". 9868 Files: src/ex_cmds.h 9869 9870 Patch 7.2.421 9871 Problem: Folds are sometimes not updated properly and there is no way to 9872 force an update. 9873 Solution: Make "zx" and "zX" recompute folds (suggested by Christian 9874 Brabandt) 9875 Files: src/normal.c 9876 9877 Patch 7.2.422 9878 Problem: May get E763 when using spell dictionaries. 9879 Solution: Avoid utf-8 case folded character to be truncated to 8 bits and 9880 differ from latin1. (Dominique Pelle) 9881 Files: src/spell.c 9882 9883 Patch 7.2.423 9884 Problem: Crash when assigning s: to variable. (Yukihiro Nakadaira) 9885 Solution: Make ga_scripts contain pointer to scriptvar_T instead of 9886 scriptvar_T itself. (Dominique Pelle) 9887 Files: src/eval.c 9888 9889 Patch 7.2.424 9890 Problem: ":colorscheme" without an argument doesn't do anything. 9891 Solution: Make it echo the current color scheme name. (partly by Christian 9892 Brabandt) 9893 Files: runtime/doc/syntax.txt, src/ex_cmds.h, src/ex_docmd.c 9894 9895 Patch 7.2.425 9896 Problem: Some compilers complain about fourth EX() argument. 9897 Solution: Add cast to long_u. 9898 Files: src/ex_cmds.h 9899 9900 Patch 7.2.426 9901 Problem: Commas in 'langmap' are not always handled correctly. 9902 Solution: Require commas to be backslash escaped. (James Vega) 9903 Files: src/option.c 9904 9905 Patch 7.2.427 9906 Problem: The swapfile is created using the destination of a symlink, but 9907 recovery doesn't follow symlinks. 9908 Solution: When recovering, resolve symlinks. (James Vega) 9909 Files: src/memline.c 9910 9911 Patch 7.2.428 9912 Problem: Using setqflist([]) to clear the error list doesn't work properly. 9913 Solution: Set qf_nonevalid to TRUE when appropriate. (Christian Brabandt) 9914 Files: src/quickfix.c 9915 9916 Patch 7.2.429 9917 Problem: A file that exists but access is denied may result in a "new file" 9918 message. E.g. when its directory is unreadable. 9919 Solution: Specifically check for ENOENT to decide a file doesn't exist. 9920 (partly by James Vega) 9921 Files: src/fileio.c 9922 9923 Patch 7.2.430 9924 Problem: The ++bad argument is handled wrong, resulting in an invalid 9925 memory access. 9926 Solution: Use the bad_char field only for the replacement character, add 9927 bad_char_idx to store the position. (Dominique Pelle) 9928 Files: src/eval.c, src/ex_cmds.h, src/ex_docmd.c 9929 9930 Patch 7.2.431 9931 Problem: ":amenu" moves the cursor when in Insert mode. 9932 Solution: Use CTRL-\ CTRL-O instead of CTRL-O. (Christian Brabandt) 9933 Files: src/menu.c 9934 9935 Patch 7.2.432 9936 Problem: When menus are translated they can only be found by the translated 9937 name. That makes ":emenu" difficult to use. 9938 Solution: Store the untranslated name and use it for completion and :emenu. 9939 (Liang Peng (Bezetek James), Edward L. Fox) 9940 Files: src/menu.c, src/structs.h 9941 9942 Patch 7.2.433 9943 Problem: Can't use cscope with QuickFixCmdPre and QuickFixCmdPost. 9944 Solution: Add cscope support for these autocmd events. (Bryan Venteicher) 9945 Files: runtime/doc/autocmd.txt, src/if_cscope.c 9946 9947 Patch 7.2.434 (after 7.2.432) 9948 Problem: Compilation fails without the multi-lang feature. 9949 Solution: Add #ifdefs. (John Marriott) 9950 Files: src/menu.c 9951 9952 Patch 7.2.435 (after 7.2.430) 9953 Problem: Crash when using bad_char_idx uninitialized. (Patrick Texier) 9954 Solution: Don't use bad_char_idx, reproduce the ++bad argument from bad_char. 9955 Files: src/eval.c, src/ex_cmds.h, src/ex_docmd.c 9956 9957 Patch 7.2.436 9958 Problem: Reproducible crash in syntax HL. (George Reilly, Dominique Pelle) 9959 Solution: Make sst_stacksize an int instead of short. (Dominique Pelle) 9960 Files: src/structs.h 9961 9962 Patch 7.2.437 (after 7.2.407) 9963 Problem: When "\\\n" appears in the expression result the \n doesn't result 9964 in a line break. (Andy Wokula) 9965 Solution: Also replace a \n after a backslash into \r. 9966 Files: src/regexp.c 9967 9968 Patch 7.2.438 (after 7.2.427) 9969 Problem: "vim -r" crashes. 9970 Solution: Don't use NULL pointer argument. 9971 Files: src/memline.c 9972 9973 Patch 7.2.439 9974 Problem: Invalid memory access when doing thesaurus completion and 9975 'infercase' is set. 9976 Solution: Use the minimal length of completed word and replacement. 9977 (Dominique Pelle) 9978 Files: src/edit.c 9979 9980 Patch 7.2.440 9981 Problem: Calling a function through a funcref, where the function deletes 9982 the funcref, leads to an invalid memory access. 9983 Solution: Make a copy of the function name. (Lech Lorens) 9984 Files: src/eval.c, src/testdir/test34.in, src/testdir/test34.ok 9985 9986 Patch 7.2.441 9987 Problem: When using ":earlier" undo information may be wrong. 9988 Solution: When changing alternate branches also adjust b_u_oldhead. 9989 Files: src/undo.c 9990 9991 Patch 7.2.442 (after 7.2.201) 9992 Problem: Copy/paste with OpenOffice doesn't work. 9993 Solution: Do not offer the HTML target when it is not supported. (James 9994 Vega) 9995 Files: src/gui_gtk_x11.c, src/option.c, src/proto/gui_gtk_x11.pro 9996 9997 Patch 7.2.443 9998 Problem: Using taglist() on a tag file with duplicate fields generates an 9999 internal error. (Peter Odding) 10000 Solution: Check for duplicate field names. 10001 Files: src/eval.c, src/proto/eval.pro, src/tag.c 10002 10003 Patch 7.2.444 (after 7.2.442) 10004 Problem: Can't build with GTK 1, gtk_selection_clear_targets() is not 10005 available. (Patrick Texier) 10006 Solution: Don't change the targets for GTK 1, set them once. 10007 Files: src/gui_gtk_x11.c, src/option.c 10008 10009 Patch 7.2.445 10010 Problem: Crash when using undo/redo and a FileChangedRO autocmd event that 10011 reloads the buffer. (Dominique Pelle) 10012 Solution: Do not allow autocommands while performing and undo or redo. 10013 Files: src/misc1.c, src/undo.c 10014 10015 Patch 7.2.446 10016 Problem: Crash in GUI when closing the last window in a tabpage. (ryo7000) 10017 Solution: Remove the tabpage from the list before freeing the window. 10018 Files: src/window.c 10019 10020 When writing a file, switching tab pages and selecting a word the file write 10021 message would be displayed again. This happened in Insert mode and with 10022 'cmdheight' set to 2. 10023 10024 When using ":lang" to set a locale that uses a comma for decimal separator and 10025 using GTK floating point numbers stop working. Use gtk_disable_setlocale(). 10026 (James Vega) 10027 10028 "g8" didn't produce the right value on a NUL. (Dominique Pelle) 10029 10030 Use BASEMODLIBS instead of MODLIBS for Python configuration to pick up the 10031 right compiler flags. (Michael Bienia) 10032 10033 Window title was not updated after dropping a file on Vim. (Hari G) 10034 10035 synstack() did not return anything when just past the end of the line. Useful 10036 when using the cursor position in Insert mode. 10037 10038 When entering a digraph or special character after a line that fits the window 10039 the '?' or '^' on the next line is not redrawn. (Ian Kelling) 10040 10041 Composing characters in |:s| substitute text were dropped. 10042 10043 |exists()| was causing an autoload script to be loaded. 10044 10045 Filter out -pthread for cproto. 10046 10047 Make CTRL-L in command line mode respect 'ignorecase' and 'smartcase'. (Martin 10048 Toft) 10049 10050 Spell menu moved the cursor, causing Copy not to work. Spell replacement 10051 didn't work in 'compatible' mode. 10052 10053 Various small fixes from Dominique Pelle. 10054 10055 Fix that :mksession may generate "2argu" even though there is no such 10056 argument. (Peter Odding) 10057 10058 Fixes for time in clipboard request. Also fix ownership. (David Fries) 10059 10060 Fixed completion of file names with '%' and '*'. 10061 10062 Fixed MSVC makefile use of /Wp64 flag. 10063 10064 Correct use of long instead of off_t for file size. (James Vega) 10065 10066 Add a few #ifdefs to exclude functions that are not used. (Dominique Pelle) 10067 10068 Remove old and unused method to allocate memory for undo. 10069 10070 Fix definition of UINT_PTR for 64 bit systems. 10071 10072 Some versions of Ruby redefine rb_str_new2 to rb_str_new_cstr. 10073 10074 Window title not updated after file dropped. 10075 10076 Fixed crash for ":find" completion, might also happen in other path expansion 10077 usage. 10078 10079 When 'searchhl' causes a hang make CTRL-C disable 'searchhl'. 10080 10081 When resetting both 'title' and 'icon' the title would be set after a shell 10082 command. 10083 10084 Reset 'title' and 'icon' in test47 to avoid the xterm title getting messed up. 10085 10086 Fix for compiler warning about function prototype in pty.c. 10087 10088 Added 'window' to the options window. 10089 10090 Fixed: errors for allocating zero bytes when profiling an empty function. 10091 10092 Remove -arch flag from build flags for Perl. (Bjorn Wickler) 10093 10094 Fix 'autochdir' not showing up in :options window. (Dominique Pelle) 10095 10096 Fix: test 69 didn't work on MS-Windows. Test 72 beeped too often. 10097 10098 Avoid illegal memory access in spell suggestion. (Dominique Pelle) 10099 Fix: crash in spell checking with a 0x300 character. 10100 10101 Avoid that running tests changes viminfo. 10102 10103 Fix: changing case of a character removed combining characters. 10104 Fixed: CTRL-R in Insert mode doesn't insert composing characters. 10105 10106 Added the WOW64 flag to OLE registration, for 64 bit Windows systems. 10107 10108 Various fixes for coverity warnings. 10109 10110 Fix compile warnings, esp. for 64-bit systems. (Mike Williams) 10111 10112 Fix: :redir to a dictionary that is changed before ":redir END" causes a 10113 memory access error. 10114 10115 Fix: terminal title not properly restored when there are multibyte 10116 characters. (partly by James Vega) 10117 10118 Set 'wrapscan' when checking the .po files. (Mike Williams) 10119 10120 Win32: Put quotes around the gvim.exe path for the "Open with" menu entry. 10121 10122 On MS-Windows sometimes files with number 4913 or higher are left behind. 10123 10124 'suffixesadd' was used for finding tags file. 10125 10126 Removed unused code. 10127 10128 Improved positioning of combining characters in GTK. 10129 10130 Made test 11 pass when there is no gzip program. (John Beckett) 10131 10132 Changed readfile() to ignore byte order marks, unless in binary mode. 10133 10134 On MS-Windows completion of shell commands didn't work. 10135 10136 An unprintable multibyte character at the start of the screen line caused the 10137 following text to be drawn at the wrong position. 10138 10139 Got ml_get errors when using undo with 'virtualedit'. 10140 10141 Call gui_mch_update() before triggering GuiEnter autocmd. (Ron Aaron) 10142 10143 Unix "make install" installed a few Amiga .info files. 10144 10145 Disallow setting 'ambiwidth' to "double" when 'listchars' or 'fillchars' 10146 contains a character that would become double width. 10147 10148 Set 'wrapscan' when checking the .po files. (Mike Williams) 10149 10150 Fixed: using expression in command line may cause a crash. 10151 10152 Avoid warnings from the clang compiler. (Dominique Pelle) 10153 10154 Fix: Include wchar.h in charset.c for towupper(). 10155 10156 Fixed: Using ":read file" in an empty buffer when 'compatible' is set caused 10157 an error. Was caused by patch 7.2.132. 10158 10159 Make the references to features in the help more consistent. (Sylvain Hitier) 10160 10161 ============================================================================== 10162 VERSION 7.4 *version-7.4* *version7.4* *vim-7.4* 10163 10164 This section is about improvements made between version 7.3 and 7.4. 10165 10166 This release has hundreds of bug fixes and there are a few new features. The 10167 most notable new features are: 10168 10169 - New regexp engine |new-regexp-engine| 10170 - A more pythonic Python interface |better-python-interface| 10171 10172 10173 New regexp engine *new-regexp-engine* 10174 ----------------- 10175 10176 What is now called the "old" regexp engine uses a backtracking algorithm. It 10177 tries to match the pattern with the text in one way, and when that fails it 10178 goes back and tries another way. This works fine for simple patterns, but 10179 complex patterns can be very slow on longer text. 10180 10181 The new engine uses a state machine. It tries all possible alternatives at 10182 the current character and stores the possible states of the pattern. This is 10183 a bit slower for simple patterns, but much faster for complex patterns and 10184 long text. 10185 10186 Most notably, syntax highlighting for Javascript and XML files with long lines 10187 is now working fine. Previously Vim could get stuck. 10188 10189 More information here: |two-engines| 10190 10191 10192 Better Python interface *better-python-interface* 10193 ----------------------- 10194 10195 Added |python-bindeval| function. Unlike |python-eval| this one returns 10196 |python-Dictionary|, |python-List| and |python-Function| objects for 10197 dictionaries lists and functions respectively in place of their Python 10198 built-in equivalents (or None if we are talking about function references). 10199 For simple types this function returns Python built-in types and not only 10200 Python `str()` like |python-eval| does. On Python 3 it will return `bytes()` 10201 objects in place of `str()` ones avoiding possibility of UnicodeDecodeError. 10202 Interface of new objects mimics standard Python `dict()` and `list()` 10203 interfaces to some extent. Extent will be improved in the future. 10204 10205 Added special |python-vars| objects also available for |python-buffer| and 10206 |python-window|. They ease access to Vim script variables from Python. 10207 10208 Now you no longer need to alter `sys.path` to import your module: special 10209 hooks are responsible for importing from {rtp}/python2, {rtp}/python3 and 10210 {rtp}/pythonx directories (for Python 2, Python 3 and both respectively). 10211 See |python-special-path|. 10212 10213 Added possibility to work with |tabpage|s through |python-tabpage| object. 10214 10215 Added automatic conversion of Vim errors and exceptions to Python 10216 exceptions. 10217 10218 Changed the behavior of the |python-buffers| object: it now uses buffer numbers 10219 as keys in place of the index of the buffer in the internal buffer list. 10220 This should not break anything as the only way to get this index was 10221 iterating over |python-buffers|. 10222 10223 Added |:pydo| and |:py3do| commands. 10224 10225 Added the |pyeval()| and |py3eval()| functions. 10226 10227 Now in all places which previously accepted `str()` objects, `str()` and 10228 `unicode()` (Python 2) or `bytes()` and `str()` (Python 3) are accepted. 10229 10230 |python-window| has gained `.col` and `.row` attributes that are currently 10231 the only way to get internal window positions. 10232 10233 Added or fixed support for `dir()` in Vim Python objects. 10234 10235 10236 Changed *changed-7.4* 10237 ------- 10238 10239 Old Python versions (≤2.2) are no longer supported. Building with them did 10240 not work anyway. 10241 10242 Options: 10243 Added ability to automatically save the selection into the system 10244 clipboard when using non-GUI version of Vim (autoselectplus in 10245 'clipboard'). Also added ability to use the system clipboard as 10246 default register (previously only primary selection could be used). 10247 (Ivan Krasilnikov, Christian Brabandt, Bram Moolenaar) 10248 10249 Added a special 'shiftwidth' value that makes 'sw' follow 'tabstop'. 10250 As indenting via 'indentexpr' became tricky |shiftwidth()| function 10251 was added. Also added equivalent special value to 'softtabstop' 10252 option. (Christian Brabandt, so8res) 10253 10254 Show absolute number in number column when 'relativenumber' option is 10255 on. Now there are four combinations with 'number' and 10256 'relativenumber'. (Christian Brabandt) 10257 10258 Commands: 10259 |:diffoff| now saves the local values of some settings and restores 10260 them in place of blindly resetting them to the defaults. (Christian 10261 Brabandt) 10262 10263 Other: 10264 Lua interface now also uses userdata bound to Vim structures. (Taro 10265 Muraoka, Luis Carvalho) 10266 10267 glob() and autocommand patterns used to work with the undocumented 10268 "\{n,m\}" item from a regexp. "\{" is now used for a literal "{", as 10269 this is normal in shell file patterns. Now used "\\\{n,m\}" to get 10270 "\{n,m}" in the regexp pattern. 10271 10272 Added *added-7.4* 10273 ----- 10274 10275 Various syntax, indent and other plugins were added. 10276 10277 Added support for |Lists| and |Dictionaries| in |viminfo|. (Christian 10278 Brabandt) 10279 10280 Functions: 10281 Bitwise functions: |and()|, |or()|, |invert()|, |xor()|. 10282 10283 Added |luaeval()| function. (Taro Muraoka, Luis Carvalho) 10284 10285 Added |sha256()| function. (Tyru, Hirohito Higashi) 10286 10287 Added |wildmenumode()| function. (Christian Brabandt) 10288 10289 Debugging functions: |screenattr()|, |screenchar()|, |screencol()|, 10290 |screenrow()|. (Simon Ruderich, Bram Moolenaar) 10291 10292 Added ability to use |Dictionary-function|s for |sort()|ing, via 10293 optional third argument. (Nikolay Pavlov) 10294 10295 Added special |expand()| argument that expands to the current line 10296 number. 10297 10298 Made it possible to force |char2nr()| to always give unicode codepoints 10299 regardless of current encoding. (Yasuhiro Matsumoto) 10300 10301 Made it possible for functions generating file list generate |List| 10302 and not NL-separated string. (e.g. |glob()|, |expand()|) (Christian 10303 Brabandt) 10304 10305 Functions that obtain variables from the specific window, tabpage or 10306 buffer scope dictionary can now return specified default value in 10307 place of empty string in case variable is not found. (|gettabvar()|, 10308 |getwinvar()|, |getbufvar()|) (Shougo Matsushita, Hirohito Higashi) 10309 10310 Autocommands: 10311 Added |InsertCharPre| event launched before inserting character. 10312 (Jakson A. Aquino) 10313 10314 Added |CompleteDone| event launched after finishing completion in 10315 insert mode. (idea by Florian Klein) 10316 10317 Added |QuitPre| event launched when commands that can either close Vim 10318 or only some window(s) are launched. 10319 10320 Added |TextChanged| and |TextChangedI| events launched when text is 10321 changed. 10322 10323 Commands: 10324 |:syntime| command useful for debugging. 10325 10326 Made it possible to remove all signs from the current buffer using 10327 |:sign-unplace|. (Christian Brabandt) 10328 10329 Added |:language| autocompletion. (Dominique Pelle) 10330 10331 Added more |:command-complete| completion types: |:behave| suboptions, 10332 color schemes, compilers, |:cscope| suboptions, files from 'path', 10333 |:history| suboptions, locale names, |:syntime| suboptions, user 10334 names. (Dominique Pelle) 10335 10336 Added |:map-nowait| creating mapping which when having lhs that is the 10337 prefix of another mapping’s lhs will not allow Vim to wait for user to 10338 type more characters to resolve ambiguity, forcing Vim to take the 10339 shorter alternative: one with <nowait>. 10340 10341 Options: 10342 Made it possible to ignore case when completing: 'wildignorecase'. 10343 10344 Added ability to delete comment leader when using |J| by `j` flag in 10345 'formatoptions' (|fo-table|). (Lech Lorens) 10346 10347 Added ability to control indentation inside namespaces: |cino-N|. 10348 (Konstantin Lepa) 10349 10350 Added ability to control alignment inside `if` condition separately 10351 from alignment inside function arguments: |cino-k|. (Lech Lorens) 10352 10353 Other: 10354 Improved support for cmd.exe. (Ben Fritz, Bram Moolenaar) 10355 10356 Added |v:windowid| variable containing current window number in GUI 10357 Vim. (Christian J. Robinson, Lech Lorens) 10358 10359 Added rxvt-unicode and SGR mouse support. (Yiding Jia, Hayaki Saito) 10360 10361 10362 All changes in 7.4 *fixed-7.4* 10363 ------------------ 10364 10365 Patch 7.3.001 10366 Problem: When editing "src/main.c" and 'path' set to "./proto", 10367 ":find e<C-D" shows ./proto/eval.pro instead of eval.pro. 10368 Solution: Check for path separator when comparing names. (Nazri Ramliy) 10369 Files: src/misc1.c 10370 10371 Patch 7.3.002 10372 Problem: ":find" completion doesn't work when halfway an environment 10373 variable. (Dominique Pelle) 10374 Solution: Only use in-path completion when expanding file names. (Nazri 10375 Ramliy) 10376 Files: src/ex_docmd.c 10377 10378 Patch 7.3.003 10379 Problem: Crash with specific BufWritePost autocmd. (Peter Odding) 10380 Solution: Don't free the quickfix title twice. (Lech Lorens) 10381 Files: src/quickfix.c 10382 10383 Patch 7.3.004 10384 Problem: Crash when using very long regexp. (Peter Odding) 10385 Solution: Reset reg_toolong. (Carlo Teubner) 10386 Files: src/regexp.c 10387 10388 Patch 7.3.005 10389 Problem: Crash when using undotree(). (Christian Brabandt) 10390 Solution: Increase the list reference count. Add a test for undotree() 10391 (Lech Lorens) 10392 Files: src/eval.c, src/testdir/Makefile, src/testdir/test61.in 10393 10394 Patch 7.3.006 10395 Problem: Can't build some multibyte code with C89. 10396 Solution: Move code to after declarations. (Joachim Schmitz) 10397 Files: src/mbyte.c, src/spell.c 10398 10399 Patch 7.3.007 10400 Problem: Python code defines global "buffer". Re-implements a grow-array. 10401 Solution: Use a grow-array instead of coding the same functionality. Handle 10402 out-of-memory situation properly. 10403 Files: src/if_py_both.h 10404 10405 Patch 7.3.008 10406 Problem: 'cursorbind' is kept in places where 'scrollbind' is reset. 10407 Solution: Reset 'cursorbind'. 10408 Files: src/buffer.c, src/diff.c, src/ex_cmds.c, src/ex_cmds2.c, 10409 src/ex_docmd.c, src/ex_getln.c, src/if_cscope.c, src/macros.h, 10410 src/quickfix.c, src/search.c, src/tag.c, src/window.c 10411 10412 Patch 7.3.009 10413 Problem: Win32: Crash on Windows when using a bad argument for strftime(). 10414 (Christian Brabandt) 10415 Solution: Use the bad_param_handler(). (Mike Williams) 10416 Files: src/os_win32.c 10417 10418 Patch 7.3.010 10419 Problem: Mac GUI: Missing break statements. 10420 Solution: Add the break statements. (Dominique Pelle) 10421 Files: src/gui_mac.c 10422 10423 Patch 7.3.011 10424 Problem: X11 clipboard doesn't work in Athena/Motif GUI. First selection 10425 after a shell command doesn't work. 10426 Solution: When using the GUI use XtLastTimestampProcessed() instead of 10427 changing a property. (partly by Toni Ronkko) 10428 When executing a shell command disown the selection. 10429 Files: src/ui.c, src/os_unix.c 10430 10431 Patch 7.3.012 10432 Problem: Problems building with MingW. 10433 Solution: Adjust the MingW makefiles. (Jon Maken) 10434 Files: src/Make_ming.mak, src/GvimExt/Make_ming.mak 10435 10436 Patch 7.3.013 10437 Problem: Dynamic loading with Ruby doesn't work for 1.9.2. 10438 Solution: Handle rb_str2cstr differently. Also support dynamic loading on 10439 Unix. (Jon Maken) 10440 Files: src/if_ruby.c 10441 10442 Patch 7.3.014 10443 Problem: Ending a line in a backslash inside an ":append" or ":insert" 10444 command in Ex mode doesn't work properly. (Ray Frush) 10445 Solution: Halve the number of backslashes, only insert a NUL after an odd 10446 number of backslashes. 10447 Files: src/ex_getln.c 10448 10449 Patch 7.3.015 10450 Problem: Test is using error message that no longer exists. 10451 Solution: Change E106 to E121. (Dominique Pelle) 10452 Files: src/testdir/test49.vim 10453 10454 Patch 7.3.016 10455 Problem: Netbeans doesn't work under Athena. 10456 Solution: Support Athena, just like Motif. (Xavier de Gaye) 10457 Files: runtime/doc/netbeans.txt, src/gui.c, src/main.c, src/netbeans.c 10458 10459 Patch 7.3.017 10460 Problem: smatch reports errors. 10461 Solution: Fix the reported errors. (Dominique Pelle) 10462 Files: src/spell.c, src/syntax.c 10463 10464 Patch 7.3.018 (after 7.3.012) 10465 Problem: Missing argument to windres in MingW makefiles. 10466 Solution: Add the argument that was wrapped in the patch. (Jon Maken) 10467 Files: src/Make_ming.mak, src/GvimExt/Make_ming.mak 10468 10469 Patch 7.3.019 10470 Problem: ":nbstart" can fail silently. 10471 Solution: Give an error when netbeans is not supported by the GUI. (Xavier 10472 de Gaye) 10473 Files: src/netbeans.c 10474 10475 Patch 7.3.020 10476 Problem: Cursor position wrong when joining multiple lines and 10477 'formatoptions' contains "a". (Moshe Kamensky) 10478 Solution: Adjust cursor position for skipped indent. (Carlo Teubner) 10479 Files: src/ops.c, src/testdir/test68.in, src/testdir/test68.ok 10480 10481 Patch 7.3.021 10482 Problem: Conflict for defining Boolean in Mac header files. 10483 Solution: Define NO_X11_INCLUDES. (Rainer Muller) 10484 Files: src/os_macosx.m, src/vim.h 10485 10486 Patch 7.3.022 10487 Problem: When opening a new window the 'spellcapcheck' option is cleared. 10488 Solution: Copy the correct option value. (Christian Brabandt) 10489 Files: src/option.c 10490 10491 Patch 7.3.023 10492 Problem: External program may hang when it tries to write to the tty. 10493 Solution: Don't close the slave tty until after the child exits. (Nikola 10494 Knezevic) 10495 Files: src/os_unix.c 10496 10497 Patch 7.3.024 10498 Problem: Named signs do not use a negative number as intended. 10499 Solution: Fix the numbering of named signs. (Xavier de Gaye) 10500 Files: src/ex_cmds.c 10501 10502 Patch 7.3.025 10503 Problem: ":mksession" does not square brackets escape file name properly. 10504 Solution: Improve escaping of file names. (partly by Peter Odding) 10505 Files: src/ex_docmd.c 10506 10507 Patch 7.3.026 10508 Problem: CTRL-] in a help file doesn't always work. (Tony Mechelynck) 10509 Solution: Don't escape special characters. (Carlo Teubner) 10510 Files: src/normal.c 10511 10512 Patch 7.3.027 10513 Problem: Opening a file on a network share is very slow. 10514 Solution: When fixing file name case append "\*" to directory, server and 10515 network share names. (David Anderson, John Beckett) 10516 Files: src/os_win32.c 10517 10518 Patch 7.3.028 (after 7.3.024) 10519 Problem: Signs don't show up. (Charles Campbell) 10520 Solution: Don't use negative numbers. Also assign a number to signs that 10521 have a name of all digits to avoid using a sign number twice. 10522 Files: src/ex_cmds.c 10523 10524 Patch 7.3.029 10525 Problem: ":sort n" sorts lines without a number as number zero. (Beeyawned) 10526 Solution: Make lines without a number sort before lines with a number. Also 10527 fix sorting negative numbers. 10528 Files: src/ex_cmds.c, src/testdir/test57.in, src/testdir/test57.ok 10529 10530 Patch 7.3.030 10531 Problem: Cannot store Dict and List in viminfo file. 10532 Solution: Add support for this. (Christian Brabandt) 10533 Files: runtime/doc/options.txt, src/eval.c, src/testdir/Make_amiga.mak, 10534 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 10535 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 10536 src/testdir/Makefile, src/testdir/main.aap, src/testdir/test74.in, 10537 src/testdir/test74.ok 10538 10539 Patch 7.3.031 10540 Problem: Can't pass the X window ID to another application. 10541 Solution: Add v:windowid. (Christian J. Robinson, Lech Lorens) 10542 Files: runtime/doc/eval.txt, src/eval.c, src/gui.c, src/vim.h, 10543 src/os_unix.c 10544 10545 Patch 7.3.032 10546 Problem: maparg() doesn't return the flags, such as <buffer>, <script>, 10547 <silent>. These are needed to save and restore a mapping. 10548 Solution: Improve maparg(). (also by Christian Brabandt) 10549 Files: runtime/doc/eval.txt, src/eval.c, src/getchar.c, src/gui_w48.c, 10550 src/message.c, src/proto/getchar.pro, src/proto/message.pro, 10551 src/structs.h src/testdir/test75.in, src/testdir/test75.ok 10552 10553 Patch 7.3.033 (after 7.3.032) 10554 Problem: Can't build without FEAT_LOCALMAP. 10555 Solution: Add an #ifdef. (John Marriott) 10556 Files: src/getchar.c 10557 10558 Patch 7.3.034 10559 Problem: Win32: may be loading .dll from the wrong directory. 10560 Solution: Go to the Vim executable directory when opening a library. 10561 Files: src/gui_w32.c, src/if_lua.c, src/if_mzsch.c, src/if_perl.xs, 10562 src/if_python.c, src/if_python3.c, src/if_ruby.c, src/mbyte.c, 10563 src/os_mswin.c, src/os_win32.c, src/proto/os_win32.pro 10564 10565 Patch 7.3.035 (after 7.3.034) 10566 Problem: Stray semicolon after if statement. (Hari G) 10567 Solution: Remove the semicolon. 10568 Files: src/os_win32.c 10569 10570 Patch 7.3.036 10571 Problem: Win32 GUI: When building without menus, the font for dialogs and 10572 tab page headers also changes. 10573 Solution: Define USE_SYSMENU_FONT always. (Harig G.) 10574 Files: src/gui_w32.c 10575 10576 Patch 7.3.037 10577 Problem: Compiler warnings for loss of data. (Mike Williams) 10578 Solution: Add type casts. 10579 Files: src/if_py_both.h, src/getchar.c, src/os_win32.c 10580 10581 Patch 7.3.038 10582 Problem: v:windowid isn't set on MS-Windows. 10583 Solution: Set it to the window handle. (Chris Sutcliffe) 10584 Files: runtime/doc/eval.txt, src/gui_w32.c 10585 10586 Patch 7.3.039 10587 Problem: Crash when using skk.vim plugin. 10588 Solution: Get length of expression evaluation result only after checking for 10589 NULL. (Noriaki Yagi, Dominique Pelle) 10590 Files: src/ex_getln.c 10591 10592 Patch 7.3.040 10593 Problem: Comparing strings while ignoring case goes beyond end of the 10594 string when there are illegal bytes. (Dominique Pelle) 10595 Solution: Explicitly check for illegal bytes. 10596 Files: src/mbyte.c 10597 10598 Patch 7.3.041 10599 Problem: Compiler warning for accessing mediumVersion. (Tony Mechelynck) 10600 Solution: Use the pointer instead of the array itself. (Dominique Pelle) 10601 Files: src/version.c 10602 10603 Patch 7.3.042 10604 Problem: No spell highlighting when re-using an empty buffer. 10605 Solution: Clear the spell checking info only when clearing the options for a 10606 buffer. (James Vega) 10607 Files: src/buffer.c 10608 10609 Patch 7.3.043 10610 Problem: Can't load Ruby dynamically on Unix. 10611 Solution: Adjust the configure script. (James Vega) 10612 Files: src/Makefile, src/config.h.in, src/configure.in, 10613 src/auto/configure, src/if_ruby.c 10614 10615 Patch 7.3.044 10616 Problem: The preview window opened by the popup menu is larger than 10617 specified with 'previewheight'. (Benjamin Haskell) 10618 Solution: Use 'previewheight' if it's set and smaller. 10619 Files: src/popupmnu.c 10620 10621 Patch 7.3.045 10622 Problem: Compiler warning for uninitialized variable. 10623 Solution: Initialize the variable always. 10624 Files: src/getchar.c 10625 10626 Patch 7.3.046 (after 7.3.043) 10627 Problem: Can't build Ruby on MS-Windows. 10628 Solution: Add #ifdef, don't use WIN3264 before including vim.h. 10629 Files: src/if_ruby.c 10630 10631 Patch 7.3.047 (after 7.3.032) 10632 Problem: Missing makefile updates for test 75. 10633 Solution: Update the makefiles. 10634 Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 10635 src/testdir/Makefile, src/testdir/Make_ming.mak, 10636 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms 10637 10638 Patch 7.3.048 10639 Problem: ":earlier 1f" doesn't work after loading undo file. 10640 Solution: Set b_u_save_nr_cur when loading an undo file. (Christian 10641 Brabandt) 10642 Fix only showing time in ":undolist" 10643 Files: src/undo.c 10644 10645 Patch 7.3.049 10646 Problem: PLT has rebranded their Scheme to Racket. 10647 Solution: Add support for Racket 5.x. (Sergey Khorev) 10648 Files: src/Make_cyg.mak, src/Make_ming.mak, src/Make_mvc.mak, 10649 src/auto/configure, src/configure.in, src/if_mzsch.c 10650 10651 Patch 7.3.050 10652 Problem: The link script is clumsy. 10653 Solution: Use the --as-needed linker option if available. (Kirill A. 10654 Shutemov) 10655 Files: src/Makefile, src/auto/configure, src/config.mk.in, 10656 src/configure.in, src/link.sh 10657 10658 Patch 7.3.051 10659 Problem: Crash when $PATH is empty. 10660 Solution: Check for vim_getenv() returning NULL. (Yasuhiro Matsumoto) 10661 Files: src/ex_getln.c, src/os_win32.c 10662 10663 Patch 7.3.052 10664 Problem: When 'completefunc' opens a new window all kinds of errors follow. 10665 (Xavier Deguillard) 10666 Solution: When 'completefunc' goes to another window or buffer and when it 10667 deletes text abort completion. Add a test for 'completefunc'. 10668 Files: src/edit.c, src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 10669 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 10670 src/testdir/Make_vms.mms, src/testdir/Makefile, 10671 src/testdir/test76.in, src/testdir/test76.ok 10672 10673 Patch 7.3.053 10674 Problem: complete() function doesn't reset complete direction. Can't use 10675 an empty string in the list of matches. 10676 Solution: Set compl_direction to FORWARD. Add "empty" key to allow empty 10677 words. (Kikuchan) 10678 Files: src/edit.c 10679 10680 Patch 7.3.054 10681 Problem: Can define a user command for :Print, but it doesn't work. (Aaron 10682 Thoma) 10683 Solution: Let user command :Print overrule the builtin command (Christian 10684 Brabandt) Disallow :X and :Next as a user defined command. 10685 Files: src/ex_docmd.c 10686 10687 Patch 7.3.055 10688 Problem: Recursively nested lists and dictionaries cause a near-endless 10689 loop when comparing them with a copy. (ZyX) 10690 Solution: Limit recursiveness in a way that non-recursive structures can 10691 still be nested very deep. 10692 Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok 10693 10694 Patch 7.3.056 10695 Problem: "getline" argument in do_cmdline() shadows global. 10696 Solution: Rename the argument. 10697 Files: src/ex_docmd.c 10698 10699 Patch 7.3.057 10700 Problem: Segfault with command line abbreviation. (Randy Morris) 10701 Solution: Don't retrigger the abbreviation when abandoning the command line. 10702 Continue editing the command line after the error. 10703 Files: src/ex_getln.c 10704 10705 Patch 7.3.058 10706 Problem: Error "code converter not found" when loading Ruby script. 10707 Solution: Load Gem module. (Yasuhiro Matsumoto) 10708 Files: src/if_ruby.c 10709 10710 Patch 7.3.059 10711 Problem: Netbeans: Problem with recursively handling messages for Athena 10712 and Motif. 10713 Solution: Call netbeans_parse_messages() in the main loop, like it's done 10714 for GTK. (Xavier de Gaye) 10715 Files: src/gui_x11.c, src/netbeans.c 10716 10717 Patch 7.3.060 10718 Problem: Netbeans: crash when socket is disconnected unexpectedly. 10719 Solution: Don't cleanup when a read fails, put a message in the queue and 10720 disconnect later. (Xavier de Gaye) 10721 Files: src/netbeans.c 10722 10723 Patch 7.3.061 10724 Problem: Remote ":drop" does not respect 'autochdir'. (Peter Odding) 10725 Solution: Don't restore the directory when 'autochdir' is set. (Benjamin 10726 Fritz) 10727 Files: src/main.c 10728 10729 Patch 7.3.062 10730 Problem: Python doesn't work properly when installed in another directory 10731 than expected. 10732 Solution: Figure out home directory in configure and use Py_SetPythonHome() 10733 at runtime. (Roland Puntaier) 10734 Files: src/configure.in, src/auto/configure, src/if_python.c, 10735 src/if_python3.c 10736 10737 Patch 7.3.063 10738 Problem: Win32: Running a filter command makes Vim lose focus. 10739 Solution: Use SW_SHOWMINNOACTIVE instead of SW_SHOWMINIMIZED. (Hong Xu) 10740 Files: src/os_win32.c 10741 10742 Patch 7.3.064 10743 Problem: Win32: ":dis +" shows nothing, but "+p does insert text. 10744 Solution: Display the * register, since that's what will be inserted. 10745 (Christian Brabandt) 10746 Files: src/globals.h, src/ops.c 10747 10748 Patch 7.3.065 10749 Problem: Can't get current line number in a source file. 10750 Solution: Add the <slnum> item, similar to <sfile>. 10751 Files: src/ex_docmd.c 10752 10753 Patch 7.3.066 10754 Problem: Crash when changing to another window while in a :vimgrep command. 10755 (Christian Brabandt) 10756 Solution: When wiping out the dummy before, remove it from aucmd_win. 10757 Files: src/quickfix.c 10758 10759 Patch 7.3.067 (after 7.3.058) 10760 Problem: Ruby: Init_prelude is not always available. 10761 Solution: Remove use of Init_prelude. (Yasuhiro Matsumoto) 10762 Files: src/if_ruby.c 10763 10764 Patch 7.3.068 10765 Problem: Using freed memory when doing ":saveas" and an autocommand sets 10766 'autochdir'. (Kevin Klement) 10767 Solution: Get the value of fname again after executing autocommands. 10768 Files: src/ex_cmds.c 10769 10770 Patch 7.3.069 10771 Problem: GTK: pressing Enter in inputdialog() doesn't work like clicking OK 10772 as documented. 10773 Solution: call gtk_entry_set_activates_default(). (Britton Kerin) 10774 Files: src/gui_gtk.c 10775 10776 Patch 7.3.070 10777 Problem: Can set environment variables in the sandbox, could be abused. 10778 Solution: Disallow it. 10779 Files: src/eval.c 10780 10781 Patch 7.3.071 10782 Problem: Editing a file in a window that's in diff mode resets 'diff' 10783 but not cursor binding. 10784 Solution: Reset cursor binding in two more places. 10785 Files: src/quickfix.c, src/option.c 10786 10787 Patch 7.3.072 10788 Problem: Can't complete file names while ignoring case. 10789 Solution: Add 'wildignorecase'. 10790 Files: src/ex_docmd.c, src/ex_getln.c, src/misc1.c, src/option.c, 10791 src/option.h, src/vim.h, src/runtime/options.txt 10792 10793 Patch 7.3.073 10794 Problem: Double free memory when netbeans command follows DETACH. 10795 Solution: Only free the node when owned. (Xavier de Gaye) 10796 Files: src/netbeans.c 10797 10798 Patch 7.3.074 10799 Problem: Can't use the "+ register like "* for yank and put. 10800 Solution: Add "unnamedplus" to the 'clipboard' option. (Ivan Krasilnikov) 10801 Files: runtime/doc/options.txt, src/eval.c, src/globals.h, src/ops.c, 10802 src/option.c 10803 10804 Patch 7.3.075 (after 7.3.072) 10805 Problem: Missing part of 'wildignorecase' 10806 Solution: Also adjust expand() 10807 Files: src/eval.c 10808 10809 Patch 7.3.076 10810 Problem: Clang warnings for dead code. 10811 Solution: Remove it. (Carlo Teubner) 10812 Files: src/gui_gtk.c, src/if_ruby.c, src/misc2.c, src/netbeans.c, 10813 src/spell.c 10814 10815 Patch 7.3.077 10816 Problem: When updating crypt of swapfile fails there is no error message. 10817 (Carlo Teubner) 10818 Solution: Add the error message. 10819 Files: src/memline.c 10820 10821 Patch 7.3.078 10822 Problem: Warning for unused variable. 10823 Solution: Adjust #ifdefs. 10824 Files: src/ops.c 10825 10826 Patch 7.3.079 10827 Problem: Duplicate lines in makefile. 10828 Solution: Remove the lines. (Hong Xu) 10829 Files: src/Make_mvc.mak 10830 10831 Patch 7.3.080 10832 Problem: Spell doesn't work on VMS. 10833 Solution: Use different file names. (Zoltan Bartos, Zoltan Arpadffy) 10834 Files: src/spell.c 10835 10836 Patch 7.3.081 10837 Problem: Non-printable characters in 'statusline' cause trouble. (ZyX) 10838 Solution: Use transstr(). (partly by Caio Ariede) 10839 Files: src/screen.c 10840 10841 Patch 7.3.082 10842 Problem: Leaking file descriptor when hostname doesn't exist. 10843 Solution: Remove old debugging lines. 10844 Files: src/netbeans.c 10845 10846 Patch 7.3.083 10847 Problem: When a read() or write() is interrupted by a signal it fails. 10848 Solution: Add read_eintr() and write_eintr(). 10849 Files: src/fileio.c, src/proto/fileio.pro, src/memfile.c, src/memline.c, 10850 src/os_unix.c, src/undo.c, src/vim.h 10851 10852 Patch 7.3.084 10853 Problem: When splitting the window, the new one scrolls with the cursor at 10854 the top. 10855 Solution: Compute w_fraction before setting the new height. 10856 Files: src/window.c 10857 10858 Patch 7.3.085 (after 7.3.083) 10859 Problem: Inconsistency with preproc symbols. void * computation. 10860 Solution: Include vimio.h from vim.h. Add type cast. 10861 Files: src/eval.c, src/ex_cmds.c, src/ex_cmds2.c, src/fileio.c, 10862 src/if_cscope.c, src/if_sniff.c, src/main.c, src/memfile.c, 10863 src/memline.c, src/netbeans.c, src/os_msdos.c, src/os_mswin.c, 10864 src/os_win16.c, src/os_win32.c, src/spell.c, src/tag.c, 10865 src/undo.c, src/vim.h 10866 10867 Patch 7.3.086 10868 Problem: When using a mapping with an expression and there was no count, 10869 v:count has the value of the previous command. (ZyX) 10870 Solution: Also set v:count and v:count1 before getting the character that 10871 could be a command or a count. 10872 Files: src/normal.c 10873 10874 Patch 7.3.087 10875 Problem: EINTR is not always defined. 10876 Solution: Include errno.h in vim.h. 10877 Files: src/if_cscope.c, src/if_tcl.c, src/integration.c, src/memline.c, 10878 src/os_mswin.c, src/os_win16.c, src/os_win32.c, src/vim.h, 10879 src/workshop.c 10880 10881 Patch 7.3.088 10882 Problem: Ruby can't load Gems sometimes, may cause a crash. 10883 Solution: Undefine off_t. Use ruby_process_options(). (Yasuhiro Matsumoto) 10884 Files: src/if_ruby.c 10885 10886 Patch 7.3.089 10887 Problem: Compiler warning on 64 bit MS-Windows. 10888 Solution: Add type cast. (Mike Williams) 10889 Files: src/netbeans.c 10890 10891 Patch 7.3.090 10892 Problem: Wrong help text for Cscope. 10893 Solution: Adjust the help text for "t". (Dominique Pelle) 10894 Files: src/if_cscope.c 10895 10896 Patch 7.3.091 10897 Problem: "vim -w foo" writes special key codes for removed escape 10898 sequences. (Josh Triplett) 10899 Solution: Don't write K_IGNORE codes. 10900 Files: src/getchar.c, src/misc1.c, src/term.c, src/vim.h 10901 10902 Patch 7.3.092 10903 Problem: Resizing the window when exiting. 10904 Solution: Don't resize when exiting. 10905 Files: src/term.c 10906 10907 Patch 7.3.093 10908 Problem: New DLL dependencies in MingW with gcc 4.5.0. 10909 Solution: Add STATIC_STDCPLUS, LDFLAGS and split up WINDRES. (Guopeng Wen) 10910 Files: src/GvimExt/Make_ming.mak, src/Make_ming.mak 10911 10912 Patch 7.3.094 10913 Problem: Using abs() requires type cast to int. 10914 Solution: Use labs() so that the value remains long. (Hong Xu) 10915 Files: src/screen.c 10916 10917 Patch 7.3.095 10918 Problem: Win32: In Chinese tear-off menu doesn't work. (Weasley) 10919 Solution: Use menu_name_equal(). (Alex Jakushev) 10920 Files: src/menu.c 10921 10922 Patch 7.3.096 10923 Problem: "gvim -nb" is not interruptible. Leaking file descriptor on 10924 netbeans connection error. 10925 Solution: Check for CTRL-C typed. Free file descriptor. (Xavier de Gaye) 10926 Files: src/netbeans.c 10927 10928 Patch 7.3.097 10929 Problem: Using ":call" inside "if 0" does not see that a function returns a 10930 Dict and gives error for "." as string concatenation. 10931 Solution: Use eval0() to skip over the expression. (Yasuhiro Matsumoto) 10932 Files: src/eval.c 10933 10934 Patch 7.3.098 10935 Problem: Function that ignores error still causes called_emsg to be set. 10936 E.g. when expand() fails the status line is disabled. 10937 Solution: Move check for emsg_not_now() up. (James Vega) 10938 Files: src/message.c 10939 10940 Patch 7.3.099 10941 Problem: Crash when splitting a window with zero height. (Yukihiro 10942 Nakadaira) 10943 Solution: Don't set the fraction in a window with zero height. 10944 Files: src/window.c 10945 10946 Patch 7.3.100 10947 Problem: When using :normal v:count isn't set. 10948 Solution: Call normal_cmd() with toplevel set to TRUE. 10949 Files: src/ex_docmd.c 10950 10951 Patch 7.3.101 10952 Problem: ino_t defined with wrong size. 10953 Solution: Move including auto/config.h before other includes. (Marius 10954 Geminas) 10955 Files: src/if_ruby.c, src/if_lua.c 10956 10957 Patch 7.3.102 10958 Problem: When using ":make", typing the next command and then getting the 10959 "reload" prompt the next command is (partly) eaten by the reload 10960 prompt. 10961 Solution: Accept ':' as a special character at the reload prompt to accept 10962 the default choice and execute the command. 10963 Files: src/eval.c, src/fileio.c, src/gui.c, src/gui_xmdlg.c, 10964 src/memline.c, src/message.c, src/proto/message.pro, 10965 src/gui_athena.c, src/gui_gtk.c, src/gui_mac.c, src/gui_motif.c, 10966 src/gui_photon.c, src/gui_w16.c, src/gui_w32.c, src/os_mswin.c 10967 src/proto/gui_athena.pro, src/proto/gui_gtk.pro, 10968 src/proto/gui_mac.pro, src/proto/gui_motif.pro, 10969 src/proto/gui_photon.pro, src/proto/gui_w16.pro, 10970 src/proto/gui_w32.pro 10971 10972 Patch 7.3.103 10973 Problem: Changing 'fileformat' and then using ":w" in an empty file sets 10974 the 'modified' option. 10975 Solution: In unchanged() don't ignore 'ff' for an empty file. 10976 Files: src/misc1.c, src/option.c, src/proto/option.pro, src/undo.c 10977 10978 Patch 7.3.104 10979 Problem: Conceal: using Tab for cchar causes problems. (ZyX) 10980 Solution: Do not accept a control character for cchar. 10981 Files: src/syntax.c 10982 10983 Patch 7.3.105 10984 Problem: Can't get the value of "b:changedtick" with getbufvar(). 10985 Solution: Make it work. (Christian Brabandt) 10986 Files: src/eval.c 10987 10988 Patch 7.3.106 10989 Problem: When 'cursorbind' is set another window may scroll unexpectedly 10990 when 'scrollbind' is also set. (Xavier Wang) 10991 Solution: Don't call update_topline() if 'scrollbind' is set. 10992 Files: src/move.c 10993 10994 Patch 7.3.107 10995 Problem: Year number for :undolist can be confused with month or day. 10996 Solution: Change "%y" to "%Y". 10997 Files: src/undo.c 10998 10999 Patch 7.3.108 11000 Problem: Useless check for NULL when calling vim_free(). 11001 Solution: Remove the check. (Dominique Pelle) 11002 Files: src/eval.c, src/ex_cmds.c, src/os_win32.c 11003 11004 Patch 7.3.109 11005 Problem: Processing new Esperanto spell file fails and crashes Vim. 11006 (Dominique Pelle) 11007 Solution: When running out of memory give an error. Handle '?' in 11008 COMPOUNDRULE properly. 11009 Files: src/spell.c 11010 11011 Patch 7.3.110 11012 Problem: The "nbsp" item in 'listchars' isn't used for ":list". 11013 Solution: Make it work. (Christian Brabandt) 11014 Files: src/message.c 11015 11016 Patch 7.3.111 (after 7.3.100) 11017 Problem: Executing a :normal command in 'statusline' evaluation causes the 11018 cursor to move. (Dominique Pelle) 11019 Solution: When updating the cursor for 'cursorbind' allow the cursor beyond 11020 the end of the line. When evaluating 'statusline' temporarily 11021 reset 'cursorbind'. 11022 Files: src/move.c, src/screen.c 11023 11024 Patch 7.3.112 11025 Problem: Setting 'statusline' to "%!'asdf%' reads uninitialized memory. 11026 Solution: Check for NUL after %. 11027 Files: src/buffer.c 11028 11029 Patch 7.3.113 11030 Problem: Windows: Fall back directory for creating temp file is wrong. 11031 Solution: Use "." instead of empty string. (Hong Xu) 11032 Files: src/fileio.c 11033 11034 Patch 7.3.114 11035 Problem: Potential problem in initialization when giving an error message 11036 early. 11037 Solution: Initialize 'verbosefile' empty. (Ben Schmidt) 11038 Files: src/option.h 11039 11040 Patch 7.3.115 11041 Problem: Vim can crash when tmpnam() returns NULL. 11042 Solution: Check for NULL. (Hong Xu) 11043 Files: src/fileio.c 11044 11045 Patch 7.3.116 11046 Problem: 'cursorline' is displayed too short when there are concealed 11047 characters and 'list' is set. (Dennis Preiser) 11048 Solution: Check for 'cursorline' when 'list' is set. (Christian Brabandt) 11049 Files: src/screen.c 11050 11051 Patch 7.3.117 11052 Problem: On some systems --as-needed does not work, because the "tinfo" 11053 library is included indirectly from "ncurses". (Charles Campbell) 11054 Solution: In configure prefer using "tinfo" instead of "ncurses". 11055 Files: src/configure.in, src/auto/configure 11056 11057 Patch 7.3.118 11058 Problem: Ruby uses SIGVTALARM which makes Vim exit. (Alec Tica) 11059 Solution: Ignore SIGVTALARM. (Dominique Pelle) 11060 Files: src/os_unix.c 11061 11062 Patch 7.3.119 11063 Problem: Build problem on Mac. (Nicholas Stallard) 11064 Solution: Use "extern" instead of "EXTERN" for p_vfile. 11065 Files: src/option.h 11066 11067 Patch 7.3.120 11068 Problem: The message for an existing swap file is too long to fit in a 25 11069 line terminal. 11070 Solution: Make the message shorter. (Chad Miller) 11071 Files: src/memline.c 11072 11073 Patch 7.3.121 11074 Problem: Complicated 'statusline' causes a crash. (Christian Brabandt) 11075 Solution: Check that the number of items is not too big. 11076 Files: src/buffer.c 11077 11078 Patch 7.3.122 11079 Problem: Having auto/config.mk in the repository causes problems. 11080 Solution: Remove auto/config.mk from the distribution. In the toplevel 11081 Makefile copy it from the "dist" file. 11082 Files: Makefile, src/Makefile, src/auto/config.mk 11083 11084 Patch 7.3.123 11085 Problem: ml_get error when executing register being recorded into, deleting 11086 lines and 'conceallevel' is set. (ZyX) 11087 Solution: Don't redraw a line for concealing when it doesn't exist. 11088 Files: src/main.c 11089 11090 Patch 7.3.124 11091 Problem: When writing a file in binary mode it may be missing the final EOL 11092 if a file previously read was missing the EOL. (Kevin Goodsell) 11093 Solution: Move the write_no_eol_lnum into the buffer struct. 11094 Files: src/structs.h, src/fileio.c, src/globals.h, src/os_unix.c 11095 11096 Patch 7.3.125 11097 Problem: MSVC: Problem with quotes in link argument. 11098 Solution: Escape backslashes and quotes. (Weasley) 11099 Files: src/Make_mvc.mak 11100 11101 Patch 7.3.126 11102 Problem: Compiler warning for signed pointer. 11103 Solution: Use unsigned int argument for sscanf(). 11104 Files: src/blowfish.c 11105 11106 Patch 7.3.127 11107 Problem: Compiler complains about comma. 11108 Solution: Remove comma after last enum element. 11109 Files: src/ex_cmds2.c 11110 11111 Patch 7.3.128 11112 Problem: Another compiler warning for signed pointer. 11113 Solution: Use unsigned int argument for sscanf(). 11114 Files: src/mark.c 11115 11116 Patch 7.3.129 11117 Problem: Using integer like a boolean. 11118 Solution: Nicer check for integer being non-zero. 11119 Files: src/tag.c 11120 11121 Patch 7.3.130 11122 Problem: Variable misplaced in #ifdef. 11123 Solution: Move clipboard_event_time outside of #ifdef. 11124 Files: src/gui_gtk_x11.c 11125 11126 Patch 7.3.131 11127 Problem: Including errno.h too often. 11128 Solution: Don't include errno.h in Unix header file. 11129 Files: src/os_unix.h 11130 11131 Patch 7.3.132 11132 Problem: C++ style comments. 11133 Solution: Change to C comments. 11134 Files: src/if_python3.c 11135 11136 Patch 7.3.133 11137 Problem: When using encryption it's not clear what method was used. 11138 Solution: In the file message show "blowfish" when using blowfish. 11139 Files: src/fileio.c 11140 11141 Patch 7.3.134 11142 Problem: Drag-n-drop doesn't work in KDE Dolphin. 11143 Solution: Add GDK_ACTION_MOVE flag. (Florian Degner) 11144 Files: src/gui_gtk_x11.c 11145 11146 Patch 7.3.135 11147 Problem: When there is no previous substitute pattern, the previous search 11148 pattern is used. The other way around doesn't work. 11149 Solution: When there is no previous search pattern, use the previous 11150 substitute pattern if possible. (Christian Brabandt) 11151 Files: src/search.c 11152 11153 Patch 7.3.136 11154 Problem: Duplicate include of assert.h. 11155 Solution: Remove it. 11156 Files: src/if_cscope.c 11157 11158 Patch 7.3.137 (after 7.3.091) 11159 Problem: When 'lazyredraw' is set the screen may not be updated. (Ivan 11160 Krasilnikov) 11161 Solution: Call update_screen() before waiting for input. 11162 Files: src/misc1.c, src/getchar.c 11163 11164 Patch 7.3.138 11165 Problem: ":com" changes the multibyte text of :echo. (Dimitar Dimitrov) 11166 Solution: Search for K_SPECIAL as a byte, not a character. (Ben Schmidt) 11167 Files: src/ex_docmd.c 11168 11169 Patch 7.3.139 (after 7.3.137) 11170 Problem: When 'lazyredraw' is set ":ver" output can't be read. 11171 Solution: Don't redraw the screen when at a prompt or command line. 11172 Files: src/getchar.c, src/message.c, src/misc1.c 11173 11174 Patch 7.3.140 11175 Problem: Crash when drawing the "$" at end-of-line for list mode just after 11176 the window border and 'cursorline' is set. 11177 Solution: Don't check for 'cursorline'. (Quentin Carbonneaux) 11178 Files: src/screen.c 11179 11180 Patch 7.3.141 11181 Problem: When a key code is not set get a confusing error message. 11182 Solution: Change the error message to say the key code is not set. 11183 Files: src/option.c, runtime/doc/options.txt 11184 11185 Patch 7.3.142 11186 Problem: Python stdout doesn't have a flush() method, causing an import to 11187 fail. 11188 Solution: Add a dummy flush() method. (Tobias Columbus) 11189 Files: src/if_py_both.h 11190 11191 Patch 7.3.143 11192 Problem: Memfile is not tested sufficiently. Looking up blocks in a 11193 memfile is slow when there are many blocks. 11194 Solution: Add high level test and unittest. Adjust the number of hash 11195 buckets to the number of blocks. (Ivan Krasilnikov) 11196 Files: Filelist, src/Makefile, src/main.c, src/memfile.c, 11197 src/memfile_test.c src/structs.h src/testdir/Make_amiga.mak, 11198 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 11199 src/testdir/Make_os2.mak, src/testdir/Make_vms.mak, 11200 src/testdir/Makefile, src/testdir/test77.in, src/testdir/test77.ok 11201 11202 Patch 7.3.144 11203 Problem: Crash with ":python help(dir)". (Kearn Holliday) 11204 Solution: Fix the way the type is set on objects. (Tobias Columbus) 11205 Files: src/if_python.c 11206 11207 Patch 7.3.145 (after 7.3.144) 11208 Problem: Can't build with Python dynamically loading. 11209 Solution: Add dll_PyType_Ready. 11210 Files: src/if_python.c 11211 11212 Patch 7.3.146 11213 Problem: It's possible to assign to a read-only member of a dict. 11214 It's possible to create a global variable "0". (ZyX) 11215 It's possible to add a v: variable with ":let v:.name = 1". 11216 Solution: Add check for dict item being read-only. 11217 Check the name of g: variables. 11218 Disallow adding v: variables. 11219 Files: src/eval.c 11220 11221 Patch 7.3.147 (after 7.3.143) 11222 Problem: Can't build on HP-UX. 11223 Solution: Remove an unnecessary backslash. (John Marriott) 11224 Files: src/Makefile 11225 11226 Patch 7.3.148 11227 Problem: A syntax file with a huge number of items or clusters causes weird 11228 behavior, a hang or a crash. (Yukihiro Nakadaira) 11229 Solution: Check running out of IDs. (partly by Ben Schmidt) 11230 Files: src/syntax.c 11231 11232 Patch 7.3.149 11233 Problem: The cursor disappears after the processing of the 'setDot' 11234 netbeans command when vim runs in a terminal. 11235 Solution: Show the cursor after a screen update. (Xavier de Gaye) 11236 Files: src/netbeans.c 11237 11238 Patch 7.3.150 11239 Problem: readline() does not return the last line when the NL is missing. 11240 (Hong Xu) 11241 Solution: When at the end of the file Also check for a previous line. 11242 Files: src/eval.c 11243 11244 Patch 7.3.151 (after 7.3.074) 11245 Problem: When "unnamedplus" is in 'clipboard' the selection is sometimes 11246 also copied to the star register. 11247 Solution: Avoid copy to the star register when undesired. (James Vega) 11248 Files: src/ops.c 11249 11250 Patch 7.3.152 11251 Problem: Xxd does not check for errors from library functions. 11252 Solution: Add error checks. (Florian Zumbiehl) 11253 Files: src/xxd/xxd.c 11254 11255 Patch 7.3.153 (after 7.3.152) 11256 Problem: Compiler warning for ambiguous else, missing prototype. 11257 Solution: Add braces. (Dominique Pelle) Add prototype for die(). 11258 Files: src/xxd/xxd.c 11259 11260 Patch 7.3.154 (after 7.3.148) 11261 Problem: Can't compile with tiny features. (Tony Mechelynck) 11262 Solution: Move #define outside of #ifdef. 11263 Files: src/syntax.c 11264 11265 Patch 7.3.155 11266 Problem: Crash when using map(), filter() and remove() on v:. (ZyX) 11267 Also for extend(). (Yukihiro Nakadaira) 11268 Solution: Mark v: as locked. Also correct locking error messages. 11269 Files: src/eval.c 11270 11271 Patch 7.3.156 11272 Problem: Tty names possibly left unterminated. 11273 Solution: Use vim_strncpy() instead of strncpy(). 11274 Files: src/pty.c 11275 11276 Patch 7.3.157 11277 Problem: Superfluous assignment. 11278 Solution: Remove assignment. 11279 Files: src/misc1.c 11280 11281 Patch 7.3.158 11282 Problem: Might use uninitialized memory in C indenting. 11283 Solution: Init arrays to empty. 11284 Files: src/misc1.c 11285 11286 Patch 7.3.159 11287 Problem: Using uninitialized pointer when out of memory. 11288 Solution: Check for NULL return value. 11289 Files: src/mbyte.c 11290 11291 Patch 7.3.160 11292 Problem: Unsafe string copying. 11293 Solution: Use vim_strncpy() instead of strcpy(). Use vim_strcat() instead 11294 of strcat(). 11295 Files: src/buffer.c, src/ex_docmd.c, src/hardcopy.c, src/menu.c, 11296 src/misc1.c, src/misc2.c, src/proto/misc2.pro, src/netbeans.c, 11297 src/os_unix.c, src/spell.c, src/syntax.c, src/tag.c 11298 11299 Patch 7.3.161 11300 Problem: Items on the stack may be too big. 11301 Solution: Make items static or allocate them. 11302 Files: src/eval.c, src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, 11303 src/fileio.c, src/hardcopy.c, src/quickfix.c, src/main.c, 11304 src/netbeans.c, src/spell.c, src/tag.c, src/vim.h, src/xxd/xxd.c 11305 11306 Patch 7.3.162 11307 Problem: No error message when assigning to a list with an index out of 11308 range. (Yukihiro Nakadaira) 11309 Solution: Add the error message. 11310 Files: src/eval.c 11311 11312 Patch 7.3.163 11313 Problem: For the default of 'shellpipe' "mksh" and "pdksh" are not 11314 recognized. 11315 Solution: Recognize these shell names. 11316 Files: src/option.c 11317 11318 Patch 7.3.164 11319 Problem: C-indenting: a preprocessor statement confuses detection of a 11320 function declaration. 11321 Solution: Ignore preprocessor lines. (Lech Lorens) Also recognize the style 11322 to put a comma before the argument name. 11323 Files: src/misc1.c, testdir/test3.in, testdir/test3.ok 11324 11325 Patch 7.3.165 11326 Problem: ":find" completion does not escape spaces in a directory name. 11327 (Isz) 11328 Solution: Add backslashes for EXPAND_FILES_IN_PATH. (Carlo Teubner) 11329 Files: src/ex_getln.c 11330 11331 Patch 7.3.166 11332 Problem: Buffer on the stack may be too big 11333 Solution: Allocate the space. 11334 Files: src/option.c 11335 11336 Patch 7.3.167 11337 Problem: When using the internal grep QuickFixCmdPost is not triggered. 11338 (Yukihiro Nakadaira) 11339 Solution: Change the place where autocommands are triggered. 11340 Files: src/quickfix.c 11341 11342 Patch 7.3.168 11343 Problem: When the second argument of input() contains a CR the text up to 11344 that is used without asking the user. (Yasuhiro Matsumoto) 11345 Solution: Change CR, NL and ESC in the text to a space. 11346 Files: src/getchar.c 11347 11348 Patch 7.3.169 11349 Problem: Freeing memory already freed, warning from static code analyzer. 11350 Solution: Initialize pointers to NULL, correct use of "mustfree". (partly by 11351 Dominique Pelle) 11352 Files: src/mis1.c 11353 11354 Patch 7.3.170 11355 Problem: VMS Makefile for testing was not updated for test77. 11356 Solution: Add test77 to the Makefile. 11357 Files: src/testdir/Make_vms.mms 11358 11359 Patch 7.3.171 11360 Problem: When the clipboard isn't supported: ":yank*" gives a confusing 11361 error message. 11362 Solution: Specifically mention that the register name is invalid. 11363 (Jean-Rene David) 11364 Files: runtime/doc/change.txt, src/ex_docmd.c, src/globals.h 11365 11366 Patch 7.3.172 11367 Problem: MS-Windows: rename() might delete the file if the name differs but 11368 it's actually the same file. 11369 Solution: Use the file handle to check if it's the same file. (Yukihiro 11370 Nakadaira) 11371 Files: src/if_cscope.c, src/fileio.c, src/os_win32.c, 11372 src/proto/os_win32.pro, src/vim.h 11373 11374 Patch 7.3.173 11375 Problem: After using setqflist() to make the quickfix list empty ":cwindow" 11376 may open the window anyway. Also after ":vimgrep". 11377 Solution: Correctly check whether the list is empty. (Ingo Karkat) 11378 Files: src/quickfix.c 11379 11380 Patch 7.3.174 11381 Problem: When Exuberant ctags binary is exctags it's not found. 11382 Solution: Add configure check for exctags. (Hong Xu) 11383 Files: src/configure.in, src/auto/configure 11384 11385 Patch 7.3.175 11386 Problem: When 'colorcolumn' is set locally to a window, ":new" opens a 11387 window with the same highlighting but 'colorcolumn' is empty. 11388 (Tyru) 11389 Solution: Call check_colorcolumn() after clearing and copying options. 11390 (Christian Brabandt) 11391 Files: src/buffer.c 11392 11393 Patch 7.3.176 11394 Problem: Ruby linking doesn't work properly on Mac OS X. 11395 Solution: Fix the configure check for Ruby. (Bjorn Winckler) 11396 Files: src/configure.in, src/auto/configure 11397 11398 Patch 7.3.177 11399 Problem: MS-Windows: mkdir() doesn't work properly when 'encoding' is 11400 "utf-8". 11401 Solution: Convert to utf-16. (Yukihiro Nakadaira) 11402 Files: src/os_win32.c, src/os_win32.h, src/proto/os_win32.pro 11403 11404 Patch 7.3.178 11405 Problem: C-indent doesn't handle code right after { correctly. 11406 Solution: Fix detecting unterminated line. (Lech Lorens) 11407 Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 11408 11409 Patch 7.3.179 11410 Problem: C-indent doesn't handle colon in string correctly. 11411 Solution: Skip the string. (Lech Lorens) 11412 Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 11413 11414 Patch 7.3.180 11415 Problem: When both a middle part of 'comments' matches and an end part, the 11416 middle part was used erroneously. 11417 Solution: After finding the middle part match continue looking for a better 11418 end part match. (partly by Lech Lorens) 11419 Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 11420 11421 Patch 7.3.181 11422 Problem: When repeating the insert of CTRL-V or a digraph the display may 11423 not be updated correctly. 11424 Solution: Only call edit_unputchar() after edit_putchar(). (Lech Lorens) 11425 Files: src/edit.c 11426 11427 Patch 7.3.182 (after 7.3.180) 11428 Problem: Compiler warning for uninitialized variable. 11429 Solution: Add dummy initializer. 11430 Files: src/misc1.c 11431 11432 Patch 7.3.183 (after 7.3.174) 11433 Problem: When Exuberant ctags binary is exuberant-ctags it's not found. 11434 Solution: Add configure check for exuberant-ctags. 11435 Files: src/configure.in, src/auto/configure 11436 11437 Patch 7.3.184 11438 Problem: Static code analysis errors in riscOS. 11439 Solution: Make buffer size bigger. (Dominique Pelle) 11440 Files: src/gui_riscos.c 11441 11442 Patch 7.3.185 11443 Problem: ":windo g/pattern/q" closes windows and reports "N more lines". 11444 (Tim Chase) 11445 Solution: Remember what buffer ":global" started in. (Jean-Rene David) 11446 Files: src/ex_cmds.c 11447 11448 Patch 7.3.186 11449 Problem: When 'clipboard' contains "unnamed" or "unnamedplus" the value of 11450 v:register is wrong for operators without a specific register. 11451 Solution: Adjust the register according to 'clipboard'. (Ingo Karkat) 11452 Files: src/normal.c 11453 11454 Patch 7.3.187 11455 Problem: The RISC OS port has obvious errors and is not being maintained. 11456 Solution: Remove the RISC OS files and code. 11457 Files: src/ascii.h, src/eval.c, src/ex_cmds.c, src/ex_cmds2.c, 11458 src/ex_docmd.c, src/fileio.c, src/globals.h, src/gui.c, src/gui.h, 11459 src/main.c, src/memfile.c, src/memline.c, src/misc1.c, 11460 src/proto.h, src/quickfix.c, src/search.c, src/structs.h, 11461 src/term.c, src/termlib.c, src/version.c, src/vim.h, 11462 src/gui_riscos.h, src/os_riscos.h, src/gui_riscos.c, 11463 src/os_riscos.c, runtime/doc/os_risc.txt 11464 11465 Patch 7.3.188 11466 Problem: More RISC OS files to remove. 11467 Solution: Remove them. Update the file list. 11468 Files: src/proto/gui_riscos.pro, src/proto/os_riscos.pro, Filelist 11469 11470 Patch 7.3.189 (after 7.3.186) 11471 Problem: Can't build without +clipboard feature. (Christian Ebert) 11472 Solution: Add the missing #ifdef. 11473 Files: src/normal.c 11474 11475 Patch 7.3.190 11476 Problem: When there is a "containedin" syntax argument highlighting may be 11477 wrong. (Radek) 11478 Solution: Reset current_next_list. (Ben Schmidt) 11479 Files: src/syntax.c 11480 11481 Patch 7.3.191 11482 Problem: Still some RISC OS stuff to remove. 11483 Solution: Remove files and lines. (Hong Xu) 11484 Remove the 'osfiletype' option code. 11485 Files: README_extra.txt, src/Make_ro.mak, src/INSTALL, src/Makefile, 11486 src/buffer.c, src/eval.c, src/feature.h, src/option.c, 11487 src/option.h, src/structs.h, src/version.c, src/pty.c, Filelist 11488 11489 Patch 7.3.192 11490 Problem: Ex command ":s/ \?/ /g" splits multibyte characters into bytes. 11491 (Dominique Pelle) 11492 Solution: Advance over whole character instead of one byte. 11493 Files: src/ex_cmds.c 11494 11495 Patch 7.3.193 11496 Problem: In the command line window ":close" doesn't work properly. (Tony 11497 Mechelynck) 11498 Solution: Use Ctrl_C instead of K_IGNORE for cmdwin_result. (Jean-Rene 11499 David) 11500 Files: src/ex_docmd.c, src/ex_getln.c 11501 11502 Patch 7.3.194 11503 Problem: When "b" is a symlink to directory "a", resolve("b/") doesn't 11504 result in "a/". (ZyX) 11505 Solution: Remove the trailing slash. (Jean-Rene David) 11506 Files: src/eval.c 11507 11508 Patch 7.3.195 11509 Problem: "} else" causes following lines to be indented too much. (Rouben 11510 Rostamian) 11511 Solution: Better detection for the "else". (Lech Lorens) 11512 Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 11513 11514 Patch 7.3.196 11515 Problem: Can't intercept a character that is going to be inserted. 11516 Solution: Add the InsertCharPre autocommand event. (Jakson A. Aquino) 11517 Files: runtime/doc/autocmd.txt, runtime/doc/eval.txt, 11518 runtime/doc/map.txt, src/edit.c, src/eval.c, src/fileio.c, 11519 src/vim.h 11520 11521 Patch 7.3.197 11522 Problem: When a QuickfixCmdPost event removes all errors, Vim still tries 11523 to jump to the first error, resulting in E42. 11524 Solution: Get the number of error after the autocmd event. (Mike Lundy) 11525 Files: src/quickfix.c 11526 11527 Patch 7.3.198 11528 Problem: No completion for ":lang". 11529 Solution: Get locales to complete from. (Dominique Pelle) 11530 Files: src/eval.c, src/ex_cmds2.c, src/ex_getln.c, 11531 src/proto/ex_cmds2.pro, src/proto/ex_getln.pro, src/vim.h 11532 11533 Patch 7.3.199 11534 Problem: MS-Windows: Compilation problem of OLE with MingW compiler. 11535 Solution: Put #ifdef around declarations. (Guopeng Wen) 11536 Files: src/if_ole.h 11537 11538 Patch 7.3.200 (after 7.3.198) 11539 Problem: CTRL-D doesn't complete :lang. 11540 Solution: Add the missing part of the change. (Dominique Pelle) 11541 Files: src/ex_docmd.c 11542 11543 Patch 7.3.201 (after 7.3.195) 11544 Problem: "} else" still causes following lines to be indented too much. 11545 Solution: Better detection for the "else" block. (Lech Lorens) 11546 Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 11547 11548 Patch 7.3.202 11549 Problem: Cannot influence the indent inside a namespace. 11550 Solution: Add the "N" 'cino' parameter. (Konstantin Lepa) 11551 Files: runtime/doc/indent.txt, src/misc1.c, src/testdir/test3.in, 11552 src/testdir/test3.ok 11553 11554 Patch 7.3.203 11555 Problem: MS-Windows: Can't run an external command without a console window. 11556 Solution: Support ":!start /b cmd". (Xaizek) 11557 Files: runtime/doc/os_win32.txt, src/os_win32.c 11558 11559 Patch 7.3.204 (after 7.3.201) 11560 Problem: Compiler warning. 11561 Solution: Add type cast. (Mike Williams) 11562 Files: src/misc1.c 11563 11564 Patch 7.3.205 11565 Problem: Syntax "extend" doesn't work correctly. 11566 Solution: Avoid calling check_state_ends() recursively (Ben Schmidt) 11567 Files: src/syntax.c 11568 11569 Patch 7.3.206 11570 Problem: 64bit MS-Windows compiler warning. 11571 Solution: Use HandleToLong() instead of type cast. (Mike Williams) 11572 Files: src/gui_w32.c 11573 11574 Patch 7.3.207 11575 Problem: Can't compile with MSVC with pentium4 and 64 bit. 11576 Solution: Only use SSE2 for 32 bit. (Mike Williams) 11577 Files: src/Make_mvc.mak 11578 11579 Patch 7.3.208 11580 Problem: Early terminated if statement. 11581 Solution: Remove the semicolon. (Lech Lorens) 11582 Files: src/gui_mac.c 11583 11584 Patch 7.3.209 11585 Problem: MSVC Install instructions point to wrong batch file. 11586 Solution: Add a batch file for use with MSVC 10. 11587 Files: src/msvc2010.bat, src/INSTALLpc.txt, Filelist 11588 11589 Patch 7.3.210 11590 Problem: Can't always find the file when using cscope. 11591 Solution: Add the 'cscoperelative' option. (Raghavendra D Prabhu) 11592 Files: runtime/doc/if_cscop.txt, runtime/doc/options.txt, 11593 src/if_cscope.c 11594 11595 Patch 7.3.211 (after 7.3.210) 11596 Problem: Compiler warning. 11597 Solution: Add type cast. 11598 Files: src/if_cscope.c 11599 11600 Patch 7.3.212 11601 Problem: With Python 3.2 ":py3" fails. 11602 Solution: Move PyEval_InitThreads() to after Py_Initialize(). (Roland 11603 Puntaier) Check abiflags in configure. (Andreas Behr) 11604 Files: src/if_python3.c, src/auto/configure, src/configure.in 11605 11606 Patch 7.3.213 11607 Problem: Javascript object literal is not indented correctly. 11608 Solution: Make a special case for when "J1" is in 'cino'. (Luc Deschenaux) 11609 Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 11610 11611 Patch 7.3.214 11612 Problem: The text displayed by ":z-" isn't exactly like old Vi. 11613 Solution: Add one to the start line number. (ChangZhuo Chen) 11614 Files: src/ex_cmds.c 11615 11616 Patch 7.3.215 (after 7.3.210) 11617 Problem: Wrong file names in previous patch. (Toothpik) 11618 Solution: Include the option changes. 11619 Files: src/option.c, src/option.h 11620 11621 Patch 7.3.216 11622 Problem: When recovering a file a range of lines is missing. (Charles Jie) 11623 Solution: Reset the index when advancing to the next pointer block. Add a 11624 test to verify recovery works. 11625 Files: src/memline.c, src/testdir/test78.in, src/testdir/test78.ok, 11626 src/testdir/Makefile, src/testdir/Make_amiga.mak, 11627 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 11628 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms 11629 11630 Patch 7.3.217 11631 Problem: Inside an "if" a ":wincmd" causes problems. 11632 Solution: When skipping commands let ":wincmd" skip over its argument. 11633 Files: src/ex_docmd.c 11634 11635 Patch 7.3.218 (after 7.3.212) 11636 Problem: Tiny configuration problem with Python 3. 11637 Solution: Add abiflags in one more place. (Andreas Behr) 11638 Files: src/auto/configure, src/configure.in 11639 11640 Patch 7.3.219 11641 Problem: Can't compile with GTK on Mac. 11642 Solution: Add some #ifdef trickery. (Ben Schmidt) 11643 Files: src/os_mac_conv.c, src/os_macosx.m, src/vim.h 11644 11645 Patch 7.3.220 11646 Problem: Python 3: vim.error is a 'str' instead of an 'Exception' object, 11647 so 'except' or 'raise' it causes a 'SystemError' exception. 11648 Buffer objects do not support slice assignment. 11649 When exchanging text between Vim and Python, multibyte texts become 11650 garbage or cause Unicode Exceptions, etc. 11651 'py3file' tries to read in the file as Unicode, sometimes causes 11652 UnicodeDecodeException 11653 Solution: Fix the problems. (lilydjwg) 11654 Files: src/if_py_both.h, src/if_python.c, src/if_python3.c 11655 11656 Patch 7.3.221 11657 Problem: Text from the clipboard is sometimes handled as linewise, but not 11658 consistently. 11659 Solution: Assume the text is linewise when it ends in a CR or NL. 11660 Files: src/gui_gtk_x11.c, src/gui_mac.c, src/ops.c, src/os_msdos.c, 11661 src/os_mswin.c, src/os_qnx.c, src/ui.c 11662 11663 Patch 7.3.222 11664 Problem: Warning for building GvimExt. 11665 Solution: Comment-out the DESCRIPTION line. (Mike Williams) 11666 Files: src/GvimExt/gvimext.def, src/GvimExt/gvimext_ming.def 11667 11668 Patch 7.3.223 11669 Problem: MingW cross compilation doesn't work with tiny features. 11670 Solution: Move acp_to_enc(), enc_to_utf16() and utf16_to_enc() outside of 11671 "#ifdef CLIPBOARD". Fix typo in makefile. 11672 Files: src/Make_ming.mak, src/os_mswin.c 11673 11674 Patch 7.3.224 11675 Problem: Can't pass dict to sort function. 11676 Solution: Add the optional {dict} argument to sort(). (ZyX) 11677 Files: runtime/doc/eval.txt, src/eval.c 11678 11679 Patch 7.3.225 11680 Problem: Using "\n" in a substitute inside ":s" does not result in a line 11681 break. 11682 Solution: Change behavior inside vim_regexec_nl(). Add tests. (Motoya 11683 Kurotsu) 11684 Files: src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok, 11685 src/testdir/test80.in, src/testdir/test80.ok, 11686 src/testdir/Makefile, src/testdir/Make_amiga.mak, 11687 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 11688 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms 11689 11690 Patch 7.3.226 11691 Problem: On a 64 bit system "syn sync fromstart" is very slow. (Bjorn 11692 Steinbrink) 11693 Solution: Store the state when starting to parse from the first line. 11694 Files: src/syntax.c 11695 11696 Patch 7.3.227 (after 7.3.221) 11697 Problem: Mac OS doesn't have the linewise clipboard fix. 11698 Solution: Also change the Mac OS file. (Bjorn Winckler) 11699 Files: src/os_macosx.m 11700 11701 Patch 7.3.228 11702 Problem: "2gj" does not always move to the correct position. 11703 Solution: Get length of line after moving to a next line. (James Vega) 11704 Files: src/normal.c 11705 11706 Patch 7.3.229 11707 Problem: Using fork() makes gvim crash on Mac when build with 11708 CoreFoundation. 11709 Solution: Disallow fork() when __APPLE__ is defined. (Hisashi T Fujinaka) 11710 Files: src/gui.c 11711 11712 Patch 7.3.230 11713 Problem: ":wundo" and ":rundo" don't unescape their argument. (Aaron 11714 Thoma) 11715 Solution: Use FILE1 instead of XFILE. 11716 Files: src/ex_cmds.h 11717 11718 Patch 7.3.231 11719 Problem: Runtime file patches failed. 11720 Solution: Redo the patches made against the patched files instead of the 11721 files in the mercurial repository. 11722 Files: runtime/doc/indent.txt, runtime/doc/os_win32.txt 11723 11724 Patch 7.3.232 11725 Problem: Python doesn't compile without +multi_byte 11726 Solution: Use "latin1" when MULTI_BYTE is not defined. 11727 Files: src/if_py_both.h 11728 11729 Patch 7.3.233 11730 Problem: ":scriptnames" and ":breaklist" show long file names. 11731 Solution: Shorten to use "~/" when possible. (Jean-Rene David) 11732 Files: src/ex_cmds2.c 11733 11734 Patch 7.3.234 11735 Problem: With GTK menu may be popping down. 11736 Solution: Use event time instead of GDK_CURRENT_TIME. (Hong Xu) 11737 Files: src/gui.c, src/gui.h, src/gui_gtk.c, src/gui_gtk_x11.c 11738 11739 Patch 7.3.235 11740 Problem: ";" gets stuck on a "t" command, it's not useful. 11741 Solution: Add the ';' flag in 'cpo'. (Christian Brabandt) 11742 Files: runtime/doc/motion.txt, runtime/doc/options.txt, src/option.h, 11743 src/search.c src/testdir/test81.in, src/testdir/test81.ok, 11744 src/testdir/Makefile, src/testdir/Make_amiga.mak, 11745 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 11746 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms 11747 11748 Patch 7.3.236 (after 7.3.232) 11749 Problem: Python 3 doesn't compile without +multi_byte 11750 Solution: Use "latin1" when MULTI_BYTE is not defined. (lilydjwg) 11751 Files: src/if_python3.c 11752 11753 Patch 7.3.237 11754 Problem: "filetype" completion doesn't work on Windows. (Yue Wu) 11755 Solution: Don't use a glob pattern for the directories, use a list of 11756 directories. (Dominique Pelle) 11757 Files: src/ex_getln.c 11758 11759 Patch 7.3.238 11760 Problem: Compiler warning for conversion. 11761 Solution: Add type cast. (Mike Williams) 11762 Files: src/ex_getln.c 11763 11764 Patch 7.3.239 11765 Problem: Python corrects the cursor column without taking 'virtualedit' 11766 into account. (lilydjwg) 11767 Solution: Call check_cursor_col_win(). 11768 Files: src/if_py_both.h, src/mbyte.c, src/misc2.c, src/normal.c, 11769 src/proto/mbyte.pro, src/proto/misc2.pro 11770 11771 Patch 7.3.240 11772 Problem: External commands can't use pipes on MS-Windows. 11773 Solution: Implement pipes and use them when 'shelltemp' isn't set. (Vincent 11774 Berthoux) 11775 Files: src/eval.c, src/ex_cmds.c, src/misc2.c, src/os_unix.c, 11776 src/os_win32.c, src/proto/misc2.pro, src/ui.c 11777 11778 Patch 7.3.241 11779 Problem: Using CTRL-R CTRL-W on the command line may insert only part of 11780 the word. 11781 Solution: Use the cursor position instead of assuming it is at the end of 11782 the command. (Tyru) 11783 Files: src/ex_getln.c 11784 11785 Patch 7.3.242 11786 Problem: Illegal memory access in after_pathsep(). 11787 Solution: Check that the pointer is not at the start of the file name. 11788 (Dominique Pelle) 11789 Files: src/misc2.c 11790 11791 Patch 7.3.243 11792 Problem: Illegal memory access in readline(). 11793 Solution: Swap the conditions. (Dominique Pelle) 11794 Files: src/eval.c 11795 11796 Patch 7.3.244 11797 Problem: MS-Windows: Build problem with old compiler. (John Beckett) 11798 Solution: Only use HandleToLong() when available. (Mike Williams) 11799 Files: src/gui_w32.c 11800 11801 Patch 7.3.245 11802 Problem: Python 3.2 libraries not correctly detected. 11803 Solution: Add the suffix to the library name. (Niclas Zeising) 11804 Files: src/auto/configure, src/configure.in 11805 11806 Patch 7.3.246 (after 7.3.235) 11807 Problem: Repeating "f4" in "4444" skips one 4. 11808 Solution: Check the t_cmd flag. (Christian Brabandt) 11809 Files: src/search.c 11810 11811 Patch 7.3.247 11812 Problem: Running tests changes the users viminfo file. Test for patch 11813 7.3.246 missing. 11814 Solution: Add "nviminfo" to the 'viminfo' option. Include the test. 11815 Files: src/testdir/test78.in, src/testdir/test81.in 11816 11817 Patch 7.3.248 11818 Problem: PC Install instructions missing install instructions. 11819 Solution: Step-by-step explanation. (Michael Soyka) 11820 Files: src/INSTALLpc.txt 11821 11822 Patch 7.3.249 11823 Problem: Wrong indenting for array initializer. 11824 Solution: Detect '}' in a better way. (Lech Lorens) 11825 Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 11826 11827 Patch 7.3.250 11828 Problem: Python: Errors in Unicode characters not handled nicely. 11829 Solution: Add the surrogateescape error handler. (lilydjwg) 11830 Files: src/if_python3.c 11831 11832 Patch 7.3.251 11833 Problem: "gH<Del>" deletes the current line, except when it's the last 11834 line. 11835 Solution: Set the "include" flag to indicate the last line is to be deleted. 11836 Files: src/normal.c, src/ops.c 11837 11838 Patch 7.3.252 (after 7.3.247) 11839 Problem: Tests fail. (David Northfield) 11840 Solution: Add missing update for .ok file. 11841 Files: src/testdir/test81.ok 11842 11843 Patch 7.3.253 11844 Problem: "echo 'abc' > ''" returns 0 or 1, depending on 'ignorecase'. 11845 Checks in mb_strnicmp() for illegal and truncated bytes are 11846 wrong. Should not assume that byte length is equal before case 11847 folding. 11848 Solution: Add utf_safe_read_char_adv() and utf_strnicmp(). Add a test for 11849 this. (Ivan Krasilnikov) 11850 Files: src/mbyte.c src/testdir/test82.in, src/testdir/test82.ok, 11851 src/testdir/Makefile, src/testdir/Make_amiga.mak, 11852 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 11853 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms 11854 11855 Patch 7.3.254 11856 Problem: The coladd field is not reset when setting the line number for a 11857 ":call" command. 11858 Solution: Reset it. 11859 Files: src/eval.c 11860 11861 Patch 7.3.255 11862 Problem: When editing a file such as "File[2010-08-15].vim" an E16 error is 11863 given. (Manuel Stol) 11864 Solution: Don't give an error for failing to compile the regexp. 11865 Files: src/ex_docmd.c, src/misc1.c, src/vim.h 11866 11867 Patch 7.3.256 11868 Problem: Javascript indenting not sufficiently tested. 11869 Solution: Add more tests. (Luc Deschenaux) Mark the lines that are indented 11870 wrong. 11871 Files: src/testdir/test3.in, src/testdir/test3.ok 11872 11873 Patch 7.3.257 11874 Problem: Not all completions are available to user commands. 11875 Solution: Add "color", "compiler", "file_in_path" and "locale". (Dominique 11876 Pelle) 11877 Files: src/ex_docmd.c, runtime/doc/map.txt 11878 11879 Patch 7.3.258 11880 Problem: MS-Windows: The edit with existing vim context menu entries can be 11881 unwanted. 11882 Solution: Let a registry entry disable them. (Jerome Vuarand) 11883 Files: src/GvimExt/gvimext.cpp 11884 11885 Patch 7.3.259 11886 Problem: Equivalence classes only work for latin characters. 11887 Solution: Add the Unicode equivalence characters. (Dominique Pelle) 11888 Files: runtime/doc/pattern.txt, src/regexp.c, src/testdir/test44.in, 11889 src/testdir/test44.ok 11890 11891 Patch 7.3.260 11892 Problem: CursorHold triggers on an incomplete mapping. (Will Gray) 11893 Solution: Don't trigger CursorHold when there is typeahead. 11894 Files: src/fileio.c 11895 11896 Patch 7.3.261 11897 Problem: G++ error message erroneously recognized as error. 11898 Solution: Ignore "In file included from" line also when it ends in a colon. 11899 (Fernando Castillo) 11900 Files: src/option.h 11901 11902 Patch 7.3.262 11903 Problem: Photon code style doesn't match Vim style. 11904 Solution: Clean up some of it. (Elias Diem) 11905 Files: src/gui_photon.c 11906 11907 Patch 7.3.263 11908 Problem: Perl and Tcl have a few code style problems. 11909 Solution: Clean it up. (Elias Diem) 11910 Files: src/if_perl.xs, src/if_tcl.c 11911 11912 Patch 7.3.264 11913 Problem: When the current directory name contains wildcard characters, such 11914 as "foo[with]bar", the tags file can't be found. (Jeremy 11915 Erickson) 11916 Solution: When searching for matching files also match without expanding 11917 wildcards. This is a bit of a hack. 11918 Files: src/vim.h, src/misc1.c, src/misc2.c 11919 11920 Patch 7.3.265 11921 Problem: When storing a pattern in search history there is no proper check 11922 for the separator character. 11923 Solution: Pass the separator character to in_history(). (Taro Muraoka) 11924 Files: src/ex_getln.c 11925 11926 Patch 7.3.266 11927 Problem: In gvim with iBus typing space in Insert mode doesn't work. 11928 Solution: Clear xim_expected_char after checking it. 11929 Files: src/mbyte.c 11930 11931 Patch 7.3.267 11932 Problem: Ruby on Mac OS X 10.7 may crash. 11933 Solution: Avoid alloc(0). (Bjorn Winckler) 11934 Files: src/if_ruby.c 11935 11936 Patch 7.3.268 11937 Problem: Vim freezes when executing an external command with zsh. 11938 Solution: Use O_NOCTTY both in the master and slave. (Bjorn Winckler) 11939 Files: src/os_unix.c 11940 11941 Patch 7.3.269 11942 Problem: 'shellcmdflag' only works with one flag. 11943 Solution: Split into multiple arguments. (Gary Johnson) 11944 Files: src/os_unix.c 11945 11946 Patch 7.3.270 11947 Problem: Illegal memory access. 11948 Solution: Swap conditions. (Dominique Pelle) 11949 Files: src/ops.c 11950 11951 Patch 7.3.271 11952 Problem: Code not following Vim coding style. 11953 Solution: Fix the style. (Elias Diem) 11954 Files: src/gui_photon.c 11955 11956 Patch 7.3.272 11957 Problem: ":put =list" does not add an empty line for a trailing empty 11958 item. 11959 Solution: Add a trailing NL when turning a list into a string. 11960 Files: src/eval.c 11961 11962 Patch 7.3.273 11963 Problem: A BOM in an error file is seen as text. (Aleksey Baibarin) 11964 Solution: Remove the BOM from the text before evaluating. (idea by Christian 11965 Brabandt) 11966 Files: src/quickfix.c, src/mbyte.c, src/proto/mbyte.pro, 11967 src/testdir/test10.in 11968 11969 Patch 7.3.274 11970 Problem: With concealed characters tabs do not have the right size. 11971 Solution: Use VCOL_HLC instead of vcol. (Eiichi Sato) 11972 Files: src/screen.c 11973 11974 Patch 7.3.275 11975 Problem: MS-Windows: When using a black background some screen updates 11976 cause the window to flicker. 11977 Solution: Add WS_CLIPCHILDREN to CreateWindow(). (René Aguirre) 11978 Files: src/gui_w32.c 11979 11980 Patch 7.3.276 11981 Problem: GvimExt sets $LANG in the wrong way. 11982 Solution: Save the environment and use it for gvim. (Yasuhiro Matsumoto) 11983 Files: src/GvimExt/gvimext.cpp 11984 11985 Patch 7.3.277 11986 Problem: MS-Windows: some characters do not show in dialogs. 11987 Solution: Use the wide methods when available. (Yanwei Jia) 11988 Files: src/gui_w32.c, src/gui_w48.c, src/os_mswin.c, src/os_win32.c, 11989 src/os_win32.h 11990 11991 Patch 7.3.278 11992 Problem: Passing the file name to open in VisVim doesn't work. 11993 Solution: Adjust the index and check for end of buffer. (Jiri Sedlak) 11994 Files: src/VisVim/Commands.cpp 11995 11996 Patch 7.3.279 11997 Problem: With GTK, when gvim is full-screen and a tab is opened and using a 11998 specific monitor configuration the window is too big. 11999 Solution: Adjust the window size like on MS-Windows. (Yukihiro Nakadaira) 12000 Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro 12001 12002 Patch 7.3.280 12003 Problem: ":lmake" does not update the quickfix window title. 12004 Solution: Update the title. (Lech Lorens) 12005 Files: src/quickfix.c, src/testdir/test10.in, src/testdir/test10.ok 12006 12007 Patch 7.3.281 12008 Problem: After using "expand('%:8')" the buffer name is changed. 12009 Solution: Make a copy of the file name before shortening it. 12010 Files: src/eval.c 12011 12012 Patch 7.3.282 12013 Problem: When using input() and :echo in a loop the displayed text is 12014 incorrect. (Benjamin Fritz) 12015 Solution: Only restore the cursor position when there is a command line. 12016 (Ben Schmidt) 12017 Files: src/ex_getln.c 12018 12019 Patch 7.3.283 12020 Problem: An expression mapping with a multibyte character containing a 12021 0x80 byte gets messed up. (ZyX) 12022 Solution: Unescape the expression before evaluating it (Yukihiro Nakadaira) 12023 Files: src/getchar.c 12024 12025 Patch 7.3.284 12026 Problem: The str2special() function doesn't handle multibyte characters 12027 properly. 12028 Solution: Recognize multibyte characters. (partly by Vladimir Vichniakov) 12029 Files: src/getchar.c, src/message.c, src/misc2.c 12030 12031 Patch 7.3.285 (after 7.3.284) 12032 Problem: Mapping <Char-123> no longer works. 12033 Solution: Properly check for "char-". Add a test for it. 12034 Files: src/misc2.c, src/testdir/test75.in, src/testdir/test75.ok 12035 12036 Patch 7.3.286 12037 Problem: Crash when using "zd" on a large number of folds. (Sam King) 12038 Solution: Recompute pointer after reallocating array. Move fewer entries 12039 when making room. 12040 Files: src/fold.c 12041 12042 Patch 7.3.287 12043 Problem: Can't compile with MSVC and tiny options. 12044 Solution: Move variables and #ifdefs. (Sergey Khorev) 12045 Files: src/os_win32.c 12046 12047 Patch 7.3.288 12048 Problem: has('python') may give an error message for not being able to load 12049 the library after using python3. 12050 Solution: Only give the error when the verbose argument is true. 12051 Files: src/if_python.c, src/if_python3.c 12052 12053 Patch 7.3.289 12054 Problem: Complete function isn't called when the leader changed. 12055 Solution: Call ins_compl_restart() when the leader changed. (Taro Muraoka) 12056 Files: src/edit.c 12057 12058 Patch 7.3.290 12059 Problem: When a BufWriteCmd autocommand resets 'modified' this doesn't 12060 change older buffer states to be marked as 'modified' like 12061 ":write" does. (Yukihiro Nakadaira) 12062 Solution: When the BufWriteCmd resets 'modified' then adjust the undo 12063 information like ":write" does. 12064 Files: src/fileio.c 12065 12066 Patch 7.3.291 12067 Problem: Configure doesn't work properly with Python3. 12068 Solution: Put -ldl before $LDFLAGS. Add PY3_NO_RTLD_GLOBAL. (Roland 12069 Puntaier) 12070 Files: src/config.h.in, src/auto/configure, src/configure.in 12071 12072 Patch 7.3.292 12073 Problem: Crash when using fold markers and selecting a visual block that 12074 includes a folded line and goes to end of line. (Sam Lidder) 12075 Solution: Check for the column to be MAXCOL. (James Vega) 12076 Files: src/screen.c 12077 12078 Patch 7.3.293 12079 Problem: MSVC compiler has a problem with non-ASCII characters. 12080 Solution: Avoid non-ASCII characters. (Hong Xu) 12081 Files: src/ascii.h, src/spell.c 12082 12083 Patch 7.3.294 (after 7.3.289) 12084 Problem: Patch 289 causes more problems than it solves. 12085 Solution: Revert the patch until a better solution is found. 12086 Files: src/edit.c 12087 12088 Patch 7.3.295 12089 Problem: When filtering text with an external command Vim may not read all 12090 the output. 12091 Solution: When select() is interrupted loop and try again. (James Vega) 12092 Files: src/os_unix.c 12093 12094 Patch 7.3.296 12095 Problem: When writing to an external command a zombie process may be left 12096 behind. 12097 Solution: Wait on the process. (James Vega) 12098 Files: src/os_unix.c 12099 12100 Patch 7.3.297 12101 Problem: Can't load Perl 5.14 dynamically. 12102 Solution: Add code in #ifdefs. (Charles Cooper) 12103 Files: if_perl.xs 12104 12105 Patch 7.3.298 12106 Problem: Built-in colors are different from rgb.txt. 12107 Solution: Adjust the color values. (Benjamin Haskell) 12108 Files: src/gui_photon.c, src/gui_w48.c 12109 12110 Patch 7.3.299 12111 Problem: Source code not in Vim style. 12112 Solution: Adjust the style. (Elias Diem) 12113 Files: src/gui_photon.c 12114 12115 Patch 7.3.300 12116 Problem: Python doesn't parse multibyte argument correctly. 12117 Solution: Use "t" instead of "s". (lilydjwg) 12118 Files: src/if_py_both.h 12119 12120 Patch 7.3.301 12121 Problem: When 'smartindent' and 'copyindent' are set a Tab is used even 12122 though 'expandtab' is set. 12123 Solution: Do not insert Tabs. Add a test. (Christian Brabandt) 12124 Files: src/misc1.c, src/testdir/test19.in, src/testdir/test19.ok 12125 12126 Patch 7.3.302 (after 7.3.301) 12127 Problem: Test 19 fails without 'smartindent' and +eval. 12128 Solution: Don't use ":exe". Source small.vim. 12129 Files: src/testdir/test19.in 12130 12131 Patch 7.3.303 (after 7.3.296) 12132 Problem: Compilation error. 12133 Solution: Correct return type from int to pid_t. (Danek Duvall) 12134 Files: src/os_unix.c 12135 12136 Patch 7.3.304 12137 Problem: Strawberry Perl doesn't work on MS-Windows. 12138 Solution: Use xsubpp if needed. (Yasuhiro Matsumoto) 12139 Files: src/Make_ming.mak, src/Make_mvc.mak 12140 12141 Patch 7.3.305 12142 Problem: Auto-loading a function while editing the command line causes 12143 scrolling up the display. 12144 Solution: Don't set msg_scroll when defining a function and the user is not 12145 typing. (Yasuhiro Matsumoto) 12146 Files: src/eval.c 12147 12148 Patch 7.3.306 12149 Problem: When closing a window there is a chance that deleting a scrollbar 12150 triggers a GUI resize, which uses the window while it is not in a 12151 valid state. 12152 Solution: Set the buffer pointer to NULL to be able to detect the invalid 12153 situation. Fix a few places that used the buffer pointer 12154 incorrectly. 12155 Files: src/buffer.c, src/ex_cmds.c, src/term.c, src/window.c 12156 12157 Patch 7.3.307 12158 Problem: Python 3 doesn't support slice assignment. 12159 Solution: Implement slices. (Brett Overesch, Roland Puntaier) 12160 Files: src/if_python3.c 12161 12162 Patch 7.3.308 12163 Problem: Writing to 'verbosefile' has problems, e.g. for :highlight. 12164 Solution: Do not use a separate verbose_write() function but write with the 12165 same code that does redirecting. (Yasuhiro Matsumoto) 12166 Files: src/message.c 12167 12168 Patch 7.3.309 (after 7.3.307) 12169 Problem: Warnings for pointer types. 12170 Solution: Change PySliceObject to PyObject. 12171 Files: src/if_python3.c 12172 12173 Patch 7.3.310 12174 Problem: Code not following Vim style. 12175 Solution: Fix the style. (Elias Diem) 12176 Files: src/gui_photon.c 12177 12178 Patch 7.3.311 (replaces 7.3.289) 12179 Problem: Complete function isn't called when the leader changed. 12180 Solution: Allow the complete function to return a dictionary with a flag 12181 that indicates ins_compl_restart() is to be called when the leader 12182 changes. (Taro Muraoka) 12183 Files: runtime/insert.txt, src/edit.c, src/eval.c, src/proto/eval.pro 12184 12185 Patch 7.3.312 (after 7.3.306) 12186 Problem: Can't compile with tiny features. 12187 Solution: Add #ifdef around win_valid(). 12188 Files: src/buffer.c 12189 12190 Patch 7.3.313 (after 7.3.307) 12191 Problem: One more warning when compiling with dynamic Python 3. 12192 Solution: Change PySliceObject to PyObject. 12193 Files: src/if_python3.c 12194 12195 Patch 7.3.314 (after 7.3.304) 12196 Problem: Missing parenthesis. 12197 Solution: Add it. (Benjamin R. Haskell) 12198 Files: src/Make_mvc.mak 12199 12200 Patch 7.3.315 12201 Problem: Opening a window before forking causes problems for GTK. 12202 Solution: Fork first, create the window in the child and report back to the 12203 parent process whether it worked. If successful the parent exits, 12204 if unsuccessful the child exits and the parent continues in the 12205 terminal. (Tim Starling) 12206 Files: src/gui.c 12207 12208 Patch 7.3.316 (after 7.3.306) 12209 Problem: Crash when 'colorcolumn' is set and closing buffer. 12210 Solution: Check for w_buffer to be NULL. (Yasuhiro Matsumoto) 12211 Files: src/option.c 12212 12213 Patch 7.3.317 12214 Problem: Calling debug.debug() in Lua may cause Vim to hang. 12215 Solution: Add a better debug method. (Rob Hoelz, Luis Carvalho) 12216 Files: src/if_lua.c 12217 12218 Patch 7.3.318 12219 Problem: "C" on the last line deletes that line if it's blank. 12220 Solution: Only delete the last line for a delete operation. (James Vega) 12221 Files: src/ops.c 12222 12223 Patch 7.3.319 (after 7.3.311) 12224 Problem: Redobuff doesn't always include changes of the completion leader. 12225 Solution: Insert backspaces as needed. (idea by Taro Muraoka) 12226 Files: src/edit.c 12227 12228 Patch 7.3.320 12229 Problem: When a 0xa0 character is in a sourced file the error message for 12230 unrecognized command does not show the problem. 12231 Solution: Display 0xa0 as <a0>. 12232 Files: src/ex_docmd.c 12233 12234 Patch 7.3.321 12235 Problem: Code not following Vim style. 12236 Solution: Fix the style. (Elias Diem) 12237 Files: src/os_qnx.c 12238 12239 Patch 7.3.322 12240 Problem: #ifdef for PDP_RETVAL doesn't work, INT_PTR can be a typedef. 12241 Solution: Check the MSC version and 64 bit flags. (Sergiu Dotenco) 12242 Files: src/os_mswin.c 12243 12244 Patch 7.3.323 12245 Problem: The default 'errorformat' does not ignore some "included from" 12246 lines. 12247 Solution: Add a few more patterns. (Ben Boeckel) 12248 Files: src/option.h 12249 12250 Patch 7.3.324 (after 7.3.237) 12251 Problem: Completion for ":compiler" shows color scheme names. 12252 Solution: Fix the directory name. (James Vega) 12253 Files: src/ex_getln.c 12254 12255 Patch 7.3.325 12256 Problem: A duplicated function argument gives an internal error. 12257 Solution: Give a proper error message. (based on patch by Tyru) 12258 Files: src/eval.c 12259 12260 Patch 7.3.326 12261 Problem: MingW 4.6 no longer supports the -mno-cygwin option. 12262 Solution: Split the Cygwin and MingW makefiles. (Matsushita Shougo) 12263 Files: src/GvimExt/Make_cyg.mak, src/GvimExt/Make_ming.mak, 12264 src/Make_cyg.mak, src/Make_ming.mak, src/xxd/Make_ming.mak, 12265 Filelist 12266 12267 Patch 7.3.327 12268 Problem: When jumping to a help tag a closed fold doesn't open. 12269 Solution: Save and restore KeyTyped. (Yasuhiro Matsumoto) 12270 Files: src/ex_cmds.c 12271 12272 Patch 7.3.328 12273 Problem: When command line wraps the cursor may be displayed wrong when 12274 there are multibyte characters. 12275 Solution: Position the cursor before drawing the text. (Yasuhiro Matsumoto) 12276 Files: src/ex_getln.c 12277 12278 Patch 7.3.329 12279 Problem: When skipping over code from ":for" to ":endfor" get an error for 12280 calling a dict function. (Yasuhiro Matsumoto) 12281 Solution: Ignore errors when skipping over :call command. 12282 Files: src/ex_docmd.c, src/eval.c 12283 12284 Patch 7.3.330 12285 Problem: When longjmp() is invoked if the X server gives an error the state 12286 is not properly restored. 12287 Solution: Reset vgetc_busy. (Yukihiro Nakadaira) 12288 Files: src/main.c 12289 12290 Patch 7.3.331 12291 Problem: "vit" selects wrong text when a tag name starts with the same text 12292 as an outer tag name. (Ben Fritz) 12293 Solution: Add "\>" to the pattern to check for word boundary. 12294 Files: src/search.c 12295 12296 Patch 7.3.332 (after 7.3.202) 12297 Problem: Indent after "public:" is not increased in C++ code. (Lech Lorens) 12298 Solution: Check for namespace after the regular checks. (partly by Martin 12299 Gieseking) 12300 Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 12301 12302 Patch 7.3.333 12303 Problem: Using "." to repeat a Visual delete counts the size in bytes, not 12304 characters. (Connor Lane Smith) 12305 Solution: Store the virtual column numbers instead of byte positions. 12306 Files: src/normal.c 12307 12308 Patch 7.3.334 12309 Problem: Latest MingW about XSUBPP referencing itself. (Gongqian Li) 12310 Solution: Rename the first use to XSUBPPTRY. 12311 Files: src/Make_ming.mak 12312 12313 Patch 7.3.335 12314 Problem: When 'imdisable' is reset from an autocommand in Insert mode it 12315 doesn't take effect. 12316 Solution: Call im_set_active() in Insert mode. (Taro Muraoka) 12317 Files: src/option.c 12318 12319 Patch 7.3.336 12320 Problem: When a tags file specifies an encoding different from 'enc' it 12321 may hang and using a pattern doesn't work. 12322 Solution: Convert the whole line. Continue reading the header after the 12323 SORT tag. Add test83. (Yukihiro Nakadaira) 12324 Files: src/tag.c, src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 12325 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 12326 src/testdir/Make_vms.mms, src/testdir/Makefile, 12327 src/testdir/test83-tags2, src/testdir/test83-tags3, 12328 src/testdir/test83.in, src/testdir/test83.ok 12329 12330 Patch 7.3.337 (after 7.3.295) 12331 Problem: Screen doesn't update after resizing the xterm until a character 12332 is typed. 12333 Solution: When the select call is interrupted check do_resize. (Taylor 12334 Hedberg) 12335 Files: src/os_unix.c 12336 12337 Patch 7.3.338 12338 Problem: Using getchar() in an expression mapping doesn't work well. 12339 Solution: Don't save and restore the typeahead. (James Vega) 12340 Files: src/getchar.c, src/testdir/test34.ok 12341 12342 Patch 7.3.339 12343 Problem: "make shadow" doesn't link all test files. 12344 Solution: Add a line in Makefile and Filelist. 12345 Files: src/Makefile, Filelist 12346 12347 Patch 7.3.340 12348 Problem: When 'verbosefile' is set ftplugof.vim can give an error. 12349 Solution: Only remove filetypeplugin autocommands when they exist. (Yasuhiro 12350 Matsumoto) 12351 Files: runtime/ftplugof.vim 12352 12353 Patch 7.3.341 12354 Problem: Local help files are only listed in help.txt, not in translated 12355 help files. 12356 Solution: Also find translated help files. (Yasuhiro Matsumoto) 12357 Files: src/ex_cmds.c 12358 12359 Patch 7.3.342 12360 Problem: Code not in Vim style. 12361 Solution: Fix the style. (Elias Diem) 12362 Files: src/os_amiga.c, src/os_mac_conv.c, src/os_win16.c 12363 12364 Patch 7.3.343 12365 Problem: No mouse support for urxvt. 12366 Solution: Implement urxvt mouse support, also for > 252 columns. (Yiding 12367 Jia) 12368 Files: src/feature.h, src/keymap.h, src/option.h, src/os_unix.c, 12369 src/term.c, src/version.c 12370 12371 Patch 7.3.344 12372 Problem: Problem with GUI startup related to XInitThreads. 12373 Solution: Use read() and write() instead of fputs() and fread(). (James 12374 Vega) 12375 Files: src/gui.c 12376 12377 Patch 7.3.345 12378 Problem: When switching language with ":lang" the window title doesn't 12379 change until later. 12380 Solution: Update the window title right away. (Dominique Pelle) 12381 Files: src/ex_cmds2.c 12382 12383 Patch 7.3.346 12384 Problem: It's hard to test netbeans commands. 12385 Solution: Process netbeans commands after :sleep. (Xavier de Gaye) 12386 Files: runtime/doc/netbeans.txt, src/ex_docmd.c, src/netbeans.c 12387 12388 Patch 7.3.347 12389 Problem: When dropping text from a browser on Vim it receives HTML even 12390 though "html" is excluded from 'clipboard'. (Andrei Avk) 12391 Solution: Fix the condition for TARGET_HTML. 12392 Files: src/gui_gtk_x11.c 12393 12394 Patch 7.3.348 12395 Problem: "call range(1, 947948399)" causes a crash. (ZyX) 12396 Solution: Avoid a loop in the out of memory message. 12397 Files: src/misc2.c 12398 12399 Patch 7.3.349 12400 Problem: When running out of memory during startup trying to open a 12401 swapfile will loop forever. 12402 Solution: Let findswapname() set dirp to NULL if out of memory. 12403 Files: src/memline.c 12404 12405 Patch 7.3.350 12406 Problem: Block of code after ":lua << EOF" may not work. (Paul Isambert) 12407 Solution: Recognize the ":lua" command, skip to EOF. 12408 Files: src/eval.c 12409 12410 Patch 7.3.351 12411 Problem: Text formatting uses start of insert position when it should not. 12412 (Peter Wagenaar) 12413 Solution: Do not use Insstart when intentionally formatting. 12414 Files: src/edit.c 12415 12416 Patch 7.3.352 12417 Problem: When completing methods dict functions and script-local functions 12418 get in the way. 12419 Solution: Sort function names starting with "<" to the end. (Yasuhiro 12420 Matsumoto) 12421 Files: src/ex_getln.c 12422 12423 Patch 7.3.353 (after 7.3.343) 12424 Problem: Missing part of the urxvt patch. 12425 Solution: Add the change in term.c 12426 Files: src/term.c 12427 12428 Patch 7.3.354 12429 Problem: ":set backspace+=eol" doesn't work when 'backspace' has a 12430 backwards compatible value of 2. 12431 Solution: Convert the number to a string. (Hirohito Higashi) 12432 Files: src/option.c 12433 12434 Patch 7.3.355 12435 Problem: GTK warnings when using netrw.vim. (Ivan Krasilnikov) 12436 Solution: Do not remove the beval event handler twice. 12437 Files: src/option.c 12438 12439 Patch 7.3.356 12440 Problem: Using "o" with 'cindent' set may freeze Vim. (lolilolicon) 12441 Solution: Skip over {} correctly. (Hari G) 12442 Files: src/misc1.c 12443 12444 Patch 7.3.357 12445 Problem: Compiler warning in MS-Windows console build. 12446 Solution: Adjust return type of PrintHookProc(). (Mike Williams) 12447 Files: src/os_mswin.c 12448 12449 Patch 7.3.358 (after 7.3.353) 12450 Problem: Mouse support doesn't work properly. 12451 Solution: Add HMT_URXVT. (lilydjwg, James McCoy) 12452 Files: src/term.c 12453 12454 Patch 7.3.359 12455 Problem: Command line completion shows dict functions. 12456 Solution: Skip dict functions for completion. (Yasuhiro Matsumoto) 12457 Files: src/eval.c 12458 12459 Patch 7.3.360 12460 Problem: Interrupting the load of an autoload function may cause a crash. 12461 Solution: Do not use the hashitem when not valid. (Yukihiro Nakadaira) 12462 Files: src/eval.c 12463 12464 Patch 7.3.361 12465 Problem: Accessing memory after it is freed when EXITFREE is defined. 12466 Solution: Don't access curwin when firstwin is NULL. (Dominique Pelle) 12467 Files: src/buffer.c 12468 12469 Patch 7.3.362 12470 Problem: ml_get error when using ":g" with folded lines. 12471 Solution: Adjust the line number for changed_lines(). (Christian Brabandt) 12472 Files: src/ex_cmds.c 12473 12474 Patch 7.3.363 12475 Problem: C indenting is wrong after #endif followed by a semicolon. 12476 Solution: Add special handling for a semicolon in a line by itself. (Lech 12477 Lorens) 12478 Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 12479 12480 Patch 7.3.364 (after 7.3.353) 12481 Problem: Can't compile on HP-UX. (John Marriott) 12482 Solution: Only use TTYM_URXVT when it is defined. 12483 Files: src/term.c 12484 12485 Patch 7.3.365 12486 Problem: Crash when using a large Unicode character in a file that has 12487 syntax highlighting. (ngollan) 12488 Solution: Check for going past the end of the utf tables. (Dominique Pelle) 12489 Files: src/mbyte.c 12490 12491 Patch 7.3.366 12492 Problem: A tags file with an extremely long name causes errors. 12493 Solution: Ignore tags that are too long. (Arno Renevier) 12494 Files: src/tag.c 12495 12496 Patch 7.3.367 12497 Problem: :wundo and :rundo use a wrong checksum. 12498 Solution: Include the last line when computing the hash. (Christian Brabandt) 12499 Files: src/undo.c 12500 12501 Patch 7.3.368 12502 Problem: Gcc complains about redefining _FORTIFY_SOURCE. 12503 Solution: Undefine it before redefining it. 12504 Files: src/Makefile, src/configure.in, src/auto/configure 12505 12506 Patch 7.3.369 12507 Problem: When compiled with Gnome get an error message when using --help. 12508 Solution: Don't fork. (Ivan Krasilnikov) 12509 Files: src/main.c 12510 12511 Patch 7.3.370 12512 Problem: Compiler warns for unused variable in Lua interface. 12513 Solution: Remove the variable. 12514 Files: src/if_lua.c 12515 12516 Patch 7.3.371 12517 Problem: Crash in autocomplete. (Greg Weber) 12518 Solution: Check not going over allocated buffer size. 12519 Files: src/misc2.c 12520 12521 Patch 7.3.372 12522 Problem: When using a command line mapping to <Up> with file name 12523 completion to go one directory up, 'wildchar' is inserted. 12524 (Yasuhiro Matsumoto) 12525 Solution: Set the KeyTyped flag. 12526 Files: src/ex_getln.c 12527 12528 Patch 7.3.373 (after 7.3.366) 12529 Problem: A tags file with an extremely long name may cause an infinite loop. 12530 Solution: When encountering a long name switch to linear search. 12531 Files: src/tag.c 12532 12533 Patch 7.3.374 12534 Problem: ++encoding does not work properly. 12535 Solution: Recognize ++encoding before ++enc. (Charles Cooper) 12536 Files: src/ex_docmd.c 12537 12538 Patch 7.3.375 12539 Problem: Duplicate return statement. 12540 Solution: Remove the superfluous one. (Dominique Pelle) 12541 Files: src/gui_mac.c 12542 12543 Patch 7.3.376 12544 Problem: Win32: Toolbar repainting does not work when the mouse pointer 12545 hovers over a button. 12546 Solution: Call DefWindowProc() when not handling an event. (Sergiu Dotenco) 12547 Files: src/gui_w32.c 12548 12549 Patch 7.3.377 12550 Problem: No support for bitwise AND, OR, XOR and invert. 12551 Solution: Add and(), or(), invert() and xor() functions. 12552 Files: src/eval.c, src/testdir/test49.in, src/testdir/test65.in, 12553 src/testdir/test65.ok, runtime/doc/eval.txt 12554 12555 Patch 7.3.378 12556 Problem: When cross-compiling the check for uint32_t fails. 12557 Solution: Only give a warning message. (Maksim Melnikau) 12558 Files: src/configure.in, src/auto/configure 12559 12560 Patch 7.3.379 12561 Problem: C-indenting wrong for static enum. 12562 Solution: Skip over "static". (Lech Lorens) 12563 Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 12564 12565 Patch 7.3.380 12566 Problem: C-indenting wrong for a function header. 12567 Solution: Skip to the start paren. (Lech Lorens) 12568 Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 12569 12570 Patch 7.3.381 12571 Problem: Configure silently skips interfaces that won't work. 12572 Solution: Add the --enable-fail_if_missing argument. (Shlomi Fish) 12573 Files: src/Makefile, src/configure.in, src/auto/configure 12574 12575 Patch 7.3.382 (after 7.3.376) 12576 Problem: IME characters are inserted twice. 12577 Solution: Do not call DefWindowProc() if the event was handled. (Yasuhiro 12578 Matsumoto) 12579 Files: src/gui_w32.c 12580 12581 Patch 7.3.383 12582 Problem: For EBCDIC pound sign is defined as 't'. 12583 Solution: Correctly define POUND. 12584 Files: src/ascii.h 12585 12586 Patch 7.3.384 12587 Problem: Mapping CTRL-K in Insert mode breaks CTRL-X CTRL-K for dictionary 12588 completion. 12589 Solution: Add CTRL-K to the list of recognized keys. (James McCoy) 12590 Files: src/edit.c 12591 12592 Patch 7.3.385 12593 Problem: When using an expression mapping on the command line the cursor 12594 ends up in the wrong place. (Yasuhiro Matsumoto) 12595 Solution: Save and restore msg_col and msg_row when evaluating the 12596 expression. 12597 Files: src/getchar. 12598 12599 Patch 7.3.386 12600 Problem: Test 83 fails when iconv does not support cp932. (raf) 12601 Solution: Test if conversion works. (Yukihiro Nakadaira) 12602 Files: src/testdir/test83.in 12603 12604 Patch 7.3.387 (after 7.3.386) 12605 Problem: Test 83 may fail for some encodings. 12606 Solution: Set 'encoding' to utf-8 earlier. 12607 Files: src/testdir/test83.in 12608 12609 Patch 7.3.388 12610 Problem: Crash on exit when EXITFREE is defined and using tiny features. 12611 Solution: Check for NULL window pointer. (Dominique Pelle) 12612 Files: src/buffer.c 12613 12614 Patch 7.3.389 12615 Problem: After typing at a prompt the "MORE" message appears too soon. 12616 Solution: reset lines_left in msg_end_prompt(). (Eswald) 12617 Files: src/message.c 12618 12619 Patch 7.3.390 12620 Problem: Using NULL buffer pointer in a window. 12621 Solution: Check for w_buffer being NULL in more places. (Bjorn Winckler) 12622 Files: src/ex_cmds.c, src/quickfix.c, src/window.c 12623 12624 Patch 7.3.391 12625 Problem: Can't check if the XPM_W32 feature is enabled. 12626 Solution: Add xpm_w32 to the list of features. (kat) 12627 Files: src/eval.c 12628 12629 Patch 7.3.392 12630 Problem: When setting 'undofile' while the file is already loaded but 12631 unchanged, try reading the undo file. (Andy Wokula) 12632 Solution: Compute a checksum of the text when 'undofile' is set. (Christian 12633 Brabandt) 12634 Files: src/option.c, src/testdir/test72.in, src/testdir/test72.ok 12635 12636 Patch 7.3.393 12637 Problem: Win32: When resizing Vim it is always moved to the primary monitor 12638 if the secondary monitor is on the left. 12639 Solution: Use the nearest monitor. (Yukihiro Nakadaira) 12640 Files: src/gui_w32.c 12641 12642 Patch 7.3.394 12643 Problem: When placing a mark while starting up a screen redraw messes up 12644 the screen. (lith) 12645 Solution: Don't redraw while still starting up. (Christian Brabandt) 12646 Files: src/screen.c 12647 12648 Patch 7.3.395 (after 7.3.251) 12649 Problem: "dv?bar" in the last line deletes too much and breaks undo. 12650 Solution: Only adjust the cursor position when it's after the last line of 12651 the buffer. Add a test. (Christian Brabandt) 12652 Files: src/ops.c, src/testdir/test43.in, src/testdir/test43.ok 12653 12654 Patch 7.3.396 12655 Problem: After forcing an operator to be characterwise it can still become 12656 linewise when spanning whole lines. 12657 Solution: Don't make the operator linewise when motion_force was set. 12658 (Christian Brabandt) 12659 Files: src/ops.c 12660 12661 Patch 7.3.397 12662 Problem: ":helpgrep" does not work properly when 'encoding' is not utf-8 or 12663 latin1. 12664 Solution: Convert non-ascii lines to 'encoding'. (Yasuhiro Matsumoto) 12665 Files: src/quickfix.c, src/spell.c, src/misc2.c, src/proto/misc2.pro 12666 12667 Patch 7.3.398 12668 Problem: When creating more than 10 location lists and adding items one by 12669 one a previous location may be used. (Audrius Kažukauskas) 12670 Solution: Clear the location list completely when adding the tenth one. 12671 Files: src/quickfix.c 12672 12673 Patch 7.3.399 12674 Problem: ":cd" doesn't work when the path contains wildcards. (Yukihiro 12675 Nakadaira) 12676 Solution: Ignore wildcard errors when the EW_NOTWILD flag is used. 12677 Files: src/misc1.c 12678 12679 Patch 7.3.400 12680 Problem: Compiler warnings for shadowed variables. 12681 Solution: Remove or rename the variables. 12682 Files: src/charset.c, src/digraph.c, src/edit.c, src/eval.c, src/fold.c, 12683 src/getchar.c, src/message.c, src/misc2.c, src/move.c, 12684 src/netbeans.c, src/option.c, src/os_unix.c, src/screen.c, 12685 src/search.c, src/spell.c, src/syntax.c, src/tag.c, src/window.c 12686 12687 Patch 7.3.401 12688 Problem: A couple more shadowed variables. 12689 Solution: Rename the variables. 12690 Files: src/netbeans.c 12691 12692 Patch 7.3.402 12693 Problem: When jumping to the first error a line of the buffer is sometimes 12694 redrawn on top of the list of errors. 12695 Solution: Do not call update_topline_redraw() if the display was scrolled 12696 up. 12697 Files: src/quickfix.c 12698 12699 Patch 7.3.403 12700 Problem: ":helpgrep" does not trigger QuickFixCmd* autocommands. 12701 Solution: Trigger the autocommands. (Christian Brabandt) 12702 Files: src/quickfix.c 12703 12704 Patch 7.3.404 12705 Problem: When a complete function uses refresh "always" redo will not work 12706 properly. 12707 Solution: Do not reset compl_leader when compl_opt_refresh_always is set. 12708 (Yasuhiro Matsumoto) 12709 Files: src/edit.c 12710 12711 Patch 7.3.405 12712 Problem: When xterm gets back the function keys it may delete the urxvt 12713 mouse termcap code. 12714 Solution: Check for the whole code, not just the start. (Egmont Koblinger) 12715 Files: src/keymap.h, src/misc2.c, src/term.c 12716 12717 Patch 7.3.406 12718 Problem: Multi-byte characters in b:browsefilter are not handled correctly. 12719 Solution: First use convert_filter() normally and then convert to wide 12720 characters. (Taro Muraoka) 12721 Files: src/gui_w48.c 12722 12723 Patch 7.3.407 12724 Problem: ":12verbose call F()" may duplicate text while trying to truncate. 12725 (Thinca) 12726 Solution: Only truncate when there is not enough room. Also check the byte 12727 length of the buffer. 12728 Files: src/buffer.c, src/eval.c, src/ex_getln.c, src/message.c, 12729 src/proto/message.pro 12730 12731 Patch 7.3.408 (after 7.3.406) 12732 Problem: Missing declaration. 12733 Solution: Add the declaration. (John Marriott) 12734 Files: src/gui_w48.c 12735 12736 Patch 7.3.409 12737 Problem: The license in pty.c is unclear. 12738 Solution: Add a comment about the license. 12739 Files: src/pty.c 12740 12741 Patch 7.3.410 12742 Problem: Compiler error for // comment. (Joachim Schmitz) 12743 Solution: Turn into /* comment */. 12744 Files: src/message.c 12745 12746 Patch 7.3.411 12747 Problem: Pasting in Visual mode using the "" register does not work. (John 12748 Beckett) 12749 Solution: Detect that the write is overwriting the pasted register. 12750 (Christian Brabandt) 12751 Files: src/normal.c 12752 12753 Patch 7.3.412 12754 Problem: Storing a float in a session file has an additional '&'. 12755 Solution: Remove the '&'. (Yasuhiro Matsumoto) 12756 Files: src/eval.c 12757 12758 Patch 7.3.413 12759 Problem: Build warnings on MS-Windows. 12760 Solution: Add type casts. (Mike Williams) 12761 Files: src/ex_getln.c, src/message.c, src/term.c 12762 12763 Patch 7.3.414 12764 Problem: Using CTRL-A on "000" drops the leading zero, while on "001" it 12765 doesn't. 12766 Solution: Detect "000" as an octal number. (James McCoy) 12767 Files: src/charset.c 12768 12769 Patch 7.3.415 (after 7.3.359) 12770 Problem: Completion of functions stops once a dictionary is encountered. 12771 (James McCoy) 12772 Solution: Return an empty string instead of NULL. 12773 Files: src/eval.c 12774 12775 Patch 7.3.416 (after 7.3.415) 12776 Problem: Compiler warning for wrong pointer. 12777 Solution: Add type cast. 12778 Files: src/eval.c 12779 12780 Patch 7.3.417 (after 7.3.395) 12781 Problem: Test 43 fails with a tiny build. 12782 Solution: Only run test 43 with at least a small build. 12783 Files: src/testdir/test43.in 12784 12785 Patch 7.3.418 12786 Problem: When a user complete function returns -1 an error message is 12787 given. 12788 Solution: When -2 is returned stop completion silently. (Yasuhiro Matsumoto) 12789 Files: src/edit. 12790 12791 Patch 7.3.419 12792 Problem: DBCS encoding in a user command does not always work. 12793 Solution: Skip over DBCS characters. (Yasuhiro Matsumoto) 12794 Files: src/ex_docmd.c 12795 12796 Patch 7.3.420 12797 Problem: "it" and "at" don't work properly with a dash in the tag name. 12798 Solution: Require a space to match the tag name. (Christian Brabandt) 12799 Files: src/search.c 12800 12801 Patch 7.3.421 12802 Problem: Get E832 when setting 'undofile' in vimrc and there is a file to 12803 be edited on the command line. (Toothpik) 12804 Solution: Do not try reading the undo file for a file that wasn't loaded. 12805 Files: src/option.c 12806 12807 Patch 7.3.422 12808 Problem: Python 3 does not have __members__. 12809 Solution: Add "name" and "number" in another way. (lilydjwg) 12810 Files: src/if_py_both.h, src/if_python3.c 12811 12812 Patch 7.3.423 12813 Problem: Small mistakes in comments, proto and indent. 12814 Solution: Fix the mistakes. 12815 Files: src/ex_cmds2.c, src/structs.h, src/ui.c, src/proto/ex_docmd.pro 12816 12817 Patch 7.3.424 12818 Problem: Win16 version missing some functions. 12819 Solution: Add #defines for the functions. 12820 Files: src/gui_w16.c 12821 12822 Patch 7.3.425 (after 7.3.265) 12823 Problem: Search history lines are duplicated. (Edwin Steiner) 12824 Solution: Convert separator character from space to NUL. 12825 Files: src/ex_getln.c 12826 12827 Patch 7.3.426 12828 Problem: With '$' in 'cpoptions' the $ is not displayed in the first 12829 column. 12830 Solution: Use -1 instead of 0 as a special value. (Hideki Eiraku and 12831 Hirohito Higashi) 12832 Files: src/edit.c, src/globals.h, src/move.c, src/screen.c, src/search.c 12833 12834 Patch 7.3.427 12835 Problem: readfile() can be slow with long lines. 12836 Solution: Use realloc() instead of alloc(). (John Little) 12837 Files: src/eval.c 12838 12839 Patch 7.3.428 12840 Problem: Win32: an xpm file without a mask crashes Vim. 12841 Solution: Fail when the mask is missing. (Dave Bodenstab) 12842 Files: src/xpm_w32.c 12843 12844 Patch 7.3.429 12845 Problem: When 'cpoptions' includes "E" "c0" in the first column is an 12846 error. The redo register is then set to the erroneous command. 12847 Solution: Do not set the redo register if the command fails because of an 12848 empty region. (Hideki Eiraku) 12849 Files: src/getchar.c, src/normal.c, src/proto/getchar.pro 12850 12851 Patch 7.3.430 12852 Problem: When a custom filetype detection uses "augroup END" the conf 12853 filetype detection does not have the filetypedetect group. 12854 Solution: Always end the group and include filetypedetect in the conf 12855 autocommand. (Lech Lorens) 12856 Files: runtime/filetype.vim 12857 12858 Patch 7.3.431 12859 Problem: Fetching a key at a prompt may be confused by escape sequences. 12860 Especially when getting a prompt at a VimEnter autocommand. 12861 (Alex Efros) 12862 Solution: Properly handle escape sequences deleted by check_termcode(). 12863 Files: src/getchar.c, src/misc1.c, src/term.c, src/proto/term.pro 12864 12865 Patch 7.3.432 12866 Problem: ACLs are not supported for ZFS or NFSv4 on Solaris. 12867 Solution: Add configure check and code. (Danek Duvall) 12868 Files: src/configure.in, src/auto/configure, src/config.h.in, 12869 src/os_unix.c 12870 12871 Patch 7.3.433 12872 Problem: Using continued lines in a Vim script can be slow. 12873 Solution: Instead of reallocating for every line use a growarray. (Yasuhiro 12874 Matsumoto) 12875 Files: src/ex_cmds2.c 12876 12877 Patch 7.3.434 12878 Problem: Using join() can be slow. 12879 Solution: Compute the size of the result before allocation to avoid a lot of 12880 allocations and copies. (Taro Muraoka) 12881 Files: src/eval.c 12882 12883 Patch 7.3.435 12884 Problem: Compiler warning for unused variable. 12885 Solution: Move the variable inside #ifdef. 12886 Files: src/ex_cmds2.c 12887 12888 Patch 7.3.436 12889 Problem: Compiler warnings for types on Windows. 12890 Solution: Add type casts. (Mike Williams) 12891 Files: src/eval.c 12892 12893 Patch 7.3.437 12894 Problem: Continue looping inside FOR_ALL_TAB_WINDOWS even when already done. 12895 Solution: Use goto instead of break. (Hirohito Higashi) 12896 Files: src/fileio.c, src/globals.h 12897 12898 Patch 7.3.438 12899 Problem: There is no way to avoid ":doautoall" reading modelines. 12900 Solution: Add the <nomodeline> argument. Adjust documentation. 12901 Files: src/fileio.c, runtime/doc/autocmd.txt 12902 12903 Patch 7.3.439 12904 Problem: Compiler warnings to size casts in Perl interface. 12905 Solution: Use XS macros. (James McCoy) 12906 Files: src/if_perl.xs, src/typemap 12907 12908 Patch 7.3.440 12909 Problem: Vim does not support UTF8_STRING for the X selection. 12910 Solution: Add UTF8_STRING atom support. (Alex Efros) Use it only when 12911 'encoding' is set to Unicode. 12912 Files: src/ui.c 12913 12914 Patch 7.3.441 12915 Problem: Newer versions of MzScheme (Racket) require earlier (trampolined) 12916 initialisation. 12917 Solution: Call mzscheme_main() early in main(). (Sergey Khorev) 12918 Files: src/Make_mvc.mak, src/if_mzsch.c, src/main.c, 12919 src/proto/if_mzsch.pro 12920 12921 Patch 7.3.442 (after 7.3.438) 12922 Problem: Still read modelines for ":doautocmd". 12923 Solution: Move check for <nomodeline> to separate function. 12924 Files: src/fileio.c, src/ex_docmd.c, src/proto/fileio.pro, 12925 runtime/doc/autocmd.txt 12926 12927 Patch 7.3.443 12928 Problem: MS-Windows: 'shcf' and 'shellxquote' defaults are not very good. 12929 Solution: Make a better guess when 'shell' is set to "cmd.exe". (Ben Fritz) 12930 Files: src/option.c, runtime/doc/options.txt 12931 12932 Patch 7.3.444 12933 Problem: ":all!" and ":sall!" give error E477, even though the 12934 documentation says these are valid commands. 12935 Solution: Support the exclamation mark. (Hirohito Higashi) 12936 Files: src/ex_cmds.h, src/testdir/test31.in, src/testdir/test31.ok 12937 12938 Patch 7.3.445 (after 7.3.443) 12939 Problem: Can't properly escape commands for cmd.exe. 12940 Solution: Default 'shellxquote' to '('. Append ')' to make '(command)'. 12941 No need to use "/s" for 'shellcmdflag'. 12942 Files: src/misc2.c, src/option.c, src/os_win32.c 12943 12944 Patch 7.3.446 (after 7.3.445) 12945 Problem: Win32: External commands with special characters don't work. 12946 Solution: Add the 'shellxescape' option. 12947 Files: src/misc2.c, src/option.c, src/option.h, runtime/doc/options.txt 12948 12949 Patch 7.3.447 (after 7.3.446) 12950 Problem: Win32: External commands with "start" do not work. 12951 Solution: Unescape part of the command. (Yasuhiro Matsumoto) 12952 Files: src/os_win32.c 12953 12954 Patch 7.3.448 (after 7.3.447) 12955 Problem: Win32: Still a problem with "!start /b". 12956 Solution: Escape only '|'. (Yasuhiro Matsumoto) 12957 Files: src/os_win32.c 12958 12959 Patch 7.3.449 12960 Problem: Crash when a BufWinLeave autocommand closes the only other window. 12961 (Daniel Hunt) 12962 Solution: Abort closing a buffer when it becomes the only one. 12963 Files: src/buffer.c, src/proto/buffer.pro, src/ex_cmds.c, src/ex_getln.c, 12964 src/misc2.c, src/quickfix.c, src/window.c, src/proto/window.pro 12965 12966 Patch 7.3.450 (after 7.3.448) 12967 Problem: Win32: Still a problem with "!start /b". 12968 Solution: Fix pointer use. (Yasuhiro Matsumoto) 12969 Files: src/os_win32.c 12970 12971 Patch 7.3.451 12972 Problem: Tcl doesn't work on 64 MS-Windows. 12973 Solution: Make it work. (Dave Bodenstab) 12974 Files: src/Make_mvc.mak, src/if_tcl.c 12975 12976 Patch 7.3.452 12977 Problem: Undo broken when pasting close to the last line. (Andrey Radev) 12978 Solution: Use a flag to remember if the deleted included the last line. 12979 (Christian Brabandt) 12980 Files: src/ops.c 12981 12982 Patch 7.3.453 12983 Problem: Pasting in the command line is slow. 12984 Solution: Don't redraw if there is another character to read. (Dominique 12985 Pelle) 12986 Files: src/ex_getln.c 12987 12988 Patch 7.3.454 12989 Problem: Re-allocating memory slows Vim down. 12990 Solution: Use realloc() in ga_grow(). (Dominique Pelle) 12991 Files: src/misc2.c 12992 12993 Patch 7.3.455 12994 Problem: Using many continuation lines can be slow. 12995 Solution: Adjust the reallocation size to the current length. 12996 Files: src/ex_cmds2.c 12997 12998 Patch 7.3.456 12999 Problem: ":tab drop file" has several problems, including moving the 13000 current window and opening a new tab for a file that already has a 13001 window. 13002 Solution: Refactor ":tab drop" handling. (Hirohito Higashi) 13003 Files: src/buffer.c, src/testdir/test62.in, src/testdir/test62.ok 13004 13005 Patch 7.3.457 13006 Problem: When setting $VIMRUNTIME later the directory for fetching 13007 translated messages is not adjusted. 13008 Solution: Put bindtextdomain() in vim_setenv(). 13009 Files: src/misc1.c 13010 13011 Patch 7.3.458 13012 Problem: Crash when calling smsg() during startup. 13013 Solution: Don't use 'shortmess' when it is not set yet. 13014 Files: src/option.c 13015 13016 Patch 7.3.459 13017 Problem: Win32: Warnings for type conversion. 13018 Solution: Add type casts. (Mike Williams) 13019 Files: src/misc2.c, src/os_win32.c 13020 13021 Patch 7.3.460 13022 Problem: Win32: UPX does not compress 64 bit binaries. 13023 Solution: Mention and add the alternative: mpress. (Dave Bodenstab) 13024 Files: src/INSTALLpc.txt, src/Make_ming.mak 13025 13026 Patch 7.3.461 13027 Problem: The InsertCharPre autocommand event is not triggered during 13028 completion and when typing several characters quickly. 13029 Solution: Also trigger InsertCharPre during completion. Do not read ahead 13030 when an InsertCharPre autocommand is defined. (Yasuhiro Matsumoto) 13031 Files: src/edit.c, src/fileio.c, src/proto/fileio.pro 13032 13033 Patch 7.3.462 13034 Problem: When using ":loadview" folds may be closed unexpectedly. 13035 Solution: Take into account foldlevel. (Xavier de Gaye) 13036 Files: src/fold.c 13037 13038 Patch 7.3.463 13039 Problem: When using ":s///c" the cursor is moved away from the match. 13040 (Lawman) 13041 Solution: Don't move the cursor when do_ask is set. (Christian Brabandt) 13042 Files: src/ex_cmds.c 13043 13044 Patch 7.3.464 13045 Problem: Compiler warning for sprintf. 13046 Solution: Put the length in a variable. (Dominique Pelle) 13047 Files: src/version.c 13048 13049 Patch 7.3.465 13050 Problem: Cannot get file name with newline from glob(). 13051 Solution: Add argument to glob() and expand() to indicate they must return a 13052 list. (Christian Brabandt) 13053 Files: runtime/doc/eval.txt, src/eval.c, src/ex_getln.c, src/vim.h 13054 13055 Patch 7.3.466 13056 Problem: Get ml_get error hen ":behave mswin" was used and selecting 13057 several lines. (A. Sinan Unur) 13058 Solution: Adjust the end of the operation. (Christian Brabandt) 13059 Files: src/ops.c 13060 13061 Patch 7.3.467 13062 Problem: Cursor positioned wrong at the command line when regaining focus 13063 and using some input method. 13064 Solution: Do not position the cursor in command line mode. 13065 Files: src/mbyte.c 13066 13067 Patch 7.3.468 13068 Problem: For some compilers the error file is not easily readable. 13069 Solution: Use QuickFixCmdPre for more commands. (Marcin Szamotulski) 13070 Files: runtime/doc/autocmd.txt, src/quickfix.c 13071 13072 Patch 7.3.469 13073 Problem: Compiler warning for unused argument without some features. 13074 Solution: Add UNUSED. 13075 Files: src/buffer.c 13076 13077 Patch 7.3.470 13078 Problem: Test 62 fails when compiled without GUI and X11. 13079 Solution: Don't test :drop when it is not supported. 13080 Files: src/testdir/test62.in 13081 13082 Patch 7.3.471 13083 Problem: Can't abort listing placed signs. 13084 Solution: Check "got_int". (Christian Brabandt) 13085 Files: src/buffer.c, src/ex_cmds.c 13086 13087 Patch 7.3.472 13088 Problem: Crash when using ":redraw" in a BufEnter autocommand and 13089 switching to another tab. (驼峰) 13090 Solution: Move triggering the autocommands to after correcting the 13091 option values. Also check the row value to be out of bounds. 13092 (Christian Brabandt, Sergey Khorev) 13093 Files: src/screen.c, src/window.c 13094 13095 Patch 7.3.473 13096 Problem: 'cursorbind' does not work correctly in combination with 13097 'virtualedit' set to "all". 13098 Solution: Copy coladd. (Gary Johnson) 13099 Files: src/move.c 13100 13101 Patch 7.3.474 13102 Problem: Perl build with gcc 4 fails. 13103 Solution: Remove XS() statements. (Yasuhiro Matsumoto) 13104 Files: src/if_perl.xs 13105 13106 Patch 7.3.475 13107 Problem: In a terminal with few colors the omnicomplete menu may be hard to 13108 see when using the default colors. 13109 Solution: Use more explicit colors. (suggested by Alex Henrie) 13110 Files: src/syntax.c 13111 13112 Patch 7.3.476 13113 Problem: When selecting a block, using "$" to include the end of each line 13114 and using "A" and typing a backspace strange things happen. 13115 (Yuangchen Xie) 13116 Solution: Avoid using a negative length. (Christian Brabandt) 13117 Files: src/ops.c 13118 13119 Patch 7.3.477 13120 Problem: Using ":echo" to output enough lines to scroll, then using "j" and 13121 "k" at the more prompt, displays the command on top of the output. 13122 (Marcin Szamotulski) 13123 Solution: Put the output below the command. (Christian Brabandt) 13124 Files: src/eval.c 13125 13126 Patch 7.3.478 13127 Problem: Memory leak using the ':rv!' command when reading dictionary or 13128 list global variables i.e. with 'viminfo' containing !. 13129 Solution: Free the typeval. (Dominique Pelle) 13130 Files: src/eval.c 13131 13132 Patch 7.3.479 13133 Problem: When 'cursorline' is set the line number highlighting can't be set 13134 separately. 13135 Solution: Add "CursorLineNr". (Howard Buchholz) 13136 Files: src/option.c, src/screen.c, src/syntax.c, src/vim.h 13137 13138 Patch 7.3.480 13139 Problem: When using ":qa" and there is a changed buffer picking the buffer 13140 to jump to is not very good. 13141 Solution: Consider current and other tab pages. (Hirohito Higashi) 13142 Files: src/ex_cmds2.c 13143 13144 Patch 7.3.481 13145 Problem: Changing 'virtualedit' in an operator function to "all" does not 13146 have the desired effect. (Aaron Bohannon) 13147 Solution: Save, reset and restore virtual_op when executing an operator 13148 function. 13149 Files: src/normal.c 13150 13151 Patch 7.3.482 13152 Problem: With 'cursorbind' set moving up/down does not always keep the same 13153 column. 13154 Solution: Set curswant appropriately. (Gary Johnson) 13155 Files: src/move.c 13156 13157 Patch 7.3.483 (after 7.3.477) 13158 Problem: More prompt shows up too often. 13159 Solution: Instead of adding a line break, only start a new line in the 13160 message history. (Christian Brabandt) 13161 Files: src/eval.c, src/message.c, src/proto/message.pro 13162 13163 Patch 7.3.484 13164 Problem: The -E and --echo-wid command line arguments are not mentioned in 13165 "vim --help". 13166 Solution: Add the help lines. (Dominique Pelle) 13167 Files: src/main.c 13168 13169 Patch 7.3.485 13170 Problem: When building Vim LDFLAGS isn't passed on to building xxd. 13171 Solution: Pass the LDFLAGS value. (James McCoy) 13172 Files: src/Makefile 13173 13174 Patch 7.3.486 13175 Problem: Build error with mingw64 on Windows 7. 13176 Solution: Avoid the step of going through vimres.res. (Guopeng Wen) 13177 Files: src/Make_ming.mak 13178 13179 Patch 7.3.487 13180 Problem: When setting 'timeoutlen' or 'ttimeoutlen' the column for vertical 13181 movement is reset unnecessarily. 13182 Solution: Do not set w_set_curswant for every option. Add a test for this. 13183 (Kana Natsuno) Add the P_CURSWANT flag for options. 13184 Files: src/option.c, src/testdir/test84.in, src/testdir/test84.ok, 13185 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 13186 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 13187 src/testdir/Make_vms.mms, src/testdir/Makefile 13188 13189 Patch 7.3.488 13190 Problem: ":help!" in a help file does not work as documented. 13191 Solution: When in a help file don't give an error message. (thinca) 13192 Files: src/ex_cmds.c 13193 13194 Patch 7.3.489 13195 Problem: CTRL-] in Insert mode does not expand abbreviation when used in a 13196 mapping. (Yichao Zhou) 13197 Solution: Special case using CTRL-]. (Christian Brabandt) 13198 Files: src/getchar.c, src/edit.c 13199 13200 Patch 7.3.490 13201 Problem: Member confusion in Lua interface. 13202 Solution: Fix it. Add luaeval(). (Taro Muraoka, Luis Carvalho) 13203 Files: runtime/doc/if_lua.txt, src/eval.c, src/if_lua.c, 13204 src/proto/if_lua.pro 13205 13206 Patch 7.3.491 13207 Problem: No tests for Lua. 13208 Solution: Add some simple tests for Lua. (Luis Carvalho) 13209 Files: src/testdir/test1.in, src/testdir/test85.in, src/testdir/test85.ok 13210 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 13211 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 13212 src/testdir/Make_vms.mms, src/testdir/Makefile 13213 13214 Patch 7.3.492 13215 Problem: Can't indent conditions separately from function arguments. 13216 Solution: Add the 'k' flag in 'cino'. (Lech Lorens) 13217 Files: runtime/doc/indent.txt, src/misc1.c, src/testdir/test3.in, 13218 src/testdir/test3.ok 13219 13220 Patch 7.3.493 (after 7.3.492) 13221 Problem: Two unused variables. 13222 Solution: Remove them. (Hong Xu) 13223 Files: src/misc1.c 13224 13225 Patch 7.3.494 (after 7.3.491) 13226 Problem: Can't compile with Lua 5.1 or dynamic Lua. 13227 Solution: Fix dll_ methods. Fix luado(). (Muraoka Taro, Luis Carvalho) 13228 Files: src/if_lua.c 13229 13230 Patch 7.3.495 (after 7.3.492) 13231 Problem: Compiler warnings. 13232 Solution: Add function declaration. Remove "offset" argument. 13233 Files: src/misc1.c 13234 13235 Patch 7.3.496 13236 Problem: MS-DOS: When "diff" trips over difference in line separators some 13237 tests fail. 13238 Solution: Make some .ok files use unix line separators. (David Pope) 13239 Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak 13240 13241 Patch 7.3.497 13242 Problem: Crash when doing ":python print" and compiled with gcc and 13243 the optimizer enabled. 13244 Solution: Avoid the crash, doesn't really fix the problem. (Christian 13245 Brabandt) 13246 Files: src/if_py_both.h 13247 13248 Patch 7.3.498 13249 Problem: The behavior of the "- register changes depending on value of 13250 the 'clipboard' option. (Szamotulski) 13251 Solution: Also set the "- register when the register is "*" or "+". 13252 (Christian Brabandt) 13253 Files: src/ops.c 13254 13255 Patch 7.3.499 13256 Problem: When using any interface language when Vim is waiting for a child 13257 process it gets confused by a child process started through the 13258 interface. 13259 Solution: Always used waitpid() instead of wait(). (Yasuhiro Matsumoto) 13260 Files: src/os_unix.c 13261 13262 Patch 7.3.500 13263 Problem: Ming makefile unconditionally sets WINVER. 13264 Solution: Only defined when not already defined. (Yasuhiro Matsumoto) 13265 Files: src/Make_ming.mak 13266 13267 Patch 7.3.501 13268 Problem: Error for "flush" not being defined when using Ruby command. 13269 Solution: Defined "flush" as a no-op method. (Kent Sibilev) 13270 Files: src/if_ruby.c 13271 13272 Patch 7.3.502 13273 Problem: Netbeans insert halfway a line actually appends to the line. 13274 Solution: Insert halfway the line. (Brian Victor) 13275 Files: src/netbeans.c 13276 13277 Patch 7.3.503 (after 7.3.501) 13278 Problem: Warning for unused argument. 13279 Solution: Add UNUSED. 13280 Files: src/if_ruby.c 13281 13282 Patch 7.3.504 13283 Problem: Commands in help files are not highlighted. 13284 Solution: Allow for commands in backticks. Adjust CTRL-] to remove the 13285 backticks. 13286 Files: src/ex_cmds.c 13287 13288 Patch 7.3.505 13289 Problem: Test 11 fails on MS-Windows in some versions. 13290 Solution: Fix #ifdefs for whether filtering through a pipe is possible. Move 13291 setting b_no_eol_lnum back to where it was before patch 7.3.124. 13292 (David Pope) 13293 Files: src/feature.h, src/eval.c, src/ex_cmds.c, src/fileio.c 13294 13295 Patch 7.3.506 13296 Problem: GTK gives an error when selecting a non-existent file. 13297 Solution: Add a handler to avoid the error. (Christian Brabandt) 13298 Files: src/gui_gtk.c 13299 13300 Patch 7.3.507 13301 Problem: When exiting with unsaved changes, selecting an existing file in 13302 the file dialog, there is no dialog to ask whether the existing 13303 file should be overwritten. (Felipe G. Nievinski) 13304 Solution: Call check_overwrite() before writing. (Christian Brabandt) 13305 Files: src/ex_cmds.c, src/ex_cmds2.c, src/proto/ex_cmds.pro 13306 13307 Patch 7.3.508 13308 Problem: Default for v:register is not set. 13309 Solution: Init v:register in eval_init(). Correct for 'clipboard' before the 13310 main loop. (Ingo Karkat) 13311 Files: src/eval.c, src/main.c 13312 13313 Patch 7.3.509 13314 Problem: ":vimgrep" fails when 'autochdir' is set. 13315 Solution: A more generic solution for changing directory. (Ben Fritz) 13316 Files: src/quickfix.c 13317 13318 Patch 7.3.510 13319 Problem: Test 77 fails on Solaris 7. (Michael Soyka) 13320 Solution: Replace any tabs with spaces. 13321 Files: src/testdir/test77.in 13322 13323 Patch 7.3.511 13324 Problem: Using a FileReadCmd autocommand that does ":e! {file}" may cause a 13325 crash. (Christian Brabandt) 13326 Solution: Properly restore curwin->w_s. 13327 Files: src/fileio.c 13328 13329 Patch 7.3.512 13330 Problem: undofile() returns a useless name when passed an empty string. 13331 Solution: Return an empty string. (Christian Brabandt) 13332 Files: src/eval.c 13333 13334 Patch 7.3.513 13335 Problem: Cannot use CTRL-E and CTRL-Y with "r". 13336 Solution: Make CTRL-E and CTRL-Y work like in Insert mode. (Christian 13337 Brabandt) 13338 Files: src/edit.c, src/normal.c, src/proto/edit.pro 13339 13340 Patch 7.3.514 13341 Problem: No completion for :history command. 13342 Solution: Add the completion and update the docs. Also fix ":behave" 13343 completion. (Dominique Pelle) 13344 Files: runtime/doc/cmdline.txt, runtime/doc/map.txt, src/ex_docmd.c, 13345 src/ex_getln.c, src/vim.h 13346 13347 Patch 7.3.515 13348 Problem: 'wildignorecase' only applies to the last part of the path. 13349 Solution: Also ignore case for letters earlier in the path. 13350 Files: src/misc1.c 13351 13352 Patch 7.3.516 13353 Problem: extend(o, o) may crash Vim. 13354 Solution: Fix crash and add test. (Thinca and Hirohito Higashi) 13355 Files: src/eval.c, src/testdir/test55.in, src/testdir/test55.ok 13356 13357 Patch 7.3.517 13358 Problem: Crash when using "vipvv". (Alexandre Provencio) 13359 Solution: Don't let the text length become negative. 13360 Files: src/ops.c 13361 13362 Patch 7.3.518 13363 Problem: When 'encoding' is a double-byte encoding ":helptags" may not find 13364 tags correctly. 13365 Solution: Use vim_strbyte() instead of vim_strchr(). (Yasuhiro Matsumoto) 13366 Files: src/ex_cmds.c 13367 13368 Patch 7.3.519 13369 Problem: When completefunction returns it cannot indicate end of completion 13370 mode. 13371 Solution: Recognize completefunction returning -3. (Matsushita Shougo) 13372 Files: src/edit.c 13373 13374 Patch 7.3.520 13375 Problem: gvim starts up slow on Ubuntu 12.04. 13376 Solution: Move the call to gui_mch_init_check() to after fork(). (Yasuhiro 13377 Matsumoto) Do check $DISPLAY being set. 13378 Files: src/gui.c, src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro 13379 13380 Patch 7.3.521 13381 Problem: Using "z=" on a multibyte character may cause a crash. 13382 Solution: Don't use strlen() on an int pointer. 13383 Files: src/spell.c 13384 13385 Patch 7.3.522 13386 Problem: Crash in vim_realloc() when using MEM_PROFILE. 13387 Solution: Avoid using a NULL argument. (Dominique Pelle) 13388 Files: src/eval.c 13389 13390 Patch 7.3.523 13391 Problem: ":diffupdate" doesn't check for files changed elsewhere. 13392 Solution: Add the ! flag. (Christian Brabandt) 13393 Files: runtime/doc/diff.txt, src/diff.c, src/ex_cmds.h 13394 13395 Patch 7.3.524 (after 7.3.523) 13396 Problem: Missing comma. 13397 Solution: Add the comma. 13398 Files: src/version.c 13399 13400 Patch 7.3.525 13401 Problem: Compiler warning on 64 bit MS-Windows. 13402 Solution: Add type cast. (Mike Williams) 13403 Files: src/ex_getln.c 13404 13405 Patch 7.3.526 13406 Problem: Confusing indenting for #ifdef. 13407 Solution: Remove and add indent. (Elias Diem) 13408 Files: src/normal.c 13409 13410 Patch 7.3.527 13411 Problem: Clang complains about non-ASCII characters in a string. 13412 Solution: Change to \x88 form. (Dominique Pelle) 13413 Files: src/charset.c 13414 13415 Patch 7.3.528 13416 Problem: Crash when closing last window in a tab. (Alex Efros) 13417 Solution: Use common code in close_last_window_tabpage(). (Christian 13418 Brabandt) 13419 Files: src/window.c 13420 13421 Patch 7.3.529 13422 Problem: Using a count before "v" and "V" does not work (Kikyous) 13423 Solution: Make the count select that many characters or lines. (Christian 13424 Brabandt) 13425 Files: src/normal.c 13426 13427 Patch 7.3.530 (after 7.3.520) 13428 Problem: gvim does not work when 'guioptions' includes "f". (Davido) 13429 Solution: Call gui_mch_init_check() when running GUI in the foreground. 13430 (Yasuhiro Matsumoto) 13431 Files: src/gui.c 13432 13433 Patch 7.3.531 (after 7.3.530) 13434 Problem: GUI does not work on MS-Windows. 13435 Solution: Add the missing #ifdef. (Patrick Avery) 13436 Files: src/gui.c 13437 13438 Patch 7.3.532 13439 Problem: Compiler warning from Clang. 13440 Solution: Use a different way to point inside a string. (Dominique Pelle) 13441 Files: src/syntax.c 13442 13443 Patch 7.3.533 13444 Problem: Memory leak when writing undo file. 13445 Solution: Free the ACL. (Dominique Pelle) 13446 Files: src/undo.c 13447 13448 Patch 7.3.534 (after 7.3.461) 13449 Problem: When using an InsertCharPre autocommand autoindent fails. 13450 Solution: Proper handling of v:char. (Alexey Radkov) 13451 Files: src/edit.c 13452 13453 Patch 7.3.535 13454 Problem: Many #ifdefs for MB_MAXBYTES. 13455 Solution: Also define MB_MAXBYTES without the +multi_byte feature. Fix 13456 places where the buffer didn't include space for a NUL byte. 13457 Files: src/arabic.c, src/edit.c, src/eval.c, src/getchar.c, src/mbyte.c, 13458 src/misc1.c, src/screen.c, src/spell.c, src/vim.h 13459 13460 Patch 7.3.536 13461 Problem: When spell checking the German sharp s is not seen as a word 13462 character. (Aexl Bender) 13463 Solution: In utf_islower() return true for the sharp s. Note: also need 13464 updated spell file for this to take effect. 13465 Files: src/mbyte.c 13466 13467 Patch 7.3.537 13468 Problem: Unnecessary call to init_spell_chartab(). 13469 Solution: Delete the call. 13470 Files: src/spell.c 13471 13472 Patch 7.3.538 13473 Problem: 'efm' does not handle Tabs in pointer lines. 13474 Solution: Add Tab support. Improve tests. (Lech Lorens) 13475 Files: src/quickfix.c, src/testdir/test10.in, src/testdir/test10.ok 13476 13477 Patch 7.3.539 13478 Problem: Redrawing a character on the command line does not work properly 13479 for multibyte characters. 13480 Solution: Count the number of bytes in a character. (Yukihiro Nakadaira) 13481 Files: src/ex_getln.c 13482 13483 Patch 7.3.540 13484 Problem: Cursor is left on the text instead of the command line. 13485 Solution: Don't call setcursor() in command line mode. 13486 Files: src/getchar.c 13487 13488 Patch 7.3.541 13489 Problem: When joining lines comment leaders need to be removed manually. 13490 Solution: Add the 'j' flag to 'formatoptions'. (Lech Lorens) 13491 Files: runtime/doc/change.txt, src/edit.c, src/ex_docmd.c, src/misc1.c, 13492 src/normal.c, src/ops.c, src/option.h, src/proto/misc1.pro, 13493 src/proto/ops.pro, src/search.c, src/testdir/test29.in, 13494 src/testdir/test29.ok 13495 13496 Patch 7.3.542 (after 7.3.506) 13497 Problem: Function is sometimes unused. 13498 Solution: Add #ifdef. 13499 Files: src/gui_gtk.c 13500 13501 Patch 7.3.543 13502 Problem: The cursor is in the wrong line after using ":copen". (John 13503 Beckett) 13504 Solution: Invoke more drastic redraw method. 13505 Files: src/eval.c 13506 13507 Patch 7.3.544 13508 Problem: There is no good way to close a quickfix window when closing the 13509 last ordinary window. 13510 Solution: Add the QuitPre autocommand. 13511 Files: src/ex_docmd.c, src/fileio.c, src/vim.h 13512 13513 Patch 7.3.545 13514 Problem: When closing a window or buffer autocommands may close it too, 13515 causing problems for where the autocommand was invoked from. 13516 Solution: Add the w_closing and b_closing flags. When set disallow ":q" and 13517 ":close" to prevent recursive closing. 13518 Files: src/structs.h, src/buffer.c, src/ex_docmd.c, src/window.c 13519 13520 Patch 7.3.546 13521 Problem: Bogus line break. 13522 Solution: Remove the line break. 13523 Files: src/screen.c 13524 13525 Patch 7.3.547 (after 7.3.541) 13526 Problem: Compiler warning for uninitialized variable. 13527 Solution: Initialize it. 13528 Files: src/ops.c 13529 13530 Patch 7.3.548 13531 Problem: Compiler warning on 64 bit Windows. 13532 Solution: Add type cast. (Mike Williams) 13533 Files: src/ops.c 13534 13535 Patch 7.3.549 13536 Problem: In 'cinoptions' "0s" is interpreted as one shiftwidth. (David 13537 Pineau) 13538 Solution: Use the zero as zero. (Lech Lorens) 13539 Files: src/misc1.c, src/testdir/test3.in, src/testdir/test3.ok 13540 13541 Patch 7.3.550 (after 7.3.541) 13542 Problem: With "j" in 'formatoptions' a list leader is not removed. (Gary 13543 Johnson) 13544 Solution: Don't ignore the start of a three part comment. (Lech Lorens) 13545 Files: src/ops.c, src/testdir/test29.in, src/testdir/test29.ok 13546 13547 Patch 7.3.551 13548 Problem: When using :tablose a TabEnter autocommand is triggered too early. 13549 (Karthick) 13550 Solution: Don't trigger *Enter autocommands before closing the tab. 13551 (Christian Brabandt) 13552 Files: src/buffer.c, src/eval.c, src/ex_cmds2.c, src/fileio.c, 13553 src/proto/window.pro, src/window.c 13554 13555 Patch 7.3.552 13556 Problem: Formatting inside comments does not use the "2" flag in 13557 'formatoptions'. 13558 Solution: Support the "2" flag. (Tor Perkins) 13559 Files: src/vim.h, src/ops.c, src/edit.c, src/misc1.c, 13560 src/testdir/test68.in, src/testdir/test68.ok 13561 13562 Patch 7.3.553 13563 Problem: With double-width characters and 'listchars' containing "precedes" 13564 the text is displayed one cell off. 13565 Solution: Check for double-width character being overwritten by the 13566 "precedes" character. (Yasuhiro Matsumoto) 13567 Files: src/screen.c 13568 13569 Patch 7.3.554 (after 7.3.551) 13570 Problem: Compiler warning for unused argument. 13571 Solution: Add UNUSED. 13572 Files: src/window.c 13573 13574 Patch 7.3.555 13575 Problem: Building on IBM z/OS fails. 13576 Solution: Adjust configure. Use the QUOTESED value from config.mk instead of 13577 the hard coded one in Makefile. (Stephen Bovy) 13578 Files: src/configure.in, src/auto/configure, src/Makefile 13579 13580 Patch 7.3.556 13581 Problem: Compiler warnings on 64 bit Windows. 13582 Solution: Add type casts. (Mike Williams) 13583 Files: src/misc1.c 13584 13585 Patch 7.3.557 13586 Problem: Crash when an autocommand wipes out a buffer when it is hidden. 13587 Solution: Restore the current window when needed. (Christian Brabandt) 13588 Files: src/buffer.c 13589 13590 Patch 7.3.558 13591 Problem: Memory access error. (Gary Johnson) 13592 Solution: Allocate one more byte. (Dominique Pelle) 13593 Files: src/misc1.c 13594 13595 Patch 7.3.559 13596 Problem: home_replace() does not work with 8.3 filename. 13597 Solution: Make ":p" expand 8.3 name to full path. (Yasuhiro Matsumoto) 13598 Files: src/eval.c, src/misc1.c 13599 13600 Patch 7.3.560 13601 Problem: Get an error for a locked argument in extend(). 13602 Solution: Initialize the lock flag for a dictionary. (Yukihiro Nakadaira) 13603 Files: src/eval.c 13604 13605 Patch 7.3.561 13606 Problem: Using refresh: always in a complete function breaks the "." 13607 command. (Val Markovic) 13608 Solution: Add match leader to the redo buffer. (Yasuhiro Matsumoto) 13609 Files: src/edit.c 13610 13611 Patch 7.3.562 13612 Problem: ":profdel" should not work when the +profile feature is disabled. 13613 Solution: Call ex_ni(). (Yasuhiro Matsumoto) 13614 Files: src/ex_cmds2.c 13615 13616 Patch 7.3.563 (after 7.3.557) 13617 Problem: Can't build with tiny features. 13618 Solution: Add #ifdef. 13619 Files: src/buffer.c 13620 13621 Patch 7.3.564 (after 7.3.559) 13622 Problem: Warning for pointer conversion. 13623 Solution: Add type cast. 13624 Files: src/misc1.c 13625 13626 Patch 7.3.565 13627 Problem: Can't generate proto file for Python 3. 13628 Solution: Add PYTHON3_CFLAGS to LINT_CFLAGS. 13629 Files: src/Makefile 13630 13631 Patch 7.3.566 (after 7.3.561) 13632 Problem: Redo after completion does not work correctly when refresh: always 13633 is not used. (Raymond Ko) 13634 Solution: Check the compl_opt_refresh_always flag. (Christian Brabandt) 13635 Files: src/edit.c 13636 13637 Patch 7.3.567 13638 Problem: Missing copyright notice. 13639 Solution: Add Vim copyright notice. (Taro Muraoka) 13640 Files: src/dehqx.py 13641 13642 Patch 7.3.568 13643 Problem: Bad indents for #ifdefs. 13644 Solution: Add and remove spaces. (Elias Diem) 13645 Files: src/globals.h 13646 13647 Patch 7.3.569 13648 Problem: Evaluating Vim expression in Python is insufficient. 13649 Solution: Add vim.bindeval(). Also add pyeval() and py3eval(). (ZyX) 13650 Files: runtime/doc/eval.txt, runtime/doc/if_pyth.txt, src/eval.c, 13651 src/if_lua.c, src/if_py_both.h, src/if_python.c, src/if_python3.c, 13652 src/proto/eval.pro, src/proto/if_python.pro, 13653 src/proto/if_python3.pro, src/testdir/Make_amiga.mak, 13654 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 13655 src/testdir/Make_os2.mak, src/testdir/Makefile, 13656 src/testdir/test86.in, src/testdir/test86.ok, 13657 src/testdir/test87.in, src/testdir/test87.ok 13658 13659 Patch 7.3.570 13660 Problem: ":vimgrep" does not obey 'wildignore'. 13661 Solution: Apply 'wildignore' and 'suffixes' to ":vimgrep". (Ingo Karkat) 13662 Files: src/ex_cmds2.c, src/proto/ex_cmds2.pro, src/quickfix.c, src/spell.c 13663 13664 Patch 7.3.571 13665 Problem: Duplicated condition. 13666 Solution: Remove one. (Dominique Pelle) 13667 Files: src/os_win32.c 13668 13669 Patch 7.3.572 13670 Problem: Duplicate statement in if and else. (Dominique Pelle) 13671 Solution: Remove the condition and add a TODO. 13672 Files: src/gui_xmebw.c 13673 13674 Patch 7.3.573 13675 Problem: Using array index before bounds checking. 13676 Solution: Swap the parts of the condition. (Dominique Pelle) 13677 Files: src/ops.c 13678 13679 Patch 7.3.574 13680 Problem: When pasting a register in the search command line a CTRL-L 13681 character is not pasted. (Dominique Pelle) 13682 Solution: Escape the CTRL-L. (Christian Brabandt) 13683 Files: src/ex_getln.c 13684 13685 Patch 7.3.575 13686 Problem: "ygt" tries to yank instead of giving an error. (Daniel Mueller) 13687 Solution: Check for a pending operator. 13688 Files: src/normal.c 13689 13690 Patch 7.3.576 13691 Problem: Formatting of lists inside comments is not right yet. 13692 Solution: Use another solution and add a test. (Tor Perkins) 13693 Files: src/edit.c, src/misc1.c, src/testdir/test68.in, 13694 src/testdir/test69.ok 13695 13696 Patch 7.3.577 13697 Problem: Size of memory does not fit in 32 bit unsigned. 13698 Solution: Use Kbyte instead of byte. Call GlobalMemoryStatusEx() instead of 13699 GlobalMemoryStatus() when available. 13700 Files: src/misc2.c, src/option.c, src/os_amiga.c, src/os_msdos.c, 13701 src/os_win16.c, src/os_win32.c 13702 13703 Patch 7.3.578 13704 Problem: Misplaced declaration. 13705 Solution: Move declaration to start of block. 13706 Files: src/if_py_both.h 13707 13708 Patch 7.3.579 (after 7.3.569) 13709 Problem: Can't compile with Python 2.5. 13710 Solution: Use PyCObject when Capsules are not available. 13711 Files: src/if_py_both.h, src/if_python.c, src/if_python3.c 13712 13713 Patch 7.3.580 13714 Problem: Warning on 64 bit MS-Windows. 13715 Solution: Add type cast. (Mike Williams) 13716 Files: src/if_py_both.h 13717 13718 Patch 7.3.581 13719 Problem: Problems compiling with Python. 13720 Solution: Pick UCS2 or UCS4 function at runtime. (lilydjwg) 13721 Files: src/if_python.c 13722 13723 Patch 7.3.582 (after 7.3.576) 13724 Problem: Missing parts of the test OK file. 13725 Solution: Add the missing parts. 13726 Files: src/testdir/test68.ok 13727 13728 Patch 7.3.583 13729 Problem: PyObject_NextNotImplemented is not defined before Python 2.7. 13730 (Danek Duvall) 13731 Solution: Add #ifdefs. 13732 Files: src/if_python.c 13733 13734 Patch 7.3.584 13735 Problem: PyCObject is not always defined. 13736 Solution: Use PyObject instead. 13737 Files: src/if_py_both.h, src/if_python.c 13738 13739 Patch 7.3.585 13740 Problem: Calling changed_bytes() too often. 13741 Solution: Move changed_bytes() out of a loop. (Tor Perkins) 13742 Files: src/edit.c 13743 13744 Patch 7.3.586 13745 Problem: When compiling with Cygwin or MingW MEMORYSTATUSEX is not defined. 13746 Solution: Set the default for WINVER to 0x0500. 13747 Files: src/Make_ming.mak, src/Make_cyg.mak 13748 13749 Patch 7.3.587 13750 Problem: Compiler warning for local var shadowing global var. 13751 Solution: Rename the var and move it to an inner block. (Christian Brabandt) 13752 Files: src/buffer.c 13753 13754 Patch 7.3.588 13755 Problem: Crash on NULL pointer. 13756 Solution: Fix the immediate problem by checking for NULL. (Lech Lorens) 13757 Files: src/window.c 13758 13759 Patch 7.3.589 13760 Problem: Crash when $HOME is not set. 13761 Solution: Check for a NULL pointer. (Chris Webb) 13762 Files: src/misc1.c 13763 13764 Patch 7.3.590 13765 Problem: The '< and '> marks cannot be set directly. 13766 Solution: Allow setting '< and '>. (Christian Brabandt) 13767 Files: src/mark.c 13768 13769 Patch 7.3.591 13770 Problem: Can only move to a tab by absolute number. 13771 Solution: Move a number of tabs to the left or the right. (Lech Lorens) 13772 Files: runtime/doc/tabpage.txt, src/ex_cmds.h, src/ex_docmd.c, 13773 src/testdir/test62.in, src/testdir/test62.ok, src/window.c 13774 13775 Patch 7.3.592 13776 Problem: Vim on GTK does not support g:browsefilter. 13777 Solution: Add a GtkFileFilter to the file chooser. (Christian Brabandt) 13778 Files: src/gui_gtk.c 13779 13780 Patch 7.3.593 13781 Problem: No easy way to decide if b:browsefilter will work. 13782 Solution: Add the browsefilter feature. 13783 Files: src/gui_gtk.c, src/eval.c, src/vim.h 13784 13785 Patch 7.3.594 13786 Problem: The X command server doesn't work perfectly. It sends an empty 13787 reply for as-keys requests. 13788 Solution: Remove duplicate ga_init2(). Do not send a reply for as-keys 13789 requests. (Brian Burns) 13790 Files: src/if_xcmdsrv.c 13791 13792 Patch 7.3.595 13793 Problem: The X command server responds slowly 13794 Solution: Change the loop that waits for replies. (Brian Burns) 13795 Files: src/if_xcmdsrv.c 13796 13797 Patch 7.3.596 13798 Problem: Can't remove all signs for a file or buffer. 13799 Solution: Support "*" for the sign id. (Christian Brabandt) 13800 Files: runtime/doc/sign.txt, src/buffer.c, src/ex_cmds.c, 13801 src/proto/buffer.pro 13802 13803 Patch 7.3.597 13804 Problem: 'clipboard' "autoselect" only applies to the * register. (Sergey 13805 Vakulenko) 13806 Solution: Make 'autoselect' work for the + register. (Christian Brabandt) 13807 Add the "autoselectplus" option in 'clipboard' and the "P" flag in 13808 'guioptions'. 13809 Files: runtime/doc/options.txt, src/normal.c, src/ops.c, src/screen.c, 13810 src/ui.c, src/globals.h, src/proto/ui.pro, src/option.h, src/gui.c 13811 13812 Patch 7.3.598 13813 Problem: Cannot act upon end of completion. (Taro Muraoka) 13814 Solution: Add an autocommand event that is triggered when completion has 13815 finished. (Idea by Florian Klein) 13816 Files: src/edit.c, src/fileio.c, src/vim.h 13817 13818 Patch 7.3.599 (after 7.3.597) 13819 Problem: Missing change in one file. 13820 Solution: Patch for changed clip_autoselect(). 13821 Files: src/option.c 13822 13823 Patch 7.3.600 13824 Problem: <f-args> is not expanded properly with DBCS encoding. 13825 Solution: Skip over character instead of byte. (Yukihiro Nakadaira) 13826 Files: src/ex_docmd.c 13827 13828 Patch 7.3.601 13829 Problem: Bad code style. 13830 Solution: Insert space, remove parens. 13831 Files: src/farsi.c 13832 13833 Patch 7.3.602 13834 Problem: Missing files in distribution. 13835 Solution: Update the list of files. 13836 Files: Filelist 13837 13838 Patch 7.3.603 13839 Problem: It is possible to add replace builtin functions by calling 13840 extend() on g:. 13841 Solution: Add a flag to a dict to indicate it is a scope. Check for 13842 existing functions. (ZyX) 13843 Files: src/buffer.c, src/eval.c, src/proto/eval.pro, src/structs.h, 13844 src/testdir/test34.in, src/testdir/test34.ok, src/window.c 13845 13846 Patch 7.3.604 13847 Problem: inputdialog() doesn't use the cancel argument in the console. 13848 (David Fishburn) 13849 Solution: Use the third argument. (Christian Brabandt) 13850 Files: src/eval.c 13851 13852 Patch 7.3.605 (after 7.3.577) 13853 Problem: MS-Windows: Can't compile with older compilers. (Titov Anatoly) 13854 Solution: Add #ifdef for MEMORYSTATUSEX. 13855 Files: src/os_win32.c 13856 13857 Patch 7.3.606 13858 Problem: CTRL-P completion has a problem with multibyte characters. 13859 Solution: Check for next character being NUL properly. (Yasuhiro Matsumoto) 13860 Files: src/search.c, src/macros.h 13861 13862 Patch 7.3.607 13863 Problem: With an 8 color terminal the selected menu item is black on black, 13864 because darkGrey as bg is the same as black. 13865 Solution: Swap fg and bg colors. (James McCoy) 13866 Files: src/syntax.c 13867 13868 Patch 7.3.608 13869 Problem: winrestview() does not always restore the view correctly. 13870 Solution: Call win_new_height() and win_new_width(). (Lech Lorens) 13871 Files: src/eval.c, src/proto/window.pro, src/window.c 13872 13873 Patch 7.3.609 13874 Problem: File names in :checkpath! output are garbled. 13875 Solution: Check for \zs in the pattern. (Lech Lorens) 13876 Files: src/search.c, src/testdir/test17.in, src/testdir/test17.ok 13877 13878 Patch 7.3.610 13879 Problem: Cannot operate on the text that a search pattern matches. 13880 Solution: Add the "gn" and "gN" commands. (Christian Brabandt) 13881 Files: runtime/doc/index.txt, runtime/doc/visual.txt, src/normal.c, 13882 src/proto/search.pro, src/search.c, src/testdir/test53.in, 13883 src/testdir/test53.ok 13884 13885 Patch 7.3.611 13886 Problem: Can't use Vim dictionary as self argument in Python. 13887 Solution: Fix the check for the "self" argument. (ZyX) 13888 Files: src/if_py_both.h 13889 13890 Patch 7.3.612 13891 Problem: Auto formatting messes up text when 'fo' contains "2". (ZyX) 13892 Solution: Decrement "less_cols". (Tor Perkins) 13893 Files: src/misc1.c, src/testdir/test68.in, src/testdir/test68.ok 13894 13895 Patch 7.3.613 13896 Problem: Including Python's config.c in the build causes trouble. It is 13897 not clear why it was there. 13898 Solution: Omit the config file. (James McCoy) 13899 Files: src/Makefile, src/auto/configure, src/configure.in 13900 13901 Patch 7.3.614 13902 Problem: Number argument gets turned into a number while it should be a 13903 string. 13904 Solution: Add flag to the call_vim_function() call. (Yasuhiro Matsumoto) 13905 Files: src/edit.c, src/eval.c, src/proto/eval.pro 13906 13907 Patch 7.3.615 13908 Problem: Completion for a user command does not recognize backslash before 13909 a space. 13910 Solution: Recognize escaped characters. (Yasuhiro Matsumoto) 13911 Files: src/ex_docmd.c 13912 13913 Patch 7.3.616 (after 7.3.610) 13914 Problem: Can't compile without +visual. 13915 Solution: Add #ifdef. 13916 Files: src/normal.c 13917 13918 Patch 7.3.617 (after 7.3.615) 13919 Problem: Hang on completion. 13920 Solution: Skip over the space. (Yasuhiro Matsumoto) 13921 Files: src/ex_docmd.c 13922 13923 Patch 7.3.618 (after 7.3.616) 13924 Problem: Still doesn't compile with small features. 13925 Solution: Move current_search() out of #ifdef. (Dominique Pelle) 13926 Files: src/normal.c, src/search.c 13927 13928 Patch 7.3.619 13929 Problem: When executing a shell command Vim may become slow to respond. 13930 Solution: Don't wait after every processed message. (idea by Yasuhiro 13931 Matsumoto) 13932 Files: src/os_win32.c 13933 13934 Patch 7.3.620 13935 Problem: Building with recent Ruby on Win32 doesn't work. 13936 Solution: Add a separate argument for the API version. (Yasuhiro Matsumoto) 13937 Files: src/Make_ming.mak, src/Make_mvc.mak 13938 13939 Patch 7.3.621 13940 Problem: Compiler warnings on 64 bit windows. 13941 Solution: Add type casts. (Mike Williams) 13942 Files: src/ex_docmd.c, src/search.c 13943 13944 Patch 7.3.622 13945 Problem: XPM library for Win32 can't be found. 13946 Solution: Suggest using the one from the Vim ftp site. 13947 Files: src/Make_mvc.mak 13948 13949 Patch 7.3.623 13950 Problem: Perl 5.14 commands crash Vim on MS-Windows. 13951 Solution: Use perl_get_sv() instead of GvSV(). (Raymond Ko) 13952 Files: src/if_perl.xs 13953 13954 Patch 7.3.624 13955 Problem: When cancelling input() it returns the third argument. That should 13956 only happen for inputdialog(). 13957 Solution: Check if inputdialog() was used. (Hirohito Higashi) 13958 Files: src/eval.c 13959 13960 Patch 7.3.625 13961 Problem: "gn" does not handle zero-width matches correctly. 13962 Solution: Handle zero-width patterns specially. (Christian Brabandt) 13963 Files: src/search.c 13964 13965 Patch 7.3.626 13966 Problem: Python interface doesn't build with Python 2.4 or older. 13967 Solution: Define Py_ssize_t. (Benjamin Bannier) 13968 Files: src/if_py_both.h 13969 13970 Patch 7.3.627 13971 Problem: When using the "n" flag with the ":s" command a \= substitution 13972 will not be evaluated. 13973 Solution: Do perform the evaluation, so that a function can be invoked at 13974 every matching position without changing the text. (Christian 13975 Brabandt) 13976 Files: src/ex_cmds.c 13977 13978 Patch 7.3.628 13979 Problem: ":open" does not allow for a !, which results in a confusing error 13980 message. (Shawn Wilson) 13981 Solution: Allow ! on ":open". (Christian Brabandt) 13982 Files: src/ex_cmds.h 13983 13984 Patch 7.3.629 13985 Problem: There is no way to make 'shiftwidth' follow 'tabstop'. 13986 Solution: When 'shiftwidth' is zero use the value of 'tabstop'. (Christian 13987 Brabandt) 13988 Files: src/edit.c, src/ex_getln.c, src/fold.c, src/misc1.c, src/ops.c, 13989 src/option.c, src/proto/option.pro 13990 13991 Patch 7.3.630 13992 Problem: "|" does not behave correctly when 'virtualedit' is set. 13993 Solution: Call validate_virtcol(). (David Bürgin) 13994 Files: src/normal.c 13995 13996 Patch 7.3.631 13997 Problem: Cannot complete user names. 13998 Solution: Add user name completion. (Dominique Pelle) 13999 Files: runtime/doc/map.txt, src/auto/configure, src/config.h.in, 14000 src/configure.in, src/ex_docmd.c, src/ex_getln.c, src/misc1.c, 14001 src/misc2.c, src/proto/misc1.pro, src/vim.h 14002 14003 Patch 7.3.632 14004 Problem: Cannot select beyond 222 columns with the mouse in xterm. 14005 Solution: Add support for SGR mouse tracking. (Hayaki Saito) 14006 Files: runtime/doc/options.txt, src/feature.h, src/keymap.h, src/misc2.c, 14007 src/option.h, src/os_unix.c, src/term.c, src/version.c 14008 14009 Patch 7.3.633 14010 Problem: Selection remains displayed as selected after selecting another 14011 text. 14012 Solution: Call xterm_update() before select(). (Andrew Pimlott) 14013 Files: src/os_unix.c 14014 14015 Patch 7.3.634 14016 Problem: Month/Day format for undo is confusing. (Marcin Szamotulski) 14017 Solution: Always use Year/Month/Day, should work for everybody. 14018 Files: src/undo.c 14019 14020 Patch 7.3.635 14021 Problem: Issue 21: System call during startup sets 'lines' to a wrong 14022 value. (Karl Yngve) 14023 Solution: Don't set the shell size while the GUI is still starting up. 14024 (Christian Brabandt) 14025 Files: src/ui.c 14026 14027 Patch 7.3.636 (after 7.3.625) 14028 Problem: Not all zero-width matches handled correctly for "gn". 14029 Solution: Move zero-width detection to a separate function. (Christian 14030 Brabandt) 14031 Files: src/search.c 14032 14033 Patch 7.3.637 14034 Problem: Cannot catch the error caused by a foldopen when there is no fold. 14035 (ZyX, Issue 48) 14036 Solution: Do not break out of the loop early when inside try/catch. 14037 (Christian Brabandt) Except when there is a syntax error. 14038 Files: src/ex_docmd.c, src/globals.h 14039 14040 Patch 7.3.638 14041 Problem: Unnecessary redraw of the previous character. 14042 Solution: Check if the character is double-width. (Jon Long) 14043 Files: src/screen.c 14044 14045 Patch 7.3.639 14046 Problem: It's not easy to build Vim on Windows with XPM support. 14047 Solution: Include the required files, they are quite small. Update the 14048 MSVC makefile to use them. Binary files are in the next patch. 14049 (Sergey Khorev) 14050 Files: src/xpm/COPYRIGHT, src/xpm/README.txt, src/xpm/include/simx.h, 14051 src/xpm/include/xpm.h, src/Make_mvc.mak, src/bigvim.bat, 14052 src/bigvim64.bat, Filelist 14053 14054 Patch 7.3.640 14055 Problem: It's not easy to build Vim on Windows with XPM support. 14056 Solution: Binary files for 7.3.639. (Sergey Khorev) 14057 Files: src/xpm/x64/lib/libXpm.lib, src/xpm/x86/lib/libXpm.a, 14058 src/xpm/x86/lib/libXpm.lib 14059 14060 Patch 7.3.641 14061 Problem: ":mkview" uses ":normal" instead of ":normal!" for folds. (Dan) 14062 Solution: Add the bang. (Christian Brabandt) 14063 Files: src/fold.c 14064 14065 Patch 7.3.642 14066 Problem: Segfault with specific autocommands. Was OK after 7.3.449 and 14067 before 7.3.545. (Richard Brown) 14068 Solution: Pass TRUE for abort_if_last in the call to close_buffer(). 14069 (Christian Brabandt) 14070 Files: src/window.c 14071 14072 Patch 7.3.643 (after 7.3.635) 14073 Problem: MS-Windows: When starting gvim maximized 'lines' and 'columns' are 14074 wrong. (Christian Robinson) 14075 Solution: Move the check for gui.starting from ui_get_shellsize() to 14076 check_shellsize(). 14077 Files: src/ui.c, src/term.c 14078 14079 Patch 7.3.644 14080 Problem: Dead code for BeOS GUI. 14081 Solution: Remove unused __BEOS__ stuff. 14082 Files: src/gui.c 14083 14084 Patch 7.3.645 14085 Problem: No tests for patch 7.3.625 and 7.3.637. 14086 Solution: Add more tests for the "gn" command and try/catch. (Christian 14087 Brabandt) 14088 Files: src/testdir/test53.in, src/testdir/test53.ok, 14089 src/testdir/test55.in, src/testdir/test55.ok 14090 14091 Patch 7.3.646 14092 Problem: When reloading a buffer the undo file becomes unusable unless ":w" 14093 is executed. (Dmitri Frank) 14094 Solution: After reloading the buffer write the undo file. (Christian 14095 Brabandt) 14096 Files: src/fileio.c 14097 14098 Patch 7.3.647 14099 Problem: "gnd" doesn't work correctly in Visual mode. 14100 Solution: Handle Visual mode differently in "gn". (Christian Brabandt) 14101 Files: src/search.c, src/testdir/test53.in, src/testdir/test53.ok 14102 14103 Patch 7.3.648 14104 Problem: Crash when using a very long file name. (ZyX) 14105 Solution: Properly check length of buffer space. 14106 Files: src/buffer.c 14107 14108 Patch 7.3.649 14109 Problem: When 'clipboard' is set to "unnamed" small deletes end up in the 14110 numbered registers. (Ingo Karkat) 14111 Solution: Use the original register name to decide whether to put a delete 14112 in a numbered register. (Christian Brabandt) 14113 Files: src/ops.c 14114 14115 Patch 7.3.650 14116 Problem: Completion after ":help \{-" gives an error message and messes up 14117 the command line. 14118 Solution: Cancel the tag search if the pattern can't be compiled. (Yasuhiro 14119 Matsumoto) 14120 Files: src/tag.c 14121 14122 Patch 7.3.651 14123 Problem: Completion after ":help \{-" gives an error message. 14124 Solution: Prepend a backslash. 14125 Files: src/ex_cmds.c 14126 14127 Patch 7.3.652 14128 Problem: Workaround for Python crash isn't perfect. 14129 Solution: Change the type of the length argument. (Sean Estabrooks) 14130 Files: src/if_py_both.h 14131 14132 Patch 7.3.653 14133 Problem: MingW needs build rule for included XPM files. Object directory 14134 for 32 and 64 builds is the same, also for MSVC. 14135 Solution: Add MingW build rule to use included XPM files. Add the CPU or 14136 architecture to the object directory name. (Sergey Khorev) 14137 Files: src/Make_ming.mak, src/Make_mvc.mak, src/xpm/README.txt 14138 14139 Patch 7.3.654 14140 Problem: When creating a Vim dictionary from Python objects an empty key 14141 might be used. 14142 Solution: Do not use empty keys, throw an IndexError. (ZyX) 14143 Files: src/if_py_both.h 14144 14145 Patch 7.3.655 14146 Problem: 64 bit MingW xpm .a file is missing. 14147 Solution: Add the file. (Sergey Khorev) 14148 Files: src/xpm/x64/lib/libXpm.a 14149 14150 Patch 7.3.656 14151 Problem: Internal error in :pyeval. 14152 Solution: Handle failed object conversion. (ZyX) 14153 Files: src/if_python.c, src/if_python3.c 14154 14155 Patch 7.3.657 14156 Problem: Python bindings silently truncate string values containing NUL. 14157 Solution: Fail when a string contains NUL. (ZyX) 14158 Files: src/if_python.c, src/if_python3.c 14159 14160 Patch 7.3.658 14161 Problem: NUL bytes truncate strings when converted from Python. 14162 Solution: Handle truncation as an error. (ZyX) 14163 Files: src/if_py_both.h, src/if_python3.c 14164 14165 Patch 7.3.659 14166 Problem: Recent Python changes are not tested. 14167 Solution: Add tests for Python bindings. (ZyX) 14168 Files: src/testdir/test86.in, src/testdir/test86.ok, 14169 src/testdir/test87.in, src/testdir/test87.ok 14170 14171 Patch 7.3.660 14172 Problem: ":help !" jumps to help for ":!". 14173 Solution: Adjust check for tag header line. (Andy Wokula) 14174 Files: src/tag.c 14175 14176 Patch 7.3.661 (after 7.3.652) 14177 Problem: SEGV in Python code. 14178 Solution: Initialize len to zero. Use the right function depending on 14179 version. (Maxim Philippov) 14180 Files: src/if_py_both.h, src/if_python.c, src/if_python3.c 14181 14182 Patch 7.3.662 14183 Problem: Can't build Ruby interface with Ruby 1.9.3. 14184 Solution: Add missing functions. (V. Ondruch) 14185 Files: src/if_ruby.c 14186 14187 Patch 7.3.663 14188 Problem: End of color scheme name not clear in E185. (Aaron Lewis) 14189 Solution: Put the name in single quotes. 14190 Files: src/ex_docmd.c 14191 14192 Patch 7.3.664 14193 Problem: Buffer overflow in unescaping text. (Raymond Ko) 14194 Solution: Limit check for multibyte character to 4 bytes. 14195 Files: src/mbyte.c 14196 14197 Patch 7.3.665 14198 Problem: MSVC 11 is not supported. (Raymond Ko) 14199 Solution: Recognize MSVC 11. (Gary Willoughby) 14200 Files: src/Make_mvc.mak 14201 14202 Patch 7.3.666 14203 Problem: With MSVC 11 Win32.mak is not found. 14204 Solution: Add the SDK_INCLUDE_DIR variable. (Raymond Ko) 14205 Files: src/Make_mvc.mak 14206 14207 Patch 7.3.667 14208 Problem: Unused variables in Perl interface. 14209 Solution: Adjust #ifdefs. 14210 Files: src/if_perl.xs 14211 14212 Patch 7.3.668 14213 Problem: Building with Perl loaded dynamically still uses static library. 14214 Solution: Adjust use of PL_thr_key. (Ken Takata) 14215 Files: src/if_perl.xs 14216 14217 Patch 7.3.669 14218 Problem: When building with Cygwin loading Python dynamically fails. 14219 Solution: Use DLLLIBRARY instead of INSTSONAME. (Ken Takata) 14220 Files: src/configure.in, src/auto/configure 14221 14222 Patch 7.3.670 14223 Problem: Python: memory leaks when there are exceptions. 14224 Solution: Add DICTKEY_UNREF in the right places. (ZyX) 14225 Files: src/if_py_both.h 14226 14227 Patch 7.3.671 14228 Problem: More Python code can be shared between Python 2 and 3. 14229 Solution: Move code to if_py_both.h. (ZyX) 14230 Files: src/if_py_both.h, src/if_python.c, src/if_python3.c 14231 14232 Patch 7.3.672 14233 Problem: Not possible to lock/unlock lists in Python interface. 14234 Solution: Add .locked and .scope attributes. (ZyX) 14235 Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python.c, 14236 src/if_python3.c, src/testdir/test86.in, src/testdir/test86.ok, 14237 src/testdir/test87.in, src/testdir/test87.ok 14238 14239 Patch 7.3.673 14240 Problem: Using "gN" while 'selection' is "exclusive" misses one character. 14241 (Ben Fritz) 14242 Solution: Check the direction when compensating for exclusive selection. 14243 (Christian Brabandt) 14244 Files: src/search.c 14245 14246 Patch 7.3.674 14247 Problem: Can't compile with Lua/dyn on Cygwin. 14248 Solution: Adjust configure to use the right library name. (Ken Takata) 14249 Files: src/configure.in, src/auto/configure 14250 14251 Patch 7.3.675 14252 Problem: Using uninitialized memory with very long file name. 14253 Solution: Put NUL after text when it is truncated. (ZyX) 14254 Files: src/buffer.c 14255 14256 Patch 7.3.676 14257 Problem: Ruby compilation on Windows 32 bit doesn't work. 14258 Solution: Only use some functions for 64 bit. (Ken Takata) 14259 Files: src/if_ruby.c 14260 14261 Patch 7.3.677 14262 Problem: buf_spname() is used inconsistently. 14263 Solution: Make the return type a char_u pointer. Check the size of the 14264 returned string. 14265 Files: src/buffer.c, src/proto/buffer.pro, src/ex_cmds2.c, 14266 src/ex_docmd.c, src/memline.c, src/screen.c 14267 14268 Patch 7.3.678 14269 Problem: Ruby .so name may not be correct. 14270 Solution: Use the LIBRUBY_SO entry from the config. (Vit Ondruch) 14271 Files: src/configure.in, src/auto/configure 14272 14273 Patch 7.3.679 14274 Problem: Ruby detection uses Config, newer Ruby versions use RbConfig. 14275 Solution: Detect the need to use RbConfig. (Vit Ondruch) 14276 Files: src/configure.in, src/auto/configure 14277 14278 Patch 7.3.680 14279 Problem: Some files missing in the list of distributed files. 14280 Solution: Add lines for new files. 14281 Files: Filelist 14282 14283 Patch 7.3.681 (after 7.3.680) 14284 Problem: List of distributed files picks up backup files. 14285 Solution: Make tutor patterns more specific. 14286 Files: Filelist 14287 14288 Patch 7.3.682 (after 7.3.677) 14289 Problem: Compiler complains about incompatible types. 14290 Solution: Remove type casts. (hint by Danek Duvall) 14291 Files: src/edit.c 14292 14293 Patch 7.3.683 14294 Problem: ":python" may crash when vimbindeval() returns None. 14295 Solution: Check for v_string to be NULL. (Yukihiro Nakadaira) 14296 Files: src/if_py_both.h 14297 14298 Patch 7.3.684 14299 Problem: "make test" does not delete lua.vim. 14300 Solution: Add lua.vim to the clean target. (Simon Ruderich) 14301 Files: src/testdir/Makefile, src/testdir/Make_dos.mak, 14302 src/testdir/Make_ming.mak, src/testdir/Make_vms.mms 14303 14304 Patch 7.3.685 14305 Problem: No test for what patch 7.3.673 fixes. 14306 Solution: Add a test. (Christian Brabandt) 14307 Files: src/testdir/test53.in, src/testdir/test53.ok 14308 14309 Patch 7.3.686 14310 Problem: Using CTRL-\ e mappings is useful also when entering an 14311 expression, but it doesn't work. (Marcin Szamotulski) 14312 Solution: Allow using CTRL-\ e when entering an expression if it was not 14313 typed. 14314 Files: src/ex_getln.c 14315 14316 Patch 7.3.687 14317 Problem: Test 16 fails when $DISPLAY is not set. 14318 Solution: Skip the test when $DISPLAY is not set. 14319 Files: src/testdir/test16.in 14320 14321 Patch 7.3.688 14322 Problem: Python 3.3 is not supported. 14323 Solution: Add Python 3.3 support (Ken Takata) 14324 Files: src/if_python3.c 14325 14326 Patch 7.3.689 14327 Problem: MzScheme and Lua may use a NULL string. 14328 Solution: Use an empty string instead of NULL. (Yukihiro Nakadaira) 14329 Files: src/if_lua.c, src/if_mzsch.c 14330 14331 Patch 7.3.690 14332 Problem: When the current directory name is exactly the maximum path length 14333 Vim may crash. 14334 Solution: Only add "/" when there is room. (Danek Duvall) 14335 Files: src/os_unix.c 14336 14337 Patch 7.3.691 14338 Problem: State specific to the Python thread is discarded. 14339 Solution: Keep state between threads. (Paul) 14340 Files: src/if_python.c 14341 14342 Patch 7.3.692 14343 Problem: Can't build GTK version with GTK 2.0. 14344 Solution: Put GtkFileFilter declaration in the right place. (Yegappan 14345 Lakshmanan) 14346 Files: src/gui_gtk.c 14347 14348 Patch 7.3.693 14349 Problem: Can't make 'softtabstop' follow 'shiftwidth'. 14350 Solution: When 'softtabstop' is negative use the value of 'shiftwidth'. 14351 (so8res) 14352 Files: src/edit.c, src/option.c, src/proto/option.pro 14353 14354 Patch 7.3.694 14355 Problem: Now that 'shiftwidth' may use the value of 'tabstop' it is not so 14356 easy to use in indent files. 14357 Solution: Add the shiftwidth() function. (so8res) 14358 Files: runtime/doc/eval.txt, src/eval.c 14359 14360 Patch 7.3.695 14361 Problem: Balloon cannot show multibyte text. 14362 Solution: Properly deal with multibyte characters. (Dominique Pelle) 14363 Files: src/gui_beval.c, src/ui.c 14364 14365 Patch 7.3.696 14366 Problem: Message about added spell language can be wrong. 14367 Solution: Give correct message. Add g:menutrans_set_lang_to to allow for 14368 translation. (Jiri Sedlak) 14369 Files: runtime/menu.vim 14370 14371 Patch 7.3.697 14372 Problem: Leaking resources when setting GUI font. 14373 Solution: Free the font. (Ken Takata) 14374 Files: src/syntax.c 14375 14376 Patch 7.3.698 14377 Problem: Python 3 does not preserve state between commands. 14378 Solution: Preserve the state. (Paul Ollis) 14379 Files: src/if_python.c, src/if_python3.c 14380 14381 Patch 7.3.699 14382 Problem: When 'ttymouse' is set to "sgr" manually, it is overruled by 14383 automatic detection. 14384 Solution: Do not use automatic detection when 'ttymouse' was set manually. 14385 (Hayaki Saito) 14386 Files: src/term.c 14387 14388 Patch 7.3.700 14389 Problem: Cannot detect URXVT and SGR mouse support. 14390 Solution: add +mouse_urxvt and +mouse_sgr. (Hayaki Saito) 14391 Files: src/feature.h, src/eval.c 14392 14393 Patch 7.3.701 14394 Problem: MS-Windows: Crash with stack overflow when setting 'encoding'. 14395 Solution: Handle that loading the iconv library may be called recursively. 14396 (Jiri Sedlak) 14397 Files: src/os_win32.c 14398 14399 Patch 7.3.702 14400 Problem: Nmake from VS6 service pack 6 is not recognized. 14401 Solution: Detect the version number. (Jiri Sedlak) 14402 Files: src/Make_mvc.mak 14403 14404 Patch 7.3.703 14405 Problem: When 'undofile' is reset the hash is computed unnecessarily. 14406 Solution: Only compute the hash when the option was set. (Christian Brabandt) 14407 Files: src/option.c 14408 14409 Patch 7.3.704 14410 Problem: Repeating "cgn" does not always work correctly. 14411 Solution: Also fetch the operator character. (Christian Brabandt) 14412 Files: src/normal.c 14413 14414 Patch 7.3.705 14415 Problem: Mouse features are not sorted properly. (Tony Mechelynck) 14416 Solution: Put the mouse features in alphabetical order. 14417 Files: src/version.c 14418 14419 Patch 7.3.706 (after 7.3.697) 14420 Problem: Can't build Motif version. 14421 Solution: Fix wrongly named variable. (Ike Devolder) 14422 Files: src/syntax.c 14423 14424 Patch 7.3.707 (after 7.3.701) 14425 Problem: Problems loading a library for a file name with non-latin 14426 characters. 14427 Solution: Use wide system functions when possible. (Ken Takata) 14428 Files: src/os_win32.c, src/os_win32.h 14429 14430 Patch 7.3.708 14431 Problem: Filler lines above the first line may be hidden when opening Vim. 14432 Solution: Change how topfill is computed. (Christian Brabandt) 14433 Files: src/diff.c, src/testdir/test47.in, src/testdir/test47.ok 14434 14435 Patch 7.3.709 14436 Problem: Compiler warning for unused argument. 14437 Solution: Add UNUSED. 14438 Files: src/eval.c 14439 14440 Patch 7.3.710 (after 7.3.704) 14441 Problem: Patch 7.3.704 breaks "fn". 14442 Solution: Add check for ca.cmdchar. (Christian Brabandt) 14443 Files: src/normal.c 14444 14445 Patch 7.3.711 (after 7.3.688) 14446 Problem: vim.current.buffer is not available. (lilydjwg) 14447 Solution: Use py3_PyUnicode_AsUTF8 instead of py3_PyUnicode_AsUTF8String. 14448 (Ken Takata) 14449 Files: src/if_python3.c 14450 14451 Patch 7.3.712 14452 Problem: Nmake from VS2010 SP1 is not recognized. 14453 Solution: Add the version number. (Ken Takata) 14454 Files: src/Make_mvc.mak 14455 14456 Patch 7.3.713 14457 Problem: printf() can only align to bytes, not characters. 14458 Solution: Add the "S" item. (Christian Brabandt) 14459 Files: runtime/doc/eval.txt, src/message.c 14460 14461 Patch 7.3.714 14462 Problem: Inconsistency: :set can be used in the sandbox, but :setlocal and 14463 :setglobal cannot. (Michael Henry) 14464 Solution: Fix the flags for :setlocal and :setglobal. (Christian Brabandt) 14465 Files: src/ex_cmds.h 14466 14467 Patch 7.3.715 14468 Problem: Crash when calling setloclist() in BufUnload autocmd. (Marcin 14469 Szamotulski) 14470 Solution: Set w_llist to NULL when it was freed. Also add a test. 14471 (Christian Brabandt) 14472 Files: src/quickfix.c, src/testdir/test49.ok, src/testdir/test49.vim 14473 14474 Patch 7.3.716 14475 Problem: Error on exit when using Python 3. 14476 Solution: Remove PythonIO_Fini(). (Roland Puntaier) 14477 Files: src/if_python3.c 14478 14479 Patch 7.3.717 14480 Problem: When changing the font size, only MS-Windows limits the window 14481 size. 14482 Solution: Also limit the window size on other systems. (Roland Puntaier) 14483 Files: src/gui.c 14484 14485 Patch 7.3.718 14486 Problem: When re-using the current buffer the buffer-local options stay. 14487 Solution: Re-initialize the buffer-local options. (Christian Brabandt) 14488 Files: src/buffer.c 14489 14490 Patch 7.3.719 14491 Problem: Cannot run new version of cproto, it fails on missing include 14492 files. 14493 Solution: Add lots of #ifndef PROTO 14494 Files: src/os_amiga.c, src/os_amiga.h, src/gui_w16.c, src/gui_w48.c, 14495 src/gui_w32.c, src/vimio.h, src/os_msdos.c, src/os_msdos.h, 14496 src/os_win16.h, src/os_win16.c, src/os_win32.h, src/os_win32.c, 14497 src/os_mswin.c, src/gui_photon.c, src/os_unix.h, src/os_beos.c, 14498 src/os_beos.h 14499 14500 Patch 7.3.720 14501 Problem: Proto files are outdated. 14502 Solution: Update the newly generated proto files. 14503 Files: src/proto/digraph.pro, src/proto/fold.pro, src/proto/misc1.pro, 14504 src/proto/move.pro, src/proto/screen.pro, src/proto/search.pro, 14505 src/proto/os_win32.pro, src/proto/os_mswin.pro, 14506 src/proto/os_beos.pro 14507 14508 Patch 7.3.721 14509 Problem: Ruby interface defines local functions globally. 14510 Solution: Make the functions static. 14511 Files: src/if_ruby.c 14512 14513 Patch 7.3.722 14514 Problem: Perl flags may contain "-g", which breaks "make proto". 14515 Solution: Filter out the "-g" flag for cproto. (Ken Takata) 14516 Files: src/Makefile 14517 14518 Patch 7.3.723 14519 Problem: Various tiny problems. 14520 Solution: Various tiny fixes. 14521 Files: src/gui_mac.c, src/xpm_w32.c, src/netbeans.c, src/sha256.c, 14522 src/if_sniff.c, README.txt 14523 14524 Patch 7.3.724 14525 Problem: Building with Ruby and Tcl on MS-Windows 64 bit does not work. 14526 Solution: Remove Ruby and Tcl from the big MS-Windows build. 14527 Files: src/bigvim64.bat 14528 14529 Patch 7.3.725 14530 Problem: :aboveleft and :belowright have no effect on :copen. 14531 Solution: Check for cmdmod.split. (Christian Brabandt) 14532 Files: src/quickfix.c 14533 14534 Patch 7.3.726 14535 Problem: Typos and duplicate info in README. 14536 Solution: Fix the text. 14537 Files: README.txt 14538 14539 Patch 7.3.727 14540 Problem: Can't always find Win32.mak when building GvimExt. 14541 Solution: Use same mechanism as in Make_mvc.mak. (Cade Foster) 14542 Files: src/GvimExt/Makefile 14543 14544 Patch 7.3.728 14545 Problem: Cannot compile with MzScheme interface on Ubuntu 12.10. 14546 Solution: Find the collects directory under /usr/share. 14547 Files: src/configure.in, src/auto/configure 14548 14549 Patch 7.3.729 14550 Problem: Building with Ruby fails on some systems. 14551 Solution: Remove "static" and add #ifndef PROTO. (Ken Takata) 14552 Files: src/if_ruby.c 14553 14554 Patch 7.3.730 14555 Problem: Crash in PHP file when using syntastic. (Ike Devolder) 14556 Solution: Avoid using NULL pointer. (Christian Brabandt) 14557 Files: src/quickfix.c 14558 14559 Patch 7.3.731 14560 Problem: Py3Init_vim() is exported unnecessarily. 14561 Solution: Make it static. (Ken Takata) 14562 Files: src/if_python3.c 14563 14564 Patch 7.3.732 14565 Problem: Compiler warnings for function arguments. 14566 Solution: Use inteptr_t instead of long. 14567 Files: src/if_mzsch.c, src/main.c 14568 14569 Patch 7.3.733 14570 Problem: Tests fail when including MzScheme. 14571 Solution: Change #ifdefs for vim_main2(). 14572 Files: src/main.c 14573 14574 Patch 7.3.734 14575 Problem: Cannot put help files in a sub-directory. 14576 Solution: Make :helptags work for sub-directories. (Charles Campbell) 14577 Files: src/ex_cmds.c 14578 14579 Patch 7.3.735 14580 Problem: Cannot build Ruby 1.9 with MingW or Cygwin. 14581 Solution: Add another include directory. (Ken Takata) 14582 Files: src/Make_cyg.mak, src/Make_ming.mak 14583 14584 Patch 7.3.736 14585 Problem: File name completion in input() escapes white space. (Frederic 14586 Hardy) 14587 Solution: Do not escape white space. (Christian Brabandt) 14588 Files: src/ex_getln.c 14589 14590 Patch 7.3.737 14591 Problem: When using do_cmdline() recursively did_endif is not reset, 14592 causing messages to be overwritten. 14593 Solution: Reset did_endif. (Christian Brabandt) 14594 Files: src/ex_docmd.c 14595 14596 Patch 7.3.738 (after 7.3.730) 14597 Problem: Unused function argument. 14598 Solution: Remove it. (Christian Brabandt) 14599 Files: src/quickfix.c 14600 14601 Patch 7.3.739 14602 Problem: Computing number of lines may have an integer overflow. 14603 Solution: Check for MAXCOL explicitly. (Dominique Pelle) 14604 Files: src/move.c 14605 14606 Patch 7.3.740 14607 Problem: IOC tool complains about undefined behavior for int. 14608 Solution: Change to unsigned int. (Dominique Pelle) 14609 Files: src/hashtab.c, src/misc2.c 14610 14611 Patch 7.3.741 (after 7.3.737) 14612 Problem: Tiny build fails. 14613 Solution: Move #ifdef. (Ike Devolder) 14614 Files: src/ex_docmd.c 14615 14616 Patch 7.3.742 14617 Problem: Leaking memory when :vimgrep restores the directory. 14618 Solution: Free the allocated memory. (Christian Brabandt) 14619 Files: src/quickfix.c 14620 14621 Patch 7.3.743 (after 7.3.741) 14622 Problem: Tiny build still fails. 14623 Solution: Add #else in the right place. 14624 Files: src/ex_docmd.c 14625 14626 Patch 7.3.744 14627 Problem: 64 bit compiler warning. 14628 Solution: Add type cast. (Mike Williams) 14629 Files: src/ex_cmds.c 14630 14631 Patch 7.3.745 14632 Problem: Automatically setting 'ttymouse' doesn't work. 14633 Solution: Reset the "option was set" flag when using the default. 14634 Files: src/option.c, src/proto/option.pro, src/term.c 14635 14636 Patch 7.3.746 14637 Problem: Memory leaks when using location lists. 14638 Solution: Set qf_title to something. (Christian Brabandt) 14639 Files: src/eval.c, src/quickfix.c 14640 14641 Patch 7.3.747 14642 Problem: When characters are concealed text aligned with tabs are no longer 14643 aligned, e.g. at ":help :index". 14644 Solution: Compensate space for tabs for concealed characters. (Dominique 14645 Pelle) 14646 Files: src/screen.c 14647 14648 Patch 7.3.748 14649 Problem: Cannot properly test conceal mode. 14650 Solution: Add the screencol() and screenrow() functions. Use them in 14651 test88. (Simon Ruderich) 14652 Files: runtime/doc/eval.txt, src/eval.c, src/proto/screen.pro, 14653 src/screen.c, src/testdir/Make_amiga.mak, 14654 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 14655 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms 14656 src/testdir/Makefile, src/testdir/test88.in, 14657 src/testdir/test88.ok, 14658 14659 Patch 7.3.749 14660 Problem: Python interface doesn't build without the multibyte feature. 14661 Solution: Add #ifdef. (Ken Takata) 14662 Files: src/if_py_both.h 14663 14664 Patch 7.3.750 14665 Problem: The justify macro does not always work correctly. 14666 Solution: Fix off-by-one error (James McCoy) 14667 Files: runtime/macros/justify.vim 14668 14669 Patch 7.3.751 14670 Problem: Test 61 is flaky, it fails once in a while. 14671 Solution: When it fails retry once. 14672 Files: src/testdir/Makefile 14673 14674 Patch 7.3.752 14675 Problem: Test 49 script file doesn't fold properly. 14676 Solution: Add a colon. 14677 Files: src/testdir/test49.vim 14678 14679 Patch 7.3.753 14680 Problem: When there is a QuitPre autocommand using ":q" twice does not work 14681 for exiting when there are more files to edit. 14682 Solution: Do not decrement quitmore in an autocommand. (Techlive Zheng) 14683 Files: src/ex_docmd.c, src/fileio.c, src/proto/fileio.pro 14684 14685 Patch 7.3.754 14686 Problem: Latest nmake is not recognized. 14687 Solution: Add nmake version 11.00.51106.1. (Raymond Ko) 14688 Files: src/Make_mvc.mak 14689 14690 Patch 7.3.755 14691 Problem: Autoconf doesn't find Python 3 if it's called "python". 14692 Solution: Search for "python2" and "python3" first, then "python". 14693 Files: src/configure.in, src/auto/configure 14694 14695 Patch 7.3.756 14696 Problem: A location list can get a wrong count in :lvimgrep. 14697 Solution: Check if the list was changed by autocommands. (mostly by 14698 Christian Brabandt) 14699 Files: src/quickfix.c 14700 14701 Patch 7.3.757 14702 Problem: Issue 96: May access freed memory when a put command triggers 14703 autocommands. (Dominique Pelle) 14704 Solution: Call u_save() before getting y_array. 14705 Files: src/ops.c 14706 14707 Patch 7.3.758 14708 Problem: Matchit plugin does not handle space in #ifdef. 14709 Solution: Change matching pattern to allow spaces. (Mike Morearty) 14710 Files: runtime/macros/matchit.vim 14711 14712 Patch 7.3.759 14713 Problem: MS-Windows: Updating the tabline is slow when there are many tabs. 14714 Solution: Disable redrawing while performing the update. (Arseny Kapoulkine) 14715 Files: src/gui_w48.c 14716 14717 Patch 7.3.760 14718 Problem: dv_ deletes the white space before the line. 14719 Solution: Move the cursor to the first non-white. (Christian Brabandt) 14720 Files: src/normal.c, src/testdir/test19.in, src/testdir/test19.ok 14721 14722 Patch 7.3.761 14723 Problem: In Visual mode a "-p does not work. (Marcin Szamotulski) 14724 Solution: Avoid writing to "- before putting it. (Christian Brabandt) 14725 Files: src/normal.c, src/testdir/test48.in, src/testdir/test48.ok 14726 14727 Patch 7.3.762 (after 7.3.759) 14728 Problem: On some systems the tabline is not redrawn. 14729 Solution: Call RedrawWindow(). (Charles Peacech) 14730 Files: src/gui_w48.c 14731 14732 Patch 7.3.763 14733 Problem: Jumping to a mark does not open a fold if it is in the same line. 14734 (Wiktor Ruben) 14735 Solution: Also compare the column after the jump. (Christian Brabandt) 14736 Files: src/normal.c 14737 14738 Patch 7.3.764 14739 Problem: Not all message translation files are installed. 14740 Solution: Also install the converted files. 14741 Files: src/po/Makefile 14742 14743 Patch 7.3.765 14744 Problem: Segfault when doing "cclose" on BufUnload in a python function. 14745 (Sean Reifschneider) 14746 Solution: Skip window with NULL buffer. (Christian Brabandt) 14747 Files: src/main.c, src/window.c 14748 14749 Patch 7.3.766 14750 Problem: ":help cpo-*" jumps to the wrong place. 14751 Solution: Make it equivalent to ":help cpo-star". 14752 Files: src/ex_cmds.c 14753 14754 Patch 7.3.767 14755 Problem: (Win32) The _errno used for iconv may be the wrong one. 14756 Solution: Use the _errno from iconv.dll. (Ken Takata) 14757 Files: src/mbyte.c 14758 14759 Patch 7.3.768 14760 Problem: settabvar() and setwinvar() may move the cursor. 14761 Solution: Save and restore the cursor position when appropriate. (idea by 14762 Yasuhiro Matsumoto) 14763 Files: src/edit.c 14764 14765 Patch 7.3.769 14766 Problem: 'matchpairs' does not work with multibyte characters. 14767 Solution: Make it work. (Christian Brabandt) 14768 Files: src/misc1.c, src/option.c, src/proto/option.pro, src/search.c, 14769 src/testdir/test69.in, src/testdir/test69.ok 14770 14771 Patch 7.3.770 14772 Problem: Vim.h indentation is inconsistent. 14773 Solution: Adjust the indentation. (Elias Diem) 14774 Files: src/vim.h 14775 14776 Patch 7.3.771 (after 7.3.769) 14777 Problem: Uninitialized variable. (Yasuhiro Matsumoto) 14778 Solution: Set x2 to -1. 14779 Files: src/option.c 14780 14781 Patch 7.3.772 14782 Problem: Cursor is at the wrong location and below the end of the file 14783 after doing substitutions with confirm flag: %s/x/y/c 14784 (Dominique Pelle) 14785 Solution: Update the cursor position. (Christian Brabandt & Dominique) 14786 Files: src/ex_cmds.c 14787 14788 Patch 7.3.773 (after 7.3.767) 14789 Problem: Crash when OriginalFirstThunk is zero. 14790 Solution: Skip items with OriginalFirstThunk not set. (Ken Takata) 14791 Files: src/mbyte.c 14792 14793 Patch 7.3.774 14794 Problem: Tiny GUI version misses console dialog feature. 14795 Solution: Define FEAT_CON_DIALOG when appropriate. (Christian Brabandt) 14796 Files: src/feature.h, src/gui.h 14797 14798 Patch 7.3.775 14799 Problem: Cygwin and Mingw builds miss dependency on gui_w48.c. 14800 Solution: Add a build rule. (Ken Takata) 14801 Files: src/Make_cyg.mak, src/Make_ming.mak 14802 14803 Patch 7.3.776 14804 Problem: ml_get error when searching, caused by curwin not matching curbuf. 14805 Solution: Avoid changing curbuf. (Lech Lorens) 14806 Files: src/charset.c, src/eval.c, src/mark.c, src/proto/charset.pro, 14807 src/proto/mark.pro, src/regexp.c, src/syntax.c, 14808 14809 Patch 7.3.777 14810 Problem: When building with Gnome locale gets reset. 14811 Solution: Set locale after gnome_program_init(). (Christian Brabandt) 14812 Files: src/gui_gtk_x11.c 14813 14814 Patch 7.3.778 14815 Problem: Compiler error for adding up two pointers. (Titov Anatoly) 14816 Solution: Add a type cast. (Ken Takata) 14817 Files: src/mbyte.c 14818 14819 Patch 7.3.779 14820 Problem: Backwards search lands in wrong place when started on a multibyte 14821 character. 14822 Solution: Do not set extra_col for a backwards search. (Sung Pae) 14823 Files: src/search.c, src/testdir/test44.in, src/testdir/test44.ok 14824 14825 Patch 7.3.780 14826 Problem: char2nr() and nr2char() always use 'encoding'. 14827 Solution: Add argument to use utf-8 characters. (Yasuhiro Matsumoto) 14828 Files: runtime/doc/eval.txt, src/eval.c 14829 14830 Patch 7.3.781 14831 Problem: Drawing with 'guifontwide' can be slow. 14832 Solution: Draw multiple characters at a time. (Taro Muraoka) 14833 Files: src/gui.c 14834 14835 Patch 7.3.782 14836 Problem: Windows: IME composition may use a wrong font. 14837 Solution: Use 'guifontwide' for IME when it is set. (Taro Muraoka) 14838 Files: runtime/doc/options.txt, src/gui.c, src/gui_w48.c, 14839 src/proto/gui_w16.pro, src/proto/gui_w32.pro 14840 14841 Patch 7.3.783 14842 Problem: Crash when mark is not set. (Dominique Pelle) 14843 Solution: Check for NULL. 14844 Files: src/normal.c 14845 14846 Patch 7.3.784 (after 7.3.781) 14847 Problem: Error when 'guifontwide' has a comma. 14848 Solution: Use gui.wide_font. (Taro Muraoka) 14849 Files: src/gui_w48.c 14850 14851 Patch 7.3.785 (after 7.3.776) 14852 Problem: Crash with specific use of search pattern. 14853 Solution: Initialize reg_buf to curbuf. 14854 Files: src/regexp.c 14855 14856 Patch 7.3.786 14857 Problem: Python threads don't run in the background (issue 103). 14858 Solution: Move the statements to manipulate thread state. 14859 Files: src/if_python.c 14860 14861 Patch 7.3.787 14862 Problem: With 'relativenumber' set it is not possible to see the absolute 14863 line number. 14864 Solution: For the cursor line show the absolute line number instead of a 14865 zero. (Nazri Ramliy) 14866 Files: src/screen.c 14867 14868 Patch 7.3.788 14869 Problem: When only using patches build fails on missing nl.po. 14870 Solution: Create an empty nl.po file. 14871 Files: src/po/Makefile 14872 14873 Patch 7.3.789 (after 7.3.776) 14874 Problem: "\k" in regexp does not work in other window. 14875 Solution: Use the right buffer. (Yukihiro Nakadaira) 14876 Files: src/mbyte.c, src/proto/mbyte.pro, src/regexp.c 14877 14878 Patch 7.3.790 14879 Problem: After reloading a buffer the modelines are not processed. 14880 Solution: call do_modelines(). (Ken Takata) 14881 Files: src/fileio.c 14882 14883 Patch 7.3.791 14884 Problem: MzScheme interface doesn't work properly. 14885 Solution: Make it work better. (Sergey Khorev) 14886 Files: runtime/doc/if_mzsch.txt, src/configure.in, src/auto/configure, 14887 src/eval.c, src/if_mzsch.c, src/if_mzsch.h, src/Make_ming.mak, 14888 src/Make_mvc.mak, src/os_unix.c, src/proto/eval.pro, 14889 src/testdir/test70.in, src/testdir/test70.ok 14890 14891 Patch 7.3.792 14892 Problem: ":substitute" works differently without confirmation. 14893 Solution: Do not change the text when asking for confirmation, only display 14894 it. 14895 Files: src/ex_cmds.c 14896 14897 Patch 7.3.793 (after 7.3.792) 14898 Problem: New interactive :substitute behavior is not tested. 14899 Solution: Add tests. (Christian Brabandt) 14900 Files: src/testdir/test80.in, src/testdir/test80.ok 14901 14902 Patch 7.3.794 14903 Problem: Tiny build fails. (Tony Mechelynck) 14904 Solution: Adjust #ifdefs. 14905 Files: src/charset.c 14906 14907 Patch 7.3.795 14908 Problem: MzScheme does not build with tiny features. 14909 Solution: Add #ifdefs. Also add UNUSED to avoid warnings. And change 14910 library ordering. 14911 Files: src/if_mzsch.c, src/Makefile 14912 14913 Patch 7.3.796 14914 Problem: "/[^\n]" does match at a line break. 14915 Solution: Make it do the same as "/.". (Christian Brabandt) 14916 Files: src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok 14917 14918 Patch 7.3.797 (after 7.3.792) 14919 Problem: Compiler warning for size_t to int conversion. (Skeept) 14920 Solution: Add type casts. 14921 Files: src/ex_cmds.c 14922 14923 Patch 7.3.798 (after 7.3.791) 14924 Problem: MzScheme: circular list does not work correctly. 14925 Solution: Separate Mac-specific code from generic code. (Sergey Khorev) 14926 Files: src/if_mzsch.c, src/testdir/test70.in 14927 14928 Patch 7.3.799 14929 Problem: The color column is not correct when entering a buffer. (Ben 14930 Fritz) 14931 Solution: Call check_colorcolumn() if 'textwidth' changed. (Christian 14932 Brabandt) 14933 Files: src/buffer.c 14934 14935 Patch 7.3.800 14936 Problem: The " mark is not adjusted when inserting lines. (Roland Eggner) 14937 Solution: Adjust the line number. (Christian Brabandt) 14938 Files: src/mark.c 14939 14940 Patch 7.3.801 14941 Problem: ":window set nu?" displays the cursor line. (Nazri Ramliy) 14942 Solution: Do not update the cursor line when conceallevel is zero or the 14943 screen has scrolled. (partly by Christian Brabandt) 14944 Files: src/window.c 14945 14946 Patch 7.3.802 14947 Problem: After setting 'isk' to a value ending in a comma appending to the 14948 option fails. 14949 Solution: Disallow a trailing comma for 'isk' and similar options. 14950 Files: src/charset.c 14951 14952 Patch 7.3.803 (after 7.3.792) 14953 Problem: Substitute with confirmation and then "q" does not replace 14954 anything. (John McGowan) 14955 Solution: Do not break the loop, skip to the end. 14956 Files: src/ex_cmds.c, src/testdir/test80.in, src/testdir/test80.ok 14957 14958 Patch 7.3.804 (after 7.3.799) 14959 Problem: Compiler warning for tiny build. (Tony Mechelynck) 14960 Solution: Add #ifdefs around variable. 14961 Files: src/buffer.c 14962 14963 Patch 7.3.805 14964 Problem: Lua version 5.2 is not detected properly on Arch Linux. 14965 Solution: Adjust autoconf. (lilydjwg) 14966 Files: src/configure.in, src/auto/configure 14967 14968 Patch 7.3.806 14969 Problem: Compiler warnings in Perl code when building with Visual Studio 14970 2012. (skeept) 14971 Solution: Add type casts. (Christian Brabandt, 2013 Jan 30) 14972 Files: src/if_perl.xs 14973 14974 Patch 7.3.807 14975 Problem: Popup menu does not work properly with the preview window, folds 14976 and 'cursorcolumn'. 14977 Solution: Redraw the popup menu after redrawing windows. (Christian 14978 Brabandt) 14979 Files: src/screen.c 14980 14981 Patch 7.3.808 14982 Problem: Python threads still do not work properly. 14983 Solution: Fix both Python 2 and 3. Add tests. (Ken Takata) 14984 Files: src/if_python.c, src/if_python3.c, src/testdir/test86.in, 14985 src/testdir/test86.ok, src/testdir/test87.in, 14986 src/testdir/test87.ok 14987 14988 Patch 7.3.809 14989 Problem: The dosinst.c program has a buffer overflow. (Thomas Gwae) 14990 Solution: Ignore $VIMRUNTIME if it is too long. 14991 Files: src/dosinst.c 14992 14993 Patch 7.3.810 14994 Problem: 'relativenumber' is reset unexpectedly. (François Ingelrest) 14995 Solution: After an option was reset also reset the global value. Add a test. 14996 (Christian Brabandt) 14997 Files: src/option.c, src/testdir/Make_amiga.mak, 14998 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 14999 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 15000 src/testdir/Makefile, src/testdir/test89.in, 15001 src/testdir/test89.ok 15002 15003 Patch 7.3.811 15004 Problem: Useless termresponse parsing for SGR mouse. 15005 Solution: Skip the parsing. (Hayaki Saito) 15006 Files: src/term.c 15007 15008 Patch 7.3.812 15009 Problem: When 'indentexpr' moves the cursor "curswant" not restored. 15010 Solution: Restore "curswant". (Sung Pae) 15011 Files: src/misc1.c 15012 15013 Patch 7.3.813 15014 Problem: The CompleteDone event is not triggered when there are no pattern 15015 matches. (Jianjun Mao) 15016 Solution: Trigger the event. (Christian Brabandt) 15017 Files: src/edit.c 15018 15019 Patch 7.3.814 15020 Problem: Can't input multibyte characters on Win32 console if 'encoding' is 15021 different from current codepage. 15022 Solution: Use convert_input_safe() instead of convert_input(). Make 15023 string_convert_ext() return an error for incomplete input. (Ken 15024 Takata) 15025 Files: src/mbyte.c, src/os_win32.c 15026 15027 Patch 7.3.815 15028 Problem: Building with Cygwin and Ruby doesn't work. 15029 Solution: Copy some things from the MingW build file. (Ken Takata) 15030 Files: src/Make_cyg.mak 15031 15032 Patch 7.3.816 15033 Problem: Can't compute a hash. 15034 Solution: Add the sha256() function. (Tyru, Hirohito Higashi) 15035 Files: runtime/doc/eval.txt, src/eval.c, src/proto/sha256.pro, 15036 src/sha256.c, src/testdir/test90.in, src/testdir/test90.ok, 15037 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 15038 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 15039 src/testdir/Make_vms.mms, src/testdir/Makefile 15040 15041 Patch 7.3.817 15042 Problem: Test 89 fails with tiny and small features. 15043 Solution: Add sourcing small.vim. 15044 Files: src/testdir/test89.in 15045 15046 Patch 7.3.818 15047 Problem: When test 40 fails because of a bad build it may leave files 15048 behind that cause it to fail later. 15049 Solution: Let the file names start with "X". 15050 Files: src/testdir/test40.in 15051 15052 Patch 7.3.819 15053 Problem: Compiling without +eval and with Python isn't working. 15054 Solution: Add the eval feature when building with Python. 15055 Files: src/if_py_both.h, src/feature.h, src/eval.c, src/ex_docmd.c, 15056 src/normal.c, src/ex_docmd.c, src/gui_gtk_x11.c 15057 15058 Patch 7.3.820 15059 Problem: Build errors and warnings when building with small features and 15060 Lua, Perl or Ruby. 15061 Solution: Add #ifdefs and UNUSED. 15062 Files: src/if_perl.xs, src/if_lua.c, src/if_ruby.c 15063 15064 Patch 7.3.821 15065 Problem: Build with OLE and Cygwin is broken. (Steve Hall) 15066 Solution: Select static or shared stdc library. (Ken Takata) 15067 Files: src/Make_cyg.mak 15068 15069 Patch 7.3.822 (after 7.3.799) 15070 Problem: Crash when accessing freed buffer. 15071 Solution: Get 'textwidth' in caller of enter_buffer(). (Christian Brabandt) 15072 Files: src/buffer.c 15073 15074 Patch 7.3.823 (after 7.3.821) 15075 Problem: Building with Cygwin: '-lsupc++' is not needed. 15076 Solution: Remove it. (Ken Takata) 15077 Files: src/Make_cyg.mak 15078 15079 Patch 7.3.824 15080 Problem: Can redefine builtin functions. (ZyX) 15081 Solution: Disallow adding a function to g:. 15082 Files: src/eval.c 15083 15084 Patch 7.3.825 15085 Problem: With Python errors are not always clear. 15086 Solution: Print the stack trace, unless :silent is used. (ZyX) 15087 Files: src/if_python3.c, src/if_python.c 15088 15089 Patch 7.3.826 15090 Problem: List of features in :version output is hard to read. 15091 Solution: Make columns. (Nazri Ramliy) 15092 Files: src/version.c 15093 15094 Patch 7.3.827 (after 7.3.825) 15095 Problem: Python tests fail. 15096 Solution: Adjust the output for the stack trace. 15097 Files: src/testdir/test86.in, src/testdir/test86.ok, 15098 src/testdir/test87.ok 15099 15100 Patch 7.3.828 15101 Problem: Mappings are not aware of wildmenu mode. 15102 Solution: Add wildmenumode(). (Christian Brabandt) 15103 Files: src/eval.c, runtime/doc/eval.txt 15104 15105 Patch 7.3.829 15106 Problem: When compiled with the +rightleft feature 'showmatch' also shows a 15107 match for the opening paren. When 'revins' is set the screen may 15108 scroll. 15109 Solution: Only check the opening paren when the +rightleft feature was 15110 enabled. Do not show a match that is not visible. (partly by 15111 Christian Brabandt) 15112 Files: src/search.c 15113 15114 Patch 7.3.830 15115 Problem: :mksession confuses bytes, columns and characters when positioning 15116 the cursor. 15117 Solution: Use w_virtcol with "|" instead of w_cursor.col with "l". 15118 Files: src/ex_docmd.c 15119 15120 Patch 7.3.831 15121 Problem: Clumsy to handle the situation that a variable does not exist. 15122 Solution: Add default value to getbufvar() et al. (Shougo Matsushita, 15123 Hirohito Higashi) 15124 Files: runtime/doc/eval.txt, src/eval.c src/testdir/test91.in, 15125 src/testdir/test91.ok, src/testdir/Make_amiga.mak, 15126 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 15127 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 15128 src/testdir/Makefile 15129 15130 Patch 7.3.832 15131 Problem: Compiler warning. 15132 Solution: Add type cast. (Mike Williams) 15133 Files: src/version.c 15134 15135 Patch 7.3.833 15136 Problem: In the terminal the scroll wheel always scrolls the active window. 15137 Solution: Scroll the window under the mouse pointer, like in the GUI. 15138 (Bradie Rao) 15139 Files: src/edit.c, src/normal.c 15140 15141 Patch 7.3.834 15142 Problem: Ruby 2.0 has a few API changes. 15143 Solution: Add handling of Ruby 2.0. (Yasuhiro Matsumoto) 15144 Files: src/if_ruby.c 15145 15146 Patch 7.3.835 15147 Problem: "xxd -i" fails on an empty file. 15148 Solution: Do output the closing } for an empty file. (partly by Lawrence 15149 Woodman) 15150 Files: src/xxd/xxd.c 15151 15152 Patch 7.3.836 15153 Problem: Clipboard does not work on Win32 when compiled with Cygwin. 15154 Solution: Move the Win32 clipboard code to a separate file and use it when 15155 building with os_unix.c. (Frodak Baksik, Ken Takata) 15156 Files: src/Make_bc5.mak, src/Make_cyg.mak, src/Make_ivc.mak, 15157 src/Make_ming.mak, src/Make_mvc.mak, src/Make_w16.mak, 15158 src/Makefile, src/config.h.in, src/configure.in, 15159 src/auto/configure, src/feature.h, src/globals.h, src/mbyte.c, 15160 src/os_mswin.c, src/os_unix.c, src/os_win32.c, src/proto.h, 15161 src/proto/os_mswin.pro, src/proto/winclip.pro, src/term.c, 15162 src/vim.h, src/winclip.c 15163 15164 Patch 7.3.837 (after 7.3.826) 15165 Problem: Empty lines in :version output when 'columns' is 320. 15166 Solution: Simplify the logic of making columns. (Nazri Ramliy, Roland 15167 Eggner) 15168 Files: src/version.c 15169 15170 Patch 7.3.838 (after 7.3.830) 15171 Problem: Insufficient testing for mksession. 15172 Solution: Add tests. (mostly by Roland Eggner) 15173 Files: src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 15174 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 15175 src/testdir/Make_vms.mms, src/testdir/Makefile, 15176 src/testdir/test92.in, src/testdir/test92.ok, 15177 src/testdir/test93.in, src/testdir/test93.ok, 15178 src/ex_docmd.c 15179 15180 Patch 7.3.839 15181 Problem: Some files missing in the list of distributed files. 15182 Solution: Add lines for new files. 15183 Files: Filelist 15184 15185 Patch 7.3.840 15186 Problem: "\@<!" in regexp does not work correctly with multibyte 15187 characters, especially cp932. 15188 Solution: Move column to start of multibyte character. (Yasuhiro Matsumoto) 15189 Files: src/regexp.c 15190 15191 Patch 7.3.841 15192 Problem: When a "cond ? one : two" expression has a subscript it is not 15193 parsed correctly. (Andy Wokula) 15194 Solution: Handle a subscript also when the type is unknown. (Christian 15195 Brabandt) 15196 Files: src/eval.c 15197 15198 Patch 7.3.842 15199 Problem: Compiler warning for signed/unsigned pointer. 15200 Solution: Add type cast. (Christian Brabandt) 15201 Files: src/eval.c 15202 15203 Patch 7.3.843 (after 7.3.841) 15204 Problem: Missing test file changes. 15205 Solution: Change the tests. 15206 Files: src/testdir/test49.vim, src/testdir/test49.ok 15207 15208 Patch 7.3.844 15209 Problem: Enum is not indented correctly with "public" etc. 15210 Solution: Skip "public", "private" and "protected". (Hong Xu) 15211 Files: src/misc1.c 15212 15213 Patch 7.3.845 (after 7.3.844) 15214 Problem: Enum indenting is not tested. 15215 Solution: Add tests. (Hong Xu) 15216 Files: src/testdir/test3.in, src/testdir/test3.ok 15217 15218 Patch 7.3.846 15219 Problem: Missing proto files. 15220 Solution: Add the files. 15221 Files: Filelist, src/proto/os_beos.pro 15222 15223 Patch 7.3.847 15224 Problem: Test 55 fails when messages are translated. 15225 Solution: Set language to C. (Ken Takata) 15226 Files: src/testdir/test55.in 15227 15228 Patch 7.3.848 15229 Problem: Can't build with Ruby 2.0 when using MinGW x64 or MSVC10. 15230 Solution: Fix it. Also detect RUBY_PLATFORM and RUBY_INSTALL_NAME for x64. 15231 (Ken Takata) 15232 Files: src/Make_cyg.mak, src/Make_ming.mak, src/if_ruby.c 15233 15234 Patch 7.3.849 15235 Problem: ":g//" gives "Pattern not found error" with E486. Should not use 15236 the error number, it's not a regular error message. 15237 Solution: Use a normal message. (David Bürgin) 15238 Files: src/ex_cmds.c 15239 15240 Patch 7.3.850 15241 Problem: ":vimgrep //" matches everywhere. 15242 Solution: Make it use the previous search pattern. (David Bürgin) 15243 Files: runtime/doc/quickfix.txt, src/quickfix.c 15244 15245 Patch 7.3.851 15246 Problem: Using an empty pattern with :sort silently continues when there is 15247 no previous search pattern. 15248 Solution: Give an error message. (David Bürgin) 15249 Files: src/ex_cmds.c 15250 15251 Patch 7.3.852 15252 Problem: system() breaks clipboard text. (Yukihiro Nakadaira) 15253 Solution: Use Xutf8TextPropertyToTextList(). (Christian Brabandt) 15254 Also do not put the text in the clip buffer if conversion fails. 15255 Files: src/ui.c, src/ops.c 15256 15257 Patch 7.3.853 15258 Problem: Using "ra" in multiple lines on multibyte characters leaves a few 15259 characters not replaced. 15260 Solution: Adjust the end column only in the last line. (Yasuhiro Matsumoto) 15261 Files: src/testdir/test69.in, src/testdir/test69.ok, src/ops.c 15262 15263 Patch 7.3.854 15264 Problem: After using backspace in insert mode completion, CTRL-N and CTRL-P 15265 do not highlight the right entry. (Olivier Teuliere) 15266 Solution: Set the current item to the shown item after using backspace. 15267 Files: src/edit.c 15268 15269 Patch 7.3.855 15270 Problem: Compiler warnings. 15271 Solution: Add type casts. (Mike Williams) 15272 Files: src/misc1.c 15273 15274 Patch 7.3.856 15275 Problem: When calling system() multibyte clipboard contents is garbled. 15276 Solution: Save and restore the clipboard contents. (Yukihiro Nakadaira) 15277 Files: src/gui_gtk_x11.c, src/proto/gui_gtk_x11.pro, src/ops.c, 15278 src/proto/ops.pro, src/os_unix.c, src/proto/ui.pro, src/ui.c 15279 15280 Patch 7.3.857 15281 Problem: The QuitPre autocommand event does not trigger for :qa and :wq. 15282 Solution: Trigger the event. (Tatsuro Fujii) 15283 Files: src/ex_docmd.c 15284 15285 Patch 7.3.858 15286 Problem: "gv" selects the wrong area after some operators. 15287 Solution: Save and restore the type of selection. (Christian Brabandt) 15288 Files: src/testdir/test66.in, src/testdir/test66.ok, src/normal.c 15289 15290 Patch 7.3.859 15291 Problem: 'ambiwidth' must be set by the user. 15292 Solution: Detects East Asian ambiguous width (UAX #11) state of the terminal 15293 at the start-up time and 'ambiwidth' accordingly. (Hayaki Saito) 15294 Files: src/main.c, src/option.c, src/term.c, src/term.h, 15295 src/proto/term.pro 15296 15297 Patch 7.3.860 15298 Problem: When using --remote-expr try/catch does not work. (Andrey Radev) 15299 Solution: Set emsg_silent instead of emsg_skip. 15300 Files: src/main.c 15301 15302 Patch 7.3.861 15303 Problem: ":setlocal number" clears global value of 'relativenumber'. 15304 Solution: Do it properly. (Markus Heidelberg) 15305 Files: src/testdir/test89.in, src/testdir/test89.ok, src/option.c 15306 15307 Patch 7.3.862 15308 Problem: Dragging the status line can be slow. 15309 Solution: Look ahead and drop the drag event if there is a next one. 15310 Files: src/eval.c, src/misc1.c, src/proto/misc1.pro, src/normal.c 15311 15312 Patch 7.3.863 (after 7.3.859) 15313 Problem: Problem with 'ambiwidth' detection for ANSI terminal. 15314 Solution: Work around not recognizing a term response. (Hayaki Saito) 15315 Files: src/term.c 15316 15317 Patch 7.3.864 (after 7.3.862) 15318 Problem: Can't build without the mouse feature. 15319 Solution: Add an #ifdef. (Ike Devolder) 15320 Files: src/misc1.c 15321 15322 Patch 7.3.865 (after 7.3.862) 15323 Problem: Mouse position may be wrong. 15324 Solution: Let vungetc() restore the mouse position. 15325 Files: src/getchar.c 15326 15327 Patch 7.3.866 15328 Problem: Not serving the X selection during system() isn't nice. 15329 Solution: When using fork() do not loose the selection, keep serving it. 15330 Add a loop similar to handling I/O. (Yukihiro Nakadaira) 15331 Files: src/os_unix.c 15332 15333 Patch 7.3.867 15334 Problem: Matchparen does not update match when using auto-indenting. 15335 (Marc Aldorasi) 15336 Solution: Add the TextChanged and TextChangedI autocommand events. 15337 Files: runtime/plugin/matchparen.vim, src/main.c, src/edit.c, 15338 src/globals.h, src/vim.h, src/fileio.c, src/proto/fileio.pro, 15339 runtime/doc/autocmd.txt 15340 15341 Patch 7.3.868 15342 Problem: When at the hit-return prompt and using "k" while no text has 15343 scrolled off screen, then using "j", an empty line is displayed. 15344 Solution: Only act on "k" when text scrolled off screen. Also accept 15345 page-up and page-down. (cptstubing) 15346 Files: src/message.c 15347 15348 Patch 7.3.869 15349 Problem: bufwinnr() matches buffers in other tabs. 15350 Solution: For bufwinnr() and ? only match buffers in the current tab. 15351 (Alexey Radkov) 15352 Files: src/buffer.c, src/diff.c, src/eval.c, src/ex_docmd.c, 15353 src/if_perl.xs, src/proto/buffer.pro 15354 15355 Patch 7.3.870 15356 Problem: Compiler warnings when using MingW 4.5.3. 15357 Solution: Do not use MAKEINTRESOURCE. Adjust #if. (Ken Takata) 15358 Files: src/gui_w32.c, src/gui_w48.c, src/os_mswin.c, src/os_win32.c, 15359 src/os_win32.h 15360 15361 Patch 7.3.871 15362 Problem: search('^$', 'c') does not use the empty match under the cursor. 15363 Solution: Special handling of the 'c' flag. (Christian Brabandt) 15364 Add tests. 15365 Files: src/search.c, src/testdir/test14.in, src/testdir/test14.ok 15366 15367 Patch 7.3.872 15368 Problem: On some systems case of file names is always ignored, on others 15369 never. 15370 Solution: Add the 'fileignorecase' option to control this at runtime. 15371 Implies 'wildignorecase'. 15372 Files: src/buffer.c, src/edit.c, src/ex_cmds2.c, src/ex_getln.c, 15373 src/fileio.c, src/misc1.c, src/misc2.c, src/option.c, 15374 src/option.h, src/vim.h, runtime/doc/options.txt 15375 15376 Patch 7.3.873 15377 Problem: Cannot easily use :s to make title case. 15378 Solution: Have "\L\u" result in title case. (James McCoy) 15379 Files: src/regexp.c, src/testdir/test79.in, src/testdir/test79.ok, 15380 src/testdir/test80.in, src/testdir/test80.ok 15381 15382 Patch 7.3.874 15383 Problem: Comparing file names does not handle multibyte characters 15384 properly. 15385 Solution: Implement multibyte handling. 15386 Files: src/misc1.c, src/misc2.c 15387 15388 Patch 7.3.875 (after 7.3.866) 15389 Problem: Build problem with some combination of features. 15390 Solution: Use FEAT_XCLIPBOARD instead of FEAT_CLIPBOARD. 15391 Files: src/os_unix.c 15392 15393 Patch 7.3.876 15394 Problem: #if indents are off. 15395 Solution: Insert a space where appropriate. (Taro Muraoka) 15396 Files: src/gui.c 15397 15398 Patch 7.3.877 (after 7.3.871) 15399 Problem: Forward searching with search() is broken. 15400 Solution: Fix it and add tests. (Sung Pae) 15401 Files: src/search.c, src/testdir/test14.in, src/testdir/test14.ok 15402 15403 Patch 7.3.878 15404 Problem: 'fileignorecase' is missing in options window and quickref. 15405 Solution: Add the option. 15406 Files: runtime/optwin.vim, runtime/doc/quickref.txt 15407 15408 Patch 7.3.879 15409 Problem: When using an ex command in operator pending mode, using Esc to 15410 abort the command still executes the operator. (David Bürgin) 15411 Solution: Clear the operator when the ex command fails. (Christian Brabandt) 15412 Files: src/normal.c 15413 15414 Patch 7.3.880 15415 Problem: When writing viminfo, old history lines may replace lines written 15416 more recently by another Vim instance. 15417 Solution: Mark history entries that were read from viminfo and overwrite 15418 them when merging with the current viminfo. 15419 Files: src/ex_getln.c 15420 15421 Patch 7.3.881 15422 Problem: Python list does not work correctly. 15423 Solution: Fix it and add a test. (Yukihiro Nakadaira) 15424 Files: src/testdir/test86.in, src/testdir/test86.ok, src/if_py_both.h 15425 15426 Patch 7.3.882 15427 Problem: CursorHold may trigger after receiving the termresponse. 15428 Solution: Set the did_cursorhold flag. (Hayaki Saito) 15429 Files: src/term.c 15430 15431 Patch 7.3.883 (after 7.3.880) 15432 Problem: Can't build with some combination of features. 15433 Solution: Adjust #ifdefs. 15434 Files: src/ex_getln.c 15435 15436 Patch 7.3.884 15437 Problem: Compiler warning for variable shadowing another. (John Little) 15438 Solution: Rename the variable. (Christian Brabandt) 15439 Files: src/term.c 15440 15441 Patch 7.3.885 15442 Problem: Double free for list and dict in Lua. (Shougo Matsu) 15443 Solution: Do not unref list and dict. (Yasuhiro Matsumoto) 15444 Files: src/if_lua.c 15445 15446 Patch 7.3.886 15447 Problem: Can't build with multibyte on Solaris 10. 15448 Solution: Add #ifdef X_HAVE_UTF8_STRING. (Laurent Blume) 15449 Files: src/ui.c 15450 15451 Patch 7.3.887 15452 Problem: No tests for Visual mode operators, what 7.3.879 fixes. 15453 Solution: Add a new test file. (David Bürgin) 15454 Files: src/testdir/test94.in, src/testdir/test94.ok, 15455 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 15456 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 15457 src/testdir/Make_vms.mms, src/testdir/Makefile 15458 15459 Patch 7.3.888 15460 Problem: Filename completion with 'fileignorecase' does not work for 15461 multibyte characters. 15462 Solution: Make 'fileignorecase' work properly. (Hirohito Higashi) 15463 Files: src/misc2.c 15464 15465 Patch 7.3.889 15466 Problem: Can't build with Ruby 2.0 on a 64 bit system. 15467 Solution: Define rb_fix2int and rb_num2int. (Kohei Suzuki) 15468 Files: src/if_ruby.c 15469 15470 Patch 7.3.890 15471 Problem: Test 79 fails on Windows. (Michael Soyka) 15472 Solution: Add comment below line causing an error. 15473 Files: src/testdir/test79.in 15474 15475 Patch 7.3.891 15476 Problem: Merging viminfo history doesn't work well. 15477 Solution: Don't stop when one type of history is empty. Don't merge history 15478 when writing viminfo. 15479 Files: src/ex_getln.c 15480 15481 Patch 7.3.892 (after 7.3.891) 15482 Problem: Still merging problems for viminfo history. 15483 Solution: Do not merge lines when writing, don't write old viminfo lines. 15484 Files: src/ex_getln.c, src/ex_cmds.c, src/proto/ex_getln.pro 15485 15486 Patch 7.3.893 15487 Problem: Crash when using b:, w: or t: after closing the buffer, window or 15488 tabpage. 15489 Solution: Allocate the dictionary instead of having it part of the 15490 buffer/window/tabpage struct. (Yukihiro Nakadaira) 15491 Files: src/buffer.c, src/eval.c, src/fileio.c, src/structs.h, 15492 src/window.c, src/proto/eval.pro 15493 15494 Patch 7.3.894 15495 Problem: Using wrong RUBY_VER causing Ruby build to break. 15496 Solution: Correct the RUBY_VER value. (Yongwei Wu) 15497 Files: src/bigvim.bat 15498 15499 Patch 7.3.895 15500 Problem: Valgrind error in test 91. (Issue 128) 15501 Solution: Pass scope name to find_var_in_ht(). 15502 Files: src/eval.c 15503 15504 Patch 7.3.896 15505 Problem: Memory leaks in Lua interface. 15506 Solution: Fix the leaks, add tests. (Yukihiro Nakadaira) 15507 Files: src/testdir/test85.in, src/testdir/test85.ok, src/if_lua.c 15508 15509 Patch 7.3.897 15510 Problem: Configure doesn't always find the shared library. 15511 Solution: Change the configure script. (Ken Takata) 15512 Files: src/configure.in, src/auto/configure 15513 15514 Patch 7.3.898 15515 Problem: Memory leak reported by valgrind in test 91. 15516 Solution: Only use default argument when needed. 15517 Files: src/eval.c, src/testdir/test91.in, src/testdir/test91.ok 15518 15519 Patch 7.3.899 15520 Problem: #if indents are off. 15521 Solution: Fix the indents. 15522 Files: src/os_unix.c 15523 15524 Patch 7.3.900 15525 Problem: Not obvious that some mouse features are mutual-exclusive. 15526 Solution: Add a comment. 15527 Files: src/feature.h 15528 15529 Patch 7.3.901 15530 Problem: Outdated comment, ugly condition. 15531 Solution: Update a few comments, break line. 15532 Files: src/getchar.c, src/misc1.c, src/undo.c 15533 15534 Patch 7.3.902 15535 Problem: When deleting last buffer in other tab the tabline is not updated. 15536 Solution: Set the redraw_tabline flag. (Yukihiro Nakadaira) 15537 Files: src/window.c 15538 15539 Patch 7.3.903 (after 7.3.892) 15540 Problem: Crash on exit writing viminfo. (Ron Aaron) 15541 Solution: Check for the history to be empty. 15542 Files: src/ex_getln.c 15543 15544 Patch 7.3.904 (after 7.3.893) 15545 Problem: Using memory freed by the garbage collector. 15546 Solution: Mark items in aucmd_win as used. 15547 Files: src/eval.c 15548 15549 Patch 7.3.905 (after 7.3.903) 15550 Problem: Crash when writing viminfo. (Ron Aaron) 15551 Solution: Prevent freed history info to be used. 15552 Files: src/ex_getln.c 15553 15554 Patch 7.3.906 15555 Problem: The "sleep .2" for running tests does not work on Solaris. 15556 Solution: Fall back to using "sleep 1". (Laurent Blume) 15557 Files: src/testdir/Makefile 15558 15559 Patch 7.3.907 15560 Problem: Python uses IndexError when a dict key is not found. 15561 Solution: Use KeyError instead. (ZyX) 15562 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c, 15563 src/testdir/test86.ok, src/testdir/test87.ok 15564 15565 Patch 7.3.908 15566 Problem: Possible crash when using a list in Python. 15567 Solution: Return early if the list is NULL. (ZyX) 15568 Files: src/if_py_both.h 15569 15570 Patch 7.3.909 15571 Problem: Duplicate Python code. 15572 Solution: Move more items to if_py_both.h. (ZyX) Also avoid compiler 15573 warnings for missing initializers. 15574 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c 15575 15576 Patch 7.3.910 15577 Problem: Python code in #ifdef branches with only minor differences. 15578 Solution: Merge the #ifdef branches. (ZyX) 15579 Files: src/if_py_both.h, src/if_python.c 15580 15581 Patch 7.3.911 15582 Problem: Python: Access to Vim variables is not so easy. 15583 Solution: Define vim.vars and vim.vvars. (ZyX) 15584 Files: runtime/doc/if_pyth.txt, src/eval.c, src/globals.h, 15585 src/if_py_both.h, src/if_python3.c, src/if_python.c, 15586 src/testdir/test86.in, src/testdir/test86.ok, 15587 src/testdir/test87.in, src/testdir/test87.ok 15588 15589 Patch 7.3.912 15590 Problem: Typing a ":" command at the hit-enter dialog does not work if the 15591 "file changed" dialog happens next. 15592 Solution: Check for changed files before giving the hit-enter dialog. 15593 Files: src/message.c 15594 15595 Patch 7.3.913 (after 7.3.905) 15596 Problem: Still a crash when writing viminfo. 15597 Solution: Add checks for NULL pointers. (Ron Aaron) 15598 Files: src/ex_getln.c 15599 15600 Patch 7.3.914 15601 Problem: ~/.viminfo is messed up when running tests. 15602 Solution: Set the viminfo filename. 15603 Files: src/testdir/test89.in, src/testdir/test94.in 15604 15605 Patch 7.3.915 15606 Problem: When reading a file with encoding conversion fails at the end the 15607 next encoding in 'fencs' is not used. 15608 Solution: Retry with another encoding when possible. (Taro Muraoka) 15609 Files: src/fileio.c 15610 15611 Patch 7.3.916 15612 Problem: Using freed memory when pasting with the mouse (Issue 130). 15613 Solution: Get the byte value early. (hint by Dominique Pelle) 15614 Files: src/buffer.c 15615 15616 Patch 7.3.917 15617 Problem: When a path ends in a backslash appending a comma has the wrong 15618 effect. 15619 Solution: Replace a trailing backslash with a slash. (Nazri Ramliy) 15620 Files: src/misc1.c, src/testdir/test73.in, src/testdir/test73.ok 15621 15622 Patch 7.3.918 15623 Problem: Repeating an Ex command after using a Visual motion does not work. 15624 Solution: Check for an Ex command being used. (David Bürgin) 15625 Files: src/normal.c 15626 15627 Patch 7.3.919 (after 7.3.788) 15628 Problem: An empty nl.po file does not work with an old msgfmt. 15629 Solution: Put a single # in the file. (Laurent Blume) 15630 Files: src/po/Makefile 15631 15632 Patch 7.3.920 15633 Problem: Compiler warning for size_t to int. 15634 Solution: Add a type cast. (Mike Williams) 15635 Files: src/misc1.c 15636 15637 Patch 7.3.921 (after 7.3.697) 15638 Problem: Trying to create a fontset handle when 'guifontset' is not set. 15639 Solution: Add curly braces around the code block. (Max Kirillov) 15640 Files: src/syntax.c 15641 15642 Patch 7.3.922 15643 Problem: No test for what 7.3.918 fixes. 15644 Solution: Add a test. (David Bürgin) 15645 Files: src/testdir/test94.in, src/testdir/test94.ok 15646 15647 Patch 7.3.923 15648 Problem: Check for X11 header files fails on Solaris. 15649 Solution: Only use -Werror for gcc. (Laurent Blume) 15650 Files: src/configure.in, src/auto/configure 15651 15652 Patch 7.3.924 15653 Problem: Python interface can't easily access options. 15654 Solution: Add vim.options, vim.window.options and vim.buffer.options. (ZyX) 15655 Files: runtime/doc/if_pyth.txt, src/eval.c, src/if_py_both.h, 15656 src/if_python.c, src/if_python3.c, src/option.c, 15657 src/proto/eval.pro, src/proto/option.pro, src/testdir/test86.in, 15658 src/testdir/test86.ok, src/testdir/test87.in, 15659 src/testdir/test87.ok, src/vim.h 15660 15661 Patch 7.3.925 15662 Problem: Typos in source files. 15663 Solution: Fix the typos. (Ken Takata) 15664 Files: runtime/plugin/matchparen.vim, runtime/tools/vim_vs_net.cmd, 15665 src/GvimExt/gvimext.cpp, src/INSTALLvms.txt, src/Make_cyg.mak, 15666 src/Make_mvc.mak, src/Make_sas.mak, src/Make_vms.mms, 15667 src/Make_w16.mak, src/Makefile, src/VisVim/OleAut.cpp, 15668 src/VisVim/README_VisVim.txt, src/auto/configure, src/buffer.c, 15669 src/configure.in, src/diff.c, src/dosinst.c, src/edit.c, 15670 src/eval.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c, 15671 src/farsi.c, src/feature.h, src/fileio.c, src/glbl_ime.cpp, 15672 src/gui.c, src/gui_athena.c, src/gui_beval.c, src/gui_gtk_x11.c, 15673 src/gui_mac.c, src/gui_motif.c, src/gui_photon.c, src/gui_w16.c, 15674 src/gui_w32.c, src/gui_w48.c, src/gui_xmebw.c, src/gui_xmebwp.h, 15675 src/hardcopy.c, src/if_cscope.c, src/if_mzsch.c, src/if_ole.cpp, 15676 src/if_perl.xs, src/if_py_both.h, src/if_python.c, 15677 src/if_python3.c, src/if_ruby.c, src/main.aap, src/mbyte.c, 15678 src/memfile.c, src/memline.c, src/misc1.c, src/misc2.c, 15679 src/nbdebug.c, src/normal.c, src/ops.c, src/os_amiga.c, 15680 src/os_mac.h, src/os_msdos.c, src/os_mswin.c, src/os_win16.h, 15681 src/os_win32.c, src/os_win32.h, src/quickfix.c, src/screen.c, 15682 src/search.c, src/spell.c, src/structs.h, src/syntax.c, 15683 src/window.c, vimtutor.com 15684 15685 15686 Patch 7.3.926 15687 Problem: Autocommands are triggered by setwinvar() et al. Missing BufEnter 15688 on :tabclose. Duplicate WinEnter on :tabclose. Wrong order of 15689 events for :tablose and :tabnew. 15690 Solution: Fix these autocommand events. (ZyX) 15691 Files: runtime/doc/eval.txt, src/buffer.c, src/eval.c, src/ex_cmds2.c, 15692 src/fileio.c, src/proto/window.pro, src/testdir/test62.in, 15693 src/testdir/test62.ok, src/window.c 15694 15695 Patch 7.3.927 15696 Problem: Missing combining characters when putting text in a register. 15697 Solution: Include combining characters. (David Bürgin) 15698 Files: src/getchar.c, src/testdir/test44.in, src/testdir/test44.ok 15699 15700 Patch 7.3.928 (after 7.3.924) 15701 Problem: Can't build with strict C compiler. 15702 Solution: Move declaration to start of block. (Taro Muraoka) 15703 Files: src/if_py_both.h 15704 15705 Patch 7.3.929 (after 7.3.924) 15706 Problem: Compiler warning for unused variable. Not freeing unused string. 15707 Solution: Remove the variable. Clear the options. 15708 Files: src/option.c 15709 15710 Patch 7.3.930 15711 Problem: MSVC 2012 update is not recognized. 15712 Solution: Update the version in the makefile. (Raymond Ko) 15713 Files: src/Make_mvc.mak 15714 15715 Patch 7.3.931 15716 Problem: No completion for :xmap and :smap. (Yukihiro Nakadaira) 15717 Solution: Add the case statements. (Christian Brabandt) 15718 Files: src/ex_docmd.c 15719 15720 Patch 7.3.932 15721 Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) 15722 Solution: Initialize the variable. 15723 Files: src/option.c 15724 15725 Patch 7.3.933 15726 Problem: Ruby on Mac crashes due to GC failure. 15727 Solution: Init the stack from main(). (Hiroshi Shirosaki) 15728 Files: src/main.c, src/if_ruby.c, src/proto/if_ruby.pro 15729 15730 Patch 7.3.934 15731 Problem: E381 and E380 make the user think nothing happened. 15732 Solution: Display the message indicating what error list is now active. 15733 (Christian Brabandt) 15734 Files: src/quickfix.c 15735 15736 Patch 7.3.935 (after 7.3.933) 15737 Problem: Ruby: Init stack works differently on 64 bit systems. 15738 Solution: Handle 64 bit systems and also static library. (Yukihiro 15739 Nakadaira) 15740 Files: src/if_ruby.c 15741 15742 Patch 7.3.936 (after 7.3.935) 15743 Problem: Ruby 1.8: Missing piece for static linking on 64 bit systems. 15744 Solution: Define ruby_init_stack() (Hiroshi Shirosaki) 15745 Also fix preprocessor indents. 15746 Files: src/if_ruby.c 15747 15748 Patch 7.3.937 15749 Problem: More can be shared between Python 2 and 3. 15750 Solution: Move code to if_py_both.h. (ZyX) 15751 Files: src/if_python.c, src/if_python3.c, src/if_py_both.h 15752 15753 Patch 7.3.938 15754 Problem: Python: not easy to get to window number. 15755 Solution: Add vim.window.number. (ZyX) 15756 Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/proto/window.pro, 15757 src/window.c 15758 15759 Patch 7.3.939 15760 Problem: Using Py_BuildValue is inefficient sometimes. 15761 Solution: Use PyLong_FromLong(). (ZyX) 15762 Files: src/if_py_both.h 15763 15764 Patch 7.3.940 15765 Problem: Python: Can't get position of window. 15766 Solution: Add window.row and window.col. (ZyX) 15767 Files: runtime/doc/if_pyth.txt, src/if_py_both.h 15768 15769 Patch 7.3.941 15770 Problem: Stuff in if_py_both.h is ordered badly. 15771 Solution: Reorder by type. (ZyX) 15772 Files: src/if_py_both.h, src/if_python.c 15773 15774 Patch 7.3.942 15775 Problem: Python: SEGV in Buffer functions. 15776 Solution: Call CheckBuffer() at the right time. (ZyX) 15777 Files: src/if_py_both.h, src/if_python.c, src/if_python3.c 15778 15779 Patch 7.3.943 15780 Problem: Python: Negative indices were failing. 15781 Solution: Fix negative indices. Add tests. (ZyX) 15782 Files: src/if_py_both.h, src/if_python3.c, src/testdir/test86.in, 15783 src/testdir/test86.ok, src/testdir/test87.in, 15784 src/testdir/test87.ok 15785 15786 Patch 7.3.944 15787 Problem: External program receives the termresponse. 15788 Solution: Insert a delay and discard input. (Hayaki Saito) 15789 Files: src/term.c 15790 15791 Patch 7.3.945 15792 Problem: Python: List of buffers is not very useful. 15793 Solution: Make vim.buffers a map. No iterator yet. (ZyX) 15794 Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python3.c, 15795 src/if_python.c, src/testdir/test86.ok, src/testdir/test87.ok 15796 15797 Patch 7.3.946 15798 Problem: Sometimes get stuck in waiting for cursor position report, 15799 resulting in keys starting with <Esc>[ not working. 15800 Solution: Only wait for more characters after <Esc>[ if followed by '?', '>' 15801 or a digit. 15802 Files: src/term.c 15803 15804 Patch 7.3.947 15805 Problem: Python: No iterator for vim.list and vim.bufferlist. 15806 Solution: Add the iterators. Also fix name of FunctionType. Add tests for 15807 vim.buffers. (ZyX) 15808 Files: runtime/doc/if_pyth.txt, src/eval.c, src/if_py_both.h, 15809 src/if_python3.c, src/if_python.c, src/proto/eval.pro, 15810 src/testdir/test86.in, src/testdir/test86.ok, 15811 src/testdir/test87.in, src/testdir/test87.ok 15812 15813 Patch 7.3.948 15814 Problem: Cannot build with Python 2.2 15815 Solution: Make Python interface work with Python 2.2 15816 Make 2.2 the first supported version. (ZyX) 15817 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c, 15818 src/testdir/test86.in, src/testdir/test86.ok, 15819 src/testdir/test87.ok, src/configure.in, src/auto/configure 15820 15821 Patch 7.3.949 15822 Problem: Python: no easy access to tabpages. 15823 Solution: Add vim.tabpages and vim.current.tabpage. (ZyX) 15824 Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python3.c, 15825 src/if_python.c, src/proto/if_python3.pro, 15826 src/proto/if_python.pro, src/proto/window.pro, src/structs.h, 15827 src/window.c 15828 15829 Patch 7.3.950 15830 Problem: Python: Stack trace printer can't handle messages. 15831 Solution: Make KeyErrors use PyErr_SetObject. (ZyX) 15832 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c 15833 15834 Patch 7.3.951 15835 Problem: Python exceptions have problems. 15836 Solution: Change some IndexErrors to TypeErrors. Make “line number out of 15837 range” an IndexError. Make “unable to get option value” a 15838 RuntimeError. Make all PyErr_SetString messages start with 15839 lowercase letter and use _(). (ZyX) 15840 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c, 15841 src/testdir/test86.ok, src/testdir/test87.ok 15842 15843 Patch 7.3.952 15844 Problem: Python: It's not easy to change window/buffer/tabpage. 15845 Solution: Add ability to assign to vim.current.{tabpage,buffer,window}. 15846 (ZyX) 15847 Files: runtime/doc/if_pyth.txt, src/if_py_both.h 15848 15849 Patch 7.3.953 15850 Problem: Python: string exceptions are deprecated. 15851 Solution: Make vim.error an Exception subclass. (ZyX) 15852 Files: src/if_python.c, src/if_python3.c 15853 15854 Patch 7.3.954 15855 Problem: No check if PyObject_IsTrue fails. 15856 Solution: Add a check for -1 value. (ZyX) 15857 Files: src/if_py_both.h 15858 15859 Patch 7.3.955 15860 Problem: Python: Not enough tests. 15861 Solution: Add tests for vim.{current,window*,tabpage*}. (ZyX) 15862 Files: src/testdir/test86.in, src/testdir/test86.ok, 15863 src/testdir/test87.in, src/testdir/test87.ok 15864 15865 Patch 7.3.956 15866 Problem: Python vim.bindeval() causes SIGABRT. 15867 Solution: Make pygilstate a local variable. (Yukihiro Nakadaira) 15868 Files: src/if_py_both.h, src/if_python.c, src/if_python3.c 15869 15870 Patch 7.3.957 15871 Problem: Python does not have a "do" command like Perl or Lua. 15872 Solution: Add the ":py3do" command. (Lilydjwg) 15873 Files: runtime/doc/if_pyth.txt, src/ex_cmds.h, src/ex_docmd.c, 15874 src/if_python3.c, src/proto/if_python3.pro 15875 15876 Patch 7.3.958 15877 Problem: Python: Iteration destructor not set. 15878 Solution: Put IterDestructor to use. (ZyX) 15879 Files: src/if_py_both.c 15880 15881 Patch 7.3.959 (after 7.3.957) 15882 Problem: Missing error number. 15883 Solution: Assign an error number. 15884 Files: src/if_python3.c 15885 15886 Patch 7.3.960 15887 Problem: Compiler warning for unused variable. 15888 Solution: Put declaration in #ifdef. 15889 Files: src/window.c 15890 15891 Patch 7.3.961 15892 Problem: Tests 86 and 87 fail when using another language than English. 15893 Solution: Set the language to C in the test. (Dominique Pelle) 15894 Files: src/testdir/test86.in, src/testdir/test87.in, 15895 src/testdir/test87.ok 15896 15897 Patch 7.3.962 15898 Problem: Python tests are not portable. 15899 Solution: Use shiftwidth instead of iminsert. (ZyX) 15900 Files: src/testdir/test86.in, src/testdir/test86.ok, 15901 src/testdir/test87.in, src/testdir/test87.ok 15902 15903 Patch 7.3.963 15904 Problem: Setting curbuf without curwin causes trouble. 15905 Solution: Add switch_buffer() and restore_buffer(). Block autocommands to 15906 avoid trouble. 15907 Files: src/eval.c, src/proto/eval.pro, src/proto/window.pro, 15908 src/if_py_both.h, src/window.c, src/testdir/test86.ok 15909 15910 Patch 7.3.964 15911 Problem: Python: not so easy to access tab pages. 15912 Solution: Add window.tabpage, make window.number work with non-current tab 15913 pages. (ZyX) 15914 Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python3.c, 15915 src/if_python.c, src/testdir/test86.ok, src/testdir/test87.ok 15916 15917 Patch 7.3.965 15918 Problem: Python garbage collection not working properly. 15919 Solution: Add support for garbage collection. (ZyX) 15920 Files: src/if_py_both.h 15921 15922 Patch 7.3.966 15923 Problem: There is ":py3do" but no ":pydo". 15924 Solution: Add the ":pydo" command. (Lilydjwg) 15925 Files: runtime/doc/if_pyth.txt, src/ex_cmds.h, src/ex_docmd.c, 15926 src/if_py_both.h, src/if_python.c, src/if_python3.c, 15927 src/proto/if_python.pro 15928 15929 Patch 7.3.967 (after 7.3.965) 15930 Problem: Build fails on Mac OSX. (Greg Novack) 15931 Solution: Undefine clear(). 15932 Files: src/if_py_both.h 15933 15934 Patch 7.3.968 15935 Problem: Multi-byte support is only available when compiled with "big" 15936 features. 15937 Solution: Include multibyte by default, with "normal" features. 15938 Files: src/feature.h 15939 15940 Patch 7.3.969 15941 Problem: Can't build with Python 3 and without Python 2. 15942 Solution: Adjust #ifdef. (Xavier de Gaye) 15943 Files: src/window.c 15944 15945 Patch 7.3.970 15946 Problem: Syntax highlighting can be slow. 15947 Solution: Include the NFA regexp engine. Add the 'regexpengine' option to 15948 select which one is used. (various authors, including Ken Takata, 15949 Andrei Aiordachioaie, Russ Cox, Xiaozhou Liua, Ian Young) 15950 Files: src/Make_cyg.mak, src/Make_ming.mak, src/Make_mvc.mak, 15951 src/Makefile, src/regexp.c, src/regexp.h, src/regexp_nfa.c, 15952 src/structs.h, src/testdir/Makefile, src/testdir/test64.in, 15953 src/testdir/test64.ok, Filelist, runtime/doc/pattern.txt, 15954 runtime/doc/option.txt, src/option.c, src/option.h, 15955 src/testdir/test95.in, src/testdir/test95.ok, 15956 src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak, 15957 src/testdir/Make_ming.mak, src/testdir/Make_os2.mak, 15958 src/testdir/Make_vms.mms, src/testdir/Makefile 15959 15960 Patch 7.3.971 15961 Problem: No support for VS2012 static code analysis. 15962 Solution: Add the ANALYZE option. (Mike Williams) 15963 Files: src/Make_mvc.mak 15964 15965 Patch 7.3.972 15966 Problem: Cursor not restored after InsertEnter autocommand if it moved to 15967 another line. 15968 Solution: Also restore if the saved line number is still valid. Allow 15969 setting v:char to skip restoring. 15970 Files: src/edit.c, runtime/doc/autocmd.txt 15971 15972 Patch 7.3.973 15973 Problem: Compiler warnings. Crash on startup. (Tony Mechelynck) 15974 Solution: Change EMSG2 to EMSGN. Make array one character longer. 15975 Files: src/regexp_nfa.c 15976 15977 Patch 7.3.974 15978 Problem: Can't build with ruby 1.8.5. 15979 Solution: Only use ruby_init_stack() when RUBY_INIT_STACK is defined. 15980 (Yukihiro Nakadaira) 15981 Files: src/if_ruby.c 15982 15983 Patch 7.3.975 15984 Problem: Crash in regexp parsing. 15985 Solution: Correctly compute the end of allocated memory. 15986 Files: src/regexp_nfa.c 15987 15988 Patch 7.3.976 15989 Problem: Can't build on HP-UX. 15990 Solution: Remove modern initialization. (John Marriott) 15991 Files: src/regexp_nfa.c 15992 15993 Patch 7.3.977 15994 Problem: Compiler warnings on 64 bit Windows. 15995 Solution: Add type casts. (Mike Williams) Also fix some white space and 15996 uncomment what was commented-out for testing. 15997 Files: src/regexp_nfa.c 15998 15999 Patch 7.3.978 16000 Problem: Regexp debug logs don't have a good name. 16001 Solution: Use clear names and make it possible to write logs for the old and 16002 new engines separately. (Taro Muraoka) 16003 Files: src/regexp.c, src/regexp_nfa.c 16004 16005 Patch 7.3.979 16006 Problem: Complex NFA regexp doesn't work. 16007 Solution: Set actual state stack end instead of using an arbitrary number. 16008 (Yasuhiro Matsumoto) 16009 Files: src/regexp_nfa.c 16010 16011 Patch 7.3.980 16012 Problem: Regexp logs may contain garbage. Character classes don't work 16013 correctly for multibyte characters. 16014 Solution: Check for end of post list. Only use "is" functions for 16015 characters up to 255. (Ken Takata) 16016 Files: src/regexp_nfa.c 16017 16018 Patch 7.3.981 16019 Problem: In the old regexp engine \i, \I, \f and \F don't work on 16020 multibyte characters. 16021 Solution: Dereference pointer properly. 16022 Files: src/regexp.c, src/testdir/test64.in, src/testdir/test64.ok 16023 16024 Patch 7.3.982 16025 Problem: In the new regexp engine \p does not work on multibyte 16026 characters. 16027 Solution: Don't point to an integer but the characters. 16028 Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok 16029 16030 Patch 7.3.983 16031 Problem: Unnecessary temp variable. 16032 Solution: Remove the variable. 16033 Files: src/regexp_nfa.c 16034 16035 Patch 7.3.984 16036 Problem: A Visual mapping that uses CTRL-G works differently when started 16037 from Insert mode. (Ein Brown) 16038 Solution: Reset old_mapped_len when handling typed text in Select mode. 16039 Files: src/normal.c 16040 16041 Patch 7.3.985 16042 Problem: GTK vim not started as gvim doesn't set WM_CLASS property to a 16043 useful value. 16044 Solution: Call g_set_prgname() on startup. (James McCoy) 16045 Files: src/gui_gtk_x11.c 16046 16047 Patch 7.3.986 16048 Problem: Test 95 doesn't pass when 'encoding' isn't utf-8. (Yasuhiro 16049 Matsumoto) 16050 Solution: Force 'encoding' to be utf-8. 16051 Files: src/testdir/test95.in 16052 16053 Patch 7.3.987 16054 Problem: No easy to run an individual test. Tests 64 fails when 16055 'encoding' is not utf-8. 16056 Solution: Add individual test targets to the Makefile. Move some lines from 16057 test 64 to 95. 16058 Files: src/Makefile, src/testdir/test64.in, src/testdir/test64.ok, 16059 src/testdir/test95.in, src/testdir/test95.ok 16060 16061 Patch 7.3.988 16062 Problem: New regexp engine is slow. 16063 Solution: Break out of the loop when the state list is empty. 16064 Files: src/regexp_nfa.c 16065 16066 Patch 7.3.989 16067 Problem: New regexp engine compares negative numbers to character. 16068 Solution: Add missing case statements. 16069 Files: src/regexp_nfa.c 16070 16071 Patch 7.3.990 16072 Problem: Memory leak in new regexp engine. 16073 Solution: Jump to end of function to free memory. (Dominique Pelle) 16074 Files: src/regexp_nfa.c 16075 16076 Patch 7.3.991 16077 Problem: More can be shared by Python 2 and 3. 16078 Solution: Move more stuff to if_py_both. (ZyX) 16079 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c, 16080 src/testdir/test87.ok 16081 16082 Patch 7.3.992 16083 Problem: Python: Too many type casts. 16084 Solution: Change argument types. (ZyX) 16085 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c 16086 16087 Patch 7.3.993 16088 Problem: Python: Later patch does things slightly differently. 16089 Solution: Adjusted argument type changes. (ZyX) 16090 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c 16091 16092 Patch 7.3.994 16093 Problem: Python: using magic constants. 16094 Solution: Use descriptive values for ml_flags. (ZyX) 16095 Files: src/if_py_both.h, src/if_python3.c 16096 16097 Patch 7.3.995 16098 Problem: Python: Module initialization is duplicated. 16099 Solution: Move to shared file. (ZyX) 16100 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c 16101 16102 Patch 7.3.996 16103 Problem: Python: Can't check types of what is returned by bindeval(). 16104 Solution: Add vim.List, vim.Dictionary and vim.Function types. (ZyX) 16105 Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/testdir/test86.in, 16106 src/testdir/test86.ok, src/testdir/test87.in, 16107 src/testdir/test87.ok 16108 16109 Patch 7.3.997 16110 Problem: Vim and Python exceptions are different. 16111 Solution: Make Vim exceptions be Python exceptions. (ZyX) 16112 Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok, 16113 src/testdir/test87.in, src/testdir/test87.ok 16114 16115 Patch 7.3.998 16116 Problem: Python: garbage collection issues. 16117 Solution: Fix the GC issues: Use proper DESTRUCTOR_FINISH: avoids negative 16118 refcounts, use PyObject_GC_* for objects with tp_traverse and 16119 tp_clear, add RangeTraverse and RangeClear, use Py_XDECREF in some 16120 places. (ZyX) 16121 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c 16122 16123 Patch 7.3.999 16124 Problem: New regexp engine sets curbuf temporarily. 16125 Solution: Use reg_buf instead, like the old engine. 16126 Files: src/regexp_nfa.c 16127 16128 Patch 7.3.1000 (whoa!) 16129 Problem: Typo in char value causes out of bounds access. 16130 Solution: Fix character value. (Klemens Baum) 16131 Files: src/regexp.c 16132 16133 Patch 7.3.1001 16134 Problem: Duplicate condition in if. 16135 Solution: Remove one condition. 16136 Files: src/regexp_nfa.c 16137 16138 Patch 7.3.1002 16139 Problem: Valgrind errors for Python interface. 16140 Solution: Fix memory leaks when running tests. (ZyX) 16141 Files: src/if_py_both.h 16142 16143 Patch 7.3.1003 16144 Problem: Python interface does not compile with Python 2.2 16145 Solution: Fix thread issues and True/False. (ZyX) 16146 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c, 16147 src/testdir/test86.in, src/testdir/test86.ok, 16148 src/testdir/test87.in, src/testdir/test87.ok 16149 16150 Patch 7.3.1004 16151 Problem: No error when option could not be set. 16152 Solution: Report an error. (ZyX) 16153 Files: src/if_py_both.h, src/option.c, src/proto/option.pro, 16154 src/testdir/test86.ok, src/testdir/test87.ok 16155 16156 Patch 7.3.1005 16157 Problem: Get stuck on regexp "\n*" and on "%s/^\n\+/\r". 16158 Solution: Fix handling of matching a line break. (idea by Hirohito Higashi) 16159 Files: src/regexp_nfa.c 16160 16161 Patch 7.3.1006 16162 Problem: NFA engine not used for "\_[0-9]". 16163 Solution: Enable this, fixed in patch 1005. 16164 Files: src/regexp_nfa.c 16165 16166 Patch 7.3.1007 16167 Problem: Can't build on Minix 3.2.1. 16168 Solution: Add a condition to an #ifdef. (Gautam Tirumala) 16169 Files: src/memfile.c 16170 16171 Patch 7.3.1008 16172 Problem: Test 95 fails on MS-Windows. 16173 Solution: Set 'nomore'. Change \i to \f. Change multibyte character to 16174 something that is not matching \i. (Ken Takata) 16175 Files: src/testdir/test95.in, src/testdir/test95.ok 16176 16177 Patch 7.3.1009 16178 Problem: Compiler warning for ambiguous else. 16179 Solution: Add curly braces. 16180 Files: src/if_py_both.h 16181 16182 Patch 7.3.1010 16183 Problem: New regexp: adding \Z makes every character match. 16184 Solution: Only apply ireg_icombine for composing characters. 16185 Also add missing change from patch 1008. (Ken Takata) 16186 Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok 16187 16188 Patch 7.3.1011 16189 Problem: New regexp engine is inefficient with multibyte characters. 16190 Solution: Handle a character at a time instead of a byte at a time. Also 16191 make \Z partly work. 16192 Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok 16193 16194 Patch 7.3.1012 16195 Problem: \Z does not work properly with the new regexp engine. 16196 Solution: Make \Z work. Add tests. 16197 Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok 16198 16199 Patch 7.3.1013 16200 Problem: New regexp logging is a bit messy. 16201 Solution: Consistently use #defines, add explanatory comment. (Taro Muraoka) 16202 Files: src/regexp_nfa.c 16203 16204 Patch 7.3.1014 16205 Problem: New regexp state dump is hard to read. 16206 Solution: Make the state dump more pretty. (Taro Muraoka) 16207 Files: src/regexp_nfa.c 16208 16209 Patch 7.3.1015 16210 Problem: New regexp engine: Matching composing characters is wrong. 16211 Solution: Fix matching composing characters. 16212 Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok 16213 16214 Patch 7.3.1016 16215 Problem: Unused field in nfa_state. 16216 Solution: Remove lastthread. 16217 Files: src/regexp.h, src/regexp_nfa.c 16218 16219 Patch 7.3.1017 16220 Problem: Zero width match changes length of match. 16221 Solution: For a zero width match put new states in the current position in 16222 the state list. 16223 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok, 16224 src/regexp.h 16225 16226 Patch 7.3.1018 16227 Problem: New regexp engine wastes memory. 16228 Solution: Allocate prog with actual number of states, not estimated maximum 16229 number of states. 16230 Files: src/regexp_nfa.c 16231 16232 Patch 7.3.1019 16233 Problem: These do not work with the new regexp engine: \%o123, \%x123, 16234 \%d123, \%u123 and \%U123. 16235 Solution: Implement these items. 16236 Files: src/regexp_nfa.c 16237 16238 Patch 7.3.1020 16239 Problem: Not all patterns are tested with auto / old / new engine. 16240 Solution: Test patterns with three values of 'regexpengine'. 16241 Files: src/testdir/test64.in, src/testdir/test64.ok, 16242 src/testdir/test95.in, src/testdir/test95.ok 16243 16244 Patch 7.3.1021 16245 Problem: New regexp engine does not ignore order of composing chars. 16246 Solution: Ignore composing chars order. 16247 Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok 16248 16249 Patch 7.3.1022 16250 Problem: Compiler warning for shadowed variable. (John Little) 16251 Solution: Move declaration, rename variables. 16252 Files: src/regexp_nfa.c 16253 16254 Patch 7.3.1023 16255 Problem: Searching for composing char only and using \Z has different 16256 results. 16257 Solution: Make it match the composing char, matching everything is not 16258 useful. 16259 Files: src/regexp_nfa.c, src/testdir/test95.in, src/testdir/test95.ok 16260 16261 Patch 7.3.1024 16262 Problem: New regexp: End of matching pattern not set correctly. (Cesar 16263 Romani) 16264 Solution: Quit the loop after finding the match. Store nfa_has_zend in the 16265 program. 16266 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok, 16267 src/regexp.h 16268 16269 Patch 7.3.1025 16270 Problem: New regexp: not matching newline in string. (Marc Weber) 16271 Solution: Check for "\n" character. 16272 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 16273 16274 Patch 7.3.1026 16275 Problem: New regexp: pattern that includes a new-line matches too early. 16276 (John McGowan) 16277 Solution: Do not start searching in the second line. 16278 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 16279 16280 Patch 7.3.1027 16281 Problem: New regexp performance: Calling no_Magic() very often. 16282 Solution: Remove magicness inline. 16283 Files: src/regexp_nfa.c 16284 16285 Patch 7.3.1028 16286 Problem: New regexp performance: Copying a lot of position state. 16287 Solution: Only copy the sub-expressions that are being used. 16288 Files: src/regexp_nfa.c, src/regexp.h 16289 16290 Patch 7.3.1029 16291 Problem: New regexp performance: Unused position state being copied. 16292 Solution: Keep track of which positions are actually valid. 16293 Files: src/regexp_nfa.c 16294 16295 Patch 7.3.1030 (after 7.3.1028) 16296 Problem: Can't build for debugging. 16297 Solution: Fix struct member names. 16298 Files: src/regexp_nfa.c 16299 16300 Patch 7.3.1031 16301 Problem: Compiler warnings for shadowed variable. (John Little) 16302 Solution: Move the variable declarations to the scope where they are used. 16303 Files: src/regexp_nfa.c 16304 16305 Patch 7.3.1032 16306 Problem: "\ze" is not supported by the new regexp engine. 16307 Solution: Make "\ze" work. 16308 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 16309 16310 Patch 7.3.1033 16311 Problem: "\1" .. "\9" are not supported in the new regexp engine. 16312 Solution: Implement them. Add a few more tests. 16313 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok, 16314 src/regexp.h 16315 16316 Patch 7.3.1034 16317 Problem: New regexp code using strange multibyte code. 16318 Solution: Use the normal code to advance and backup pointers. 16319 Files: src/regexp_nfa.c 16320 16321 Patch 7.3.1035 16322 Problem: Compiler warning on 64 bit windows. 16323 Solution: Add type cast. (Mike Williams) 16324 Files: src/if_py_both.h 16325 16326 Patch 7.3.1036 16327 Problem: Can't build on HP-UX. 16328 Solution: Give the union a name. (John Marriott) 16329 Files: src/regexp_nfa.c 16330 16331 Patch 7.3.1037 16332 Problem: Look-behind matching is very slow on long lines. 16333 Solution: Add a byte limit to how far back an attempt is made. 16334 Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in, 16335 src/testdir/test64.ok 16336 16337 Patch 7.3.1038 16338 Problem: Crash when using Cscope. 16339 Solution: Avoid negative argument to vim_strncpy(). (Narendran 16340 Gopalakrishnan) 16341 Files: src/if_cscope.c 16342 16343 Patch 7.3.1039 16344 Problem: New regexp engine does not support \%23c, \%<23c and the like. 16345 Solution: Implement them. (partly by Yasuhiro Matsumoto) 16346 Files: src/regexp.h, src/regexp_nfa.c, src/testdir/test64.in, 16347 src/testdir/test64.ok 16348 16349 Patch 7.3.1040 16350 Problem: Python: Problems with debugging dynamic build. 16351 Solution: Python patch 1. (ZyX) 16352 Files: src/if_python.c, src/if_python3.c 16353 16354 Patch 7.3.1041 16355 Problem: Python: Invalid read valgrind errors. 16356 Solution: Python patch 2: defer DICTKEY_UNREF until key is no longer needed. 16357 (ZyX) 16358 Files: src/if_py_both.h 16359 16360 Patch 7.3.1042 16361 Problem: Python: can't assign to vim.Buffer.name. 16362 Solution: Python patch 3. (ZyX) 16363 Files: runtime/doc/if_pyth.txt, src/ex_cmds.c, src/if_py_both.h, 16364 src/if_python3.c, src/if_python.c, src/proto/ex_cmds.pro, 16365 src/testdir/test86.in, src/testdir/test86.ok, 16366 src/testdir/test87.in, src/testdir/test87.ok 16367 16368 Patch 7.3.1043 16369 Problem: Python: Dynamic compilation with 2.3 fails. 16370 Solution: Python patch 4. (ZyX) 16371 Files: src/if_python.c 16372 16373 Patch 7.3.1044 16374 Problem: Python: No {Buffer,TabPage,Window}.valid attributes. 16375 Solution: Python patch 5: add .valid (ZyX) 16376 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c, 16377 src/testdir/test86.in, src/testdir/test86.ok, 16378 src/testdir/test87.in, src/testdir/test87.ok 16379 16380 Patch 7.3.1045 16381 Problem: Python: No error handling for VimToPython function. 16382 Solution: Python patch 6. (ZyX) 16383 Files: src/if_py_both.h 16384 16385 Patch 7.3.1046 16386 Problem: Python: Using Py_BuildValue for building strings. 16387 Solution: Python patch 7 and 7.5: Replace Py_BuildValue with 16388 PyString_FromString. (ZyX) 16389 Files: src/if_py_both.h 16390 16391 Patch 7.3.1047 16392 Problem: Python: dir() does not work properly. 16393 Solution: Python patch 8. Add __dir__ method to all objects with custom 16394 tp_getattr supplemented by __members__ attribute for at least 16395 python-2* versions. __members__ is not mentioned in python-3* 16396 dir() output even if it is accessible. (ZyX) 16397 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c, 16398 src/testdir/test86.in, src/testdir/test86.ok, 16399 src/testdir/test87.in, src/testdir/test87.ok 16400 16401 Patch 7.3.1048 16402 Problem: Python: no consistent naming. 16403 Solution: Python patch 9: Rename d to dict and lookupDict to lookup_dict. 16404 (ZyX) 16405 Files: src/if_py_both.h 16406 16407 Patch 7.3.1049 16408 Problem: Python: no consistent naming 16409 Solution: Python patch 10: Rename DICTKEY_GET_NOTEMPTY to DICTKEY_GET. (ZyX) 16410 Files: src/if_py_both.h 16411 16412 Patch 7.3.1050 16413 Problem: Python: Typo in pyiter_to_tv. 16414 Solution: Python patch 11. (ZyX) 16415 Files: src/if_py_both.h 16416 16417 Patch 7.3.1051 16418 Problem: Python: possible memory leaks. 16419 Solution: Python patch 12: fix the leaks (ZyX) 16420 Files: src/if_py_both.h 16421 16422 Patch 7.3.1052 16423 Problem: Python: possible SEGV and negative refcount. 16424 Solution: Python patch 13: Fix IterIter function. (ZyX) 16425 Files: src/if_py_both.h 16426 16427 Patch 7.3.1053 16428 Problem: Python: no flag for types with tp_traverse+tp_clear. 16429 Solution: Python patch 14: Add Py_TPFLAGS_HAVE_GC. (ZyX) 16430 Files: src/if_py_both.h 16431 16432 Patch 7.3.1054 (after 7.3.1042) 16433 Problem: Can't build without the +autocmd feature. (Elimar Riesebieter) 16434 Solution: Fix use of buf and curbuf. 16435 Files: src/ex_cmds.c, src/testdir/test86.ok, src/testdir/test87.ok 16436 16437 Patch 7.3.1055 16438 Problem: Negated collection does not match newline. 16439 Solution: Handle newline differently. (Hiroshi Shirosaki) 16440 Files: src/regexp_nfa.c, src/testdir/test64.ok, src/testdir/test64.in 16441 16442 Patch 7.3.1056 16443 Problem: Python: possible memory leaks. 16444 Solution: Python patch 15. (ZyX) Fix will follow later. 16445 Files: src/eval.c, src/if_py_both.h, src/proto/eval.pro 16446 16447 Patch 7.3.1057 16448 Problem: Python: not enough compatibility. 16449 Solution: Python patch 16: Make OutputWritelines support any sequence object 16450 (ZyX) Note: tests fail 16451 Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok, 16452 src/testdir/test87.in, src/testdir/test87.ok 16453 16454 Patch 7.3.1058 16455 Problem: Call of funcref does not succeed in other script. 16456 Solution: Python patch 17: add get_expanded_name(). (ZyX) 16457 Files: src/eval.c, src/proto/eval.pro 16458 16459 Patch 7.3.1059 16460 Problem: Python: Using fixed size buffers. 16461 Solution: Python patch 18: Use python's own formatter. (ZyX) 16462 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c 16463 16464 Patch 7.3.1060 16465 Problem: Python: can't repr() a function. 16466 Solution: Python patch 19: add FunctionRepr(). (ZyX) 16467 Files: src/if_py_both.h 16468 16469 Patch 7.3.1061 16470 Problem: Python: Dictionary is not standard. 16471 Solution: Python patch 20: Add standard methods and fields. (ZyX) 16472 Files: runtime/doc/if_pyth.txt, src/eval.c, src/if_py_both.h, 16473 src/if_python3.c, src/if_python.c, src/proto/eval.pro, 16474 src/testdir/test86.in, src/testdir/test86.ok, 16475 src/testdir/test87.in, src/testdir/test87.ok 16476 16477 Patch 7.3.1062 16478 Problem: Python: List is not standard. 16479 Solution: Python patch 21: Add standard methods and fields. (ZyX) 16480 Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok, 16481 src/testdir/test87.in, src/testdir/test87.ok 16482 16483 Patch 7.3.1063 16484 Problem: Python: Function is not standard. 16485 Solution: Python patch 22: make Function subclassable. (ZyX) 16486 Files: src/eval.c, src/if_py_both.h, src/proto/eval.pro, 16487 src/testdir/test86.in, src/testdir/test86.ok, 16488 src/testdir/test87.in, src/testdir/test87.ok 16489 16490 Patch 7.3.1064 16491 Problem: Python: insufficient error checking. 16492 Solution: Python patch 23. (ZyX) 16493 Files: src/if_py_both.h 16494 16495 Patch 7.3.1065 16496 Problem: Python: key mapping is not standard. 16497 Solution: Python patch 24: use PyMapping_Keys. (ZyX) 16498 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c 16499 16500 Patch 7.3.1066 16501 Problem: Python: Insufficient exception and error testing. 16502 Solution: Python patch 25. (ZyX) 16503 Files: src/testdir/test86.in, src/testdir/test86.ok, 16504 src/testdir/test87.in, src/testdir/test87.ok 16505 16506 Patch 7.3.1067 16507 Problem: Python: documentation lags behind. 16508 Solution: Python patch 26. (ZyX) 16509 Files: runtime/doc/if_pyth.txt 16510 16511 Patch 7.3.1068 16512 Problem: Python: Script is auto-loaded on function creation. 16513 Solution: Python patch 27. (ZyX) 16514 Files: src/eval.c, src/if_py_both.h, src/proto/eval.pro, 16515 src/testdir/test86.ok, src/testdir/test87.ok, src/vim.h 16516 16517 Patch 7.3.1069 16518 Problem: Python: memory leaks. 16519 Solution: Python patch 28: Purge out DICTKEY_CHECK_EMPTY macros. (ZyX) 16520 Files: src/if_py_both.h 16521 16522 Patch 7.3.1070 16523 Problem: Vim crashes in Python tests. Compiler warning for unused function. 16524 Solution: Disable the tests for now. Move the function. 16525 Files: src/if_py_both.h, src/if_python.c, src/testdir/test86.in, 16526 src/testdir/test87.in 16527 16528 Patch 7.3.1071 16529 Problem: New regexp engine: backreferences don't work correctly. 16530 Solution: Add every possible start/end position on the state stack. 16531 Files: src/regexp_nfa.c, src/regexp.h, src/testdir/test64.in, 16532 src/testdir/test64.ok 16533 16534 Patch 7.3.1072 16535 Problem: Compiler warning for uninitialized variable. 16536 Solution: Initialize it. 16537 Files: src/regexp_nfa.c 16538 16539 Patch 7.3.1073 16540 Problem: New regexp engine may run out of states. 16541 Solution: Allocate states dynamically. Also make the test report errors. 16542 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok, 16543 src/testdir/test95.in 16544 16545 Patch 7.3.1074 16546 Problem: Compiler warning for printf format. (Manuel Ortega) 16547 Solution: Add type casts. 16548 Files: src/if_py_both.h 16549 16550 Patch 7.3.1075 16551 Problem: Compiler warning for storing a long_u in an int. 16552 Solution: Declare the number as an int. (Mike Williams) 16553 Files: src/regexp_nfa.c 16554 16555 Patch 7.3.1076 16556 Problem: New regexp engine: \@= and \& don't work. 16557 Solution: Make these items work. Add column info to logging. 16558 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 16559 16560 Patch 7.3.1077 16561 Problem: Python: Allocating dict the wrong way, causing a crash. 16562 Solution: Use py_dict_alloc(). Fix some exception problems. (ZyX) 16563 Files: src/if_py_both.h 16564 16565 Patch 7.3.1078 16566 Problem: New regexp engine: \@! doesn't work. 16567 Solution: Implement the negated version of \@=. 16568 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 16569 16570 Patch 7.3.1079 16571 Problem: Test 87 fails. 16572 Solution: Fix the test for Python 3.3. (ZyX) Make it pass on 32 bit systems. 16573 Files: src/testdir/test87.in, src/testdir/test87.ok 16574 16575 Patch 7.3.1080 16576 Problem: Test 86 fails. 16577 Solution: Comment out the parts that don't work. Make it pass on 32 bit 16578 systems. 16579 Files: src/testdir/test86.in, src/testdir/test86.ok 16580 16581 Patch 7.3.1081 16582 Problem: Compiler warnings on 64-bit Windows. 16583 Solution: Change variable types. (Mike Williams) 16584 Files: src/if_py_both.h, src/regexp_nfa.c 16585 16586 Patch 7.3.1082 16587 Problem: New regexp engine: Problem with \@= matching. 16588 Solution: Save and restore nfa_match. 16589 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 16590 16591 Patch 7.3.1083 16592 Problem: New regexp engine: Does not support \%^ and \%$. 16593 Solution: Support matching start and end of file. 16594 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 16595 16596 Patch 7.3.1084 16597 Problem: New regexp engine: only accepts up to \{,10}. 16598 Solution: Remove upper limit. Remove dead code with NFA_PLUS. 16599 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 16600 16601 Patch 7.3.1085 16602 Problem: New regexp engine: Non-greedy multi doesn't work. 16603 Solution: Implement \{-}. 16604 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 16605 16606 Patch 7.3.1086 16607 Problem: Old regexp engine accepts illegal range, new one doesn't. 16608 Solution: Also accept the illegal range with the new engine. 16609 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 16610 16611 Patch 7.3.1087 16612 Problem: A leading star is not seen as a normal char when \{} follows. 16613 Solution: Save and restore the parse state properly. 16614 Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in, 16615 src/testdir/test64.ok 16616 16617 Patch 7.3.1088 16618 Problem: New regexp engine: \@<= and \@<! are not implemented. 16619 Solution: Implement look-behind matching. Fix off-by-one error in old 16620 regexp engine. 16621 Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in, 16622 src/testdir/test64.ok 16623 16624 Patch 7.3.1089 16625 Problem: Tests 86 and 87 fail on MS-Windows. (Ken Takata) 16626 Solution: Fix platform-specific stuff. (ZyX) 16627 Files: src/testdir/test86.in, src/testdir/test86.ok, 16628 src/testdir/test87.in, src/testdir/test87.ok 16629 16630 Patch 7.3.1090 16631 Problem: New regexp engine does not support \z1 .. \z9 and \z(. 16632 Solution: Implement the syntax submatches. 16633 Files: src/regexp.h, src/regexp_nfa.c 16634 16635 Patch 7.3.1091 16636 Problem: New regexp engine: no error when using \z1 or \z( where it does 16637 not work. 16638 Solution: Give an error message. 16639 Files: src/regexp.c, src/regexp_nfa.c 16640 16641 Patch 7.3.1092 16642 Problem: Can't build with regexp debugging. NFA debug output shows wrong 16643 pattern. 16644 Solution: Fix debugging code for recent changes. Add the pattern to the 16645 program. 16646 Files: src/regexp_nfa.c, src/regexp.h 16647 16648 Patch 7.3.1093 16649 Problem: New regexp engine: When a sub expression is empty \1 skips a 16650 character. 16651 Solution: Make \1 try the current position when the match is empty. 16652 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 16653 16654 Patch 7.3.1094 16655 Problem: New regexp engine: Attempts to match "^" at every character. 16656 Solution: Only try "^" at the start of a line. 16657 Files: src/regexp_nfa.c 16658 16659 Patch 7.3.1095 16660 Problem: Compiler warnings for shadowed variables. (Christian Brabandt) 16661 Solution: Rename new_state() to alloc_state(). Remove unnecessary 16662 declaration. 16663 Files: src/regexp_nfa.c 16664 16665 Patch 7.3.1096 16666 Problem: Python: popitem() was not defined in a standard way. 16667 Solution: Remove the argument from popitem(). (ZyX) 16668 Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/testdir/test86.in, 16669 src/testdir/test86.ok, src/testdir/test87.in, 16670 src/testdir/test87.ok 16671 16672 Patch 7.3.1097 16673 Problem: Python: a few recently added items are not documented. 16674 Solution: Update the documentation. (ZyX) 16675 Files: runtime/doc/if_pyth.txt 16676 16677 Patch 7.3.1098 16678 Problem: Python: Possible memory leaks 16679 Solution: Add Py_XDECREF() calls. (ZyX) 16680 Files: src/if_py_both.h 16681 16682 Patch 7.3.1099 16683 Problem: Python: Changing directory with os.chdir() causes problems for 16684 Vim's notion of directories. 16685 Solution: Add vim.chdir() and vim.fchdir(). (ZyX) 16686 Files: runtime/doc/if_pyth.txt, src/ex_docmd.c, src/if_py_both.h, 16687 src/if_python3.c, src/if_python.c, src/proto/ex_docmd.pro, 16688 src/testdir/test86.in, src/testdir/test86.ok, 16689 src/testdir/test87.in, src/testdir/test87.ok 16690 16691 Patch 7.3.1100 16692 Problem: Python: a few more memory problems. 16693 Solution: Add and remove Py_XDECREF(). (ZyX) 16694 Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok, 16695 src/testdir/test87.in, src/testdir/test87.ok 16696 16697 Patch 7.3.1101 16698 Problem: Configure doesn't find Python 3 on Ubuntu 13.04. 16699 Solution: First try distutils.sysconfig. Also fix some indents. (Ken 16700 Takata) 16701 Files: src/configure.in, src/auto/configure 16702 16703 Patch 7.3.1102 16704 Problem: Completion of ":py3do" and ":py3file" does not work after ":py3". 16705 Solution: Make completion work. (Taro Muraoka) 16706 Files: src/ex_docmd.c 16707 16708 Patch 7.3.1103 16709 Problem: New regexp engine: overhead in saving and restoring. 16710 Solution: Make saving and restoring list IDs faster. Don't copy or check \z 16711 subexpressions when they are not used. 16712 Files: src/regexp_nfa.c 16713 16714 Patch 7.3.1104 16715 Problem: New regexp engine does not handle "~". 16716 Solution: Add support for "~". 16717 Files: src/regexp_nfa.c, src/testdir/test24.in, src/testdir/test24.ok 16718 16719 Patch 7.3.1105 16720 Problem: New regexp engine: too much code in one function. Dead code. 16721 Solution: Move the recursive nfa_regmatch call to a separate function. 16722 Remove the dead code. 16723 Files: src/regexp_nfa.c 16724 16725 Patch 7.3.1106 16726 Problem: New regexp engine: saving and restoring lastlist in the states 16727 takes a lot of time. 16728 Solution: Use a second lastlist value for the first recursive call. 16729 Files: src/regexp.h, src/regexp_nfa.c 16730 16731 Patch 7.3.1107 16732 Problem: Compiler warnings for unused variables. 16733 Solution: Put the variables inside #ifdef. 16734 Files: src/regexp.c, src/regexp_nfa.c 16735 16736 Patch 7.3.1108 16737 Problem: Error message for os.fchdir() (Charles Peacech) 16738 Solution: Clear the error. (ZyX) 16739 Files: src/if_py_both.h 16740 16741 Patch 7.3.1109 16742 Problem: Building on MS-Windows doesn't see changes in if_py_both.h. 16743 Solution: Add a dependency. (Ken Takata) 16744 Files: src/Make_bc5.mak, src/Make_cyg.mak, src/Make_ming.mak, 16745 src/Make_mvc.mak 16746 16747 Patch 7.3.1110 16748 Problem: New regexp matching: Using \@= and the like can be slow. 16749 Solution: Decide whether to first try matching the zero-width part or what 16750 follows, whatever is more likely to fail. 16751 Files: src/regexp_nfa.c 16752 16753 Patch 7.3.1111 16754 Problem: nfa_recognize_char_class() implementation is inefficient. 16755 Solution: Use bits in an int instead of chars in a string. (Dominique Pelle) 16756 Files: src/regexp_nfa.c, src/testdir/test36.in, src/testdir/test36.ok 16757 16758 Patch 7.3.1112 16759 Problem: New regexp engine: \%V not supported. 16760 Solution: Implement \%V. Add tests. 16761 Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in, 16762 src/testdir/test64.ok 16763 16764 Patch 7.3.1113 16765 Problem: New regexp engine: \%'m not supported. 16766 Solution: Implement \%'m. Add tests. 16767 Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in, 16768 src/testdir/test64.ok 16769 16770 Patch 7.3.1114 (after 7.3.1110) 16771 Problem: Can't build without the syntax feature. 16772 Solution: Add #ifdefs. (Erik Falor) 16773 Files: src/regexp_nfa.c 16774 16775 Patch 7.3.1115 16776 Problem: Many users don't like the cursor line number when 'relativenumber' 16777 is set. 16778 Solution: Have four combinations with 'number' and 'relativenumber'. 16779 (Christian Brabandt) 16780 Files: runtime/doc/options.txt, src/option.c, src/screen.c, 16781 src/testdir/test89.in, src/testdir/test89.ok 16782 16783 Patch 7.3.1116 16784 Problem: Can't build without Visual mode. 16785 Solution: Add #ifdefs. 16786 Files: src/regexp_nfa.c 16787 16788 Patch 7.3.1117 16789 Problem: New regexp engine: \%[abc] not supported. 16790 Solution: Implement \%[abc]. Add tests. 16791 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 16792 16793 Patch 7.3.1118 16794 Problem: Match failure rate is not very specific. 16795 Solution: Tune the failure rate for match items. 16796 Files: src/regexp_nfa.c 16797 16798 Patch 7.3.1119 16799 Problem: Flags in 'cpo' are search for several times. 16800 Solution: Store the result and re-use the flags. 16801 Files: src/regexp.c, src/regexp_nfa.c 16802 16803 Patch 7.3.1120 16804 Problem: Crash when regexp logging is enabled. 16805 Solution: Avoid using NULL pointers. Advance over count argument. 16806 Files: src/regexp.c, src/regexp_nfa.c 16807 16808 Patch 7.3.1121 16809 Problem: New regexp engine: adding states that are not used. 16810 Solution: Don't add the states. 16811 Files: src/regexp_nfa.c 16812 16813 Patch 7.3.1122 16814 Problem: New regexp engine: \@> not supported. 16815 Solution: Implement \%>. 16816 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 16817 16818 Patch 7.3.1123 16819 Problem: Can't build tiny Vim on MS-Windows. 16820 Solution: Adjust #ifdef around using modif_fname(). (Mike Williams) 16821 Files: src/misc1.c 16822 16823 Patch 7.3.1124 16824 Problem: Python: Crash on MS-Windows when os.fchdir() is not available. 16825 Solution: Check for _chdir to be NULL. (Ken Takata) 16826 Files: src/if_py_both.h 16827 16828 Patch 7.3.1125 16829 Problem: Error for using \%V in a pattern in tiny Vim. 16830 Solution: Allow using \%V but never match. (Dominique Pelle) 16831 Files: src/regexp_nfa.c 16832 16833 Patch 7.3.1126 16834 Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) 16835 Solution: Assign something to the variable. 16836 Files: src/regexp_nfa.c 16837 16838 Patch 7.3.1127 16839 Problem: No error for using empty \%[]. 16840 Solution: Give error message. 16841 Files: src/regexp.c, src/regexp_nfa.c 16842 16843 Patch 7.3.1128 16844 Problem: Now that the NFA engine handles everything every failure is a 16845 syntax error. 16846 Solution: Remove the syntax_error flag. 16847 Files: src/regexp.c, src/regexp_nfa.c 16848 16849 Patch 7.3.1129 16850 Problem: Can't see what pattern in syntax highlighting is slow. 16851 Solution: Add the ":syntime" command. 16852 Files: src/structs.h, src/syntax.c, src/ex_cmds.h, src/ex_docmd.c, 16853 src/proto/syntax.pro, src/ex_cmds2.c, src/proto/ex_cmds2.pro, 16854 runtime/doc/syntax.txt 16855 16856 Patch 7.3.1130 (after 7.3.1129) 16857 Problem: Can't build with anything but huge features. 16858 Solution: Check for FEAT_PROFILE. (Yasuhiro Matsumoto) 16859 Files: src/ex_docmd.c, src/structs.h, src/syntax.c 16860 16861 Patch 7.3.1131 16862 Problem: New regexp engine is a bit slow. 16863 Solution: Do not clear the state list. Don't copy syntax submatches when 16864 not used. 16865 Files: src/regexp_nfa.c 16866 16867 Patch 7.3.1132 16868 Problem: Crash when debugging regexp. 16869 Solution: Do not try to dump subexpr that were not set. Skip over count of 16870 \% items. 16871 Files: src/regexp.c, src/regexp_nfa.c 16872 16873 Patch 7.3.1133 16874 Problem: New regexp engine is a bit slow. 16875 Solution: Skip ahead to a character that must match. Don't try matching a 16876 "^" patter past the start of line. 16877 Files: src/regexp_nfa.c, src/regexp.h 16878 16879 Patch 7.3.1134 16880 Problem: Running test 49 takes a long time. 16881 Solution: Don't have it grep all files. 16882 Files: src/testdir/test49.vim 16883 16884 Patch 7.3.1135 16885 Problem: Compiler warning for unused argument. 16886 Solution: Add UNUSED. 16887 Files: src/syntax.c 16888 16889 Patch 7.3.1136 16890 Problem: ":func Foo" does not show attributes. 16891 Solution: Add "abort", "dict" and "range". (Yasuhiro Matsumoto) 16892 Files: src/eval.c 16893 16894 Patch 7.3.1137 16895 Problem: New regexp engine: collections are slow. 16896 Solution: Handle all characters in one go. 16897 Files: src/regexp_nfa.c 16898 16899 Patch 7.3.1138 16900 Problem: New regexp engine: neglist no longer used. 16901 Solution: Remove the now unused neglist. 16902 Files: src/regexp_nfa.c 16903 16904 Patch 7.3.1139 16905 Problem: New regexp engine: negated flag is hardly used. 16906 Solution: Add separate _NEG states, remove negated flag. 16907 Files: src/regexp_nfa.c, src/regexp.h 16908 16909 Patch 7.3.1140 16910 Problem: New regexp engine: trying expensive match while the result is not 16911 going to be used. 16912 Solution: Check for output state already being in the state list. 16913 Files: src/regexp_nfa.c 16914 16915 Patch 7.3.1141 16916 Problem: Win32: Check for available memory is not reliable and adds 16917 overhead. 16918 Solution: Remove mch_avail_mem(). (Mike Williams) 16919 Files: src/os_win32.c, src/os_win32.h 16920 16921 Patch 7.3.1142 16922 Problem: Memory leak in ":syntime report". 16923 Solution: Clear the grow array. (Dominique Pelle) 16924 Files: src/syntax.c 16925 16926 Patch 7.3.1143 16927 Problem: When mapping NUL it is displayed as an X. 16928 Solution: Check for KS_ZERO instead of K_ZERO. (Yasuhiro Matsumoto) 16929 Files: src/message.c 16930 16931 Patch 7.3.1144 16932 Problem: "RO" is not translated everywhere. 16933 Solution: Put inside _(). (Sergey Alyoshin) 16934 Files: src/buffer.c, src/screen.c 16935 16936 Patch 7.3.1145 16937 Problem: New regexp engine: addstate() is called very often. 16938 Solution: Optimize adding the start state. 16939 Files: src/regexp_nfa.c 16940 16941 Patch 7.3.1146 16942 Problem: New regexp engine: look-behind match not checked when followed by 16943 zero-width match. 16944 Solution: Do the look-behind match before adding the zero-width state. 16945 Files: src/regexp_nfa.c 16946 16947 Patch 7.3.1147 16948 Problem: New regexp engine: regstart is only used to find the first match. 16949 Solution: Use regstart whenever adding the start state. 16950 Files: src/regexp_nfa.c 16951 16952 Patch 7.3.1148 16953 Problem: No command line completion for ":syntime". 16954 Solution: Implement the completion. (Dominique Pelle) 16955 Files: runtime/doc/map.txt, src/ex_cmds.h, src/ex_docmd.c, 16956 src/ex_getln.c, src/proto/syntax.pro, src/syntax.c, src/vim.h 16957 16958 Patch 7.3.1149 16959 Problem: New regexp engine: Matching plain text could be faster. 16960 Solution: Detect a plain text match and handle it specifically. Add 16961 vim_regfree(). 16962 Files: src/regexp.c, src/regexp.h, src/regexp_nfa.c, 16963 src/proto/regexp.pro, src/buffer.c, src/edit.c, src/eval.c, 16964 src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, src/ex_eval.c, 16965 src/ex_getln.c, src/fileio.c, src/gui.c, src/misc1.c, src/misc2.c, 16966 src/option.c, src/syntax.c, src/quickfix.c, src/search.c, 16967 src/spell.c, src/tag.c, src/window.c, src/screen.c, src/macros.h, 16968 src/testdir/test64.in, src/testdir/test64.ok 16969 16970 Patch 7.3.1150 16971 Problem: New regexp engine: Slow when a look-behind match does not have a 16972 width specified. 16973 Solution: Try to compute the maximum width. 16974 Files: src/regexp_nfa.c 16975 16976 Patch 7.3.1151 16977 Problem: New regexp engine: Slow when a look-behind match is followed by a 16978 zero-width match. 16979 Solution: Postpone the look-behind match more often. 16980 Files: src/regexp_nfa.c 16981 16982 Patch 7.3.1152 16983 Problem: In tiny build ireg_icombine is undefined. (Tony Mechelynck) 16984 Solution: Add #ifdef. 16985 Files: src/regexp_nfa.c 16986 16987 Patch 7.3.1153 16988 Problem: New regexp engine: Some look-behind matches are very expensive. 16989 Solution: Postpone invisible matches further, until a match is almost found. 16990 Files: src/regexp_nfa.c 16991 16992 Patch 7.3.1154 16993 Problem: New regexp_nfa engine: Unnecessary code. 16994 Solution: Remove unnecessary code. 16995 Files: src/regexp_nfa.c 16996 16997 Patch 7.3.1155 16998 Problem: MS-DOS: "make test" uses external rmdir command. 16999 Solution: Rename "rmdir" to "rd". (Taro Muraoka) 17000 Files: src/testdir/Make_dos.mak 17001 17002 Patch 7.3.1156 17003 Problem: Compiler warnings. (dv1445) 17004 Solution: Initialize variables, even when the value isn't really used. 17005 Files: src/regexp_nfa.c, src/eval.c 17006 17007 Patch 7.3.1157 17008 Problem: New regexp engine fails on "\(\<command\)\@<=.*" 17009 Solution: Fix rule for postponing match. Further tune estimating whether 17010 postponing works better. Add test. 17011 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 17012 17013 Patch 7.3.1158 17014 Problem: Crash when running test 86. (Jun Takimoto) 17015 Solution: Define PY_SSIZE_T_CLEAN early. (Elimar Riesebieter) 17016 Files: src/if_python.c, src/if_python3.c 17017 17018 Patch 7.3.1159 17019 Problem: The round() function is not always available. (Christ van 17020 Willegen) 17021 Solution: Use the solution from f_round(). 17022 Files: src/ex_cmds2.c, src/eval.c, src/proto/eval.pro 17023 17024 Patch 7.3.1160 17025 Problem: Mixing long and pointer doesn't always work. 17026 Solution: Avoid cast to pointer. 17027 Files: src/undo.c 17028 17029 Patch 7.3.1161 17030 Problem: Python: PyList_SetItem() is inefficient. 17031 Solution: Use PyList_SET_ITEM() (ZyX) 17032 Files: src/if_py_both.h 17033 17034 Patch 7.3.1162 17035 Problem: Python: Memory leaks 17036 Solution: Add more Py_DECREF(). (ZyX) 17037 Files: src/if_py_both.h, src/if_python.c 17038 17039 Patch 7.3.1163 17040 Problem: Not easy to load Python modules. 17041 Solution: Search "python2", "python3" and "pythonx" directories in 17042 'runtimepath' for Python modules. (ZyX) 17043 Files: runtime/doc/if_pyth.txt, src/configure.in, src/ex_cmds2.c, 17044 src/if_py_both.h, src/if_python.c, src/if_python3.c, 17045 src/testdir/test86.in, src/testdir/test87.in, src/auto/configure 17046 17047 Patch 7.3.1164 17048 Problem: Can't test what is actually displayed on screen. 17049 Solution: Add the screenchar() and screenattr() functions. 17050 Files: src/eval.c, runtime/doc/eval.txt 17051 17052 Patch 7.3.1165 17053 Problem: HP-UX compiler can't handle zero size array. (Charles Cooper) 17054 Solution: Make the array one item big. 17055 Files: src/regexp.h, src/regexp_nfa.c 17056 17057 Patch 7.3.1166 17058 Problem: Loading Python modules is not tested. 17059 Solution: Enable commented-out tests, add missing files. (ZyX) 17060 Files: src/testdir/test86.in, src/testdir/test86.ok, 17061 src/testdir/test87.in, src/testdir/test87.ok, 17062 src/testdir/python2/module.py, src/testdir/python3/module.py, 17063 src/testdir/pythonx/module.py, src/testdir/pythonx/modulex.py, 17064 Filelist 17065 17066 Patch 7.3.1167 17067 Problem: Python configure check doesn't reject Python 2 when requesting 17068 Python 3. Some systems need -pthreads instead of -pthread. 17069 Solution: Adjust configure accordingly. (Andrei Olsen) 17070 Files: src/configure.in, src/auto/configure 17071 17072 Patch 7.3.1168 17073 Problem: Python "sane" configure checks give a warning message. 17074 Solution: Use single quotes instead of escaped double quotes. (Ben Fritz) 17075 Files: src/configure.in, src/auto/configure 17076 17077 Patch 7.3.1169 17078 Problem: New regexp engine: some work is done while executing a pattern, 17079 even though the result is predictable. 17080 Solution: Do the work while compiling the pattern. 17081 Files: src/regexp_nfa.c 17082 17083 Patch 7.3.1170 17084 Problem: Patch 7.3.1058 breaks backwards compatibility, not possible to use 17085 a function reference as a string. (lilydjwg) 17086 Solution: Instead of translating the function name only translate "s:". 17087 Files: src/eval.c 17088 17089 Patch 7.3.1171 17090 Problem: Check for digits and ascii letters can be faster. 17091 Solution: Use a trick with one comparison. (Dominique Pelle) 17092 Files: src/macros.h 17093 17094 Patch 7.3.1172 17095 Problem: Python 2: loading modules doesn't work well. 17096 Solution: Fix the code. Add more tests. (ZyX) 17097 Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python.c, 17098 src/testdir/python2/module.py, src/testdir/python3/module.py, 17099 src/testdir/python_after/after.py, 17100 src/testdir/python_before/before.py, src/testdir/test86.in, 17101 src/testdir/test86.ok, src/testdir/test87.in, 17102 src/testdir/test87.ok, Filelist 17103 17104 Patch 7.3.1173 17105 Problem: Python 2 tests don't have the same output everywhere. 17106 Solution: Make the Python 2 tests more portable. (ZyX) 17107 Files: src/testdir/test86.in, src/testdir/test86.ok 17108 17109 Patch 7.3.1174 17110 Problem: Python 2 and 3 use different ways to load modules. 17111 Solution: Use the same method. (ZyX) 17112 Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python3.c, 17113 src/if_python.c 17114 17115 Patch 7.3.1175 17116 Problem: Using isalpha() and isalnum() can be slow. 17117 Solution: Use range checks. (Mike Williams) 17118 Files: src/ex_docmd.c, src/macros.h 17119 17120 Patch 7.3.1176 17121 Problem: Compiler warnings on 64 bit system. 17122 Solution: Add type casts. (Mike Williams) 17123 Files: src/eval.c, src/if_py_both.h 17124 17125 Patch 7.3.1177 17126 Problem: Wasting memory on padding. 17127 Solution: Reorder struct fields. (Dominique Pelle) 17128 Files: src/structs.h, src/fileio.c 17129 17130 Patch 7.3.1178 17131 Problem: Can't put all Vim config files together in one directory. 17132 Solution: Load ~/.vim/vimrc if ~/.vimrc does not exist. (Lech Lorens) 17133 Files: runtime/doc/gui.txt, runtime/doc/starting.txt, src/gui.c, 17134 src/main.c, src/os_amiga.h, src/os_dos.h, src/os_unix.h 17135 17136 Patch 7.3.1179 17137 Problem: When a global mapping starts with the same characters as a 17138 buffer-local mapping Vim waits for a character to be typed to find 17139 out whether the global mapping is to be used. (Andy Wokula) 17140 Solution: Use the local mapping without waiting. (Michael Henry) 17141 Files: runtime/doc/map.txt, src/getchar.c 17142 17143 Patch 7.3.1180 17144 Problem: When current directory changes, path from cscope may no longer be 17145 valid. (AS Budden) 17146 Solution: Always store the absolute path. (Christian Brabandt) 17147 Files: src/if_cscope.c 17148 17149 Patch 7.3.1181 17150 Problem: Wrong error message for 1.0[0]. 17151 Solution: Check for funcref and float separately. (Yasuhiro Matsumoto) 17152 Files: src/eval.c 17153 17154 Patch 7.3.1182 17155 Problem: 'backupcopy' default on MS-Windows does not work for hard and soft 17156 links. 17157 Solution: Check for links. (David Pope, Ken Takata) 17158 Files: src/fileio.c, src/os_win32.c, src/proto/os_win32.pro 17159 17160 Patch 7.3.1183 17161 Problem: Python tests 86 and 87 fail. 17162 Solution: Add "empty" files. (ZyX) 17163 Files: src/testdir/python_before/before_1.py, 17164 src/testdir/python_before/before_2.py 17165 17166 Patch 7.3.1184 17167 Problem: Highlighting is sometimes wrong. (Axel Bender) 17168 Solution: Fetch regline again when returning from recursive regmatch. 17169 Files: src/regexp_nfa.c 17170 17171 Patch 7.3.1185 17172 Problem: New regexp engine: no match with ^ after \n. (SungHyun Nam) 17173 Solution: Fix it, add a test. 17174 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 17175 17176 Patch 7.3.1186 17177 Problem: Python 3: test 87 may crash. 17178 Solution: Use _PyArg_Parse_SizeT instead of PyArg_Parse. (Jun Takimoto) 17179 Files: src/if_python3.c 17180 17181 Patch 7.3.1187 (after 7.3.1170) 17182 Problem: "s:" is recognized but "<SID>" is not. (ZyX) 17183 Solution: Translate "<SID>" like "s:". 17184 Files: src/eval.c 17185 17186 Patch 7.3.1188 17187 Problem: Newline characters messing up error message. 17188 Solution: Remove the newlines. (Kazunobu Kuriyama) 17189 Files: src/gui_x11.c 17190 17191 Patch 7.3.1189 (after 7.3.1185) 17192 Problem: Highlighting is still wrong sometimes. (Dominique Pelle) 17193 Solution: Also restore reginput properly. 17194 Files: src/regexp_nfa.c 17195 17196 Patch 7.3.1190 17197 Problem: Compiler warning for parentheses. (Christian Wellenbrock) 17198 Solution: Change #ifdef. 17199 Files: src/ex_docmd.c 17200 17201 Patch 7.3.1191 17202 Problem: Backreference to previous line doesn't work. (Lech Lorens) 17203 Solution: Implement looking in another line. 17204 Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in, 17205 src/testdir/test64.ok 17206 17207 Patch 7.3.1192 17208 Problem: Valgrind reports errors when using backreferences. (Dominique 17209 Pelle) 17210 Solution: Do not check the end of submatches. 17211 Files: src/regexp_nfa.c 17212 17213 Patch 7.3.1193 17214 Problem: fail_if_missing not used for Python 3. 17215 Solution: Give an error when Python 3 can't be configured. (Andrei Olsen) 17216 Files: src/configure.in, src/auto/configure 17217 17218 Patch 7.3.1194 17219 Problem: Yaml highlighting is slow. 17220 Solution: Tune the estimation of pattern failure chance. 17221 Files: src/regexp_nfa.c 17222 17223 Patch 7.3.1195 17224 Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) 17225 Solution: Set the length to the matching backref. 17226 Files: src/regexp.c 17227 17228 Patch 7.3.1196 17229 Problem: Old regexp engine does not match pattern with backref correctly. 17230 (Dominique Pelle) 17231 Solution: Fix setting status. Test multi-line patterns better. 17232 Files: src/regexp.c, src/testdir/test64.in, src/testdir/test64.ok 17233 17234 Patch 7.3.1197 17235 Problem: ":wviminfo!" does not write history previously read from a viminfo 17236 file. (Roland Eggner) 17237 Solution: When not merging history write all entries. 17238 Files: src/ex_cmds.c, src/ex_getln.c, src/proto/ex_getln.pro 17239 17240 Patch 7.3.1198 17241 Problem: Build error when using Perl 5.18.0 and dynamic loading. 17242 Solution: Change #ifdefs for Perl_croak_xs_usage. (Ike Devolder) 17243 Files: src/if_perl.xs 17244 17245 Patch 7.3.1199 17246 Problem: When evaluating 'foldexpr' causes an error this is silently 17247 ignored and evaluation is retried every time. 17248 Solution: Set emsg_silent instead of emsg_off. Stop evaluating 'foldexpr' is 17249 it is causing errors. (Christian Brabandt) 17250 Files: src/fold.c 17251 17252 Patch 7.3.1200 17253 Problem: When calling setline() from Insert mode, using CTRL-R =, undo does 17254 not work properly. (Israel Chauca) 17255 Solution: Sync undo after evaluating the expression. (Christian Brabandt) 17256 Files: src/edit.c, src/testdir/test61.in, src/testdir/test61.ok 17257 17258 Patch 7.3.1201 17259 Problem: When a startup script creates a preview window, it probably 17260 becomes the current window. 17261 Solution: Make another window the current one. (Christian Brabandt) 17262 Files: src/main.c 17263 17264 Patch 7.3.1202 (after 7.3.660) 17265 Problem: Tags are not found in case-folded tags file. (Darren cole, Issue 17266 90) 17267 Solution: Take into account that when case folding was used for the tags 17268 file "!rm" sorts before the "!_TAG" header lines. 17269 Files: src/tag.c 17270 17271 Patch 7.3.1203 17272 Problem: Matches from matchadd() might be highlighted incorrectly when they 17273 are at a fixed position and inserting lines. (John Szakmeister) 17274 Solution: Redraw all lines below a change if there are highlighted matches. 17275 (idea by Christian Brabandt) 17276 Files: src/screen.c 17277 17278 Patch 7.3.1204 17279 Problem: Calling gettabwinvar() in 'tabline' cancels Visual mode. (Hirohito 17280 Higashi) 17281 Solution: Don't always use goto_tabpage_tp(). 17282 Files: src/window.c, src/proto/window.pro, src/eval.c, src/if_py_both.h 17283 17284 Patch 7.3.1205 17285 Problem: logtalk.dict is not removed on uninstall. 17286 Solution: Remove the file. (Kazunobu Kuriyama) 17287 Files: src/Makefile 17288 17289 Patch 7.3.1206 17290 Problem: Inconsistent function argument declarations. 17291 Solution: Use ANSI style. 17292 Files: src/if_py_both.h 17293 17294 Patch 7.3.1207 17295 Problem: New regexp engine: no match found on "#if FOO". (Lech Lorens) 17296 Solution: When adding a state gets skipped don't adjust the index. 17297 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 17298 17299 Patch 7.3.1208 17300 Problem: Compiler warnings on MS-Windows. 17301 Solution: Add type cast. Move variable declaration. (Mike Williams) 17302 Files: src/option.c, src/os_mswin.c 17303 17304 Patch 7.3.1209 17305 Problem: No completion for ":tabdo". 17306 Solution: Add tabdo to the list of modifiers. (Dominique Pelle) 17307 Files: src/ex_docmd.c 17308 17309 Patch 7.3.1210 (after 7.3.1182) 17310 Problem: 'backupcopy' default on MS-Windows is wrong when 'encoding' equals 17311 the current codepage. 17312 Solution: Change the #else block. (Ken Takata) 17313 Files: src/os_win32.c 17314 17315 Patch 7.3.1211 17316 Problem: MS-Windows: When 'encoding' differs from the current codepage 17317 ":hardcopy" does not work properly. 17318 Solution: Use TextOutW() and SetDlgItemTextW(). (Ken Takata) 17319 Files: src/os_mswin.c, src/vim.rc 17320 17321 Patch 7.3.1212 17322 Problem: "make test" on MS-Windows does not report failure like Unix does. 17323 Solution: Make it work like on Unix. (Taro Muraoka) 17324 Files: src/testdir/Make_dos.mak 17325 17326 Patch 7.3.1213 17327 Problem: Can't build with small features and Python. 17328 Solution: Adjust #ifdefs. 17329 Files: src/eval.c, src/buffer.c, src/eval.c, src/window.c 17330 17331 Patch 7.3.1214 17332 Problem: Missing declaration for init_users() and realloc_post_list(). 17333 (Salman Halim) 17334 Solution: Add the declarations. 17335 Files: src/misc1.c, src/regexp_nfa.c 17336 17337 Patch 7.3.1215 17338 Problem: Compiler warning for function not defined. 17339 Solution: Add #ifdef. 17340 Files: src/misc1.c 17341 17342 Patch 7.3.1216 17343 Problem: Configure can't find Motif on Ubuntu. 17344 Solution: Search for libXm in /usr/lib/*-linux-gnu. 17345 Files: src/configure.in, src/auto/configure 17346 17347 Patch 7.3.1217 17348 Problem: New regexp engine: Can't handle \%[[ao]]. (Yukihiro Nakadaira) 17349 Solution: Support nested atoms inside \%[]. 17350 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 17351 17352 Patch 7.3.1218 17353 Problem: "make test" on MS-Windows does not clean all temporary files and 17354 gives some unnecessary message. 17355 Solution: Clean the right files. Create .failed files. (Ken Takata) 17356 Files: src/testdir/Make_dos.mak 17357 17358 Patch 7.3.1219 17359 Problem: No test for using []] inside \%[]. 17360 Solution: Add a test. 17361 Files: src/testdir/test64.in, src/testdir/test64.ok 17362 17363 Patch 7.3.1220 17364 Problem: MS-Windows: When using wide font italic and bold are not included. 17365 Solution: Support wide-bold, wide-italic and wide-bold-italic. (Ken Takata, 17366 Taro Muraoka) 17367 Files: src/gui.c, src/gui.h, src/gui_w48.c 17368 17369 Patch 7.3.1221 17370 Problem: When build flags change "make distclean" run into a configure 17371 error. 17372 Solution: When CFLAGS changes delete auto/config.cache. Also avoid adding 17373 duplicate text to flags. (Ken Takata) 17374 Files: src/Makefile, src/configure.in, src/auto/configure 17375 17376 Patch 7.3.1222 17377 Problem: Cannot execute some tests from the src directly. 17378 Solution: Add missing targets. 17379 Files: src/Makefile 17380 17381 Patch 7.3.1223 17382 Problem: Tests fail on MS-Windows. 17383 Solution: Avoid depending on OS version. Use DOS commands instead of Unix 17384 commands. (Taro Muraoka, Ken Takata) 17385 Files: src/testdir/test17.in, src/testdir/test50.in, 17386 src/testdir/test71.in, src/testdir/test77.in 17387 17388 Patch 7.3.1224 17389 Problem: Clang gives warnings on xxd. 17390 Solution: Change how to use part of a string. (Dominique Pelle) Also avoid 17391 warning for return not reached. 17392 Files: src/xxd/xxd.c, src/regexp_nfa.c 17393 17394 Patch 7.3.1225 17395 Problem: Compiler warnings when building with Motif. 17396 Solution: Change set_label() argument. (Kazunobu Kuriyama) 17397 Files: src/gui_motif.c 17398 17399 Patch 7.3.1226 17400 Problem: Python: duplicate code. 17401 Solution: Share code between OutputWrite() and OutputWritelines(). (ZyX) 17402 Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok 17403 17404 Patch 7.3.1227 17405 Problem: Inconsistent string conversion. 17406 Solution: Use 'encoding' instead of utf-8. Use METH_O in place of 17407 METH_VARARGS where appropriate. (ZyX) 17408 Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok 17409 17410 Patch 7.3.1228 17411 Problem: Python: various inconsistencies and problems. 17412 Solution: StringToLine now supports both bytes() and unicode() objects. 17413 Make function names consistent. Fix memory leak fixed in 17414 StringToLine. (ZyX) 17415 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c 17416 17417 Patch 7.3.1229 17418 Problem: Python: not so easy to delete/restore translating. 17419 Solution: Make macros do translation of exception messages. (ZyX) 17420 Note: this breaks translations! 17421 Files: src/if_py_both.h, src/if_python3.c 17422 17423 Patch 7.3.1230 17424 Problem: Python: Exception messages are not clear. 17425 Solution: Make exception messages more verbose. (ZyX) 17426 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c, 17427 src/testdir/test86.ok, src/testdir/test87.ok 17428 17429 Patch 7.3.1231 17430 Problem: Python: use of numbers not consistent. 17431 Solution: Add support for Number protocol. (ZyX) 17432 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c, 17433 src/testdir/test86.ok, src/testdir/test87.ok 17434 17435 Patch 7.3.1232 17436 Problem: Python: inconsistencies in variable names. 17437 Solution: Rename variables. (ZyX) 17438 Files: src/eval.c, src/if_py_both.h 17439 17440 Patch 7.3.1233 17441 Problem: Various Python problems. 17442 Solution: Fix VimTryEnd. Crash with debug build and PYTHONDUMPREFS=1. Memory 17443 leaks in StringToLine(), BufferMark() and convert_dl. (ZyX) 17444 Files: src/if_py_both.h, src/testdir/test86.in, src/testdir/test86.ok, 17445 src/testdir/test87.in, src/testdir/test87.ok 17446 17447 Patch 7.3.1234 (after 7.3.1229) 17448 Problem: Python: Strings are not marked for translation. 17449 Solution: Add N_() where appropriate. (ZyX) 17450 Files: src/if_py_both.h 17451 17452 Patch 7.3.1235 17453 Problem: In insert mode CTRL-] is not inserted, on the command-line it is. 17454 Solution: Don't insert CTRL-] on the command line. (Yukihiro Nakadaira) 17455 Files: src/ex_getln.c 17456 17457 Patch 7.3.1236 17458 Problem: Python: WindowSetattr() missing support for NUMBER_UNSIGNED. 17459 Solution: Add NUMBER_UNSIGNED, add more tests. Various fixes. (ZyX) 17460 Files: src/if_py_both.h, src/if_python3.c, src/if_python.c, 17461 src/testdir/pythonx/failing.py, 17462 src/testdir/pythonx/failing_import.py, src/testdir/test86.in, 17463 src/testdir/test86.ok, src/testdir/test87.in, 17464 src/testdir/test87.ok, src/testdir/pythonx/topmodule/__init__.py, 17465 src/testdir/pythonx/topmodule/submodule/__init__.py, 17466 src/testdir/pythonx/topmodule/submodule/subsubmodule/__init__.py, 17467 src/testdir/pythonx/topmodule/submodule/subsubmodule/subsubsubmodule.py 17468 17469 Patch 7.3.1237 17470 Problem: Python: non-import errors not handled correctly. 17471 Solution: Let non-ImportError exceptions pass the finder. (ZyX) 17472 Files: src/if_py_both.h, src/testdir/test86.ok, src/testdir/test87.ok 17473 17474 Patch 7.3.1238 17475 Problem: Crash in Python interface on 64 bit machines. 17476 Solution: Change argument type of PyString_AsStringAndSize. (Taro Muraoka, 17477 Jun Takimoto) 17478 Files: src/if_python.c 17479 17480 Patch 7.3.1239 17481 Problem: Can't build with Python and MSVC10. 17482 Solution: Move #if outside of macro. (Taro Muraoka) 17483 Files: src/if_py_both.h 17484 17485 Patch 7.3.1240 17486 Problem: Memory leak in findfile(). 17487 Solution: Free the memory. (Christian Brabandt) 17488 Files: src/eval.c 17489 17490 Patch 7.3.1241 (after 7.3.1236) 17491 Problem: Some test files missing from the distribution. 17492 Solution: Update the list of files. 17493 Files: Filelist 17494 17495 Patch 7.3.1242 17496 Problem: No failure when trying to use a number as a string. 17497 Solution: Give an error when StringToLine() is called with an instance of 17498 the wrong type. (Jun Takimoto) 17499 Files: src/if_py_both.h 17500 17501 Patch 7.3.1243 17502 Problem: New regexp engine: back references in look-behind match don't 17503 work. (Lech Lorens) 17504 Solution: Copy the submatches before a recursive match. Also fix function 17505 prototypes. 17506 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 17507 17508 Patch 7.3.1244 17509 Problem: MS-Windows: confirm() dialog text may not fit. 17510 Solution: Use GetTextWidthEnc() instead of GetTextWidth(). (Yasuhiro 17511 Matsumoto) 17512 Files: src/gui_w32.c 17513 17514 Patch 7.3.1245 17515 Problem: MS-Windows: confirm() dialog text may still not fit. 17516 Solution: Use GetTextWidthEnc() instead of GetTextWidth() in two more 17517 places. (Yasuhiro Matsumoto) 17518 Files: src/gui_w32.c 17519 17520 Patch 7.3.1246 17521 Problem: When setting 'winfixheight' and resizing the window causes the 17522 window layout to be wrong. 17523 Solution: Add frame_check_height() and frame_check_width() (Yukihiro 17524 Nakadaira) 17525 Files: src/window.c 17526 17527 Patch 7.3.1247 17528 Problem: New regexp engine: '[ ]\@!\p\%([ ]\@!\p\)*:' does not always match. 17529 Solution: When there is a PIM add a duplicate state that starts at another 17530 position. 17531 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 17532 17533 Patch 7.3.1248 17534 Problem: Still have old hacking code for Input Method. 17535 Solution: Add 'imactivatefunc' and 'imstatusfunc' as a generic solution to 17536 Input Method activation. (Yukihiro Nakadaira) 17537 Files: runtime/doc/options.txt, src/fileio.c, src/mbyte.c, src/option.c, 17538 src/option.h, src/proto/fileio.pro 17539 17540 Patch 7.3.1249 17541 Problem: Modeline not recognized when using "Vim" instead of "vim". 17542 Solution: Also accept "Vim". 17543 Files: src/buffer.c 17544 17545 Patch 7.3.1250 17546 Problem: Python tests fail on MS-Windows. 17547 Solution: Change backslashes to slashes. (Taro Muraoka) 17548 Files: src/testdir/test86.in, src/testdir/test87.in 17549 17550 Patch 7.3.1251 17551 Problem: Test 61 messes up viminfo. 17552 Solution: Specify a separate viminfo file. 17553 Files: src/testdir/test61.in 17554 17555 Patch 7.3.1252 17556 Problem: gvim does not find the toolbar bitmap files in ~/vimfiles/bitmaps 17557 if the corresponding menu command contains additional characters 17558 like the shortcut marker '&' or if you use a non-english locale. 17559 Solution: Use menu->en_dname or menu->dname. (Martin Gieseking) 17560 Files: src/gui_w32.c 17561 17562 Patch 7.3.1253 (after 7.3.1200) 17563 Problem: Still undo problem after using CTRL-R = setline(). (Hirohito 17564 Higashi) 17565 Solution: Set the ins_need_undo flag. 17566 Files: src/edit.c 17567 17568 Patch 7.3.1254 (after 7.3.1252) 17569 Problem: Can't build without the multi-lang feature. (John Marriott) 17570 Solution: Add #ifdef. 17571 Files: src/gui_w32.c 17572 17573 Patch 7.3.1255 17574 Problem: Clang warnings when building with Athena. 17575 Solution: Add type casts. (Dominique Pelle) 17576 Files: src/gui_at_fs.c 17577 17578 Patch 7.3.1256 17579 Problem: Can't build without eval or autocmd feature. 17580 Solution: Add #ifdefs. 17581 Files: src/mbyte.c, src/window.c 17582 17583 Patch 7.3.1257 17584 Problem: With GNU gettext() ":lang de_DE.utf8" does not always result in 17585 German messages. 17586 Solution: Clear the $LANGUAGE environment variable. 17587 Files: src/ex_cmds2.c 17588 17589 Patch 7.3.1258 17590 Problem: Using submatch() may crash Vim. (Ingo Karkat) 17591 Solution: Restore the number of subexpressions used. 17592 Files: src/regexp_nfa.c 17593 17594 Patch 7.3.1259 17595 Problem: No test for patch 7.3.1258 17596 Solution: Add a test entry. 17597 Files: src/testdir/test64.in, src/testdir/test64.ok 17598 17599 Patch 7.3.1260 17600 Problem: User completion does not get the whole command line in the command 17601 line window. 17602 Solution: Pass on the whole command line. (Daniel Thau) 17603 Files: src/ex_getln.c, src/structs.h 17604 17605 Patch 7.3.1261 (after patch 7.3.1179) 17606 Problem: A buffer-local language mapping from a keymap stops a global 17607 insert mode mapping from working. (Ron Aaron) 17608 Solution: Do not wait for more characters to be typed only when the mapping 17609 was defined with <nowait>. 17610 Files: runtime/doc/map.txt, src/eval.c, src/getchar.c, 17611 src/testdir/test75.in, src/testdir/test75.ok 17612 17613 Patch 7.3.1262 17614 Problem: Crash and compilation warnings with Cygwin. 17615 Solution: Check return value of XmbTextListToTextProperty(). Add type casts. 17616 Adjust #ifdefs. (Lech Lorens) 17617 Files: src/main.c, src/os_unix.c, src/ui.c 17618 17619 Patch 7.3.1263 17620 Problem: Typo in short option name. 17621 Solution: Change "imse" to "imsf". 17622 Files: src/option.c 17623 17624 Patch 7.3.1264 (after 7.3.1261) 17625 Problem: Missing m_nowait. 17626 Solution: Include missing part of the patch. 17627 Files: src/structs.h 17628 17629 Patch 7.3.1265 (after 7.3.1249) 17630 Problem: Accepting "Vim:" for a modeline causes errors too often. 17631 Solution: Require "Vim:" to be followed by "set". 17632 Files: src/buffer.c 17633 17634 Patch 7.3.1266 17635 Problem: QNX: GUI fails to start. 17636 Solution: Remove the QNX-specific #ifdef. (Sean Boudreau) 17637 Files: src/gui.c 17638 17639 Patch 7.3.1267 17640 Problem: MS-Windows ACL support doesn't work well. 17641 Solution: Implement more ACL support. (Ken Takata) 17642 Files: src/os_win32.c 17643 17644 Patch 7.3.1268 17645 Problem: ACL support doesn't work when compiled with MingW. 17646 Solution: Support ACL on MingW. (Ken Takata) 17647 Files: src/os_win32.c, src/os_win32.h 17648 17649 Patch 7.3.1269 17650 Problem: Insert completion keeps entry selected even though the list has 17651 changed. (Olivier Teuliere) 17652 Solution: Reset compl_shown_match and compl_curr_match. (Christian Brabandt) 17653 Files: src/edit.c 17654 17655 Patch 7.3.1270 17656 Problem: Using "Vp" in an empty buffer can't be undone. (Hauke Petersen) 17657 Solution: Save one line in an empty buffer. (Christian Brabandt) 17658 Files: src/ops.c 17659 17660 Patch 7.3.1271 (after 7.3.1260) 17661 Problem: Command line completion does not work. 17662 Solution: Move setting xp_line down. (Daniel Thau) 17663 Files: src/ex_getln.c 17664 17665 Patch 7.3.1272 17666 Problem: Crash when editing Ruby file. (Aliaksandr Rahalevich) 17667 Solution: Reallocate the state list when necessary. 17668 Files: src/regexp_nfa.c 17669 17670 Patch 7.3.1273 17671 Problem: When copying a location list the index might be wrong. 17672 Solution: Set the index to one when using the first entry. (Lech Lorens) 17673 Files: src/quickfix.c 17674 17675 Patch 7.3.1274 17676 Problem: When selecting an entry from a location list it may pick an 17677 arbitrary window or open a new one. 17678 Solution: Prefer using a window related to the location list. (Lech Lorens) 17679 Files: src/quickfix.c 17680 17681 Patch 7.3.1275 17682 Problem: "gn" does not work when the match is a single character. 17683 Solution: Fix it, add a test. (Christian Brabandt) 17684 Files: src/search.c, src/testdir/test53.in, src/testdir/test53.ok 17685 17686 Patch 7.3.1276 17687 Problem: When using a cscope connection resizing the window may send 17688 SIGWINCH to cscope and it quits. 17689 Solution: Call setpgid(0, 0) in the child process. (Narendran Gopalakrishnan) 17690 Files: src/if_cscope.c 17691 17692 Patch 7.3.1277 17693 Problem: In diff mode 'cursorline' also draws in the non-active window. 17694 When 'nu' and 'sbr' are set the 'sbr' string is not underlined. 17695 Solution: Only draw the cursor line in the current window. Combine the 17696 'cursorline' and other highlighting attributes. (Christian 17697 Brabandt) 17698 Files: src/screen.c 17699 17700 Patch 7.3.1278 17701 Problem: When someone sets the screen size to a huge value with "stty" Vim 17702 runs out of memory before reducing the size. 17703 Solution: Limit Rows and Columns in more places. 17704 Files: src/gui.c, src/gui_gtk_x11.c, src/option.c, src/os_unix.c, 17705 src/proto/term.pro, src/term.c 17706 17707 Patch 7.3.1279 17708 Problem: Compiler warning for variable uninitialized. (Tony Mechelynck) 17709 Solution: Add an init. 17710 Files: src/ex_getln.c 17711 17712 Patch 7.3.1280 17713 Problem: Reading memory already freed since patch 7.3.1247. (Simon 17714 Ruderich, Dominique Pelle) 17715 Solution: Copy submatches before reallocating the state list. 17716 Files: src/regexp_nfa.c 17717 17718 Patch 7.3.1281 17719 Problem: When 'ttymouse' is set to "xterm2" clicking in column 123 moves 17720 the cursor to column 96. (Kevin Goodsell) 17721 Solution: Decode KE_CSI. 17722 Files: src/term.c 17723 17724 Patch 7.3.1282 (after 7.3.1277) 17725 Problem: 'cursorline' not drawn in any other window. (Charles Campbell) 17726 Solution: Do draw the cursor line in other windows. 17727 Files: src/screen.c 17728 17729 Patch 7.3.1283 17730 Problem: Test 71 fails on MS-Windows. 17731 Solution: Put the binary data in a separate file. (Ken Takata) 17732 Files: src/testdir/test71.in, src/testdir/test71a.in 17733 17734 Patch 7.3.1284 17735 Problem: Compiler warnings in MS-Windows clipboard handling. 17736 Solution: Add type casts. (Ken Takata) 17737 Files: src/winclip.c 17738 17739 Patch 7.3.1285 17740 Problem: No tests for picking a window when selecting an entry in a 17741 location list. Not picking the right window sometimes. 17742 Solution: Add test 96. Set usable_win appropriately. (Lech Lorens) 17743 Files: src/quickfix.c, src/testdir/Makefile, src/testdir/test96.in, 17744 src/testdir/test96.ok, src/testdir/Make_amiga.mak, 17745 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 17746 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms 17747 17748 Patch 7.3.1286 17749 Problem: Check for screen size missing for Athena and Motif. 17750 Solution: Add call to limit_screen_size(). 17751 Files: src/gui_x11.c 17752 17753 Patch 7.3.1287 17754 Problem: Python SystemExit exception is not handled properly. 17755 Solution: Catch the exception and give an error. (Yasuhiro Matsumoto, Ken 17756 Takata) 17757 Files: runtime/doc/if_pyth.txt, src/if_py_both.h, src/if_python.c, 17758 src/if_python3.c 17759 17760 Patch 7.3.1288 17761 Problem: The first ":echo 'hello'" command output doesn't show. Mapping 17762 for <S-F3> gets triggered during startup. 17763 Solution: Add debugging code for the termresponse. When receiving the "Co" 17764 entry and when setting 'ambiwidth' redraw right away if possible. 17765 Add redraw_asap(). Don't set 'ambiwidth' if it already had the 17766 right value. Do the 'ambiwidth' check in the second row to avoid 17767 confusion with <S-F3>. 17768 Files: src/term.c, src/screen.c, src/proto/screen.pro 17769 17770 Patch 7.3.1289 17771 Problem: Get GLIB warning when removing a menu item. 17772 Solution: Reference menu-id and also call gtk_container_remove(). (Ivan 17773 Krasilnikov) 17774 Files: src/gui_gtk.c 17775 17776 Patch 7.3.1290 (after 7.3.1253) 17777 Problem: CTRL-R = in Insert mode changes the start of the insert position. 17778 (Ingo Karkat) 17779 Solution: Only break undo, don't start a new insert. 17780 Files: src/edit.c 17781 17782 Patch 7.3.1291 (after 7.3.1288) 17783 Problem: Compiler warnings for uninitialized variables. (Tony Mechelynck) 17784 Solution: Initialize the variables. 17785 Files: src/screen.c 17786 17787 Patch 7.3.1292 17788 Problem: Possibly using invalid pointer when searching for window. (Raichoo) 17789 Solution: Use "firstwin" instead of "tp_firstwin" for current tab. 17790 Files: src/window.c 17791 17792 Patch 7.3.1293 17793 Problem: Put in empty buffer cannot be undone. 17794 Solution: Save one more line for undo. (Ozaki) 17795 Files: src/ops.c 17796 17797 Patch 7.3.1294 17798 Problem: ":diffoff" resets options. 17799 Solution: Save and restore option values. (Christian Brabandt) 17800 Files: src/diff.c, src/structs.h, src/option.c 17801 17802 Patch 7.3.1295 17803 Problem: glob() and globpath() do not handle escaped special characters 17804 properly. 17805 Solution: Handle escaped characters differently. (Adnan Zafar) 17806 Files: src/testdir/Makefile, src/testdir/test97.in, 17807 src/testdir/test97.ok, src/testdir/Make_amiga.mak, 17808 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 17809 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, src/fileio.c, 17810 src/misc1.c 17811 17812 Patch 7.3.1296 17813 Problem: Only MS-Windows limits the GUI window size to what fits on the 17814 monitor. 17815 Solution: Limit the size for all systems. (Daniel Harding) 17816 Files: src/ui.c 17817 17818 Patch 7.3.1297 17819 Problem: findfile() directory matching does not work when a star follows 17820 text. (Markus Braun) 17821 Solution: Make a wildcard work properly. (Christian Brabandt) 17822 Files: src/misc2.c, src/testdir/test89.in, src/testdir/test89.ok 17823 17824 Patch 7.3.1298 (after 7.3.1297) 17825 Problem: Crash. 17826 Solution: Use STRCPY() instead of STRCAT() and allocate one more byte. 17827 Files: src/misc2.c 17828 17829 Patch 7.3.1299 17830 Problem: Errors when doing "make proto". Didn't do "make depend" for a 17831 while. 17832 Solution: Add #ifdefs. Update dependencies. Update proto files. 17833 Files: src/if_python3.c, src/os_win32.c, src/Makefile, 17834 src/proto/ex_docmd.pro, src/proto/if_python.pro, 17835 src/proto/if_python3.pro, src/proto/gui_w16.pro, 17836 src/proto/gui_w32.pro, src/proto/os_win32.pro 17837 17838 Patch 7.3.1300 17839 Problem: Mac: tiny and small build fails. 17840 Solution: Don't include os_macosx.m in tiny build. Include mouse support in 17841 small build. (Kazunobu Kuriyama) 17842 Files: src/configure.in, src/auto/configure, src/vim.h 17843 17844 Patch 7.3.1301 17845 Problem: Some tests fail on MS-Windows. 17846 Solution: Fix path separators in test 89 and 96. Omit test 97, escaping 17847 works differently. Make findfile() work on MS-Windows. 17848 Files: src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 17849 src/testdir/Make_os2.mak, src/testdir/test89.in, 17850 src/testdir/test96.in, src/misc2.c 17851 17852 Patch 7.3.1302 17853 Problem: Test 17 fails on MS-Windows. Includes line break in file name 17854 everywhere. 17855 Solution: Fix 'fileformat'. Omit CR-LF from a line read from an included 17856 file. 17857 Files: src/search.c, src/testdir/test17.in, src/testdir/test17.ok 17858 17859 Patch 7.3.1303 (after 7.3.1290) 17860 Problem: Undo is synced whenever CTRL-R = is called, breaking some plugins. 17861 Solution: Only break undo when calling setline() or append(). 17862 Files: src/globals.h, src/eval.c, src/edit.c, src/testdir/test61.in, 17863 src/testdir/test61.ok 17864 17865 Patch 7.3.1304 17866 Problem: Test 89 still fails on MS-Windows. 17867 Solution: Set 'shellslash'. (Taro Muraoka) 17868 Files: src/testdir/test89.in 17869 17870 Patch 7.3.1305 17871 Problem: Warnings from 64 bit compiler. 17872 Solution: Add type casts. 17873 Files: src/misc2.c 17874 17875 Patch 7.3.1306 17876 Problem: When redrawing the screen during startup the intro message may be 17877 cleared. 17878 Solution: Redisplay the intro message when appropriate. 17879 Files: src/screen.c, src/version.c, src/proto/version.pro 17880 17881 Patch 7.3.1307 17882 Problem: MS-Windows build instructions are outdated. 17883 Solution: Adjust for building on Windows 7. Drop Windows 95/98/ME support. 17884 Files: Makefile, nsis/gvim.nsi 17885 17886 Patch 7.3.1308 17887 Problem: Typos in MS-Windows build settings and README. 17888 Solution: Minor changes to MS-Windows files. 17889 Files: src/msvc2008.bat, src/msvc2010.bat, src/VisVim/README_VisVim.txt 17890 17891 Patch 7.3.1309 17892 Problem: When a script defines a function the flag to wait for the user to 17893 hit enter is reset. 17894 Solution: Restore the flag. (Yasuhiro Matsumoto) Except when the user was 17895 typing the function. 17896 Files: src/eval.c 17897 17898 Patch 7.3.1310 17899 Problem: Typos in nsis script. Can use better compression. 17900 Solution: Fix typos. Use lzma compression. (Ken Takata) 17901 Files: nsis/gvim.nsi 17902 17903 Patch 7.3.1311 17904 Problem: Compiler warnings on Cygwin. 17905 Solution: Add type casts. Add windows include files. (Ken Takata) 17906 Files: src/mbyte.c, src/ui.c 17907 17908 Patch 7.3.1312 (after 7.3.1287) 17909 Problem: Not giving correct error messages for SystemExit(). 17910 Solution: Move E858 into an else. (Ken Takata) 17911 Files: src/if_py_both.h 17912 17913 Patch 7.3.1313 17914 Problem: :py and :py3 don't work when compiled with Cygwin or MingW with 64 17915 bit. 17916 Solution: Add -DMS_WIN64 to the build command. (Ken Takata) 17917 Files: src/Make_cyg.mak, src/Make_ming.mak 17918 17919 Patch 7.3.1314 17920 Problem: Test 87 fails with Python 3.3. 17921 Solution: Filter the error messages. (Taro Muraoka) 17922 Files: src/testdir/test87.in 17923 17924 Patch 7.4a.001 17925 Problem: Script to update syntax menu is outdated. 17926 Solution: Add the missing items. 17927 Files: runtime/makemenu.vim 17928 17929 Patch 7.4a.002 17930 Problem: Valgrind errors in test 89. (Simon Ruderich) 17931 Solution: Allocate one more byte. (Dominique Pelle) 17932 Files: src/misc2.c 17933 17934 Patch 7.4a.003 17935 Problem: Copyright year is outdated. 17936 Solution: Only use the first year. 17937 Files: src/vim.rc, src/vim16.rc 17938 17939 Patch 7.4a.004 17940 Problem: MSVC 2012 Update 3 is not recognized. 17941 Solution: Add the version number. (Raymond Ko) 17942 Files: src/Make_mvc.mak 17943 17944 Patch 7.4a.005 17945 Problem: Scroll binding causes unexpected scroll. 17946 Solution: Store the topline after updating scroll binding. Add a test. 17947 (Lech Lorens) 17948 Files: src/testdir/test98.in, src/testdir/test98a.in, 17949 src/testdir/test98.ok, src/option.c, src/testdir/Make_amiga.mak, 17950 src/testdir/Make_dos.mak, src/testdir/Make_ming.mak, 17951 src/testdir/Make_os2.mak, src/testdir/Make_vms.mms, 17952 src/testdir/Makefile 17953 17954 Patch 7.4a.006 17955 Problem: Failure in po file check goes unnoticed. 17956 Solution: Fail "make test" if the po file check fails. 17957 Files: src/Makefile 17958 17959 Patch 7.4a.007 17960 Problem: After "g$" with 'virtualedit' set, "k" moves to a different 17961 column. (Dimitar Dimitrov) 17962 Solution: Set w_curswant. (Christian Brabandt) 17963 Files: src/normal.c 17964 17965 Patch 7.4a.008 17966 Problem: Python 3 doesn't handle multibyte characters properly when 17967 'encoding' is not utf-8. 17968 Solution: Use PyUnicode_Decode() instead of PyUnicode_FromString(). (Ken 17969 Takata) 17970 Files: src/if_python3.c 17971 17972 Patch 7.4a.009 17973 Problem: Compiler warnings for function prototypes. 17974 Solution: Add "void". Move list_features() prototype. (Ken Takata) 17975 Files: src/gui_w48.c, src/if_py_both.h, src/version.c 17976 17977 Patch 7.4a.010 17978 Problem: Test 86 and 87 fail when building with Python or Python 3 and 17979 using a static library. 17980 Solution: Add configure check to add -fPIE compiler flag. 17981 Files: src/configure.in, src/auto/configure 17982 17983 Patch 7.4a.011 17984 Problem: Configure check for Python 3 config name isn't right. 17985 Solution: Always include vi_cv_var_python3_version. (Tim Harder) 17986 Files: src/configure.in, src/auto/configure 17987 17988 Patch 7.4a.012 17989 Problem: "make test" fails when using a shadow directory. 17990 Solution: Create links for files in src/po. (James McCoy) 17991 Files: src/Makefile 17992 17993 Patch 7.4a.013 17994 Problem: Setting/resetting 'lbr' in the main help file changes alignment 17995 after a Tab. (Dimitar Dimitrov) 17996 Solution: Also use the code for conceal mode where n_extra is computed for 17997 'lbr'. 17998 Files: src/screen.c, src/testdir/test88.in, src/testdir/test88.ok 17999 18000 Patch 7.4a.014 18001 Problem: Test 86 and 89 have a problem with using a shadow dir. 18002 Solution: Adjust for the different directory structure. (James McCoy) 18003 Files: src/testdir/test89.in, src/testdir/test86.in, src/Makefile 18004 18005 Patch 7.4a.015 18006 Problem: No Japanese man pages. 18007 Solution: Add Japanese translations of man pages. (Ken Takata, Yukihiro 18008 Nakadaira, et al.) 18009 Files: Filelist, src/Makefile, runtime/doc/evim-ja.UTF-8.1, 18010 runtime/doc/vim-ja.UTF-8.1, runtime/doc/vimdiff-ja.UTF-8.1, 18011 runtime/doc/vimtutor-ja.UTF-8.1, runtime/doc/xxd-ja.UTF-8.1 18012 18013 Patch 7.4a.016 (after 7.4a.014) 18014 Problem: Features enabled in Makefile. 18015 Solution: Undo accidental changes. 18016 Files: src/Makefile 18017 18018 Patch 7.4a.017 18019 Problem: When 'foldmethod' is "indent", using ">>" on a line just above a 18020 fold makes the cursor line folded. (Evan Laforge) 18021 Solution: Call foldOpenCursor(). (Christian Brabandt) 18022 Files: src/ops.c 18023 18024 Patch 7.4a.018 18025 Problem: Compiler warning for code unreachable. (Charles Campbell) 18026 Solution: Use "while" instead of endless loop. Change break to continue. 18027 Files: src/regexp_nfa.c, src/ui.c 18028 18029 Patch 7.4a.019 18030 Problem: Invalid closing parenthesis in test 62. Command truncated at 18031 double quote. 18032 Solution: Remove the parenthesis. Change double quote to ''. (ZyX) 18033 Files: src/testdir/test62.in, src/testdir/test62.ok 18034 18035 Patch 7.4a.020 18036 Problem: Superfluous mb_ptr_adv(). 18037 Solution: Remove the call. (Dominique Pelle) 18038 Files: src/regexp_nfa.c 18039 18040 Patch 7.4a.021 18041 Problem: Using feedkeys() doesn't always work. 18042 Solution: Omit feedkeys(). (Ken Takata) 18043 Files: src/testdir/test98a.in 18044 18045 Patch 7.4a.022 18046 Problem: Using "d2g$" does not delete the last character. (ZyX) 18047 Solution: Set the "inclusive" flag properly. 18048 Files: src/normal.c 18049 18050 Patch 7.4a.023 (after 7.4a.019) 18051 Problem: Still another superfluous parenthesis. (ZyX) 18052 Solution: Remove it. 18053 Files: src/testdir/test62.in 18054 18055 Patch 7.4a.024 18056 Problem: X11 GUI: Checking icon height twice. 18057 Solution: Check height and width. (Dominique Pelle) 18058 Files: src/gui_x11.c 18059 18060 Patch 7.4a.025 18061 Problem: Get the press-Enter prompt even after using :redraw. 18062 Solution: Clear need_wait_return when executing :redraw. 18063 Files: src/ex_docmd.c 18064 18065 Patch 7.4a.026 18066 Problem: ":diffoff" does not remove folds. (Ramel) 18067 Solution: Do not restore 'foldenable' when 'foldmethod' is "manual". 18068 Files: src/diff.c 18069 18070 Patch 7.4a.027 18071 Problem: When Python adds lines to another buffer the cursor position is 18072 wrong, it might be below the last line causing ml_get errors. 18073 (Vlad Irnov) 18074 Solution: Temporarily change the current window, so that marks are corrected 18075 properly. 18076 Files: src/if_py_both.h, src/window.c, src/proto/buffer.pro 18077 18078 Patch 7.4a.028 18079 Problem: Crash when spell checking in new buffer. 18080 Solution: Set the b_p_key field. (Mike Williams) 18081 Files: src/spell.c, src/testdir/test58.in 18082 18083 Patch 7.4a.029 18084 Problem: Can't build with MzScheme on Ubuntu 13.04. 18085 Solution: Add configure check for the "ffi" library. 18086 Files: src/configure.in, src/auto/configure 18087 18088 Patch 7.4a.030 (after 7.4.027) 18089 Problem: Missing find_win_for_buf(). (toothpik) 18090 Solution: Add missing changes. 18091 Files: src/buffer.c 18092 18093 Patch 7.4a.031 18094 Problem: Compiler warnings. (Charles Campbell) 18095 Solution: Initialize variables even when not needed. 18096 Files: src/regexp_nfa.c, src/search.c 18097 18098 Patch 7.4a.032 18099 Problem: New regexp engine: Does not match shorter alternative. (Ingo 18100 Karkat) 18101 Solution: Do not drop a new state when the PIM info is different. 18102 Files: src/regexp_nfa.c 18103 18104 Patch 7.4a.033 18105 Problem: Test 98 always passes. 18106 Solution: Include test98a.in in test98.in, execute the crucial command in 18107 one line. (Yukihiro Nakadaira) 18108 Files: src/testdir/test98.in, src/testdir/test98a.in 18109 18110 Patch 7.4a.034 18111 Problem: The tabline may flicker when opening a new tab after 7.3.759 on 18112 Win32. 18113 Solution: Move call to TabCtrl_SetCurSel(). (Ken Takata) 18114 Files: src/gui_w48.c 18115 18116 Patch 7.4a.035 18117 Problem: Fix in patch 7.4a.032 is not tested. 18118 Solution: Add test. 18119 Files: src/testdir/test64.in, src/testdir/test64.ok 18120 18121 Patch 7.4a.036 18122 Problem: "\p" in a regexp does not match double-width characters. 18123 (Yukihiro Nakadaira) 18124 Solution: Don't count display cells, use vim_isprintc(). 18125 Files: src/regexp.c, src/regexp_nfa.c, src/testdir/test64.in, 18126 src/testdir/test64.ok, src/testdir/test95.in, 18127 src/testdir/test95.ok 18128 18129 Patch 7.4a.037 18130 Problem: Win32: When mouse is hidden and in the toolbar, moving it won't 18131 make it appear. (Sami Salonen) 18132 Solution: Add tabline_wndproc() and toolbar_wndproc(). (Ken Takata) 18133 Files: src/gui_w32.c, src/gui_w48.c 18134 18135 Patch 7.4a.038 18136 Problem: When using MSVC 2012 there are various issues, including GUI size 18137 computations. 18138 Solution: Use SM_CXPADDEDBORDER. (Mike Williams) 18139 Files: src/gui_w32.c, src/gui_w48.c, src/os_win32.h 18140 18141 Patch 7.4a.039 18142 Problem: New regexp engine doesn't match pattern. (Ingo Karkat) 18143 Solution: When adding a state also check for different PIM if the list of 18144 states has any state with a PIM. 18145 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 18146 18147 Patch 7.4a.040 18148 Problem: Win32: using uninitialized variable. 18149 Solution: (Yukihiro Nakadaira) 18150 Files: src/os_win32.c 18151 18152 Patch 7.4a.041 18153 Problem: When using ":new ++ff=unix" and "dos" is first in 'fileformats' 18154 then 'ff' is set to "dos" instead of "unix". (Ingo Karkat) 18155 Solution: Create set_file_options() and invoke it from do_ecmd(). 18156 Files: src/fileio.c, src/proto/fileio.pro, src/ex_cmds.c, 18157 src/testdir/test91.in, src/testdir/test91.ok 18158 18159 Patch 7.4a.042 18160 Problem: Crash when BufUnload autocommands close all buffers. (Andrew 18161 Pimlott) 18162 Solution: Set curwin->w_buffer to curbuf to avoid NULL. 18163 Files: src/window.c, src/testdir/test8.in, src/testdir/test8.ok 18164 18165 Patch 7.4a.043 18166 Problem: More ml_get errors when adding or deleting lines from Python. 18167 (Vlad Irnov) 18168 Solution: Switch to a window with the buffer when possible. 18169 Files: src/if_py_both.h 18170 18171 Patch 7.4a.044 18172 Problem: Test 96 sometimes fails. 18173 Solution: Clear window from b_wininfo in win_free(). (Suggestion by 18174 Yukihiro Nakadaira) 18175 Files: src/window.c 18176 18177 Patch 7.4a.045 18178 Problem: Configure does not always find the right library for Lua. Missing 18179 support for LuaJit. 18180 Solution: Improve the configure detection of Lua. (Hiroshi Shirosaki) 18181 Files: src/Makefile, src/configure.in, src/auto/configure 18182 18183 Patch 7.4a.046 18184 Problem: Can't build without mbyte feature. 18185 Solution: Add #ifdefs. 18186 Files: src/ex_cmds.c 18187 18188 Patch 7.4a.047 18189 Problem: Some comments are not so nice. 18190 Solution: Change the comments. 18191 Files: src/ex_docmd.c, src/message.c, src/ops.c, src/option.c 18192 18193 Patch 7.4b.001 18194 Problem: Win32: dialog may extend off-screen. 18195 Solution: Reduce the size, use correct borders. (Andrei Olsen) 18196 Files: src/gui_w32.c 18197 18198 Patch 7.4b.002 18199 Problem: Crash searching for \%(\%(\|\d\|-\|\.\)*\|\*\). (Marcin 18200 Szamotulski) Also for \(\)*. 18201 Solution: Do add a state for opening parenthesis, so that we can check if it 18202 was added before at the same position. 18203 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 18204 18205 Patch 7.4b.003 18206 Problem: Regexp code is not nicely aligned. 18207 Solution: Adjust white space. (Ken Takata) 18208 Files: src/regexp_nfa.c 18209 18210 Patch 7.4b.004 18211 Problem: Regexp crash on pattern "@\%[\w\-]*". (Axel Kielhorn) 18212 Solution: Add \%(\) around \%[] internally. 18213 Files: src/regexp_nfa.c, src/testdir/test64.in, src/testdir/test64.ok 18214 18215 Patch 7.4b.005 18216 Problem: Finding %s in shellpipe and shellredir does not ignore %%s. 18217 Solution: Skip over %%. (lcd 47) 18218 Files: src/ex_cmds.c 18219 18220 Patch 7.4b.006 (after 7.3.1295) 18221 Problem: Using \{n,m} in an autocommand pattern no longer works. 18222 Specifically, mutt temp files are not recognized. (Gary Johnson) 18223 Solution: Make \\\{n,m\} work. 18224 Files: runtime/doc/autocmd.txt, src/fileio.c 18225 18226 Patch 7.4b.007 18227 Problem: On 32 bit MS-Windows :perldo does not work. 18228 Solution: Make sure time_t uses 32 bits. (Ken Takata) 18229 Files: src/if_perl.xs, src/vim.h 18230 18231 Patch 7.4b.008 18232 Problem: 'autochdir' causes setbufvar() to change the current directory. 18233 (Ben Fritz) 18234 Solution: When disabling autocommands also reset 'acd' temporarily. 18235 (Christian Brabandt) 18236 Files: src/fileio.c 18237 18238 Patch 7.4b.009 18239 Problem: When setting the Visual area manually and 'selection' is 18240 exclusive, a yank includes one character too much. (Ingo Karkat) 18241 Solution: Default the Visual operation to "v". (Christian Brabandt) 18242 Files: src/mark.c 18243 18244 Patch 7.4b.010 18245 Problem: Win32: Tcl library load does not use standard mechanism. 18246 Solution: Call vimLoadLib() instead of LoadLibraryEx(). (Ken Takata) 18247 Files: src/if_perl.xs, src/if_tcl.c 18248 18249 Patch 7.4b.011 18250 Problem: ":he \%(\)" does not work. (ZyX) 18251 Solution: Add an exception to the list. 18252 Files: src/ex_cmds.c 18253 18254 Patch 7.4b.012 18255 Problem: Output from a shell command is truncated at a NUL. (lcd 47) 18256 Solution: Change every NUL into an SOH. 18257 Files: src/misc1.c 18258 18259 Patch 7.4b.013 18260 Problem: Install dir for JP man pages is wrong. 18261 Solution: Remove ".UTF-8" from the directory name. (Ken Takata) 18262 Files: src/Makefile 18263 18264 Patch 7.4b.014 (after 7.4b.012) 18265 Problem: Stupid mistake. 18266 Solution: Changle "len" to "i". 18267 Files: src/misc1.c 18268 18269 Patch 7.4b.015 (after 7.4b.008) 18270 Problem: Can't compile without the 'acd' feature. 18271 Solution: Add #ifdefs. (Kazunobu Kuriyama) 18272 Files: src/fileio.c 18273 18274 Patch 7.4b.016 18275 Problem: Ruby detection fails on Fedora 19. 18276 Solution: Use one way to get the Ruby version. (Michael Henry) 18277 Files: src/configure.in, src/auto/configure 18278 18279 Patch 7.4b.017 18280 Problem: ":he \^x" gives a strange error message. (glts) 18281 Solution: Do not translate \^x to \_CTRL-x. 18282 Files: src/ex_cmds.c 18283 18284 Patch 7.4b.018 (after 7.4b.001) 18285 Problem: Win32: Dialog can still be too big. 18286 Solution: Move the check for height further down. (Andrei Olsen) 18287 Files: src/gui_w32.c 18288 18289 Patch 7.4b.019 (after 7.4a.034) 18290 Problem: Tabline is not updated properly when closing a tab on Win32. 18291 Solution: Only reduce flickering when adding a tab. (Ken Takata) 18292 Files: src/gui_w48.c 18293 18294 Patch 7.4b.020 18295 Problem: "g~ap" changes first character of next paragraph. (Manuel Ortega) 18296 Solution: Avoid subtracting (0 - 1) from todo. (Mike Williams) 18297 Files: src/ops.c, src/testdir/test82.in, src/testdir/test82.ok 18298 18299 Patch 7.4b.021 18300 Problem: Pressing "u" after an external command results in multiple 18301 press-enter messages. (glts) 18302 Solution: Don't call hit_return_msg() when we have K_IGNORE. (Christian 18303 Brabandt) 18304 Files: src/message.c 18305 18306 Patch 7.4b.022 18307 Problem: Not waiting for a character when the tick count overflows. 18308 Solution: Subtract the unsigned numbers and cast to int. (Ken Takata) 18309 Files: src/os_win32.c 18310 18311 18312 18313 vim:tw=78:ts=8:noet:ft=help:norl: