|
|
22c937 |
To: vim_dev@googlegroups.com
|
|
|
22c937 |
Subject: Patch 7.4.193
|
|
|
22c937 |
Fcc: outbox
|
|
|
22c937 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
22c937 |
Mime-Version: 1.0
|
|
|
22c937 |
Content-Type: text/plain; charset=UTF-8
|
|
|
22c937 |
Content-Transfer-Encoding: 8bit
|
|
|
22c937 |
------------
|
|
|
22c937 |
|
|
|
22c937 |
Patch 7.4.193
|
|
|
22c937 |
Problem: Typos in messages.
|
|
|
22c937 |
Solution: "then" -> "than". (Dominique Pelle)
|
|
|
22c937 |
Files: src/if_py_both.h, src/spell.c
|
|
|
22c937 |
|
|
|
22c937 |
|
|
|
22c937 |
*** ../vim-7.4.192/src/if_py_both.h 2014-02-15 15:58:55.081904773 +0100
|
|
|
22c937 |
--- src/if_py_both.h 2014-03-08 16:10:46.015459417 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 236,242 ****
|
|
|
22c937 |
if (*result <= 0)
|
|
|
22c937 |
{
|
|
|
22c937 |
PyErr_SET_STRING(PyExc_ValueError,
|
|
|
22c937 |
! N_("number must be greater then zero"));
|
|
|
22c937 |
return -1;
|
|
|
22c937 |
}
|
|
|
22c937 |
}
|
|
|
22c937 |
--- 236,242 ----
|
|
|
22c937 |
if (*result <= 0)
|
|
|
22c937 |
{
|
|
|
22c937 |
PyErr_SET_STRING(PyExc_ValueError,
|
|
|
22c937 |
! N_("number must be greater than zero"));
|
|
|
22c937 |
return -1;
|
|
|
22c937 |
}
|
|
|
22c937 |
}
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 2405,2411 ****
|
|
|
22c937 |
if ((item = PyIter_Next(iterator)))
|
|
|
22c937 |
{
|
|
|
22c937 |
PyErr_FORMAT(PyExc_ValueError,
|
|
|
22c937 |
! N_("attempt to assign sequence of size greater then %d "
|
|
|
22c937 |
"to extended slice"), 0);
|
|
|
22c937 |
Py_DECREF(item);
|
|
|
22c937 |
ret = -1;
|
|
|
22c937 |
--- 2405,2411 ----
|
|
|
22c937 |
if ((item = PyIter_Next(iterator)))
|
|
|
22c937 |
{
|
|
|
22c937 |
PyErr_FORMAT(PyExc_ValueError,
|
|
|
22c937 |
! N_("attempt to assign sequence of size greater than %d "
|
|
|
22c937 |
"to extended slice"), 0);
|
|
|
22c937 |
Py_DECREF(item);
|
|
|
22c937 |
ret = -1;
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 2510,2516 ****
|
|
|
22c937 |
{
|
|
|
22c937 |
Py_DECREF(iterator);
|
|
|
22c937 |
PyErr_FORMAT(PyExc_ValueError,
|
|
|
22c937 |
! N_("attempt to assign sequence of size greater then %d "
|
|
|
22c937 |
"to extended slice"), (int) slicelen);
|
|
|
22c937 |
list_restore(numadded, numreplaced, slicelen, l, lis, lastaddedli);
|
|
|
22c937 |
PyMem_Free(lis);
|
|
|
22c937 |
--- 2510,2516 ----
|
|
|
22c937 |
{
|
|
|
22c937 |
Py_DECREF(iterator);
|
|
|
22c937 |
PyErr_FORMAT(PyExc_ValueError,
|
|
|
22c937 |
! N_("attempt to assign sequence of size greater than %d "
|
|
|
22c937 |
"to extended slice"), (int) slicelen);
|
|
|
22c937 |
list_restore(numadded, numreplaced, slicelen, l, lis, lastaddedli);
|
|
|
22c937 |
PyMem_Free(lis);
|
|
|
22c937 |
*** ../vim-7.4.192/src/spell.c 2014-02-23 22:52:33.372764715 +0100
|
|
|
22c937 |
--- src/spell.c 2014-03-08 16:10:46.019459417 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 12037,12043 ****
|
|
|
22c937 |
/* Normal byte, go one level deeper. If it's not equal to the
|
|
|
22c937 |
* byte in the bad word adjust the score. But don't even try
|
|
|
22c937 |
* when the byte was already changed. And don't try when we
|
|
|
22c937 |
! * just deleted this byte, accepting it is always cheaper then
|
|
|
22c937 |
* delete + substitute. */
|
|
|
22c937 |
if (c == fword[sp->ts_fidx]
|
|
|
22c937 |
#ifdef FEAT_MBYTE
|
|
|
22c937 |
--- 12037,12043 ----
|
|
|
22c937 |
/* Normal byte, go one level deeper. If it's not equal to the
|
|
|
22c937 |
* byte in the bad word adjust the score. But don't even try
|
|
|
22c937 |
* when the byte was already changed. And don't try when we
|
|
|
22c937 |
! * just deleted this byte, accepting it is always cheaper than
|
|
|
22c937 |
* delete + substitute. */
|
|
|
22c937 |
if (c == fword[sp->ts_fidx]
|
|
|
22c937 |
#ifdef FEAT_MBYTE
|
|
|
22c937 |
*** ../vim-7.4.192/src/version.c 2014-02-24 03:31:55.816738026 +0100
|
|
|
22c937 |
--- src/version.c 2014-03-08 16:11:51.591460422 +0100
|
|
|
22c937 |
***************
|
|
|
22c937 |
*** 740,741 ****
|
|
|
22c937 |
--- 740,743 ----
|
|
|
22c937 |
{ /* Add new patch number below this line */
|
|
|
22c937 |
+ /**/
|
|
|
22c937 |
+ 193,
|
|
|
22c937 |
/**/
|
|
|
22c937 |
|
|
|
22c937 |
--
|
|
|
22c937 |
BEDEVERE: How do you know so much about swallows?
|
|
|
22c937 |
ARTHUR: Well you have to know these things when you're a king, you know.
|
|
|
22c937 |
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
|
|
|
22c937 |
|
|
|
22c937 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
22c937 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
22c937 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
22c937 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|