]> git.pld-linux.org Git - packages/vim.git/commitdiff
- up to 7.2.262 auto/ac/vim-7_2_262-1 auto/th/vim-7_2_262-1
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 21 Sep 2009 19:12:19 +0000 (19:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    7.2.246 -> 1.1
    7.2.247 -> 1.1
    7.2.248 -> 1.1
    7.2.249 -> 1.1
    7.2.250 -> 1.1
    7.2.251 -> 1.1
    7.2.252 -> 1.1
    7.2.253 -> 1.1
    7.2.254 -> 1.1
    7.2.255 -> 1.1
    7.2.256 -> 1.1
    7.2.257 -> 1.1
    7.2.258 -> 1.1
    7.2.259 -> 1.1
    7.2.260 -> 1.1
    7.2.261 -> 1.1
    7.2.262 -> 1.1
    vim.spec -> 1.483

18 files changed:
7.2.246 [new file with mode: 0644]
7.2.247 [new file with mode: 0644]
7.2.248 [new file with mode: 0644]
7.2.249 [new file with mode: 0644]
7.2.250 [new file with mode: 0644]
7.2.251 [new file with mode: 0644]
7.2.252 [new file with mode: 0644]
7.2.253 [new file with mode: 0644]
7.2.254 [new file with mode: 0644]
7.2.255 [new file with mode: 0644]
7.2.256 [new file with mode: 0644]
7.2.257 [new file with mode: 0644]
7.2.258 [new file with mode: 0644]
7.2.259 [new file with mode: 0644]
7.2.260 [new file with mode: 0644]
7.2.261 [new file with mode: 0644]
7.2.262 [new file with mode: 0644]
vim.spec

diff --git a/7.2.246 b/7.2.246
new file mode 100644 (file)
index 0000000..5b1c978
--- /dev/null
+++ b/7.2.246
@@ -0,0 +1,53 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.246
+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.246
+Problem:    Cscope home page link is wrong.
+Solution:   Update the URL. (Sergey Khorev)
+Files:     runtime/doc/if_cscop.txt
+
+
+*** ../vim-7.2.245/runtime/doc/if_cscop.txt    2009-07-09 21:22:36.000000000 +0200
+--- runtime/doc/if_cscop.txt   2009-09-11 11:19:31.000000000 +0200
+***************
+*** 481,487 ****
+  any problems, suggestions, patches, et al., you have for the usage of
+  cscope within Vim to him.
+                                                       *cscope-win32*
+! For a cscope version for Win32 see: http://iamphet.nm.ru/cscope/index.html
+  
+  Win32 support was added by Sergey Khorev <sergey.khorev@gmail.com>.  Contact
+  him if you have Win32-specific issues.
+--- 481,488 ----
+  any problems, suggestions, patches, et al., you have for the usage of
+  cscope within Vim to him.
+                                                       *cscope-win32*
+! For a cscope version for Win32 see:
+!      http://code.google.com/p/cscope-win32/
+  
+  Win32 support was added by Sergey Khorev <sergey.khorev@gmail.com>.  Contact
+  him if you have Win32-specific issues.
+*** ../vim-7.2.245/src/version.c       2009-07-29 18:24:59.000000000 +0200
+--- src/version.c      2009-09-11 11:29:02.000000000 +0200
+***************
+*** 678,679 ****
+--- 678,681 ----
+  {   /* Add new patch number below this line */
++ /**/
++     246,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+221. Your wife melts your keyboard in the oven.
+
+ /// 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/7.2.247 b/7.2.247
new file mode 100644 (file)
index 0000000..e18926d
--- /dev/null
+++ b/7.2.247
@@ -0,0 +1,86 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.247
+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.247
+Problem:    Mzscheme interface minor problem.
+Solution:   Better error message when build fails. (Sergey Khorev)
+Files:     src/if_mzsch.c
+
+
+*** ../vim-7.2.246/src/if_mzsch.c      2009-07-09 20:06:30.000000000 +0200
+--- src/if_mzsch.c     2009-09-11 11:20:39.000000000 +0200
+***************
+*** 635,642 ****
+  #endif /* DYNAMIC_MZSCHEME */
+  
+  /* need to put it here for dynamic stuff to work */
+! #ifdef INCLUDE_MZSCHEME_BASE
+  # include "mzscheme_base.c"
+  #endif
+  
+  /*
+--- 635,644 ----
+  #endif /* DYNAMIC_MZSCHEME */
+  
+  /* need to put it here for dynamic stuff to work */
+! #if defined(INCLUDE_MZSCHEME_BASE)
+  # include "mzscheme_base.c"
++ #elif MZSCHEME_VERSION_MAJOR >= 400
++ # error MzScheme 4.x must include mzscheme_base.c, for MinGW32 you need to define MZSCHEME_GENERATE_BASE=yes
+  #endif
+  
+  /*
+***************
+*** 875,888 ****
+  #ifdef INCLUDE_MZSCHEME_BASE
+      {
+       /*
+!       * versions 4.x do not provide Scheme bindings by defaults
+        * we need to add them explicitly
+        */
+       Scheme_Object *scheme_base_symbol = NULL;
+       MZ_GC_DECL_REG(1);
+       MZ_GC_VAR_IN_REG(0, scheme_base_symbol);
+       MZ_GC_REG();
+!      /* invoke function from generated and included base.c */
+       declare_modules(environment);
+       scheme_base_symbol = scheme_intern_symbol("scheme/base");
+       MZ_GC_CHECK();
+--- 877,890 ----
+  #ifdef INCLUDE_MZSCHEME_BASE
+      {
+       /*
+!       * versions 4.x do not provide Scheme bindings by default
+        * we need to add them explicitly
+        */
+       Scheme_Object *scheme_base_symbol = NULL;
+       MZ_GC_DECL_REG(1);
+       MZ_GC_VAR_IN_REG(0, scheme_base_symbol);
+       MZ_GC_REG();
+!      /* invoke function from generated and included mzscheme_base.c */
+       declare_modules(environment);
+       scheme_base_symbol = scheme_intern_symbol("scheme/base");
+       MZ_GC_CHECK();
+*** ../vim-7.2.246/src/version.c       2009-09-11 11:30:12.000000000 +0200
+--- src/version.c      2009-09-11 11:53:59.000000000 +0200
+***************
+*** 678,679 ****
+--- 678,681 ----
+  {   /* Add new patch number below this line */
++ /**/
++     247,
+  /**/
+
+-- 
+Your fault: core dumped
+
+ /// 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/7.2.248 b/7.2.248
new file mode 100644 (file)
index 0000000..2254101
--- /dev/null
+++ b/7.2.248
@@ -0,0 +1,158 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.248 (extra)
+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.248 (extra)
+Problem:    Mzscheme interface building minor problems.
+Solution:   Update Win32 makefiles. (Sergey Khorev)
+Files:     src/Make_cyg.mak, src/Make_ming.mak, src/Make_mvc.mak
+
+
+*** ../vim-7.2.247/src/Make_cyg.mak    2007-09-30 22:28:48.000000000 +0200
+--- src/Make_cyg.mak   2009-09-11 11:23:23.000000000 +0200
+***************
+*** 212,224 ****
+  MZSCHEME_VER = 209_000
+  endif
+  
+  ifeq (yes, $(DYNAMIC_MZSCHEME))
+  DEFINES += -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"libmzsch$(MZSCHEME_VER).dll\" -DDYNAMIC_MZGC_DLL=\"libmzgc$(MZSCHEME_VER).dll\"
+  else
+  ifndef MZSCHEME_DLLS
+  MZSCHEME_DLLS = $(MZSCHEME)
+  endif
+! EXTRA_LIBS += -L$(MZSCHEME_DLLS) -lmzsch$(MZSCHEME_VER) -lmzgc$(MZSCHEME_VER)
+  endif
+  endif
+  
+--- 212,245 ----
+  MZSCHEME_VER = 209_000
+  endif
+  
++ ifndef MZSCHEME_PRECISE_GC
++ MZSCHEME_PRECISE_GC=no
++ endif
++ 
++ # for version 4.x we need to generate byte-code for Scheme base
++ ifndef MZSCHEME_GENERATE_BASE
++ MZSCHEME_GENERATE_BASE=no
++ endif
++ 
+  ifeq (yes, $(DYNAMIC_MZSCHEME))
+  DEFINES += -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"libmzsch$(MZSCHEME_VER).dll\" -DDYNAMIC_MZGC_DLL=\"libmzgc$(MZSCHEME_VER).dll\"
+  else
+  ifndef MZSCHEME_DLLS
+  MZSCHEME_DLLS = $(MZSCHEME)
+  endif
+! ifeq (yes,$(MZSCHEME_PRECISE_GC))
+! MZSCHEME_LIB=-lmzsch$(MZSCHEME_VER)
+! else
+! MZSCHEME_LIB = -lmzsch$(MZSCHEME_VER) -lmzgc$(MZSCHEME_VER)
+! endif
+! EXTRA_LIBS += -L$(MZSCHEME_DLLS) -L$(MZSCHEME_DLLS)/lib $(MZSCHEME_LIB)
+! endif
+! ifeq (yes,$(MZSCHEME_GENERATE_BASE))
+! DEFINES += -DINCLUDE_MZSCHEME_BASE
+! MZ_EXTRA_DEP += mzscheme_base.c
+! endif
+! ifeq (yes,$(MZSCHEME_PRECISE_GC))
+! DEFINES += -DMZ_PRECISE_GC
+  endif
+  endif
+  
+***************
+*** 473,478 ****
+--- 494,502 ----
+  ifdef PERL
+       -$(DEL) if_perl.c
+  endif
++ ifdef MZSCHEME
++      -$(DEL) mzscheme_base.c
++ endif
+       -$(DEL) pathdef.c
+       $(MAKE) -C xxd -f Make_cyg.mak clean
+       $(MAKE) -C GvimExt -f Make_ming.mak clean
+***************
+*** 523,531 ****
+--- 547,561 ----
+  $(OUTDIR)/netbeans.o:        netbeans.c $(INCL) $(NBDEBUG_DEP)
+       $(CC) -c $(CFLAGS) netbeans.c -o $(OUTDIR)/netbeans.o
+  
++ $(OUTDIR)/if_mzsch.o:        if_mzsch.c $(INCL) if_mzsch.h $(MZ_EXTRA_DEP)
++      $(CC) -c $(CFLAGS) if_mzsch.c -o $(OUTDIR)/if_mzsch.o
++ 
+  $(OUTDIR)/vimrc.o:   vim.rc version.h gui_w32_rc.h
+       $(RC) $(RCFLAGS) vim.rc -o $(OUTDIR)/vimrc.o
+  
++ mzscheme_base.c:
++      $(MZSCHEME)/mzc --c-mods mzscheme_base.c ++lib scheme/base
++ 
+  pathdef.c: $(INCL)
+  ifneq (sh.exe, $(SHELL))
+       @echo creating pathdef.c
+*** ../vim-7.2.247/src/Make_ming.mak   2009-05-26 22:58:43.000000000 +0200
+--- src/Make_ming.mak  2009-09-11 11:23:28.000000000 +0200
+***************
+*** 135,141 ****
+  ifndef MZSCHEME_DLLS
+  MZSCHEME_DLLS=$(MZSCHEME)
+  endif
+! MZSCHEME_LIBDIR=-L$(MZSCHEME_DLLS)
+  endif
+  
+  endif
+--- 135,141 ----
+  ifndef MZSCHEME_DLLS
+  MZSCHEME_DLLS=$(MZSCHEME)
+  endif
+! MZSCHEME_LIBDIR=-L$(MZSCHEME_DLLS) -L$(MZSCHEME_DLLS)\lib
+  endif
+  
+  endif
+***************
+*** 563,568 ****
+--- 563,571 ----
+  ifdef PERL
+       -$(DEL) if_perl.c
+  endif
++ ifdef MZSCHEME
++      -$(DEL) mzscheme_base.c
++ endif
+       $(MAKE) -C GvimExt -f Make_ming.mak clean
+       $(MAKE) -C xxd -f Make_cyg.mak clean
+  
+*** ../vim-7.2.247/src/Make_mvc.mak    2009-06-16 16:45:14.000000000 +0200
+--- src/Make_mvc.mak   2009-09-11 11:23:28.000000000 +0200
+***************
+*** 865,870 ****
+--- 865,871 ----
+       - if exist dimm_i.c del dimm_i.c
+       - if exist dimm.tlb del dimm.tlb
+       - if exist dosinst.exe del dosinst.exe
++      - if exist mzscheme_base.c del mzscheme_base.c
+       cd xxd
+       $(MAKE) /NOLOGO -f Make_mvc.mak clean
+       cd ..
+*** ../vim-7.2.247/src/version.c       2009-09-11 12:20:47.000000000 +0200
+--- src/version.c      2009-09-11 12:48:26.000000000 +0200
+***************
+*** 678,679 ****
+--- 678,681 ----
+  {   /* Add new patch number below this line */
++ /**/
++     248,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+222. You send more than 20 personal e-mails a day.
+
+ /// 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/7.2.249 b/7.2.249
new file mode 100644 (file)
index 0000000..33169f7
--- /dev/null
+++ b/7.2.249
@@ -0,0 +1,47 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.249
+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.249
+Problem:    The script to check .po files can't handle '%' in plural forms.
+Solution:   Remove "Plural-Forms:" from the checked string.
+Files:     src/po/check.vim
+
+
+*** ../vim-7.2.248/src/po/check.vim    2008-06-09 14:45:38.000000000 +0200
+--- src/po/check.vim   2009-09-11 12:37:56.000000000 +0200
+***************
+*** 23,28 ****
+--- 23,31 ----
+    " remove '%', not used for formatting.
+    let idline = substitute(idline, "'%'", '', 'g')
+  
++   " remove '%' used for plural forms.
++   let idline = substitute(idline, '\\nPlural-Forms: .\+;\\n', '', '')
++ 
+    " remove everything but % items.
+    return substitute(idline, '[^%]*\(%[-+ #''.0-9*]*l\=[dsuxXpoc%]\)\=', '\1', 'g')
+  endfunc
+*** ../vim-7.2.248/src/version.c       2009-09-11 12:48:56.000000000 +0200
+--- src/version.c      2009-09-11 12:59:18.000000000 +0200
+***************
+*** 678,679 ****
+--- 678,681 ----
+  {   /* Add new patch number below this line */
++ /**/
++     249,
+  /**/
+
+-- 
+If evolution theories are correct, humans will soon grow a third
+hand for operating the mouse.
+
+ /// 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/7.2.250 b/7.2.250
new file mode 100644 (file)
index 0000000..2f30a24
--- /dev/null
+++ b/7.2.250
@@ -0,0 +1,55 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.250 (extra)
+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.250 (extra)
+Problem:    Possible buffer overflow.
+Solution:   Compute the remaining space. (Dominique Pelle)
+Files:     src/GvimExt/gvimext.cpp
+
+
+*** ../vim-7.2.249/src/GvimExt/gvimext.cpp     2008-07-24 20:51:11.000000000 +0200
+--- src/GvimExt/gvimext.cpp    2009-09-11 13:26:27.000000000 +0200
+***************
+*** 635,641 ****
+       }
+       // Now concatenate
+       strncpy(temp, _("Edit with existing Vim - "), BUFSIZE - 1);
+!      strncat(temp, title, BUFSIZE - 1);
+       InsertMenu(hMenu,
+               indexMenu++,
+               MF_STRING|MF_BYPOSITION,
+--- 635,643 ----
+       }
+       // Now concatenate
+       strncpy(temp, _("Edit with existing Vim - "), BUFSIZE - 1);
+!      temp[BUFSIZE - 1] = '\0';
+!      strncat(temp, title, BUFSIZE - 1 - strlen(temp));
+!      temp[BUFSIZE - 1] = '\0';
+       InsertMenu(hMenu,
+               indexMenu++,
+               MF_STRING|MF_BYPOSITION,
+*** ../vim-7.2.249/src/version.c       2009-09-11 12:59:57.000000000 +0200
+--- src/version.c      2009-09-11 13:23:45.000000000 +0200
+***************
+*** 678,679 ****
+--- 678,681 ----
+  {   /* Add new patch number below this line */
++ /**/
++     250,
+  /**/
+
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+223. You set up a web-cam as your home's security system.
+
+ /// 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/7.2.251 b/7.2.251
new file mode 100644 (file)
index 0000000..00cf0f0
--- /dev/null
+++ b/7.2.251
@@ -0,0 +1,71 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.251
+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.251 (after 7.2.044)
+Problem:    Compiler adds invalid memory bounds check.
+Solution:   Remove _FORTIFY_SOURCE=2 from CFLAGS. (Dominique Pelle)
+Files:     src/auto/configure, src/configure.in
+
+
+*** ../vim-7.2.250/src/auto/configure  2009-07-22 11:16:54.000000000 +0200
+--- src/auto/configure 2009-08-07 14:49:52.000000000 +0200
+***************
+*** 17135,17141 ****
+        { $as_echo "$as_me:$LINENO: checking whether we need -D_FORTIFY_SOURCE=1" >&5
+  $as_echo_n "checking whether we need -D_FORTIFY_SOURCE=1... " >&6; }
+    if test "$gccmajor" -gt "3"; then
+!     CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=1"
+      { $as_echo "$as_me:$LINENO: result: yes" >&5
+  $as_echo "yes" >&6; }
+    else
+--- 17135,17141 ----
+        { $as_echo "$as_me:$LINENO: checking whether we need -D_FORTIFY_SOURCE=1" >&5
+  $as_echo_n "checking whether we need -D_FORTIFY_SOURCE=1... " >&6; }
+    if test "$gccmajor" -gt "3"; then
+!     CFLAGS=`echo "$CFLAGS -D_FORTIFY_SOURCE=1" | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g' -e 's/-D_FORTIFY_SOURCE=2//g'`
+      { $as_echo "$as_me:$LINENO: result: yes" >&5
+  $as_echo "yes" >&6; }
+    else
+*** ../vim-7.2.250/src/configure.in    2009-07-22 11:16:54.000000000 +0200
+--- src/configure.in   2009-08-07 14:49:47.000000000 +0200
+***************
+*** 3233,3239 ****
+    dnl declared as char x[1] but actually longer.  Introduced in gcc 4.0.
+    AC_MSG_CHECKING(whether we need -D_FORTIFY_SOURCE=1)
+    if test "$gccmajor" -gt "3"; then
+!     CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=1"
+      AC_MSG_RESULT(yes)
+    else
+      AC_MSG_RESULT(no)
+--- 3233,3239 ----
+    dnl declared as char x[1] but actually longer.  Introduced in gcc 4.0.
+    AC_MSG_CHECKING(whether we need -D_FORTIFY_SOURCE=1)
+    if test "$gccmajor" -gt "3"; then
+!     CFLAGS=`echo "$CFLAGS -D_FORTIFY_SOURCE=1" | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g' -e 's/-D_FORTIFY_SOURCE=2//g'`
+      AC_MSG_RESULT(yes)
+    else
+      AC_MSG_RESULT(no)
+*** ../vim-7.2.250/src/version.c       2009-09-11 13:26:38.000000000 +0200
+--- src/version.c      2009-09-11 13:43:46.000000000 +0200
+***************
+*** 678,679 ****
+--- 678,681 ----
+  {   /* Add new patch number below this line */
++ /**/
++     251,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+225. You sign up for free subscriptions for all the computer magazines
+
+ /// 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/7.2.252 b/7.2.252
new file mode 100644 (file)
index 0000000..b7dc702
--- /dev/null
+++ b/7.2.252
@@ -0,0 +1,51 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.252
+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.252
+Problem:    When using a multi-byte 'enc' the 'iskeyword' option cannot
+           contain characters above 128.
+Solution:   Use mb_ptr2char_adv().
+Files:     src/charset.c
+
+
+*** ../vim-7.2.251/src/charset.c       2009-05-14 22:19:19.000000000 +0200
+--- src/charset.c      2009-09-09 21:11:46.000000000 +0200
+***************
+*** 174,179 ****
+--- 174,184 ----
+           if (VIM_ISDIGIT(*p))
+               c = getdigits(&p);
+           else
++ #ifdef FEAT_MBYTE
++               if (has_mbyte)
++              c = mb_ptr2char_adv(&p);
++          else
++ #endif
+               c = *p++;
+           c2 = -1;
+           if (*p == '-' && p[1] != NUL)
+*** ../vim-7.2.251/src/version.c       2009-09-11 13:44:33.000000000 +0200
+--- src/version.c      2009-09-11 14:01:48.000000000 +0200
+***************
+*** 678,679 ****
+--- 678,681 ----
+  {   /* Add new patch number below this line */
++ /**/
++     252,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+226. You sit down at the computer right after dinner and your spouse
+     says "See you in the morning."
+
+ /// 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/7.2.253 b/7.2.253
new file mode 100644 (file)
index 0000000..354d444
--- /dev/null
+++ b/7.2.253
@@ -0,0 +1,143 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.253
+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.253
+Problem:    Netbeans interface: getLength always uses current buffer.
+Solution:   Use ml_get_buf() instead of ml_get(). (Xavier de Gaye)
+Files:     src/netbeans.c
+
+
+*** ../vim-7.2.252/src/netbeans.c      2009-06-24 16:49:50.000000000 +0200
+--- src/netbeans.c     2009-09-11 13:40:14.000000000 +0200
+***************
+*** 1499,1505 ****
+                   return FAIL;
+               }
+               first = *pos;
+!              nbdebug(("    FIRST POS: line %d, col %d\n", first.lnum, first.col));
+               pos = off2pos(buf->bufp, off+count-1);
+               if (!pos)
+               {
+--- 1499,1506 ----
+                   return FAIL;
+               }
+               first = *pos;
+!              nbdebug(("    FIRST POS: line %d, col %d\n",
+!                                                    first.lnum, first.col));
+               pos = off2pos(buf->bufp, off+count-1);
+               if (!pos)
+               {
+***************
+*** 1510,1516 ****
+                   return FAIL;
+               }
+               last = *pos;
+!              nbdebug(("    LAST POS: line %d, col %d\n", last.lnum, last.col));
+               del_from_lnum = first.lnum;
+               del_to_lnum = last.lnum;
+               doupdate = 1;
+--- 1511,1518 ----
+                   return FAIL;
+               }
+               last = *pos;
+!              nbdebug(("    LAST POS: line %d, col %d\n",
+!                                                      last.lnum, last.col));
+               del_from_lnum = first.lnum;
+               del_to_lnum = last.lnum;
+               doupdate = 1;
+***************
+*** 1521,1527 ****
+               next = off2pos(buf->bufp, off + count);
+  
+               /* Remove part of the first line. */
+!              if (first.col != 0 || (next != NULL && first.lnum == next->lnum))
+               {
+                   if (first.lnum != last.lnum
+                           || (next != NULL && first.lnum != next->lnum))
+--- 1523,1530 ----
+               next = off2pos(buf->bufp, off + count);
+  
+               /* Remove part of the first line. */
+!              if (first.col != 0
+!                              || (next != NULL && first.lnum == next->lnum))
+               {
+                   if (first.lnum != last.lnum
+                           || (next != NULL && first.lnum != next->lnum))
+***************
+*** 1584,1590 ****
+                       int id = buf_findsign_id(buf->bufp, (linenr_T)i);
+                       if (id > 0)
+                       {
+!                          nbdebug(("    Deleting sign %d on line %d\n", id, i));
+                           buf_delsign(buf->bufp, id);
+                       }
+                       else
+--- 1587,1594 ----
+                       int id = buf_findsign_id(buf->bufp, (linenr_T)i);
+                       if (id > 0)
+                       {
+!                          nbdebug(("    Deleting sign %d on line %d\n",
+!                                                                    id, i));
+                           buf_delsign(buf->bufp, id);
+                       }
+                       else
+***************
+*** 1593,1599 ****
+                       }
+                   }
+  
+!                  nbdebug(("    Deleting lines %d through %d\n", del_from_lnum, del_to_lnum));
+                   curwin->w_cursor.lnum = del_from_lnum;
+                   curwin->w_cursor.col = 0;
+                   del_lines(del_to_lnum - del_from_lnum + 1, FALSE);
+--- 1597,1604 ----
+                       }
+                   }
+  
+!                  nbdebug(("    Deleting lines %d through %d\n",
+!                                               del_from_lnum, del_to_lnum));
+                   curwin->w_cursor.lnum = del_from_lnum;
+                   curwin->w_cursor.col = 0;
+                   del_lines(del_to_lnum - del_from_lnum + 1, FALSE);
+***************
+*** 3514,3520 ****
+           eol_size = 1;
+       for (lnum = 1; lnum <= bufp->b_ml.ml_line_count; ++lnum)
+       {
+!          char_count += (long)STRLEN(ml_get(lnum)) + eol_size;
+           /* Check for a CTRL-C every 100000 characters */
+           if (char_count > last_check)
+           {
+--- 3519,3526 ----
+           eol_size = 1;
+       for (lnum = 1; lnum <= bufp->b_ml.ml_line_count; ++lnum)
+       {
+!          char_count += (long)STRLEN(ml_get_buf(bufp, lnum, FALSE))
+!                                                                 + eol_size;
+           /* Check for a CTRL-C every 100000 characters */
+           if (char_count > last_check)
+           {
+*** ../vim-7.2.252/src/version.c       2009-09-11 14:02:25.000000000 +0200
+--- src/version.c      2009-09-11 14:18:45.000000000 +0200
+***************
+*** 678,679 ****
+--- 678,681 ----
+  {   /* Add new patch number below this line */
++ /**/
++     253,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+227. You sleep next to your monitor.  Or on top of it.
+
+ /// 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/7.2.254 b/7.2.254
new file mode 100644 (file)
index 0000000..c8c57af
--- /dev/null
+++ b/7.2.254
@@ -0,0 +1,52 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.254
+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.254
+Problem:    Compiler warning for assigning size_t to int.
+Solution:   Use size_t for the variable. (George Reilly)
+Files:     src/fileio.c
+
+
+*** ../vim-7.2.253/src/fileio.c        2009-07-29 18:24:59.000000000 +0200
+--- src/fileio.c       2009-09-11 13:46:19.000000000 +0200
+***************
+*** 4568,4574 ****
+           c = TRUE;
+           if (write_info.bw_conv_error_lnum != 0)
+           {
+!              int l = STRLEN(IObuff);
+               vim_snprintf((char *)IObuff + l, IOSIZE - l, _(" in line %ld;"),
+                       (long)write_info.bw_conv_error_lnum);
+           }
+--- 4568,4574 ----
+           c = TRUE;
+           if (write_info.bw_conv_error_lnum != 0)
+           {
+!              size_t l = STRLEN(IObuff);
+               vim_snprintf((char *)IObuff + l, IOSIZE - l, _(" in line %ld;"),
+                       (long)write_info.bw_conv_error_lnum);
+           }
+*** ../vim-7.2.253/src/version.c       2009-09-11 14:19:41.000000000 +0200
+--- src/version.c      2009-09-11 15:03:42.000000000 +0200
+***************
+*** 678,679 ****
+--- 678,681 ----
+  {   /* Add new patch number below this line */
++ /**/
++     254,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+230. You spend your Friday nights typing away at your keyboard
+
+ /// 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/7.2.255 b/7.2.255
new file mode 100644 (file)
index 0000000..1bb85b1
--- /dev/null
+++ b/7.2.255
@@ -0,0 +1,71 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.255
+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.255 (after 7.2.242)
+Problem:    Setting 'rightleft', 'linebreak' and 'wrap' may cause cursor to be
+           in wrong place.
+Solution:   Recompute the cursor column for these options.
+Files:     src/option.c
+
+
+*** ../vim-7.2.254/src/option.c        2009-07-29 15:41:32.000000000 +0200
+--- src/option.c       2009-09-11 13:59:55.000000000 +0200
+***************
+*** 7430,7435 ****
+--- 7430,7437 ----
+      {
+       if (curwin->w_p_wrap)
+           curwin->w_leftcol = 0;
++      if (curwin->w_curswant != MAXCOL)
++          curwin->w_set_curswant = TRUE;
+      }
+  
+  #ifdef FEAT_WINDOWS
+***************
+*** 7664,7669 ****
+--- 7666,7687 ----
+      }
+  #endif
+  
++ #ifdef FEAT_LINEBREAK
++     if ((int *)varp == &curwin->w_p_lbr)
++     {
++      if (curwin->w_curswant != MAXCOL)
++          curwin->w_set_curswant = TRUE;
++     }
++ #endif
++ 
++ #ifdef FEAT_RIGHTLEFT
++     if ((int *)varp == &curwin->w_p_rl)
++     {
++      if (curwin->w_curswant != MAXCOL)
++          curwin->w_set_curswant = TRUE;
++     }
++ #endif
++ 
+      /*
+       * End of handling side effects for bool options.
+       */
+*** ../vim-7.2.254/src/version.c       2009-09-11 15:04:13.000000000 +0200
+--- src/version.c      2009-09-11 15:19:40.000000000 +0200
+***************
+*** 678,679 ****
+--- 678,681 ----
+  {   /* Add new patch number below this line */
++ /**/
++     255,
+  /**/
+
+-- 
+A computer without Windows is like a fish without a bicycle.
+
+ /// 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/7.2.256 b/7.2.256
new file mode 100644 (file)
index 0000000..17361fb
--- /dev/null
+++ b/7.2.256
@@ -0,0 +1,59 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.256
+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.256
+Problem:    When 'guifont' was not set GTK font dialog doesn't have a default.
+           (Andreas Metzler)
+Solution:   Set default to DEFAULT_FONT. (James Vega)
+Files:     src/gui_gtk_x11.c
+
+
+*** ../vim-7.2.255/src/gui_gtk_x11.c   2009-07-01 18:04:30.000000000 +0200
+--- src/gui_gtk_x11.c  2009-09-11 14:21:32.000000000 +0200
+***************
+*** 4729,4734 ****
+--- 4729,4737 ----
+      if (oldval != NULL && *oldval != NUL)
+       gtk_font_selection_dialog_set_font_name(
+               GTK_FONT_SELECTION_DIALOG(gui.fontdlg), (char *)oldval);
++     else
++      gtk_font_selection_dialog_set_font_name(
++              GTK_FONT_SELECTION_DIALOG(gui.fontdlg), DEFAULT_FONT);
+  
+      if (gui.fontname)
+      {
+***************
+*** 4816,4821 ****
+--- 4819,4827 ----
+       if (oldname != oldval)
+           vim_free(oldname);
+      }
++     else
++      gtk_font_selection_dialog_set_font_name(
++              GTK_FONT_SELECTION_DIALOG(dialog), DEFAULT_FONT);
+  
+      response = gtk_dialog_run(GTK_DIALOG(dialog));
+  
+*** ../vim-7.2.255/src/version.c       2009-09-11 15:20:22.000000000 +0200
+--- src/version.c      2009-09-11 15:45:36.000000000 +0200
+***************
+*** 678,679 ****
+--- 678,681 ----
+  {   /* Add new patch number below this line */
++ /**/
++     256,
+  /**/
+
+-- 
+Get a life?  What is the URL where it can be downloaded?
+
+ /// 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/7.2.257 b/7.2.257
new file mode 100644 (file)
index 0000000..a856a3a
--- /dev/null
+++ b/7.2.257
@@ -0,0 +1,61 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.257
+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.257
+Problem:    With GTK 2.17 lots of assertion error messages.
+Solution:   Remove check for static gravity. (Sebastian Droege)
+Files:     src/gui_gtk_f.c
+
+
+*** ../vim-7.2.256/src/gui_gtk_f.c     2009-05-17 23:25:16.000000000 +0200
+--- src/gui_gtk_f.c    2009-09-11 15:15:41.000000000 +0200
+***************
+*** 860,870 ****
+  gtk_form_set_static_gravity(GdkWindow *window, gboolean use_static)
+  {
+  #ifdef HAVE_GTK2
+!     gboolean static_gravity_supported;
+! 
+!     static_gravity_supported = gdk_window_set_static_gravities(window,
+!                                                             use_static);
+!     g_return_if_fail(static_gravity_supported);
+  #else
+      XSetWindowAttributes xattributes;
+  
+--- 860,868 ----
+  gtk_form_set_static_gravity(GdkWindow *window, gboolean use_static)
+  {
+  #ifdef HAVE_GTK2
+!     /* We don't check if static gravity is actually supported, because it
+!      * results in an annoying assertion error message. */
+!     gdk_window_set_static_gravities(window, use_static);
+  #else
+      XSetWindowAttributes xattributes;
+  
+*** ../vim-7.2.256/src/version.c       2009-09-11 15:46:20.000000000 +0200
+--- src/version.c      2009-09-11 16:16:52.000000000 +0200
+***************
+*** 678,679 ****
+--- 678,681 ----
+  {   /* Add new patch number below this line */
++ /**/
++     257,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+231. You sprinkle Carpet Fresh on the rugs and put your vacuum cleaner
+     in the front doorway permanently so it always looks like you are
+     actually attempting to do something about that mess that has amassed
+     since you discovered the Internet.
+
+ /// 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/7.2.258 b/7.2.258
new file mode 100644 (file)
index 0000000..98ddab5
--- /dev/null
+++ b/7.2.258
@@ -0,0 +1,74 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.258
+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.258
+Problem:    v:beval_col and b:beval_text are wrong in UTF-8 text. (Tony
+           Mechelynck)
+Solution:   Use byte number instead of character number for the column.
+Files:     src/ui.c
+
+
+*** ../vim-7.2.257/src/ui.c    2009-07-01 18:04:30.000000000 +0200
+--- src/ui.c   2009-09-11 16:11:50.000000000 +0200
+***************
+*** 3055,3072 ****
+      int              vcol;
+  {
+      /* try to advance to the specified column */
+-     int              col = 0;
+      int              count = 0;
+      char_u   *ptr;
+  
+!     ptr = ml_get_buf(wp->w_buffer, lnum, FALSE);
+      while (count <= vcol && *ptr != NUL)
+      {
+-      ++col;
+       count += win_lbr_chartabsize(wp, ptr, count, NULL);
+       mb_ptr_adv(ptr);
+      }
+!     return col;
+  }
+  #endif
+  
+--- 3055,3071 ----
+      int              vcol;
+  {
+      /* try to advance to the specified column */
+      int              count = 0;
+      char_u   *ptr;
++     char_u   *start;
+  
+!     start = ptr = ml_get_buf(wp->w_buffer, lnum, FALSE);
+      while (count <= vcol && *ptr != NUL)
+      {
+       count += win_lbr_chartabsize(wp, ptr, count, NULL);
+       mb_ptr_adv(ptr);
+      }
+!     return (int)(ptr - start);
+  }
+  #endif
+  
+*** ../vim-7.2.257/src/version.c       2009-09-11 16:17:36.000000000 +0200
+--- src/version.c      2009-09-11 16:45:48.000000000 +0200
+***************
+*** 678,679 ****
+--- 678,681 ----
+  {   /* Add new patch number below this line */
++ /**/
++     258,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+232. You start conversations with, "Have you gotten an ISDN line?"
+
+ /// 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/7.2.259 b/7.2.259
new file mode 100644 (file)
index 0000000..0bf0ba1
--- /dev/null
+++ b/7.2.259
@@ -0,0 +1,160 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.259
+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.259
+Problem:    exists() doesn't work properly for an empty aucmd group.
+Solution:   Change how au_exists() handles a missing pattern.  Also add a
+           test for this. (Bob Hiestand)
+Files:     src/fileio.c, src/testdir/Makefile, src/testdir/test67.in,
+           src/testdir/test67.ok
+
+
+*** ../vim-7.2.258/src/fileio.c        2009-09-11 15:04:13.000000000 +0200
+--- src/fileio.c       2009-09-11 16:37:08.000000000 +0200
+***************
+*** 9498,9512 ****
+      ap = first_autopat[(int)event];
+      if (ap == NULL)
+       goto theend;
+-     if (pattern == NULL)
+-     {
+-      retval = TRUE;
+-      goto theend;
+-     }
+  
+      /* if pattern is "<buffer>", special handling is needed which uses curbuf */
+      /* for pattern "<buffer=N>, fnamecmp() will work fine */
+!     if (STRICMP(pattern, "<buffer>") == 0)
+       buflocal_buf = curbuf;
+  
+      /* Check if there is an autocommand with the given pattern. */
+--- 9498,9507 ----
+      ap = first_autopat[(int)event];
+      if (ap == NULL)
+       goto theend;
+  
+      /* if pattern is "<buffer>", special handling is needed which uses curbuf */
+      /* for pattern "<buffer=N>, fnamecmp() will work fine */
+!     if (pattern != NULL && STRICMP(pattern, "<buffer>") == 0)
+       buflocal_buf = curbuf;
+  
+      /* Check if there is an autocommand with the given pattern. */
+***************
+*** 9515,9523 ****
+       /* For buffer-local autocommands, fnamecmp() works fine. */
+       if (ap->pat != NULL && ap->cmds != NULL
+           && (group == AUGROUP_ALL || ap->group == group)
+!          && (buflocal_buf == NULL
+!               ? fnamecmp(ap->pat, pattern) == 0
+!               : ap->buflocal_nr == buflocal_buf->b_fnum))
+       {
+           retval = TRUE;
+           break;
+--- 9510,9519 ----
+       /* For buffer-local autocommands, fnamecmp() works fine. */
+       if (ap->pat != NULL && ap->cmds != NULL
+           && (group == AUGROUP_ALL || ap->group == group)
+!          && (pattern == NULL
+!              || (buflocal_buf == NULL
+!                  ? fnamecmp(ap->pat, pattern) == 0
+!                  : ap->buflocal_nr == buflocal_buf->b_fnum)))
+       {
+           retval = TRUE;
+           break;
+*** ../vim-7.2.258/src/testdir/Makefile        2009-06-24 18:07:55.000000000 +0200
+--- src/testdir/Makefile       2009-09-11 16:31:33.000000000 +0200
+***************
+*** 22,28 ****
+               test48.out test49.out test51.out test52.out test53.out \
+               test54.out test55.out test56.out test57.out test58.out \
+               test59.out test60.out test61.out test62.out test63.out \
+!              test64.out test65.out test66.out
+  
+  SCRIPTS_GUI = test16.out
+  
+--- 22,28 ----
+               test48.out test49.out test51.out test52.out test53.out \
+               test54.out test55.out test56.out test57.out test58.out \
+               test59.out test60.out test61.out test62.out test63.out \
+!              test64.out test65.out test66.out test67.out
+  
+  SCRIPTS_GUI = test16.out
+  
+*** ../vim-7.2.258/src/testdir/test67.in       2009-09-11 17:23:47.000000000 +0200
+--- src/testdir/test67.in      2009-09-11 16:43:11.000000000 +0200
+***************
+*** 0 ****
+--- 1,33 ----
++ Test that groups and patterns are tested correctly when calling exists() for
++ autocommands.
++ 
++ STARTTEST
++ :so small.vim
++ :let results=[]
++ :augroup auexists
++ :augroup END
++ :call add(results, "##BufEnter: " . exists("##BufEnter"))
++ :call add(results, "#BufEnter: " . exists("#BufEnter"))
++ :au BufEnter * let g:entered=1
++ :call add(results, "#BufEnter: " . exists("#BufEnter"))
++ :call add(results, "#auexists#BufEnter: " . exists("#auexists#BufEnter"))
++ :augroup auexists
++ :au BufEnter * let g:entered=1
++ :augroup END
++ :call add(results, "#auexists#BufEnter: " . exists("#auexists#BufEnter"))
++ :call add(results, "#BufEnter#*.test: " . exists("#BufEnter#*.test"))
++ :au BufEnter *.test let g:entered=1
++ :call add(results, "#BufEnter#*.test: " . exists("#BufEnter#*.test"))
++ :edit testfile.test
++ :call add(results, "#BufEnter#<buffer>: " . exists("#BufEnter#<buffer>"))
++ :au BufEnter <buffer> let g:entered=1
++ :call add(results, "#BufEnter#<buffer>: " . exists("#BufEnter#<buffer>"))
++ :edit testfile2.test
++ :call add(results, "#BufEnter#<buffer>: " . exists("#BufEnter#<buffer>"))
++ :e test.out
++ :call append(0, results)
++ :$d
++ :w
++ :qa!
++ ENDTEST
++ 
+*** ../vim-7.2.258/src/testdir/test67.ok       2009-09-11 17:23:47.000000000 +0200
+--- src/testdir/test67.ok      2009-09-11 16:43:15.000000000 +0200
+***************
+*** 0 ****
+--- 1,10 ----
++ ##BufEnter: 1
++ #BufEnter: 0
++ #BufEnter: 1
++ #auexists#BufEnter: 0
++ #auexists#BufEnter: 1
++ #BufEnter#*.test: 0
++ #BufEnter#*.test: 1
++ #BufEnter#<buffer>: 0
++ #BufEnter#<buffer>: 1
++ #BufEnter#<buffer>: 0
+*** ../vim-7.2.258/src/version.c       2009-09-11 16:48:06.000000000 +0200
+--- src/version.c      2009-09-11 17:23:14.000000000 +0200
+***************
+*** 678,679 ****
+--- 678,681 ----
+  {   /* Add new patch number below this line */
++ /**/
++     259,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+234. You started college as a chemistry major, and walk out four years
+     later as an Internet provider.
+
+ /// 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/7.2.260 b/7.2.260
new file mode 100644 (file)
index 0000000..46d4365
--- /dev/null
+++ b/7.2.260
@@ -0,0 +1,155 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.260 (extra)
+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.260 (extra part of 7.2.259)
+Problem:    exists() doesn't work properly for empty aucmd group.
+Solution:   Change how au_exists() handles a missing pattern.  Also add a
+           test for this. (Bob Hiestand)
+Files:     src/testdir/Make_amiga.mak, src/testdir/Make_dos.mak,
+           src/testdir/Make_ming.mak, src/testdir/Make_os2.mak,
+           src/testdir/Make_vms.mms
+
+
+*** ../vim-7.2.259/src/testdir/Make_amiga.mak  2009-03-11 16:36:04.000000000 +0100
+--- src/testdir/Make_amiga.mak 2009-09-11 16:29:54.000000000 +0200
+***************
+*** 26,32 ****
+               test48.out test51.out test53.out test54.out test55.out \
+               test56.out test57.out test58.out test59.out test60.out \
+               test61.out test62.out test63.out test64.out test65.out \
+!              test66.out
+  
+  .SUFFIXES: .in .out
+  
+--- 26,32 ----
+               test48.out test51.out test53.out test54.out test55.out \
+               test56.out test57.out test58.out test59.out test60.out \
+               test61.out test62.out test63.out test64.out test65.out \
+!              test66.out test67.out
+  
+  .SUFFIXES: .in .out
+  
+***************
+*** 112,114 ****
+--- 112,115 ----
+  test64.out: test64.in
+  test65.out: test65.in
+  test66.out: test66.in
++ test67.out: test67.in
+*** ../vim-7.2.259/src/testdir/Make_dos.mak    2009-03-11 16:36:04.000000000 +0100
+--- src/testdir/Make_dos.mak   2009-09-11 16:30:17.000000000 +0200
+***************
+*** 26,32 ****
+               test15.out test17.out test18.out test21.out test26.out \
+               test30.out test31.out test32.out test33.out test34.out \
+               test37.out test38.out test39.out test40.out test41.out \
+!              test42.out test52.out test65.out test66.out
+  
+  SCRIPTS32 =  test50.out
+  
+--- 26,32 ----
+               test15.out test17.out test18.out test21.out test26.out \
+               test30.out test31.out test32.out test33.out test34.out \
+               test37.out test38.out test39.out test40.out test41.out \
+!              test42.out test52.out test65.out test66.out test67.out
+  
+  SCRIPTS32 =  test50.out
+  
+*** ../vim-7.2.259/src/testdir/Make_ming.mak   2009-03-11 16:36:04.000000000 +0100
+--- src/testdir/Make_ming.mak  2009-09-11 16:30:37.000000000 +0200
+***************
+*** 45,51 ****
+               test15.out test17.out test18.out test21.out test26.out \
+               test30.out test31.out test32.out test33.out test34.out \
+               test37.out test38.out test39.out test40.out test41.out \
+!              test42.out test52.out test65.out test66.out
+  
+  SCRIPTS32 =  test50.out
+  
+--- 45,51 ----
+               test15.out test17.out test18.out test21.out test26.out \
+               test30.out test31.out test32.out test33.out test34.out \
+               test37.out test38.out test39.out test40.out test41.out \
+!              test42.out test52.out test65.out test66.out test67.out
+  
+  SCRIPTS32 =  test50.out
+  
+*** ../vim-7.2.259/src/testdir/Make_os2.mak    2009-03-11 16:36:04.000000000 +0100
+--- src/testdir/Make_os2.mak   2009-09-11 16:30:52.000000000 +0200
+***************
+*** 26,32 ****
+               test48.out test51.out test53.out test54.out test55.out \
+               test56.out test57.out test58.out test59.out test60.out \
+               test61.out test62.out test63.out test64.out test65.out \
+!              test66.out
+  
+  .SUFFIXES: .in .out
+  
+--- 26,32 ----
+               test48.out test51.out test53.out test54.out test55.out \
+               test56.out test57.out test58.out test59.out test60.out \
+               test61.out test62.out test63.out test64.out test65.out \
+!              test66.out test67.out
+  
+  .SUFFIXES: .in .out
+  
+*** ../vim-7.2.259/src/testdir/Make_vms.mms    2009-03-11 16:36:04.000000000 +0100
+--- src/testdir/Make_vms.mms   2009-09-11 16:31:06.000000000 +0200
+***************
+*** 4,10 ****
+  # Authors:   Zoltan Arpadffy, <arpadffy@polarhome.com>
+  #            Sandor Kopanyi,  <sandor.kopanyi@mailbox.hu>
+  #
+! # Last change:  2009 Mar 05
+  #
+  # This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64.
+  # Edit the lines in the Configuration section below to select.
+--- 4,10 ----
+  # Authors:   Zoltan Arpadffy, <arpadffy@polarhome.com>
+  #            Sandor Kopanyi,  <sandor.kopanyi@mailbox.hu>
+  #
+! # Last change:  2009 Sep 11
+  #
+  # This has been tested on VMS 6.2 to 8.3 on DEC Alpha, VAX and IA64.
+  # Edit the lines in the Configuration section below to select.
+***************
+*** 69,75 ****
+        test48.out test51.out test53.out test54.out test55.out \
+        test56.out test57.out test60.out \
+        test61.out test62.out test63.out test64.out test65.out \
+!       test66.out
+  
+  .IFDEF WANT_GUI
+  SCRIPT_GUI = test16.out
+--- 69,75 ----
+        test48.out test51.out test53.out test54.out test55.out \
+        test56.out test57.out test60.out \
+        test61.out test62.out test63.out test64.out test65.out \
+!       test66.out test67.out
+  
+  .IFDEF WANT_GUI
+  SCRIPT_GUI = test16.out
+*** ../vim-7.2.259/src/version.c       2009-09-11 17:24:01.000000000 +0200
+--- src/version.c      2009-09-18 14:57:05.000000000 +0200
+***************
+*** 678,679 ****
+--- 678,681 ----
+  {   /* Add new patch number below this line */
++ /**/
++     260,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+251. You've never seen your closest friends who usually live WAY too far away.
+
+ /// 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/7.2.261 b/7.2.261
new file mode 100644 (file)
index 0000000..4f8e72d
--- /dev/null
+++ b/7.2.261
@@ -0,0 +1,83 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.261
+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.261
+Problem:    When deleting lines with a specific folding configuration E38 may
+           appear. (Shahaf)
+Solution:   When adjusting nested folds for deleted lines take into account
+           that they don't start at the top of the enclosing fold.
+Files:     src/fold.c
+
+
+*** ../vim-7.2.260/src/fold.c  2009-01-06 15:01:58.000000000 +0100
+--- src/fold.c 2009-09-18 14:43:23.000000000 +0200
+***************
+*** 1607,1617 ****
+           }
+           else
+           {
+-              /* 2, 3, or 5: need to correct nested folds too */
+-              foldMarkAdjustRecurse(&fp->fd_nested, line1 - fp->fd_top,
+-                                line2 - fp->fd_top, amount, amount_after);
+               if (fp->fd_top < top)
+               {
+                   if (last <= line2)
+                   {
+                       /* 2. fold contains line1, line2 is below fold */
+--- 1607,1617 ----
+           }
+           else
+           {
+               if (fp->fd_top < top)
+               {
++                  /* 2 or 3: need to correct nested folds too */
++                  foldMarkAdjustRecurse(&fp->fd_nested, line1 - fp->fd_top,
++                                line2 - fp->fd_top, amount, amount_after);
+                   if (last <= line2)
+                   {
+                       /* 2. fold contains line1, line2 is below fold */
+***************
+*** 1628,1634 ****
+               }
+               else
+               {
+!                  /* 5. fold is below line1 and contains line2 */
+                   if (amount == MAXLNUM)
+                   {
+                       fp->fd_len -= line2 - fp->fd_top + 1;
+--- 1628,1638 ----
+               }
+               else
+               {
+!                  /* 5. fold is below line1 and contains line2; need to
+!                   * correct nested folds too */
+!                  foldMarkAdjustRecurse(&fp->fd_nested, line1 - fp->fd_top,
+!                                line2 - fp->fd_top, amount,
+!                                amount_after + (fp->fd_top - top));
+                   if (amount == MAXLNUM)
+                   {
+                       fp->fd_len -= line2 - fp->fd_top + 1;
+*** ../vim-7.2.260/src/version.c       2009-09-18 14:58:26.000000000 +0200
+--- src/version.c      2009-09-18 15:14:40.000000000 +0200
+***************
+*** 678,679 ****
+--- 678,681 ----
+  {   /* Add new patch number below this line */
++ /**/
++     261,
+  /**/
+
+-- 
+Emacs is a nice OS - but it lacks a good text editor.
+That's why I am using Vim.  --Anonymous
+
+ /// 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/7.2.262 b/7.2.262
new file mode 100644 (file)
index 0000000..dc73c07
--- /dev/null
+++ b/7.2.262
@@ -0,0 +1,189 @@
+To: vim-dev@vim.org
+Subject: Patch 7.2.262
+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.262
+Problem:    When using custom completion for a user command the pattern string
+           goes beyond the cursor position. (Hari Krishna Dara)
+Solution:   Truncate the string at the cursor position.
+Files:     src/ex_getln.c, src/structs.h
+
+
+*** ../vim-7.2.261/src/ex_getln.c      2009-06-24 17:04:40.000000000 +0200
+--- src/ex_getln.c     2009-09-18 16:58:16.000000000 +0200
+***************
+*** 3266,3272 ****
+      int              i, j;
+      char_u   *p1;
+      char_u   *p2;
+-     int              oldlen;
+      int              difflen;
+      int              v;
+  
+--- 3266,3271 ----
+***************
+*** 3291,3297 ****
+      out_flush();
+  
+      i = (int)(xp->xp_pattern - ccline.cmdbuff);
+!     oldlen = ccline.cmdpos - i;
+  
+      if (type == WILD_NEXT || type == WILD_PREV)
+      {
+--- 3290,3296 ----
+      out_flush();
+  
+      i = (int)(xp->xp_pattern - ccline.cmdbuff);
+!     xp->xp_pattern_len = ccline.cmdpos - i;
+  
+      if (type == WILD_NEXT || type == WILD_PREV)
+      {
+***************
+*** 3305,3322 ****
+       /*
+        * Translate string into pattern and expand it.
+        */
+!      if ((p1 = addstar(&ccline.cmdbuff[i], oldlen, xp->xp_context)) == NULL)
+           p2 = NULL;
+       else
+       {
+!          p2 = ExpandOne(xp, p1, vim_strnsave(&ccline.cmdbuff[i], oldlen),
+                   WILD_HOME_REPLACE|WILD_ADD_SLASH|WILD_SILENT|WILD_ESCAPE
+                                                             |options, type);
+           vim_free(p1);
+           /* longest match: make sure it is not shorter (happens with :help */
+           if (p2 != NULL && type == WILD_LONGEST)
+           {
+!              for (j = 0; j < oldlen; ++j)
+                    if (ccline.cmdbuff[i + j] == '*'
+                            || ccline.cmdbuff[i + j] == '?')
+                        break;
+--- 3304,3323 ----
+       /*
+        * Translate string into pattern and expand it.
+        */
+!      if ((p1 = addstar(xp->xp_pattern, xp->xp_pattern_len,
+!                                                   xp->xp_context)) == NULL)
+           p2 = NULL;
+       else
+       {
+!          p2 = ExpandOne(xp, p1,
+!                       vim_strnsave(&ccline.cmdbuff[i], xp->xp_pattern_len),
+                   WILD_HOME_REPLACE|WILD_ADD_SLASH|WILD_SILENT|WILD_ESCAPE
+                                                             |options, type);
+           vim_free(p1);
+           /* longest match: make sure it is not shorter (happens with :help */
+           if (p2 != NULL && type == WILD_LONGEST)
+           {
+!              for (j = 0; j < xp->xp_pattern_len; ++j)
+                    if (ccline.cmdbuff[i + j] == '*'
+                            || ccline.cmdbuff[i + j] == '?')
+                        break;
+***************
+*** 3331,3337 ****
+  
+      if (p2 != NULL && !got_int)
+      {
+!      difflen = (int)STRLEN(p2) - oldlen;
+       if (ccline.cmdlen + difflen > ccline.cmdbufflen - 4)
+       {
+           v = realloc_cmdbuff(ccline.cmdlen + difflen);
+--- 3332,3338 ----
+  
+      if (p2 != NULL && !got_int)
+      {
+!      difflen = (int)STRLEN(p2) - xp->xp_pattern_len;
+       if (ccline.cmdlen + difflen > ccline.cmdbufflen - 4)
+       {
+           v = realloc_cmdbuff(ccline.cmdlen + difflen);
+***************
+*** 3620,3625 ****
+--- 3621,3627 ----
+      expand_T *xp;
+  {
+      xp->xp_pattern = NULL;
++     xp->xp_pattern_len = 0;
+      xp->xp_backslash = XP_BS_NONE;
+  #ifndef BACKSLASH_IN_FILENAME
+      xp->xp_shell = FALSE;
+***************
+*** 4311,4318 ****
+      }
+  
+      /* add star to file name, or convert to regexp if not exp. files. */
+!     file_str = addstar(xp->xp_pattern,
+!                         (int)(str + col - xp->xp_pattern), xp->xp_context);
+      if (file_str == NULL)
+       return EXPAND_UNSUCCESSFUL;
+  
+--- 4313,4320 ----
+      }
+  
+      /* add star to file name, or convert to regexp if not exp. files. */
+!     xp->xp_pattern_len = (int)(str + col - xp->xp_pattern);
+!     file_str = addstar(xp->xp_pattern, xp->xp_pattern_len, xp->xp_context);
+      if (file_str == NULL)
+       return EXPAND_UNSUCCESSFUL;
+  
+***************
+*** 4781,4787 ****
+       sprintf((char *)num, "%d", ccline.cmdpos);
+       args[1] = ccline.cmdbuff;
+      }
+!     args[0] = xp->xp_pattern;
+      args[2] = num;
+  
+      /* Save the cmdline, we don't know what the function may do. */
+--- 4783,4789 ----
+       sprintf((char *)num, "%d", ccline.cmdpos);
+       args[1] = ccline.cmdbuff;
+      }
+!     args[0] = vim_strnsave(xp->xp_pattern, xp->xp_pattern_len);
+      args[2] = num;
+  
+      /* Save the cmdline, we don't know what the function may do. */
+***************
+*** 4797,4802 ****
+--- 4799,4805 ----
+      if (ccline.cmdbuff != NULL)
+       ccline.cmdbuff[ccline.cmdlen] = keep;
+  
++     vim_free(args[0]);
+      return ret;
+  }
+  
+*** ../vim-7.2.261/src/structs.h       2009-07-29 12:09:49.000000000 +0200
+--- src/structs.h      2009-09-18 15:33:15.000000000 +0200
+***************
+*** 432,437 ****
+--- 432,438 ----
+  {
+      int              xp_context;             /* type of expansion */
+      char_u   *xp_pattern;            /* start of item to expand */
++     int              xp_pattern_len;         /* bytes in xp_pattern before cursor */
+  #if defined(FEAT_USR_CMDS) && defined(FEAT_EVAL) && defined(FEAT_CMDL_COMPL)
+      char_u   *xp_arg;                /* completion function */
+      int              xp_scriptID;            /* SID for completion function */
+*** ../vim-7.2.261/src/version.c       2009-09-18 15:16:37.000000000 +0200
+--- src/version.c      2009-09-18 17:23:20.000000000 +0200
+***************
+*** 678,679 ****
+--- 678,681 ----
+  {   /* Add new patch number below this line */
++ /**/
++     262,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+252. You vote for foreign officials.
+
+ /// 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    ///
index 4ce8e9036adbcecf7696a192c8c83a97ee6f6b88..53efe70dec974eb3b5b057141e7f4bc38c5d475b 100644 (file)
--- a/vim.spec
+++ b/vim.spec
@@ -13,7 +13,7 @@
 %bcond_without home_etc        # without home_etc support
 
 %define                ver             7.2
-%define                patchlevel      245
+%define                patchlevel      262
 Summary:       Vi IMproved - a Vi clone
 Summary(de.UTF-8):     VIsual editor iMproved
 Summary(es.UTF-8):     Editor visual incrementado
@@ -26,7 +26,7 @@ Summary(tr.UTF-8):    Gelişmiş bir vi sürümü
 Summary(uk.UTF-8):     Visual editor IMproved - Єдино Вірний Редактор :)
 Name:          vim
 Version:       %{ver}.%{patchlevel}
-Release:       2
+Release:       1
 Epoch:         4
 License:       Charityware
 Group:         Applications/Editors/Vim
This page took 0.101466 seconds and 4 git commands to generate.