updated for version 7.0070

This commit is contained in:
Bram Moolenaar
2005-04-23 20:52:00 +00:00
parent 8fcc0f71a1
commit 0cb032ecb8
20 changed files with 3096 additions and 97 deletions

9
src/auto/configure vendored
View File

@ -4629,7 +4629,7 @@ fi
if test "X$vi_cv_path_ruby" != "X"; then
echo "$as_me:$LINENO: checking Ruby version" >&5
echo $ECHO_N "checking Ruby version... $ECHO_C" >&6
if $vi_cv_path_ruby -e 'RUBY_VERSION >= "1.6.0" or exit 1' >/dev/null 2>/dev/null; then
if $vi_cv_path_ruby -e '(VERSION rescue RUBY_VERSION) >= "1.6.0" or exit 1' >/dev/null 2>/dev/null; then
echo "$as_me:$LINENO: result: OK" >&5
echo "${ECHO_T}OK" >&6
echo "$as_me:$LINENO: checking Ruby header files" >&5
@ -10987,6 +10987,7 @@ fi
for ac_header in stdarg.h stdlib.h string.h sys/select.h sys/utsname.h \
@ -10996,7 +10997,7 @@ for ac_header in stdarg.h stdlib.h string.h sys/select.h sys/utsname.h \
sys/stream.h sys/ptem.h termios.h libc.h sys/statfs.h \
poll.h sys/poll.h pwd.h utime.h sys/param.h libintl.h \
libgen.h util/debug.h util/msg18n.h frame.h \
sys/acl.h sys/access.h sys/sysctl.h sys/sysinfo.h wchar.h
sys/acl.h sys/access.h sys/sysctl.h sys/sysinfo.h wchar.h wctype.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if eval "test \"\${$as_ac_Header+set}\" = set"; then
@ -13370,6 +13371,7 @@ fi
for ac_func in bcmp fchdir fchown fseeko fsync ftello getcwd getpseudotty \
@ -13377,7 +13379,8 @@ for ac_func in bcmp fchdir fchown fseeko fsync ftello getcwd getpseudotty \
memset nanosleep opendir putenv qsort readlink select setenv \
setpgid setsid sigaltstack sigstack sigset sigsetjmp sigaction \
sigvec snprintf strcasecmp strerror strftime stricmp strncasecmp \
strnicmp strpbrk strtol tgetent towlower towupper usleep utime utimes
strnicmp strpbrk strtol tgetent towlower towupper iswupper \
usleep utime utimes
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5

View File

@ -915,97 +915,280 @@ vim_iswordc_buf(p, buf)
return (GET_CHARTAB(buf, *p) != 0);
}
static char spell_chartab[256];
/*
* The tables used for spelling. These are only used for the first 256
* characters.
*/
typedef struct spelltab_S
{
char_u st_isw[256]; /* flags: is word char */
char_u st_isu[256]; /* flags: is uppercase char */
char_u st_fold[256]; /* chars: folded case */
} spelltab_T;
static spelltab_T spelltab;
static int did_set_spelltab;
#define SPELL_ISWORD 1
#define SPELL_ISUPPER 2
static void clear_spell_chartab __ARGS((spelltab_T *sp));
static int set_spell_finish __ARGS((spelltab_T *new_st));
/*
* Init the chartab used for spelling for ASCII.
* EBCDIC is not supported!
*/
static void
clear_spell_chartab(sp)
spelltab_T *sp;
{
int i;
/* Init everything to FALSE. */
vim_memset(sp->st_isw, FALSE, sizeof(sp->st_isw));
vim_memset(sp->st_isu, FALSE, sizeof(sp->st_isu));
for (i = 0; i < 256; ++i)
sp->st_fold[i] = i;
/* We include digits. A word shouldn't start with a digit, but handling
* that is done separately. */
for (i = '0'; i <= '9'; ++i)
sp->st_isw[i] = TRUE;
for (i = 'A'; i <= 'Z'; ++i)
{
sp->st_isw[i] = TRUE;
sp->st_isu[i] = TRUE;
sp->st_fold[i] = i + 0x20;
}
for (i = 'a'; i <= 'z'; ++i)
sp->st_isw[i] = TRUE;
}
/*
* Init the chartab used for spelling. Only depends on 'encoding'.
* Called once while starting up and when 'encoding' was changed.
* Unfortunately, we can't use isalpha() here, since the current locale may
* differ from 'encoding'.
* Called once while starting up and when 'encoding' changes.
* The default is to use isalpha(), but the spell file should define the word
* characters to make it possible that 'encoding' differs from the current
* locale.
*/
void
init_spell_chartab()
{
int i;
/* ASCII is always the same, no matter what 'encoding' is used.
* EBCDIC is not supported! */
for (i = 0; i < '0'; ++i)
spell_chartab[i] = FALSE;
/* We include numbers. A word shouldn't start with a number, but handling
* that is done separately. */
for ( ; i <= '9'; ++i)
spell_chartab[i] = TRUE;
for ( ; i < 'A'; ++i)
spell_chartab[i] = FALSE;
for ( ; i <= 'Z'; ++i)
spell_chartab[i] = TRUE;
for ( ; i < 'a'; ++i)
spell_chartab[i] = FALSE;
for ( ; i <= 'z'; ++i)
spell_chartab[i] = TRUE;
did_set_spelltab = FALSE;
clear_spell_chartab(&spelltab);
#ifdef FEAT_MBYTE
if (enc_dbcs)
{
/* DBCS: assume double-wide characters are word characters. */
for ( ; i <= 255; ++i)
for (i = 128; i <= 255; ++i)
if (MB_BYTE2LEN(i) == 2)
spell_chartab[i] = TRUE;
else
spell_chartab[i] = FALSE;
}
else if (STRCMP(p_enc, "cp850") == 0)
#endif
#if defined(MSDOS) || defined(FEAT_MBYTE)
{
/* cp850, MS-DOS */
for ( ; i < 128; ++i)
spell_chartab[i] = FALSE;
for ( ; i <= 0x9a; ++i)
spell_chartab[i] = TRUE;
for ( ; i < 0xa0; ++i)
spell_chartab[i] = FALSE;
for ( ; i <= 0xa5; ++i)
spell_chartab[i] = TRUE;
for ( ; i <= 255; ++i)
spell_chartab[i] = FALSE;
}
#endif
#ifdef FEAT_MBYTE
else if (STRCMP(p_enc, "iso-8859-2") == 0)
{
/* latin2 */
for ( ; i <= 0xa0; ++i)
spell_chartab[i] = FALSE;
for ( ; i <= 255; ++i)
spell_chartab[i] = TRUE;
spell_chartab[0xa4] = FALSE; /* currency sign */
spell_chartab[0xa7] = FALSE; /* paragraph sign */
spell_chartab[0xad] = FALSE; /* dash */
spell_chartab[0xb0] = FALSE; /* degrees */
spell_chartab[0xf7] = FALSE; /* divide-by */
spelltab.st_isw[i] = TRUE;
}
else
#endif
#if defined(FEAT_MBYTE) || !defined(MSDOS)
{
/* Rough guess: anything we don't recognize assumes word characters
* like latin1. */
for ( ; i < 0xc0; ++i)
spell_chartab[i] = FALSE;
for ( ; i <= 255; ++i)
spell_chartab[i] = TRUE;
# ifdef FEAT_MBYTE
if (STRCMP(p_enc, "latin1") == 0)
# endif
spell_chartab[0xf7] = FALSE; /* divide-by */
/* Rough guess: use isalpha() for characters above 128. */
for (i = 128; i < 256; ++i)
{
spelltab.st_isw[i] = isalpha(i);
if (isupper(i))
{
spelltab.st_isu[i] = TRUE;
spelltab.st_fold[i] = tolower(i);
}
}
}
}
static char *e_affform = N_("E761: Format error in affix file FOL, LOW or UPP");
static char *e_affrange = N_("E762: Character in FOL, LOW or UPP is out of range");
/*
* Set the spell character tables from strings in the affix file.
*/
int
set_spell_chartab(fol, low, upp)
char_u *fol;
char_u *low;
char_u *upp;
{
/* We build the new tables here first, so that we can compare with the
* previous one. */
spelltab_T new_st;
char_u *pf = fol, *pl = low, *pu = upp;
int f, l, u;
clear_spell_chartab(&new_st);
while (*pf != NUL)
{
if (*pl == NUL || *pu == NUL)
{
EMSG(_(e_affform));
return FAIL;
}
#ifdef FEAT_MBYTE
f = mb_ptr2char_adv(&pf);
l = mb_ptr2char_adv(&pl);
u = mb_ptr2char_adv(&pu);
#else
f = *pf++;
l = *pl++;
u = *pu++;
#endif
/* Every character that appears is a word character. */
if (f < 256)
new_st.st_isw[f] = TRUE;
if (l < 256)
new_st.st_isw[l] = TRUE;
if (u < 256)
new_st.st_isw[u] = TRUE;
/* if "LOW" and "FOL" are not the same the "LOW" char needs
* case-folding */
if (l < 256 && l != f)
{
if (f >= 256)
{
EMSG(_(e_affrange));
return FAIL;
}
new_st.st_fold[l] = f;
}
/* if "UPP" and "FOL" are not the same the "UPP" char needs
* case-folding and it's upper case. */
if (u < 256 && u != f)
{
if (f >= 256)
{
EMSG(_(e_affrange));
return FAIL;
}
new_st.st_fold[u] = f;
new_st.st_isu[u] = TRUE;
}
}
if (*pl != NUL || *pu != NUL)
{
EMSG(_(e_affform));
return FAIL;
}
return set_spell_finish(&new_st);
}
/*
* Return TRUE if "p" points to a word character.
* This only depends on 'encoding', not on 'iskeyword'.
* Set the spell character tables from strings in the .spl file.
*/
int
set_spell_charflags(flags, cnt, upp)
char_u *flags;
int cnt;
char_u *upp;
{
/* We build the new tables here first, so that we can compare with the
* previous one. */
spelltab_T new_st;
int i;
char_u *p = upp;
clear_spell_chartab(&new_st);
for (i = 0; i < cnt; ++i)
{
new_st.st_isw[i + 128] = (flags[i] & SPELL_ISWORD) != 0;
new_st.st_isu[i + 128] = (flags[i] & SPELL_ISUPPER) != 0;
if (*p == NUL)
return FAIL;
#ifdef FEAT_MBYTE
new_st.st_fold[i + 128] = mb_ptr2char_adv(&p);
#else
new_st.st_fold[i + 128] = *p++;
#endif
}
return set_spell_finish(&new_st);
}
static int
set_spell_finish(new_st)
spelltab_T *new_st;
{
int i;
if (did_set_spelltab)
{
/* check that it's the same table */
for (i = 0; i < 256; ++i)
{
if (spelltab.st_isw[i] != new_st->st_isw[i]
|| spelltab.st_isu[i] != new_st->st_isu[i]
|| spelltab.st_fold[i] != new_st->st_fold[i])
{
EMSG(_("E763: Word characters differ between spell files"));
return FAIL;
}
}
}
else
{
/* copy the new spelltab into the one being used */
spelltab = *new_st;
did_set_spelltab = TRUE;
}
return OK;
}
#if defined(FEAT_MBYTE) || defined(PROTO)
/*
* Write the current tables into the .spl file.
*/
void
write_spell_chartab(fd)
FILE *fd;
{
char_u charbuf[256 * 4];
int len = 0;
int flags;
int i;
if (!did_set_spelltab)
{
/* No character table specified, write zero counts. */
fputc(0, fd);
fputc(0, fd);
fputc(0, fd);
return;
}
fputc(128, fd); /* <charflagslen> */
for (i = 128; i < 256; ++i)
{
flags = 0;
if (spelltab.st_isw[i])
flags |= SPELL_ISWORD;
if (spelltab.st_isu[i])
flags |= SPELL_ISUPPER;
fputc(flags, fd); /* <charflags> */
len += mb_char2bytes(spelltab.st_fold[i], charbuf + len);
}
put_bytes(fd, (long_u)len, 2); /* <fcharlen> */
fwrite(charbuf, (size_t)len, (size_t)1, fd); /* <fchars> */
}
#endif
/*
* Return TRUE if "p" points to a word character for spelling.
*/
int
spell_iswordc(p)
@ -1015,9 +1198,103 @@ spell_iswordc(p)
if (has_mbyte && MB_BYTE2LEN(*p) > 1)
return mb_get_class(p) >= 2;
# endif
return spell_chartab[*p];
return spelltab.st_isw[*p];
}
/*
* Return TRUE if "c" is an upper-case character for spelling.
*/
int
spell_isupper(c)
int c;
{
# ifdef FEAT_MBYTE
if (enc_utf8)
{
/* For Unicode we can call utf_isupper(), but don't do that for ASCII,
* because we don't want to use 'casemap' here. */
if (c >= 128)
return utf_isupper(c);
}
else if (has_mbyte && c > 256)
{
/* For characters above 255 we don't have something specfied.
* Fall back to locale-dependent iswupper(). If not available
* simply return FALSE. */
# ifdef HAVE_ISWUPPER
return iswupper(c);
# else
return FALSE;
# endif
}
# endif
return spelltab.st_isu[c];
}
/*
* case-fold "p[len]" into "buf[buflen]". Used for spell checking.
* Returns FAIL when something wrong.
*/
int
spell_casefold(p, len, buf, buflen)
char_u *p;
int len;
char_u *buf;
int buflen;
{
int i;
if (len >= buflen)
{
buf[0] = NUL;
return FAIL; /* result will not fit */
}
#ifdef FEAT_MBYTE
if (has_mbyte)
{
int c;
int outi = 0;
/* Fold one character at a time. */
for (i = 0; i < len; i += mb_ptr2len_check(p + i))
{
c = mb_ptr2char(p + i);
if (enc_utf8)
/* For Unicode case folding is always the same, no need to use
* the table from the spell file. */
c = utf_fold(c);
else if (c < 256)
/* Use the table from the spell file. */
c = spelltab.st_fold[c];
# ifdef HAVE_TOWLOWER
else
/* We don't know what to do, fall back to towlower(), it
* depends on the current locale. */
c = towlower(c);
# endif
if (outi + MB_MAXBYTES > buflen)
{
buf[outi] = NUL;
return FAIL;
}
outi += mb_char2bytes(c, buf + outi);
}
buf[outi] = NUL;
}
else
#endif
{
/* Be quick for non-multibyte encodings. */
for (i = 0; i < len; ++i)
buf[i] = spelltab.st_fold[p[i]];
buf[i] = NUL;
}
return OK;
}
#endif /* FEAT_SYN_HL */
/*
* return TRUE if 'c' is a valid file-name character

View File

@ -180,6 +180,7 @@
#undef HAVE_TGETENT
#undef HAVE_TOWLOWER
#undef HAVE_TOWUPPER
#undef HAVE_ISWUPPER
#undef HAVE_USLEEP
#undef HAVE_UTIME
#undef HAVE_BIND_TEXTDOMAIN_CODESET
@ -224,6 +225,7 @@
#undef HAVE_SYS_TIME_H
#undef HAVE_SYS_UTSNAME_H
#undef HAVE_WCHAR_H
#undef HAVE_WCTYPE_H
#undef HAVE_TERMCAP_H
#undef HAVE_TERMIOS_H
#undef HAVE_TERMIO_H

View File

@ -2245,7 +2245,7 @@ AC_CHECK_HEADERS(stdarg.h stdlib.h string.h sys/select.h sys/utsname.h \
sys/stream.h sys/ptem.h termios.h libc.h sys/statfs.h \
poll.h sys/poll.h pwd.h utime.h sys/param.h libintl.h \
libgen.h util/debug.h util/msg18n.h frame.h \
sys/acl.h sys/access.h sys/sysctl.h sys/sysinfo.h wchar.h)
sys/acl.h sys/access.h sys/sysctl.h sys/sysinfo.h wchar.h wctype.h)
dnl pthread_np.h may exist but can only be used after including pthread.h
AC_MSG_CHECKING([for pthread_np.h])
@ -2637,7 +2637,8 @@ AC_CHECK_FUNCS(bcmp fchdir fchown fseeko fsync ftello getcwd getpseudotty \
memset nanosleep opendir putenv qsort readlink select setenv \
setpgid setsid sigaltstack sigstack sigset sigsetjmp sigaction \
sigvec snprintf strcasecmp strerror strftime stricmp strncasecmp \
strnicmp strpbrk strtol tgetent towlower towupper usleep utime utimes)
strnicmp strpbrk strtol tgetent towlower towupper iswupper \
usleep utime utimes)
dnl fstatfs() can take 2 to 4 arguments, try to use st_blksize if possible
AC_MSG_CHECKING(for st_blksize)

View File

@ -5658,10 +5658,20 @@ did_set_string_option(opt_idx, varp, new_value_alloced, oldval, errbuf,
#endif
#ifdef FEAT_SYN_HL
/* When 'spelllang' is set, load the wordlists. */
/* When 'spelllang' is set and there is a window for this buffer in which
* 'spell' is set load the wordlists. */
else if (varp == &(curbuf->b_p_spl))
{
errmsg = did_set_spelllang(curbuf);
win_T *wp;
FOR_ALL_WINDOWS(wp)
if (wp->w_buffer == curbuf && wp->w_p_spell)
{
errmsg = did_set_spelllang(curbuf);
# ifdef FEAT_WINDOWS
break;
# endif
}
}
#endif
@ -6636,6 +6646,19 @@ set_bool_option(opt_idx, varp, value, opt_flags)
}
#endif
#ifdef FEAT_SYN_HL
/* 'spell' */
else if ((int *)varp == &curwin->w_p_spell)
{
if (curwin->w_p_spell)
{
char_u *errmsg = did_set_spelllang(curbuf);
if (errmsg != NULL)
EMSG(_(errmsg));
}
}
#endif
#ifdef FEAT_FKMAP
else if ((int *)varp == &p_altkeymap)
{
@ -8586,7 +8609,6 @@ buf_copy_options(buf, flags)
/* Don't copy 'syntax', it must be set */
buf->b_p_syn = empty_option;
buf->b_p_spl = vim_strsave(p_spl);
did_set_spelllang(buf);
#endif
#if defined(FEAT_CINDENT) && defined(FEAT_EVAL)
buf->b_p_inde = vim_strsave(p_inde);

View File

@ -3,5 +3,6 @@ int spell_check __ARGS((win_T *wp, char_u *line, char_u *ptr, int *attrp));
int spell_move_to __ARGS((int dir, int allwords));
char_u *did_set_spelllang __ARGS((buf_T *buf));
void spell_reload __ARGS((void));
void put_bytes __ARGS((FILE *fd, long_u nr, int len));
void ex_mkspell __ARGS((exarg_T *eap));
/* vim: set ft=c : */

View File

@ -2603,7 +2603,10 @@ win_line(wp, lnum, startrow, endrow)
}
}
if (wp->w_p_spell && *wp->w_buffer->b_p_spl != NUL)
if (wp->w_p_spell
&& *wp->w_buffer->b_p_spl != NUL
&& wp->w_buffer->b_langp.ga_len > 0
&& *(char **)(wp->w_buffer->b_langp.ga_data) != NULL)
{
/* Prepare for spell checking. */
has_spell = TRUE;

93
src/spell/Makefile Normal file
View File

@ -0,0 +1,93 @@
# Makefile for Vim spell files.
SPELLDIR = ../../runtime/spell
VIM = ../vim
all: en
en: $(SPELLDIR)/en.latin1.spl \
$(SPELLDIR)/en.utf-8.spl \
$(SPELLDIR)/en.ascii.spl
pl: $(SPELLDIR)/pl.iso-8859-2.spl \
$(SPELLDIR)/pl.utf-8.spl
nl: $(SPELLDIR)/nl.latin1.spl \
$(SPELLDIR)/nl.utf-8.spl
fr: $(SPELLDIR)/fr.latin1.spl \
$(SPELLDIR)/fr.utf-8.spl
diff:
-diff -a -C 1 en_US.orig.aff en_US.aff >en_US.diff
-diff -a -C 1 en_US.orig.dic en_US.dic >>en_US.diff
-diff -a -C 1 en_AU.orig.aff en_AU.aff >en_AU.diff
-diff -a -C 1 en_AU.orig.dic en_AU.dic >>en_AU.diff
-diff -a -C 1 en_CA.orig.aff en_CA.aff >en_CA.diff
-diff -a -C 1 en_CA.orig.dic en_CA.dic >>en_CA.diff
-diff -a -C 1 en_GB.orig.aff en_GB.aff >en_GB.diff
-diff -a -C 1 en_GB.orig.dic en_GB.dic >>en_GB.diff
-diff -a -C 1 en_NZ.orig.aff en_NZ.aff >en_NZ.diff
-diff -a -C 1 en_NZ.orig.dic en_NZ.dic >>en_NZ.diff
-diff -a -C 1 nl_NL.orig.aff nl_NL.aff >nl_NL.diff
-diff -a -C 1 nl_NL.orig.dic nl_NL.dic >>nl_NL.diff
-diff -a -C 1 pl_PL.orig.aff pl_PL.aff >pl_PL.diff
-diff -a -C 1 pl_PL.orig.dic pl_PL.dic >>pl_PL.diff
-diff -a -C 1 fr_FR.orig.aff fr_FR.aff >fr_FR.diff
-diff -a -C 1 fr_FR.orig.dic fr_FR.dic >>fr_FR.diff
$(SPELLDIR)/en.latin1.spl : $(VIM) \
en_US.aff en_US.dic \
en_AU.aff en_AU.dic \
en_CA.aff en_CA.dic \
en_GB.aff en_GB.dic \
en_NZ.aff en_NZ.dic
env LANG=en_US.ISO8859-1 \
$(VIM) -e -c "mkspell! $(SPELLDIR)/en en_US en_AU en_CA en_GB \
en_NZ" -c q
$(SPELLDIR)/en.utf-8.spl : $(VIM) \
en_US.aff en_US.dic \
en_AU.aff en_AU.dic \
en_CA.aff en_CA.dic \
en_GB.aff en_GB.dic \
en_NZ.aff en_NZ.dic
env LANG=en_US.UTF-8 \
$(VIM) -e -c "mkspell! $(SPELLDIR)/en en_US en_AU en_CA en_GB \
en_NZ" -c q
$(SPELLDIR)/en.ascii.spl : $(VIM) \
en_US.aff en_US.dic \
en_AU.aff en_AU.dic \
en_CA.aff en_CA.dic \
en_GB.aff en_GB.dic \
en_NZ.aff en_NZ.dic
$(VIM) -e -c "mkspell! -ascii $(SPELLDIR)/en en_US en_AU en_CA en_GB \
en_NZ" -c q
$(SPELLDIR)/pl.iso-8859-2.spl : $(VIM) \
pl_PL.aff pl_PL.dic
env LANG=pl_PL.ISO8859-2 $(VIM) -e -c "mkspell! $(SPELLDIR)/pl pl_PL" -c q
$(SPELLDIR)/pl.utf-8.spl : $(VIM) \
pl_PL.aff pl_PL.dic
env LANG=pl_PL.UTF-8 $(VIM) -e -c "mkspell! $(SPELLDIR)/pl pl_PL" -c q
$(SPELLDIR)/nl.latin1.spl : $(VIM) \
nl_NL.aff nl_NL.dic
env LANG=nl_NL.ISO8859-1 $(VIM) -e -c "mkspell! $(SPELLDIR)/nl nl_NL" -c q
$(SPELLDIR)/nl.utf-8.spl : $(VIM) \
nl_NL.aff nl_NL.dic
env LANG=nl_NL.UTF-8 $(VIM) -e -c "mkspell! $(SPELLDIR)/nl nl_NL" -c q
$(SPELLDIR)/fr.latin1.spl : $(VIM) \
fr_FR.aff fr_FR.dic
env LANG=fr_FR.ISO8859-1 $(VIM) -e -c "mkspell! $(SPELLDIR)/fr fr_FR" -c q
$(SPELLDIR)/fr.utf-8.spl : $(VIM) \
fr_FR.aff fr_FR.dic
env LANG=fr_FR.UTF-8 $(VIM) -e -c "mkspell! $(SPELLDIR)/fr fr_FR" -c q

2268
src/spell/en_GB.diff Normal file

File diff suppressed because it is too large Load Diff

102
src/spell/en_US.diff Normal file
View File

@ -0,0 +1,102 @@
*** en_US.orig.aff Fri Apr 15 13:20:36 2005
--- en_US.aff Sat Apr 23 19:57:52 2005
***************
*** 3,4 ****
--- 3,8 ----
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+
PFX A Y 1
***************
*** 30,33 ****
SFX N e ion e
! SFX N y ication y
! SFX N 0 en [^ey]
--- 34,37 ----
SFX N e ion e
! SFX N y ication y
! SFX N 0 en [^ey]
***************
*** 40,42 ****
SFX H y ieth y
! SFX H 0 th [^y]
--- 44,46 ----
SFX H y ieth y
! SFX H 0 th [^y]
***************
*** 47,49 ****
SFX G e ing e
! SFX G 0 ing [^e]
--- 51,53 ----
SFX G e ing e
! SFX G 0 ing [^e]
*** en_US.orig.dic Fri Apr 15 13:20:36 2005
--- en_US.dic Tue Apr 19 23:08:36 2005
***************
*** 16911,16912 ****
--- 16911,16913 ----
dusty/RPT
+ Farsi
Dutch/M
***************
*** 25963,25965 ****
hobbing
! hobbit
hobbler/M
--- 25964,25966 ----
hobbing
! hobbit/MS
hobbler/M
***************
*** 36605,36606 ****
--- 36606,36608 ----
Moog
+ Moolenaar/M
moo/GSD
***************
*** 38871,38873 ****
NSF
! n/T
NT
--- 38873,38875 ----
NSF
! n
NT
***************
*** 46507,46509 ****
Renault/MS
- rend
renderer/M
--- 46509,46510 ----
***************
*** 48085,48087 ****
Ryun/M
- S
SA
--- 48086,48087 ----
***************
*** 54450,54452 ****
swung
! s/XJBG
sybarite/MS
--- 54450,54452 ----
swung
! sings
sybarite/MS
***************
*** 59538,59540 ****
vi/MDR
! vim/MS
vinaigrette/MS
--- 59538,59540 ----
vi/MDR
! Vim/MS
vinaigrette/MS

11
src/spell/fr_FR.diff Normal file
View File

@ -0,0 +1,11 @@
*** fr_FR.orig.aff Sun Apr 14 17:18:22 2002
--- fr_FR.aff Sat Apr 23 19:57:26 2005
***************
*** 3,4 ****
--- 3,8 ----
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+
PFX A Y 10

153
src/spell/nl_NL.diff Normal file
View File

@ -0,0 +1,153 @@
*** nl_NL.orig.aff Wed Apr 20 11:48:16 2005
--- nl_NL.aff Sat Apr 23 16:48:27 2005
***************
*** 3,4 ****
--- 3,8 ----
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+
NOSPLITSUGS
***************
*** 33,52 ****
SFX J N 18
! SFX J 0 tje [aeiou][aeiou]
! SFX J 0 tjes [aeiou][aeiou]
! SFX J 0 atje [^aeiou]a
! SFX J 0 atjes [^aeiou]a
! SFX J 0 etje [^aeiou]i
! SFX J 0 etjes [^aeiou]i
SFX J 0 'tje [^aeiou]y
! SFX J 0 'tjes [^aeiou]y
SFX J 0 otje [^aeiou]o
! SFX J 0 otjes [^aeiou]o
SFX J 0 utje [^aeiou]u
! SFX J 0 utjes [^aeiou]u
! SFX J 0 tje [aeiou][lnrw]
! SFX J 0 tjes [aeiou][lnrw]
! SFX J 0 pje [aeiou][m]
! SFX J 0 pjes [aeiou][m]
! SFX J 0 je [aeiou][bcdfgkpt]
! SFX J 0 jes [aeiou][bcdfgkpt]
--- 37,56 ----
SFX J N 18
! SFX J 0 tje [aeiou][aeiou]
! SFX J 0 tjes [aeiou][aeiou]
! SFX J 0 atje [^aeiou]a
! SFX J 0 atjes [^aeiou]a
! SFX J 0 etje [^aeiou]i
! SFX J 0 etjes [^aeiou]i
SFX J 0 'tje [^aeiou]y
! SFX J 0 'tjes [^aeiou]y
SFX J 0 otje [^aeiou]o
! SFX J 0 otjes [^aeiou]o
SFX J 0 utje [^aeiou]u
! SFX J 0 utjes [^aeiou]u
! SFX J 0 tje [aeiou][lnrw]
! SFX J 0 tjes [aeiou][lnrw]
! SFX J 0 pje [aeiou][m]
! SFX J 0 pjes [aeiou][m]
! SFX J 0 je [aeiou][bcdfgkpt]
! SFX J 0 jes [aeiou][bcdfgkpt]
***************
*** 253,255 ****
REP ubi ibu
! REP croc krok
REP ten than
--- 257,259 ----
REP ubi ibu
! REP croc krok
REP ten than
***************
*** 288,290 ****
REP capucino cappuccino
! REP celcius Celsius
REP kado cadeau
--- 292,294 ----
REP capucino cappuccino
! REP celcius Celsius
REP kado cadeau
***************
*** 294,300 ****
REP committee comit<69>
! REP komitee comit<69>
! REP komittee comit<69>
! REP kommitee comit<69>
REP kommittee comit<69>
! REP kwis quiz
REP kwissen quizzen
--- 298,304 ----
REP committee comit<69>
! REP komitee comit<69>
! REP komittee comit<69>
! REP kommitee comit<69>
REP kommittee comit<69>
! REP kwis quiz
REP kwissen quizzen
***************
*** 302,304 ****
REP copy kopij
! REP pitoresque pittoreske
REP reikweite reikwijdte
--- 306,308 ----
REP copy kopij
! REP pitoresque pittoreske
REP reikweite reikwijdte
***************
*** 314,319 ****
REP klup club
! REP wiskid whizzkid
! REP kontakt contact
! REP kontekst context
! REP korrekt correct
REP kritikus criticus
--- 318,323 ----
REP klup club
! REP wiskid whizzkid
! REP kontakt contact
! REP kontekst context
! REP korrekt correct
REP kritikus criticus
*** nl_NL.orig.dic Tue Apr 19 21:03:15 2005
--- nl_NL.dic Wed Apr 20 18:47:07 2005
***************
*** 91,93 ****
Athene
- Athene
Atjees/E
--- 91,92 ----
***************
*** 216,217 ****
--- 215,218 ----
Brussels/E
+ BTW
+ B.T.W.
Budel
***************
*** 325,326 ****
--- 326,328 ----
Duurstede
+ DVD
Dwingeloo
***************
*** 813,814 ****
--- 815,817 ----
Montfort
+ Moolenaar/X
Moordrecht
***************
*** 46300,46301 ****
--- 46303,46305 ----
informaticus
+ informatie/S
informatie-uitwisseling
***************
*** 60206,60207 ****
--- 60210,60213 ----
l<>ss
+ m.a.w.
+ m.b.t.
ma/JW

10
src/spell/pl_PL.diff Normal file
View File

@ -0,0 +1,10 @@
*** pl_PL.orig.aff Wed Mar 30 06:50:02 2005
--- pl_PL.aff Sat Apr 23 20:11:15 2005
***************
*** 3,4 ****
--- 3,7 ----
+ FOL <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ LOW <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
+ UPP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>

View File

@ -36,5 +36,5 @@
#define VIM_VERSION_NODOT "vim70aa"
#define VIM_VERSION_SHORT "7.0aa"
#define VIM_VERSION_MEDIUM "7.0aa ALPHA"
#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Apr 20)"
#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Apr 20, compiled "
#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Apr 23)"
#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Apr 23, compiled "