Ignore:
Timestamp:
Nov 2, 2006, 10:20:16 AM (17 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
0a00997
Parents:
2a5f085
Message:

Update Vim Patch

File:
1 moved

Legend:

Unmodified
Added
Removed
  • patches/vim-7.0-fixes-17.patch

    r2a5f085 rc308796  
    11Submitted By: Jim Gifford (jim at linuxfromscratch dot org)
    2 Date: 2006-10-25
     2Date: 2006-11-03
    33Initial Package Version: 7.0
    44Origin: Upstream
    55Upstream Status: Applied
    6 Description: Contains all upstream patches up to 7.0.152
     6Description: Contains all upstream patches up to 7.0.158
    77             The following patches were skipped
    8                 005 027 028 032 045 057 065 074 108 130 131 132 138
     8                005 027 028 032 045 057 065 074 108 130 131 132 138 156
    99
    1010diff -Naur vim70.orig/configure vim70/configure
    1111--- vim70.orig/configure        2004-07-05 02:02:24.000000000 -0700
    12 +++ vim70/configure     2006-10-25 19:55:26.000000000 -0700
     12+++ vim70/configure     2006-11-02 10:13:07.000000000 -0800
    1313@@ -3,4 +3,4 @@
    1414 # This is just a stub for the Unix configure script, to provide support for
     
    1919diff -Naur vim70.orig/runtime/autoload/ccomplete.vim vim70/runtime/autoload/ccomplete.vim
    2020--- vim70.orig/runtime/autoload/ccomplete.vim   2006-05-03 07:35:56.000000000 -0700
    21 +++ vim70/runtime/autoload/ccomplete.vim        2006-10-25 19:55:18.000000000 -0700
     21+++ vim70/runtime/autoload/ccomplete.vim        2006-11-02 10:12:56.000000000 -0800
    2222@@ -1,7 +1,7 @@
    2323 " Vim completion script
     
    4040diff -Naur vim70.orig/runtime/autoload/gzip.vim vim70/runtime/autoload/gzip.vim
    4141--- vim70.orig/runtime/autoload/gzip.vim        2006-03-31 07:12:15.000000000 -0800
    42 +++ vim70/runtime/autoload/gzip.vim     2006-10-25 19:55:42.000000000 -0700
     42+++ vim70/runtime/autoload/gzip.vim     2006-11-02 10:13:23.000000000 -0800
    4343@@ -1,6 +1,6 @@
    4444 " Vim autoload file for editing compressed files.
     
    101101diff -Naur vim70.orig/runtime/autoload/paste.vim vim70/runtime/autoload/paste.vim
    102102--- vim70.orig/runtime/autoload/paste.vim       2006-04-21 11:31:01.000000000 -0700
    103 +++ vim70/runtime/autoload/paste.vim    2006-10-25 19:55:22.000000000 -0700
     103+++ vim70/runtime/autoload/paste.vim    2006-11-02 10:13:03.000000000 -0800
    104104@@ -1,6 +1,6 @@
    105105 " Vim support file to help with paste mappings and menus
     
    121121diff -Naur vim70.orig/runtime/autoload/spellfile.vim vim70/runtime/autoload/spellfile.vim
    122122--- vim70.orig/runtime/autoload/spellfile.vim   2006-02-01 04:12:24.000000000 -0800
    123 +++ vim70/runtime/autoload/spellfile.vim        2006-10-25 19:55:36.000000000 -0700
     123+++ vim70/runtime/autoload/spellfile.vim        2006-11-02 10:13:16.000000000 -0800
    124124@@ -1,9 +1,9 @@
    125125 " Vim script to download a missing spell file
     
    177177diff -Naur vim70.orig/runtime/doc/eval.txt vim70/runtime/doc/eval.txt
    178178--- vim70.orig/runtime/doc/eval.txt     2006-05-07 05:16:44.000000000 -0700
    179 +++ vim70/runtime/doc/eval.txt  2006-10-25 19:55:42.000000000 -0700
     179+++ vim70/runtime/doc/eval.txt  2006-11-02 10:13:37.000000000 -0800
    180180@@ -1,4 +1,4 @@
    181181-*eval.txt*      For Vim version 7.0.  Last change: 2006 May 06
    182 +*eval.txt*      For Vim version 7.0.  Last change: 2006 Sep 22
     182+*eval.txt*      For Vim version 7.0.  Last change: 2006 Nov 01
    183183 
    184184 
    185185                  VIM REFERENCE MANUAL    by Bram Moolenaar
    186 @@ -1709,6 +1709,8 @@
     186@@ -1374,6 +1374,21 @@
     187                'guitabtooltip'.  Only valid while one of these expressions is
     188                being evaluated.  Read-only when in the |sandbox|.
     189 
     190+                                       *v:mouse_win* *mouse_win-variable*
     191+v:mouse_win    Window number for a mouse click obtained with |getchar()|.
     192+               First window has number 1, like with |winnr()|.  The value is
     193+               zero when there was no mouse button click.
     194+
     195+                                       *v:mouse_lnum* *mouse_lnum-variable*
     196+v:mouse_lnum   Line number for a mouse click obtained with |getchar()|.
     197+               This is the text line number, not the screen line number.  The
     198+               value is zero when there was no mouse button click.
     199+
     200+                                       *v:mouse_col* *mouse_col-variable*
     201+v:mouse_col    Column number for a mouse click obtained with |getchar()|.
     202+               This is the screen column number, like with |virtcol()|.  The
     203+               value is zero when there was no mouse button click.
     204+
     205                                        *v:prevcount* *prevcount-variable*
     206 v:prevcount    The count given for the last but one Normal mode command.
     207                This is the v:count value of the previous command.  Useful if
     208@@ -1709,6 +1724,8 @@
    187209 settabwinvar( {tabnr}, {winnr}, {varname}, {val})    set {varname} in window
    188210                                        {winnr} in tab page {tabnr} to {val}
     
    193215 sort( {list} [, {func}])       List    sort {list}, using {func} to compare
    194216 soundfold( {word})             String  sound-fold {word}
    195 @@ -4434,6 +4436,21 @@
     217@@ -2700,6 +2717,17 @@
     218                one-byte character it is the character itself as a number.
     219                Use nr2char() to convert it to a String.
     220 
     221+               When the user clicks a mouse button, the mouse event will be
     222+               returned.  The position can then be found in |v:mouse_col|,
     223+               |v:mouse_lnum| and |v:mouse_win|.  This example positions the
     224+               mouse as it would normally happen: >
     225+                       let c = getchar()
     226+                       if c == "\<LeftMouse>" && v:mouse_win > 0
     227+                         exe v:mouse_win . "wincmd w"
     228+                         exe v:mouse_lnum
     229+                         exe "normal " . v:mouse_col . "|"
     230+                       endif
     231+<
     232                There is no prompt, you will somehow have to make clear to the
     233                user that a character has to be typed.
     234                There is no mapping for the character.
     235@@ -4434,6 +4462,21 @@
    196236                        :call setwinvar(1, "&list", 0)
    197237                        :call setwinvar(2, "myvar", "foobar")
     
    217257diff -Naur vim70.orig/runtime/menu.vim vim70/runtime/menu.vim
    218258--- vim70.orig/runtime/menu.vim 2006-04-17 06:47:28.000000000 -0700
    219 +++ vim70/runtime/menu.vim      2006-10-25 19:55:41.000000000 -0700
     259+++ vim70/runtime/menu.vim      2006-11-02 10:13:22.000000000 -0800
    220260@@ -2,7 +2,7 @@
    221261 " You can also use this as a start for your own set of menus.
     
    284324diff -Naur vim70.orig/runtime/plugin/matchparen.vim vim70/runtime/plugin/matchparen.vim
    285325--- vim70.orig/runtime/plugin/matchparen.vim    2006-04-27 06:31:26.000000000 -0700
    286 +++ vim70/runtime/plugin/matchparen.vim 2006-10-25 19:55:39.000000000 -0700
     326+++ vim70/runtime/plugin/matchparen.vim 2006-11-02 10:13:20.000000000 -0800
    287327@@ -1,6 +1,6 @@
    288328 " Vim plugin for showing matching parens
     
    327367diff -Naur vim70.orig/runtime/scripts.vim vim70/runtime/scripts.vim
    328368--- vim70.orig/runtime/scripts.vim      2006-03-28 11:30:49.000000000 -0800
    329 +++ vim70/runtime/scripts.vim   2006-10-25 19:55:27.000000000 -0700
     369+++ vim70/runtime/scripts.vim   2006-11-02 10:13:07.000000000 -0800
    330370@@ -1,7 +1,7 @@
    331371 " Vim support file to detect file types in scripts
     
    352392diff -Naur vim70.orig/runtime/tutor/Makefile vim70/runtime/tutor/Makefile
    353393--- vim70.orig/runtime/tutor/Makefile   2004-06-07 07:32:39.000000000 -0700
    354 +++ vim70/runtime/tutor/Makefile        2006-10-25 19:55:40.000000000 -0700
     394+++ vim70/runtime/tutor/Makefile        2006-11-02 10:13:20.000000000 -0800
    355395@@ -2,8 +2,13 @@
    356396 #
     
    386426diff -Naur vim70.orig/runtime/tutor/tutor.gr.utf-8 vim70/runtime/tutor/tutor.gr.utf-8
    387427--- vim70.orig/runtime/tutor/tutor.gr.utf-8     1969-12-31 16:00:00.000000000 -0800
    388 +++ vim70/runtime/tutor/tutor.gr.utf-8  2006-10-25 19:55:40.000000000 -0700
     428+++ vim70/runtime/tutor/tutor.gr.utf-8  2006-11-02 10:13:20.000000000 -0800
    389429@@ -0,0 +1,815 @@
    390430+===============================================================================
     
    14191459diff -Naur vim70.orig/runtime/tutor/tutor.ru.utf-8 vim70/runtime/tutor/tutor.ru.utf-8
    14201460--- vim70.orig/runtime/tutor/tutor.ru.utf-8     1969-12-31 16:00:00.000000000 -0800
    1421 +++ vim70/runtime/tutor/tutor.ru.utf-8  2006-10-25 19:55:36.000000000 -0700
     1461+++ vim70/runtime/tutor/tutor.ru.utf-8  2006-11-02 10:13:17.000000000 -0800
    14221462@@ -0,0 +1,834 @@
    14231463+===============================================================================
     
    23402380diff -Naur vim70.orig/runtime/tutor/tutor.vim vim70/runtime/tutor/tutor.vim
    23412381--- vim70.orig/runtime/tutor/tutor.vim  2006-03-18 12:20:36.000000000 -0800
    2342 +++ vim70/runtime/tutor/tutor.vim       2006-10-25 19:55:40.000000000 -0700
     2382+++ vim70/runtime/tutor/tutor.vim       2006-11-02 10:13:20.000000000 -0800
    23432383@@ -1,6 +1,6 @@
    23442384 " Vim tutor support file
     
    23922432diff -Naur vim70.orig/src/auto/configure vim70/src/auto/configure
    23932433--- vim70.orig/src/auto/configure       2006-05-04 03:46:19.000000000 -0700
    2394 +++ vim70/src/auto/configure    2006-10-25 19:55:46.000000000 -0700
     2434+++ vim70/src/auto/configure    2006-11-02 10:13:27.000000000 -0800
    23952435@@ -4014,7 +4014,7 @@
    23962436       LDFLAGS=$ldflags_save
     
    24332473diff -Naur vim70.orig/src/buffer.c vim70/src/buffer.c
    24342474--- vim70.orig/src/buffer.c     2006-04-26 14:37:23.000000000 -0700
    2435 +++ vim70/src/buffer.c  2006-10-25 19:55:48.000000000 -0700
     2475+++ vim70/src/buffer.c  2006-11-02 10:13:29.000000000 -0800
    24362476@@ -434,12 +434,8 @@
    24372477     if (usingNetbeans)
     
    25752615diff -Naur vim70.orig/src/configure vim70/src/configure
    25762616--- vim70.orig/src/configure    2006-05-07 07:17:49.000000000 -0700
    2577 +++ vim70/src/configure 2006-10-25 19:55:26.000000000 -0700
     2617+++ vim70/src/configure 2006-11-02 10:13:07.000000000 -0800
    25782618@@ -2,5 +2,9 @@
    25792619 # run the automatically generated configure script
     
    25882628diff -Naur vim70.orig/src/configure.in vim70/src/configure.in
    25892629--- vim70.orig/src/configure.in 2006-05-04 03:46:11.000000000 -0700
    2590 +++ vim70/src/configure.in      2006-10-25 19:55:46.000000000 -0700
     2630+++ vim70/src/configure.in      2006-11-02 10:13:27.000000000 -0800
    25912631@@ -508,7 +508,8 @@
    25922632       LDFLAGS=$ldflags_save
     
    26312671diff -Naur vim70.orig/src/edit.c vim70/src/edit.c
    26322672--- vim70.orig/src/edit.c       2006-05-07 04:48:51.000000000 -0700
    2633 +++ vim70/src/edit.c    2006-10-25 19:55:46.000000000 -0700
     2673+++ vim70/src/edit.c    2006-11-02 10:13:49.000000000 -0800
    26342674@@ -129,7 +129,7 @@
    26352675 
     
    32393279     }
    32403280 #endif
     3281@@ -9074,6 +9204,10 @@
     3282 #ifdef FEAT_CINDENT
     3283     can_cindent = TRUE;
     3284 #endif
     3285+#ifdef FEAT_FOLDING
     3286+    /* When inserting a line the cursor line must never be in a closed fold. */
     3287+    foldOpenCursor();
     3288+#endif
     3289 
     3290     return (!i);
     3291 }
    32413292diff -Naur vim70.orig/src/eval.c vim70/src/eval.c
    32423293--- vim70.orig/src/eval.c       2006-05-05 10:15:26.000000000 -0700
    3243 +++ vim70/src/eval.c    2006-10-25 19:55:55.000000000 -0700
    3244 @@ -191,8 +191,6 @@
     3294+++ vim70/src/eval.c    2006-11-02 10:13:45.000000000 -0800
     3295@@ -166,7 +166,6 @@
     3296     int                uf_tm_count;    /* nr of calls */
     3297     proftime_T uf_tm_total;    /* time spend in function + children */
     3298     proftime_T uf_tm_self;     /* time spend in function itself */
     3299-    proftime_T uf_tm_start;    /* time at function call */
     3300     proftime_T uf_tm_children; /* time spent in children this call */
     3301     /* profiling the function per line */
     3302     int                *uf_tml_count;  /* nr of times line was executed */
     3303@@ -191,8 +190,6 @@
    32453304 #define FC_RANGE    2          /* function accepts range */
    32463305 #define FC_DICT            4           /* Dict function, uses "self" */
     
    32513310  * All user-defined functions are found in this hashtable.
    32523311  */
    3253 @@ -435,7 +433,7 @@
     3312@@ -345,6 +342,9 @@
     3313     {VV_NAME("swapchoice",      VAR_STRING), 0},
     3314     {VV_NAME("swapcommand",     VAR_STRING), VV_RO},
     3315     {VV_NAME("char",            VAR_STRING), VV_RO},
     3316+    {VV_NAME("mouse_win",       VAR_NUMBER), 0},
     3317+    {VV_NAME("mouse_lnum",      VAR_NUMBER), 0},
     3318+    {VV_NAME("mouse_col",       VAR_NUMBER), 0},
     3319 };
     3320 
     3321 /* shorthand */
     3322@@ -435,7 +435,7 @@
    32543323 static void set_ref_in_list __ARGS((list_T *l, int copyID));
    32553324 static void set_ref_in_item __ARGS((typval_T *tv, int copyID));
     
    32603329 static dictitem_T *dictitem_copy __ARGS((dictitem_T *org));
    32613330 static void dictitem_remove __ARGS((dict_T *dict, dictitem_T *item));
    3262 @@ -454,7 +452,7 @@
     3331@@ -454,7 +454,7 @@
    32633332 static char_u *deref_func_name __ARGS((char_u *name, int *lenp));
    32643333 static int get_func_tv __ARGS((char_u *name, int len, typval_T *rettv, char_u **arg, linenr_T firstline, linenr_T lastline, int *doesrange, int evaluate, dict_T *selfdict));
     
    32693338 static void f_add __ARGS((typval_T *argvars, typval_T *rettv));
    32703339 static void f_append __ARGS((typval_T *argvars, typval_T *rettv));
    3271 @@ -622,6 +620,7 @@
     3340@@ -622,6 +622,7 @@
    32723341 static void f_setreg __ARGS((typval_T *argvars, typval_T *rettv));
    32733342 static void f_settabwinvar __ARGS((typval_T *argvars, typval_T *rettv));
     
    32773346 static void f_sort __ARGS((typval_T *argvars, typval_T *rettv));
    32783347 static void f_soundfold __ARGS((typval_T *argvars, typval_T *rettv));
    3279 @@ -701,6 +700,7 @@
     3348@@ -701,6 +702,7 @@
    32803349 static void list_one_var_a __ARGS((char_u *prefix, char_u *name, int type, char_u *string));
    32813350 static void set_var __ARGS((char_u *name, typval_T *varp, int copy));
     
    32853354 static void copy_tv __ARGS((typval_T *from, typval_T *to));
    32863355 static int item_copy __ARGS((typval_T *from, typval_T *to, int deep, int copyID));
    3287 @@ -2260,7 +2260,7 @@
     3356@@ -2260,7 +2262,7 @@
    32883357            EMSG(_(e_letunexp));
    32893358        else
     
    32943363 
    32953364            p = get_tv_string_chk(tv);
    3296 @@ -2269,7 +2269,7 @@
     3365@@ -2269,7 +2271,7 @@
    32973366                s = get_reg_contents(*arg == '@' ? '"' : *arg, TRUE, TRUE);
    32983367                if (s != NULL)
     
    33033372                }
    33043373            }
    3305 @@ -2278,7 +2278,7 @@
     3374@@ -2278,7 +2280,7 @@
    33063375                write_reg_contents(*arg == '@' ? '"' : *arg, p, -1, FALSE);
    33073376                arg_end = arg + 1;
     
    33123381     }
    33133382 
    3314 @@ -3125,7 +3125,12 @@
     3383@@ -3125,7 +3127,12 @@
    33153384     funcdict_T fudi;
    33163385 
     
    33263395        return;
    33273396 
    3328 @@ -3364,6 +3369,8 @@
     3397@@ -3364,6 +3371,8 @@
    33293398        hi = hash_find(ht, varname);
    33303399        if (!HASHITEM_EMPTY(hi))
     
    33353404                return FAIL;
    33363405            delete_var(ht, hi);
    3337 @@ -4895,7 +4902,7 @@
     3406@@ -4895,7 +4904,7 @@
    33383407                    {
    33393408                        if (list_append_tv(l, &item->li_tv) == FAIL)
     
    33443413                        }
    33453414                        item = item->li_next;
    3346 @@ -5295,7 +5302,7 @@
     3415@@ -5295,7 +5304,7 @@
    33473416        EMSG2(_("E697: Missing end of List ']': %s"), *arg);
    33483417 failret:
     
    33533422     }
    33543423 
    3355 @@ -5359,8 +5366,8 @@
     3424@@ -5359,8 +5368,8 @@
    33563425 list_unref(l)
    33573426     list_T *l;
     
    33643433 
    33653434 /*
    3366 @@ -5368,14 +5375,12 @@
     3435@@ -5368,14 +5377,12 @@
    33673436  * Ignores the reference count.
    33683437  */
     
    33823451     if (l->lv_used_prev == NULL)
    33833452        first_list = l->lv_used_next;
    3384 @@ -5388,7 +5393,10 @@
     3453@@ -5388,7 +5395,10 @@
    33853454     {
    33863455        /* Remove the item before deleting it. */
     
    33943463     vim_free(l);
    33953464 }
    3396 @@ -5448,6 +5456,8 @@
     3465@@ -5448,6 +5458,8 @@
    33973466 {
    33983467     listitem_T *item1, *item2;
     
    34033472        return FALSE;
    34043473 
    3405 @@ -5484,6 +5494,8 @@
     3474@@ -5484,6 +5496,8 @@
    34063475     dictitem_T *item2;
    34073476     int                todo;
     
    34123481        return FALSE;
    34133482 
    3414 @@ -5516,19 +5528,29 @@
     3483@@ -5516,19 +5530,29 @@
    34153484 {
    34163485     char_u     buf1[NUMBUFLEN], buf2[NUMBUFLEN];
     
    34463515        case VAR_FUNC:
    34473516            return (tv1->vval.v_string != NULL
    3448 @@ -6059,6 +6081,10 @@
     3517@@ -6059,6 +6083,10 @@
    34493518     tabpage_T  *tp;
    34503519 #endif
     
    34573526      * 1. Go through all accessible variables and mark all lists and dicts
    34583527      *    with copyID.
    3459 @@ -6097,7 +6123,10 @@
     3528@@ -6097,7 +6125,10 @@
    34603529     for (dd = first_dict; dd != NULL; )
    34613530        if (dd->dv_copyID != copyID)
     
    34693538 
    34703539            /* restart, next dict may also have been freed */
    3471 @@ -6114,7 +6143,10 @@
     3540@@ -6114,7 +6145,10 @@
    34723541     for (ll = first_list; ll != NULL; )
    34733542        if (ll->lv_copyID != copyID && ll->lv_watch == NULL)
     
    34813550 
    34823551            /* restart, next list may also have been freed */
    3483 @@ -6207,11 +6239,12 @@
     3552@@ -6207,11 +6241,12 @@
    34843553     d = (dict_T *)alloc(sizeof(dict_T));
    34853554     if (d != NULL)
     
    34953564        hash_init(&d->dv_hashtab);
    34963565        d->dv_lock = 0;
    3497 @@ -6229,8 +6262,8 @@
     3566@@ -6229,8 +6264,8 @@
    34983567 dict_unref(d)
    34993568     dict_T *d;
     
    35063575 
    35073576 /*
    3508 @@ -6238,16 +6271,14 @@
     3577@@ -6238,16 +6273,14 @@
    35093578  * Ignores the reference count.
    35103579  */
     
    35263595     if (d->dv_used_prev == NULL)
    35273596        first_dict = d->dv_used_next;
    3528 @@ -6267,7 +6298,10 @@
     3597@@ -6267,7 +6300,10 @@
    35293598             * something recursive causing trouble. */
    35303599            di = HI2DI(hi);
     
    35383607        }
    35393608     }
    3540 @@ -6718,7 +6752,7 @@
     3609@@ -6718,7 +6754,7 @@
    35413610        EMSG2(_("E723: Missing end of Dictionary '}': %s"), *arg);
    35423611 failret:
     
    35473616     }
    35483617 
    3549 @@ -7139,6 +7173,7 @@
     3618@@ -7139,6 +7175,7 @@
    35503619     {"setreg",         2, 3, f_setreg},
    35513620     {"settabwinvar",   4, 4, f_settabwinvar},
     
    35553624     {"sort",           1, 2, f_sort},
    35563625     {"soundfold",      1, 1, f_soundfold},
    3557 @@ -7595,8 +7630,8 @@
     3626@@ -7595,8 +7632,8 @@
    35583627  * Give an error message with a function name.  Handle <SNR> things.
    35593628  */
     
    35663635 {
    35673636     char_u     *p;
    3568 @@ -7605,7 +7640,7 @@
     3637@@ -7605,7 +7642,7 @@
    35693638        p = concat_str((char_u *)"<SNR>", name + 3);
    35703639     else
     
    35753644        vim_free(p);
    35763645 }
    3577 @@ -8252,6 +8287,12 @@
     3646@@ -8252,6 +8289,12 @@
    35783647        EMSG(_("E785: complete() can only be used in Insert mode"));
    35793648        return;
     
    35883657     {
    35893658        EMSG(_(e_invarg));
    3590 @@ -9173,25 +9214,25 @@
     3659@@ -9173,25 +9216,25 @@
    35913660     typval_T   save_key;
    35923661     int                rem;
     
    36183687     }
    36193688 
    3620 @@ -9223,7 +9264,7 @@
     3689@@ -9223,7 +9266,7 @@
    36213690                {
    36223691                    --todo;
     
    36273696                    vimvars[VV_KEY].vv_str = vim_strsave(di->di_key);
    36283697                    if (filter_map_one(&di->di_tv, expr, map, &rem) == FAIL
    3629 @@ -9242,7 +9283,7 @@
     3698@@ -9242,7 +9285,7 @@
    36303699        {
    36313700            for (li = l->lv_first; li != NULL; li = nli)
     
    36363705                nli = li->li_next;
    36373706                if (filter_map_one(&li->li_tv, expr, map, &rem) == FAIL
    3638 @@ -9598,7 +9639,9 @@
     3707@@ -9598,7 +9641,9 @@
    36393708     typval_T   *argvars;
    36403709     typval_T   *rettv;
     
    36473716 
    36483717 /*
    3649 @@ -9792,6 +9835,9 @@
     3718@@ -9792,6 +9837,9 @@
    36503719     varnumber_T                n;
    36513720     int                        error = FALSE;
     
    36573726     ++allow_keys;
    36583727     if (argvars[0].v_type == VAR_UNKNOWN)
    3659 @@ -10412,20 +10458,14 @@
     3728@@ -9809,6 +9857,10 @@
     3729     --no_mapping;
     3730     --allow_keys;
     3731 
     3732+    vimvars[VV_MOUSE_WIN].vv_nr = 0;
     3733+    vimvars[VV_MOUSE_LNUM].vv_nr = 0;
     3734+    vimvars[VV_MOUSE_COL].vv_nr = 0;
     3735+
     3736     rettv->vval.v_number = n;
     3737     if (IS_SPECIAL(n) || mod_mask != 0)
     3738     {
     3739@@ -9837,6 +9889,53 @@
     3740        temp[i++] = NUL;
     3741        rettv->v_type = VAR_STRING;
     3742        rettv->vval.v_string = vim_strsave(temp);
     3743+
     3744+#ifdef FEAT_MOUSE
     3745+       if (n == K_LEFTMOUSE
     3746+               || n == K_LEFTMOUSE_NM
     3747+               || n == K_LEFTDRAG
     3748+               || n == K_LEFTRELEASE
     3749+               || n == K_LEFTRELEASE_NM
     3750+               || n == K_MIDDLEMOUSE
     3751+               || n == K_MIDDLEDRAG
     3752+               || n == K_MIDDLERELEASE
     3753+               || n == K_RIGHTMOUSE
     3754+               || n == K_RIGHTDRAG
     3755+               || n == K_RIGHTRELEASE
     3756+               || n == K_X1MOUSE
     3757+               || n == K_X1DRAG
     3758+               || n == K_X1RELEASE
     3759+               || n == K_X2MOUSE
     3760+               || n == K_X2DRAG
     3761+               || n == K_X2RELEASE
     3762+               || n == K_MOUSEDOWN
     3763+               || n == K_MOUSEUP)
     3764+       {
     3765+           int         row = mouse_row;
     3766+           int         col = mouse_col;
     3767+           win_T       *win;
     3768+           linenr_T    lnum;
     3769+# ifdef FEAT_WINDOWS
     3770+           win_T       *wp;
     3771+# endif
     3772+           int         n = 1;
     3773+
     3774+           if (row >= 0 && col >= 0)
     3775+           {
     3776+               /* Find the window at the mouse coordinates and compute the
     3777+                * text position. */
     3778+               win = mouse_find_win(&row, &col);
     3779+               (void)mouse_comp_pos(win, &row, &col, &lnum);
     3780+# ifdef FEAT_WINDOWS
     3781+               for (wp = firstwin; wp != win; wp = wp->w_next)
     3782+                   ++n;
     3783+# endif
     3784+               vimvars[VV_MOUSE_WIN].vv_nr = n;
     3785+               vimvars[VV_MOUSE_LNUM].vv_nr = lnum;
     3786+               vimvars[VV_MOUSE_COL].vv_nr = col + 1;
     3787+           }
     3788+       }
     3789+#endif
     3790     }
     3791 }
     3792 
     3793@@ -10412,20 +10511,14 @@
    36603794 
    36613795     if (win != NULL && varname != NULL)
     
    36843818        {
    36853819            if (*varname == NUL)
    3686 @@ -10438,6 +10478,10 @@
     3820@@ -10438,6 +10531,10 @@
    36873821            if (v != NULL)
    36883822                copy_tv(&v->di_tv, rettv);
     
    36953829 
    36963830     --emsg_off;
    3697 @@ -11312,14 +11356,19 @@
     3831@@ -11312,14 +11409,19 @@
    36983832 
    36993833 static int inputsecret_flag = 0;
     
    37183852     char_u     *prompt = get_tv_string_chk(&argvars[0]);
    37193853     char_u     *p = NULL;
    3720 @@ -11369,10 +11418,10 @@
     3854@@ -11369,10 +11471,10 @@
    37213855            if (defstr != NULL)
    37223856                stuffReadbuffSpec(defstr);
     
    37313865 
    37323866                rettv->vval.v_string = NULL;
    3733 @@ -11404,6 +11453,18 @@
     3867@@ -11404,6 +11506,18 @@
    37343868 }
    37353869 
     
    37503884  */
    37513885     static void
    3752 @@ -11443,7 +11504,7 @@
     3886@@ -11443,7 +11557,7 @@
    37533887     }
    37543888     else
     
    37593893 
    37603894 /*
    3761 @@ -11471,6 +11532,7 @@
     3895@@ -11471,6 +11585,7 @@
    37623896     }
    37633897 
     
    37673901     msg_scroll = TRUE;
    37683902     msg_clr_eos();
    3769 @@ -13250,7 +13312,7 @@
     3903@@ -13250,7 +13365,7 @@
    37703904        if (argvars[2].v_type != VAR_UNKNOWN)
    37713905            EMSG2(_(e_toomanyarg), "remove()");
     
    37763910            key = get_tv_string_chk(&argvars[1]);
    37773911            if (key != NULL)
    3778 @@ -13270,7 +13332,7 @@
     3912@@ -13270,7 +13385,7 @@
    37793913     else if (argvars[0].v_type != VAR_LIST)
    37803914        EMSG2(_(e_listdictarg), "remove()");
     
    37853919        int         error = FALSE;
    37863920 
    3787 @@ -14157,11 +14219,7 @@
     3921@@ -14157,11 +14272,7 @@
    37883922     typval_T   *rettv;
    37893923 {
     
    37973931     typval_T   *varp;
    37983932     char_u     nbuf[NUMBUFLEN];
    3799 @@ -14178,12 +14236,7 @@
     3933@@ -14178,12 +14289,7 @@
    38003934     if (buf != NULL && varname != NULL && varp != NULL)
    38013935     {
     
    38103944        if (*varname == '&')
    38113945        {
    3812 @@ -14210,11 +14263,7 @@
     3946@@ -14210,11 +14316,7 @@
    38133947        }
    38143948 
     
    38223956 }
    38233957 
    3824 @@ -14582,6 +14631,18 @@
     3958@@ -14582,6 +14684,18 @@
    38253959 }
    38263960 
     
    38413975  */
    38423976     static void
    3843 @@ -16173,7 +16234,7 @@
     3977@@ -16173,7 +16287,7 @@
    38443978        curwin->w_curswant = get_dict_number(dict, (char_u *)"curswant");
    38453979        curwin->w_set_curswant = FALSE;
     
    38503984        curwin->w_topfill = get_dict_number(dict, (char_u *)"topfill");
    38513985 #endif
    3852 @@ -16218,6 +16279,7 @@
     3986@@ -16218,6 +16332,7 @@
    38533987 #ifdef FEAT_VIRTUALEDIT
    38543988     dict_add_nr_str(dict, "coladd", (long)curwin->w_cursor.coladd, NULL);
     
    38583992 
    38593993     dict_add_nr_str(dict, "topline", (long)curwin->w_topline, NULL);
    3860 @@ -16438,9 +16500,12 @@
     3994@@ -16438,9 +16553,12 @@
    38613995     long       i = 0;
    38623996     long       n;
     
    38744008 
    38754009     if (fnump != NULL)
    3876 @@ -16466,8 +16531,9 @@
     4010@@ -16466,8 +16584,9 @@
    38774011 #ifdef FEAT_VIRTUALEDIT
    38784012     n = list_find_nr(l, i, NULL);
     
    38864020 
    38874021     return OK;
    3888 @@ -17759,6 +17825,13 @@
     4022@@ -17759,6 +17878,13 @@
    38894023     }
    38904024     else                   /* add a new variable */
     
    39004034        for (p = varname; *p != NUL; ++p)
    39014035            if (!eval_isnamec1(*p) && (p == varname || !VIM_ISDIGIT(*p))
    3902 @@ -17792,7 +17865,7 @@
     4036@@ -17792,7 +17918,7 @@
    39034037 }
    39044038 
     
    39094043  */
    39104044     static int
    3911 @@ -17814,6 +17887,23 @@
     4045@@ -17814,6 +17940,23 @@
    39124046 }
    39134047 
     
    39334067  * Also give an error message, using "name".
    39344068  */
    3935 @@ -18786,6 +18876,7 @@
     4069@@ -18786,6 +18929,7 @@
    39364070                if (dict_add(fudi.fd_dict, fudi.fd_di) == FAIL)
    39374071                {
     
    39414075                }
    39424076            }
    3943 @@ -18963,7 +19054,8 @@
     4077@@ -18963,7 +19107,8 @@
    39444078     else if (lead > 0)
    39454079     {
     
    39514085            /* It's "s:" or "<SID>" */
    39524086            if (current_SID <= 0)
    3953 @@ -19685,6 +19777,7 @@
     4087@@ -19618,6 +19763,7 @@
     4088     char_u     *name;
     4089 #ifdef FEAT_PROFILE
     4090     proftime_T wait_start;
     4091+    proftime_T call_start;
     4092 #endif
     4093 
     4094     /* If depth of calling is getting too high, don't execute the function */
     4095@@ -19685,6 +19831,7 @@
    39544096     v->di_tv.vval.v_list = &fc.l_varlist;
    39554097     vim_memset(&fc.l_varlist, 0, sizeof(list_T));
     
    39594101     /*
    39604102      * Set a:firstline to "firstline" and a:lastline to "lastline".
    3961 @@ -19761,7 +19854,7 @@
     4103@@ -19761,7 +19908,7 @@
    39624104            if (p_verbose >= 14)
    39634105            {
     
    39684110 
    39694111                msg_puts((char_u *)"(");
    3970 @@ -19773,8 +19866,8 @@
     4112@@ -19773,8 +19920,8 @@
    39714113                        msg_outnum((long)argvars[i].vval.v_number);
    39724114                    else
     
    39794121                        vim_free(tofree);
    39804122                    }
    3981 @@ -19852,13 +19945,13 @@
     4123@@ -19796,7 +19943,7 @@
     4124                       || (fc.caller != NULL && &fc.caller->func->uf_profiling))
     4125        {
     4126            ++fp->uf_tm_count;
     4127-           profile_start(&fp->uf_tm_start);
     4128+           profile_start(&call_start);
     4129            profile_zero(&fp->uf_tm_children);
     4130        }
     4131        script_prof_save(&wait_start);
     4132@@ -19826,14 +19973,14 @@
     4133     if (do_profiling == PROF_YES && (fp->uf_profiling
     4134                    || (fc.caller != NULL && &fc.caller->func->uf_profiling)))
     4135     {
     4136-       profile_end(&fp->uf_tm_start);
     4137-       profile_sub_wait(&wait_start, &fp->uf_tm_start);
     4138-       profile_add(&fp->uf_tm_total, &fp->uf_tm_start);
     4139-       profile_self(&fp->uf_tm_self, &fp->uf_tm_start, &fp->uf_tm_children);
     4140+       profile_end(&call_start);
     4141+       profile_sub_wait(&wait_start, &call_start);
     4142+       profile_add(&fp->uf_tm_total, &call_start);
     4143+       profile_self(&fp->uf_tm_self, &call_start, &fp->uf_tm_children);
     4144        if (fc.caller != NULL && &fc.caller->func->uf_profiling)
     4145        {
     4146-           profile_add(&fc.caller->func->uf_tm_children, &fp->uf_tm_start);
     4147-           profile_add(&fc.caller->func->uf_tml_children, &fp->uf_tm_start);
     4148+           profile_add(&fc.caller->func->uf_tm_children, &call_start);
     4149+           profile_add(&fc.caller->func->uf_tml_children, &call_start);
     4150        }
     4151     }
     4152 #endif
     4153@@ -19852,13 +19999,13 @@
    39824154        else
    39834155        {
     
    39974169diff -Naur vim70.orig/src/ex_cmds2.c vim70/src/ex_cmds2.c
    39984170--- vim70.orig/src/ex_cmds2.c   2006-04-17 03:19:07.000000000 -0700
    3999 +++ vim70/src/ex_cmds2.c        2006-10-25 19:55:34.000000000 -0700
     4171+++ vim70/src/ex_cmds2.c        2006-11-02 10:13:13.000000000 -0800
    40004172@@ -3648,13 +3648,13 @@
    40014173  * Return FALSE when not sourcing a file.
     
    40184190diff -Naur vim70.orig/src/ex_cmds.c vim70/src/ex_cmds.c
    40194191--- vim70.orig/src/ex_cmds.c    2006-04-22 11:56:56.000000000 -0700
    4020 +++ vim70/src/ex_cmds.c 2006-10-25 19:55:39.000000000 -0700
     4192+++ vim70/src/ex_cmds.c 2006-11-02 10:13:19.000000000 -0800
    40214193@@ -95,7 +95,10 @@
    40224194                _("<%s>%s%s  %d,  Hex %02x,  Octal %03o"),
     
    41294301diff -Naur vim70.orig/src/ex_cmds.h vim70/src/ex_cmds.h
    41304302--- vim70.orig/src/ex_cmds.h    2006-04-07 02:44:46.000000000 -0700
    4131 +++ vim70/src/ex_cmds.h 2006-10-25 19:55:22.000000000 -0700
     4303+++ vim70/src/ex_cmds.h 2006-11-02 10:13:02.000000000 -0800
    41324304@@ -262,7 +262,7 @@
    41334305 EX(CMD_comclear,       "comclear",     ex_comclear,
     
    41414313diff -Naur vim70.orig/src/ex_docmd.c vim70/src/ex_docmd.c
    41424314--- vim70.orig/src/ex_docmd.c   2006-05-05 09:33:19.000000000 -0700
    4143 +++ vim70/src/ex_docmd.c        2006-10-25 19:55:51.000000000 -0700
     4315+++ vim70/src/ex_docmd.c        2006-11-02 10:13:29.000000000 -0800
    41444316@@ -58,9 +58,9 @@
    41454317 #endif
     
    45614733diff -Naur vim70.orig/src/ex_getln.c vim70/src/ex_getln.c
    45624734--- vim70.orig/src/ex_getln.c   2006-04-30 08:32:01.000000000 -0700
    4563 +++ vim70/src/ex_getln.c        2006-10-25 19:55:47.000000000 -0700
     4735+++ vim70/src/ex_getln.c        2006-11-02 10:13:28.000000000 -0800
    45644736@@ -86,7 +86,7 @@
    45654737 static void    draw_cmdline __ARGS((int start, int len));
     
    46844856diff -Naur vim70.orig/src/fileio.c vim70/src/fileio.c
    46854857--- vim70.orig/src/fileio.c     2006-04-30 08:28:57.000000000 -0700
    4686 +++ vim70/src/fileio.c  2006-10-25 19:55:41.000000000 -0700
     4858+++ vim70/src/fileio.c  2006-11-02 10:13:22.000000000 -0800
    46874859@@ -316,6 +316,9 @@
    46884860      * display the line. */
     
    48044976 /*
    48054977  * Try matching a filename with a "pattern" ("prog" is NULL), or use the
     4978diff -Naur vim70.orig/src/fold.c vim70/src/fold.c
     4979--- vim70.orig/src/fold.c       2006-04-22 12:35:56.000000000 -0700
     4980+++ vim70/src/fold.c    2006-11-02 10:13:33.000000000 -0800
     4981@@ -2971,7 +2971,11 @@
     4982     else
     4983        flp->lvl = get_indent_buf(buf, lnum) / buf->b_p_sw;
     4984     if (flp->lvl > flp->wp->w_p_fdn)
     4985+    {
     4986        flp->lvl = flp->wp->w_p_fdn;
     4987+       if (flp->lvl < 0)
     4988+           flp->lvl = 0;
     4989+    }
     4990 }
     4991 
     4992 /* foldlevelDiff() {{{2 */
    48064993diff -Naur vim70.orig/src/getchar.c vim70/src/getchar.c
    48074994--- vim70.orig/src/getchar.c    2006-05-03 10:29:21.000000000 -0700
    4808 +++ vim70/src/getchar.c 2006-10-25 19:55:43.000000000 -0700
     4995+++ vim70/src/getchar.c 2006-11-02 10:13:23.000000000 -0800
    48094996@@ -1451,7 +1451,8 @@
    48104997 {
     
    48925079diff -Naur vim70.orig/src/globals.h vim70/src/globals.h
    48935080--- vim70.orig/src/globals.h    2006-04-30 06:16:23.000000000 -0700
    4894 +++ vim70/src/globals.h 2006-10-25 19:55:45.000000000 -0700
     5081+++ vim70/src/globals.h 2006-11-02 10:13:25.000000000 -0800
    48955082@@ -166,6 +166,7 @@
    48965083 EXTERN int     emsg_off INIT(= 0);         /* don't display errors for now,
     
    49325119diff -Naur vim70.orig/src/gui_at_fs.c vim70/src/gui_at_fs.c
    49335120--- vim70.orig/src/gui_at_fs.c  2005-07-09 04:30:17.000000000 -0700
    4934 +++ vim70/src/gui_at_fs.c       2006-10-25 19:55:20.000000000 -0700
     5121+++ vim70/src/gui_at_fs.c       2006-11-02 10:13:00.000000000 -0800
    49355122@@ -1861,27 +1861,27 @@
    49365123     XtPointer  pnew;
     
    50485235diff -Naur vim70.orig/src/gui_beval.c vim70/src/gui_beval.c
    50495236--- vim70.orig/src/gui_beval.c  2006-05-04 12:29:51.000000000 -0700
    5050 +++ vim70/src/gui_beval.c       2006-10-25 19:55:34.000000000 -0700
     5237+++ vim70/src/gui_beval.c       2006-11-02 10:13:14.000000000 -0800
    50515238@@ -926,7 +926,7 @@
    50525239 #  define IS_NONPRINTABLE(c) (((c) < 0x20 && (c) != TAB && (c) != NL) \
     
    50875274diff -Naur vim70.orig/src/gui.c vim70/src/gui.c
    50885275--- vim70.orig/src/gui.c        2006-05-03 04:00:59.000000000 -0700
    5089 +++ vim70/src/gui.c     2006-10-25 19:55:45.000000000 -0700
     5276+++ vim70/src/gui.c     2006-11-02 10:13:25.000000000 -0800
    50905277@@ -187,9 +187,10 @@
    50915278 #endif
     
    51905377diff -Naur vim70.orig/src/gui_gtk.c vim70/src/gui_gtk.c
    51915378--- vim70.orig/src/gui_gtk.c    2006-05-05 04:52:52.000000000 -0700
    5192 +++ vim70/src/gui_gtk.c 2006-10-25 19:56:06.000000000 -0700
     5379+++ vim70/src/gui_gtk.c 2006-11-02 10:13:29.000000000 -0800
    51935380@@ -957,15 +957,15 @@
    51945381 get_menu_position(vimmenu_T *menu)
     
    52885475diff -Naur vim70.orig/src/gui_gtk_x11.c vim70/src/gui_gtk_x11.c
    52895476--- vim70.orig/src/gui_gtk_x11.c        2006-05-04 23:58:59.000000000 -0700
    5290 +++ vim70/src/gui_gtk_x11.c     2006-10-25 19:55:34.000000000 -0700
     5477+++ vim70/src/gui_gtk_x11.c     2006-11-02 10:13:14.000000000 -0800
    52915478@@ -3233,12 +3233,12 @@
    52925479 on_select_tab(
     
    53535540diff -Naur vim70.orig/src/gui_xmebw.c vim70/src/gui_xmebw.c
    53545541--- vim70.orig/src/gui_xmebw.c  2006-04-30 08:32:32.000000000 -0700
    5355 +++ vim70/src/gui_xmebw.c       2006-10-25 19:56:09.000000000 -0700
     5542+++ vim70/src/gui_xmebw.c       2006-11-02 10:13:29.000000000 -0800
    53565543@@ -47,13 +47,13 @@
    53575544 #include "gui_xmebwp.h"
     
    54825669diff -Naur vim70.orig/src/hardcopy.c vim70/src/hardcopy.c
    54835670--- vim70.orig/src/hardcopy.c   2006-05-04 03:09:58.000000000 -0700
    5484 +++ vim70/src/hardcopy.c        2006-10-25 19:55:34.000000000 -0700
     5671+++ vim70/src/hardcopy.c        2006-11-02 10:13:14.000000000 -0800
    54855672@@ -1794,29 +1794,27 @@
    54865673     static int
     
    55855772diff -Naur vim70.orig/src/if_cscope.c vim70/src/if_cscope.c
    55865773--- vim70.orig/src/if_cscope.c  2006-04-18 01:54:15.000000000 -0700
    5587 +++ vim70/src/if_cscope.c       2006-10-25 19:55:34.000000000 -0700
     5774+++ vim70/src/if_cscope.c       2006-11-02 10:13:29.000000000 -0800
    55885775@@ -989,8 +989,7 @@
    55895776 {
     
    55965783     char cmdletter;
    55975784     char *qfpos;
    5598 @@ -1141,6 +1140,9 @@
     5785@@ -1101,38 +1100,44 @@
     5786     if (qfpos != NULL && *qfpos != '0' && totmatches > 0)
     5787     {
     5788        /* fill error list */
     5789-       FILE *f;
     5790-       char_u *tmp = vim_tempname('c');
     5791+       FILE        *f;
     5792+       char_u      *tmp = vim_tempname('c');
     5793        qf_info_T   *qi = NULL;
     5794        win_T       *wp = NULL;
     5795 
     5796        f = mch_fopen((char *)tmp, "w");
     5797-       cs_file_results(f, nummatches);
     5798-       fclose(f);
     5799-       if (use_ll)         /* Use location list */
     5800-           wp = curwin;
     5801-       /* '-' starts a new error list */
     5802-       if (qf_init(wp, tmp, (char_u *)"%f%*\\t%l%*\\t%m", *qfpos == '-') > 0)
     5803+       if (f == NULL)
     5804+           EMSG2(_(e_notopen), tmp);
     5805+       else
     5806        {
     5807-# ifdef FEAT_WINDOWS
     5808-           if (postponed_split != 0)
     5809+           cs_file_results(f, nummatches);
     5810+           fclose(f);
     5811+           if (use_ll)     /* Use location list */
     5812+               wp = curwin;
     5813+           /* '-' starts a new error list */
     5814+           if (qf_init(wp, tmp, (char_u *)"%f%*\\t%l%*\\t%m",
     5815+                                                          *qfpos == '-') > 0)
     5816            {
     5817-               win_split(postponed_split > 0 ? postponed_split : 0,
     5818+# ifdef FEAT_WINDOWS
     5819+               if (postponed_split != 0)
     5820+               {
     5821+                   win_split(postponed_split > 0 ? postponed_split : 0,
     5822                                                       postponed_split_flags);
     5823 #  ifdef FEAT_SCROLLBIND
     5824-               curwin->w_p_scb = FALSE;
     5825+                   curwin->w_p_scb = FALSE;
     5826 #  endif
     5827-               postponed_split = 0;
     5828-           }
     5829+                   postponed_split = 0;
     5830+               }
     5831 # endif
     5832-           if (use_ll)
     5833-               /*
     5834-                * In the location list window, use the displayed location
     5835-                * list. Otherwise, use the location list for the window.
     5836-                */
     5837-               qi = (bt_quickfix(wp->w_buffer) && wp->w_llist_ref != NULL) ?
     5838-                                   wp->w_llist_ref : wp->w_llist;
     5839-           qf_jump(qi, 0, 0, forceit);
     5840+               if (use_ll)
     5841+                   /*
     5842+                    * In the location list window, use the displayed location
     5843+                    * list. Otherwise, use the location list for the window.
     5844+                    */
     5845+                   qi = (bt_quickfix(wp->w_buffer) && wp->w_llist_ref != NULL)
     5846+                       ?  wp->w_llist_ref : wp->w_llist;
     5847+               qf_jump(qi, 0, 0, forceit);
     5848+           }
     5849        }
     5850        mch_remove(tmp);
     5851        vim_free(tmp);
     5852@@ -1141,6 +1146,9 @@
    55995853     else
    56005854 #endif /* FEAT_QUICKFIX */
     
    56065860        cs_fill_results((char *)pat, totmatches, nummatches, &matches,
    56075861                                                         &contexts, &matched);
     5862@@ -1721,7 +1729,7 @@
     5863               continue;
     5864 
     5865           context = (char *)alloc((unsigned)strlen(cntx)+5);
     5866-          if (context==NULL)
     5867+          if (context == NULL)
     5868               continue;
     5869 
     5870           if (strcmp(cntx, "<global>")==0)
     5871@@ -1729,7 +1737,7 @@
     5872           else
     5873               sprintf(context, "<<%s>>", cntx);
     5874 
     5875-          if (search==NULL)
     5876+          if (search == NULL)
     5877               fprintf(f, "%s\t%s\t%s\n", fullname, slno, context);
     5878           else
     5879               fprintf(f, "%s\t%s\t%s %s\n", fullname, slno, context, search);
    56085880diff -Naur vim70.orig/src/if_perl.xs vim70/src/if_perl.xs
    56095881--- vim70.orig/src/if_perl.xs   2006-03-06 10:57:16.000000000 -0800
    5610 +++ vim70/src/if_perl.xs        2006-10-25 19:55:31.000000000 -0700
     5882+++ vim70/src/if_perl.xs        2006-11-02 10:13:10.000000000 -0800
    56115883@@ -155,8 +155,8 @@
    56125884 static int (*perl_run)(PerlInterpreter*);
     
    57235995diff -Naur vim70.orig/src/if_python.c vim70/src/if_python.c
    57245996--- vim70.orig/src/if_python.c  2006-04-30 08:31:36.000000000 -0700
    5725 +++ vim70/src/if_python.c       2006-10-25 19:55:42.000000000 -0700
     5997+++ vim70/src/if_python.c       2006-11-02 10:13:23.000000000 -0800
    57265998@@ -1463,7 +1463,7 @@
    57275999     if (this->buf && this->buf != INVALID_BUFFER_VALUE)
     
    57626034diff -Naur vim70.orig/src/if_ruby.c vim70/src/if_ruby.c
    57636035--- vim70.orig/src/if_ruby.c    2006-04-30 08:37:52.000000000 -0700
    5764 +++ vim70/src/if_ruby.c 2006-10-25 19:55:31.000000000 -0700
     6036+++ vim70/src/if_ruby.c 2006-11-02 10:13:10.000000000 -0800
    57656037@@ -643,11 +643,14 @@
    57666038 
     
    58776149diff -Naur vim70.orig/src/macros.h vim70/src/macros.h
    58786150--- vim70.orig/src/macros.h     2006-03-01 04:01:10.000000000 -0800
    5879 +++ vim70/src/macros.h  2006-10-25 19:55:39.000000000 -0700
     6151+++ vim70/src/macros.h  2006-11-02 10:13:19.000000000 -0800
    58806152@@ -276,3 +276,9 @@
    58816153 # define MB_CHARLEN(p)         STRLEN(p)
     
    58906162diff -Naur vim70.orig/src/main.c vim70/src/main.c
    58916163--- vim70.orig/src/main.c       2006-05-03 10:36:44.000000000 -0700
    5892 +++ vim70/src/main.c    2006-10-25 19:55:38.000000000 -0700
     6164+++ vim70/src/main.c    2006-11-02 10:13:18.000000000 -0800
    58936165@@ -564,7 +564,11 @@
    58946166      */
     
    59796251diff -Naur vim70.orig/src/Makefile vim70/src/Makefile
    59806252--- vim70.orig/src/Makefile     2006-05-07 06:25:27.000000000 -0700
    5981 +++ vim70/src/Makefile  2006-10-25 19:55:36.000000000 -0700
     6253+++ vim70/src/Makefile  2006-11-02 10:13:17.000000000 -0800
    59826254@@ -2177,6 +2177,7 @@
    59836255        cd $(SHADOWDIR)/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
     
    59996271diff -Naur vim70.orig/src/mbyte.c vim70/src/mbyte.c
    60006272--- vim70.orig/src/mbyte.c      2006-04-30 04:51:01.000000000 -0700
    6001 +++ vim70/src/mbyte.c   2006-10-25 19:55:34.000000000 -0700
     6273+++ vim70/src/mbyte.c   2006-11-02 10:13:14.000000000 -0800
    60026274@@ -311,7 +311,11 @@
    60036275 
     
    60816353diff -Naur vim70.orig/src/memfile.c vim70/src/memfile.c
    60826354--- vim70.orig/src/memfile.c    2006-03-06 00:59:15.000000000 -0800
    6083 +++ vim70/src/memfile.c 2006-10-25 19:55:41.000000000 -0700
     6355+++ vim70/src/memfile.c 2006-11-02 10:13:23.000000000 -0800
    60846356@@ -517,7 +517,7 @@
    60856357        mf_ins_free(mfp, hp);   /* put *hp in the free list */
     
    61146386diff -Naur vim70.orig/src/memline.c vim70/src/memline.c
    61156387--- vim70.orig/src/memline.c    2006-04-20 14:00:21.000000000 -0700
    6116 +++ vim70/src/memline.c 2006-10-25 19:55:45.000000000 -0700
     6388+++ vim70/src/memline.c 2006-11-02 10:13:25.000000000 -0800
    61176389@@ -215,7 +215,7 @@
    61186390 #define ML_FLUSH       0x02        /* flush locked block */
     
    61906462diff -Naur vim70.orig/src/menu.c vim70/src/menu.c
    61916463--- vim70.orig/src/menu.c       2006-05-03 10:30:48.000000000 -0700
    6192 +++ vim70/src/menu.c    2006-10-25 19:55:31.000000000 -0700
     6464+++ vim70/src/menu.c    2006-11-02 10:13:10.000000000 -0800
    61936465@@ -511,6 +511,14 @@
    61946466         * name (without mnemonic and accelerator text). */
     
    62676539diff -Naur vim70.orig/src/message.c vim70/src/message.c
    62686540--- vim70.orig/src/message.c    2006-05-06 13:07:37.000000000 -0700
    6269 +++ vim70/src/message.c 2006-10-25 19:55:45.000000000 -0700
     6541+++ vim70/src/message.c 2006-11-02 10:13:25.000000000 -0800
    62706542@@ -53,7 +53,6 @@
    62716543 static struct msg_hist *first_msg_hist = NULL;
     
    63206592diff -Naur vim70.orig/src/misc1.c vim70/src/misc1.c
    63216593--- vim70.orig/src/misc1.c      2006-04-30 08:30:02.000000000 -0700
    6322 +++ vim70/src/misc1.c   2006-10-25 19:55:59.000000000 -0700
     6594+++ vim70/src/misc1.c   2006-11-02 10:13:29.000000000 -0800
    63236595@@ -1761,15 +1761,13 @@
    63246596      * Add column offset for 'number', 'foldcolumn', etc.
     
    64356707diff -Naur vim70.orig/src/misc2.c vim70/src/misc2.c
    64366708--- vim70.orig/src/misc2.c      2006-05-04 05:12:38.000000000 -0700
    6437 +++ vim70/src/misc2.c   2006-10-25 19:55:42.000000000 -0700
     6709+++ vim70/src/misc2.c   2006-11-02 10:13:23.000000000 -0800
    64386710@@ -1229,6 +1229,94 @@
    64396711     return escaped_string;
     
    65336805diff -Naur vim70.orig/src/netbeans.c vim70/src/netbeans.c
    65346806--- vim70.orig/src/netbeans.c   2006-04-22 11:00:05.000000000 -0700
    6535 +++ vim70/src/netbeans.c        2006-10-25 19:55:34.000000000 -0700
     6807+++ vim70/src/netbeans.c        2006-11-02 10:13:14.000000000 -0800
    65366808@@ -103,7 +103,7 @@
    65376809 static int  inputHandler = -1;         /* simply ret.value of WSAAsyncSelect() */
     
    67036975diff -Naur vim70.orig/src/normal.c vim70/src/normal.c
    67046976--- vim70.orig/src/normal.c     2006-04-29 06:11:18.000000000 -0700
    6705 +++ vim70/src/normal.c  2006-10-25 19:55:48.000000000 -0700
     6977+++ vim70/src/normal.c  2006-11-02 10:13:28.000000000 -0800
    67066978@@ -1477,14 +1477,17 @@
    67076979        }
     
    67817053diff -Naur vim70.orig/src/ops.c vim70/src/ops.c
    67827054--- vim70.orig/src/ops.c        2006-04-30 08:13:44.000000000 -0700
    6783 +++ vim70/src/ops.c     2006-10-25 19:55:47.000000000 -0700
     7055+++ vim70/src/ops.c     2006-11-02 10:13:28.000000000 -0800
    67847056@@ -770,6 +770,7 @@
    67857057 {
     
    68597131diff -Naur vim70.orig/src/option.c vim70/src/option.c
    68607132--- vim70.orig/src/option.c     2006-05-03 10:32:28.000000000 -0700
    6861 +++ vim70/src/option.c  2006-10-25 19:55:47.000000000 -0700
     7133+++ vim70/src/option.c  2006-11-02 10:13:28.000000000 -0800
    68627134@@ -2294,7 +2294,7 @@
    68637135                            {(char_u *)0L, (char_u *)0L}
     
    69757247diff -Naur vim70.orig/src/os_unix.c vim70/src/os_unix.c
    69767248--- vim70.orig/src/os_unix.c    2006-05-01 01:13:15.000000000 -0700
    6977 +++ vim70/src/os_unix.c 2006-10-25 19:55:34.000000000 -0700
     7249+++ vim70/src/os_unix.c 2006-11-02 10:13:14.000000000 -0800
    69787250@@ -3934,7 +3934,7 @@
    69797251                    {
     
    70347306diff -Naur vim70.orig/src/popupmnu.c vim70/src/popupmnu.c
    70357307--- vim70.orig/src/popupmnu.c   2006-04-20 13:18:37.000000000 -0700
    7036 +++ vim70/src/popupmnu.c        2006-10-25 19:55:32.000000000 -0700
     7308+++ vim70/src/popupmnu.c        2006-11-02 10:13:12.000000000 -0800
    70377309@@ -552,6 +552,9 @@
    70387310 {
     
    70477319diff -Naur vim70.orig/src/proto/buffer.pro vim70/src/proto/buffer.pro
    70487320--- vim70.orig/src/proto/buffer.pro     2006-05-07 06:08:29.000000000 -0700
    7049 +++ vim70/src/proto/buffer.pro  2006-10-25 19:55:38.000000000 -0700
     7321+++ vim70/src/proto/buffer.pro  2006-11-02 10:13:18.000000000 -0800
    70507322@@ -10,6 +10,7 @@
    70517323 extern int do_buffer __ARGS((int action, int start, int dir, int count, int forceit));
     
    70587330diff -Naur vim70.orig/src/proto/eval.pro vim70/src/proto/eval.pro
    70597331--- vim70.orig/src/proto/eval.pro       2006-05-07 06:08:33.000000000 -0700
    7060 +++ vim70/src/proto/eval.pro    2006-10-25 19:55:46.000000000 -0700
     7332+++ vim70/src/proto/eval.pro    2006-11-02 10:13:27.000000000 -0800
    70617333@@ -44,7 +44,7 @@
    70627334 extern char_u *get_user_var_name __ARGS((expand_T *xp, int idx));
     
    70707342diff -Naur vim70.orig/src/proto/menu.pro vim70/src/proto/menu.pro
    70717343--- vim70.orig/src/proto/menu.pro       2006-05-07 06:08:51.000000000 -0700
    7072 +++ vim70/src/proto/menu.pro    2006-10-25 19:55:31.000000000 -0700
     7344+++ vim70/src/proto/menu.pro    2006-11-02 10:13:10.000000000 -0800
    70737345@@ -10,6 +10,7 @@
    70747346 extern int menu_is_child_of_popup __ARGS((vimmenu_T *menu));
     
    70817353diff -Naur vim70.orig/src/proto/misc2.pro vim70/src/proto/misc2.pro
    70827354--- vim70.orig/src/proto/misc2.pro      2006-05-07 06:08:54.000000000 -0700
    7083 +++ vim70/src/proto/misc2.pro   2006-10-25 19:55:42.000000000 -0700
     7355+++ vim70/src/proto/misc2.pro   2006-11-02 10:13:23.000000000 -0800
    70847356@@ -29,6 +29,7 @@
    70857357 extern char_u *vim_strnsave __ARGS((char_u *string, int len));
     
    70927364diff -Naur vim70.orig/src/proto/ops.pro vim70/src/proto/ops.pro
    70937365--- vim70.orig/src/proto/ops.pro        2006-05-07 06:08:58.000000000 -0700
    7094 +++ vim70/src/proto/ops.pro     2006-10-25 19:55:47.000000000 -0700
     7366+++ vim70/src/proto/ops.pro     2006-11-02 10:13:28.000000000 -0800
    70957367@@ -20,7 +20,7 @@
    70967368 extern int do_execreg __ARGS((int regname, int colon, int addcr));
     
    71047376diff -Naur vim70.orig/src/proto/undo.pro vim70/src/proto/undo.pro
    71057377--- vim70.orig/src/proto/undo.pro       2006-05-07 06:09:11.000000000 -0700
    7106 +++ vim70/src/proto/undo.pro    2006-10-25 19:55:23.000000000 -0700
     7378+++ vim70/src/proto/undo.pro    2006-11-02 10:13:05.000000000 -0800
    71077379@@ -4,6 +4,7 @@
    71087380 extern int u_savesub __ARGS((linenr_T lnum));
     
    71157387diff -Naur vim70.orig/src/quickfix.c vim70/src/quickfix.c
    71167388--- vim70.orig/src/quickfix.c   2006-05-03 00:47:42.000000000 -0700
    7117 +++ vim70/src/quickfix.c        2006-10-25 19:55:48.000000000 -0700
     7389+++ vim70/src/quickfix.c        2006-11-02 10:13:29.000000000 -0800
    71187390@@ -500,8 +500,6 @@
    71197391        {
     
    73707642diff -Naur vim70.orig/src/regexp.c vim70/src/regexp.c
    73717643--- vim70.orig/src/regexp.c     2006-04-30 08:31:50.000000000 -0700
    7372 +++ vim70/src/regexp.c  2006-10-25 19:55:47.000000000 -0700
     7644+++ vim70/src/regexp.c  2006-11-02 10:13:28.000000000 -0800
    73737645@@ -3777,8 +3777,8 @@
    73747646 
     
    75077779diff -Naur vim70.orig/src/screen.c vim70/src/screen.c
    75087780--- vim70.orig/src/screen.c     2006-05-05 03:13:55.000000000 -0700
    7509 +++ vim70/src/screen.c  2006-10-25 19:55:44.000000000 -0700
     7781+++ vim70/src/screen.c  2006-11-02 10:13:24.000000000 -0800
    75107782@@ -1228,7 +1228,14 @@
    75117783        {
     
    76837955diff -Naur vim70.orig/src/search.c vim70/src/search.c
    76847956--- vim70.orig/src/search.c     2006-05-05 05:12:13.000000000 -0700
    7685 +++ vim70/src/search.c  2006-10-25 19:55:45.000000000 -0700
     7957+++ vim70/src/search.c  2006-11-02 10:13:25.000000000 -0800
    76867958@@ -1259,7 +1259,7 @@
    76877959        /*
     
    77408012diff -Naur vim70.orig/src/spell.c vim70/src/spell.c
    77418013--- vim70.orig/src/spell.c      2006-05-05 00:49:58.000000000 -0700
    7742 +++ vim70/src/spell.c   2006-10-25 19:55:41.000000000 -0700
     8014+++ vim70/src/spell.c   2006-11-02 10:13:22.000000000 -0800
    77438015@@ -1483,7 +1483,7 @@
    77448016            else if ((mode == FIND_COMPOUND || mode == FIND_KEEPCOMPOUND
     
    80718343diff -Naur vim70.orig/src/structs.h vim70/src/structs.h
    80728344--- vim70.orig/src/structs.h    2006-04-09 10:57:46.000000000 -0700
    8073 +++ vim70/src/structs.h 2006-10-25 19:55:31.000000000 -0700
     8345+++ vim70/src/structs.h 2006-11-02 10:13:10.000000000 -0800
    80748346@@ -2213,18 +2213,20 @@
    80758347 
     
    80978369diff -Naur vim70.orig/src/syntax.c vim70/src/syntax.c
    80988370--- vim70.orig/src/syntax.c     2006-04-26 05:49:45.000000000 -0700
    8099 +++ vim70/src/syntax.c  2006-10-25 19:55:44.000000000 -0700
     8371+++ vim70/src/syntax.c  2006-11-02 10:13:33.000000000 -0800
    81008372@@ -977,6 +977,7 @@
    81018373 {
     
    81878459 }
    81888460 
     8461@@ -6054,7 +6072,11 @@
     8462                ++level;
     8463     }
     8464     if (level > wp->w_p_fdn)
     8465+    {
     8466        level = wp->w_p_fdn;
     8467+       if (level < 0)
     8468+           level = 0;
     8469+    }
     8470     return level;
     8471 }
     8472 #endif
    81898473diff -Naur vim70.orig/src/tag.c vim70/src/tag.c
    81908474--- vim70.orig/src/tag.c        2006-04-27 06:11:21.000000000 -0700
    8191 +++ vim70/src/tag.c     2006-10-25 19:55:46.000000000 -0700
     8475+++ vim70/src/tag.c     2006-11-02 10:13:27.000000000 -0800
    81928476@@ -911,7 +911,7 @@
    81938477 
     
    82318515diff -Naur vim70.orig/src/term.c vim70/src/term.c
    82328516--- vim70.orig/src/term.c       2006-05-03 10:34:57.000000000 -0700
    8233 +++ vim70/src/term.c    2006-10-25 19:56:02.000000000 -0700
     8517+++ vim70/src/term.c    2006-11-02 10:13:29.000000000 -0800
    82348518@@ -3137,25 +3137,32 @@
    82358519            screenalloc(FALSE);
     
    82958579diff -Naur vim70.orig/src/testdir/test56.in vim70/src/testdir/test56.in
    82968580--- vim70.orig/src/testdir/test56.in    2005-05-18 08:37:37.000000000 -0700
    8297 +++ vim70/src/testdir/test56.in 2006-10-25 19:55:38.000000000 -0700
     8581+++ vim70/src/testdir/test56.in 2006-11-02 10:13:18.000000000 -0800
    82988582@@ -3,7 +3,7 @@
    82998583 STARTTEST
     
    83078591diff -Naur vim70.orig/src/ui.c vim70/src/ui.c
    83088592--- vim70.orig/src/ui.c 2006-03-27 11:15:09.000000000 -0800
    8309 +++ vim70/src/ui.c      2006-10-25 19:55:35.000000000 -0700
     8593+++ vim70/src/ui.c      2006-11-02 10:13:14.000000000 -0800
    83108594@@ -1137,7 +1137,6 @@
    83118595     int                len;
     
    83278611diff -Naur vim70.orig/src/undo.c vim70/src/undo.c
    83288612--- vim70.orig/src/undo.c       2006-04-21 02:30:59.000000000 -0700
    8329 +++ vim70/src/undo.c    2006-10-25 19:55:35.000000000 -0700
     8613+++ vim70/src/undo.c    2006-11-02 10:13:14.000000000 -0800
    83308614@@ -84,7 +84,6 @@
    83318615 static void u_unch_branch __ARGS((u_header_T *uhp));
     
    83928676diff -Naur vim70.orig/src/version.c vim70/src/version.c
    83938677--- vim70.orig/src/version.c    2006-05-03 00:50:42.000000000 -0700
    8394 +++ vim70/src/version.c 2006-10-25 19:56:09.000000000 -0700
    8395 @@ -667,6 +667,284 @@
     8678+++ vim70/src/version.c 2006-11-02 10:13:49.000000000 -0800
     8679@@ -667,6 +667,294 @@
    83968680 static int included_patches[] =
    83978681 {   /* Add new patch number below this line */
    83988682 /**/
     8683+    158,
     8684+/**/
     8685+    157,
     8686+/**/
     8687+    155,
     8688+/**/
     8689+    154,
     8690+/**/
     8691+    153,
     8692+/**/
    83998693+    152,
    84008694+/**/
     
    86788972 };
    86798973 
    8680 @@ -731,7 +1009,11 @@
     8974@@ -731,7 +1019,11 @@
    86818975     /* Only MS VC 4.1 and earlier can do Win32s */
    86828976     MSG_PUTS(_("\nMS-Windows 16/32 bit GUI version"));
     
    86928986diff -Naur vim70.orig/src/vim.h vim70/src/vim.h
    86938987--- vim70.orig/src/vim.h        2006-04-30 08:32:38.000000000 -0700
    8694 +++ vim70/src/vim.h     2006-10-25 19:55:35.000000000 -0700
     8988+++ vim70/src/vim.h     2006-11-02 10:13:37.000000000 -0800
    86958989@@ -585,7 +585,6 @@
    86968990 #define INSERT         0x10    /* Insert mode */
     
    87199013     EVENT_INSERTENTER,         /* when entering Insert mode */
    87209014     EVENT_INSERTLEAVE,         /* when leaving Insert mode */
     9015@@ -1666,7 +1669,10 @@
     9016 #define VV_SWAPCHOICE  46
     9017 #define VV_SWAPCOMMAND 47
     9018 #define VV_CHAR                48
     9019-#define VV_LEN         49      /* number of v: vars */
     9020+#define VV_MOUSE_WIN   49
     9021+#define VV_MOUSE_LNUM   50
     9022+#define VV_MOUSE_COL   51
     9023+#define VV_LEN         52      /* number of v: vars */
     9024 
     9025 #ifdef FEAT_CLIPBOARD
     9026 
    87219027diff -Naur vim70.orig/src/window.c vim70/src/window.c
    87229028--- vim70.orig/src/window.c     2006-05-06 03:54:51.000000000 -0700
    8723 +++ vim70/src/window.c  2006-10-25 19:55:59.000000000 -0700
     9029+++ vim70/src/window.c  2006-11-02 10:13:29.000000000 -0800
    87249030@@ -340,10 +340,10 @@
    87259031                {
     
    88459151                hasFoldingWin(wp, lnum, &lnum, NULL, TRUE, NULL);
    88469152                if (lnum == 1)
    8847 
Note: See TracChangeset for help on using the changeset viewer.