Author: arekm                        Date: Thu May 13 18:37:50 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 7.2.422

---- Files affected:
packages/vim:
   vim.spec (1.508 -> 1.509) , 7.2.417 (NONE -> 1.1)  (NEW), 7.2.418 (NONE -> 
1.1)  (NEW), 7.2.419 (NONE -> 1.1)  (NEW), 7.2.420 (NONE -> 1.1)  (NEW), 
7.2.421 (NONE -> 1.1)  (NEW), 7.2.422 (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/vim/vim.spec
diff -u packages/vim/vim.spec:1.508 packages/vim/vim.spec:1.509
--- packages/vim/vim.spec:1.508 Sun May  9 01:04:05 2010
+++ packages/vim/vim.spec       Thu May 13 20:37:45 2010
@@ -28,7 +28,7 @@
 # wget -q -O - ftp://ftp.vim.org/pub/editors/vim/patches/7.2/MD5SUMS|grep -vF 
.gz|tail -n1|awk '{print $2}'
 
 %define                ver             7.2
-%define                patchlevel      416
+%define                patchlevel      422
 Summary:       Vi IMproved - a Vi clone
 Summary(de.UTF-8):     VIsual editor iMproved
 Summary(es.UTF-8):     Editor visual incrementado
@@ -1375,6 +1375,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.509  2010/05/13 18:37:45  arekm
+- up to 7.2.422
+
 Revision 1.508  2010/05/08 23:04:05  glen
 - up to 7.2.416
 

================================================================
Index: packages/vim/7.2.417
diff -u /dev/null packages/vim/7.2.417:1.1
--- /dev/null   Thu May 13 20:37:50 2010
+++ packages/vim/7.2.417        Thu May 13 20:37:45 2010
@@ -0,0 +1,72 @@
+To: [email protected]
+Subject: Patch 7.2.417
+Fcc: outbox
+From: Bram Moolenaar <[email protected]>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.2.417
+Problem:    When 'shell' has an argument with a slash then 'shellpipe' is not
+           set properly. (Britton Kerin)
+Solution:   Assume there are no spaces in the path, arguments follow.
+Files:     src/option.c
+
+
+*** ../vim-7.2.416/src/option.c        2010-02-24 14:34:10.000000000 +0100
+--- src/option.c       2010-05-13 13:05:28.000000000 +0200
+***************
+*** 3696,3704 ****
+--- 3696,3727 ----
+       * Isolate the name of the shell:
+       * - Skip beyond any path.  E.g., "/usr/bin/csh -f" -> "csh -f".
+       * - Remove any argument.  E.g., "csh -f" -> "csh".
++      * But don't allow a space in the path, so that this works:
++      *   "/usr/bin/csh --rcfile ~/.cshrc"
++      * But don't do that for Windows, it's common to have a space in the 
path.
+       */
++ #ifdef WIN3264
+      p = gettail(p_sh);
+      p = vim_strnsave(p, (int)(skiptowhite(p) - p));
++ #else
++     p = skiptowhite(p_sh);
++     if (*p == NUL)
++     {
++      /* No white space, use the tail. */
++      p = vim_strsave(gettail(p_sh));
++     }
++     else
++     {
++      char_u  *p1, *p2;
++ 
++      /* Find the last path separator before the space. */
++      p1 = p_sh;
++      for (p2 = p_sh; p2 < p; mb_ptr_adv(p2))
++          if (vim_ispathsep(*p2))
++              p1 = p2 + 1;
++      p = vim_strnsave(p1, (int)(p - p1));
++     }
++ #endif
+      if (p != NULL)
+      {
+       /*
+*** ../vim-7.2.416/src/version.c       2010-05-07 16:54:32.000000000 +0200
+--- src/version.c      2010-05-13 13:11:17.000000000 +0200
+***************
+*** 683,684 ****
+--- 683,686 ----
+  {   /* Add new patch number below this line */
++ /**/
++     417,
+  /**/
+
+-- 
+If you put 7 of the most talented OSS developers in a room for a week
+and asked them to fix a bug in a spreadsheet program, in 1 week
+you'd have 2 new mail readers and a text-based web browser.
+
+ /// Bram Moolenaar -- [email protected] -- 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: packages/vim/7.2.418
diff -u /dev/null packages/vim/7.2.418:1.1
--- /dev/null   Thu May 13 20:37:51 2010
+++ packages/vim/7.2.418        Thu May 13 20:37:45 2010
@@ -0,0 +1,113 @@
+To: [email protected]
+Subject: Patch 7.2.418
+Fcc: outbox
+From: Bram Moolenaar <[email protected]>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.2.418
+Problem:    Vim tries to set the background or foreground color in a terminal
+           to -1.  (Graywh)  Happens with ":hi Normal ctermbg=NONE".
+Solution:   When resetting the foreground or background color don't set the
+           color, let the clear screen code do that.
+Files:     src/syntax.c
+
+
+*** ../vim-7.2.417/src/syntax.c        2010-03-23 14:39:07.000000000 +0100
+--- src/syntax.c       2010-05-13 15:34:27.000000000 +0200
+***************
+*** 7136,7142 ****
+                   }
+               }
+           }
+!          /* Add one to the argument, to avoid zero */
+           if (key[5] == 'F')
+           {
+               HL_TABLE()[idx].sg_cterm_fg = color + 1;
+--- 7136,7143 ----
+                   }
+               }
+           }
+!          /* Add one to the argument, to avoid zero.  Zero is used for
+!           * "NONE", then "color" is -1. */
+           if (key[5] == 'F')
+           {
+               HL_TABLE()[idx].sg_cterm_fg = color + 1;
+***************
+*** 7150,7156 ****
+  #endif
+                   {
+                       must_redraw = CLEAR;
+!                      if (termcap_active)
+                           term_fg_color(color);
+                   }
+               }
+--- 7151,7157 ----
+  #endif
+                   {
+                       must_redraw = CLEAR;
+!                      if (termcap_active && color >= 0)
+                           term_fg_color(color);
+                   }
+               }
+***************
+*** 7167,7182 ****
+  #endif
+                   {
+                       must_redraw = CLEAR;
+!                      if (termcap_active)
+!                          term_bg_color(color);
+!                      if (t_colors < 16)
+!                          i = (color == 0 || color == 4);
+!                      else
+!                          i = (color < 7 || color == 8);
+!                      /* Set the 'background' option if the value is wrong. */
+!                      if (i != (*p_bg == 'd'))
+!                          set_option_value((char_u *)"bg", 0L,
+!                               i ? (char_u *)"dark" : (char_u *)"light", 0);
+                   }
+               }
+           }
+--- 7168,7188 ----
+  #endif
+                   {
+                       must_redraw = CLEAR;
+!                      if (color >= 0)
+!                      {
+!                          if (termcap_active)
+!                              term_bg_color(color);
+!                          if (t_colors < 16)
+!                              i = (color == 0 || color == 4);
+!                          else
+!                              i = (color < 7 || color == 8);
+!                          /* Set the 'background' option if the value is
+!                           * wrong. */
+!                          if (i != (*p_bg == 'd'))
+!                              set_option_value((char_u *)"bg", 0L,
+!                                      i ?  (char_u *)"dark"
+!                                        : (char_u *)"light", 0);
+!                      }
+                   }
+               }
+           }
+*** ../vim-7.2.417/src/version.c       2010-05-13 13:12:01.000000000 +0200
+--- src/version.c      2010-05-13 14:29:59.000000000 +0200
+***************
+*** 683,684 ****
+--- 683,686 ----
+  {   /* Add new patch number below this line */
++ /**/
++     418,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+30. Even though you died last week, you've managed to retain OPS on your
+    favorite IRC channel.
+
+ /// Bram Moolenaar -- [email protected] -- 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: packages/vim/7.2.419
diff -u /dev/null packages/vim/7.2.419:1.1
--- /dev/null   Thu May 13 20:37:51 2010
+++ packages/vim/7.2.419        Thu May 13 20:37:45 2010
@@ -0,0 +1,46 @@
+To: [email protected]
+Subject: Patch 7.2.419
+Fcc: outbox
+From: Bram Moolenaar <[email protected]>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.2.419
+Problem:    Memory leak in Motif when clicking on "Search Vim Help".
+Solution:   Free string returned by XmTextGetString(). (Dominique Pelle)
+Files:     src/gui_motif.c
+
+
+*** ../vim-7.2.418/src/gui_motif.c     2009-05-21 23:25:38.000000000 +0200
+--- src/gui_motif.c    2010-05-13 16:08:14.000000000 +0200
+***************
+*** 2917,2922 ****
+--- 2917,2923 ----
+           *textfield = NUL;
+       else
+           vim_strncpy(textfield, p, IOSIZE - 1);
++      XtFree((char *)p);
+      }
+  
+      suppress_dialog_mnemonics(dialogform);
+*** ../vim-7.2.418/src/version.c       2010-05-13 15:40:23.000000000 +0200
+--- src/version.c      2010-05-13 16:09:28.000000000 +0200
+***************
+*** 683,684 ****
+--- 683,686 ----
+  {   /* Add new patch number below this line */
++ /**/
++     419,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+32. You don't know what sex three of your closest friends are, because they
+    have neutral nicknames and you never bothered to ask.
+
+ /// Bram Moolenaar -- [email protected] -- 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: packages/vim/7.2.420
diff -u /dev/null packages/vim/7.2.420:1.1
--- /dev/null   Thu May 13 20:37:51 2010
+++ packages/vim/7.2.420        Thu May 13 20:37:45 2010
@@ -0,0 +1,70 @@
+To: [email protected]
+Subject: Patch 7.2.420
+Fcc: outbox
+From: Bram Moolenaar <[email protected]>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.2.420
+Problem:    ":argedit" does not accept "++enc=utf8" as documented. (Dominique
+           Pelle)
+Solution:   Add the ARGOPT flag to ":argedit".
+Files:     src/ex_cmds.h
+
+
+*** ../vim-7.2.419/src/ex_cmds.h       2009-07-09 15:55:34.000000000 +0200
+--- src/ex_cmds.h      2010-05-13 16:18:38.000000000 +0200
+***************
+*** 52,58 ****
+  #define ARGOPT             0x40000L  /* allow "++opt=val" argument */
+  #define SBOXOK             0x80000L  /* allowed in the sandbox */
+  #define CMDWIN            0x100000L  /* allowed in cmdline window */
+! #define MODIFY       0x200000L  /* forbidden in non-'modifiable' buffer */
+  #define EXFLAGS      0x400000L       /* allow flags after count in argument 
*/
+  #define FILES        (XFILE | EXTRA) /* multiple extra files allowed */
+  #define WORD1        (EXTRA | NOSPC) /* one extra word allowed */
+--- 52,58 ----
+  #define ARGOPT             0x40000L  /* allow "++opt=val" argument */
+  #define SBOXOK             0x80000L  /* allowed in the sandbox */
+  #define CMDWIN            0x100000L  /* allowed in cmdline window */
+! #define MODIFY       0x200000L       /* forbidden in non-'modifiable' buffer 
*/
+  #define EXFLAGS      0x400000L       /* allow flags after count in argument 
*/
+  #define FILES        (XFILE | EXTRA) /* multiple extra files allowed */
+  #define WORD1        (EXTRA | NOSPC) /* one extra word allowed */
+***************
+*** 116,122 ****
+  EX(CMD_argdo,                "argdo",        ex_listdo,
+                       BANG|NEEDARG|EXTRA|NOTRLCOM),
+  EX(CMD_argedit,              "argedit",      ex_argedit,
+!                      BANG|NEEDARG|RANGE|NOTADR|FILE1|EDITCMD|TRLBAR),
+  EX(CMD_argglobal,    "argglobal",    ex_args,
+                       BANG|FILES|EDITCMD|ARGOPT|TRLBAR),
+  EX(CMD_arglocal,     "arglocal",     ex_args,
+--- 116,122 ----
+  EX(CMD_argdo,                "argdo",        ex_listdo,
+                       BANG|NEEDARG|EXTRA|NOTRLCOM),
+  EX(CMD_argedit,              "argedit",      ex_argedit,
+!                      BANG|NEEDARG|RANGE|NOTADR|FILE1|EDITCMD|ARGOPT|TRLBAR),
+  EX(CMD_argglobal,    "argglobal",    ex_args,
+                       BANG|FILES|EDITCMD|ARGOPT|TRLBAR),
+  EX(CMD_arglocal,     "arglocal",     ex_args,
+*** ../vim-7.2.419/src/version.c       2010-05-13 16:31:15.000000000 +0200
+--- src/version.c      2010-05-13 16:43:30.000000000 +0200
+***************
+*** 683,684 ****
+--- 683,686 ----
+  {   /* Add new patch number below this line */
++ /**/
++     420,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+33. You name your children Eudora, Mozilla and Dotcom.
+
+ /// Bram Moolenaar -- [email protected] -- 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: packages/vim/7.2.421
diff -u /dev/null packages/vim/7.2.421:1.1
--- /dev/null   Thu May 13 20:37:51 2010
+++ packages/vim/7.2.421        Thu May 13 20:37:45 2010
@@ -0,0 +1,68 @@
+To: [email protected]
+Subject: Patch 7.2.421
+Fcc: outbox
+From: Bram Moolenaar <[email protected]>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.2.421
+Problem:    Folds are sometimes not updated properly and there is no way to
+           force an update.
+Solution:   Make "zx" and "zX" recompute folds (suggested by Christian
+           Brabandt)
+Files:     src/normal.c
+
+
+*** ../vim-7.2.420/src/normal.c        2010-05-07 15:51:59.000000000 +0200
+--- src/normal.c       2010-05-13 16:43:05.000000000 +0200
+***************
+*** 4936,4948 ****
+  
+               /* "zx": re-apply 'foldlevel' and open folds at the cursor */
+      case 'x':        curwin->w_p_fen = TRUE;
+!              newFoldLevel();         /* update right now */
+               foldOpenCursor();
+               break;
+  
+               /* "zX": undo manual opens/closes, re-apply 'foldlevel' */
+      case 'X':        curwin->w_p_fen = TRUE;
+!              old_fdl = -1;           /* force an update */
+               break;
+  
+               /* "zm": fold more */
+--- 4936,4950 ----
+  
+               /* "zx": re-apply 'foldlevel' and open folds at the cursor */
+      case 'x':        curwin->w_p_fen = TRUE;
+!              curwin->w_foldinvalid = TRUE;   /* recompute folds */
+!              newFoldLevel();                 /* update right now */
+               foldOpenCursor();
+               break;
+  
+               /* "zX": undo manual opens/closes, re-apply 'foldlevel' */
+      case 'X':        curwin->w_p_fen = TRUE;
+!              curwin->w_foldinvalid = TRUE;   /* recompute folds */
+!              old_fdl = -1;                   /* force an update */
+               break;
+  
+               /* "zm": fold more */
+*** ../vim-7.2.420/src/version.c       2010-05-13 16:46:16.000000000 +0200
+--- src/version.c      2010-05-13 17:33:34.000000000 +0200
+***************
+*** 683,684 ****
+--- 683,686 ----
+  {   /* Add new patch number below this line */
++ /**/
++     421,
+  /**/
+
+-- 
+My sister Cecilia opened a computer store in Hawaii.
+She sells C shells by the seashore.
+
+ /// Bram Moolenaar -- [email protected] -- 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: packages/vim/7.2.422
diff -u /dev/null packages/vim/7.2.422:1.1
--- /dev/null   Thu May 13 20:37:51 2010
+++ packages/vim/7.2.422        Thu May 13 20:37:45 2010
@@ -0,0 +1,67 @@
+To: [email protected]
+Subject: Patch 7.2.422
+Fcc: outbox
+From: Bram Moolenaar <[email protected]>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.2.422
+Problem:    May get E763 when using spell dictionaries.
+Solution:   Avoid utf-8 case folded character to be truncated to 8 bits and
+           differ from latin1. (Dominique Pelle)
+Files:     src/spell.c
+
+
+*** ../vim-7.2.421/src/spell.c 2010-01-19 13:06:42.000000000 +0100
+--- src/spell.c        2010-05-13 17:29:28.000000000 +0200
+***************
+*** 9780,9789 ****
+      {
+       for (i = 128; i < 256; ++i)
+       {
+           spelltab.st_isu[i] = utf_isupper(i);
+           spelltab.st_isw[i] = spelltab.st_isu[i] || utf_islower(i);
+!          spelltab.st_fold[i] = utf_fold(i);
+!          spelltab.st_upper[i] = utf_toupper(i);
+       }
+      }
+      else
+--- 9780,9795 ----
+      {
+       for (i = 128; i < 256; ++i)
+       {
++          int f = utf_fold(i);
++          int u = utf_toupper(i);
++ 
+           spelltab.st_isu[i] = utf_isupper(i);
+           spelltab.st_isw[i] = spelltab.st_isu[i] || utf_islower(i);
+!          /* The folded/upper-cased value is different between latin1 and
+!           * utf8 for 0xb5, causing E763 for no good reason.  Use the latin1
+!           * value for utf-8 to avoid this. */
+!          spelltab.st_fold[i] = (f < 256) ? f : i;
+!          spelltab.st_upper[i] = (u < 256) ? u : i;
+       }
+      }
+      else
+*** ../vim-7.2.421/src/version.c       2010-05-13 17:35:52.000000000 +0200
+--- src/version.c      2010-05-13 17:46:03.000000000 +0200
+***************
+*** 683,684 ****
+--- 683,686 ----
+  {   /* Add new patch number below this line */
++ /**/
++     422,
+  /**/
+
+-- 
+Q. What happens to programmers when they die?
+A: MS-Windows programmers are reinstalled.  C++ programmers become undefined,
+   anyone who refers to them will die as well.  Java programmers reincarnate
+   after being garbage collected.
+
+ /// Bram Moolenaar -- [email protected] -- 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    ///
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vim/vim.spec?r1=1.508&r2=1.509&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to