r1219 - in /trunk/packages/vim: debian/changelog patches/pushed-upstream.txt patches/series patches/term.c_device-attributes.diff

jamessan at users.alioth.debian.org jamessan at users.alioth.debian.org
Sat Feb 23 22:04:07 UTC 2008


Author: jamessan
Date: Sat Feb 23 22:04:06 2008
New Revision: 1219

URL: http://svn.debian.org/wsvn/pkg-vim/?sc=1&rev=1219
Log:
* Added patches:
  - term.c_device-attributes.diff:
    + Be less strict when parsing the terminals response to the "Send Device
      Attributes" so that the entire response is read by the parser.  This
      prevents part of the response from bleeding into the actual Vim
      session and possibly changing the buffer.  (Closes: #466789)

Added:
    trunk/packages/vim/patches/term.c_device-attributes.diff
Modified:
    trunk/packages/vim/debian/changelog
    trunk/packages/vim/patches/pushed-upstream.txt
    trunk/packages/vim/patches/series

Modified: trunk/packages/vim/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/debian/changelog?rev=1219&op=diff
==============================================================================
--- trunk/packages/vim/debian/changelog (original)
+++ trunk/packages/vim/debian/changelog Sat Feb 23 22:04:06 2008
@@ -31,6 +31,12 @@
       mishighlighting of debcontrolHTTPUrl matches.  (Closes: #466338)
   * debian/control:
     - Add "Provides: vim" to all vim variant packages.  (Closes: #447714)
+  * Added patches:
+    - term.c_device-attributes.diff:
+      + Be less strict when parsing the terminals response to the "Send Device
+        Attributes" so that the entire response is read by the parser.  This
+        prevents part of the response from bleeding into the actual Vim
+        session and possibly changing the buffer.  (Closes: #466789)
 
  -- martin f. krafft <madduck at debian.org>  Thu, 21 Feb 2008 17:00:37 +0100
 

Modified: trunk/packages/vim/patches/pushed-upstream.txt
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/pushed-upstream.txt?rev=1219&op=diff
==============================================================================
--- trunk/packages/vim/patches/pushed-upstream.txt (original)
+++ trunk/packages/vim/patches/pushed-upstream.txt Sat Feb 23 22:04:06 2008
@@ -12,12 +12,13 @@
 verilog.vim_ftplugin-cpoptions.diff
 fstab.vim-syntax.diff
 vim-git.diff
+last-position-jump.diff
 
 Patches pushed upstream:
 dosini.vim-hash_comment.diff
 option.c-langmap_comma.diff
 spell.c_getc-eof.diff
-last-position-jump.diff
+term.c_device-attributes.diff
 
 Debian-specific patches:
 filetype.vim-better_tex_vs_plaintex.diff

Modified: trunk/packages/vim/patches/series
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/series?rev=1219&op=diff
==============================================================================
--- trunk/packages/vim/patches/series (original)
+++ trunk/packages/vim/patches/series Sat Feb 23 22:04:06 2008
@@ -35,3 +35,4 @@
 make.vim-syntax.diff -p0
 vim-git.diff -p2
 last-position-jump.diff -p0
+term.c_device-attributes.diff -p0

Added: trunk/packages/vim/patches/term.c_device-attributes.diff
URL: http://svn.debian.org/wsvn/pkg-vim/trunk/packages/vim/patches/term.c_device-attributes.diff?rev=1219&op=file
==============================================================================
--- trunk/packages/vim/patches/term.c_device-attributes.diff (added)
+++ trunk/packages/vim/patches/term.c_device-attributes.diff Sat Feb 23 22:04:06 2008
@@ -1,0 +1,15 @@
+Index: vim/src/term.c
+===================================================================
+--- vim/src/term.c.orig
++++ vim/src/term.c
+@@ -4056,9 +4056,7 @@
+ 	    {
+ 		j = 0;
+ 		extra = 0;
+-		for (i = 2 + (tp[0] != CSI);
+-			i < len && (VIM_ISDIGIT(tp[i])
+-			    || tp[i] == ';' || tp[i] == '.'); ++i)
++		for (i = 2 + (tp[0] != CSI); i < len && tp[i] != 'c'; ++i)
+ 		    if (tp[i] == ';' && ++j == 1)
+ 			extra = atoi((char *)tp + i + 1);
+ 		if (i == len)




More information about the pkg-vim-maintainers mailing list