diff --git a/7.0.076 b/7.0.076 new file mode 100644 index 0000000..6244dab --- /dev/null +++ b/7.0.076 @@ -0,0 +1,76 @@ +To: vim-dev@vim.org +Subject: Patch 7.0.076 +Fcc: outbox +From: Bram Moolenaar +Mime-Version: 1.0 +Content-Type: text/plain; charset=ISO-8859-1 +Content-Transfer-Encoding: 8bit +------------ + +Patch 7.0.076 (after 7.0.010) +Problem: Automatic downloading of spell files only works for ftp. +Solution: Don't add login and password for non-ftp URLs. (Alexander Patrakov) +Files: runtime/autoload/spellfile.vim + + +*** ../vim-7.0.075/runtime/autoload/spellfile.vim Sat May 13 14:29:16 2006 +--- runtime/autoload/spellfile.vim Tue Aug 29 22:17:03 2006 +*************** +*** 1,6 **** + " Vim script to download a missing spell file + " Maintainer: Bram Moolenaar +! " Last Change: 2006 May 10 + + if !exists('g:spellfile_URL') + let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/runtime/spell' +--- 1,6 ---- + " Vim script to download a missing spell file + " Maintainer: Bram Moolenaar +! " Last Change: 2006 Aug 29 + + if !exists('g:spellfile_URL') + let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/runtime/spell' +*************** +*** 110,118 **** + endif + endfunc + +! " Read "fname" from the ftp server. + function! spellfile#Nread(fname) +! let machine = substitute(g:spellfile_URL, 'ftp://\([^/]*\).*', '\1', '') +! let dir = substitute(g:spellfile_URL, 'ftp://[^/]*/\(.*\)', '\1', '') +! exe 'Nread "' . machine . ' anonymous vim7user ' . dir . '/' . a:fname . '"' + endfunc +--- 110,123 ---- + endif + endfunc + +! " Read "fname" from the server. + function! spellfile#Nread(fname) +! if g:spellfile_URL =~ '^ftp://' +! " for an ftp server use a default login and password to avoid a prompt +! let machine = substitute(g:spellfile_URL, 'ftp://\([^/]*\).*', '\1', '') +! let dir = substitute(g:spellfile_URL, 'ftp://[^/]*/\(.*\)', '\1', '') +! exe 'Nread "' . machine . ' anonymous vim7user ' . dir . '/' . a:fname . '"' +! else +! exe 'Nread ' g:spellfile_URL . '/' . a:fname +! endif + endfunc +*** ../vim-7.0.075/src/version.c Tue Aug 29 21:59:25 2006 +--- src/version.c Tue Aug 29 22:31:45 2006 +*************** +*** 668,669 **** +--- 668,671 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 76, + /**/ + +-- +This sentence is not sure that it exists, but if it does, it will +certainly consider the possibility that other sentences exist. + + /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ download, build and distribute -- http://www.A-A-P.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org /// diff --git a/vim.spec b/vim.spec index bfb178a..ed4a94a 100644 --- a/vim.spec +++ b/vim.spec @@ -15,12 +15,12 @@ #used for pre-releases: %define beta %{nil} %define vimdir vim70%{?beta} -%define patchlevel 066 +%define patchlevel 076 Summary: The VIM editor. Name: vim Version: %{baseversion}.%{beta}%{patchlevel} -Release: 2 +Release: 1 License: freeware Group: Applications/Editors Source0: ftp://ftp.vim.org/pub/vim/unix/vim-%{baseversion}%{?beta}%{?CVSDATE}.tar.bz2 @@ -111,6 +111,16 @@ Patch063: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.063 Patch064: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.064 Patch065: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.065 Patch066: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.066 +Patch067: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.067 +Patch068: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.068 +Patch069: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.069 +Patch070: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.070 +Patch071: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.071 +Patch072: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.072 +Patch073: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.073 +Patch074: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.074 +Patch075: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.075 +Patch076: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.076 Patch3000: vim-7.0-syntax.patch @@ -310,6 +320,17 @@ perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk # Mac: #patch065 -p0 %patch066 -p0 +%patch067 -p0 +%patch068 -p0 +%patch069 -p0 +%patch070 -p0 +%patch071 -p0 +%patch072 -p0 +%patch073 -p0 +# Win32: +#patch074 -p0 +%patch075 -p0 +%patch076 -p0 %patch3000 -p1 %patch3001 -p1 @@ -634,6 +655,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/icons/hicolor/*/apps/* %changelog +* Wed Aug 30 2006 Karsten Hopp 7.0.076-1 +- Patchlevel 76 + * Thu Aug 25 2006 Karsten Hopp 7.0.066-2 - fix vimdiff colors (#204042)