- patchlevel 012

This commit is contained in:
Karsten Hopp 2006-05-12 09:12:09 +00:00
parent f301e86198
commit 9090be456f
4 changed files with 159 additions and 1 deletions

65
7.0.011 Normal file
View File

@ -0,0 +1,65 @@
To: vim-dev@vim.org
Subject: Patch 7.0.011
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------
Patch 7.0.011
Problem: Can't compile without the folding and with the eval feature.
Solution: Add an #ifdef. (Vallimar)
Files: src/option.c
*** ../vim-7.0.010/src/option.c Wed May 10 15:22:50 2006
--- src/option.c Wed May 10 19:37:10 2006
***************
*** 5227,5239 ****
case PV_STL: return &curwin->w_p_stl_flags;
#endif
#ifdef FEAT_EVAL
case PV_FDE: return &curwin->w_p_fde_flags;
case PV_FDT: return &curwin->w_p_fdt_flags;
# ifdef FEAT_BEVAL
case PV_BEXPR: return &curbuf->b_p_bexpr_flags;
# endif
- #endif
- #if defined(FEAT_EVAL)
# if defined(FEAT_CINDENT)
case PV_INDE: return &curbuf->b_p_inde_flags;
# endif
--- 5227,5239 ----
case PV_STL: return &curwin->w_p_stl_flags;
#endif
#ifdef FEAT_EVAL
+ # ifdef FEAT_FOLDING
case PV_FDE: return &curwin->w_p_fde_flags;
case PV_FDT: return &curwin->w_p_fdt_flags;
+ # endif
# ifdef FEAT_BEVAL
case PV_BEXPR: return &curbuf->b_p_bexpr_flags;
# endif
# if defined(FEAT_CINDENT)
case PV_INDE: return &curbuf->b_p_inde_flags;
# endif
*** ../vim-7.0.010/src/version.c Wed May 10 17:55:37 2006
--- src/version.c Thu May 11 19:22:54 2006
***************
*** 668,669 ****
--- 668,671 ----
{ /* Add new patch number below this line */
+ /**/
+ 11,
/**/
--
hundred-and-one symptoms of being an internet addict:
112. You are amazed that anyone uses a phone without a modem on it...let
alone hear actual voices.
/// 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 ///

84
7.0.012 Normal file
View File

@ -0,0 +1,84 @@
To: vim-dev@vim.org
Subject: Patch 7.0.012
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------
Patch 7.0.012
Problem: Using the matchparen plugin, moving the cursor in Insert mode to a
shorter line that ends in a brace, changes the preferred column
Solution: Use winsaveview()/winrestview() instead of getpos()/setpos().
Files: runtime/plugin/matchparen.vim
*** ../vim-7.0.011/runtime/plugin/matchparen.vim Wed May 10 15:22:55 2006
--- runtime/plugin/matchparen.vim Thu May 11 14:42:55 2006
***************
*** 1,6 ****
" Vim plugin for showing matching parens
" Maintainer: Bram Moolenaar <Bram@vim.org>
! " Last Change: 2006 Apr 27
" Exit quickly when:
" - this plugin was already loaded (or disabled)
--- 1,6 ----
" Vim plugin for showing matching parens
" Maintainer: Bram Moolenaar <Bram@vim.org>
! " Last Change: 2006 May 11
" Exit quickly when:
" - this plugin was already loaded (or disabled)
***************
*** 90,96 ****
" Find the match. When it was just before the cursor move it there for a
" moment.
if before > 0
! let save_cursor = getpos('.')
call cursor(c_lnum, c_col - before)
endif
--- 90,96 ----
" Find the match. When it was just before the cursor move it there for a
" moment.
if before > 0
! let save_cursor = winsaveview()
call cursor(c_lnum, c_col - before)
endif
***************
*** 102,108 ****
let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip, stopline)
if before > 0
! call setpos('.', save_cursor)
endif
" If a match is found setup match highlighting.
--- 102,108 ----
let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip, stopline)
if before > 0
! call winrestview(save_cursor)
endif
" If a match is found setup match highlighting.
*** ../vim-7.0.011/src/version.c Thu May 11 19:24:16 2006
--- src/version.c Thu May 11 19:29:58 2006
***************
*** 668,669 ****
--- 668,671 ----
{ /* Add new patch number below this line */
+ /**/
+ 12,
/**/
--
Corduroy pillows: They're making headlines!
/// 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 ///

View File

@ -35,3 +35,5 @@ Individual patches for Vim 7.0:
2081 7.0.008 Can't call a function that uses both <SID> and {expr} 2081 7.0.008 Can't call a function that uses both <SID> and {expr}
1625 7.0.009 ml_get errors when 'spell' is set 1625 7.0.009 ml_get errors when 'spell' is set
3705 7.0.010 spellfile plugin required typing login name and password 3705 7.0.010 spellfile plugin required typing login name and password
1989 7.0.011 can't compile with eval feature without folding feature
2532 7.0.012 matchparen plugin changed cursor column in Insert mode

View File

@ -24,7 +24,7 @@
#used for pre-releases: #used for pre-releases:
%define beta %{nil} %define beta %{nil}
%define vimdir vim70%{?beta} %define vimdir vim70%{?beta}
%define patchlevel 010 %define patchlevel 012
Summary: The VIM editor. Summary: The VIM editor.
Name: vim Name: vim
@ -64,6 +64,8 @@ Patch007: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.007
Patch008: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.008 Patch008: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.008
Patch009: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.009 Patch009: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.009
Patch010: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.010 Patch010: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.010
Patch011: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.011
Patch012: ftp://ftp.vim.org/pub/vim/patches/7.0/7.0.012
Patch3000: vim-7.0-syntax.patch Patch3000: vim-7.0-syntax.patch
@ -204,6 +206,8 @@ perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk
%patch008 -p0 %patch008 -p0
%patch009 -p0 %patch009 -p0
%patch010 -p0 %patch010 -p0
%patch011 -p0
%patch012 -p0
%patch3000 -p1 %patch3000 -p1
%patch3001 -p1 %patch3001 -p1
@ -540,6 +544,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/icons/hicolor/*/apps/* %{_datadir}/icons/hicolor/*/apps/*
%changelog %changelog
* Fri May 12 2006 Karsten Hopp <karsten@redhat.de> 7.0.012-1
- patchlevel 012
* Thu May 11 2006 Karsten Hopp <karsten@redhat.de> 7.0.010-1 * Thu May 11 2006 Karsten Hopp <karsten@redhat.de> 7.0.010-1
- patchlevel 010 - patchlevel 010