Mercurial > vim
changeset 1214:a91a2e0c4108
updated for version 7.1b
author | vimboss |
---|---|
date | Thu, 10 May 2007 18:25:20 +0000 |
parents | 8906c10ecbb0 |
children | 1d08aac0aea9 |
files | runtime/autoload/netrwSettings.vim runtime/autoload/xml/xsd.vim runtime/autoload/zip.vim runtime/doc/autocmd.txt runtime/doc/if_tcl.txt runtime/doc/usr_21.txt runtime/doc/usr_24.txt runtime/syntax/eruby.vim src/ex_eval.c src/ex_getln.c src/gui_photon.c src/termlib.c src/version.c src/version.h |
diffstat | 14 files changed, 231 insertions(+), 68 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/autoload/netrwSettings.vim +++ b/runtime/autoload/netrwSettings.vim @@ -1,7 +1,7 @@ " netrwSettings.vim: makes netrw settings simpler -" Date: Jan 05, 2007 +" Date: Mar 26, 2007 " Maintainer: Charles E Campbell, Jr <drchipNOSPAM at campbellfamily dot biz> -" Version: 9b ASTRO-ONLY +" Version: 9 " Copyright: Copyright (C) 1999-2007 Charles E. Campbell, Jr. {{{1 " Permission is hereby granted to use and distribute this code, " with or without modifications, provided that this copyright @@ -19,7 +19,7 @@ if exists("g:loaded_netrwSettings") || &cp finish endif -let g:loaded_netrwSettings = "v9b" +let g:loaded_netrwSettings = "v9" " --------------------------------------------------------------------- " NetrwSettings: {{{1 @@ -81,11 +81,15 @@ fun! netrwSettings#NetrwSettings() put = 'let g:netrw_ftp = '.g:netrw_ftp put = 'let g:netrw_ftpmode = '.g:netrw_ftpmode put = 'let g:netrw_ignorenetrc = '.g:netrw_ignorenetrc + put = 'let g:netrw_sshport = '.g:netrw_sshport let shqline= line("$") put = 'let g:netrw_shq...' put = 'let g:netrw_use_nt_rcp = '.g:netrw_use_nt_rcp put = 'let g:netrw_win95ftp = '.g:netrw_win95ftp let s:netrw_xfer_stop= line(".") + put ='' + put ='+ Netrw Messages' + put ='let g:netrw_use_errorwindow = '.g:netrw_use_errorwindow put = '' put ='+ Netrw Browser Control' @@ -122,12 +126,14 @@ fun! netrwSettings#NetrwSettings() put = 'let g:netrw_sort_direction = '.g:netrw_sort_direction put = 'let g:netrw_sort_sequence = '.g:netrw_sort_sequence put = 'let g:netrw_ssh_browse_reject = '.g:netrw_ssh_browse_reject + put = 'let g:netrw_scpport = '.g:netrw_scpport + put = 'let g:netrw_sshport = '.g:netrw_sshport put = 'let g:netrw_timefmt = '.g:netrw_timefmt put = 'let g:netrw_use_noswf = '.g:netrw_use_noswf put = 'let g:netrw_winsize = '.g:netrw_winsize put ='' - put ='+ For help, place cursor on line and press ?' + put ='+ For help, place cursor on line and press <F1>' 1d silent %s/^+/"/e
new file mode 100644 --- /dev/null +++ b/runtime/autoload/xml/xsd.vim @@ -0,0 +1,130 @@ +" Author: Thomas Barthel +" Last change: 2007 May 8 +let g:xmldata_xsd = { + \ 'schema': [ + \ [ 'include', 'import', 'redefine', 'annotation', 'simpleType', 'complexType', 'element', 'attribute', 'attributeGroup', 'group', 'notation', 'annotation'], + \ { 'targetNamespace' : [], 'version' : [], 'xmlns' : [], 'finalDefault' : [], 'blockDefault' : [], 'id' : [], 'elementFormDefault' : [], 'attributeFormDefault' : [], 'xml:lang' : [] }], + \ 'redefine' : [ + \ ['annotation', 'simpleType', 'complexType', 'attributeGroup', 'group'], + \ {'schemaLocation' : [], 'id' : []} ], + \ 'include' : [ + \ ['annotation'], + \ {'namespace' : [], 'id' : []} ], + \ 'import' : [ + \ ['annotation'], + \ {'namespace' : [], 'schemaLocation' : [], 'id' : []} ], + \ 'complexType' : [ + \ ['annotation', 'simpleContent', 'complexContent', 'all', 'choice', 'sequence', 'group', 'attribute', 'attributeGroup', 'anyAttribute'], + \ {'name' : [], 'id' : [], 'abstract' : [], 'final' : [], 'block' : [], 'mixed' : []} ], + \ 'complexContent' : [ + \ ['annotation', 'restriction', 'extension'], + \ {'mixed' : [], 'id' : [] } ], + \ 'simpleType' : [ + \ ['annotation', 'restriction', 'list', 'union'], + \ {'name' : [], 'final' : [], 'id' : []} ], + \ 'simpleContent' : [ + \ ['annotation', 'restriction', 'extension'], + \ {'id' : []} ], + \ 'element' : [ + \ ['annotation', 'complexType', 'simpleType', 'unique', 'key', 'keyref'], + \ {'name' : [], 'id' : [], 'ref' : [], 'type' : [], 'minOccurs' : [], 'maxOccurs' : [], 'nillable' : [], 'substitutionGroup' : [], 'abstract' : [], 'final' : [], 'block' : [], 'default' : [], 'fixed' : [], 'form' : []} ], + \ 'attribute' : [ + \ ['annotation', 'simpleType'], + \ {'name' : [], 'id' : [], 'ref' : [], 'type' : [], 'use' : [], 'default' : [], 'fixed' : [], 'form' : []} ], + \ 'group' : [ + \ ['annotation', 'all', 'choice', 'sequence'], + \ {'name' : [], 'ref' : [], 'minOccurs' : [], 'maxOccurs' : [], 'id' : []} ], + \ 'choice' : [ + \ ['annotation', 'element', 'group', 'choice', 'sequence', 'any'], + \ {'minOccurs' : [], 'maxOccurs' : [], 'id' : []} ], + \ 'sequence' : [ + \ ['annotation', 'element', 'group', 'choice', 'sequence', 'any'], + \ {'minOccurs' : [], 'maxOccurs' : [], 'id' : []} ], + \ 'all' : [ + \ ['annotation', 'element'], + \ {'minOccurs' : [], 'maxOccurs' : [], 'id' : []} ], + \ 'any' : [ + \ ['annotation'], + \ {'namespace' : [], 'processContents' : [], 'minOccurs' : [], 'maxOccurs' : [], 'id' : []} ], + \ 'unique' : [ + \ ['annotation', 'selector', 'field'], + \ {'name' : [], 'id' : []} ], + \ 'key' : [ + \ ['annotation', 'selector', 'field'], + \ {'name' : [], 'id' : []} ], + \ 'keyref' : [ + \ ['annotation', 'selector', 'field'], + \ {'name' : [], 'refer' : [], 'id' : []} ], + \ 'selector' : [ + \ ['annotation'], + \ {'xpath' : [], 'id' : []} ], + \ 'field' : [ + \ ['annotation'], + \ {'xpath' : [], 'id' : []} ], + \ 'restriction' : [ + \ ['annotation', 'simpleType', 'minExclusive', 'maxExclusive', 'minInclusive', 'maxInclusive', 'totalDigits', 'fractionDigits', 'length', 'minLength', 'maxLength', 'enumeration', 'whiteSpace', 'pattern'], + \ {'base' : [], 'id' : []} ], + \ 'minExclusive' : [ + \ ['annotation'], + \ {'value' : [], 'id' : [], 'fixed' : []}], + \ 'maxExclusive' : [ + \ ['annotation'], + \ {'value' : [], 'id' : [], 'fixed' : []}], + \ 'minInclusive' : [ + \ ['annotation'], + \ {'value' : [], 'id' : [], 'fixed' : []}], + \ 'maxInclusive' : [ + \ ['annotation'], + \ {'value' : [], 'id' : [], 'fixed' : []}], + \ 'totalDigits' : [ + \ ['annotation'], + \ {'value' : [], 'id' : [], 'fixed' : []}], + \ 'fractionDigits' : [ + \ ['annotation'], + \ {'value' : [], 'id' : [], 'fixed' : []}], + \ 'length' : [ + \ ['annotation'], + \ {'value' : [], 'id' : [], 'fixed' : []}], + \ 'minLength' : [ + \ ['annotation'], + \ {'value' : [], 'id' : [], 'fixed' : []}], + \ 'maxLength' : [ + \ ['annotation'], + \ {'value' : [], 'id' : [], 'fixed' : []}], + \ 'enumeration' : [ + \ ['annotation'], + \ {'value' : [], 'id' : []}], + \ 'whiteSpace' : [ + \ ['annotation'], + \ {'value' : [], 'id' : [], 'fixed' : []}], + \ 'pattern' : [ + \ ['annotation'], + \ {'value' : [], 'id' : []}], + \ 'extension' : [ + \ ['annotation', 'all', 'choice', 'sequence', 'group', 'attribute', 'attributeGroup', 'anyAttribute'], + \ {'base' : [], 'id' : []} ], + \ 'attributeGroup' : [ + \ ['annotation', 'attribute', 'attributeGroup', 'anyAttribute'], + \ {'name' : [], 'id' : [], 'ref' : []} ], + \ 'anyAttribute' : [ + \ ['annotation'], + \ {'namespace' : [], 'processContents' : [], 'id' : []} ], + \ 'list' : [ + \ ['annotation', 'simpleType'], + \ {'itemType' : [], 'id' : []} ], + \ 'union' : [ + \ ['annotation', 'simpleType'], + \ {'id' : [], 'memberTypes' : []} ], + \ 'notation' : [ + \ ['annotation'], + \ {'name' : [], 'id' : [], 'public' : [], 'system' : []} ], + \ 'annotation' : [ + \ ['appinfo', 'documentation'], + \ {} ], + \ 'appinfo' : [ + \ [], + \ {'source' : [], 'id' : []} ], + \ 'documentation' : [ + \ [], + \ {'source' : [], 'id' : [], 'xml' : []} ] + \ }
--- a/runtime/autoload/zip.vim +++ b/runtime/autoload/zip.vim @@ -1,7 +1,7 @@ " zip.vim: Handles browsing zipfiles " AUTOLOAD PORTION -" Date: Sep 29, 2006 -" Version: 12 +" Date: May 08, 2007 +" Version: 14 " Maintainer: Charles E Campbell, Jr <NdrOchip@ScampbellPfamily.AbizM-NOSPAM> " License: Vim License (see vim's :help license) " Copyright: Copyright (C) 2005 Charles E. Campbell, Jr. {{{1 @@ -22,7 +22,7 @@ if &cp || exists("g:loaded_zip") || v:ve finish endif -let g:loaded_zip = "v12" +let g:loaded_zip = "v14" let s:zipfile_escape = ' ?&;\' let s:ERROR = 2 let s:WARNING = 1 @@ -37,6 +37,12 @@ if !exists("g:zip_shq") let g:zip_shq= '"' endif endif +if !exists("g:zip_zipcmd") + let g:zip_zipcmd= "zip" +endif +if !exists("g:zip_unzipcmd") + let g:zip_unzipcmd= "unzip" +endif " ---------------- " Functions: {{{1 @@ -50,7 +56,7 @@ fun! zip#Browse(zipfile) set report=10 " sanity checks - if !executable("unzip") + if !executable(g:zip_unzipcmd) redraw! echohl Error | echo "***error*** (zip#Browse) unzip not available on your system" " call inputsave()|call input("Press <cr> to continue")|call inputrestore() @@ -73,7 +79,7 @@ fun! zip#Browse(zipfile) if &ma != 1 set ma endif - let w:zipfile= a:zipfile + let b:zipfile= a:zipfile setlocal noswapfile setlocal buftype=nofile @@ -90,8 +96,8 @@ fun! zip#Browse(zipfile) 0d $ -" call Decho("exe silent r! unzip -l ".s:QuoteFileDir(a:zipfile)) - exe "silent r! unzip -l ".s:QuoteFileDir(a:zipfile) +" call Decho("exe silent r! ".g:zip_unzipcmd." -l ".s:QuoteFileDir(a:zipfile)) + exe "silent r! ".g:zip_unzipcmd." -l ".s:QuoteFileDir(a:zipfile) if v:shell_error != 0 redraw! echohl WarningMsg | echo "***warning*** (zip#Browse) ".a:zipfile." is not a zip file" | echohl None @@ -125,7 +131,7 @@ endfun " --------------------------------------------------------------------- " ZipBrowseSelect: {{{2 fun! s:ZipBrowseSelect() -" call Dfunc("ZipBrowseSelect() zipfile<".w:zipfile."> curfile<".expand("%").">") +" call Dfunc("ZipBrowseSelect() zipfile<".b:zipfile."> curfile<".expand("%").">") let repkeep= &report set report=10 let fname= getline(".") @@ -148,7 +154,7 @@ fun! s:ZipBrowseSelect() " call Decho("fname<".fname.">") " get zipfile to the new-window - let zipfile = w:zipfile + let zipfile = b:zipfile let curfile= expand("%") " call Decho("zipfile<".zipfile.">") " call Decho("curfile<".curfile.">") @@ -177,15 +183,13 @@ fun! zip#Read(fname,mode) else let zipfile = substitute(a:fname,'^.\{-}zipfile:\(.\{-}\)::[^\\].*$','\1','') let fname = substitute(a:fname,'^.\{-}zipfile:.\{-}::\([^\\].*\)$','\1','') - - " TODO Needs to predicated to using InfoZIP's unzip on Windows let fname = substitute(fname, '[', '[[]', 'g') endif " call Decho("zipfile<".zipfile.">") " call Decho("fname <".fname.">") -" call Decho("exe r! unzip -p ".s:QuoteFileDir(zipfile)." ".s:QuoteFileDir(fname)) - exe "silent r! unzip -p ".s:QuoteFileDir(zipfile)." ".s:QuoteFileDir(fname) +" call Decho("exe r! ".g:zip_unzipcmd." -p ".s:QuoteFileDir(zipfile)." ".s:QuoteFileDir(fname)) + exe "silent r! ".g:zip_unzipcmd." -p ".s:QuoteFileDir(zipfile)." ".s:QuoteFileDir(fname) " cleanup 0d @@ -203,7 +207,7 @@ fun! zip#Write(fname) set report=10 " sanity checks - if !executable("zip") + if !executable(g:zip_zipcmd) redraw! echohl Error | echo "***error*** (zip#Write) sorry, your system doesn't appear to have the zip pgm" | echohl None " call inputsave()|call input("Press <cr> to continue")|call inputrestore() @@ -273,13 +277,12 @@ fun! zip#Write(fname) let zipfile = substitute(system("cygpath ".zipfile),'\n','','e') endif - " TODO Needs to predicated to using InfoZIP's unzip if (has("win32") || has("win95") || has("win64") || has("win16")) && &shell !~? 'sh$' let fname = substitute(fname, '[', '[[]', 'g') endif -" call Decho("zip -u ".s:QuoteFileDir(zipfile)." ".s:QuoteFileDir(fname)) - call system("zip -u ".s:QuoteFileDir(zipfile)." ".s:QuoteFileDir(fname)) +" call Decho(g:zip_zipcmd." -u ".s:QuoteFileDir(zipfile)." ".s:QuoteFileDir(fname)) + call system(g:zip_zipcmd." -u ".s:QuoteFileDir(zipfile)." ".s:QuoteFileDir(fname)) if v:shell_error != 0 redraw! echohl Error | echo "***error*** (zip#Write) sorry, unable to update ".zipfile." with ".fname | echohl None @@ -367,4 +370,4 @@ endfun " Modelines And Restoration: {{{1 let &cpo= s:keepcpo unlet s:keepcpo -" vim:ts=8 fdm=marker +" vim:ts=8 fdm=marker
--- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim version 7.1a. Last change: 2007 Mar 27 +*autocmd.txt* For Vim version 7.1b. Last change: 2007 Mar 27 VIM REFERENCE MANUAL by Bram Moolenaar
--- a/runtime/doc/if_tcl.txt +++ b/runtime/doc/if_tcl.txt @@ -1,4 +1,4 @@ -*if_tcl.txt* For Vim version 7.1a. Last change: 2006 Mar 06 +*if_tcl.txt* For Vim version 7.1b. Last change: 2006 Mar 06 VIM REFERENCE MANUAL by Ingo Wilken
--- a/runtime/doc/usr_21.txt +++ b/runtime/doc/usr_21.txt @@ -1,4 +1,4 @@ -*usr_21.txt* For Vim version 7.1a. Last change: 2007 May 01 +*usr_21.txt* For Vim version 7.1b. Last change: 2007 May 01 VIM USER MANUAL - by Bram Moolenaar
--- a/runtime/doc/usr_24.txt +++ b/runtime/doc/usr_24.txt @@ -1,4 +1,4 @@ -*usr_24.txt* For Vim version 7.1a. Last change: 2006 Jul 23 +*usr_24.txt* For Vim version 7.1b. Last change: 2006 Jul 23 VIM USER MANUAL - by Bram Moolenaar
--- a/runtime/syntax/eruby.vim +++ b/runtime/syntax/eruby.vim @@ -1,16 +1,12 @@ " Vim syntax file " Language: eRuby -" Maintainer: Doug Kearns <dougkearns@gmail.com> +" Maintainer: Tim Pope <vimNOSPAM@tpope.info> " Info: $Id$ " URL: http://vim-ruby.rubyforge.org " Anon CVS: See above site " Release Coordinator: Doug Kearns <dougkearns@gmail.com> -" For version 5.x: Clear all syntax items -" For version 6.x: Quit when a syntax file was already loaded -if version < 600 - syntax clear -elseif exists("b:current_syntax") +if exists("b:current_syntax") finish endif @@ -18,21 +14,51 @@ if !exists("main_syntax") let main_syntax = 'eruby' endif -if version < 600 - so <sfile>:p:h/html.vim - syn include @rubyTop <sfile>:p:h/ruby.vim -else - runtime! syntax/html.vim - unlet b:current_syntax - syn include @rubyTop syntax/ruby.vim +if !exists("g:eruby_default_subtype") + let g:eruby_default_subtype = "html" endif +if !exists("b:eruby_subtype") && main_syntax == 'eruby' + let s:lines = getline(1)."\n".getline(2)."\n".getline(3)."\n".getline(4)."\n".getline(5)."\n".getline("$") + let b:eruby_subtype = matchstr(s:lines,'eruby_subtype=\zs\w\+') + if b:eruby_subtype == '' + let b:eruby_subtype = matchstr(substitute(expand("%:t"),'\c\%(\.erb\)\+$','',''),'\.\zs\w\+$') + endif + if b:eruby_subtype == 'rhtml' + let b:eruby_subtype = 'html' + elseif b:eruby_subtype == 'rb' + let b:eruby_subtype = 'ruby' + elseif b:eruby_subtype == 'yml' + let b:eruby_subtype = 'yaml' + elseif b:eruby_subtype == 'js' + let b:eruby_subtype = 'javascript' + elseif b:eruby_subtype == 'txt' + " Conventional; not a real file type + let b:eruby_subtype = 'text' + elseif b:eruby_subtype == '' + let b:eruby_subtype = g:eruby_default_subtype + endif +endif + +if !exists("b:eruby_nest_level") + let b:eruby_nest_level = strlen(substitute(substitute(substitute(expand("%:t"),'@','','g'),'\c\.\%(erb\|rhtml\)\>','@','g'),'[^@]','','g')) +endif +if !b:eruby_nest_level + let b:eruby_nest_level = 1 +endif + +if exists("b:eruby_subtype") && b:eruby_subtype != '' + exe "runtime! syntax/".b:eruby_subtype.".vim" + unlet! b:current_syntax +endif +syn include @rubyTop syntax/ruby.vim + syn cluster erubyRegions contains=erubyOneLiner,erubyBlock,erubyExpression,erubyComment -syn region erubyOneLiner matchgroup=erubyDelimiter start="^%%\@!" end="$" contains=@rubyTop containedin=ALLBUT,@erubyRegions keepend oneline -syn region erubyBlock matchgroup=erubyDelimiter start="<%%\@!-\=" end="-\=%>" contains=@rubyTop containedin=ALLBUT,@erubyRegions -syn region erubyExpression matchgroup=erubyDelimiter start="<%=" end="-\=%>" contains=@rubyTop containedin=ALLBUT,@erubyRegions -syn region erubyComment matchgroup=erubyDelimiter start="<%#" end="-\=%>" contains=rubyTodo,@Spell containedin=ALLBUT,@erubyRegions keepend +exe 'syn region erubyOneLiner matchgroup=erubyDelimiter start="^%\{1,'.b:eruby_nest_level.'\}%\@!" end="$" contains=@rubyTop containedin=ALLBUT,@erbRegions keepend oneline' +exe 'syn region erubyBlock matchgroup=erubyDelimiter start="<%\{1,'.b:eruby_nest_level.'\}%\@!-\=" end="-\=%>" contains=@rubyTop containedin=ALLBUT,@erbRegions' +exe 'syn region erubyExpression matchgroup=erubyDelimiter start="<%\{1,'.b:eruby_nest_level.'\}=" end="-\=%>" contains=@rubyTop containedin=ALLBUT,@erbRegions' +exe 'syn region erubyComment matchgroup=erubyDelimiter start="<%\{1,'.b:eruby_nest_level.'\}#" end="-\=%>" contains=rubyTodo,@Spell containedin=ALLBUT,@erbRegions keepend' " Define the default highlighting. " For version 5.7 and earlier: only when not done already @@ -50,7 +76,7 @@ if version >= 508 || !exists("did_eruby_ delcommand HiLink endif -let b:current_syntax = "eruby" +let b:current_syntax = 'eruby' if main_syntax == 'eruby' unlet main_syntax
--- a/src/ex_eval.c +++ b/src/ex_eval.c @@ -80,7 +80,7 @@ static void report_pending __ARGS((int a static int cause_abort = FALSE; /* - * Return TRUE when immdediately aborting on error, or when an interrupt + * Return TRUE when immediately aborting on error, or when an interrupt * occurred or an exception was thrown but not caught. Use for ":{range}call" * to check whether an aborted function that does not handle a range itself * should be called again for the next line in the range. Also used for @@ -2191,9 +2191,9 @@ cleanup_conditionals(cstack, searched_co break; /* - * When leaving a try conditinal that reset "emsg_silent" on its entry - * after saving the original value, restore that value here and free the - * memory used to store it. + * When leaving a try conditional that reset "emsg_silent" on its + * entry after saving the original value, restore that value here and + * free the memory used to store it. */ if ((cstack->cs_flags[idx] & CSF_TRY) && (cstack->cs_flags[idx] & CSF_SILENT))
--- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -2849,7 +2849,7 @@ save_cmdline(ccp) } /* - * Resture ccline after it has been saved with save_cmdline(). + * Restore ccline after it has been saved with save_cmdline(). */ static void restore_cmdline(ccp) @@ -3039,7 +3039,7 @@ cmdline_del(from) #endif /* - * this fuction is called when the screen size changes and with incremental + * this function is called when the screen size changes and with incremental * search */ void @@ -6026,7 +6026,7 @@ ex_window() apply_autocmds(EVENT_CMDWINLEAVE, typestr, typestr, FALSE, curbuf); # endif - /* Restore the comand line info. */ + /* Restore the command line info. */ ccline = save_ccline; cmdwin_type = 0;
--- a/src/gui_photon.c +++ b/src/gui_photon.c @@ -288,7 +288,7 @@ gui_ph_handle_menu_resize( height = sizes->new_dim.h; - /* Because vim treats the toolbar and menubar separatly, + /* Because vim treats the toolbar and menubar separately, * and here they're lumped together into a PtToolbarGroup, * we only need either menu_height or toolbar_height set at once */ if( gui.menu_is_active ) @@ -740,7 +740,7 @@ gui_ph_handle_raw_draw( PtWidget_t *widg #if 0 /* - * This causes some wierd probems, with drawing being done from + * This causes some weird problems, with drawing being done from * within this raw drawing function (rather than just simple clearing * and text drawing done by gui_redraw) * @@ -1116,7 +1116,7 @@ gui_mch_init(void) PtArg_t args[10]; int flags = 0, n = 0; - PhDim_t window_size = {100, 100}; /* Abitrary values */ + PhDim_t window_size = {100, 100}; /* Arbitrary values */ PhPoint_t pos = {0, 0}; gui.event_buffer = (PhEvent_t *) alloc( EVENT_BUFFER_SIZE ); @@ -1978,7 +1978,7 @@ hex_digit(int c) /* - * This should be split out into a seperate file, + * This should be split out into a separate file, * every port does basically the same thing. * * This is the gui_w32.c version (i think..)
--- a/src/termlib.c +++ b/src/termlib.c @@ -8,7 +8,7 @@ /* Modified by Bram Moolenaar for use with VIM - Vi Improved. */ /* A few bugs removed by Olaf 'Rhialto' Seibert. */ -/* TERMLIB: Terminal independant database. */ +/* TERMLIB: Terminal independent database. */ #include "vim.h" #include "termlib.pro" @@ -155,7 +155,7 @@ getent(tbuf, term, termcap, buflen) { char *nexttptr; - while (*tptr == '|') /* | seperates names */ + while (*tptr == '|') /* | separates names */ tptr++; nexttptr = _find(tptr, ":|"); /* Rhialto */ if (tptr + tlen == nexttptr &&
--- a/src/version.c +++ b/src/version.c @@ -667,8 +667,6 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ - 1, -/**/ 0 };
--- a/src/version.h +++ b/src/version.h @@ -10,7 +10,7 @@ * Define the version number, name, etc. * The patchlevel is in included_patches[], in version.c. * - * This doesn't use string contatenation, some compilers don't support it. + * This doesn't use string concatenation, some compilers don't support it. */ #define VIM_VERSION_MAJOR 7 @@ -19,9 +19,9 @@ #define VIM_VERSION_MINOR_STR "1" #define VIM_VERSION_100 (VIM_VERSION_MAJOR * 100 + VIM_VERSION_MINOR) -#define VIM_VERSION_BUILD 263 -#define VIM_VERSION_BUILD_BCD 0x107 -#define VIM_VERSION_BUILD_STR "263" +#define VIM_VERSION_BUILD 264 +#define VIM_VERSION_BUILD_BCD 0x108 +#define VIM_VERSION_BUILD_STR "264" #define VIM_VERSION_PATCHLEVEL 0 #define VIM_VERSION_PATCHLEVEL_STR "0" /* Used by MacOS port should be one of: development, alpha, beta, final */ @@ -33,8 +33,8 @@ * VIM_VERSION_MEDIUM is used for the startup-screen. * VIM_VERSION_LONG is used for the ":version" command and "Vim -h". */ -#define VIM_VERSION_NODOT "vim71a" -#define VIM_VERSION_SHORT "7.1a" -#define VIM_VERSION_MEDIUM "7.1a BETA" -#define VIM_VERSION_LONG "VIM - Vi IMproved 7.1a BETA (2007 May 5)" -#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.1a BETA (2007 May 5, compiled " +#define VIM_VERSION_NODOT "vim71b" +#define VIM_VERSION_SHORT "7.1b" +#define VIM_VERSION_MEDIUM "7.1b BETA" +#define VIM_VERSION_LONG "VIM - Vi IMproved 7.1b BETA (2007 May 10)" +#define VIM_VERSION_LONG_DATE "VIM - Vi IMproved 7.1b BETA (2007 May 10, compiled "