Changeset 893d5c7 in clfs-sysroot
- Timestamp:
- Nov 30, 2006, 4:09:20 PM (18 years ago)
- Branches:
- master
- Children:
- 2b41e4b
- Parents:
- 6171a23
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/vim-7.0-fixes-20.patch
r6171a23 r893d5c7 1 1 Submitted By: Jim Gifford (jim at linuxfromscratch dot org) 2 Date: 2006-11-212 Date: 11-29-2006 3 3 Initial Package Version: 7.0 4 4 Origin: Upstream 5 5 Upstream Status: Applied 6 Description: Contains all upstream patches up to 7.0.1 686 Description: Contains all upstream patches up to 7.0.174 7 7 The following patches were skipped 8 005 027 028 032 045 057 065 074 108 130 131 132 138 156 1618 005 027 028 032 045 057 065 074 108 130 131 132 138 156 161 170 171 9 9 10 10 diff -Naur vim70.orig/configure vim70/configure 11 11 --- vim70.orig/configure 2004-07-05 02:02:24.000000000 -0700 12 +++ vim70/configure 2006-11-2 1 22:40:14.000000000 -080012 +++ vim70/configure 2006-11-29 16:09:55.000000000 -0800 13 13 @@ -3,4 +3,4 @@ 14 14 # This is just a stub for the Unix configure script, to provide support for … … 19 19 diff -Naur vim70.orig/runtime/autoload/ccomplete.vim vim70/runtime/autoload/ccomplete.vim 20 20 --- vim70.orig/runtime/autoload/ccomplete.vim 2006-05-03 07:35:56.000000000 -0700 21 +++ vim70/runtime/autoload/ccomplete.vim 2006-11-2 1 22:37:49.000000000 -080021 +++ vim70/runtime/autoload/ccomplete.vim 2006-11-29 16:09:49.000000000 -0800 22 22 @@ -1,7 +1,7 @@ 23 23 " Vim completion script … … 40 40 diff -Naur vim70.orig/runtime/autoload/gzip.vim vim70/runtime/autoload/gzip.vim 41 41 --- vim70.orig/runtime/autoload/gzip.vim 2006-03-31 07:12:15.000000000 -0800 42 +++ vim70/runtime/autoload/gzip.vim 2006-11-2 1 22:43:59.000000000 -080042 +++ vim70/runtime/autoload/gzip.vim 2006-11-29 16:10:07.000000000 -0800 43 43 @@ -1,6 +1,6 @@ 44 44 " Vim autoload file for editing compressed files. … … 101 101 diff -Naur vim70.orig/runtime/autoload/paste.vim vim70/runtime/autoload/paste.vim 102 102 --- vim70.orig/runtime/autoload/paste.vim 2006-04-21 11:31:01.000000000 -0700 103 +++ vim70/runtime/autoload/paste.vim 2006-11-2 1 22:39:28.000000000 -0800103 +++ vim70/runtime/autoload/paste.vim 2006-11-29 16:09:53.000000000 -0800 104 104 @@ -1,6 +1,6 @@ 105 105 " Vim support file to help with paste mappings and menus … … 121 121 diff -Naur vim70.orig/runtime/autoload/spellfile.vim vim70/runtime/autoload/spellfile.vim 122 122 --- vim70.orig/runtime/autoload/spellfile.vim 2006-02-01 04:12:24.000000000 -0800 123 +++ vim70/runtime/autoload/spellfile.vim 2006-11-2 1 22:41:53.000000000 -0800123 +++ vim70/runtime/autoload/spellfile.vim 2006-11-29 16:10:01.000000000 -0800 124 124 @@ -1,9 +1,9 @@ 125 125 " Vim script to download a missing spell file … … 177 177 diff -Naur vim70.orig/runtime/doc/eval.txt vim70/runtime/doc/eval.txt 178 178 --- vim70.orig/runtime/doc/eval.txt 2006-05-07 05:16:44.000000000 -0700 179 +++ vim70/runtime/doc/eval.txt 2006-11-2 1 22:46:26.000000000 -0800179 +++ vim70/runtime/doc/eval.txt 2006-11-29 16:10:14.000000000 -0800 180 180 @@ -1,4 +1,4 @@ 181 181 -*eval.txt* For Vim version 7.0. Last change: 2006 May 06 … … 257 257 diff -Naur vim70.orig/runtime/doc/netbeans.txt vim70/runtime/doc/netbeans.txt 258 258 --- vim70.orig/runtime/doc/netbeans.txt 2006-05-07 05:16:45.000000000 -0700 259 +++ vim70/runtime/doc/netbeans.txt 2006-11-2 1 22:46:48.000000000 -0800259 +++ vim70/runtime/doc/netbeans.txt 2006-11-29 16:10:15.000000000 -0800 260 260 @@ -1,4 +1,4 @@ 261 261 -*netbeans.txt* For Vim version 7.0. Last change: 2006 Mar 09 … … 293 293 diff -Naur vim70.orig/runtime/menu.vim vim70/runtime/menu.vim 294 294 --- vim70.orig/runtime/menu.vim 2006-04-17 06:47:28.000000000 -0700 295 +++ vim70/runtime/menu.vim 2006-11-2 1 22:43:44.000000000 -0800295 +++ vim70/runtime/menu.vim 2006-11-29 16:10:06.000000000 -0800 296 296 @@ -2,7 +2,7 @@ 297 297 " You can also use this as a start for your own set of menus. … … 360 360 diff -Naur vim70.orig/runtime/plugin/matchparen.vim vim70/runtime/plugin/matchparen.vim 361 361 --- vim70.orig/runtime/plugin/matchparen.vim 2006-04-27 06:31:26.000000000 -0700 362 +++ vim70/runtime/plugin/matchparen.vim 2006-11-2 1 22:42:55.000000000 -0800362 +++ vim70/runtime/plugin/matchparen.vim 2006-11-29 16:10:05.000000000 -0800 363 363 @@ -1,6 +1,6 @@ 364 364 " Vim plugin for showing matching parens … … 403 403 diff -Naur vim70.orig/runtime/scripts.vim vim70/runtime/scripts.vim 404 404 --- vim70.orig/runtime/scripts.vim 2006-03-28 11:30:49.000000000 -0800 405 +++ vim70/runtime/scripts.vim 2006-11-2 1 22:40:21.000000000 -0800405 +++ vim70/runtime/scripts.vim 2006-11-29 16:09:55.000000000 -0800 406 406 @@ -1,7 +1,7 @@ 407 407 " Vim support file to detect file types in scripts … … 428 428 diff -Naur vim70.orig/runtime/tutor/Makefile vim70/runtime/tutor/Makefile 429 429 --- vim70.orig/runtime/tutor/Makefile 2004-06-07 07:32:39.000000000 -0700 430 +++ vim70/runtime/tutor/Makefile 2006-11-2 1 22:43:03.000000000 -0800430 +++ vim70/runtime/tutor/Makefile 2006-11-29 16:10:05.000000000 -0800 431 431 @@ -2,8 +2,13 @@ 432 432 # … … 462 462 diff -Naur vim70.orig/runtime/tutor/tutor.gr.utf-8 vim70/runtime/tutor/tutor.gr.utf-8 463 463 --- vim70.orig/runtime/tutor/tutor.gr.utf-8 1969-12-31 16:00:00.000000000 -0800 464 +++ vim70/runtime/tutor/tutor.gr.utf-8 2006-11-2 1 22:43:03.000000000 -0800464 +++ vim70/runtime/tutor/tutor.gr.utf-8 2006-11-29 16:10:05.000000000 -0800 465 465 @@ -0,0 +1,815 @@ 466 466 +=============================================================================== … … 1495 1495 diff -Naur vim70.orig/runtime/tutor/tutor.ru.utf-8 vim70/runtime/tutor/tutor.ru.utf-8 1496 1496 --- vim70.orig/runtime/tutor/tutor.ru.utf-8 1969-12-31 16:00:00.000000000 -0800 1497 +++ vim70/runtime/tutor/tutor.ru.utf-8 2006-11-2 1 22:42:05.000000000 -08001497 +++ vim70/runtime/tutor/tutor.ru.utf-8 2006-11-29 16:10:01.000000000 -0800 1498 1498 @@ -0,0 +1,834 @@ 1499 1499 +=============================================================================== … … 2416 2416 diff -Naur vim70.orig/runtime/tutor/tutor.vim vim70/runtime/tutor/tutor.vim 2417 2417 --- vim70.orig/runtime/tutor/tutor.vim 2006-03-18 12:20:36.000000000 -0800 2418 +++ vim70/runtime/tutor/tutor.vim 2006-11-2 1 22:43:03.000000000 -08002418 +++ vim70/runtime/tutor/tutor.vim 2006-11-29 16:10:05.000000000 -0800 2419 2419 @@ -1,6 +1,6 @@ 2420 2420 " Vim tutor support file … … 2468 2468 diff -Naur vim70.orig/src/auto/configure vim70/src/auto/configure 2469 2469 --- vim70.orig/src/auto/configure 2006-05-04 03:46:19.000000000 -0700 2470 +++ vim70/src/auto/configure 2006-11-2 1 22:45:22.000000000 -08002470 +++ vim70/src/auto/configure 2006-11-29 16:10:11.000000000 -0800 2471 2471 @@ -4014,7 +4014,7 @@ 2472 2472 LDFLAGS=$ldflags_save … … 2509 2509 diff -Naur vim70.orig/src/buffer.c vim70/src/buffer.c 2510 2510 --- vim70.orig/src/buffer.c 2006-04-26 14:37:23.000000000 -0700 2511 +++ vim70/src/buffer.c 2006-11-2 1 22:46:44.000000000 -08002511 +++ vim70/src/buffer.c 2006-11-29 16:10:15.000000000 -0800 2512 2512 @@ -434,12 +434,8 @@ 2513 2513 if (usingNetbeans) … … 2660 2660 diff -Naur vim70.orig/src/configure vim70/src/configure 2661 2661 --- vim70.orig/src/configure 2006-05-07 07:17:49.000000000 -0700 2662 +++ vim70/src/configure 2006-11-2 1 22:40:14.000000000 -08002662 +++ vim70/src/configure 2006-11-29 16:09:55.000000000 -0800 2663 2663 @@ -2,5 +2,9 @@ 2664 2664 # run the automatically generated configure script … … 2673 2673 diff -Naur vim70.orig/src/configure.in vim70/src/configure.in 2674 2674 --- vim70.orig/src/configure.in 2006-05-04 03:46:11.000000000 -0700 2675 +++ vim70/src/configure.in 2006-11-2 1 22:45:22.000000000 -08002675 +++ vim70/src/configure.in 2006-11-29 16:10:11.000000000 -0800 2676 2676 @@ -508,7 +508,8 @@ 2677 2677 LDFLAGS=$ldflags_save … … 2716 2716 diff -Naur vim70.orig/src/edit.c vim70/src/edit.c 2717 2717 --- vim70.orig/src/edit.c 2006-05-07 04:48:51.000000000 -0700 2718 +++ vim70/src/edit.c 2006-11-2 1 22:46:32.000000000 -08002718 +++ vim70/src/edit.c 2006-11-29 16:10:14.000000000 -0800 2719 2719 @@ -129,7 +129,7 @@ 2720 2720 … … 3337 3337 diff -Naur vim70.orig/src/eval.c vim70/src/eval.c 3338 3338 --- vim70.orig/src/eval.c 2006-05-05 10:15:26.000000000 -0700 3339 +++ vim70/src/eval.c 2006-11-2 1 22:47:04.000000000 -08003339 +++ vim70/src/eval.c 2006-11-29 16:10:23.000000000 -0800 3340 3340 @@ -166,7 +166,6 @@ 3341 3341 int uf_tm_count; /* nr of calls */ … … 3440 3440 return; 3441 3441 3442 @@ -3364,6 +3371,8 @@ 3442 @@ -3177,9 +3184,18 @@ 3443 failed = TRUE; 3444 break; 3445 } 3446 + 3447 + /* Handle a function returning a Funcref, Dictionary or List. */ 3448 + if (handle_subscript(&arg, &rettv, !eap->skip, TRUE) == FAIL) 3449 + { 3450 + failed = TRUE; 3451 + break; 3452 + } 3453 + 3454 clear_tv(&rettv); 3455 if (doesrange || eap->skip) 3456 break; 3457 + 3458 /* Stop when immediately aborting on error, or when an interrupt 3459 * occurred or an exception was thrown but not caught. 3460 * get_func_tv() returned OK, so that the check for trailing 3461 @@ -3364,6 +3380,8 @@ 3443 3462 hi = hash_find(ht, varname); 3444 3463 if (!HASHITEM_EMPTY(hi)) … … 3449 3468 return FAIL; 3450 3469 delete_var(ht, hi); 3451 @@ -4895,7 +49 04,7 @@3470 @@ -4895,7 +4913,7 @@ 3452 3471 { 3453 3472 if (list_append_tv(l, &item->li_tv) == FAIL) … … 3458 3477 } 3459 3478 item = item->li_next; 3460 @@ -5295,7 +53 04,7 @@3479 @@ -5295,7 +5313,7 @@ 3461 3480 EMSG2(_("E697: Missing end of List ']': %s"), *arg); 3462 3481 failret: … … 3467 3486 } 3468 3487 3469 @@ -5359,8 +53 68,8 @@3488 @@ -5359,8 +5377,8 @@ 3470 3489 list_unref(l) 3471 3490 list_T *l; … … 3478 3497 3479 3498 /* 3480 @@ -5368,14 +53 77,12 @@3499 @@ -5368,14 +5386,12 @@ 3481 3500 * Ignores the reference count. 3482 3501 */ … … 3496 3515 if (l->lv_used_prev == NULL) 3497 3516 first_list = l->lv_used_next; 3498 @@ -5388,7 +5 395,10 @@3517 @@ -5388,7 +5404,10 @@ 3499 3518 { 3500 3519 /* Remove the item before deleting it. */ … … 3508 3527 vim_free(l); 3509 3528 } 3510 @@ -5448,6 +54 58,8 @@3529 @@ -5448,6 +5467,8 @@ 3511 3530 { 3512 3531 listitem_T *item1, *item2; … … 3517 3536 return FALSE; 3518 3537 3519 @@ -5484,6 +5 496,8 @@3538 @@ -5484,6 +5505,8 @@ 3520 3539 dictitem_T *item2; 3521 3540 int todo; … … 3526 3545 return FALSE; 3527 3546 3528 @@ -5516,19 +553 0,29 @@3547 @@ -5516,19 +5539,29 @@ 3529 3548 { 3530 3549 char_u buf1[NUMBUFLEN], buf2[NUMBUFLEN]; … … 3560 3579 case VAR_FUNC: 3561 3580 return (tv1->vval.v_string != NULL 3562 @@ -6059,6 +60 83,10 @@3581 @@ -6059,6 +6092,10 @@ 3563 3582 tabpage_T *tp; 3564 3583 #endif … … 3571 3590 * 1. Go through all accessible variables and mark all lists and dicts 3572 3591 * with copyID. 3573 @@ -6097,7 +61 25,10 @@3592 @@ -6097,7 +6134,10 @@ 3574 3593 for (dd = first_dict; dd != NULL; ) 3575 3594 if (dd->dv_copyID != copyID) … … 3583 3602 3584 3603 /* restart, next dict may also have been freed */ 3585 @@ -6114,7 +61 45,10 @@3604 @@ -6114,7 +6154,10 @@ 3586 3605 for (ll = first_list; ll != NULL; ) 3587 3606 if (ll->lv_copyID != copyID && ll->lv_watch == NULL) … … 3595 3614 3596 3615 /* restart, next list may also have been freed */ 3597 @@ -6207,11 +62 41,12 @@3616 @@ -6207,11 +6250,12 @@ 3598 3617 d = (dict_T *)alloc(sizeof(dict_T)); 3599 3618 if (d != NULL) … … 3609 3628 hash_init(&d->dv_hashtab); 3610 3629 d->dv_lock = 0; 3611 @@ -6229,8 +62 64,8 @@3630 @@ -6229,8 +6273,8 @@ 3612 3631 dict_unref(d) 3613 3632 dict_T *d; … … 3620 3639 3621 3640 /* 3622 @@ -6238,16 +62 73,14 @@3641 @@ -6238,16 +6282,14 @@ 3623 3642 * Ignores the reference count. 3624 3643 */ … … 3640 3659 if (d->dv_used_prev == NULL) 3641 3660 first_dict = d->dv_used_next; 3642 @@ -6267,7 +630 0,10 @@3661 @@ -6267,7 +6309,10 @@ 3643 3662 * something recursive causing trouble. */ 3644 3663 di = HI2DI(hi); … … 3652 3671 } 3653 3672 } 3654 @@ -6718,7 +67 54,7 @@3673 @@ -6718,7 +6763,7 @@ 3655 3674 EMSG2(_("E723: Missing end of Dictionary '}': %s"), *arg); 3656 3675 failret: … … 3661 3680 } 3662 3681 3663 @@ -7139,6 +71 75,7 @@3682 @@ -7139,6 +7184,7 @@ 3664 3683 {"setreg", 2, 3, f_setreg}, 3665 3684 {"settabwinvar", 4, 4, f_settabwinvar}, … … 3669 3688 {"sort", 1, 2, f_sort}, 3670 3689 {"soundfold", 1, 1, f_soundfold}, 3671 @@ -7595,8 +76 32,8 @@3690 @@ -7595,8 +7641,8 @@ 3672 3691 * Give an error message with a function name. Handle <SNR> things. 3673 3692 */ … … 3680 3699 { 3681 3700 char_u *p; 3682 @@ -7605,7 +76 42,7 @@3701 @@ -7605,7 +7651,7 @@ 3683 3702 p = concat_str((char_u *)"<SNR>", name + 3); 3684 3703 else … … 3689 3708 vim_free(p); 3690 3709 } 3691 @@ -8252,6 +82 89,12 @@3710 @@ -8252,6 +8298,12 @@ 3692 3711 EMSG(_("E785: complete() can only be used in Insert mode")); 3693 3712 return; … … 3702 3721 { 3703 3722 EMSG(_(e_invarg)); 3704 @@ -9173,25 +92 16,25 @@3723 @@ -9173,25 +9225,25 @@ 3705 3724 typval_T save_key; 3706 3725 int rem; … … 3732 3751 } 3733 3752 3734 @@ -9223,7 +92 66,7 @@3753 @@ -9223,7 +9275,7 @@ 3735 3754 { 3736 3755 --todo; … … 3741 3760 vimvars[VV_KEY].vv_str = vim_strsave(di->di_key); 3742 3761 if (filter_map_one(&di->di_tv, expr, map, &rem) == FAIL 3743 @@ -9242,7 +92 85,7 @@3762 @@ -9242,7 +9294,7 @@ 3744 3763 { 3745 3764 for (li = l->lv_first; li != NULL; li = nli) … … 3750 3769 nli = li->li_next; 3751 3770 if (filter_map_one(&li->li_tv, expr, map, &rem) == FAIL 3752 @@ -9598,7 +96 41,9 @@3771 @@ -9598,7 +9650,9 @@ 3753 3772 typval_T *argvars; 3754 3773 typval_T *rettv; … … 3761 3780 3762 3781 /* 3763 @@ -9792,6 +98 37,9 @@3782 @@ -9792,6 +9846,9 @@ 3764 3783 varnumber_T n; 3765 3784 int error = FALSE; … … 3771 3790 ++allow_keys; 3772 3791 if (argvars[0].v_type == VAR_UNKNOWN) 3773 @@ -9809,6 +98 57,10 @@3792 @@ -9809,6 +9866,10 @@ 3774 3793 --no_mapping; 3775 3794 --allow_keys; … … 3782 3801 if (IS_SPECIAL(n) || mod_mask != 0) 3783 3802 { 3784 @@ -9837,6 +98 89,53 @@3803 @@ -9837,6 +9898,53 @@ 3785 3804 temp[i++] = NUL; 3786 3805 rettv->v_type = VAR_STRING; … … 3836 3855 } 3837 3856 3838 @@ -10412,20 +105 11,14 @@3857 @@ -10412,20 +10520,14 @@ 3839 3858 3840 3859 if (win != NULL && varname != NULL) … … 3863 3882 { 3864 3883 if (*varname == NUL) 3865 @@ -10438,6 +105 31,10 @@3884 @@ -10438,6 +10540,10 @@ 3866 3885 if (v != NULL) 3867 3886 copy_tv(&v->di_tv, rettv); … … 3874 3893 3875 3894 --emsg_off; 3876 @@ -11312,14 +114 09,19 @@3895 @@ -11312,14 +11418,19 @@ 3877 3896 3878 3897 static int inputsecret_flag = 0; … … 3897 3916 char_u *prompt = get_tv_string_chk(&argvars[0]); 3898 3917 char_u *p = NULL; 3899 @@ -11369,10 +114 71,10 @@3918 @@ -11369,10 +11480,10 @@ 3900 3919 if (defstr != NULL) 3901 3920 stuffReadbuffSpec(defstr); … … 3910 3929 3911 3930 rettv->vval.v_string = NULL; 3912 @@ -11404,6 +115 06,18 @@3931 @@ -11404,6 +11515,18 @@ 3913 3932 } 3914 3933 … … 3929 3948 */ 3930 3949 static void 3931 @@ -11443,7 +115 57,7 @@3950 @@ -11443,7 +11566,7 @@ 3932 3951 } 3933 3952 else … … 3938 3957 3939 3958 /* 3940 @@ -11471,6 +115 85,7 @@3959 @@ -11471,6 +11594,7 @@ 3941 3960 } 3942 3961 … … 3946 3965 msg_scroll = TRUE; 3947 3966 msg_clr_eos(); 3948 @@ -13250,7 +133 65,7 @@3967 @@ -13250,7 +13374,7 @@ 3949 3968 if (argvars[2].v_type != VAR_UNKNOWN) 3950 3969 EMSG2(_(e_toomanyarg), "remove()"); … … 3955 3974 key = get_tv_string_chk(&argvars[1]); 3956 3975 if (key != NULL) 3957 @@ -13270,7 +133 85,7 @@3976 @@ -13270,7 +13394,7 @@ 3958 3977 else if (argvars[0].v_type != VAR_LIST) 3959 3978 EMSG2(_(e_listdictarg), "remove()"); … … 3964 3983 int error = FALSE; 3965 3984 3966 @@ -14157,11 +142 72,7 @@3985 @@ -14157,11 +14281,7 @@ 3967 3986 typval_T *rettv; 3968 3987 { … … 3976 3995 typval_T *varp; 3977 3996 char_u nbuf[NUMBUFLEN]; 3978 @@ -14178,12 +142 89,7 @@3997 @@ -14178,12 +14298,7 @@ 3979 3998 if (buf != NULL && varname != NULL && varp != NULL) 3980 3999 { … … 3989 4008 if (*varname == '&') 3990 4009 { 3991 @@ -14210,11 +143 16,7 @@4010 @@ -14210,11 +14325,7 @@ 3992 4011 } 3993 4012 … … 4001 4020 } 4002 4021 4003 @@ -14582,6 +146 84,18 @@4022 @@ -14582,6 +14693,18 @@ 4004 4023 } 4005 4024 … … 4020 4039 */ 4021 4040 static void 4022 @@ -16173,7 +162 87,7 @@4041 @@ -16173,7 +16296,7 @@ 4023 4042 curwin->w_curswant = get_dict_number(dict, (char_u *)"curswant"); 4024 4043 curwin->w_set_curswant = FALSE; … … 4029 4048 curwin->w_topfill = get_dict_number(dict, (char_u *)"topfill"); 4030 4049 #endif 4031 @@ -16218,6 +163 32,7 @@4050 @@ -16218,6 +16341,7 @@ 4032 4051 #ifdef FEAT_VIRTUALEDIT 4033 4052 dict_add_nr_str(dict, "coladd", (long)curwin->w_cursor.coladd, NULL); … … 4037 4056 4038 4057 dict_add_nr_str(dict, "topline", (long)curwin->w_topline, NULL); 4039 @@ -16438,9 +165 53,12 @@4058 @@ -16438,9 +16562,12 @@ 4040 4059 long i = 0; 4041 4060 long n; … … 4053 4072 4054 4073 if (fnump != NULL) 4055 @@ -16466,8 +165 84,9 @@4074 @@ -16466,8 +16593,9 @@ 4056 4075 #ifdef FEAT_VIRTUALEDIT 4057 4076 n = list_find_nr(l, i, NULL); … … 4065 4084 4066 4085 return OK; 4067 @@ -17759,6 +178 78,13 @@4086 @@ -17759,6 +17887,13 @@ 4068 4087 } 4069 4088 else /* add a new variable */ … … 4079 4098 for (p = varname; *p != NUL; ++p) 4080 4099 if (!eval_isnamec1(*p) && (p == varname || !VIM_ISDIGIT(*p)) 4081 @@ -17792,7 +179 18,7 @@4100 @@ -17792,7 +17927,7 @@ 4082 4101 } 4083 4102 … … 4088 4107 */ 4089 4108 static int 4090 @@ -17814,6 +1794 0,23 @@4109 @@ -17814,6 +17949,23 @@ 4091 4110 } 4092 4111 … … 4112 4131 * Also give an error message, using "name". 4113 4132 */ 4114 @@ -18396,12 +185 39,14 @@4133 @@ -18396,12 +18548,14 @@ 4115 4134 4116 4135 if (!eap->skip) … … 4129 4148 if (*arg == K_SPECIAL) 4130 4149 j = 3; 4131 @@ -18786,6 +189 31,7 @@4150 @@ -18786,6 +18940,7 @@ 4132 4151 if (dict_add(fudi.fd_dict, fudi.fd_di) == FAIL) 4133 4152 { … … 4137 4156 } 4138 4157 } 4139 @@ -18963,7 +191 09,8 @@4158 @@ -18963,7 +19118,8 @@ 4140 4159 else if (lead > 0) 4141 4160 { … … 4147 4166 /* It's "s:" or "<SID>" */ 4148 4167 if (current_SID <= 0) 4149 @@ -19618,6 +197 65,7 @@4168 @@ -19618,6 +19774,7 @@ 4150 4169 char_u *name; 4151 4170 #ifdef FEAT_PROFILE … … 4155 4174 4156 4175 /* If depth of calling is getting too high, don't execute the function */ 4157 @@ -19685,6 +198 33,7 @@4176 @@ -19685,6 +19842,7 @@ 4158 4177 v->di_tv.vval.v_list = &fc.l_varlist; 4159 4178 vim_memset(&fc.l_varlist, 0, sizeof(list_T)); … … 4163 4182 /* 4164 4183 * Set a:firstline to "firstline" and a:lastline to "lastline". 4165 @@ -19761,7 +1991 0,7 @@4184 @@ -19761,7 +19919,7 @@ 4166 4185 if (p_verbose >= 14) 4167 4186 { … … 4172 4191 4173 4192 msg_puts((char_u *)"("); 4174 @@ -19773,8 +199 22,8 @@4193 @@ -19773,8 +19931,8 @@ 4175 4194 msg_outnum((long)argvars[i].vval.v_number); 4176 4195 else … … 4183 4202 vim_free(tofree); 4184 4203 } 4185 @@ -19796,7 +199 45,7 @@4204 @@ -19796,7 +19954,7 @@ 4186 4205 || (fc.caller != NULL && &fc.caller->func->uf_profiling)) 4187 4206 { … … 4192 4211 } 4193 4212 script_prof_save(&wait_start); 4194 @@ -19826,14 +199 75,14 @@4213 @@ -19826,14 +19984,14 @@ 4195 4214 if (do_profiling == PROF_YES && (fp->uf_profiling 4196 4215 || (fc.caller != NULL && &fc.caller->func->uf_profiling))) … … 4213 4232 } 4214 4233 #endif 4215 @@ -19852,13 +200 01,13 @@4234 @@ -19852,13 +20010,13 @@ 4216 4235 else 4217 4236 { … … 4231 4250 diff -Naur vim70.orig/src/ex_cmds2.c vim70/src/ex_cmds2.c 4232 4251 --- vim70.orig/src/ex_cmds2.c 2006-04-17 03:19:07.000000000 -0700 4233 +++ vim70/src/ex_cmds2.c 2006-11-2 1 22:41:36.000000000 -08004252 +++ vim70/src/ex_cmds2.c 2006-11-29 16:09:58.000000000 -0800 4234 4253 @@ -3648,13 +3648,13 @@ 4235 4254 * Return FALSE when not sourcing a file. … … 4252 4271 diff -Naur vim70.orig/src/ex_cmds.c vim70/src/ex_cmds.c 4253 4272 --- vim70.orig/src/ex_cmds.c 2006-04-22 11:56:56.000000000 -0700 4254 +++ vim70/src/ex_cmds.c 2006-11-2 1 22:42:41.000000000 -08004273 +++ vim70/src/ex_cmds.c 2006-11-29 16:10:04.000000000 -0800 4255 4274 @@ -95,7 +95,10 @@ 4256 4275 _("<%s>%s%s %d, Hex %02x, Octal %03o"), … … 4363 4382 diff -Naur vim70.orig/src/ex_cmds.h vim70/src/ex_cmds.h 4364 4383 --- vim70.orig/src/ex_cmds.h 2006-04-07 02:44:46.000000000 -0700 4365 +++ vim70/src/ex_cmds.h 2006-11-2 1 22:39:21.000000000 -08004384 +++ vim70/src/ex_cmds.h 2006-11-29 16:09:53.000000000 -0800 4366 4385 @@ -262,7 +262,7 @@ 4367 4386 EX(CMD_comclear, "comclear", ex_comclear, … … 4375 4394 diff -Naur vim70.orig/src/ex_docmd.c vim70/src/ex_docmd.c 4376 4395 --- vim70.orig/src/ex_docmd.c 2006-05-05 09:33:19.000000000 -0700 4377 +++ vim70/src/ex_docmd.c 2006-11-2 1 22:46:51.000000000 -08004396 +++ vim70/src/ex_docmd.c 2006-11-29 16:10:23.000000000 -0800 4378 4397 @@ -58,9 +58,9 @@ 4379 4398 #endif … … 4683 4702 static frame_T *ses_skipframe __ARGS((frame_T *fr)); 4684 4703 static int ses_do_frame __ARGS((frame_T *fr)); 4685 @@ -9655,8 +9673, 8@@4704 @@ -9655,8 +9673,9 @@ 4686 4705 win_T *wp; 4687 4706 char_u *sname; … … 4690 4709 int tabnr; 4691 4710 + win_T *tab_firstwin; 4711 + frame_T *tab_topframe; 4692 4712 4693 4713 if (ssop_flags & SSOP_BUFFERS) 4694 4714 only_save_windows = FALSE; /* Save ALL buffers */ 4695 @@ -9764,14 +978 2,26@@4715 @@ -9764,14 +9783,33 @@ 4696 4716 /* 4697 4717 * May repeat putting Windows for each tab, when "tabpages" is in … … 4701 4721 */ 4702 4722 + tab_firstwin = firstwin; /* first window in tab page "tabnr" */ 4723 + tab_topframe = topframe; 4703 4724 for (tabnr = 1; ; ++tabnr) 4704 4725 { … … 4715 4736 + break; /* done all tab pages */ 4716 4737 + if (tp == curtab) 4738 + { 4717 4739 + tab_firstwin = firstwin; 4740 + tab_topframe = topframe; 4741 + } 4718 4742 + else 4743 + { 4719 4744 + tab_firstwin = tp->tp_firstwin; 4745 + tab_topframe = tp->tp_topframe; 4746 + } 4720 4747 + if (tabnr > 1) 4721 4748 + need_tabnew = TRUE; … … 4723 4750 4724 4751 /* 4725 @@ -9779,7 +98 09,7 @@4752 @@ -9779,7 +9817,7 @@ 4726 4753 * is aborted we don't end up with a number of useless windows. 4727 4754 * This may have side effects! (e.g., compressed or network file). … … 4732 4759 if (ses_do_win(wp) 4733 4760 && wp->w_buffer->b_ffname != NULL 4734 @@ -9789, 15 +9819,20@@4761 @@ -9789,21 +9827,26 @@ 4735 4762 #endif 4736 4763 ) … … 4754 4781 * Save current window layout. 4755 4782 */ 4756 @@ -9815,7 +9850,7 @@ 4783 if (put_line(fd, "set splitbelow splitright") == FAIL) 4784 return FAIL; 4785 - if (ses_win_rec(fd, topframe) == FAIL) 4786 + if (ses_win_rec(fd, tab_topframe) == FAIL) 4787 return FAIL; 4788 if (!p_sb && put_line(fd, "set nosplitbelow") == FAIL) 4789 return FAIL; 4790 @@ -9815,7 +9858,7 @@ 4757 4791 * Remember the window number of the current window after restoring. 4758 4792 */ … … 4763 4797 if (ses_do_win(wp)) 4764 4798 ++nr; 4765 @@ -9838,13 +98 73,13 @@4799 @@ -9838,13 +9881,13 @@ 4766 4800 */ 4767 4801 if (put_line(fd, "set winheight=1 winwidth=1") == FAIL) … … 4779 4813 if (!ses_do_win(wp)) 4780 4814 continue; 4781 @@ -9865,19 +990 0,17 @@4815 @@ -9865,19 +9908,17 @@ 4782 4816 * Restore window sizes again after jumping around in windows, because 4783 4817 * the current window has a minimum size while others may not. … … 4801 4835 || put_eol(fd) == FAIL) 4802 4836 return FAIL; 4803 @@ -9913,16 +99 46,17 @@4837 @@ -9913,16 +9954,17 @@ 4804 4838 } 4805 4839 … … 4821 4855 if (!ses_do_win(wp)) 4822 4856 continue; 4857 diff -Naur vim70.orig/src/ex_eval.c vim70/src/ex_eval.c 4858 --- vim70.orig/src/ex_eval.c 2006-04-22 12:22:27.000000000 -0700 4859 +++ vim70/src/ex_eval.c 2006-11-29 16:10:23.000000000 -0800 4860 @@ -340,7 +340,7 @@ 4861 4862 /* If no exception is to be thrown or the conversion should be done after 4863 * returning to a previous invocation of do_one_cmd(), do nothing. */ 4864 - if (*msg_list == NULL) 4865 + if (msg_list == NULL || *msg_list == NULL) 4866 return; 4867 4868 if (throw_exception(*msg_list, ET_ERROR, cmdname) == FAIL) 4869 @@ -2026,8 +2026,11 @@ 4870 4871 /* If an error was about to be converted to an exception when 4872 * enter_cleanup() was called, free the message list. */ 4873 - free_msglist(*msg_list); 4874 - *msg_list = NULL; 4875 + if (msg_list != NULL) 4876 + { 4877 + free_msglist(*msg_list); 4878 + *msg_list = NULL; 4879 + } 4880 } 4881 4882 /* 4823 4883 diff -Naur vim70.orig/src/ex_getln.c vim70/src/ex_getln.c 4824 4884 --- vim70.orig/src/ex_getln.c 2006-04-30 08:32:01.000000000 -0700 4825 +++ vim70/src/ex_getln.c 2006-11-2 1 22:46:55.000000000 -08004885 +++ vim70/src/ex_getln.c 2006-11-29 16:10:15.000000000 -0800 4826 4886 @@ -34,7 +34,7 @@ 4827 4887 int xp_context; /* type of expansion */ … … 4973 5033 diff -Naur vim70.orig/src/fileio.c vim70/src/fileio.c 4974 5034 --- vim70.orig/src/fileio.c 2006-04-30 08:28:57.000000000 -0700 4975 +++ vim70/src/fileio.c 2006-11-2 1 22:43:36.000000000 -08005035 +++ vim70/src/fileio.c 2006-11-29 16:10:06.000000000 -0800 4976 5036 @@ -316,6 +316,9 @@ 4977 5037 * display the line. */ … … 5095 5155 diff -Naur vim70.orig/src/fold.c vim70/src/fold.c 5096 5156 --- vim70.orig/src/fold.c 2006-04-22 12:35:56.000000000 -0700 5097 +++ vim70/src/fold.c 2006-11-2 1 22:46:21.000000000 -08005157 +++ vim70/src/fold.c 2006-11-29 16:10:14.000000000 -0800 5098 5158 @@ -2971,7 +2971,11 @@ 5099 5159 else … … 5110 5170 diff -Naur vim70.orig/src/getchar.c vim70/src/getchar.c 5111 5171 --- vim70.orig/src/getchar.c 2006-05-03 10:29:21.000000000 -0700 5112 +++ vim70/src/getchar.c 2006-11-2 1 22:44:09.000000000 -08005172 +++ vim70/src/getchar.c 2006-11-29 16:10:08.000000000 -0800 5113 5173 @@ -1451,7 +1451,8 @@ 5114 5174 { … … 5196 5256 diff -Naur vim70.orig/src/globals.h vim70/src/globals.h 5197 5257 --- vim70.orig/src/globals.h 2006-04-30 06:16:23.000000000 -0700 5198 +++ vim70/src/globals.h 2006-11-2 1 22:45:07.000000000 -08005258 +++ vim70/src/globals.h 2006-11-29 16:10:10.000000000 -0800 5199 5259 @@ -166,6 +166,7 @@ 5200 5260 EXTERN int emsg_off INIT(= 0); /* don't display errors for now, … … 5236 5296 diff -Naur vim70.orig/src/gui_at_fs.c vim70/src/gui_at_fs.c 5237 5297 --- vim70.orig/src/gui_at_fs.c 2005-07-09 04:30:17.000000000 -0700 5238 +++ vim70/src/gui_at_fs.c 2006-11-2 1 22:38:33.000000000 -08005298 +++ vim70/src/gui_at_fs.c 2006-11-29 16:09:50.000000000 -0800 5239 5299 @@ -1861,27 +1861,27 @@ 5240 5300 XtPointer pnew; … … 5352 5412 diff -Naur vim70.orig/src/gui_beval.c vim70/src/gui_beval.c 5353 5413 --- vim70.orig/src/gui_beval.c 2006-05-04 12:29:51.000000000 -0700 5354 +++ vim70/src/gui_beval.c 2006-11-2 1 22:41:36.000000000 -08005414 +++ vim70/src/gui_beval.c 2006-11-29 16:09:58.000000000 -0800 5355 5415 @@ -926,7 +926,7 @@ 5356 5416 # define IS_NONPRINTABLE(c) (((c) < 0x20 && (c) != TAB && (c) != NL) \ … … 5391 5451 diff -Naur vim70.orig/src/gui.c vim70/src/gui.c 5392 5452 --- vim70.orig/src/gui.c 2006-05-03 04:00:59.000000000 -0700 5393 +++ vim70/src/gui.c 2006-11-2 1 22:45:00.000000000 -08005453 +++ vim70/src/gui.c 2006-11-29 16:10:10.000000000 -0800 5394 5454 @@ -187,9 +187,10 @@ 5395 5455 #endif … … 5494 5554 diff -Naur vim70.orig/src/gui_gtk.c vim70/src/gui_gtk.c 5495 5555 --- vim70.orig/src/gui_gtk.c 2006-05-05 04:52:52.000000000 -0700 5496 +++ vim70/src/gui_gtk.c 2006-11-2 1 22:46:12.000000000 -08005556 +++ vim70/src/gui_gtk.c 2006-11-29 16:10:13.000000000 -0800 5497 5557 @@ -957,15 +957,15 @@ 5498 5558 get_menu_position(vimmenu_T *menu) … … 5592 5652 diff -Naur vim70.orig/src/gui_gtk_x11.c vim70/src/gui_gtk_x11.c 5593 5653 --- vim70.orig/src/gui_gtk_x11.c 2006-05-04 23:58:59.000000000 -0700 5594 +++ vim70/src/gui_gtk_x11.c 2006-11-2 1 22:41:36.000000000 -08005654 +++ vim70/src/gui_gtk_x11.c 2006-11-29 16:09:58.000000000 -0800 5595 5655 @@ -3233,12 +3233,12 @@ 5596 5656 on_select_tab( … … 5657 5717 diff -Naur vim70.orig/src/gui_xmebw.c vim70/src/gui_xmebw.c 5658 5718 --- vim70.orig/src/gui_xmebw.c 2006-04-30 08:32:32.000000000 -0700 5659 +++ vim70/src/gui_xmebw.c 2006-11-2 1 22:46:14.000000000 -08005719 +++ vim70/src/gui_xmebw.c 2006-11-29 16:10:13.000000000 -0800 5660 5720 @@ -47,13 +47,13 @@ 5661 5721 #include "gui_xmebwp.h" … … 5786 5846 diff -Naur vim70.orig/src/hardcopy.c vim70/src/hardcopy.c 5787 5847 --- vim70.orig/src/hardcopy.c 2006-05-04 03:09:58.000000000 -0700 5788 +++ vim70/src/hardcopy.c 2006-11-2 1 22:41:36.000000000 -08005848 +++ vim70/src/hardcopy.c 2006-11-29 16:09:58.000000000 -0800 5789 5849 @@ -1794,29 +1794,27 @@ 5790 5850 static int … … 5889 5949 diff -Naur vim70.orig/src/if_cscope.c vim70/src/if_cscope.c 5890 5950 --- vim70.orig/src/if_cscope.c 2006-04-18 01:54:15.000000000 -0700 5891 +++ vim70/src/if_cscope.c 2006-11-2 1 22:46:59.000000000 -08005951 +++ vim70/src/if_cscope.c 2006-11-29 16:10:15.000000000 -0800 5892 5952 @@ -989,8 +989,7 @@ 5893 5953 { … … 6006 6066 diff -Naur vim70.orig/src/if_perl.xs vim70/src/if_perl.xs 6007 6067 --- vim70.orig/src/if_perl.xs 2006-03-06 10:57:16.000000000 -0800 6008 +++ vim70/src/if_perl.xs 2006-11-2 1 22:40:59.000000000 -08006068 +++ vim70/src/if_perl.xs 2006-11-29 16:09:56.000000000 -0800 6009 6069 @@ -155,8 +155,8 @@ 6010 6070 static int (*perl_run)(PerlInterpreter*); … … 6121 6181 diff -Naur vim70.orig/src/if_python.c vim70/src/if_python.c 6122 6182 --- vim70.orig/src/if_python.c 2006-04-30 08:31:36.000000000 -0700 6123 +++ vim70/src/if_python.c 2006-11-2 1 22:44:02.000000000 -08006183 +++ vim70/src/if_python.c 2006-11-29 16:10:08.000000000 -0800 6124 6184 @@ -1463,7 +1463,7 @@ 6125 6185 if (this->buf && this->buf != INVALID_BUFFER_VALUE) … … 6160 6220 diff -Naur vim70.orig/src/if_ruby.c vim70/src/if_ruby.c 6161 6221 --- vim70.orig/src/if_ruby.c 2006-04-30 08:37:52.000000000 -0700 6162 +++ vim70/src/if_ruby.c 2006-11-2 1 22:40:59.000000000 -08006222 +++ vim70/src/if_ruby.c 2006-11-29 16:09:56.000000000 -0800 6163 6223 @@ -643,11 +643,14 @@ 6164 6224 … … 6275 6335 diff -Naur vim70.orig/src/macros.h vim70/src/macros.h 6276 6336 --- vim70.orig/src/macros.h 2006-03-01 04:01:10.000000000 -0800 6277 +++ vim70/src/macros.h 2006-11-2 1 22:42:33.000000000 -08006337 +++ vim70/src/macros.h 2006-11-29 16:10:04.000000000 -0800 6278 6338 @@ -276,3 +276,9 @@ 6279 6339 # define MB_CHARLEN(p) STRLEN(p) … … 6288 6348 diff -Naur vim70.orig/src/main.c vim70/src/main.c 6289 6349 --- vim70.orig/src/main.c 2006-05-03 10:36:44.000000000 -0700 6290 +++ vim70/src/main.c 2006-11-2 1 22:46:44.000000000 -08006350 +++ vim70/src/main.c 2006-11-29 16:10:15.000000000 -0800 6291 6351 @@ -564,7 +564,11 @@ 6292 6352 */ … … 6482 6542 diff -Naur vim70.orig/src/Makefile vim70/src/Makefile 6483 6543 --- vim70.orig/src/Makefile 2006-05-07 06:25:27.000000000 -0700 6484 +++ vim70/src/Makefile 2006-11-2 1 22:42:08.000000000 -08006544 +++ vim70/src/Makefile 2006-11-29 16:10:01.000000000 -0800 6485 6545 @@ -2177,6 +2177,7 @@ 6486 6546 cd $(SHADOWDIR)/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* . … … 6502 6562 diff -Naur vim70.orig/src/mbyte.c vim70/src/mbyte.c 6503 6563 --- vim70.orig/src/mbyte.c 2006-04-30 04:51:01.000000000 -0700 6504 +++ vim70/src/mbyte.c 2006-11-2 1 22:41:36.000000000 -08006564 +++ vim70/src/mbyte.c 2006-11-29 16:09:58.000000000 -0800 6505 6565 @@ -311,7 +311,11 @@ 6506 6566 … … 6584 6644 diff -Naur vim70.orig/src/memfile.c vim70/src/memfile.c 6585 6645 --- vim70.orig/src/memfile.c 2006-03-06 00:59:15.000000000 -0800 6586 +++ vim70/src/memfile.c 2006-11-2 1 22:46:36.000000000 -08006646 +++ vim70/src/memfile.c 2006-11-29 16:10:14.000000000 -0800 6587 6647 @@ -517,7 +517,7 @@ 6588 6648 mf_ins_free(mfp, hp); /* put *hp in the free list */ … … 6641 6701 diff -Naur vim70.orig/src/memline.c vim70/src/memline.c 6642 6702 --- vim70.orig/src/memline.c 2006-04-20 14:00:21.000000000 -0700 6643 +++ vim70/src/memline.c 2006-11-2 1 22:47:07.000000000 -08006703 +++ vim70/src/memline.c 2006-11-29 16:10:15.000000000 -0800 6644 6704 @@ -215,7 +215,7 @@ 6645 6705 #define ML_FLUSH 0x02 /* flush locked block */ … … 6725 6785 diff -Naur vim70.orig/src/menu.c vim70/src/menu.c 6726 6786 --- vim70.orig/src/menu.c 2006-05-03 10:30:48.000000000 -0700 6727 +++ vim70/src/menu.c 2006-11-2 1 22:41:07.000000000 -08006787 +++ vim70/src/menu.c 2006-11-29 16:09:56.000000000 -0800 6728 6788 @@ -511,6 +511,14 @@ 6729 6789 * name (without mnemonic and accelerator text). */ … … 6802 6862 diff -Naur vim70.orig/src/message.c vim70/src/message.c 6803 6863 --- vim70.orig/src/message.c 2006-05-06 13:07:37.000000000 -0700 6804 +++ vim70/src/message.c 2006-11-2 1 22:45:07.000000000 -08006864 +++ vim70/src/message.c 2006-11-29 16:10:10.000000000 -0800 6805 6865 @@ -53,7 +53,6 @@ 6806 6866 static struct msg_hist *first_msg_hist = NULL; … … 6855 6915 diff -Naur vim70.orig/src/misc1.c vim70/src/misc1.c 6856 6916 --- vim70.orig/src/misc1.c 2006-04-30 08:30:02.000000000 -0700 6857 +++ vim70/src/misc1.c 2006-11-2 1 22:46:04.000000000 -08006917 +++ vim70/src/misc1.c 2006-11-29 16:10:13.000000000 -0800 6858 6918 @@ -1761,15 +1761,13 @@ 6859 6919 * Add column offset for 'number', 'foldcolumn', etc. … … 6970 7030 diff -Naur vim70.orig/src/misc2.c vim70/src/misc2.c 6971 7031 --- vim70.orig/src/misc2.c 2006-05-04 05:12:38.000000000 -0700 6972 +++ vim70/src/misc2.c 2006-11-2 1 22:43:59.000000000 -08007032 +++ vim70/src/misc2.c 2006-11-29 16:10:08.000000000 -0800 6973 7033 @@ -1229,6 +1229,94 @@ 6974 7034 return escaped_string; … … 7068 7128 diff -Naur vim70.orig/src/netbeans.c vim70/src/netbeans.c 7069 7129 --- vim70.orig/src/netbeans.c 2006-04-22 11:00:05.000000000 -0700 7070 +++ vim70/src/netbeans.c 2006-11-2 1 22:46:48.000000000 -08007130 +++ vim70/src/netbeans.c 2006-11-29 16:10:15.000000000 -0800 7071 7131 @@ -61,7 +61,7 @@ 7072 7132 … … 7277 7337 diff -Naur vim70.orig/src/normal.c vim70/src/normal.c 7278 7338 --- vim70.orig/src/normal.c 2006-04-29 06:11:18.000000000 -0700 7279 +++ vim70/src/normal.c 2006-11-2 1 22:46:40.000000000 -08007339 +++ vim70/src/normal.c 2006-11-29 16:10:15.000000000 -0800 7280 7340 @@ -1477,14 +1477,17 @@ 7281 7341 } … … 7364 7424 diff -Naur vim70.orig/src/ops.c vim70/src/ops.c 7365 7425 --- vim70.orig/src/ops.c 2006-04-30 08:13:44.000000000 -0700 7366 +++ vim70/src/ops.c 2006-11-2 1 22:46:40.000000000 -08007426 +++ vim70/src/ops.c 2006-11-29 16:10:15.000000000 -0800 7367 7427 @@ -95,8 +95,8 @@ 7368 7428 static void block_insert __ARGS((oparg_T *oap, char_u *s, int b_insert, struct block_def*bdp)); … … 7564 7624 diff -Naur vim70.orig/src/option.c vim70/src/option.c 7565 7625 --- vim70.orig/src/option.c 2006-05-03 10:32:28.000000000 -0700 7566 +++ vim70/src/option.c 2006-11-2 1 22:45:40.000000000 -08007626 +++ vim70/src/option.c 2006-11-29 16:10:11.000000000 -0800 7567 7627 @@ -2294,7 +2294,7 @@ 7568 7628 {(char_u *)0L, (char_u *)0L} … … 7680 7740 diff -Naur vim70.orig/src/os_unix.c vim70/src/os_unix.c 7681 7741 --- vim70.orig/src/os_unix.c 2006-05-01 01:13:15.000000000 -0700 7682 +++ vim70/src/os_unix.c 2006-11-2 1 22:41:36.000000000 -08007742 +++ vim70/src/os_unix.c 2006-11-29 16:09:58.000000000 -0800 7683 7743 @@ -3934,7 +3934,7 @@ 7684 7744 { … … 7739 7799 diff -Naur vim70.orig/src/popupmnu.c vim70/src/popupmnu.c 7740 7800 --- vim70.orig/src/popupmnu.c 2006-04-20 13:18:37.000000000 -0700 7741 +++ vim70/src/popupmnu.c 2006-11-2 1 22:41:18.000000000 -08007801 +++ vim70/src/popupmnu.c 2006-11-29 16:09:57.000000000 -0800 7742 7802 @@ -552,6 +552,9 @@ 7743 7803 { … … 7752 7812 diff -Naur vim70.orig/src/proto/buffer.pro vim70/src/proto/buffer.pro 7753 7813 --- vim70.orig/src/proto/buffer.pro 2006-05-07 06:08:29.000000000 -0700 7754 +++ vim70/src/proto/buffer.pro 2006-11-2 1 22:42:33.000000000 -08007814 +++ vim70/src/proto/buffer.pro 2006-11-29 16:10:04.000000000 -0800 7755 7815 @@ -10,6 +10,7 @@ 7756 7816 extern int do_buffer __ARGS((int action, int start, int dir, int count, int forceit)); … … 7763 7823 diff -Naur vim70.orig/src/proto/eval.pro vim70/src/proto/eval.pro 7764 7824 --- vim70.orig/src/proto/eval.pro 2006-05-07 06:08:33.000000000 -0700 7765 +++ vim70/src/proto/eval.pro 2006-11-2 1 22:45:14.000000000 -08007825 +++ vim70/src/proto/eval.pro 2006-11-29 16:10:10.000000000 -0800 7766 7826 @@ -44,7 +44,7 @@ 7767 7827 extern char_u *get_user_var_name __ARGS((expand_T *xp, int idx)); … … 7775 7835 diff -Naur vim70.orig/src/proto/menu.pro vim70/src/proto/menu.pro 7776 7836 --- vim70.orig/src/proto/menu.pro 2006-05-07 06:08:51.000000000 -0700 7777 +++ vim70/src/proto/menu.pro 2006-11-2 1 22:41:07.000000000 -08007837 +++ vim70/src/proto/menu.pro 2006-11-29 16:09:56.000000000 -0800 7778 7838 @@ -10,6 +10,7 @@ 7779 7839 extern int menu_is_child_of_popup __ARGS((vimmenu_T *menu)); … … 7786 7846 diff -Naur vim70.orig/src/proto/misc2.pro vim70/src/proto/misc2.pro 7787 7847 --- vim70.orig/src/proto/misc2.pro 2006-05-07 06:08:54.000000000 -0700 7788 +++ vim70/src/proto/misc2.pro 2006-11-2 1 22:43:59.000000000 -08007848 +++ vim70/src/proto/misc2.pro 2006-11-29 16:10:08.000000000 -0800 7789 7849 @@ -29,6 +29,7 @@ 7790 7850 extern char_u *vim_strnsave __ARGS((char_u *string, int len)); … … 7797 7857 diff -Naur vim70.orig/src/proto/ops.pro vim70/src/proto/ops.pro 7798 7858 --- vim70.orig/src/proto/ops.pro 2006-05-07 06:08:58.000000000 -0700 7799 +++ vim70/src/proto/ops.pro 2006-11-2 1 22:46:40.000000000 -08007859 +++ vim70/src/proto/ops.pro 2006-11-29 16:10:15.000000000 -0800 7800 7860 @@ -17,10 +17,10 @@ 7801 7861 extern void put_register __ARGS((int name, void *reg)); … … 7813 7873 diff -Naur vim70.orig/src/proto/undo.pro vim70/src/proto/undo.pro 7814 7874 --- vim70.orig/src/proto/undo.pro 2006-05-07 06:09:11.000000000 -0700 7815 +++ vim70/src/proto/undo.pro 2006-11-2 1 22:39:46.000000000 -08007875 +++ vim70/src/proto/undo.pro 2006-11-29 16:09:53.000000000 -0800 7816 7876 @@ -4,6 +4,7 @@ 7817 7877 extern int u_savesub __ARGS((linenr_T lnum)); … … 7824 7884 diff -Naur vim70.orig/src/quickfix.c vim70/src/quickfix.c 7825 7885 --- vim70.orig/src/quickfix.c 2006-05-03 00:47:42.000000000 -0700 7826 +++ vim70/src/quickfix.c 2006-11-2 1 22:45:51.000000000 -08007886 +++ vim70/src/quickfix.c 2006-11-29 16:10:12.000000000 -0800 7827 7887 @@ -500,8 +500,6 @@ 7828 7888 { … … 8079 8139 diff -Naur vim70.orig/src/regexp.c vim70/src/regexp.c 8080 8140 --- vim70.orig/src/regexp.c 2006-04-30 08:31:50.000000000 -0700 8081 +++ vim70/src/regexp.c 2006-11-2 1 22:45:44.000000000 -08008141 +++ vim70/src/regexp.c 2006-11-29 16:10:12.000000000 -0800 8082 8142 @@ -3777,8 +3777,8 @@ 8083 8143 … … 8216 8276 diff -Naur vim70.orig/src/screen.c vim70/src/screen.c 8217 8277 --- vim70.orig/src/screen.c 2006-05-05 03:13:55.000000000 -0700 8218 +++ vim70/src/screen.c 2006-11-21 22:44:38.000000000 -0800 8219 @@ -1228,7 +1228,14 @@ 8278 +++ vim70/src/screen.c 2006-11-29 16:10:15.000000000 -0800 8279 @@ -455,6 +455,7 @@ 8280 && curwin->w_topline == curwin->w_lines[0].wl_lnum) 8281 #ifdef FEAT_VISUAL 8282 || (type == INVERTED 8283 + && VIsual_active 8284 && curwin->w_old_cursor_lnum == curwin->w_cursor.lnum 8285 && curwin->w_old_visual_mode == VIsual_mode 8286 && (curwin->w_valid & VALID_VIRTCOL) 8287 @@ -1228,7 +1229,14 @@ 8220 8288 { 8221 8289 mid_end = wp->w_height; … … 8232 8300 } 8233 8301 else 8234 @@ -2612,7 +26 19,8 @@8302 @@ -2612,7 +2620,8 @@ 8235 8303 #ifdef FEAT_LINEBREAK 8236 8304 int need_showbreak = FALSE; … … 8242 8310 int line_attr = 0; /* atrribute for the whole line */ 8243 8311 #endif 8244 @@ -2626,7 +263 4,7 @@8312 @@ -2626,7 +2635,7 @@ 8245 8313 int prev_c = 0; /* previous Arabic character */ 8246 8314 int prev_c1 = 0; /* first composing char for prev_c */ … … 8251 8319 #endif 8252 8320 8253 @@ -4116,17 +412 4,12 @@8321 @@ -4116,17 +4125,12 @@ 8254 8322 --ptr; /* put it back at the NUL */ 8255 8323 } … … 8271 8339 # ifdef FEAT_RIGHTLEFT 8272 8340 wp->w_p_rl ? (col >= 0) : 8273 @@ -4237,7 +424 0,7 @@8341 @@ -4237,7 +4241,7 @@ 8274 8342 * At end of the text line or just after the last character. 8275 8343 */ … … 8280 8348 #endif 8281 8349 ) 8282 @@ -4258,7 +426 1,7 @@8350 @@ -4258,7 +4262,7 @@ 8283 8351 || prevcol == (long)match_hl[0].startcol 8284 8352 || prevcol == (long)match_hl[1].startcol … … 8289 8357 # endif 8290 8358 ) 8291 @@ -5076,15 +50 79,38 @@8359 @@ -5076,15 +5080,38 @@ 8292 8360 * character too. If we didn't skip any blanks above, then we 8293 8361 * only redraw if the character wasn't already redrawn anyway. … … 8334 8402 #endif 8335 8403 screen_fill(row, row + 1, col + coloff, clear_width + coloff, 8336 @@ -7103,7 +71 29,7 @@8404 @@ -7103,7 +7130,7 @@ 8337 8405 tabpage_T *tp; 8338 8406 #endif … … 8343 8411 /* 8344 8412 * Allocation of the screen buffers is done only when the size changes and 8345 @@ -7133,6 +71 59,12 @@8413 @@ -7133,6 +7160,12 @@ 8346 8414 return; 8347 8415 entered = TRUE; … … 8356 8424 8357 8425 comp_col(); /* recompute columns for shown command and ruler */ 8358 @@ -7205,14 +723 7,14 @@8426 @@ -7205,14 +7238,14 @@ 8359 8427 #endif 8360 8428 || outofmem) … … 8373 8441 vim_free(new_ScreenLines); 8374 8442 new_ScreenLines = NULL; 8375 @@ -7240,7 +727 2,7 @@8443 @@ -7240,7 +7273,7 @@ 8376 8444 } 8377 8445 else … … 8382 8450 for (new_row = 0; new_row < Rows; ++new_row) 8383 8451 { 8384 @@ -7367,6 +7 399,7 @@8452 @@ -7367,6 +7400,7 @@ 8385 8453 #endif 8386 8454 … … 8392 8460 diff -Naur vim70.orig/src/search.c vim70/src/search.c 8393 8461 --- vim70.orig/src/search.c 2006-05-05 05:12:13.000000000 -0700 8394 +++ vim70/src/search.c 2006-11-2 1 22:45:07.000000000 -08008462 +++ vim70/src/search.c 2006-11-29 16:10:10.000000000 -0800 8395 8463 @@ -1259,7 +1259,7 @@ 8396 8464 /* … … 8449 8517 diff -Naur vim70.orig/src/spell.c vim70/src/spell.c 8450 8518 --- vim70.orig/src/spell.c 2006-05-05 00:49:58.000000000 -0700 8451 +++ vim70/src/spell.c 2006-11-2 1 22:43:32.000000000 -08008519 +++ vim70/src/spell.c 2006-11-29 16:10:06.000000000 -0800 8452 8520 @@ -1483,7 +1483,7 @@ 8453 8521 else if ((mode == FIND_COMPOUND || mode == FIND_KEEPCOMPOUND … … 8780 8848 diff -Naur vim70.orig/src/structs.h vim70/src/structs.h 8781 8849 --- vim70.orig/src/structs.h 2006-04-09 10:57:46.000000000 -0700 8782 +++ vim70/src/structs.h 2006-11-2 1 22:40:59.000000000 -08008850 +++ vim70/src/structs.h 2006-11-29 16:09:56.000000000 -0800 8783 8851 @@ -2213,18 +2213,20 @@ 8784 8852 … … 8806 8874 diff -Naur vim70.orig/src/syntax.c vim70/src/syntax.c 8807 8875 --- vim70.orig/src/syntax.c 2006-04-26 05:49:45.000000000 -0700 8808 +++ vim70/src/syntax.c 2006-11-2 1 22:46:21.000000000 -08008876 +++ vim70/src/syntax.c 2006-11-29 16:10:14.000000000 -0800 8809 8877 @@ -977,6 +977,7 @@ 8810 8878 { … … 8910 8978 diff -Naur vim70.orig/src/tag.c vim70/src/tag.c 8911 8979 --- vim70.orig/src/tag.c 2006-04-27 06:11:21.000000000 -0700 8912 +++ vim70/src/tag.c 2006-11-2 1 22:45:14.000000000 -08008980 +++ vim70/src/tag.c 2006-11-29 16:10:10.000000000 -0800 8913 8981 @@ -911,7 +911,7 @@ 8914 8982 … … 8952 9020 diff -Naur vim70.orig/src/term.c vim70/src/term.c 8953 9021 --- vim70.orig/src/term.c 2006-05-03 10:34:57.000000000 -0700 8954 +++ vim70/src/term.c 2006-11-2 1 22:46:08.000000000 -08009022 +++ vim70/src/term.c 2006-11-29 16:10:13.000000000 -0800 8955 9023 @@ -3137,25 +3137,32 @@ 8956 9024 screenalloc(FALSE); … … 9016 9084 diff -Naur vim70.orig/src/testdir/test56.in vim70/src/testdir/test56.in 9017 9085 --- vim70.orig/src/testdir/test56.in 2005-05-18 08:37:37.000000000 -0700 9018 +++ vim70/src/testdir/test56.in 2006-11-2 1 22:42:26.000000000 -08009086 +++ vim70/src/testdir/test56.in 2006-11-29 16:10:03.000000000 -0800 9019 9087 @@ -3,7 +3,7 @@ 9020 9088 STARTTEST … … 9028 9096 diff -Naur vim70.orig/src/ui.c vim70/src/ui.c 9029 9097 --- vim70.orig/src/ui.c 2006-03-27 11:15:09.000000000 -0800 9030 +++ vim70/src/ui.c 2006-11-2 1 22:41:36.000000000 -08009098 +++ vim70/src/ui.c 2006-11-29 16:09:59.000000000 -0800 9031 9099 @@ -1137,7 +1137,6 @@ 9032 9100 int len; … … 9048 9116 diff -Naur vim70.orig/src/undo.c vim70/src/undo.c 9049 9117 --- vim70.orig/src/undo.c 2006-04-21 02:30:59.000000000 -0700 9050 +++ vim70/src/undo.c 2006-11-2 1 22:41:36.000000000 -08009118 +++ vim70/src/undo.c 2006-11-29 16:09:59.000000000 -0800 9051 9119 @@ -84,7 +84,6 @@ 9052 9120 static void u_unch_branch __ARGS((u_header_T *uhp)); … … 9113 9181 diff -Naur vim70.orig/src/version.c vim70/src/version.c 9114 9182 --- vim70.orig/src/version.c 2006-05-03 00:50:42.000000000 -0700 9115 +++ vim70/src/version.c 2006-11-2 1 22:47:07.000000000 -08009116 @@ -667,6 +667,3 12@@9183 +++ vim70/src/version.c 2006-11-29 16:10:24.000000000 -0800 9184 @@ -667,6 +667,320 @@ 9117 9185 static int included_patches[] = 9118 9186 { /* Add new patch number below this line */ 9119 9187 /**/ 9188 + 174, 9189 +/**/ 9190 + 173, 9191 +/**/ 9192 + 172, 9193 +/**/ 9194 + 169, 9195 +/**/ 9120 9196 + 168, 9121 9197 +/**/ … … 9427 9503 }; 9428 9504 9429 @@ -731,7 +10 37,11 @@9505 @@ -731,7 +1045,11 @@ 9430 9506 /* Only MS VC 4.1 and earlier can do Win32s */ 9431 9507 MSG_PUTS(_("\nMS-Windows 16/32 bit GUI version")); … … 9441 9517 diff -Naur vim70.orig/src/vim.h vim70/src/vim.h 9442 9518 --- vim70.orig/src/vim.h 2006-04-30 08:32:38.000000000 -0700 9443 +++ vim70/src/vim.h 2006-11-2 1 22:46:26.000000000 -08009519 +++ vim70/src/vim.h 2006-11-29 16:10:14.000000000 -0800 9444 9520 @@ -585,7 +585,6 @@ 9445 9521 #define INSERT 0x10 /* Insert mode */ … … 9482 9558 diff -Naur vim70.orig/src/window.c vim70/src/window.c 9483 9559 --- vim70.orig/src/window.c 2006-05-06 03:54:51.000000000 -0700 9484 +++ vim70/src/window.c 2006-11-2 1 22:47:07.000000000 -08009560 +++ vim70/src/window.c 2006-11-29 16:10:15.000000000 -0800 9485 9561 @@ -340,10 +340,10 @@ 9486 9562 { … … 9615 9691 hasFoldingWin(wp, lnum, &lnum, NULL, TRUE, NULL); 9616 9692 if (lnum == 1) 9617
Note:
See TracChangeset
for help on using the changeset viewer.