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