Mercurial > vim
changeset 10191:01521953bdf1
commit https://github.com/vim/vim/commit/220adb1e9f9e0b27d28185167d2730bf2f93057d
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 12 12:17:26 2016 +0200
A few more runtime updates.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 12 Sep 2016 12:30:09 +0200 |
parents | 186836c6f068 |
children | 758f3d5a463d |
files | runtime/doc/channel.txt runtime/doc/pattern.txt runtime/doc/todo.txt runtime/doc/version8.txt runtime/syntax/bib.vim |
diffstat | 5 files changed, 46 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/doc/channel.txt +++ b/runtime/doc/channel.txt @@ -1,4 +1,4 @@ -*channel.txt* For Vim version 7.4. Last change: 2016 Sep 07 +*channel.txt* For Vim version 7.4. Last change: 2016 Sep 11 VIM REFERENCE MANUAL by Bram Moolenaar @@ -277,7 +277,7 @@ With a JSON channel the process can send handled by Vim internally, it does not require a handler for the channel. Possible commands are: *E903* *E904* *E905* - ["redraw" {forced}] + ["redraw", {forced}] ["ex", {Ex command}] ["normal", {Normal mode command}] ["expr", {expression}, {number}]
--- a/runtime/doc/pattern.txt +++ b/runtime/doc/pattern.txt @@ -1,4 +1,4 @@ -*pattern.txt* For Vim version 7.4. Last change: 2016 Jun 08 +*pattern.txt* For Vim version 7.4. Last change: 2016 Sep 11 VIM REFERENCE MANUAL by Bram Moolenaar @@ -355,8 +355,8 @@ 5. An atom can be one of a long list of */\%#=* *two-engines* *NFA* Vim includes two regexp engines: 1. An old, backtracking engine that supports everything. -2. A new, NFA engine that works much faster on some patterns, but does not - support everything. +2. A new, NFA engine that works much faster on some patterns, possibly slower + on some patterns. Vim will automatically select the right engine for you. However, if you run into a problem or want to specifically select one engine or the other, you can
--- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 7.4. Last change: 2016 Sep 10 +*todo.txt* For Vim version 7.4. Last change: 2016 Sep 11 VIM REFERENCE MANUAL by Bram Moolenaar @@ -119,6 +119,9 @@ Javascript indent wrong after /* in sing a = b; } +Problem passing non-UTF-8 strings to Python 3. (Björn Linse, 2016 Sep 11, +#1053) With patch, does it work? + Use ADDR_OTHER instead of ADDR_LINES for many more commands. Add tests for using number larger than number of lines in buffer.
--- a/runtime/doc/version8.txt +++ b/runtime/doc/version8.txt @@ -1,4 +1,4 @@ -*version8.txt* For Vim version 8.0. Last change: 2016 Sep 09 +*version8.txt* For Vim version 8.0. Last change: 2016 Sep 12 VIM REFERENCE MANUAL by Bram Moolenaar @@ -14456,10 +14456,41 @@ Solution: Skip when the index is negat Files: src/ex_getln.c Patch 7.4.2358 -Problem: Compiler warnings with Solaris Studio when using GTK3. +Problem: Compiler warnings with Solaris Studio when using GTK3. (Danek + Duvall) Solution: Define FUNC2GENERIC depending on the system. (Kazunobu Kuriyama) Files: src/gui.h, src/gui_beval.c, src/gui_gtk_f.c -[STILL MORE COMING!] +Patch 7.4.2359 +Problem: Memory leak in timer_start(). +Solution: Check the right field to be NULL. +Files: src/evalfunc.c, src/testdir/test_timers.vim + +Patch 7.4.2360 +Problem: Invalid memory access when formatting. (Dominique Pelle) +Solution: Make sure cursor line and column are associated. +Files: src/misc1.c + +Patch 7.4.2361 +Problem: Checking for last_timer_id to overflow is not reliable. (Ozaki + Kiichi) +Solution: Check for the number not going up. +Files: src/ex_cmds2.c + +Patch 7.4.2362 +Problem: Illegal memory access with ":1@". (Dominique Pelle) +Solution: Correct cursor column after setting the line number. Also avoid + calling end_visual_mode() when not in Visual mode. +Files: src/ex_docmd.c, src/buffer.c + +Patch 7.4.2363 +Problem: Superfluous function prototypes. +Solution: Remove them. +Files: src/regexp.c + +Patch 7.4.2364 +Problem: Sort test sometimes fails. +Solution: Add it to the list of flaky tests. +Files: src/testdir/runtest.vim vim:tw=78:ts=8:ft=help:norl:
--- a/runtime/syntax/bib.vim +++ b/runtime/syntax/bib.vim @@ -2,7 +2,7 @@ " Language: BibTeX (bibliographic database format for (La)TeX) " Maintainer: Bernd Feige <Bernd.Feige@gmx.net> " Filenames: *.bib -" Last Change: 2016 May 31 +" Last Change: 2016 Sep 12 " Thanks to those who pointed out problems with this file or supplied fixes! @@ -71,7 +71,7 @@ syn keyword bibNSEntryKw contained mrcla " Clusters " ======== -syn cluster bibVarContents contains=bibUnescapedSpecial,bibBrace,bibParen +syn cluster bibVarContents contains=bibUnescapedSpecial,bibBrace,bibParen,bibMath " This cluster is empty but things can be added externally: "syn cluster bibCommentContents @@ -81,6 +81,7 @@ syn match bibUnescapedSpecial contained syn match bibKey contained /\s*[^ \t}="]\+,/hs=s,he=e-1 nextgroup=bibField syn match bibVariable contained /[^{}," \t=]/ syn region bibComment start=/./ end=/^\s*@/me=e-1 contains=@bibCommentContents nextgroup=bibEntry +syn region bibMath contained start=/\$/ end=/\$/ skip=/\(\\\$\)/ syn region bibQuote contained start=/"/ end=/"/ skip=/\(\\"\)/ contains=@bibVarContents syn region bibBrace contained start=/{/ end=/}/ skip=/\(\\[{}]\)/ contains=@bibVarContents syn region bibParen contained start=/(/ end=/)/ skip=/\(\\[()]\)/ contains=@bibVarContents