|
|
d6ba96 |
To: vim_dev@googlegroups.com
|
|
|
d6ba96 |
Subject: Patch 7.4.294
|
|
|
d6ba96 |
Fcc: outbox
|
|
|
d6ba96 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
d6ba96 |
Mime-Version: 1.0
|
|
|
d6ba96 |
Content-Type: text/plain; charset=UTF-8
|
|
|
d6ba96 |
Content-Transfer-Encoding: 8bit
|
|
|
d6ba96 |
------------
|
|
|
d6ba96 |
|
|
|
d6ba96 |
Patch 7.4.294 (after 7.4.293)
|
|
|
d6ba96 |
Problem: Test files missing from patch.
|
|
|
d6ba96 |
Solution: Patch the test files.
|
|
|
d6ba96 |
Files: src/testdir/test95.in, src/testdir/test95.ok
|
|
|
d6ba96 |
|
|
|
d6ba96 |
|
|
|
d6ba96 |
*** ../vim-7.4.293/src/testdir/test95.in 2014-05-13 18:03:55.729737466 +0200
|
|
|
d6ba96 |
--- src/testdir/test95.in 2014-05-13 19:16:24.433775533 +0200
|
|
|
d6ba96 |
***************
|
|
|
d6ba96 |
*** 51,57 ****
|
|
|
d6ba96 |
--- 51,61 ----
|
|
|
d6ba96 |
:call add(tl, [1, "\u05b9\u05bb", " y\u05b9 x\u05b9\u05bb ", "x\u05b9\u05bb"])
|
|
|
d6ba96 |
:call add(tl, [2, ".\u05b9\u05bb", " y\u05bb x\u05b9\u05bb ", "x\u05b9\u05bb"])
|
|
|
d6ba96 |
:call add(tl, [2, "a", "ca\u0300t"])
|
|
|
d6ba96 |
+ :call add(tl, [2, "ca", "ca\u0300t"])
|
|
|
d6ba96 |
:call add(tl, [2, "a\u0300", "ca\u0300t", "a\u0300"])
|
|
|
d6ba96 |
+ :call add(tl, [2, 'a\%C', "ca\u0300t", "a\u0300"])
|
|
|
d6ba96 |
+ :call add(tl, [2, 'ca\%C', "ca\u0300t", "ca\u0300"])
|
|
|
d6ba96 |
+ :call add(tl, [2, 'ca\%Ct', "ca\u0300t", "ca\u0300t"])
|
|
|
d6ba96 |
|
|
|
d6ba96 |
|
|
|
d6ba96 |
:"""" Test \Z
|
|
|
d6ba96 |
***************
|
|
|
d6ba96 |
*** 91,105 ****
|
|
|
d6ba96 |
: try
|
|
|
d6ba96 |
: let l = matchlist(text, pat)
|
|
|
d6ba96 |
: catch
|
|
|
d6ba96 |
! : $put ='ERROR: pat: \"' . pat . '\", text: \"' . text . '\", caused an exception: \"' . v:exception . '\"'
|
|
|
d6ba96 |
: endtry
|
|
|
d6ba96 |
:" check the match itself
|
|
|
d6ba96 |
: if len(l) == 0 && len(t) > matchidx
|
|
|
d6ba96 |
! : $put ='ERROR: pat: \"' . pat . '\", text: \"' . text . '\", did not match, expected: \"' . t[matchidx] . '\"'
|
|
|
d6ba96 |
: elseif len(l) > 0 && len(t) == matchidx
|
|
|
d6ba96 |
! : $put ='ERROR: pat: \"' . pat . '\", text: \"' . text . '\", match: \"' . l[0] . '\", expected no match'
|
|
|
d6ba96 |
: elseif len(t) > matchidx && l[0] != t[matchidx]
|
|
|
d6ba96 |
! : $put ='ERROR: pat: \"' . pat . '\", text: \"' . text . '\", match: \"' . l[0] . '\", expected: \"' . t[matchidx] . '\"'
|
|
|
d6ba96 |
: else
|
|
|
d6ba96 |
: $put ='OK ' . engine . ' - ' . pat
|
|
|
d6ba96 |
: endif
|
|
|
d6ba96 |
--- 95,109 ----
|
|
|
d6ba96 |
: try
|
|
|
d6ba96 |
: let l = matchlist(text, pat)
|
|
|
d6ba96 |
: catch
|
|
|
d6ba96 |
! : $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . text . '\", caused an exception: \"' . v:exception . '\"'
|
|
|
d6ba96 |
: endtry
|
|
|
d6ba96 |
:" check the match itself
|
|
|
d6ba96 |
: if len(l) == 0 && len(t) > matchidx
|
|
|
d6ba96 |
! : $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . text . '\", did not match, expected: \"' . t[matchidx] . '\"'
|
|
|
d6ba96 |
: elseif len(l) > 0 && len(t) == matchidx
|
|
|
d6ba96 |
! : $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . text . '\", match: \"' . l[0] . '\", expected no match'
|
|
|
d6ba96 |
: elseif len(t) > matchidx && l[0] != t[matchidx]
|
|
|
d6ba96 |
! : $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . text . '\", match: \"' . l[0] . '\", expected: \"' . t[matchidx] . '\"'
|
|
|
d6ba96 |
: else
|
|
|
d6ba96 |
: $put ='OK ' . engine . ' - ' . pat
|
|
|
d6ba96 |
: endif
|
|
|
d6ba96 |
***************
|
|
|
d6ba96 |
*** 112,118 ****
|
|
|
d6ba96 |
: let e = t[matchidx + i]
|
|
|
d6ba96 |
: endif
|
|
|
d6ba96 |
: if l[i] != e
|
|
|
d6ba96 |
! : $put ='ERROR: pat: \"' . pat . '\", text: \"' . text . '\", submatch ' . i . ': \"' . l[i] . '\", expected: \"' . e . '\"'
|
|
|
d6ba96 |
: endif
|
|
|
d6ba96 |
: endfor
|
|
|
d6ba96 |
: unlet i
|
|
|
d6ba96 |
--- 116,122 ----
|
|
|
d6ba96 |
: let e = t[matchidx + i]
|
|
|
d6ba96 |
: endif
|
|
|
d6ba96 |
: if l[i] != e
|
|
|
d6ba96 |
! : $put ='ERROR ' . engine . ': pat: \"' . pat . '\", text: \"' . text . '\", submatch ' . i . ': \"' . l[i] . '\", expected: \"' . e . '\"'
|
|
|
d6ba96 |
: endif
|
|
|
d6ba96 |
: endfor
|
|
|
d6ba96 |
: unlet i
|
|
|
d6ba96 |
*** ../vim-7.4.293/src/testdir/test95.ok 2014-05-13 18:03:55.729737466 +0200
|
|
|
d6ba96 |
--- src/testdir/test95.ok 2014-05-13 19:01:54.693767920 +0200
|
|
|
d6ba96 |
***************
|
|
|
d6ba96 |
*** 70,78 ****
|
|
|
d6ba96 |
--- 70,90 ----
|
|
|
d6ba96 |
OK 0 - a
|
|
|
d6ba96 |
OK 1 - a
|
|
|
d6ba96 |
OK 2 - a
|
|
|
d6ba96 |
+ OK 0 - ca
|
|
|
d6ba96 |
+ OK 1 - ca
|
|
|
d6ba96 |
+ OK 2 - ca
|
|
|
d6ba96 |
OK 0 - à
|
|
|
d6ba96 |
OK 1 - à
|
|
|
d6ba96 |
OK 2 - à
|
|
|
d6ba96 |
+ OK 0 - a\%C
|
|
|
d6ba96 |
+ OK 1 - a\%C
|
|
|
d6ba96 |
+ OK 2 - a\%C
|
|
|
d6ba96 |
+ OK 0 - ca\%C
|
|
|
d6ba96 |
+ OK 1 - ca\%C
|
|
|
d6ba96 |
+ OK 2 - ca\%C
|
|
|
d6ba96 |
+ OK 0 - ca\%Ct
|
|
|
d6ba96 |
+ OK 1 - ca\%Ct
|
|
|
d6ba96 |
+ OK 2 - ca\%Ct
|
|
|
d6ba96 |
OK 0 - ú\Z
|
|
|
d6ba96 |
OK 1 - ú\Z
|
|
|
d6ba96 |
OK 2 - ú\Z
|
|
|
d6ba96 |
*** ../vim-7.4.293/src/version.c 2014-05-13 19:37:19.489786520 +0200
|
|
|
d6ba96 |
--- src/version.c 2014-05-13 20:09:45.133803551 +0200
|
|
|
d6ba96 |
***************
|
|
|
d6ba96 |
*** 736,737 ****
|
|
|
d6ba96 |
--- 736,739 ----
|
|
|
d6ba96 |
{ /* Add new patch number below this line */
|
|
|
d6ba96 |
+ /**/
|
|
|
d6ba96 |
+ 294,
|
|
|
d6ba96 |
/**/
|
|
|
d6ba96 |
|
|
|
d6ba96 |
--
|
|
|
d6ba96 |
hundred-and-one symptoms of being an internet addict:
|
|
|
d6ba96 |
156. You forget your friend's name but not her e-mail address.
|
|
|
d6ba96 |
|
|
|
d6ba96 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
d6ba96 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
d6ba96 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
d6ba96 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|