]> git.pld-linux.org Git - packages/vim.git/commitdiff
- vim 7.0 040-042 patches auto/th/vim-7_0_042-1
authorwrobell <wrobell@pld-linux.org>
Tue, 1 Aug 2006 16:44:17 +0000 (16:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    7.0.040 -> 1.1
    7.0.041 -> 1.1
    7.0.042 -> 1.1

7.0.040 [new file with mode: 0644]
7.0.041 [new file with mode: 0644]
7.0.042 [new file with mode: 0644]

diff --git a/7.0.040 b/7.0.040
new file mode 100644 (file)
index 0000000..81c97a7
--- /dev/null
+++ b/7.0.040
@@ -0,0 +1,60 @@
+To: vim-dev@vim.org
+Subject: Patch 7.0.040
+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 7.0.040
+Problem:    When 'cmdheight' is larger than 1 using inputlist() or selecting
+           a spell suggestion with the mouse gets the wrong entry.
+Solution:   Start listing the first alternative on the last line of the screen.
+Files:     src/eval.c, src/spell.c
+
+
+*** ../vim-7.0.039/src/eval.c  Thu Jul 13 08:30:50 2006
+--- src/eval.c Mon Jul 10 23:03:13 2006
+***************
+*** 11497,11502 ****
+--- 11497,11503 ----
+      }
+  
+      msg_start();
++     msg_row = Rows - 1;      /* for when 'cmdheight' > 1 */
+      lines_left = Rows;       /* avoid more prompt */
+      msg_scroll = TRUE;
+      msg_clr_eos();
+*** ../vim-7.0.039/src/spell.c Sat May 13 14:12:51 2006
+--- src/spell.c        Mon Jul 10 23:03:04 2006
+***************
+*** 10071,10076 ****
+--- 10071,10077 ----
+  
+       /* List the suggestions. */
+       msg_start();
++      msg_row = Rows - 1;     /* for when 'cmdheight' > 1 */
+       lines_left = Rows;      /* avoid more prompt */
+       vim_snprintf((char *)IObuff, IOSIZE, _("Change \"%.*s\" to:"),
+                                               sug.su_badlen, sug.su_badptr);
+*** ../vim-7.0.039/src/version.c       Thu Jul 13 08:30:50 2006
+--- src/version.c      Sun Jul 23 21:51:04 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     40,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+40. You tell the cab driver you live at
+    http://123.elm.street/house/bluetrim.html
+41. You actually try that 123.elm.street address.
+
+ /// 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.0.041 b/7.0.041
new file mode 100644 (file)
index 0000000..071f35c
--- /dev/null
+++ b/7.0.041
@@ -0,0 +1,81 @@
+To: vim-dev@vim.org
+Subject: Patch 7.0.041
+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 7.0.041
+Problem:    cursor([1, 1]) doesn't work. (Peter Hodge)
+Solution:   Allow leaving out the third item of the list and use zero for the
+           virtual column offset.
+Files:     src/eval.c
+
+
+*** ../vim-7.0.040/src/eval.c  Sun Jul 23 21:52:16 2006
+--- src/eval.c Mon Jul 10 23:03:13 2006
+***************
+*** 16465,16473 ****
+      long     i = 0;
+      long     n;
+  
+!     /* List must be: [fnum, lnum, col, coladd] */
+!     if (arg->v_type != VAR_LIST || l == NULL
+!                                    || l->lv_len != (fnump == NULL ? 3 : 4))
+       return FAIL;
+  
+      if (fnump != NULL)
+--- 16465,16476 ----
+      long     i = 0;
+      long     n;
+  
+!     /* List must be: [fnum, lnum, col, coladd], where "fnum" is only there
+!      * when "fnump" isn't NULL and "coladd" is optional. */
+!     if (arg->v_type != VAR_LIST
+!          || l == NULL
+!          || l->lv_len < (fnump == NULL ? 2 : 3)
+!          || l->lv_len > (fnump == NULL ? 3 : 4))
+       return FAIL;
+  
+      if (fnump != NULL)
+***************
+*** 16493,16500 ****
+  #ifdef FEAT_VIRTUALEDIT
+      n = list_find_nr(l, i, NULL);
+      if (n < 0)
+!      return FAIL;
+!     posp->coladd = n;
+  #endif
+  
+      return OK;
+--- 16496,16504 ----
+  #ifdef FEAT_VIRTUALEDIT
+      n = list_find_nr(l, i, NULL);
+      if (n < 0)
+!      posp->coladd = 0;
+!     else
+!      posp->coladd = n;
+  #endif
+  
+      return OK;
+*** ../vim-7.0.040/src/version.c       Sun Jul 23 21:52:16 2006
+--- src/version.c      Sun Jul 23 21:59:43 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     41,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+43. You tell the kids they can't use the computer because "Daddy's got work to
+    do" and you don't even have a job.
+
+ /// 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.0.042 b/7.0.042
new file mode 100644 (file)
index 0000000..3af2ad7
--- /dev/null
+++ b/7.0.042
@@ -0,0 +1,54 @@
+To: vim-dev@vim.org
+Subject: Patch 7.0.042
+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 7.0.042
+Problem:    When pasting a block of text in Insert mode Vim hangs or crashes.
+           (Noam Halevy)
+Solution:   Avoid that the cursor is positioned past the NUL of a line.
+Files:     src/ops.c
+
+
+*** ../vim-7.0.041/src/ops.c   Tue Jun 20 20:29:13 2006
+--- src/ops.c  Sun Jul 23 22:36:39 2006
+***************
+*** 3493,3500 ****
+--- 3493,3507 ----
+  # endif
+       if (flags & PUT_CURSEND)
+       {
++          colnr_T len;
++ 
+           curwin->w_cursor = curbuf->b_op_end;
+           curwin->w_cursor.col++;
++ 
++          /* in Insert mode we might be after the NUL, correct for that */
++          len = (colnr_T)STRLEN(ml_get_curline());
++          if (curwin->w_cursor.col > len)
++              curwin->w_cursor.col = len;
+       }
+       else
+           curwin->w_cursor.lnum = lnum;
+*** ../vim-7.0.041/src/version.c       Sun Jul 23 22:07:55 2006
+--- src/version.c      Sun Jul 23 22:35:13 2006
+***************
+*** 668,669 ****
+--- 668,671 ----
+  {   /* Add new patch number below this line */
++ /**/
++     42,
+  /**/
+
+-- 
+hundred-and-one symptoms of being an internet addict:
+45. You buy a Captain Kirk chair with a built-in keyboard and 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    ///
This page took 0.194306 seconds and 4 git commands to generate.