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