- patchlevel 394
This commit is contained in:
parent
fdbb17d715
commit
1aef5ff076
99
7.2.394
Normal file
99
7.2.394
Normal file
@ -0,0 +1,99 @@
|
||||
To: vim-dev@vim.org
|
||||
Subject: Patch 7.2.394
|
||||
Fcc: outbox
|
||||
From: Bram Moolenaar <Bram@moolenaar.net>
|
||||
Mime-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
------------
|
||||
|
||||
Patch 7.2.394
|
||||
Problem: .lzma and .xz files are not supported.
|
||||
Solution: Recognize .lzma and .xz files so that they can be edited.
|
||||
Files: runtime/plugin/gzip.vim
|
||||
|
||||
|
||||
*** ../vim-7.2.393/runtime/plugin/gzip.vim 2005-07-27 23:12:49.000000000 +0200
|
||||
--- runtime/plugin/gzip.vim 2010-03-10 17:07:22.000000000 +0100
|
||||
***************
|
||||
*** 1,6 ****
|
||||
" Vim plugin for editing compressed files.
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
! " Last Change: 2005 Jul 26
|
||||
|
||||
" Exit quickly when:
|
||||
" - this plugin was already loaded
|
||||
--- 1,6 ----
|
||||
" Vim plugin for editing compressed files.
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
! " Last Change: 2010 Mar 10
|
||||
|
||||
" Exit quickly when:
|
||||
" - this plugin was already loaded
|
||||
***************
|
||||
*** 20,36 ****
|
||||
"
|
||||
" Set binary mode before reading the file.
|
||||
" Use "gzip -d", gunzip isn't always available.
|
||||
! autocmd BufReadPre,FileReadPre *.gz,*.bz2,*.Z setlocal bin
|
||||
autocmd BufReadPost,FileReadPost *.gz call gzip#read("gzip -dn")
|
||||
autocmd BufReadPost,FileReadPost *.bz2 call gzip#read("bzip2 -d")
|
||||
autocmd BufReadPost,FileReadPost *.Z call gzip#read("uncompress")
|
||||
autocmd BufWritePost,FileWritePost *.gz call gzip#write("gzip")
|
||||
autocmd BufWritePost,FileWritePost *.bz2 call gzip#write("bzip2")
|
||||
autocmd BufWritePost,FileWritePost *.Z call gzip#write("compress -f")
|
||||
autocmd FileAppendPre *.gz call gzip#appre("gzip -dn")
|
||||
autocmd FileAppendPre *.bz2 call gzip#appre("bzip2 -d")
|
||||
autocmd FileAppendPre *.Z call gzip#appre("uncompress")
|
||||
autocmd FileAppendPost *.gz call gzip#write("gzip")
|
||||
autocmd FileAppendPost *.bz2 call gzip#write("bzip2")
|
||||
autocmd FileAppendPost *.Z call gzip#write("compress -f")
|
||||
augroup END
|
||||
--- 20,44 ----
|
||||
"
|
||||
" Set binary mode before reading the file.
|
||||
" Use "gzip -d", gunzip isn't always available.
|
||||
! autocmd BufReadPre,FileReadPre *.gz,*.bz2,*.Z,*.lzma,*.xz setlocal bin
|
||||
autocmd BufReadPost,FileReadPost *.gz call gzip#read("gzip -dn")
|
||||
autocmd BufReadPost,FileReadPost *.bz2 call gzip#read("bzip2 -d")
|
||||
autocmd BufReadPost,FileReadPost *.Z call gzip#read("uncompress")
|
||||
+ autocmd BufReadPost,FileReadPost *.lzma call gzip#read("lzma -d")
|
||||
+ autocmd BufReadPost,FileReadPost *.xz call gzip#read("xz -d")
|
||||
autocmd BufWritePost,FileWritePost *.gz call gzip#write("gzip")
|
||||
autocmd BufWritePost,FileWritePost *.bz2 call gzip#write("bzip2")
|
||||
autocmd BufWritePost,FileWritePost *.Z call gzip#write("compress -f")
|
||||
+ autocmd BufWritePost,FileWritePost *.lzma call gzip#write("lzma -z")
|
||||
+ autocmd BufWritePost,FileWritePost *.xz call gzip#write("xz -z")
|
||||
autocmd FileAppendPre *.gz call gzip#appre("gzip -dn")
|
||||
autocmd FileAppendPre *.bz2 call gzip#appre("bzip2 -d")
|
||||
autocmd FileAppendPre *.Z call gzip#appre("uncompress")
|
||||
+ autocmd FileAppendPre *.lzma call gzip#appre("lzma -d")
|
||||
+ autocmd FileAppendPre *.xz call gzip#appre("xz -d")
|
||||
autocmd FileAppendPost *.gz call gzip#write("gzip")
|
||||
autocmd FileAppendPost *.bz2 call gzip#write("bzip2")
|
||||
autocmd FileAppendPost *.Z call gzip#write("compress -f")
|
||||
+ autocmd FileAppendPost *.lzma call gzip#write("lzma -z")
|
||||
+ autocmd FileAppendPost *.xz call gzip#write("xz -z")
|
||||
augroup END
|
||||
*** ../vim-7.2.393/src/version.c 2010-03-10 16:27:27.000000000 +0100
|
||||
--- src/version.c 2010-03-10 17:12:43.000000000 +0100
|
||||
***************
|
||||
*** 683,684 ****
|
||||
--- 683,686 ----
|
||||
{ /* Add new patch number below this line */
|
||||
+ /**/
|
||||
+ 394,
|
||||
/**/
|
||||
|
||||
--
|
||||
ARTHUR: Be quiet!
|
||||
DENNIS: --but by a two-thirds majority in the case of more--
|
||||
ARTHUR: Be quiet! I order you to be quiet!
|
||||
WOMAN: Order, eh -- who does he think he is?
|
||||
ARTHUR: I am your king!
|
||||
The Quest for the Holy Grail (Monty Python)
|
||||
|
||||
/// 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 ///
|
@ -416,3 +416,12 @@ Individual patches for Vim 7.2:
|
||||
3021 7.2.383 Vim doesn't build cleanly with MSVC 2010
|
||||
1849 7.2.384 (extra) Vim doesn't build properly with MSVC 2010
|
||||
2147 7.2.385 can't drag status line when in the command line window
|
||||
2051 7.2.386 KDE 3.1 focus hack causes problems for other window managers
|
||||
8233 7.2.387 Ruby with MingW still doesn't build all versions
|
||||
2486 7.2.388 (extra part of 7.2.387) Ruby with MingW
|
||||
4805 7.2.389 synIDattr() cannot return the font
|
||||
2302 7.2.390 in some situations the popup menu can be displayed wrong
|
||||
3426 7.2.391 internal alloc(0) error when doing "CTRL-V $ c"
|
||||
4898 7.2.392 netbeans hangs reading from a socket at the maximum block size
|
||||
9605 7.2.393 Mac: Can't build with different Xcode developer tools dir
|
||||
4298 7.2.394 .lzma and .xz files are not supported
|
||||
|
23
vim.spec
23
vim.spec
@ -18,7 +18,7 @@
|
||||
#used for pre-releases:
|
||||
%define beta %{nil}
|
||||
%define vimdir vim72%{?beta}
|
||||
%define patchlevel 385
|
||||
%define patchlevel 394
|
||||
|
||||
Summary: The VIM editor
|
||||
URL: http://www.vim.org/
|
||||
@ -451,6 +451,15 @@ Patch382: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.382
|
||||
Patch383: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.383
|
||||
Patch384: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.384
|
||||
Patch385: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.385
|
||||
Patch386: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.386
|
||||
Patch387: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.387
|
||||
Patch388: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.388
|
||||
Patch389: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.389
|
||||
Patch390: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.390
|
||||
Patch391: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.391
|
||||
Patch392: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.392
|
||||
Patch393: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.393
|
||||
Patch394: ftp://ftp.vim.org/pub/vim/patches/7.2/7.2.394
|
||||
|
||||
Patch3000: vim-7.0-syntax.patch
|
||||
Patch3002: vim-7.1-nowarnings.patch
|
||||
@ -974,6 +983,15 @@ perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk
|
||||
%patch383 -p0
|
||||
%patch384 -p0
|
||||
%patch385 -p0
|
||||
%patch386 -p0
|
||||
%patch387 -p0
|
||||
%patch388 -p0
|
||||
%patch389 -p0
|
||||
%patch390 -p0
|
||||
%patch391 -p0
|
||||
%patch392 -p0
|
||||
%patch393 -p0
|
||||
%patch394 -p0
|
||||
|
||||
|
||||
# install spell files
|
||||
@ -1438,6 +1456,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/icons/hicolor/*/apps/*
|
||||
|
||||
%changelog
|
||||
* Wed Mar 10 2010 Karsten Hopp <karsten@redhat.com> 7.2.394-1
|
||||
- patchlevel 394
|
||||
|
||||
* Wed Mar 03 2010 Karsten Hopp <karsten@redhat.com> 7.2.385-1
|
||||
- patchlevel 385
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user