|
Karsten Hopp |
d12698 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
d12698 |
Subject: Patch 7.2.003
|
|
Karsten Hopp |
d12698 |
Fcc: outbox
|
|
Karsten Hopp |
d12698 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
d12698 |
Mime-Version: 1.0
|
|
Karsten Hopp |
d12698 |
Content-Type: text/plain; charset=ISO-8859-1
|
|
Karsten Hopp |
d12698 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
d12698 |
------------
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
Patch 7.2.003
|
|
Karsten Hopp |
d12698 |
Problem: Typo in translated message. Message not translated.
|
|
Karsten Hopp |
d12698 |
Solution: Correct spelling. Add _(). (Dominique Pelle)
|
|
Karsten Hopp |
d12698 |
Files: src/spell.c, src/version.c
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
*** ../vim-7.2.002/src/spell.c Tue Jun 24 22:21:31 2008
|
|
Karsten Hopp |
d12698 |
--- src/spell.c Sun Aug 10 12:51:38 2008
|
|
Karsten Hopp |
d12698 |
***************
|
|
Karsten Hopp |
d12698 |
*** 77,83 ****
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
/*
|
|
Karsten Hopp |
d12698 |
* Do the opposite: based on a maximum end score and a known sound score,
|
|
Karsten Hopp |
d12698 |
! * compute the the maximum word score that can be used.
|
|
Karsten Hopp |
d12698 |
*/
|
|
Karsten Hopp |
d12698 |
#define MAXSCORE(word_score, sound_score) ((4 * word_score - sound_score) / 3)
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
--- 77,83 ----
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
/*
|
|
Karsten Hopp |
d12698 |
* Do the opposite: based on a maximum end score and a known sound score,
|
|
Karsten Hopp |
d12698 |
! * compute the maximum word score that can be used.
|
|
Karsten Hopp |
d12698 |
*/
|
|
Karsten Hopp |
d12698 |
#define MAXSCORE(word_score, sound_score) ((4 * word_score - sound_score) / 3)
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
***************
|
|
Karsten Hopp |
d12698 |
*** 625,631 ****
|
|
Karsten Hopp |
d12698 |
/* TRUE if a word appears in the list of banned words. */
|
|
Karsten Hopp |
d12698 |
#define WAS_BANNED(su, word) (!HASHITEM_EMPTY(hash_find(&su->su_banned, word)))
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
! /* Number of suggestions kept when cleaning up. we need to keep more than
|
|
Karsten Hopp |
d12698 |
* what is displayed, because when rescore_suggestions() is called the score
|
|
Karsten Hopp |
d12698 |
* may change and wrong suggestions may be removed later. */
|
|
Karsten Hopp |
d12698 |
#define SUG_CLEAN_COUNT(su) ((su)->su_maxcount < 130 ? 150 : (su)->su_maxcount + 20)
|
|
Karsten Hopp |
d12698 |
--- 625,631 ----
|
|
Karsten Hopp |
d12698 |
/* TRUE if a word appears in the list of banned words. */
|
|
Karsten Hopp |
d12698 |
#define WAS_BANNED(su, word) (!HASHITEM_EMPTY(hash_find(&su->su_banned, word)))
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
! /* Number of suggestions kept when cleaning up. We need to keep more than
|
|
Karsten Hopp |
d12698 |
* what is displayed, because when rescore_suggestions() is called the score
|
|
Karsten Hopp |
d12698 |
* may change and wrong suggestions may be removed later. */
|
|
Karsten Hopp |
d12698 |
#define SUG_CLEAN_COUNT(su) ((su)->su_maxcount < 130 ? 150 : (su)->su_maxcount + 20)
|
|
Karsten Hopp |
d12698 |
***************
|
|
Karsten Hopp |
d12698 |
*** 5980,5986 ****
|
|
Karsten Hopp |
d12698 |
else if (spin->si_newprefID == 0 || spin->si_newprefID == 127)
|
|
Karsten Hopp |
d12698 |
MSG(_("Too many compound flags"));
|
|
Karsten Hopp |
d12698 |
else
|
|
Karsten Hopp |
d12698 |
! MSG(_("Too many posponed prefixes and/or compound flags"));
|
|
Karsten Hopp |
d12698 |
}
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
if (syllable != NULL)
|
|
Karsten Hopp |
d12698 |
--- 5980,5986 ----
|
|
Karsten Hopp |
d12698 |
else if (spin->si_newprefID == 0 || spin->si_newprefID == 127)
|
|
Karsten Hopp |
d12698 |
MSG(_("Too many compound flags"));
|
|
Karsten Hopp |
d12698 |
else
|
|
Karsten Hopp |
d12698 |
! MSG(_("Too many postponed prefixes and/or compound flags"));
|
|
Karsten Hopp |
d12698 |
}
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
if (syllable != NULL)
|
|
Karsten Hopp |
d12698 |
*** ../vim-7.2.002/src/version.c Sun Aug 17 23:43:53 2008
|
|
Karsten Hopp |
d12698 |
--- src/version.c Mon Aug 25 04:06:52 2008
|
|
Karsten Hopp |
d12698 |
***************
|
|
Karsten Hopp |
d12698 |
*** 790,796 ****
|
|
Karsten Hopp |
d12698 |
MSG_PUTS(_("\nRISC OS version"));
|
|
Karsten Hopp |
d12698 |
#endif
|
|
Karsten Hopp |
d12698 |
#ifdef VMS
|
|
Karsten Hopp |
d12698 |
! MSG_PUTS("\nOpenVMS version");
|
|
Karsten Hopp |
d12698 |
# ifdef HAVE_PATHDEF
|
|
Karsten Hopp |
d12698 |
if (*compiled_arch != NUL)
|
|
Karsten Hopp |
d12698 |
{
|
|
Karsten Hopp |
d12698 |
--- 792,798 ----
|
|
Karsten Hopp |
d12698 |
MSG_PUTS(_("\nRISC OS version"));
|
|
Karsten Hopp |
d12698 |
#endif
|
|
Karsten Hopp |
d12698 |
#ifdef VMS
|
|
Karsten Hopp |
d12698 |
! MSG_PUTS(_("\nOpenVMS version"));
|
|
Karsten Hopp |
d12698 |
# ifdef HAVE_PATHDEF
|
|
Karsten Hopp |
d12698 |
if (*compiled_arch != NUL)
|
|
Karsten Hopp |
d12698 |
{
|
|
Karsten Hopp |
d12698 |
*** ../vim-7.2.002/src/version.c Sun Aug 17 23:43:53 2008
|
|
Karsten Hopp |
d12698 |
--- src/version.c Mon Aug 25 04:06:52 2008
|
|
Karsten Hopp |
d12698 |
***************
|
|
Karsten Hopp |
d12698 |
*** 678,679 ****
|
|
Karsten Hopp |
d12698 |
--- 678,681 ----
|
|
Karsten Hopp |
d12698 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
d12698 |
+ /**/
|
|
Karsten Hopp |
d12698 |
+ 3,
|
|
Karsten Hopp |
d12698 |
/**/
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
--
|
|
Karsten Hopp |
d12698 |
I learned the customs and mannerisms of engineers by observing them, much the
|
|
Karsten Hopp |
d12698 |
way Jane Goodall learned about the great apes, but without the hassle of
|
|
Karsten Hopp |
d12698 |
grooming.
|
|
Karsten Hopp |
d12698 |
(Scott Adams - The Dilbert principle)
|
|
Karsten Hopp |
d12698 |
|
|
Karsten Hopp |
d12698 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
d12698 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
d12698 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
d12698 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|