From c54b8a78fad3cf726bd554c32c1d154ce2ecd936 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 30 Sep 2005 21:20:29 +0000 Subject: updated for version 7.0152 --- runtime/doc/eval.txt | 15 ++- runtime/spell/bg/bg_BG.diff | 148 ++++++++++++++++++++++- runtime/spell/gd/gd_GB.diff | 288 +++++++++++++++++++++++++++++++++++++++++++- runtime/spell/sv/sv_SE.diff | 115 ++++++++++++++++-- runtime/spell/yi/yi.diff | 2 +- src/edit.c | 1 + src/gui_w32.c | 12 +- src/proto/spell.pro | 1 + src/version.h | 4 +- 9 files changed, 559 insertions(+), 27 deletions(-) diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 6c32f1653..fa51c2a04 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 7.0aa. Last change: 2005 Sep 25 +*eval.txt* For Vim version 7.0aa. Last change: 2005 Sep 29 VIM REFERENCE MANUAL by Bram Moolenaar @@ -1626,7 +1626,8 @@ simplify( {filename}) String simplify filename as much as possible sort( {list} [, {func}]) List sort {list}, using {func} to compare soundfold( {word}) String sound-fold {word} spellbadword() String badly spelled word at cursor -spellsuggest( {word} [, {max}]) List spelling suggestions +spellsuggest( {word} [, {max} [, {capital}]]) + List spelling suggestions split( {expr} [, {pat} [, {keepempty}]]) List make List from {pat} separated {expr} strftime( {format}[, {time}]) String time in specified format @@ -4076,19 +4077,23 @@ spellbadword([{sentence}]) used. *spellsuggest()* -spellsuggest({word} [, {max}]) +spellsuggest({word} [, {max} [, {capital}]]) Return a List with spelling suggestions to replace {word}. When {max} is given up to this number of suggestions are returned. Otherwise up to 25 suggestions are returned. + When the {capital} argument is given and it's non-zero only + suggestions with a leading capital will be given. Use this + after a match with 'spellcapcheck'. + {word} can be a badly spelled word followed by other text. This allows for joining two words that were split. The suggestions also include the following text, thus you can replace a line. {word} may also be a good word. Similar words will then be - returned. {word} itself is also included, most likely as the - first entry, thus this can be used to check spelling. + returned. {word} itself is not included in the suggestions, + although it may appear capitalized. The spelling information for the current window is used. The 'spell' option must be set and the values of 'spelllang' and diff --git a/runtime/spell/bg/bg_BG.diff b/runtime/spell/bg/bg_BG.diff index 3d9bb989e..e3ccbb6f9 100644 --- a/runtime/spell/bg/bg_BG.diff +++ b/runtime/spell/bg/bg_BG.diff @@ -1,5 +1,5 @@ *** bg_BG.orig.aff Sun Aug 28 21:34:44 2005 ---- bg_BG.aff Sun Aug 28 21:34:44 2005 +--- bg_BG.aff Thu Sep 29 21:59:31 2005 *************** *** 1,2 **** ! SET microsoft-cp1251 @@ -33,10 +33,154 @@ MAP P - MAP Y MAP X ---- 1706,1711 ---- +--- 1706,1855 ---- MAP P MAP X + + REP 2 + REP Y + REP Y ++ ++ # Bulgarian phonetic transformation rules for use with Aspell ++ # Copyright (C) 2003 Anton Zinoviev ++ # ++ # This software may be used and distributed under the same terms as ++ # the other parts of the bgoffice project. ++ # ++ # Changelog: ++ # ++ # 19.IX.2003 Anton Zinoviev ++ # Initial release ++ ++ SAL version 1 ++ SAL followup 0 ++ SAL collapse_result 1 ++ ++ SAL ++ SAL ++ SAL ++ SAL ++ SAL ++ SAL ++ SAL ++ SAL ++ SAL _ ++ SAL _ ++ SAL ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL < ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL < ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL ++ SAL ()- ++ SAL T()- ++ SAL $ ++ SAL T$ ++ SAL ++ SAL ++ SAL ()- ++ SAL $ ++ SAL diff --git a/runtime/spell/gd/gd_GB.diff b/runtime/spell/gd/gd_GB.diff index 616bae724..ec4797ca1 100644 --- a/runtime/spell/gd/gd_GB.diff +++ b/runtime/spell/gd/gd_GB.diff @@ -1,17 +1,14 @@ *** gd_GB.orig.aff Wed Aug 31 20:50:02 2005 ---- gd_GB.aff Wed Aug 31 20:50:43 2005 +--- gd_GB.aff Fri Sep 30 13:04:30 2005 *************** *** 19 **** ---- 19,39 ---- +--- 19,317 ---- TRY ahinrdesclgoutmbf-ACTBpGSDMIRPLNEFO'UH + + FOL + LOW + UPP + -+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ޿ -+ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep? -+ + MIDWORD '- + + MAP 9 @@ -24,3 +21,284 @@ + MAP c + MAP y + MAP s ++ ++ # soundslike mapping from Aspell ++ # Aspell phonetics for Irish, by Kevin Scannell ++ # Copyright 2002, 2003 Kevin P. Scannell, distributed under GNU GPL ++ # version 2.0 ++ ++ SAL followup 0 # else breaks QU^, e.g. ++ SAL collapse_result 1 # no double letters in resulting strings ++ ++ SAL ANBHANN----- *N* # epenthetic vowel, anbhanna? only, see NBH-- ++ SAL ANBHAIN----- *N* # epenthetic vowel, anbhainne? only, see NBH-- ++ SAL AERGA-- *R # epenthetic exception, see RG, aerga only ++ SAL AORG- *R # epenthetic exception, see RG, [ms]aorg*, etc. ++ SAL AEILG- *L # epenthetic exception, Gaeilge* only, see LG ++ SAL AILBH-- *L* # epenthetic vowel, [bcs]ailbh* only, see LBH-- ++ SAL ALBHD---- *L # galbhd only, next few are exceptions to ALBH ++ SAL ALBHID----- *L # galbhid only (coinnealbhids, etc. b4) ++ SAL ALBHR--- *L # pobalbhreith, galbhruith, etc. except. to next ++ SAL ALBH-- *L* # epenthetic vowel ++ SAL ARBHD---- *R # mtarbhd only, exception to ARBH epenth. ++ SAL ARBHID----- *R # mtarbhid only, " " " " ++ SAL ARBHUIL----- *R # epenth. exception, garbhuille only, cuarbh* b4 ++ SAL ARBHUA---- *R # epenth. exception, eadarbhuas* only ++ SAL ARBHIN---- *R* # exception to next, marbhintinn* only ++ SAL ARBH(EI)--- *R # epenthetic exception to next, *tarbhealach, etc. ++ SAL ARBH-- *R* # epenthetic, garbh, dearbh, etc. - [IU]ARBH b4 ++ SAL ATHFH(AEIOU)--- *H # athfhill,uathfheidhmeach,etc.-exception to next ++ SAL ATH(BCDFGLMNPRST)- * # athlas, mionathr, etc. - exception to TH->H ++ SAL ADH * # bladhm, feadhain, tadhall, adhmad, -adh$, etc. ++ SAL AGHI--- * # exception to AGH, corraghiob only ++ SAL AGHLOIN------ * # " " ", pleicseaghl- only (not aghloit) ++ SAL AGH * # slaghdn, treaghd, saghas, etc. ++ SAL AOMH(FLNST)--- * # faomh[ft]-,caomhn*,naomh* only, OMH exception ++ SAL A * ++ SAL IRG- *R # epenthetic exception, see RG, tirg*, etc. ++ SAL DHU--- * # pdhuille only, exception to next ++ SAL DH * # dhil, -dh$ only ++ SAL THFH-- *H # tthfhithleann, gnthfh- only exception to next ++ SAL TH(BCDFGLMNPRST)- * # fthscal, gnth*, blthfhleasc, etc. ++ SAL * ++ SAL BANBH^$ B*N*V # epenthetic vowel, see NBH--, banbh, not -arn ++ SAL BHANBH^$ V*N*V # epenthetic vowel, see NBH-- ++ SAL BAINBH^$ B*N*V # epenthetic vowel, see NBH--, bainbh only ++ SAL BHAINBH^$ V*N*V # epenthetic vowel, see NBH-- ++ SAL BH V # includes bh$, eclipsis of F via collapsing ++ SAL B B # note eclipsis of P via collapsing ++ SAL CHADFA--$ K*TV # exception to FA$, (brag|do|m) ++ SAL CHEARCH-- K*R* # epenthetic vowel, chearchaill only ++ SAL CEARCH-- K*R* # epenthetic vowel, g?cearchaill only ++ SAL CHONF K*N*V # epenthetic vowel,no dash=>handles FAI?DH$excepts ++ SAL CONF K*N*V # " " " " " " " ++ SAL CANBH-- K*N* # epenthetic vowel, see NBH--, g?canbhs* only ++ SAL CHANBH-- K*N* # epenthetic vowel, see NBH--, chanbhs* only ++ SAL COLBHA--- K*L* # epenthetic vowel, see LBH--, g?colbha? only ++ SAL CHOLBHA--- K*L* # epenthetic vowel, see LBH--, cholbha? only ++ SAL CURF K*RV # exception to F$, g?curf(nna) only ++ SAL CHURF K*RV # exception to F$, churf(nna) only ++ SAL CH K # OK ++ SAL C K ++ SAL DHORCH-- K*R* # epenthetic vowel, dorcha root only ++ SAL DORCH-- T*R* # epenthetic vowel, dorcha root only ++ SAL DHEARF Y*R* # epenthetic vowel,init only, no dash=>FA except ++ SAL DEARF T*R* # epenthetic vowel,initial only (nd- done b4) ++ SAL DHEIRF- Y*R* # epenthetic vowel, initial only ++ SAL DEIRF- T*R* # epenthetic vowel, (leas)?deirf* only ++ SAL DHOIL(BF)- K*L* # epenthetic,see LBH--,initial only,dhoil(fe|bh)* ++ SAL DOIL(BF)- T*L* # epenthetic, see LBH--, " " (nd- done b4) ++ SAL DHIFEAR Y*V*R # exception to FEAR$, ^dhifear$ only ++ SAL DIFEAR T*V*R # exception to FEAR$, ^difear$ only (nd- b4) ++ SAL DH$ _ # [au]dh+most [io]dh done b4,[e]dh done here ++ SAL DH(AOU)- K # athdhchas, budhonn, comhdhil, etc. ++ SAL DH(EI)- Y # athdhan, caordhearg, cinedheighilt, etc. ++ SAL DHL(AU)-- K # comhdhlthaigh, ^dhl- only ++ SAL DHL(EI)-- Y # (m|neamh)dhl(istean|eath|thi), ^dhl only ++ SAL DHR(AOU)-- K # *dhroim,marbhdhra*,*dhr[u]ma, ^dhr only ++ SAL DHR(EI)-- Y # *dhreach,feirdhris,*dhracht,*dhreasacht,^dhr ++ SAL D T # note eclipsis of T via collapsing ++ SAL EAFAR--$ *V # geafar, meafar only, FAR$ exception ++ SAL EOFAR--$ * # silent verb ending, exception to OFAR$ except! ++ SAL EILBH-- *L* # epenthetic vowel, see LBH-- exception below ++ SAL EIDH(EI)- * # augments IDH rule,eidheann,teidheach,meidhir,etc ++ SAL EOMH(FT)--- * # leomh[ft]- only, exception to -omh rule ++ SAL E * ++ SAL ARBH-- *R # epenthetic exception, garbh- only ++ SAL ARM- *R # epenthetic exception, armh+ tarma root only ++ SAL ARG- *R # epenthetic exception, argh+(ln)?largas only ++ SAL IRG- *R # epenthetic exception, irgh+ aillirge only ++ SAL IRBH-- *R # epenthetic except. lirbhreith*, spirbhean only ++ SAL ALBH-- *L # balbhach only, exception to ALBH ++ SAL AF *V* # af only, exception to F$ ++ SAL * ++ SAL FHAIRCH-- *R* # epenthetic vowel, fhairch* only ++ SAL FAIRCH-- V*R* # epenthetic vowel, (bh)?fairch* only ++ SAL FHOIRF- *R* # epenthetic vowel, foirfe root only ++ SAL FOIRF- V*R* # epenthetic vowel, initial (bh)?foirf* only ++ SAL FHONNMH-- *N* # epenthetic vowel, see NMH--, fhonnmhai?r* only ++ SAL FONNMH-- V*N* # " " " ", (bh)?fonnmhai?r* only ++ SAL FHOILMH-- *L* # epenthetic vowel, see LMH--, fhoilmhe only ++ SAL FOILMH-- V*L* # epenthetic vowel, see LMH--, (bh)?foilmhe only ++ SAL FHOLMH-- *L* # epenthetic vowel, see LMH--, fholmh* only ++ SAL FOLMH-- V*L* # epenthetic vowel, see LMH--, (bh)?folmh* only ++ SAL FEADH^$ V* # exception to verb ending below, eclipsis by luck ++ SAL FEAR^$ V*R # " " " " " " " " ++ SAL FINN^$ V*N # " " " " " " " " ++ SAL FE^$ V* # " " " " " " " " ++ SAL FA^$ V* # " " " " " " " " ++ SAL F^$ V* # " " " " " " " " ++ SAL FAIDH----$ _ # silent 'f' in verb ending ++ SAL FADH---$ _ # " " " " " ++ SAL FIDH---$ _ # " " " " " ++ SAL FEADH----$ _ # " " " " " ++ SAL FEAR---$ _ # " " " " " ++ SAL FAR--$ _ # " " " " " ++ SAL FINN---$ _ # " " " " " ++ SAL FAINN----$ _ # " " " " " ++ SAL F-$ _ # " " " " " ++ SAL FE--$ _ # " " " " " ++ SAL FA--$ _ # " " " " " ++ SAL F-$ _ # " " " " " ++ SAL FAIMI(DS)-----$ _ # " " " " " (no exceptions) ++ SAL FIMI(DS)----$ _ # " " " " " (no exceptions) ++ SAL FAIDS-----$ _ # " " " " " (no exceptions) ++ SAL FIDS----$ _ # " " " " " (no exceptions) ++ SAL FH _ # always silent ++ SAL F V ++ SAL GHAINMH-- K*N* # epenthetic vowel,see NMH--,^ghainmh* only ++ SAL GAINMH-- K*N* # epenthetic vowel,see NMH--,^gainmh* only, ng- b4 ++ SAL GHEALLMH-- Y*L* # epenthetic vowel,see LMH--,gheallmhar only ++ SAL GEALLMH-- K*L* # epenthetic vowel,see LMH--,geallmhar only ++ SAL GLAFADH KL*V* # exception to FADH$, not glafarnach ++ SAL GHLAFADH KL*V* # exception to FADH$ ++ SAL GLAFAIDH KL*V* # exception to FAIDH$, not glafaire ++ SAL GHLAFAIDH KL*V* # exception to FAIDH$ ++ SAL GH$ _ # [aiu]gh,most ogh done b4,[e]gh all terminal ++ SAL GH(AOU)- K # bobghaiste, deoirghs, soghonta, etc. ++ SAL GH(EI)- Y # athghin, luasgharaigh, etc. ++ SAL GHL(AOU)-- K # ardghlrach, folsghlantir, etc. ++ SAL GHL(EI)-- Y # comhghlas, comhghleaca, scoiltghleann, etc. ++ SAL GHR(AOU)-- K # trghr, grianghraf, aoisghrpa, etc. ++ SAL GHR(EI)-- Y # idirghrasn, breithghreamannach, etc. ++ SAL GHN(AOU)-- K # deasghnth, neamhghnch, etc. ++ SAL GHN(EI)-- Y # leorgnomh, aonghnitheach, etc. ++ SAL G K # note eclipsis of C via collapsing ++ SAL H H # between vowels+Faranhat,forhalla,etc. ++ SAL IARG- *R # epenthetic exception, iargil, tiargil, etc. ++ SAL IARBH-- *R # iarbhis, giarbhosca, etc. epenth. exception ++ SAL IDIRBH-- *T*R # idirbheart, idirbhliain, etc., exception to IRBH ++ SAL IRBHR---- *R # muirbhrcht* only, exception to IRBH-- ++ SAL IRBHU--- *R # eochairbhuille,litirbhuama only, except. to next ++ SAL IRBH-- *R* # *seirbhs, tairbh*, toirbh*, etc. epenthetic ++ SAL IF-$ *V # exception to F$, IF$ done before ++ SAL INMHE(A)---- *N # exception to next,ainmheasartha,inmheabhr, etc. ++ SAL INMHE--- *N* # epenthetic vowel, inmhe$ only by previous ++ SAL INNMH-- *N* # epenthetic vowel, fuinnmh-, coinnmhe only ++ SAL IONMHAG---- *N # exception to next, mionmhagadh only ++ SAL IONMHA--- *N* # epenthetic vowel, cionmhar only, see NMH-- ++ SAL ITHFH(AEIOU)--- *H # cithfholc*,crithfhuacht,frith* only- see next ++ SAL ITH(BCDFGLMNPRST)- * # aithris, frith*, etc. exception to TH->H ++ SAL IDH(BCDFGLMNPRST)- * # feidhm, traidhfil, oidhre, etc. ++ SAL IGH(CDEFILNRST)- * # foighne,caighden,oighrigh,oighear,feighil,etc. ++ SAL I * ++ SAL ORM- *R # epenthetic exception, dorma, for- only ++ SAL OMH(BCDFGLMNPRST)--- * # (pr|r|l|sn|gn)omh- only, exceptions to omh- ++ SAL THS- * # clthseach only (no excp. for dthreabh, etc.) ++ SAL * ++ SAL J T # initial j, diosc-jaca only; bit like slender d ++ SAL K K # karat only ++ SAL LEANBH-- L*N* # epenthetic vowel, (ucht)?leanbh(aois)?,see NBH-- ++ SAL LINBH-- L*N* # epenthetic vowel, (ucht)?linbh only, see NBH-- ++ SAL LMH-- L # feallmhar, etc., epenth. exception ++ SAL LBH-- L # uaillbhreas, etc., epenth. exception ++ SAL LGH-- L # timpeallghearr, etc., epenth. exception ++ SAL L(BGM)- L* # epenthetic vowel, see also ULCH-- ++ SAL L L ++ SAL MORFA--$ M*RV # exception to silent FA$ ++ SAL MBANBH^$ M*N*V # epenthetic vowel, see NBH--, not -arn ++ SAL MBAINBH^$ M*N*V # epenthetic vowel, see NBH-- ++ SAL MB^ M # eclipsis ++ SAL MHARF- V*R* # epenthetic vowel ++ SAL MARF- M*R* # epenthetic vowel, initial only ++ SAL MHODH V* # ODH exception, usually initial ++ SAL MODH M* # " " , " " ++ SAL MH V # includes mh$,/w/,/v/ + see UMH ++ SAL M M ++ SAL NAFA-- N*V # exception to FA$, snafa only ++ SAL NNARB- N*R # exception to RB epenthetic, ionnarb* only ++ SAL NNEALBH-- N*L # exception to ALBH epenthetic, coinnealbh only ++ SAL NDORCH-- N*R* # epenthetic vowel, see DORCH-- ++ SAL NDEARF- N*R* # epenthetic vowel, see DEARF- ++ SAL NDEIRF- N*R* # epenthetic vowel, see DEIRF- ++ SAL NDOIL(BF)- N*L* # epenthetic vowel, see DOIL(BF)- ++ SAL NDIFEAR N*V*R # exception to FEAR$, ^ndifear$ only ++ SAL NGAINMH-- N*N* # epenthetic vowel, see GAINMH-- ++ SAL NGEALLMH-- N*L* # epenthetic vowel, see GEALLMH- ++ SAL NGLAFADH NL*V* # exception to FADH$, ^nglafadh$ only ++ SAL NGLAFAIDH NL*V* # exception to FAIDH$, ^nglafaidh$ only ++ SAL NCHA(S)---- N* # epenthetic vowel, *sh?eancha(s)*,ionchas only ++ SAL NCHAIRD------ N # exception to next, daonchaird* only ++ SAL NCHAI(RS)----- N* # epenth. tionchair*, ionchais, *sh?eanchai*, etc. ++ SAL NCHAITHE------- N* # " " , sh?eanchaithe, not seanchaite ++ SAL N(DG)^ N # eclipsis ++ SAL NMH-- N # exception to N(BM)-, pianmhar, onnmhaire, etc. ++ SAL NBH-- N # " " ", aonbheannach, bunbhrat, etc. ++ SAL N(BM)- N* # epenthetic vowel, binb, ainm, etc. ++ SAL N N ++ SAL OFAR--$ *V # exception to FAR$, EOFAR done b4 ++ SAL OIRCH-- *R* # epenthetic vowel, t?oirch* only ++ SAL OCALBH-- *K*L # exception to ALBH - focalbh* only ++ SAL ORBH--- *R* # epenthetic vowel, forbhs only ++ SAL ONNCHA--- *N* # epenthetic vowel fionncha, Donncha only ++ SAL OMHARB- *R # exception to epenth. R(BFGM)-, comharba* only ++ SAL OMH(BCDFGLMNPRST)- * # comh-, Domhnach, etc. (several excpts b4 this) ++ SAL OTH(BCDGLMNPRS)- * # cothrom, baothchaint, gaothscth, etc. ++ SAL ODHAO---- * # fodhao* only, exception to next ++ SAL ODH(ACLNR)- * # bodhrn,modhnaigh,todhcha,fodhla,bodhar etc. ++ SAL OGHRP----- * # foghrpa, this and next few are OGH->* excepts. ++ SAL OGHLUA----- * # so/doghluaiste* only ++ SAL OGHAF---- * # doghafa only ++ SAL OGH(ABCDFGLMNPRST)- * # ogham, foghlaim, boghdir, toghchn, etc. ++ SAL O * ++ SAL R(GM)- *R # epenthetic exception, (for)?th?rmach, rga,etc. ++ SAL GH * # gha?$ only ++ SAL * ++ SAL PH V # OK ++ SAL P B ++ SAL QU KV # ^quinn$, ^quarto$ only ++ SAL RANFA-- R*NV # exception to silent FA$, -chuaranfa only ++ SAL RAFA-- R*V # exception to silent FA$, all *graf- ++ SAL RRBHA--- R* # epenthetic vowel, cearrbh* only, no carrbhuama ++ SAL REALMH-- R*L* # epenthetic vowel, see LMH--, trealmh* only ++ SAL RFEAR^$ R*V*R # exception to FEAR$, not athrfear! ++ SAL ROMH(FT)--- R* # promh[ft]- only, exception to -omh rule ++ SAL RFEAN---- R* # epenthetic vowel, (be|se|ga)irfean only ++ SAL RFIN---$ R* # epenthetic vowel, same words as previous ++ SAL RBH-- R # corbhu, aerbhrat, etc., epenth. exception ++ SAL RMH-- R # iarmhar, lirmheas, etc., epenth. exception ++ SAL RGH-- R # daorghalar, etc., epenth. exception ++ SAL RBO-- R # cosarbolg only, epenth. exception ++ SAL R(BGM)- R* # epenthetic vowel ++ SAL R R ++ SAL SHORCH-- H*R* # epenthetic vowel, sorcha root only ++ SAL SORCH-- S*R* # epenthetic vowel, sorcha root only ++ SAL SHOILBH-- H*L* # epenthetic, see LBH-- ++ SAL SOILBH-- S*L* # epenthetic, see LBH-- ++ SAL SH H # OK ++ SAL S S ++ SAL TALMH-- T*L* # epenthetic vowel, see LMH--, talmhaigh only ++ SAL THALMH-- H*L* # epenthetic vowel, see LMH--, " " ++ SAL TINF(EI)- T*NV # exception to F(EA|I)DH$, d?tinf(ea|i)dh only ++ SAL THINF(EI)- H*NV # exception to F(EA|I)DH$, thinf(ea|i)dh only ++ SAL TAFA- T*V # exception to FAINN$, d?tafainn only ++ SAL THAFA- H*V # exception to FAINN$, thafainn only ++ SAL TSORCH-- T*R* # epenthetic vowel, see SORCH-- ++ SAL TSOILBH-- T*L* # epenthetic vowel, see SOILBH-- ++ SAL TS^ T # prefix-t ++ SAL TH$ _ # no exceptions ++ SAL TH H ++ SAL T T ++ SAL UFA(R)--$ *V # exception to FAR$, brufar/[cr]ufa only ++ SAL UARG- *R # epenthetic exception, fuarga*, tuargain only ++ SAL UAIRG- *R # epenthetic exception, tuairgn* only ++ SAL UARBH-- *R # epenthetic exception, fuarbh*, cuarbh* only ++ SAL UALGA-- *L # epenthetic exception, dualgas only ++ SAL ULLMH-- *L* # epenthetic vowel, see LMH-- ++ SAL UMH * # cumhacht, umhlaocht, ciumhais, except. to MH->V ++ SAL UTH(BCDGLMNPR)- * # sruth*, guthphost only, TH->H exception ++ SAL ULCH-- *L* # epenth. vowel,ulcha,[tm]ulchn,amhulchach only ++ SAL URCH(A)--- *R* # epenthetic vowel, urchar, urchall, urchid, etc. ++ SAL UDH * # mudh* only (literary) ++ SAL UGH * # brugh* only (literary) ++ SAL U * ++ SAL IRG- *R # epenthetic exception, liotirg* only, see RG ++ SAL TH(BCDFLPR)- * # lthchleasa, dthracht, etc. - TH->H exception ++ SAL * ++ SAL V V ++ SAL W V # wigwam only ++ SAL X(AEI)-^ S # xileafn, etc. ++ SAL X^ *KS # x-gha* only ++ SAL X KS # Marxach only ++ SAL Y Y # yy only ++ SAL Z S # z, puzal, etc. diff --git a/runtime/spell/sv/sv_SE.diff b/runtime/spell/sv/sv_SE.diff index 859b22599..3dfc515cf 100644 --- a/runtime/spell/sv/sv_SE.diff +++ b/runtime/spell/sv/sv_SE.diff @@ -1,16 +1,13 @@ *** sv_SE.orig.aff Wed Aug 31 21:00:19 2005 ---- sv_SE.aff Wed Aug 31 21:02:53 2005 +--- sv_SE.aff Fri Sep 30 14:09:19 2005 *************** *** 6,7 **** ---- 6,25 ---- +--- 6,22 ---- + FOL + LOW + UPP + -+ SOFOFROM abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ޿ -+ SOFOTO ebctefghejklnnepkrstevvkesebctefghejklnnepkrstevvkeseeeeeeeceeeeeeeedneeeeeeeeeeepseeeeeeeeceeeeeeeedneeeeeeeeeeep? -+ + MAP 9 + MAP a + MAP e @@ -28,7 +25,7 @@ ! SFX C Y 16 SFX C 0 t [aeiouy] ---- 33,35 ---- +--- 30,32 ---- ! SFX C Y 15 SFX C 0 t [aeiouy] @@ -37,4 +34,108 @@ SFX C en nets en - SFX C 0 net nets [^e]n SFX C 0 nets [^e]n ---- 48,49 ---- +--- 45,46 ---- +*************** +*** 427 **** +--- 441,541 ---- + SFX T el la el ++ ++ # soundslike mapping from Aspell ++ # swedish_phonet.dat - Swedish phonetic transformation rules for aspell ++ # Copyright (C) 2000 Martin Norbck ++ # distributed under GNU GPL ++ # version 0.2 ++ ++ SAL & & ++ SAL @ @ ++ SAL ANG(EIY)-^ ANI # frledet an- ska inte bli @-ljud ++ SAL AGNO6 AKNO # agnostiker osv. ++ SAL AG(IE)-6 AK # vokal+g(ie) ger ej j-ljud ++ SAL A A ++ SAL BB-< _ ++ SAL B P ++ SAL CCO- K # broccoli, piccolo ++ SAL CC KS # successiv, access, succ ++ SAL CH & # choklad osv. ++ SAL CK K # ck -> k som vanligt ++ SAL C(EIY)-< S # c + mjuk vokal -> s ++ SAL C K # c + annat -> k ++ SAL DJ(U)- I # djungel, djvel, adj ++ SAL DD- _ ++ SAL D T ++ SAL EG(IE)-6 EK # vokal+g(ie) ger ej j-ljud ++ SAL E E ++ SAL E ++ SAL FF F ++ SAL F F ++ SAL G(EIY)-3 I # g+mjuk vokal ger j-ljud ++ SAL GG6 K ++ SAL GN @N # ugn, lugn... ++ SAL G K ++ SAL H(AOUEIY)-^ H # h i brjan av ord hrs ++ SAL H(AUOEIY)- _ # annars stumt framfr vokal ++ SAL HJ I # hj->j (hjrta osv.) ++ SAL H H ++ SAL IG(IE)-6 IK # vokal+g(ie) ger ej j-ljud ++ SAL I I ++ SAL J I ++ SAL K(EIY)-^ & # k+mjuk vokal ger sje-ljud ++ SAL KJ & # kjol ++ SAL K K ++ SAL LJU- I # ljuga, ljus ++ SAL LL- _ ++ SAL L L ++ SAL MM- _ ++ SAL M M ++ SAL NG6 @ ++ SAL NN- _ ++ SAL N N ++ SAL ORIGI8 ORKI # specialfall ++ SAL OG(IE)-6 OK # vokal+g(ie) ger ej j-ljud ++ SAL O O ++ SAL PROJEKT PRO&EKT # specialfall ++ SAL PSALT< SALT # specialfall ++ SAL PSALM< SALM # specialfall ++ SAL PP- _ ++ SAL P P ++ SAL Q K ++ SAL RGI$6 RGI # inget j i slutet ++ SAL RGA$6 RIA # hr r det dremot j (arga,frga) ++ SAL RGE$6 RIE # hr ocks (Norge, verge) ++ SAL RGS$ RIS # rgs i slutet ++ SAL RG$ RI # rg i slutet ++ SAL RD T # "bltt" d ++ SAL RN N # "bltt" n ++ SAL RT T # "bltt" t ++ SAL RLD T # vrld ++ SAL RL L # "bltt" l ++ SAL RS & # sje-ljud (fars, grsgrd) ++ SAL RR- _ ++ SAL R R ++ SAL SS- _ ++ SAL SCHIZ6 SKITS # specialfall ++ SAL SCH6 & ++ SAL SKJ & # skjorta, skjuta ++ SAL SJ & # sje-ljud ++ SAL S S ++ SAL TION9^ TION # tionde ++ SAL TION6 &ON # station osv. ++ SAL TT- _ ++ SAL T T ++ SAL UG(IE)-6 UK # vokal+g(ie) ger ej j-ljud ++ SAL U U ++ SAL V F ++ SAL W F ++ SAL X9 KS ++ SAL YG(IE)-6 YK # vokal+g(ie) ger ej j-ljud ++ SAL Y I ++ SAL ZZ TS ++ SAL Z S ++ SAL TTIO9 OTIO # specialfall (ej sje-ljud) ++ SAL RTION9 ORTION # specialfall (r hrs) ++ SAL G(IE)-6 OK # vokal+g(ie) ger ej j-ljud ++ SAL O ++ SAL G(IE)-6 EK # vokal+g(ie) ger ej j-ljud ++ SAL E ++ SAL G(IE)-6 K # vokal+g(ie) ger ej j-ljud ++ SAL diff --git a/runtime/spell/yi/yi.diff b/runtime/spell/yi/yi.diff index 099488a83..015a8fc86 100644 --- a/runtime/spell/yi/yi.diff +++ b/runtime/spell/yi/yi.diff @@ -6,7 +6,7 @@ + 999999 גרונטעלעמענט דזשאָבענדיקס -*** /dev/null Thu Sep 29 20:06:57 2005 +*** /dev/null Fri Sep 30 14:15:43 2005 --- yi.aff Mon Aug 15 23:06:00 2005 *************** *** 0 **** diff --git a/src/edit.c b/src/edit.c index d9bfb2fb0..e4370fcc2 100644 --- a/src/edit.c +++ b/src/edit.c @@ -3515,6 +3515,7 @@ ins_complete(c) compl_col = spell_word_start(startcol); if (compl_col >= (colnr_T)startcol) return FAIL; + spell_expand_check_cap(compl_col); compl_length = (int)curs_col - compl_col; compl_pattern = vim_strnsave(line + compl_col, compl_length); if (compl_pattern == NULL) diff --git a/src/gui_w32.c b/src/gui_w32.c index 6ff5fc649..c5d1eb009 100644 --- a/src/gui_w32.c +++ b/src/gui_w32.c @@ -1971,7 +1971,9 @@ gui_mch_draw_string( vim_free(padding); pad_size = Columns; - padding = (int *)alloc(pad_size * sizeof(int)); + /* Don't give an out-of-memory message here, it would call us + * recursively. */ + padding = (int *)lalloc(pad_size * sizeof(int), FALSE); if (padding != NULL) for (i = 0; i < pad_size; i++) padding[i] = gui.char_width; @@ -2007,10 +2009,10 @@ gui_mch_draw_string( && (unicodebuf == NULL || len > unibuflen)) { vim_free(unicodebuf); - unicodebuf = (WCHAR *)alloc(len * sizeof(WCHAR)); + unicodebuf = (WCHAR *)lalloc(len * sizeof(WCHAR), FALSE); vim_free(unicodepdy); - unicodepdy = (int *)alloc(len * sizeof(int)); + unicodepdy = (int *)lalloc(len * sizeof(int), FALSE); unibuflen = len; } @@ -2730,12 +2732,12 @@ gui_mch_dialog( dfltbutton = -1; /* Allocate array to hold the width of each button */ - buttonWidths = (int *) lalloc(numButtons * sizeof(int), TRUE); + buttonWidths = (int *)lalloc(numButtons * sizeof(int), TRUE); if (buttonWidths == NULL) return -1; /* Allocate array to hold the X position of each button */ - buttonPositions = (int *) lalloc(numButtons * sizeof(int), TRUE); + buttonPositions = (int *)lalloc(numButtons * sizeof(int), TRUE); if (buttonPositions == NULL) return -1; diff --git a/src/proto/spell.pro b/src/proto/spell.pro index facbfbc76..87261a244 100644 --- a/src/proto/spell.pro +++ b/src/proto/spell.pro @@ -19,5 +19,6 @@ char_u *eval_soundfold __ARGS((char_u *word)); void ex_spelldump __ARGS((exarg_T *eap)); char_u *spell_to_word_end __ARGS((char_u *start, buf_T *buf)); int spell_word_start __ARGS((int startcol)); +void spell_expand_check_cap __ARGS((colnr_T col)); int expand_spelling __ARGS((linenr_T lnum, int col, char_u *pat, char_u ***matchp)); /* vim: set ft=c : */ diff --git a/src/version.h b/src/version.h index 70e2f4d3e..85bf690b5 100644 --- a/src/version.h +++ b/src/version.h @@ -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 Sep 29)" -#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Sep 29, compiled " +#define VIM_VERSION_LONG "VIM - Vi IMproved 7.0aa ALPHA (2005 Sep 30)" +#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.0aa ALPHA (2005 Sep 30, compiled " -- cgit v1.2.1