Author: adamg                        Date: Wed Aug 16 21:40:22 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- new

---- Files affected:
SOURCES:
   7.0.051 (NONE -> 1.1)  (NEW), 7.0.052 (NONE -> 1.1)  (NEW), 7.0.053 (NONE -> 
1.1)  (NEW), 7.0.054 (NONE -> 1.1)  (NEW), 7.0.055 (NONE -> 1.1)  (NEW), 
7.0.056 (NONE -> 1.1)  (NEW), 7.0.058 (NONE -> 1.1)  (NEW), 7.0.059 (NONE -> 
1.1)  (NEW), 7.0.060 (NONE -> 1.1)  (NEW), 7.0.061 (NONE -> 1.1)  (NEW), 
7.0.062 (NONE -> 1.1)  (NEW), 7.0.063 (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/7.0.051
diff -u /dev/null SOURCES/7.0.051:1.1
--- /dev/null   Wed Aug 16 23:40:22 2006
+++ SOURCES/7.0.051     Wed Aug 16 23:40:16 2006
@@ -0,0 +1,227 @@
+To: [email protected]
+Subject: Patch 7.0.051
+Fcc: outbox
+From: Bram Moolenaar <[EMAIL PROTECTED]>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.0.051 (after 7.0.44)
+Problem:    The Perl interface doesn't compile or doesn't work properly.
+Solution:   Remove the spaces before #ifdef and avoid an empty line above it.
+Files:     src/if_perl.xs
+
+
+*** ../vim-7.0.050/src/if_perl.xs      Tue Aug  8 16:47:38 2006
+--- src/if_perl.xs     Fri Aug 11 22:51:01 2006
+***************
+*** 1068,1098 ****
+           line = SvPV(ST(i),PL_na);
+           if (lnum > 0 && lnum <= vimbuf->b_ml.ml_line_count && line != NULL)
+           {
+!     #ifdef FEAT_AUTOCMD
+               aco_save_T      aco;
+  
+               /* set curwin/curbuf for "vimbuf" and save some things */
+               aucmd_prepbuf(&aco, vimbuf);
+!     #else
+               buf_T   *save_curbuf = curbuf;
+  
+               curbuf = vimbuf;
+               curwin->w_buffer = vimbuf;
+!     #endif
+               if (u_savesub(lnum) == OK)
+               {
+                   ml_replace(lnum, (char_u *)line, TRUE);
+                   changed_bytes(lnum, 0);
+               }
+! 
+!     #ifdef FEAT_AUTOCMD
+               /* restore curwin/curbuf and a few other things */
+               aucmd_restbuf(&aco);
+               /* Careful: autocommands may have made "vimbuf" invalid! */
+!     #else
+               curwin->w_buffer = save_curbuf;
+               curbuf = save_curbuf;
+!     #endif
+           }
+       }
+      }
+--- 1068,1097 ----
+           line = SvPV(ST(i),PL_na);
+           if (lnum > 0 && lnum <= vimbuf->b_ml.ml_line_count && line != NULL)
+           {
+! #ifdef FEAT_AUTOCMD
+               aco_save_T      aco;
+  
+               /* set curwin/curbuf for "vimbuf" and save some things */
+               aucmd_prepbuf(&aco, vimbuf);
+! #else
+               buf_T   *save_curbuf = curbuf;
+  
+               curbuf = vimbuf;
+               curwin->w_buffer = vimbuf;
+! #endif
+               if (u_savesub(lnum) == OK)
+               {
+                   ml_replace(lnum, (char_u *)line, TRUE);
+                   changed_bytes(lnum, 0);
+               }
+! #ifdef FEAT_AUTOCMD
+               /* restore curwin/curbuf and a few other things */
+               aucmd_restbuf(&aco);
+               /* Careful: autocommands may have made "vimbuf" invalid! */
+! #else
+               curwin->w_buffer = save_curbuf;
+               curbuf = save_curbuf;
+! #endif
+           }
+       }
+      }
+***************
+*** 1130,1144 ****
+               if (lnum > 0 && lnum <= vimbuf->b_ml.ml_line_count)
+               {
+                   buf_T       *save_curbuf = curbuf;
+!     #ifdef FEAT_AUTOCMD
+                   aco_save_T  aco;
+  
+                   /* set curwin/curbuf for "vimbuf" and save some things */
+                   aucmd_prepbuf(&aco, vimbuf);
+!     #else
+                   curbuf = vimbuf;
+                   curwin->w_buffer = vimbuf;
+!     #endif
+                   if (u_savedel(lnum, 1) == OK)
+                   {
+                       ml_delete(lnum, 0);
+--- 1129,1143 ----
+               if (lnum > 0 && lnum <= vimbuf->b_ml.ml_line_count)
+               {
+                   buf_T       *save_curbuf = curbuf;
+! #ifdef FEAT_AUTOCMD
+                   aco_save_T  aco;
+  
+                   /* set curwin/curbuf for "vimbuf" and save some things */
+                   aucmd_prepbuf(&aco, vimbuf);
+! #else
+                   curbuf = vimbuf;
+                   curwin->w_buffer = vimbuf;
+! #endif
+                   if (u_savedel(lnum, 1) == OK)
+                   {
+                       ml_delete(lnum, 0);
+***************
+*** 1146,1159 ****
+                       if (save_curbuf == curbuf)
+                           check_cursor();
+                   }
+!     #ifdef FEAT_AUTOCMD
+                   /* restore curwin/curbuf and a few other things */
+                   aucmd_restbuf(&aco);
+                   /* Careful: autocommands may have made "vimbuf" invalid! */
+!     #else
+                   curwin->w_buffer = save_curbuf;
+                   curbuf = save_curbuf;
+!     #endif
+                   update_curbuf(VALID);
+               }
+           }
+--- 1145,1158 ----
+                       if (save_curbuf == curbuf)
+                           check_cursor();
+                   }
+! #ifdef FEAT_AUTOCMD
+                   /* restore curwin/curbuf and a few other things */
+                   aucmd_restbuf(&aco);
+                   /* Careful: autocommands may have made "vimbuf" invalid! */
+! #else
+                   curwin->w_buffer = save_curbuf;
+                   curbuf = save_curbuf;
+! #endif
+                   update_curbuf(VALID);
+               }
+           }
+***************
+*** 1180,1210 ****
+           line = SvPV(ST(i),PL_na);
+           if (lnum >= 0 && lnum <= vimbuf->b_ml.ml_line_count && line != NULL)
+           {
+!     #ifdef FEAT_AUTOCMD
+               aco_save_T      aco;
+  
+               /* set curwin/curbuf for "vimbuf" and save some things */
+               aucmd_prepbuf(&aco, vimbuf);
+!     #else
+               buf_T   *save_curbuf = curbuf;
+  
+               curbuf = vimbuf;
+               curwin->w_buffer = vimbuf;
+!     #endif
+               if (u_inssub(lnum + 1) == OK)
+               {
+                   ml_append(lnum, (char_u *)line, (colnr_T)0, FALSE);
+                   appended_lines_mark(lnum, 1L);
+               }
+! 
+!     #ifdef FEAT_AUTOCMD
+               /* restore curwin/curbuf and a few other things */
+               aucmd_restbuf(&aco);
+               /* Careful: autocommands may have made "vimbuf" invalid! */
+!     #else
+               curwin->w_buffer = save_curbuf;
+               curbuf = save_curbuf;
+!     #endif
+               update_curbuf(VALID);
+           }
+       }
+--- 1179,1208 ----
+           line = SvPV(ST(i),PL_na);
+           if (lnum >= 0 && lnum <= vimbuf->b_ml.ml_line_count && line != NULL)
+           {
+! #ifdef FEAT_AUTOCMD
+               aco_save_T      aco;
+  
+               /* set curwin/curbuf for "vimbuf" and save some things */
+               aucmd_prepbuf(&aco, vimbuf);
+! #else
+               buf_T   *save_curbuf = curbuf;
+  
+               curbuf = vimbuf;
+               curwin->w_buffer = vimbuf;
+! #endif
+               if (u_inssub(lnum + 1) == OK)
+               {
+                   ml_append(lnum, (char_u *)line, (colnr_T)0, FALSE);
+                   appended_lines_mark(lnum, 1L);
+               }
+! #ifdef FEAT_AUTOCMD
+               /* restore curwin/curbuf and a few other things */
+               aucmd_restbuf(&aco);
+               /* Careful: autocommands may have made "vimbuf" invalid! */
+! #else
+               curwin->w_buffer = save_curbuf;
+               curbuf = save_curbuf;
+! #endif
+               update_curbuf(VALID);
+           }
+       }
+*** ../vim-7.0.050/src/version.c       Tue Aug  8 21:36:15 2006
+--- src/version.c      Fri Aug 11 22:55:25 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     51,
+  /**/
+
+-- 
+"A clear conscience is usually the sign of a bad memory."
+                             -- Steven Wright
+
+ /// 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: SOURCES/7.0.052
diff -u /dev/null SOURCES/7.0.052:1.1
--- /dev/null   Wed Aug 16 23:40:22 2006
+++ SOURCES/7.0.052     Wed Aug 16 23:40:16 2006
@@ -0,0 +1,66 @@
+To: [email protected]
+Subject: Patch 7.0.052
+Fcc: outbox
+From: Bram Moolenaar <[EMAIL PROTECTED]>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.0.052
+Problem:    The user may not be aware that the Vim server allows others more
+           functionality than desired.
+Solution:   When running Vim as root don't become a Vim server without an
+           explicit --servername argument.
+Files:     src/main.c
+
+
+*** ../vim-7.0.051/src/main.c  Mon Jun 19 10:56:20 2006
+--- src/main.c Tue Aug  8 11:02:44 2006
+***************
+*** 3212,3221 ****
+       * Register for remote command execution with :serversend and --remote
+       * unless there was a -X or a --servername '' on the command line.
+       * Only register nongui-vim's with an explicit --servername argument.
+       */
+      if (X_DISPLAY != NULL && parmp->servername != NULL && (
+  #  ifdef FEAT_GUI
+!              gui.in_use ||
+  #  endif
+               parmp->serverName_arg != NULL))
+      {
+--- 3212,3226 ----
+       * Register for remote command execution with :serversend and --remote
+       * unless there was a -X or a --servername '' on the command line.
+       * Only register nongui-vim's with an explicit --servername argument.
++      * When running as root --servername is also required.
+       */
+      if (X_DISPLAY != NULL && parmp->servername != NULL && (
+  #  ifdef FEAT_GUI
+!              (gui.in_use
+! #   ifdef UNIX
+!               && getuid() != 0
+! #   endif
+!              ) ||
+  #  endif
+               parmp->serverName_arg != NULL))
+      {
+*** ../vim-7.0.051/src/version.c       Fri Aug 11 22:56:44 2006
+--- src/version.c      Tue Aug 15 21:41:24 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     52,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+148. You find it easier to dial-up the National Weather Service
+     Weather/your_town/now.html than to simply look out the window.
+
+ /// 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: SOURCES/7.0.053
diff -u /dev/null SOURCES/7.0.053:1.1
--- /dev/null   Wed Aug 16 23:40:22 2006
+++ SOURCES/7.0.053     Wed Aug 16 23:40:16 2006
@@ -0,0 +1,53 @@
+To: [email protected]
+Subject: Patch 7.0.053
+Fcc: outbox
+From: Bram Moolenaar <[EMAIL PROTECTED]>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.0.053
+Problem:    Shortening a directory name may fail when there are multi-byte
+           characters.
+Solution:   Copy the correct bytes. (Titov Anatoly)
+Files:     src/misc1.c
+
+
+*** ../vim-7.0.052/src/misc1.c Sun Apr 30 20:49:14 2006
+--- src/misc1.c        Tue Aug  8 11:23:45 2006
+***************
+*** 4492,4498 ****
+               int l = mb_ptr2len(s);
+  
+               while (--l > 0)
+!                  *d++ = *s++;
+           }
+  # endif
+       }
+--- 4492,4498 ----
+               int l = mb_ptr2len(s);
+  
+               while (--l > 0)
+!                  *d++ = *++s;
+           }
+  # endif
+       }
+*** ../vim-7.0.052/src/version.c       Tue Aug 15 21:42:18 2006
+--- src/version.c      Tue Aug 15 22:23:44 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     53,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+150. You find yourself counting emoticons to get to sleep.
+
+ /// 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: SOURCES/7.0.054
diff -u /dev/null SOURCES/7.0.054:1.1
--- /dev/null   Wed Aug 16 23:40:22 2006
+++ SOURCES/7.0.054     Wed Aug 16 23:40:16 2006
@@ -0,0 +1,89 @@
+To: [email protected]
+Subject: Patch 7.0.054
+Fcc: outbox
+From: Bram Moolenaar <[EMAIL PROTECTED]>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.0.054
+Problem:    Mac: Using a menu name that only has a mnemonic or accelerator
+           causes a crash.  (Elliot Shank)
+Solution:   Check for an empty menu name.  Also delete empty submenus that
+           were created before detecting the error.
+Files:     src/menu.c
+
+
+*** ../vim-7.0.053/src/menu.c  Wed May  3 23:28:47 2006
+--- src/menu.c Tue Aug  8 20:53:25 2006
+***************
+*** 511,516 ****
+--- 511,524 ----
+        * name (without mnemonic and accelerator text). */
+       next_name = menu_name_skip(name);
+       dname = menu_text(name, NULL, NULL);
++      if (dname == NULL)
++          goto erret;
++      if (*dname == NUL)
++      {
++          /* Only a mnemonic or accelerator is not valid. */
++          EMSG(_("E792: Empty menu name"));
++          goto erret;
++      }
+  
+       /* See if it's already there */
+       lower_pri = menup;
+***************
+*** 704,709 ****
+--- 712,718 ----
+       parent = menu;
+       name = next_name;
+       vim_free(dname);
++      dname = NULL;
+       if (pri_tab[pri_idx + 1] != -1)
+           ++pri_idx;
+      }
+***************
+*** 793,798 ****
+--- 802,823 ----
+  erret:
+      vim_free(path_name);
+      vim_free(dname);
++ 
++     /* Delete any empty submenu we added before discovering the error.  
Repeat
++      * for higher levels. */
++     while (parent != NULL && parent->children == NULL)
++     {
++      if (parent->parent == NULL)
++          menup = &root_menu;
++      else
++          menup = &parent->parent->children;
++      for ( ; *menup != NULL && *menup != parent; menup = &((*menup)->next))
++          ;
++      if (*menup == NULL) /* safety check */
++          break;
++      parent = parent->parent;
++      free_menu(menup);
++     }
+      return FAIL;
+  }
+  
+*** ../vim-7.0.053/src/version.c       Tue Aug 15 22:26:04 2006
+--- src/version.c      Wed Aug 16 15:53:39 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     54,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+156. You forget your friend's name but not her e-mail address.
+
+ /// 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: SOURCES/7.0.055
diff -u /dev/null SOURCES/7.0.055:1.1
--- /dev/null   Wed Aug 16 23:40:22 2006
+++ SOURCES/7.0.055     Wed Aug 16 23:40:16 2006
@@ -0,0 +1,71 @@
+To: [email protected]
+Subject: Patch 7.0.055
+Fcc: outbox
+From: Bram Moolenaar <[EMAIL PROTECTED]>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.0.055
+Problem:    ":startinsert" in a CmdwinEnter autocommand doesn't take immediate
+           effect. (Bradley White)
+Solution:   Put a NOP key in the typeahead buffer.  Also avoid that using
+           CTRL-C to go back to the command line moves the cursor left.
+Files:     src/edit.c, src/ex_getln.c
+
+
+*** ../vim-7.0.054/src/edit.c  Fri Jun 23 21:36:49 2006
+--- src/edit.c Wed Aug 16 16:17:29 2006
+***************
+*** 882,887 ****
+--- 882,888 ----
+               /* Close the cmdline window. */
+               cmdwin_result = K_IGNORE;
+               got_int = FALSE; /* don't stop executing autocommands et al. */
++              nomove = TRUE;
+               goto doESCkey;
+           }
+  #endif
+***************
+*** 2414,2419 ****
+--- 2415,2421 ----
+      compl_matches = ins_compl_make_cyclic();
+      compl_started = TRUE;
+      compl_used_match = TRUE;
++     compl_cont_status = 0;
+  
+      compl_curr_match = compl_first_match;
+      ins_complete(Ctrl_N);
+*** ../vim-7.0.054/src/ex_getln.c      Sun Apr 30 20:43:17 2006
+--- src/ex_getln.c     Wed Aug 16 16:07:04 2006
+***************
+*** 5982,5987 ****
+--- 5982,5989 ----
+      typestr[0] = cmdwin_type;
+      typestr[1] = NUL;
+      apply_autocmds(EVENT_CMDWINENTER, typestr, typestr, FALSE, curbuf);
++     if (restart_edit != 0)   /* autocmd with ":startinsert" */
++      stuffcharReadbuff(K_NOP);
+  # endif
+  
+      i = RedrawingDisabled;
+*** ../vim-7.0.054/src/version.c       Wed Aug 16 15:56:58 2006
+--- src/version.c      Wed Aug 16 16:21:45 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     55,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+157. You fum through a magazine, you first check to see if it has a web
+     address.
+
+ /// 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: SOURCES/7.0.056
diff -u /dev/null SOURCES/7.0.056:1.1
--- /dev/null   Wed Aug 16 23:40:22 2006
+++ SOURCES/7.0.056     Wed Aug 16 23:40:16 2006
@@ -0,0 +1,49 @@
+To: [email protected]
+Subject: Patch 7.0.056
+Fcc: outbox
+From: Bram Moolenaar <[EMAIL PROTECTED]>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.0.056
+Problem:    "#!something" gives an error message.
+Solution:   Ignore this line, so that it can be used in an executable Vim
+            script.
+Files:      src/ex_docmd.c
+
+
+*** ../vim-7.0.055/src/ex_docmd.c      Sat May 13 12:36:18 2006
+--- src/ex_docmd.c     Thu Aug 10 23:50:32 2006
+***************
+*** 1709,1714 ****
+--- 1712,1721 ----
+       */
+      save_cmdmod = cmdmod;
+      vim_memset(&cmdmod, 0, sizeof(cmdmod));
++ 
++     /* "#!anything" is handled like a comment. */
++     if ((*cmdlinep)[0] == '#' && (*cmdlinep)[1] == '!')
++      goto doend;
+  
+      /*
+       * Repeat until no more command modifiers are found.
+*** ../vim-7.0.055/src/version.c       Wed Aug 16 16:24:58 2006
+--- src/version.c      Wed Aug 16 17:05:35 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     56,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+158. You get a tuner card so you can watch TV while surfing.
+
+ /// 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: SOURCES/7.0.058
diff -u /dev/null SOURCES/7.0.058:1.1
--- /dev/null   Wed Aug 16 23:40:22 2006
+++ SOURCES/7.0.058     Wed Aug 16 23:40:16 2006
@@ -0,0 +1,46 @@
<<Diff was trimmed, longer than 597 lines>>
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to