]> git.pld-linux.org Git - packages/vim.git/commitdiff
- new patches
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 7 Jul 2004 18:36:09 +0000 (18:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    6.3.007 -> 1.1
    6.3.008 -> 1.1
    6.3.009 -> 1.1
    6.3.010 -> 1.1
    6.3.011 -> 1.1
    6.3.012 -> 1.1

6.3.007 [new file with mode: 0644]
6.3.008 [new file with mode: 0644]
6.3.009 [new file with mode: 0644]
6.3.010 [new file with mode: 0644]
6.3.011 [new file with mode: 0644]
6.3.012 [new file with mode: 0644]

diff --git a/6.3.007 b/6.3.007
new file mode 100644 (file)
index 0000000..778dbf3
--- /dev/null
+++ b/6.3.007
@@ -0,0 +1,58 @@
+To: vim-dev@vim.org
+Subject: Patch 6.3.007
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 6.3.007
+Problem:    When there is a buffer with 'buftype' set to "nofile" and using a
+           ":cd" command, the swap file is not deleted when exiting.
+Solution:   Use the full path of the swap file also for "nofile" buffers.
+Files:     src/fileio.c
+
+
+*** ../vim-6.3.006/src/fileio.c        Wed Jun  9 14:56:28 2004
+--- src/fileio.c       Sun Jun 20 13:53:29 2004
+***************
+*** 5290,5297 ****
+           }
+           if (p == NULL || buf->b_fname == NULL)
+               buf->b_fname = buf->b_ffname;
+-          mf_fullname(buf->b_ml.ml_mfp);
+       }
+      }
+  #ifdef FEAT_WINDOWS
+      status_redraw_all();
+--- 5290,5300 ----
+           }
+           if (p == NULL || buf->b_fname == NULL)
+               buf->b_fname = buf->b_ffname;
+       }
++ 
++      /* Always make the swap file name a full path, a "nofile" buffer may
++       * also have a swap file. */
++      mf_fullname(buf->b_ml.ml_mfp);
+      }
+  #ifdef FEAT_WINDOWS
+      status_redraw_all();
+*** ../vim-6.3.006/src/version.c       Wed Jun 16 12:34:33 2004
+--- src/version.c      Sun Jun 20 13:55:23 2004
+***************
+*** 643,644 ****
+--- 643,646 ----
+  {   /* Add new patch number below this line */
++ /**/
++     7,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+220. Your wife asks for sex and you tell her where to find you on IRC.
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
+ \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
diff --git a/6.3.008 b/6.3.008
new file mode 100644 (file)
index 0000000..629bd9f
--- /dev/null
+++ b/6.3.008
@@ -0,0 +1,52 @@
+To: vim-dev@vim.org
+Subject: Patch 6.3.008
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 6.3.008
+Problem:    Compiling fails under OS/2.
+Solution:   Include "e_screenmode" also for OS/2. (David Sanders)
+Files:     src/globals.h
+
+
+*** ../vim-6.3.007/src/globals.h       Wed Jun  9 14:56:25 2004
+--- src/globals.h      Sun Jun 27 15:44:13 2004
+***************
+*** 1321,1327 ****
+  #endif
+  EXTERN char_u e_secure[]     INIT(=N_("E523: Not allowed here"));
+  #if defined(AMIGA) || defined(MACOS) || defined(MSWIN) || defined(RISCOS) \
+!      || defined(UNIX) || defined(VMS)
+  EXTERN char_u e_screenmode[] INIT(=N_("E359: Screen mode setting not supported"));
+  #endif
+  EXTERN char_u e_scroll[]     INIT(=N_("E49: Invalid scroll size"));
+--- 1321,1327 ----
+  #endif
+  EXTERN char_u e_secure[]     INIT(=N_("E523: Not allowed here"));
+  #if defined(AMIGA) || defined(MACOS) || defined(MSWIN) || defined(RISCOS) \
+!      || defined(UNIX) || defined(VMS) || defined(OS2)
+  EXTERN char_u e_screenmode[] INIT(=N_("E359: Screen mode setting not supported"));
+  #endif
+  EXTERN char_u e_scroll[]     INIT(=N_("E49: Invalid scroll size"));
+*** ../vim-6.3.007/src/version.c       Sun Jun 20 13:56:21 2004
+--- src/version.c      Sun Jun 27 17:23:45 2004
+***************
+*** 643,644 ****
+--- 643,646 ----
+  {   /* Add new patch number below this line */
++ /**/
++     8,
+  /**/
+
+-- 
+"A mouse can be just as dangerous as a bullet or a bomb."
+             (US Representative Lamar Smith, R-Texas)
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
+ \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
diff --git a/6.3.009 b/6.3.009
new file mode 100644 (file)
index 0000000..a15afb2
--- /dev/null
+++ b/6.3.009
@@ -0,0 +1,107 @@
+To: vim-dev@vim.org
+Subject: Patch 6.3.009
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 6.3.009 (after 6.3.006)
+Problem:    ":breakadd file /path/foo.vim" does not match when a symbolic link
+           is involved.  (Servatius Brandt)
+Solution:   Do expand the pattern when it does not start with "*".
+Files:     runtime/doc/repeat.txt, src/ex_cmds2.c
+
+
+*** ../vim-6.3.008/runtime/doc/repeat.txt      Wed Jun  9 14:56:29 2004
+--- runtime/doc/repeat.txt     Tue Jun 22 15:01:39 2004
+***************
+*** 1,4 ****
+! *repeat.txt*    For Vim version 6.3.  Last change: 2004 Apr 02
+  
+  
+                 VIM REFERENCE MANUAL    by Bram Moolenaar
+--- 1,4 ----
+! *repeat.txt*    For Vim version 6.3.  Last change: 2004 Jun 22
+  
+  
+                 VIM REFERENCE MANUAL    by Bram Moolenaar
+***************
+*** 476,488 ****
+  of characters.  'ignorecase' is not used, but "\c" can be used in the pattern
+  to ignore case |/\c|.  Don't include the () for the function name!
+  
+! The match for sourced scripts is done against the full file name.  Examples: >
+!      breakadd file explorer
+! won't match, the path is missing. >
+       breakadd file *explorer.vim
+! matches ".../plugin/explorer.vim" and ".../plugin/iexplorer.vim". >
+       breakadd file */explorer.vim
+! matches ".../plugin/explorer.vim" only.
+  
+  The match for functions is done against the name as it's shown in the output
+  of ":function".  For local functions this means that something like "<SNR>99_"
+--- 476,489 ----
+  of characters.  'ignorecase' is not used, but "\c" can be used in the pattern
+  to ignore case |/\c|.  Don't include the () for the function name!
+  
+! The match for sourced scripts is done against the full file name.  If no path
+! is specified the current directory is used.  Examples: >
+!      breakadd file explorer.vim
+! matches "explorer.vim" in the current directory. >
+       breakadd file *explorer.vim
+! matches ".../plugin/explorer.vim", ".../plugin/iexplorer.vim", etc. >
+       breakadd file */explorer.vim
+! matches ".../plugin/explorer.vim" and "explorer.vim" in any other directory.
+  
+  The match for functions is done against the name as it's shown in the output
+  of ":function".  For local functions this means that something like "<SNR>99_"
+*** ../vim-6.3.008/src/ex_cmds2.c      Wed Jun 16 12:34:33 2004
+--- src/ex_cmds2.c     Tue Jun 22 15:05:07 2004
+***************
+*** 431,437 ****
+       vim_free(q);
+       if (p == NULL)
+           return FAIL;
+!      bp->dbg_name = p;
+  #ifdef MACOS_CLASSIC
+       if (bp->dbg_name != NULL)
+           slash_n_colon_adjust(bp->dbg_name);
+--- 431,443 ----
+       vim_free(q);
+       if (p == NULL)
+           return FAIL;
+!      if (*p != '*')
+!      {
+!          bp->dbg_name = fix_fname(p);
+!          vim_free(p);
+!      }
+!      else
+!          bp->dbg_name = p;
+  #ifdef MACOS_CLASSIC
+       if (bp->dbg_name != NULL)
+           slash_n_colon_adjust(bp->dbg_name);
+*** ../vim-6.3.008/src/version.c       Sun Jun 27 17:25:17 2004
+--- src/version.c      Mon Jun 28 19:36:28 2004
+***************
+*** 643,644 ****
+--- 643,646 ----
+  {   /* Add new patch number below this line */
++ /**/
++     9,
+  /**/
+
+-- 
+    [clop clop]
+MORTICIAN:  Who's that then?
+CUSTOMER:   I don't know.
+MORTICIAN:  Must be a king.
+CUSTOMER:   Why?
+MORTICIAN:  He hasn't got shit all over him.
+                                  The Quest for the Holy Grail (Monty Python)
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
+ \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
diff --git a/6.3.010 b/6.3.010
new file mode 100644 (file)
index 0000000..2214d61
--- /dev/null
+++ b/6.3.010
@@ -0,0 +1,65 @@
+To: vim-dev@vim.org
+Subject: Patch 6.3.010
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 6.3.010
+Problem:    When writing to a named pipe there is an error for fsync()
+           failing.
+Solution:   Ignore the fsync() error for devices.
+Files:     src/fileio.c
+
+
+*** ../vim-6.3.009/src/fileio.c        Sun Jun 20 13:56:21 2004
+--- src/fileio.c       Tue Jun 29 20:02:53 2004
+***************
+*** 3965,3972 ****
+       * original and the backup file to be lost when halting the system right
+       * after writing the file.  That's because only the meta-data is
+       * journalled.  Syncing the file slows down the system, but assures it has
+!      * been written to disk and we don't lose it. */
+!     if (fsync(fd) != 0)
+      {
+       errmsg = (char_u *)_("E667: Fsync failed");
+       end = 0;
+--- 3965,3974 ----
+       * original and the backup file to be lost when halting the system right
+       * after writing the file.  That's because only the meta-data is
+       * journalled.  Syncing the file slows down the system, but assures it has
+!      * been written to disk and we don't lose it.
+!      * For a device do try the fsync() but don't complain if it does not work
+!      * (could be a pipe). */
+!     if (fsync(fd) != 0 && !device)
+      {
+       errmsg = (char_u *)_("E667: Fsync failed");
+       end = 0;
+*** ../vim-6.3.009/src/version.c       Mon Jun 28 19:38:42 2004
+--- src/version.c      Tue Jun 29 20:06:21 2004
+***************
+*** 643,644 ****
+--- 643,646 ----
+  {   /* Add new patch number below this line */
++ /**/
++     10,
+  /**/
+
+-- 
+A poem:                read aloud:
+
+<> !*''#               Waka waka bang splat tick tick hash,
+^"`$$-                 Caret quote back-tick dollar dollar dash,
+!*=@$_                 Bang splat equal at dollar under-score,
+%*<> ~#4               Percent splat waka waka tilde number four,
+&[]../                 Ampersand bracket bracket dot dot slash,
+|{,,SYSTEM HALTED      Vertical-bar curly-bracket comma comma CRASH.
+
+Fred Bremmer and Steve Kroese (Calvin College & Seminary of Grand Rapids, MI.)
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
+ \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
diff --git a/6.3.011 b/6.3.011
new file mode 100644 (file)
index 0000000..4b64b15
--- /dev/null
+++ b/6.3.011
@@ -0,0 +1,65 @@
+To: vim-dev@vim.org
+Subject: Patch 6.3.011
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 6.3.011
+Problem:    Crash when the completion function of a user-command uses a
+           "normal :cmd" command.  (Hari Krishna Dara)
+Solution:   Save the command line when invoking the completion function.
+Files:     src/ex_getln.c
+
+
+*** ../vim-6.3.010/src/ex_getln.c      Wed Jun  9 14:56:25 2004
+--- src/ex_getln.c     Fri Jul  2 21:55:55 2004
+***************
+*** 3974,3979 ****
+--- 3974,3980 ----
+      char_u      num[50];
+      garray_T ga;
+      int              save_current_SID = current_SID;
++     struct cmdline_info          save_ccline;
+  
+      if (xp->xp_arg == NULL || xp->xp_arg[0] == '\0')
+       return FAIL;
+***************
+*** 3987,3995 ****
+--- 3988,4004 ----
+      args[1] = ccline.cmdbuff;
+      args[2] = num;
+  
++     /* Save the cmdline, we don't know what the function may do. */
++     save_ccline = ccline;
++     ccline.cmdbuff = NULL;
++     ccline.cmdprompt = NULL;
+      current_SID = xp->xp_scriptID;
++ 
+      all = call_vim_function(xp->xp_arg, 3, args, FALSE);
++ 
++     ccline = save_ccline;
+      current_SID = save_current_SID;
++ 
+      ccline.cmdbuff[ccline.cmdlen] = keep;
+      if (all == NULL)
+       return FAIL;
+*** ../vim-6.3.010/src/version.c       Tue Jun 29 20:07:02 2004
+--- src/version.c      Fri Jul  2 21:59:54 2004
+***************
+*** 643,644 ****
+--- 643,646 ----
+  {   /* Add new patch number below this line */
++ /**/
++     11,
+  /**/
+
+-- 
+Save the plankton - eat a whale.
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
+ \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
diff --git a/6.3.012 b/6.3.012
new file mode 100644 (file)
index 0000000..e8c826a
--- /dev/null
+++ b/6.3.012
@@ -0,0 +1,92 @@
+To: vim-dev@vim.org
+Subject: Patch 6.3.012
+Fcc: outbox
+From: Bram Moolenaar <Bram@moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 6.3.012
+Problem:    Internal lalloc(0) error when using a complicated multi-line
+           pattern in a substitute command. (Luc Hermitte)
+Solution:   Avoid going past the end of a line.
+Files:     src/ex_cmds.c
+
+
+*** ../vim-6.3.011/src/ex_cmds.c       Thu Jun 10 21:08:20 2004
+--- src/ex_cmds.c      Tue Jul  6 14:47:37 2004
+***************
+*** 3727,3732 ****
+--- 3727,3733 ----
+           unsigned    len, needed_len;
+           long        nmatch_tl = 0;  /* nr of lines matched below lnum */
+           int         do_again;       /* do it again after joining lines */
++          int         skip_match = FALSE;
+  
+           /*
+            * The new text is build up step by step, to avoid too much
+***************
+*** 3811,3817 ****
+                       && regmatch.endpos[0].lnum == 0
+                       && matchcol == regmatch.endpos[0].col)
+               {
+!                  ++matchcol; /* search for a match at next column */
+                   goto skip;
+               }
+  
+--- 3812,3823 ----
+                       && regmatch.endpos[0].lnum == 0
+                       && matchcol == regmatch.endpos[0].col)
+               {
+!                  if (sub_firstline[matchcol] == NUL)
+!                      /* We already were at the end of the line.  Don't look
+!                       * for a match in this line again. */
+!                      skip_match = TRUE;
+!                  else
+!                      ++matchcol; /* search for a match at next column */
+                   goto skip;
+               }
+  
+***************
+*** 4103,4111 ****
+               /* We already know that we did the last subst when we are at
+                * the end of the line, except that a pattern like
+                * "bar\|\nfoo" may match at the NUL. */
+!              lastone = ((sub_firstline[matchcol] == NUL && nmatch <= 1
+!                                         && !re_multiline(regmatch.regprog))
+!                           || got_int || got_quit || !(do_all || do_again));
+               nmatch = -1;
+  
+               /*
+--- 4109,4120 ----
+               /* We already know that we did the last subst when we are at
+                * the end of the line, except that a pattern like
+                * "bar\|\nfoo" may match at the NUL. */
+!              lastone = (skip_match
+!                      || got_int
+!                      || got_quit
+!                      || !(do_all || do_again)
+!                      || (sub_firstline[matchcol] == NUL && nmatch <= 1
+!                                       && !re_multiline(regmatch.regprog)));
+               nmatch = -1;
+  
+               /*
+*** ../vim-6.3.011/src/version.c       Fri Jul  2 22:00:36 2004
+--- src/version.c      Tue Jul  6 14:56:13 2004
+***************
+*** 643,644 ****
+--- 643,646 ----
+  {   /* Add new patch number below this line */
++ /**/
++     12,
+  /**/
+
+-- 
+Kisses may last for as much as, but no more than, five minutes.
+               [real standing law in Iowa, United States of America]
+
+ /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
+///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
+ \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
This page took 0.058241 seconds and 4 git commands to generate.