Changeset 1e1873cf for patches/vim-7.2-branch_update-12.patch
- Timestamp:
- Mar 23, 2009, 12:16:20 AM (15 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- b69b7ec
- Parents:
- 78ffc068
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/vim-7.2-branch_update-12.patch
r78ffc068 r1e1873cf 1 1 Submitted By: Jim Gifford (jim at cross-lfs dot org) 2 Date: 03- 12-20092 Date: 03-22-2009 3 3 Initial Package Version: 7.2 4 4 Origin: Upstream 5 5 Upstream Status: Applied 6 Description: Contains all upstream patches up to 7.2.14 16 Description: Contains all upstream patches up to 7.2.148 7 7 The following patches were skipped 8 8 007 036 041 049 071 072 074 088 089 093 101 138 … … 10 10 diff -Naur vim72.orig/Filelist vim72/Filelist 11 11 --- vim72.orig/Filelist 2008-07-06 11:02:23.000000000 -0700 12 +++ vim72/Filelist 2009-03- 12 11:54:40.397486521-070012 +++ vim72/Filelist 2009-03-22 21:27:50.249298785 -0700 13 13 @@ -285,6 +285,7 @@ 14 14 src/proto/os_win32.pro \ … … 21 21 diff -Naur vim72.orig/runtime/doc/cmdline.txt vim72/runtime/doc/cmdline.txt 22 22 --- vim72.orig/runtime/doc/cmdline.txt 2008-08-09 07:22:59.000000000 -0700 23 +++ vim72/runtime/doc/cmdline.txt 2009-03- 12 11:54:40.529493784-070023 +++ vim72/runtime/doc/cmdline.txt 2009-03-22 21:28:12.878748987 -0700 24 24 @@ -1,4 +1,4 @@ 25 25 -*cmdline.txt* For Vim version 7.2. Last change: 2008 Jul 29 … … 80 80 diff -Naur vim72.orig/runtime/doc/eval.txt vim72/runtime/doc/eval.txt 81 81 --- vim72.orig/runtime/doc/eval.txt 2008-08-09 07:22:59.000000000 -0700 82 +++ vim72/runtime/doc/eval.txt 2009-03- 12 11:54:50.318122364-070082 +++ vim72/runtime/doc/eval.txt 2009-03-22 21:29:41.424424361 -0700 83 83 @@ -1,4 +1,4 @@ 84 84 -*eval.txt* For Vim version 7.2. Last change: 2008 Aug 09 … … 198 198 multi_lang Compiled with support for multiple languages. 199 199 mzscheme Compiled with MzScheme interface |mzscheme|. 200 diff -Naur vim72.orig/runtime/doc/if_cscop.txt vim72/runtime/doc/if_cscop.txt 201 --- vim72.orig/runtime/doc/if_cscop.txt 2008-08-09 07:22:59.000000000 -0700 202 +++ vim72/runtime/doc/if_cscop.txt 2009-03-22 21:32:56.384915491 -0700 203 @@ -1,4 +1,4 @@ 204 -*if_cscop.txt* For Vim version 7.2. Last change: 2005 Mar 29 205 +*if_cscop.txt* For Vim version 7.2. Last change: 2009 Mar 18 206 207 208 VIM REFERENCE MANUAL by Andy Kahn 209 @@ -131,11 +131,22 @@ 210 7 or f: Find this file 211 8 or i: Find files #including this file 212 213 + For all types, except 4 and 6, leading white space for {name} is 214 + removed. For 4 and 6 there is exactly one space between {querytype} 215 + and {name}. Further white space is included in {name}. 216 + 217 EXAMPLES > 218 :cscope find c vim_free 219 - :cscope find 3 vim_free 220 + :cscope find 3 vim_free 221 +< 222 + These two examples perform the same query: functions calling 223 + "vim_free". > 224 + 225 + :cscope find t initOnce 226 + :cscope find t initOnce 227 < 228 - These two examples perform the same query. > 229 + The first one searches for the text "initOnce", the second one for 230 + " initOnce". > 231 232 :cscope find 0 DEFAULT_TERM 233 < 200 234 diff -Naur vim72.orig/runtime/doc/netbeans.txt vim72/runtime/doc/netbeans.txt 201 235 --- vim72.orig/runtime/doc/netbeans.txt 2008-08-09 07:22:59.000000000 -0700 202 +++ vim72/runtime/doc/netbeans.txt 2009-03- 12 11:54:59.850731108-0700236 +++ vim72/runtime/doc/netbeans.txt 2009-03-22 21:30:13.574484705 -0700 203 237 @@ -1,4 +1,4 @@ 204 238 -*netbeans.txt* For Vim version 7.2. Last change: 2008 Jun 28 … … 222 256 diff -Naur vim72.orig/runtime/doc/options.txt vim72/runtime/doc/options.txt 223 257 --- vim72.orig/runtime/doc/options.txt 2008-08-09 07:22:59.000000000 -0700 224 +++ vim72/runtime/doc/options.txt 2009-03- 12 11:55:13.407601900-0700258 +++ vim72/runtime/doc/options.txt 2009-03-22 21:31:27.231204917 -0700 225 259 @@ -1,4 +1,4 @@ 226 260 -*options.txt* For Vim version 7.2. Last change: 2008 Aug 06 … … 253 287 diff -Naur vim72.orig/runtime/doc/spell.txt vim72/runtime/doc/spell.txt 254 288 --- vim72.orig/runtime/doc/spell.txt 2008-08-09 07:23:00.000000000 -0700 255 +++ vim72/runtime/doc/spell.txt 2009-03- 12 11:54:50.218113983-0700289 +++ vim72/runtime/doc/spell.txt 2009-03-22 21:29:26.755482609 -0700 256 290 @@ -1,4 +1,4 @@ 257 291 -*spell.txt* For Vim version 7.2. Last change: 2008 Jun 21 … … 383 417 diff -Naur vim72.orig/runtime/doc/starting.txt vim72/runtime/doc/starting.txt 384 418 --- vim72.orig/runtime/doc/starting.txt 2008-08-09 07:23:00.000000000 -0700 385 +++ vim72/runtime/doc/starting.txt 2009-03- 12 11:54:40.533495740-0700419 +++ vim72/runtime/doc/starting.txt 2009-03-22 21:28:12.882751502 -0700 386 420 @@ -1,4 +1,4 @@ 387 421 -*starting.txt* For Vim version 7.2. Last change: 2008 Jun 21 … … 445 479 diff -Naur vim72.orig/runtime/doc/usr_21.txt vim72/runtime/doc/usr_21.txt 446 480 --- vim72.orig/runtime/doc/usr_21.txt 2008-08-09 07:23:01.000000000 -0700 447 +++ vim72/runtime/doc/usr_21.txt 2009-03- 12 11:54:40.533495740-0700481 +++ vim72/runtime/doc/usr_21.txt 2009-03-22 21:28:12.882751502 -0700 448 482 @@ -1,4 +1,4 @@ 449 483 -*usr_21.txt* For Vim version 7.2. Last change: 2007 May 01 … … 512 546 diff -Naur vim72.orig/runtime/scripts.vim vim72/runtime/scripts.vim 513 547 --- vim72.orig/runtime/scripts.vim 2008-08-08 15:27:21.000000000 -0700 514 +++ vim72/runtime/scripts.vim 2009-03- 12 11:54:28.900750105-0700548 +++ vim72/runtime/scripts.vim 2009-03-22 21:27:09.826708758 -0700 515 549 @@ -234,6 +234,10 @@ 516 550 elseif s:line1 =~ '\<DTD\s\+XHTML\s' … … 526 560 diff -Naur vim72.orig/src/auto/configure vim72/src/auto/configure 527 561 --- vim72.orig/src/auto/configure 2008-07-24 05:40:36.000000000 -0700 528 +++ vim72/src/auto/configure 2009-03- 12 11:55:13.667618383-0700562 +++ vim72/src/auto/configure 2009-03-22 21:32:18.746505099 -0700 529 563 @@ -11565,6 +11565,67 @@ 530 564 … … 635 669 diff -Naur vim72.orig/src/buffer.c vim72/src/buffer.c 636 670 --- vim72.orig/src/buffer.c 2008-08-06 04:00:48.000000000 -0700 637 +++ vim72/src/buffer.c 2009-03- 12 11:55:13.507605811-0700671 +++ vim72/src/buffer.c 2009-03-22 21:31:46.680450343 -0700 638 672 @@ -437,10 +437,6 @@ 639 673 return; … … 763 797 diff -Naur vim72.orig/src/config.h.in vim72/src/config.h.in 764 798 --- vim72.orig/src/config.h.in 2008-06-21 08:01:41.000000000 -0700 765 +++ vim72/src/config.h.in 2009-03- 12 11:55:13.667618383-0700799 +++ vim72/src/config.h.in 2009-03-22 21:32:18.746505099 -0700 766 800 @@ -50,6 +50,9 @@ 767 801 /* Define to empty if the keyword does not work. */ … … 776 810 diff -Naur vim72.orig/src/configure.in vim72/src/configure.in 777 811 --- vim72.orig/src/configure.in 2008-07-24 05:40:26.000000000 -0700 778 +++ vim72/src/configure.in 2009-03- 12 11:55:13.667618383-0700812 +++ vim72/src/configure.in 2009-03-22 21:32:18.746505099 -0700 779 813 @@ -2148,6 +2148,7 @@ 780 814 dnl Checks for typedefs, structures, and compiler characteristics. … … 819 853 diff -Naur vim72.orig/src/diff.c vim72/src/diff.c 820 854 --- vim72.orig/src/diff.c 2008-03-05 03:16:56.000000000 -0800 821 +++ vim72/src/diff.c 2009-03- 12 11:55:16.155775667-0700855 +++ vim72/src/diff.c 2009-03-22 21:32:26.210983378 -0700 822 856 @@ -8,7 +8,7 @@ 823 857 */ … … 954 988 diff -Naur vim72.orig/src/edit.c vim72/src/edit.c 955 989 --- vim72.orig/src/edit.c 2008-08-06 05:51:17.000000000 -0700 956 +++ vim72/src/edit.c 2009-03- 12 11:55:13.411601900-0700990 +++ vim72/src/edit.c 2009-03-22 21:31:27.235204917 -0700 957 991 @@ -147,6 +147,7 @@ 958 992 static int ins_compl_bs __ARGS((void)); … … 1214 1248 diff -Naur vim72.orig/src/eval.c vim72/src/eval.c 1215 1249 --- vim72.orig/src/eval.c 2008-08-07 12:37:22.000000000 -0700 1216 +++ vim72/src/eval.c 2009-03- 12 11:55:08.231269731-07001250 +++ vim72/src/eval.c 2009-03-22 21:31:00.153469200 -0700 1217 1251 @@ -32,6 +32,9 @@ 1218 1252 … … 2103 2137 diff -Naur vim72.orig/src/ex_cmds2.c vim72/src/ex_cmds2.c 2104 2138 --- vim72.orig/src/ex_cmds2.c 2008-07-13 09:18:22.000000000 -0700 2105 +++ vim72/src/ex_cmds2.c 2009-03- 12 11:55:13.311593519-07002139 +++ vim72/src/ex_cmds2.c 2009-03-22 21:31:09.882091074 -0700 2106 2140 @@ -2842,6 +2842,7 @@ 2107 2141 linenr_T save_sourcing_lnum; … … 2196 2230 diff -Naur vim72.orig/src/ex_cmds.c vim72/src/ex_cmds.c 2197 2231 --- vim72.orig/src/ex_cmds.c 2008-08-04 12:15:00.000000000 -0700 2198 +++ vim72/src/ex_cmds.c 2009-03- 12 11:55:13.611614471-07002232 +++ vim72/src/ex_cmds.c 2009-03-22 21:32:08.697861154 -0700 2199 2233 @@ -24,7 +24,7 @@ 2200 2234 static void do_filter __ARGS((linenr_T line1, linenr_T line2, exarg_T *eap, char_u *cmd, int do_in, int do_out)); … … 2461 2495 diff -Naur vim72.orig/src/ex_cmds.h vim72/src/ex_cmds.h 2462 2496 --- vim72.orig/src/ex_cmds.h 2008-06-21 11:47:57.000000000 -0700 2463 +++ vim72/src/ex_cmds.h 2009-03- 12 11:54:40.541495740 -07002497 +++ vim72/src/ex_cmds.h 2009-03-22 21:28:12.894752340 -0700 2464 2498 @@ -278,7 +278,7 @@ 2465 2499 EX(CMD_crewind, "crewind", ex_cc, … … 2509 2543 diff -Naur vim72.orig/src/ex_docmd.c vim72/src/ex_docmd.c 2510 2544 --- vim72.orig/src/ex_docmd.c 2008-07-26 04:51:05.000000000 -0700 2511 +++ vim72/src/ex_docmd.c 2009-03- 12 11:55:24.900337757 -07002545 +++ vim72/src/ex_docmd.c 2009-03-22 21:32:51.508603437 -0700 2512 2546 @@ -364,6 +364,7 @@ 2513 2547 # define ex_function ex_ni … … 2543 2577 #endif 2544 2578 case CMD_set: 2545 @@ -5121,7 +5124,11 @@ 2579 @@ -3680,6 +3683,11 @@ 2580 case CMD_highlight: 2581 set_context_in_highlight_cmd(xp, arg); 2582 break; 2583 +#ifdef FEAT_CSCOPE 2584 + case CMD_cscope: 2585 + set_context_in_cscope_cmd(xp, arg); 2586 + break; 2587 +#endif 2588 #ifdef FEAT_LISTCMDS 2589 case CMD_bdelete: 2590 case CMD_bwipeout: 2591 @@ -5121,7 +5129,11 @@ 2546 2592 } 2547 2593 … … 2556 2602 } 2557 2603 2558 @@ -5479,6 +5486,9 @@ 2604 @@ -5180,6 +5192,9 @@ 2605 {EXPAND_AUGROUP, "augroup"}, 2606 {EXPAND_BUFFERS, "buffer"}, 2607 {EXPAND_COMMANDS, "command"}, 2608 +#if defined(FEAT_CSCOPE) 2609 + {EXPAND_CSCOPE, "cscope"}, 2610 +#endif 2611 #if defined(FEAT_EVAL) && defined(FEAT_CMDL_COMPL) 2612 {EXPAND_USER_DEFINED, "custom"}, 2613 {EXPAND_USER_LIST, "customlist"}, 2614 @@ -5479,6 +5494,9 @@ 2559 2615 return OK; 2560 2616 } … … 2566 2622 ex_command(eap) 2567 2623 exarg_T *eap; 2568 @@ -5910,7 +592 0,8 @@2624 @@ -5910,7 +5928,8 @@ 2569 2625 char_u *q; 2570 2626 … … 2576 2632 2577 2633 size_t split_len = 0; 2578 @@ -5927,16 +59 38,51 @@2634 @@ -5927,16 +5946,51 @@ 2579 2635 2580 2636 /* … … 2632 2688 ++end; 2633 2689 2634 @@ -7803,6 +78 49,9 @@2690 @@ -7803,6 +7857,9 @@ 2635 2691 { 2636 2692 vim_free(prev_dir); … … 2642 2698 #endif 2643 2699 2644 @@ -7825,6 +78 74,10 @@2700 @@ -7825,6 +7882,10 @@ 2645 2701 else 2646 2702 #endif … … 2653 2709 && !eap->forceit) 2654 2710 { 2655 @@ -8749,8 +88 02,8 @@2711 @@ -8749,8 +8810,8 @@ 2656 2712 else if (*dirnow != NUL 2657 2713 && (ssop_flags & SSOP_CURDIR) && globaldir != NULL) … … 2664 2720 2665 2721 failed |= (makeopens(fd, dirnow) == FAIL); 2666 @@ -9506,24 +95 59,50 @@2722 @@ -9506,24 +9567,50 @@ 2667 2723 break; 2668 2724 } … … 2725 2781 2726 2782 #ifdef FEAT_SEARCHPATH 2727 @@ -9541,6 +962 0,15 @@2783 @@ -9541,6 +9628,15 @@ 2728 2784 #ifdef FEAT_AUTOCMD 2729 2785 case SPEC_AFILE: /* file name for autocommand */ … … 2741 2797 { 2742 2798 *errormsg = (char_u *)_("E495: no autocommand file name to substitute for \"<afile>\""); 2743 @@ -10067,7 +101 55,7 @@2799 @@ -10067,7 +10163,7 @@ 2744 2800 */ 2745 2801 if (put_line(fd, "let s:sx = expand(\"<sfile>:p:r\").\"x.vim\"") == FAIL … … 2750 2806 return FAIL; 2751 2807 2752 @@ -10689,7 +107 77,8 @@2808 @@ -10689,7 +10785,8 @@ 2753 2809 p_viminfo = (char_u *)"'100"; 2754 2810 if (eap->cmdidx == CMD_rviminfo) … … 2762 2818 diff -Naur vim72.orig/src/ex_getln.c vim72/src/ex_getln.c 2763 2819 --- vim72.orig/src/ex_getln.c 2008-08-08 02:31:33.000000000 -0700 2764 +++ vim72/src/ex_getln.c 2009-03- 12 11:55:13.699620338-07002820 +++ vim72/src/ex_getln.c 2009-03-22 21:32:51.512605113 -0700 2765 2821 @@ -31,6 +31,8 @@ 2766 2822 int cmdattr; /* attributes for prompt */ … … 2892 2948 #ifndef BACKSLASH_IN_FILENAME 2893 2949 xp->xp_shell = FALSE; 2894 @@ -4871,7 +4912,7 @@ 2950 @@ -4477,6 +4518,9 @@ 2951 {EXPAND_EVENTS, get_event_name, TRUE}, 2952 {EXPAND_AUGROUP, get_augroup_name, TRUE}, 2953 #endif 2954 +#ifdef FEAT_CSCOPE 2955 + {EXPAND_CSCOPE, get_cscope_name, TRUE}, 2956 +#endif 2957 #if (defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \ 2958 && (defined(FEAT_GETTEXT) || defined(FEAT_MBYTE)) 2959 {EXPAND_LANGUAGE, get_lang_arg, TRUE}, 2960 @@ -4871,7 +4915,7 @@ 2895 2961 if (s == NULL) 2896 2962 return FAIL; … … 2901 2967 if (all == NULL) 2902 2968 return FAIL; 2903 @@ -4912,9 +495 3,10 @@2969 @@ -4912,9 +4956,10 @@ 2904 2970 * newlines. Returns NULL for an error or no matches. 2905 2971 */ … … 2913 2979 expand_T xpc; 2914 2980 char_u *buf; 2915 @@ -4943,10 +498 5,10 @@2981 @@ -4943,10 +4988,10 @@ 2916 2982 { 2917 2983 add_pathsep(buf); … … 2927 2993 len += (int)STRLEN(p[i]) + 1; 2928 2994 2929 @@ -6020,9 +606 2,7 @@2995 @@ -6020,9 +6065,7 @@ 2930 2996 # endif 2931 2997 return K_IGNORE; … … 2938 3004 /* Create the command-line buffer empty. */ 2939 3005 (void)do_ecmd(0, NULL, NULL, NULL, ECMD_ONE, ECMD_HIDE); 2940 @@ -6046,7 +608 6,7 @@3006 @@ -6046,7 +6089,7 @@ 2941 3007 /* Showing the prompt may have set need_wait_return, reset it. */ 2942 3008 need_wait_return = FALSE; … … 2949 3015 diff -Naur vim72.orig/src/feature.h vim72/src/feature.h 2950 3016 --- vim72.orig/src/feature.h 2008-08-06 04:00:39.000000000 -0700 2951 +++ vim72/src/feature.h 2009-03- 12 11:54:40.545495740 -07003017 +++ vim72/src/feature.h 2009-03-22 21:28:12.894752340 -0700 2952 3018 @@ -767,9 +767,13 @@ 2953 3019 … … 2968 3034 diff -Naur vim72.orig/src/fileio.c vim72/src/fileio.c 2969 3035 --- vim72.orig/src/fileio.c 2008-08-06 04:01:03.000000000 -0700 2970 +++ vim72/src/fileio.c 2009-03- 12 11:55:18.711941333 -07003036 +++ vim72/src/fileio.c 2009-03-22 21:32:58.833074173 -0700 2971 3037 @@ -69,7 +69,7 @@ 2972 3038 static int au_find_group __ARGS((char_u *name)); … … 3278 3344 if (n) 3279 3345 { 3280 @@ -8523,6 +8632,7 @@ 3346 @@ -6538,6 +6647,11 @@ 3347 tbuf = alloc((unsigned)(STRLEN(path) + STRLEN(mesg) 3348 + STRLEN(mesg2) + 2)); 3349 sprintf((char *)tbuf, mesg, path); 3350 +#ifdef FEAT_EVAL 3351 + /* Set warningmsg here, before the unimportant and output-specific 3352 + * mesg2 has been appended. */ 3353 + set_vim_var_string(VV_WARNINGMSG, tbuf, -1); 3354 +#endif 3355 #if defined(FEAT_CON_DIALOG) || defined(FEAT_GUI_DIALOG) 3356 if (can_reload) 3357 { 3358 @@ -8523,6 +8637,7 @@ 3281 3359 char_u *save_sourcing_name; 3282 3360 linenr_T save_sourcing_lnum; … … 3286 3364 char_u *save_autocmd_match; 3287 3365 int save_autocmd_busy; 3288 @@ -8601,6 +871 1,7 @@3366 @@ -8601,6 +8716,7 @@ 3289 3367 * Save the autocmd_* variables and info about the current buffer. 3290 3368 */ … … 3294 3372 save_autocmd_match = autocmd_match; 3295 3373 save_autocmd_busy = autocmd_busy; 3296 @@ -8618,14 +87 29,15 @@3374 @@ -8618,14 +8734,15 @@ 3297 3375 if (fname != NULL && *fname != NUL) 3298 3376 autocmd_fname = fname; … … 3312 3390 /* 3313 3391 * Set the buffer number to be used for <abuf>. 3314 @@ -8810,6 +892 2,7 @@3392 @@ -8810,6 +8927,7 @@ 3315 3393 sourcing_lnum = save_sourcing_lnum; 3316 3394 vim_free(autocmd_fname); … … 3320 3398 autocmd_match = save_autocmd_match; 3321 3399 #ifdef FEAT_EVAL 3322 @@ -8918,7 +903 1,7 @@3400 @@ -8918,7 +9036,7 @@ 3323 3401 { 3324 3402 apc->curpat = NULL; … … 3329 3407 * buffer number. */ 3330 3408 if (ap->pat != NULL && ap->cmds != NULL 3331 @@ -9104,7 +92 17,7 @@3409 @@ -9104,7 +9222,7 @@ 3332 3410 set_context_in_autocmd(xp, arg, doautocmd) 3333 3411 expand_T *xp; … … 3340 3418 diff -Naur vim72.orig/src/fold.c vim72/src/fold.c 3341 3419 --- vim72.orig/src/fold.c 2008-08-06 04:01:12.000000000 -0700 3342 +++ vim72/src/fold.c 2009-03- 12 11:54:59.842732505-07003420 +++ vim72/src/fold.c 2009-03-22 21:30:10.950316246 -0700 3343 3421 @@ -48,7 +48,7 @@ 3344 3422 static int foldFind __ARGS((garray_T *gap, linenr_T lnum, fold_T **fpp)); … … 3429 3507 diff -Naur vim72.orig/src/getchar.c vim72/src/getchar.c 3430 3508 --- vim72.orig/src/getchar.c 2008-07-22 09:57:48.000000000 -0700 3431 +++ vim72/src/getchar.c 2009-03- 12 11:55:13.579612236-07003509 +++ vim72/src/getchar.c 2009-03-22 21:32:01.425393770 -0700 3432 3510 @@ -3816,7 +3816,11 @@ 3433 3511 int len = 1; … … 3462 3540 diff -Naur vim72.orig/src/globals.h vim72/src/globals.h 3463 3541 --- vim72.orig/src/globals.h 2008-07-26 04:53:29.000000000 -0700 3464 +++ vim72/src/globals.h 2009-03- 12 11:55:13.699620338 -07003542 +++ vim72/src/globals.h 2009-03-22 21:32:23.782828328 -0700 3465 3543 @@ -482,8 +482,10 @@ 3466 3544 /* … … 3556 3634 diff -Naur vim72.orig/src/gui_at_sb.c vim72/src/gui_at_sb.c 3557 3635 --- vim72.orig/src/gui_at_sb.c 2004-06-07 07:32:25.000000000 -0700 3558 +++ vim72/src/gui_at_sb.c 2009-03- 12 11:54:50.138110630-07003636 +++ vim72/src/gui_at_sb.c 2009-03-22 21:29:14.042669926 -0700 3559 3637 @@ -1078,6 +1078,12 @@ 3560 3638 Cardinal *num_params; /* unused */ … … 3580 3658 } 3581 3659 3660 diff -Naur vim72.orig/src/gui_beval.c vim72/src/gui_beval.c 3661 --- vim72.orig/src/gui_beval.c 2007-05-07 12:33:41.000000000 -0700 3662 +++ vim72/src/gui_beval.c 2009-03-22 21:32:48.872435816 -0700 3663 @@ -1291,6 +1291,23 @@ 3664 XtNy, ty, 3665 NULL); 3666 #endif 3667 + /* Set tooltip colors */ 3668 + { 3669 + Arg args[2]; 3670 + 3671 +#ifdef FEAT_GUI_MOTIF 3672 + args[0].name = XmNbackground; 3673 + args[0].value = gui.tooltip_bg_pixel; 3674 + args[1].name = XmNforeground; 3675 + args[1].value = gui.tooltip_fg_pixel; 3676 +#else /* Athena */ 3677 + args[0].name = XtNbackground; 3678 + args[0].value = gui.tooltip_bg_pixel; 3679 + args[1].name = XtNforeground; 3680 + args[1].value = gui.tooltip_fg_pixel; 3681 +#endif 3682 + XtSetValues(beval->balloonLabel, &args[0], XtNumber(args)); 3683 + } 3684 3685 XtPopup(beval->balloonShell, XtGrabNone); 3686 3582 3687 diff -Naur vim72.orig/src/gui.c vim72/src/gui.c 3583 3688 --- vim72.orig/src/gui.c 2008-07-27 12:32:14.000000000 -0700 3584 +++ vim72/src/gui.c 2009-03- 12 11:54:50.298121805-07003689 +++ vim72/src/gui.c 2009-03-22 21:29:38.972265680 -0700 3585 3690 @@ -139,7 +139,7 @@ 3586 3691 /* The read returns when the child closes the pipe (or when … … 3675 3780 diff -Naur vim72.orig/src/gui_gtk_x11.c vim72/src/gui_gtk_x11.c 3676 3781 --- vim72.orig/src/gui_gtk_x11.c 2008-07-04 03:46:24.000000000 -0700 3677 +++ vim72/src/gui_gtk_x11.c 2009-03- 12 11:54:50.138110630-07003782 +++ vim72/src/gui_gtk_x11.c 2009-03-22 21:29:14.042669926 -0700 3678 3783 @@ -4070,14 +4070,14 @@ 3679 3784 … … 3699 3804 diff -Naur vim72.orig/src/gui_x11.c vim72/src/gui_x11.c 3700 3805 --- vim72.orig/src/gui_x11.c 2008-06-08 08:13:45.000000000 -0700 3701 +++ vim72/src/gui_x11.c 2009-03- 12 11:55:13.599613075-07003806 +++ vim72/src/gui_x11.c 2009-03-22 21:32:06.281706663 -0700 3702 3807 @@ -1587,6 +1587,8 @@ 3703 3808 XtCloseDisplay(gui.dpy); … … 3808 3913 diff -Naur vim72.orig/src/gui_xmdlg.c vim72/src/gui_xmdlg.c 3809 3914 --- vim72.orig/src/gui_xmdlg.c 2008-06-21 09:05:32.000000000 -0700 3810 +++ vim72/src/gui_xmdlg.c 2009-03- 12 11:54:50.142110910-07003915 +++ vim72/src/gui_xmdlg.c 2009-03-22 21:29:14.042669926 -0700 3811 3916 @@ -369,10 +369,10 @@ 3812 3917 char buf[TEMP_BUF_SIZE]; … … 3964 4069 diff -Naur vim72.orig/src/gui_xmebw.c vim72/src/gui_xmebw.c 3965 4070 --- vim72.orig/src/gui_xmebw.c 2007-09-06 03:57:51.000000000 -0700 3966 +++ vim72/src/gui_xmebw.c 2009-03- 12 11:54:50.142110910-07004071 +++ vim72/src/gui_xmebw.c 2009-03-22 21:29:14.042669926 -0700 3967 4072 @@ -1256,7 +1256,7 @@ 3968 4073 } … … 3991 4096 diff -Naur vim72.orig/src/if_cscope.c vim72/src/if_cscope.c 3992 4097 --- vim72.orig/src/if_cscope.c 2008-06-24 09:32:34.000000000 -0700 3993 +++ vim72/src/if_cscope.c 2009-03- 12 11:55:05.383086185-07004098 +++ vim72/src/if_cscope.c 2009-03-22 21:32:56.384915491 -0700 3994 4099 @@ -74,7 +74,7 @@ 3995 4100 { "add", cs_add, … … 4001 4106 N_("Show this message"), "help", 0 }, 4002 4107 { "kill", cs_kill, 4003 @@ -1177,10 +1177,27 @@ 4108 @@ -93,12 +93,117 @@ 4109 (void)EMSG2(_("E560: Usage: cs[cope] %s"), cs_cmds[(int)x].usage); 4110 } 4111 4112 +#if defined(FEAT_CMDL_COMPL) || defined(PROTO) 4113 + 4114 +static enum 4115 +{ 4116 + EXP_CSCOPE_SUBCMD, /* expand ":cscope" sub-commands */ 4117 + EXP_CSCOPE_FIND, /* expand ":cscope find" arguments */ 4118 + EXP_CSCOPE_KILL /* expand ":cscope kill" arguments */ 4119 +} expand_what; 4120 + 4121 +/* 4122 + * Function given to ExpandGeneric() to obtain the cscope command 4123 + * expansion. 4124 + */ 4125 +/*ARGSUSED*/ 4126 + char_u * 4127 +get_cscope_name(xp, idx) 4128 + expand_T *xp; 4129 + int idx; 4130 +{ 4131 + switch (expand_what) 4132 + { 4133 + case EXP_CSCOPE_SUBCMD: 4134 + /* Complete with sub-commands of ":cscope": 4135 + * add, find, help, kill, reset, show */ 4136 + return (char_u *)cs_cmds[idx].name; 4137 + case EXP_CSCOPE_FIND: 4138 + { 4139 + const char *query_type[] = 4140 + { 4141 + "c", "d", "e", "f", "g", "i", "s", "t", NULL 4142 + }; 4143 + 4144 + /* Complete with query type of ":cscope find {query_type}". 4145 + * {query_type} can be letters (c, d, ... t) or numbers (0, 1, 4146 + * ..., 8) but only complete with letters, since numbers are 4147 + * redundant. */ 4148 + return (char_u *)query_type[idx]; 4149 + } 4150 + case EXP_CSCOPE_KILL: 4151 + { 4152 + int i; 4153 + int current_idx = 0; 4154 + static char_u connection[2]; 4155 + 4156 + /* ":cscope kill" accepts connection numbers or partial names of 4157 + * the pathname of the cscope database as argument. Only complete 4158 + * with connection numbers. -1 can also be used to kill all 4159 + * connections. */ 4160 + for (i = 0; i < CSCOPE_MAX_CONNECTIONS; i++) 4161 + { 4162 + if (csinfo[i].fname == NULL) 4163 + continue; 4164 + if (current_idx++ == idx) 4165 + { 4166 + /* Connection number fits in one character since 4167 + * CSCOPE_MAX_CONNECTIONS is < 10 */ 4168 + connection[0] = i + '0'; 4169 + connection[1] = NUL; 4170 + return connection; 4171 + } 4172 + } 4173 + return (current_idx == idx && idx > 0) ? (char_u *)"-1" : NULL; 4174 + } 4175 + default: 4176 + return NULL; 4177 + } 4178 +} 4179 + 4180 +/* 4181 + * Handle command line completion for :cscope command. 4182 + */ 4183 + void 4184 +set_context_in_cscope_cmd(xp, arg) 4185 + expand_T *xp; 4186 + char_u *arg; 4187 +{ 4188 + char_u *p; 4189 + 4190 + /* Default: expand subcommands */ 4191 + xp->xp_context = EXPAND_CSCOPE; 4192 + expand_what = EXP_CSCOPE_SUBCMD; 4193 + xp->xp_pattern = arg; 4194 + 4195 + /* (part of) subcommand already typed */ 4196 + if (*arg != NUL) 4197 + { 4198 + p = skiptowhite(arg); 4199 + if (*p != NUL) /* past first word */ 4200 + { 4201 + xp->xp_pattern = skipwhite(p); 4202 + if (*skiptowhite(xp->xp_pattern) != NUL) 4203 + xp->xp_context = EXPAND_NOTHING; 4204 + else if (STRNICMP(arg, "add", p - arg) == 0) 4205 + xp->xp_context = EXPAND_FILES; 4206 + else if (STRNICMP(arg, "kill", p - arg) == 0) 4207 + expand_what = EXP_CSCOPE_KILL; 4208 + else if (STRNICMP(arg, "find", p - arg) == 0) 4209 + expand_what = EXP_CSCOPE_FIND; 4210 + else 4211 + xp->xp_context = EXPAND_NOTHING; 4212 + } 4213 + } 4214 +} 4215 + 4216 +#endif /* FEAT_CMDL_COMPL */ 4217 + 4218 /* 4219 * PRIVATE: do_cscope_general 4220 * 4221 - * find the command, print help if invalid, and the then call the 4222 - * corresponding command function, 4223 - * called from do_cscope and do_scscope 4224 + * Find the command, print help if invalid, and then call the corresponding 4225 + * command function. 4226 */ 4227 static void 4228 do_cscope_general(eap, make_split) 4229 @@ -659,6 +764,7 @@ 4230 { 4231 char *cmd; 4232 short search; 4233 + char *pat; 4234 4235 switch (csoption[0]) 4236 { 4237 @@ -692,10 +798,17 @@ 4238 return NULL; 4239 } 4240 4241 - if ((cmd = (char *)alloc((unsigned)(strlen(pattern) + 2))) == NULL) 4242 + /* Skip white space before the patter, except for text and pattern search, 4243 + * they may want to use the leading white space. */ 4244 + pat = pattern; 4245 + if (search != 4 && search != 6) 4246 + while vim_iswhite(*pat) 4247 + ++pat; 4248 + 4249 + if ((cmd = (char *)alloc((unsigned)(strlen(pat) + 2))) == NULL) 4250 return NULL; 4251 4252 - (void)sprintf(cmd, "%d%s", search, pattern); 4253 + (void)sprintf(cmd, "%d%s", search, pat); 4254 4255 return cmd; 4256 } /* cs_create_cmd */ 4257 @@ -1177,10 +1290,27 @@ 4004 4258 (void)MSG_PUTS(_("cscope commands:\n")); 4005 4259 while (cmdp->name != NULL) … … 4034 4288 diff -Naur vim72.orig/src/if_cscope.h vim72/src/if_cscope.h 4035 4289 --- vim72.orig/src/if_cscope.h 2007-09-02 07:51:08.000000000 -0700 4036 +++ vim72/src/if_cscope.h 2009-03- 12 11:54:28.876748429-07004290 +++ vim72/src/if_cscope.h 2009-03-22 21:27:04.882391674 -0700 4037 4291 @@ -42,17 +42,6 @@ 4038 4292 * f 7name Find this file … … 4055 4309 diff -Naur vim72.orig/src/if_perl.xs vim72/src/if_perl.xs 4056 4310 --- vim72.orig/src/if_perl.xs 2008-07-17 13:55:09.000000000 -0700 4057 +++ vim72/src/if_perl.xs 2009-03- 12 11:54:50.278119291-07004311 +++ vim72/src/if_perl.xs 2009-03-22 21:29:34.075951949 -0700 4058 4312 @@ -136,6 +136,9 @@ 4059 4313 # define Perl_newXS_flags dll_Perl_newXS_flags … … 4106 4360 diff -Naur vim72.orig/src/if_python.c vim72/src/if_python.c 4107 4361 --- vim72.orig/src/if_python.c 2008-07-17 14:09:32.000000000 -0700 4108 +++ vim72/src/if_python.c 2009-03- 12 11:54:59.902735857-07004362 +++ vim72/src/if_python.c 2009-03-22 21:30:25.899274200 -0700 4109 4363 @@ -531,6 +531,12 @@ 4110 4364 if (PythonMod_Init()) … … 4208 4462 diff -Naur vim72.orig/src/if_xcmdsrv.c vim72/src/if_xcmdsrv.c 4209 4463 --- vim72.orig/src/if_xcmdsrv.c 2008-07-18 06:05:03.000000000 -0700 4210 +++ vim72/src/if_xcmdsrv.c 2009-03- 12 11:54:43.269670345-07004464 +++ vim72/src/if_xcmdsrv.c 2009-03-22 21:28:30.191858640 -0700 4211 4465 @@ -736,7 +736,7 @@ 4212 4466 + serverReply.ga_len; … … 4238 4492 diff -Naur vim72.orig/src/macros.h vim72/src/macros.h 4239 4493 --- vim72.orig/src/macros.h 2007-08-04 04:44:18.000000000 -0700 4240 +++ vim72/src/macros.h 2009-03- 12 11:55:13.411601900-07004494 +++ vim72/src/macros.h 2009-03-22 21:31:27.235204917 -0700 4241 4495 @@ -127,15 +127,31 @@ 4242 4496 #ifdef FEAT_LANGMAP … … 4278 4532 diff -Naur vim72.orig/src/main.c vim72/src/main.c 4279 4533 --- vim72.orig/src/main.c 2008-07-24 01:40:56.000000000 -0700 4280 +++ vim72/src/main.c 2009-03- 12 11:54:50.142110910-07004534 +++ vim72/src/main.c 2009-03-22 21:29:14.046670485 -0700 4281 4535 @@ -645,11 +645,12 @@ 4282 4536 … … 4340 4594 diff -Naur vim72.orig/src/mark.c vim72/src/mark.c 4341 4595 --- vim72.orig/src/mark.c 2008-08-08 15:06:49.000000000 -0700 4342 +++ vim72/src/mark.c 2009-03- 12 11:54:40.549496299-07004596 +++ vim72/src/mark.c 2009-03-22 21:28:12.902752340 -0700 4343 4597 @@ -1627,15 +1627,17 @@ 4344 4598 … … 4409 4663 diff -Naur vim72.orig/src/mbyte.c vim72/src/mbyte.c 4410 4664 --- vim72.orig/src/mbyte.c 2008-07-14 05:38:05.000000000 -0700 4411 +++ vim72/src/mbyte.c 2009-03- 12 11:54:50.142110910-07004665 +++ vim72/src/mbyte.c 2009-03-22 21:29:14.046670485 -0700 4412 4666 @@ -717,7 +717,7 @@ 4413 4667 * where mblen() returns 0 for invalid character. … … 4491 4745 diff -Naur vim72.orig/src/menu.c vim72/src/menu.c 4492 4746 --- vim72.orig/src/menu.c 2008-06-21 12:53:43.000000000 -0700 4493 +++ vim72/src/menu.c 2009-03- 12 11:54:28.852745635-07004747 +++ vim72/src/menu.c 2009-03-22 21:27:00.030081016 -0700 4494 4748 @@ -1120,6 +1120,7 @@ 4495 4749 parent = menu; … … 4502 4756 diff -Naur vim72.orig/src/message.c vim72/src/message.c 4503 4757 --- vim72.orig/src/message.c 2008-07-09 11:24:55.000000000 -0700 4504 +++ vim72/src/message.c 2009-03- 12 11:55:13.623615309 -07004758 +++ vim72/src/message.c 2009-03-22 21:32:11.106013969 -0700 4505 4759 @@ -976,7 +976,7 @@ 4506 4760 } … … 4664 4918 diff -Naur vim72.orig/src/misc1.c vim72/src/misc1.c 4665 4919 --- vim72.orig/src/misc1.c 2008-07-12 12:20:53.000000000 -0700 4666 +++ vim72/src/misc1.c 2009-03-12 11:54:40.553496578 -0700 4667 @@ -3245,9 +3245,9 @@ 4920 +++ vim72/src/misc1.c 2009-03-22 21:32:58.837074452 -0700 4921 @@ -2955,6 +2955,8 @@ 4922 int col; /* column for message; non-zero when in insert 4923 mode and 'showmode' is on */ 4924 { 4925 + static char *w_readonly = N_("W10: Warning: Changing a readonly file"); 4926 + 4927 if (curbuf->b_did_warn == FALSE 4928 && curbufIsChanged() == 0 4929 #ifdef FEAT_AUTOCMD 4930 @@ -2977,8 +2979,10 @@ 4931 if (msg_row == Rows - 1) 4932 msg_col = col; 4933 msg_source(hl_attr(HLF_W)); 4934 - MSG_PUTS_ATTR(_("W10: Warning: Changing a readonly file"), 4935 - hl_attr(HLF_W) | MSG_HIST); 4936 + MSG_PUTS_ATTR(_(w_readonly), hl_attr(HLF_W) | MSG_HIST); 4937 +#ifdef FEAT_EVAL 4938 + set_vim_var_string(VV_WARNINGMSG, (char_u *)_(w_readonly), -1); 4939 +#endif 4940 msg_clr_eos(); 4941 (void)msg_end(); 4942 if (msg_silent == 0 && !silent_mode) 4943 @@ -3245,9 +3249,9 @@ 4668 4944 4669 4945 /* When using ":silent" assume that <CR> was entered. */ … … 4679 4955 diff -Naur vim72.orig/src/misc2.c vim72/src/misc2.c 4680 4956 --- vim72.orig/src/misc2.c 2008-07-23 12:12:56.000000000 -0700 4681 +++ vim72/src/misc2.c 2009-03- 12 11:55:33.688900964-07004957 +++ vim72/src/misc2.c 2009-03-22 21:32:41.367955022 -0700 4682 4958 @@ -496,7 +496,8 @@ 4683 4959 { … … 4805 5081 diff -Naur vim72.orig/src/move.c vim72/src/move.c 4806 5082 --- vim72.orig/src/move.c 2008-07-12 09:26:47.000000000 -0700 4807 +++ vim72/src/move.c 2009-03- 12 11:54:46.913903059-07005083 +++ vim72/src/move.c 2009-03-22 21:28:40.376510966 -0700 4808 5084 @@ -280,18 +280,20 @@ 4809 5085 … … 4855 5131 diff -Naur vim72.orig/src/nbdebug.c vim72/src/nbdebug.c 4856 5132 --- vim72.orig/src/nbdebug.c 2008-06-22 08:38:58.000000000 -0700 4857 +++ vim72/src/nbdebug.c 2009-03- 12 11:55:13.487606370-07005133 +++ vim72/src/nbdebug.c 2009-03-22 21:31:41.800136053 -0700 4858 5134 @@ -33,7 +33,6 @@ 4859 5135 u_int nb_dlevel = 0; /* nb_debug verbosity level */ … … 4916 5192 diff -Naur vim72.orig/src/nbdebug.h vim72/src/nbdebug.h 4917 5193 --- vim72.orig/src/nbdebug.h 2008-06-22 07:31:50.000000000 -0700 4918 +++ vim72/src/nbdebug.h 2009-03- 12 11:55:13.487606370-07005194 +++ vim72/src/nbdebug.h 2009-03-22 21:31:41.800136053 -0700 4919 5195 @@ -43,8 +43,6 @@ 4920 5196 … … 4948 5224 diff -Naur vim72.orig/src/netbeans.c vim72/src/netbeans.c 4949 5225 --- vim72.orig/src/netbeans.c 2008-07-13 09:19:54.000000000 -0700 4950 +++ vim72/src/netbeans.c 2009-03- 12 11:55:13.479606090-07005226 +++ vim72/src/netbeans.c 2009-03-22 21:31:39.383983238 -0700 4951 5227 @@ -1043,7 +1043,7 @@ 4952 5228 nbdebug(("EVT: %s", buf)); … … 5064 5340 diff -Naur vim72.orig/src/normal.c vim72/src/normal.c 5065 5341 --- vim72.orig/src/normal.c 2008-07-31 13:03:08.000000000 -0700 5066 +++ vim72/src/normal.c 2009-03- 12 11:55:13.415602459-07005342 +++ vim72/src/normal.c 2009-03-22 21:31:27.235204917 -0700 5067 5343 @@ -183,6 +183,8 @@ 5068 5344 static void nv_cursorhold __ARGS((cmdarg_T *cap)); … … 5342 5618 diff -Naur vim72.orig/src/ops.c vim72/src/ops.c 5343 5619 --- vim72.orig/src/ops.c 2008-06-21 13:08:59.000000000 -0700 5344 +++ vim72/src/ops.c 2009-03- 12 11:55:27.544506216-07005620 +++ vim72/src/ops.c 2009-03-22 21:32:36.451638218 -0700 5345 5621 @@ -72,11 +72,11 @@ 5346 5622 */ … … 5550 5826 diff -Naur vim72.orig/src/option.c vim72/src/option.c 5551 5827 --- vim72.orig/src/option.c 2008-07-18 06:05:33.000000000 -0700 5552 +++ vim72/src/option.c 2009-03- 12 11:55:13.683619779-07005828 +++ vim72/src/option.c 2009-03-22 21:32:58.841075011 -0700 5553 5829 @@ -2593,13 +2593,13 @@ 5554 5830 #ifdef FEAT_VIMINFO … … 5692 5968 /* update flag in swap file */ 5693 5969 ml_setflags(curbuf); 5694 @@ -6055,6 +6100,7 @@ 5970 @@ -5977,15 +6022,23 @@ 5971 /* ":set t_Co=0" and ":set t_Co=1" do ":set t_Co=" */ 5972 if (varp == &T_CCO) 5973 { 5974 - t_colors = atoi((char *)T_CCO); 5975 - if (t_colors <= 1) 5976 + int colors = atoi((char *)T_CCO); 5977 + 5978 + /* Only reinitialize colors if t_Co value has really changed to 5979 + * avoid expensive reload of colorscheme if t_Co is set to the 5980 + * same value multiple times. */ 5981 + if (colors != t_colors) 5982 { 5983 - if (new_value_alloced) 5984 - vim_free(T_CCO); 5985 - T_CCO = empty_option; 5986 + t_colors = colors; 5987 + if (t_colors <= 1) 5988 + { 5989 + if (new_value_alloced) 5990 + vim_free(T_CCO); 5991 + T_CCO = empty_option; 5992 + } 5993 + /* We now have a different color setup, initialize it again. */ 5994 + init_highlight(TRUE, FALSE); 5995 } 5996 - /* We now have a different color setup, initialize it again. */ 5997 - init_highlight(TRUE, FALSE); 5998 } 5999 ttest(FALSE); 6000 if (varp == &T_ME) 6001 @@ -6055,6 +6108,7 @@ 5695 6002 errmsg = (char_u *)N_("E596: Invalid font(s)"); 5696 6003 } … … 5700 6007 # ifdef FEAT_XFONTSET 5701 6008 else if (varp == &p_guifontset) 5702 @@ -6063,6 +61 09,7 @@6009 @@ -6063,6 +6117,7 @@ 5703 6010 errmsg = (char_u *)N_("E597: can't select fontset"); 5704 6011 else if (gui.in_use && gui_init_font(p_guifontset, TRUE) != OK) … … 5708 6015 # endif 5709 6016 # ifdef FEAT_MBYTE 5710 @@ -6072,6 +61 19,7 @@6017 @@ -6072,6 +6127,7 @@ 5711 6018 errmsg = (char_u *)N_("E533: can't select wide font"); 5712 6019 else if (gui_get_wide_font() == FAIL) … … 5716 6023 # endif 5717 6024 #endif 5718 @@ -6133,13 +618 1,24 @@6025 @@ -6133,13 +6189,24 @@ 5719 6026 #ifdef FEAT_GUI 5720 6027 /* 'guioptions' */ … … 5741 6048 5742 6049 #if defined(FEAT_MOUSE_TTY) && (defined(UNIX) || defined(VMS)) 5743 @@ -6717,7 +67 76,11 @@6050 @@ -6717,7 +6784,11 @@ 5744 6051 5745 6052 if (curwin->w_curswant != MAXCOL) … … 5754 6061 return errmsg; 5755 6062 } 5756 @@ -7105,22 +71 68,28 @@6063 @@ -7105,22 +7176,28 @@ 5757 6064 curbuf->b_did_warn = FALSE; 5758 6065 … … 5790 6097 5791 6098 /* when 'bin' is set also set some other options */ 5792 @@ -7128,7 +7 197,7 @@6099 @@ -7128,7 +7205,7 @@ 5793 6100 { 5794 6101 set_options_bin(old_value, curbuf->b_p_bin, opt_flags); … … 5799 6106 } 5800 6107 5801 @@ -7279,7 +73 48,7 @@6108 @@ -7279,7 +7356,7 @@ 5802 6109 if (!value) 5803 6110 save_file_ff(curbuf); /* Buffer is unchanged */ … … 5808 6115 #ifdef FEAT_AUTOCMD 5809 6116 modified_was_set = value; 5810 @@ -7714,7 +7783,7 @@ 6117 @@ -7486,9 +7563,13 @@ 6118 * set. */ 6119 if (STRCMP(p_enc, "utf-8") != 0) 6120 { 6121 + static char *w_arabic = N_("W17: Arabic requires UTF-8, do ':set encoding=utf-8'"); 6122 + 6123 msg_source(hl_attr(HLF_W)); 6124 - MSG_ATTR(_("W17: Arabic requires UTF-8, do ':set encoding=utf-8'"), 6125 - hl_attr(HLF_W)); 6126 + MSG_ATTR(_(w_arabic), hl_attr(HLF_W)); 6127 +#ifdef FEAT_EVAL 6128 + set_vim_var_string(VV_WARNINGMSG, (char_u *)_(w_arabic), -1); 6129 +#endif 6130 } 6131 6132 # ifdef FEAT_MBYTE 6133 @@ -7714,7 +7795,7 @@ 5811 6134 newFoldLevel(); 5812 6135 } … … 5817 6140 { 5818 6141 foldUpdateAll(curwin); 5819 @@ -7974,6 +80 43,11 @@6142 @@ -7974,6 +8055,11 @@ 5820 6143 else /* curwin->w_p_scr > curwin->w_height */ 5821 6144 curwin->w_p_scr = curwin->w_height; … … 5829 6152 { 5830 6153 errmsg = e_positive; 5831 @@ -8227,13 +83 01,13 @@6154 @@ -8227,13 +8313,13 @@ 5832 6155 { 5833 6156 if (number == 0 && string != NULL) … … 5846 6169 /* There's another character after zeros or the string 5847 6170 * is empty. In both cases, we are trying to set a 5848 @@ -8323,7 +8 397,7 @@6171 @@ -8323,7 +8409,7 @@ 5849 6172 { 5850 6173 --arg; /* put arg at the '<' */ … … 5855 6178 key = 0; 5856 6179 } 5857 @@ -10093,25 +101 67,110 @@6180 @@ -10093,25 +10179,110 @@ 5858 6181 5859 6182 #ifdef FEAT_LANGMAP … … 5873 6196 + * langmap_entry_T. This does the same as langmap_mapchar[] for characters >= 5874 6197 + * 256. 5875 6198 + */ 5876 6199 +# ifdef FEAT_MBYTE 5877 6200 +/* 5878 6201 + * With multi-byte support use growarray for 'langmap' chars >= 256 5879 +*/6202 */ 5880 6203 +typedef struct 5881 6204 +{ … … 5975 6298 5976 6299 /* 5977 @@ -10125,7 +102 84,10 @@6300 @@ -10125,7 +10296,10 @@ 5978 6301 char_u *p2; 5979 6302 int from, to; … … 5987 6310 for (p = p_langmap; p[0] != NUL; ) 5988 6311 { 5989 @@ -10175,7 +103 37,13 @@6312 @@ -10175,7 +10349,13 @@ 5990 6313 transchar(from)); 5991 6314 return; … … 6004 6327 diff -Naur vim72.orig/src/os_unix.c vim72/src/os_unix.c 6005 6328 --- vim72.orig/src/os_unix.c 2008-08-06 04:01:40.000000000 -0700 6006 +++ vim72/src/os_unix.c 2009-03- 12 11:55:13.671618662-07006329 +++ vim72/src/os_unix.c 2009-03-22 21:32:18.750505657 -0700 6007 6330 @@ -181,7 +181,8 @@ 6008 6331 && defined(FEAT_TITLE) && !defined(FEAT_GUI_GTK) … … 6360 6683 diff -Naur vim72.orig/src/proto/eval.pro vim72/src/proto/eval.pro 6361 6684 --- vim72.orig/src/proto/eval.pro 2008-08-09 07:31:25.000000000 -0700 6362 +++ vim72/src/proto/eval.pro 2009-03- 12 11:54:47.005909205-07006685 +++ vim72/src/proto/eval.pro 2009-03-22 21:28:55.169458863 -0700 6363 6686 @@ -17,7 +17,7 @@ 6364 6687 int eval_to_bool __ARGS((char_u *arg, int *error, char_u **nextcmd, int skip)); … … 6402 6725 diff -Naur vim72.orig/src/proto/ex_cmds.pro vim72/src/proto/ex_cmds.pro 6403 6726 --- vim72.orig/src/proto/ex_cmds.pro 2008-08-09 07:31:25.000000000 -0700 6404 +++ vim72/src/proto/ex_cmds.pro 2009-03- 12 11:55:13.611614471-07006727 +++ vim72/src/proto/ex_cmds.pro 2009-03-22 21:32:08.697861154 -0700 6405 6728 @@ -11,7 +11,7 @@ 6406 6729 char_u *make_filter_cmd __ARGS((char_u *cmd, char_u *itmp, char_u *otmp)); … … 6422 6745 diff -Naur vim72.orig/src/proto/ex_getln.pro vim72/src/proto/ex_getln.pro 6423 6746 --- vim72.orig/src/proto/ex_getln.pro 2008-08-09 07:31:28.000000000 -0700 6424 +++ vim72/src/proto/ex_getln.pro 2009-03- 12 11:55:13.703620617-07006747 +++ vim72/src/proto/ex_getln.pro 2009-03-22 21:32:23.786828608 -0700 6425 6748 @@ -4,6 +4,7 @@ 6426 6749 int text_locked __ARGS((void)); … … 6440 6763 int get_histtype __ARGS((char_u *name)); 6441 6764 void add_to_history __ARGS((int histype, char_u *new_entry, int in_map, int sep)); 6765 diff -Naur vim72.orig/src/proto/if_cscope.pro vim72/src/proto/if_cscope.pro 6766 --- vim72.orig/src/proto/if_cscope.pro 2008-08-09 07:31:33.000000000 -0700 6767 +++ vim72/src/proto/if_cscope.pro 2009-03-22 21:32:51.512605113 -0700 6768 @@ -1,4 +1,6 @@ 6769 /* if_cscope.c */ 6770 +char_u *get_cscope_name __ARGS((expand_T *xp, int idx)); 6771 +void set_context_in_cscope_cmd __ARGS((expand_T *xp, char_u *arg)); 6772 void do_cscope __ARGS((exarg_T *eap)); 6773 void do_scscope __ARGS((exarg_T *eap)); 6774 void do_cstag __ARGS((exarg_T *eap)); 6442 6775 diff -Naur vim72.orig/src/proto/mark.pro vim72/src/proto/mark.pro 6443 6776 --- vim72.orig/src/proto/mark.pro 2008-08-09 07:31:36.000000000 -0700 6444 +++ vim72/src/proto/mark.pro 2009-03- 12 11:54:40.553496578-07006777 +++ vim72/src/proto/mark.pro 2009-03-22 21:28:12.902752340 -0700 6445 6778 @@ -26,5 +26,5 @@ 6446 6779 void write_viminfo_filemarks __ARGS((FILE *fp)); … … 6452 6785 diff -Naur vim72.orig/src/proto/misc2.pro vim72/src/proto/misc2.pro 6453 6786 --- vim72.orig/src/proto/misc2.pro 2008-08-09 07:31:40.000000000 -0700 6454 +++ vim72/src/proto/misc2.pro 2009-03- 12 11:54:56.454515435-07006787 +++ vim72/src/proto/misc2.pro 2009-03-22 21:29:58.829540160 -0700 6455 6788 @@ -59,7 +59,7 @@ 6456 6789 int handle_x_keys __ARGS((int key)); … … 6464 6797 diff -Naur vim72.orig/src/proto/netbeans.pro vim72/src/proto/netbeans.pro 6465 6798 --- vim72.orig/src/proto/netbeans.pro 2008-08-09 07:31:56.000000000 -0700 6466 +++ vim72/src/proto/netbeans.pro 2009-03- 12 11:54:59.854733063-07006799 +++ vim72/src/proto/netbeans.pro 2009-03-22 21:30:13.578485264 -0700 6467 6800 @@ -11,7 +11,7 @@ 6468 6801 void netbeans_frame_moved __ARGS((int new_x, int new_y)); … … 6476 6809 diff -Naur vim72.orig/src/proto/option.pro vim72/src/proto/option.pro 6477 6810 --- vim72.orig/src/proto/option.pro 2008-08-09 07:31:43.000000000 -0700 6478 +++ vim72/src/proto/option.pro 2009-03- 12 11:55:13.419602459-07006811 +++ vim72/src/proto/option.pro 2009-03-22 21:31:27.239205476 -0700 6479 6812 @@ -44,6 +44,7 @@ 6480 6813 void set_context_in_set_cmd __ARGS((expand_T *xp, char_u *arg, int opt_flags)); … … 6487 6820 diff -Naur vim72.orig/src/pty.c vim72/src/pty.c 6488 6821 --- vim72.orig/src/pty.c 2008-06-21 11:52:58.000000000 -0700 6489 +++ vim72/src/pty.c 2009-03- 12 11:54:28.844744238-07006822 +++ vim72/src/pty.c 2009-03-22 21:26:57.485917865 -0700 6490 6823 @@ -270,9 +270,10 @@ 6491 6824 } … … 6503 6836 diff -Naur vim72.orig/src/quickfix.c vim72/src/quickfix.c 6504 6837 --- vim72.orig/src/quickfix.c 2008-07-18 05:53:02.000000000 -0700 6505 +++ vim72/src/quickfix.c 2009-03- 12 11:55:13.547610560-07006838 +++ vim72/src/quickfix.c 2009-03-22 21:31:54.128927784 -0700 6506 6839 @@ -1419,6 +1419,7 @@ 6507 6840 int opened_window = FALSE; … … 6600 6933 diff -Naur vim72.orig/src/regexp.c vim72/src/regexp.c 6601 6934 --- vim72.orig/src/regexp.c 2008-08-07 12:58:50.000000000 -0700 6602 +++ vim72/src/regexp.c 2009-03- 12 11:55:13.471605532-07006935 +++ vim72/src/regexp.c 2009-03-22 21:31:36.967828468 -0700 6603 6936 @@ -4532,7 +4532,7 @@ 6604 6937 cleanup_subexpr(); … … 6637 6970 diff -Naur vim72.orig/src/screen.c vim72/src/screen.c 6638 6971 --- vim72.orig/src/screen.c 2008-07-24 07:45:07.000000000 -0700 6639 +++ vim72/src/screen.c 2009-03- 12 11:55:39.893297947-07006972 +++ vim72/src/screen.c 2009-03-22 21:33:03.705385948 -0700 6640 6973 @@ -2439,9 +2439,17 @@ 6641 6974 … … 6679 7012 fromcol = wp->w_old_cursor_fcol; 6680 7013 tocol = wp->w_old_cursor_lcol; 6681 @@ -3412,6 +3422,7 @@ 7014 @@ -2879,8 +2889,9 @@ 7015 } 7016 else 7017 tocol = MAXCOL; 7018 - if (fromcol == tocol) /* do at least one character */ 7019 - tocol = fromcol + 1; /* happens when past end of line */ 7020 + /* do at least one character; happens when past end of line */ 7021 + if (fromcol == tocol) 7022 + tocol = fromcol + 1; 7023 area_highlighting = TRUE; 7024 attr = hl_attr(HLF_I); 7025 } 7026 @@ -3412,6 +3423,7 @@ 6682 7027 && (*mb_ptr2cells)(ptr) > 1) 6683 7028 #endif … … 6687 7032 area_attr = attr; /* start highlighting */ 6688 7033 else if (area_attr != 0 6689 @@ -3544,7 +355 5,8 @@7034 @@ -3544,7 +3556,8 @@ 6690 7035 /* Use line_attr when not in the Visual or 'incsearch' area 6691 7036 * (area_attr may be 0 when "noinvcur" is set). */ … … 6697 7042 #endif 6698 7043 else 6699 @@ -4549,7 +4561,8 @@ 7044 @@ -4106,6 +4119,7 @@ 7045 # endif 7046 (col < W_WIDTH(wp))) 7047 && !(noinvcur 7048 + && lnum == wp->w_cursor.lnum 7049 && (colnr_T)vcol == wp->w_virtcol))) 7050 && lcs_eol_one >= 0) 7051 { 7052 @@ -4247,7 +4261,7 @@ 7053 * preedit_changed and commit. Thus Vim can't set "im_is_active", use 7054 * im_is_preediting() here. */ 7055 if (xic != NULL 7056 - && lnum == curwin->w_cursor.lnum 7057 + && lnum == wp->w_cursor.lnum 7058 && (State & INSERT) 7059 && !p_imdisable 7060 && im_is_preediting() 7061 @@ -4256,7 +4270,7 @@ 7062 colnr_T tcol; 7063 7064 if (preedit_end_col == MAXCOL) 7065 - getvcol(curwin, &(curwin->w_cursor), &tcol, NULL, NULL); 7066 + getvcol(curwin, &(wp->w_cursor), &tcol, NULL, NULL); 7067 else 7068 tcol = preedit_end_col; 7069 if ((long)preedit_start_col <= vcol && vcol < (long)tcol) 7070 @@ -4353,7 +4367,13 @@ 7071 } 7072 #endif 7073 if (lcs_eol == lcs_eol_one 7074 - && ((area_attr != 0 && vcol == fromcol && c == NUL) 7075 + && ((area_attr != 0 && vcol == fromcol 7076 +#ifdef FEAT_VISUAL 7077 + && (VIsual_mode != Ctrl_V 7078 + || lnum == VIsual.lnum 7079 + || lnum == curwin->w_cursor.lnum) 7080 +#endif 7081 + && c == NUL) 7082 #ifdef FEAT_SEARCH_EXTRA 7083 /* highlight 'hlsearch' match at end of line */ 7084 || (prevcol_hl_flag == TRUE 7085 @@ -4447,7 +4467,8 @@ 7086 if (c == NUL) 7087 { 7088 #ifdef FEAT_SYN_HL 7089 - if (eol_hl_off > 0 && vcol - eol_hl_off == (long)wp->w_virtcol) 7090 + if (eol_hl_off > 0 && vcol - eol_hl_off == (long)wp->w_virtcol 7091 + && lnum == wp->w_cursor.lnum) 7092 { 7093 /* highlight last char after line */ 7094 --col; 7095 @@ -4549,7 +4570,8 @@ 6700 7096 * highlight the cursor position itself. */ 6701 7097 if (wp->w_p_cuc && vcol == (long)wp->w_virtcol … … 6707 7103 vcol_save_attr = char_attr; 6708 7104 char_attr = hl_combine_attr(char_attr, hl_attr(HLF_CUC)); 6709 @@ -5119,8 +5132,8 @@ 7105 @@ -4652,7 +4674,7 @@ 7106 --n_skip; 7107 7108 /* Only advance the "vcol" when after the 'number' column. */ 7109 - if (draw_state >= WL_SBR 7110 + if (draw_state > WL_NR 7111 #ifdef FEAT_DIFF 7112 && filler_todo <= 0 7113 #endif 7114 @@ -5119,8 +5141,8 @@ 6710 7115 #endif 6711 7116 … … 6718 7123 * and for some xterms. */ 6719 7124 if ( 6720 @@ -6263,9 +62 76,15 @@7125 @@ -6263,9 +6285,15 @@ 6721 7126 int pcc[MAX_MCO]; 6722 7127 # endif … … 6734 7139 #ifdef FEAT_MBYTE 6735 7140 /* When drawing over the right halve of a double-wide char clear out the 6736 @@ -6275,10 +6 294,21 @@7141 @@ -6275,10 +6303,21 @@ 6737 7142 && !gui.in_use 6738 7143 # endif … … 6758 7163 max_off = LineOffset[row] + screen_Columns; 6759 7164 #endif 6760 @@ -6342,7 +63 72,12 @@7165 @@ -6342,7 +6381,12 @@ 6761 7166 } 6762 7167 #endif … … 6772 7177 || (mbyte_cells == 2 6773 7178 && ScreenLines[off + 1] != (enc_dbcs ? ptr[1] : 0)) 6774 @@ -6350,24 +63 85,24 @@7179 @@ -6350,24 +6394,24 @@ 6775 7180 && c == 0x8e 6776 7181 && ScreenLines2[off] != ptr[1]) … … 6806 7211 gui.in_use 6807 7212 # endif 6808 @@ -6377,23 +64 12,14 @@7213 @@ -6377,23 +6421,14 @@ 6809 7214 # ifdef UNIX 6810 7215 term_is_xterm … … 6836 7241 #endif 6837 7242 #ifdef FEAT_MBYTE 6838 @@ -6480,6 +65 06,20 @@7243 @@ -6480,6 +6515,20 @@ 6839 7244 ++ptr; 6840 7245 } … … 6857 7262 6858 7263 #ifdef FEAT_SEARCH_EXTRA 6859 @@ -7356,7 +7 396,11 @@7264 @@ -7356,7 +7405,11 @@ 6860 7265 #endif 6861 7266 static int entered = FALSE; /* avoid recursiveness */ … … 6869 7274 * Allocation of the screen buffers is done only when the size changes and 6870 7275 * when Rows and Columns have been set and we have started doing full 6871 @@ -7440,10 +74 84,13 @@7276 @@ -7440,10 +7493,13 @@ 6872 7277 { 6873 7278 outofmem = TRUE; … … 6884 7289 #ifdef FEAT_MBYTE 6885 7290 for (i = 0; i < p_mco; ++i) 6886 @@ -7628,8 +76 75,17 @@7291 @@ -7628,8 +7684,17 @@ 6887 7292 --RedrawingDisabled; 6888 7293 … … 6905 7310 diff -Naur vim72.orig/src/spell.c vim72/src/spell.c 6906 7311 --- vim72.orig/src/spell.c 2008-07-12 12:20:55.000000000 -0700 6907 +++ vim72/src/spell.c 2009-03- 12 11:55:13.363596871-07007312 +++ vim72/src/spell.c 2009-03-22 21:31:19.602716022 -0700 6908 7313 @@ -77,7 +77,7 @@ 6909 7314 … … 7776 8181 diff -Naur vim72.orig/src/structs.h vim72/src/structs.h 7777 8182 --- vim72.orig/src/structs.h 2008-07-30 13:02:50.000000000 -0700 7778 +++ vim72/src/structs.h 2009-03- 12 11:54:46.913903059-07008183 +++ vim72/src/structs.h 2009-03-22 21:28:40.380513201 -0700 7779 8184 @@ -459,7 +459,7 @@ 7780 8185 typedef struct … … 7805 8210 diff -Naur vim72.orig/src/tag.c vim72/src/tag.c 7806 8211 --- vim72.orig/src/tag.c 2008-07-16 14:31:30.000000000 -0700 7807 +++ vim72/src/tag.c 2009-03- 12 11:55:13.591613075-07008212 +++ vim72/src/tag.c 2009-03-22 21:32:03.853549379 -0700 7808 8213 @@ -515,7 +515,7 @@ 7809 8214 * If a count is supplied to the ":tag <name>" command, then … … 7936 8341 diff -Naur vim72.orig/src/term.c vim72/src/term.c 7937 8342 --- vim72.orig/src/term.c 2008-07-27 04:48:06.000000000 -0700 7938 +++ vim72/src/term.c 2009-03- 12 11:54:59.914737254-07008343 +++ vim72/src/term.c 2009-03-22 21:30:28.311427015 -0700 7939 8344 @@ -4920,7 +4920,15 @@ 7940 8345 key_name[0] = KEY2TERMCAP0(key); … … 7956 8361 diff -Naur vim72.orig/src/testdir/Makefile vim72/src/testdir/Makefile 7957 8362 --- vim72.orig/src/testdir/Makefile 2008-06-19 13:29:46.000000000 -0700 7958 +++ vim72/src/testdir/Makefile 2009-03- 12 11:55:27.544506216-07008363 +++ vim72/src/testdir/Makefile 2009-03-22 21:32:36.451638218 -0700 7959 8364 @@ -20,21 +20,23 @@ 7960 8365 test48.out test49.out test51.out test52.out test53.out \ … … 7997 8402 diff -Naur vim72.orig/src/testdir/Make_ming.mak vim72/src/testdir/Make_ming.mak 7998 8403 --- vim72.orig/src/testdir/Make_ming.mak 1969-12-31 16:00:00.000000000 -0800 7999 +++ vim72/src/testdir/Make_ming.mak 2009-03- 12 11:54:40.397486521-07008404 +++ vim72/src/testdir/Make_ming.mak 2009-03-22 21:27:50.249298785 -0700 8000 8405 @@ -0,0 +1,91 @@ 8001 8406 +# Makefile to run tests for Vim, on Dos-like machines … … 8092 8497 diff -Naur vim72.orig/src/testdir/test42.ok vim72/src/testdir/test42.ok 8093 8498 --- vim72.orig/src/testdir/test42.ok 2008-02-20 04:27:37.000000000 -0800 8094 +++ vim72/src/testdir/test42.ok 2009-03- 12 11:54:40.601499372-07008499 +++ vim72/src/testdir/test42.ok 2009-03-22 21:28:17.791064674 -0700 8095 8500 @@ -20,7 +20,7 @@ 8096 8501 ucs-2 … … 8104 8509 diff -Naur vim72.orig/src/testdir/test66.in vim72/src/testdir/test66.in 8105 8510 --- vim72.orig/src/testdir/test66.in 1969-12-31 16:00:00.000000000 -0800 8106 +++ vim72/src/testdir/test66.in 2009-03- 12 11:55:27.544506216-07008511 +++ vim72/src/testdir/test66.in 2009-03-22 21:32:36.451638218 -0700 8107 8512 @@ -0,0 +1,25 @@ 8108 8513 + … … 8133 8538 diff -Naur vim72.orig/src/testdir/test66.ok vim72/src/testdir/test66.ok 8134 8539 --- vim72.orig/src/testdir/test66.ok 1969-12-31 16:00:00.000000000 -0800 8135 +++ vim72/src/testdir/test66.ok 2009-03- 12 11:55:27.544506216-07008540 +++ vim72/src/testdir/test66.ok 2009-03-22 21:32:36.451638218 -0700 8136 8541 @@ -0,0 +1,10 @@ 8137 8542 + abcdefghijklmnopqrstuvwxyz … … 8147 8552 diff -Naur vim72.orig/src/ui.c vim72/src/ui.c 8148 8553 --- vim72.orig/src/ui.c 2008-07-14 11:14:56.000000000 -0700 8149 +++ vim72/src/ui.c 2009-03- 12 11:54:50.158111748-07008554 +++ vim72/src/ui.c 2009-03-22 21:29:14.058671044 -0700 8150 8555 @@ -1820,7 +1820,7 @@ 8151 8556 #ifdef HAVE_DUP … … 8255 8660 diff -Naur vim72.orig/src/version.c vim72/src/version.c 8256 8661 --- vim72.orig/src/version.c 2008-08-09 07:24:52.000000000 -0700 8257 +++ vim72/src/version.c 2009-03- 12 11:55:39.893297947-07008258 @@ -677,9 +677,2 80@@8662 +++ vim72/src/version.c 2009-03-22 21:33:03.705385948 -0700 8663 @@ -677,9 +677,294 @@ 8259 8664 static int included_patches[] = 8260 8665 { /* Add new patch number below this line */ 8261 8666 /**/ 8667 + 148, 8668 +/**/ 8669 + 147, 8670 +/**/ 8671 + 146, 8672 +/**/ 8673 + 145, 8674 +/**/ 8675 + 144, 8676 +/**/ 8677 + 143, 8678 +/**/ 8679 + 142, 8680 +/**/ 8262 8681 + 141, 8263 8682 +/**/ … … 8537 8956 highest_patch() 8538 8957 { 8539 @@ -786,7 +10 57,7 @@8958 @@ -786,7 +1071,7 @@ 8540 8959 MSG_PUTS(_("\nRISC OS version")); 8541 8960 #endif … … 8546 8965 if (*compiled_arch != NUL) 8547 8966 { 8548 @@ -825,6 +1 096,19 @@8967 @@ -825,6 +1110,19 @@ 8549 8968 } 8550 8969 } … … 8568 8987 diff -Naur vim72.orig/src/vim.h vim72/src/vim.h 8569 8988 --- vim72.orig/src/vim.h 2008-08-09 09:03:38.000000000 -0700 8570 +++ vim72/src/vim.h 2009-03- 12 11:55:13.547610560-07008989 +++ vim72/src/vim.h 2009-03-22 21:32:51.512605113 -0700 8571 8990 @@ -341,8 +341,14 @@ 8572 8991 #ifdef BACKSLASH_IN_FILENAME … … 8595 9014 typedef unsigned long __w64 long_u; 8596 9015 typedef long __w64 long_i; 8597 @@ -1051,6 +1057,7 @@ 9016 @@ -702,6 +708,7 @@ 9017 #define EXPAND_USER_DEFINED 30 9018 #define EXPAND_USER_LIST 31 9019 #define EXPAND_SHELLCMD 32 9020 +#define EXPAND_CSCOPE 33 9021 9022 /* Values for exmode_active (0 is no exmode) */ 9023 #define EXMODE_NORMAL 1 9024 @@ -1051,6 +1058,7 @@ 8598 9025 #define WSP_HELP 16 /* creating the help window */ 8599 9026 #define WSP_BELOW 32 /* put new window below/right */ … … 8603 9030 /* 8604 9031 * arguments for gui_set_shellsize() 8605 @@ -1728,7 +173 5,8 @@9032 @@ -1728,7 +1736,8 @@ 8606 9033 #define VV_MOUSE_COL 51 8607 9034 #define VV_OP 52 … … 8613 9040 #ifdef FEAT_CLIPBOARD 8614 9041 8615 @@ -1979,6 +198 7,9 @@9042 @@ -1979,6 +1988,9 @@ 8616 9043 # endif 8617 9044 #endif … … 8623 9050 # include "nbdebug.h" 8624 9051 #else 8625 @@ -2054,4 +206 5,10 @@9052 @@ -2054,4 +2066,10 @@ 8626 9053 #define DOSO_VIMRC 1 /* loading vimrc file */ 8627 9054 #define DOSO_GVIMRC 2 /* loading gvimrc file */ … … 8636 9063 diff -Naur vim72.orig/src/window.c vim72/src/window.c 8637 9064 --- vim72.orig/src/window.c 2008-08-06 04:00:30.000000000 -0700 8638 +++ vim72/src/window.c 2009-03- 12 11:55:13.547610560-07009065 +++ vim72/src/window.c 2009-03-22 21:31:54.132928342 -0700 8639 9066 @@ -12,7 +12,7 @@ 8640 9067 static int path_is_url __ARGS((char_u *p)); … … 8727 9154 diff -Naur vim72.orig/src/workshop.c vim72/src/workshop.c 8728 9155 --- vim72.orig/src/workshop.c 2008-06-21 11:53:26.000000000 -0700 8729 +++ vim72/src/workshop.c 2009-03- 12 11:54:50.062104763-07009156 +++ vim72/src/workshop.c 2009-03-22 21:29:08.534315407 -0700 8730 9157 @@ -1121,8 +1121,12 @@ 8731 9158 ? (char *)curbuf->b_sfname : "<None>");
Note: See TracChangeset
for help on using the changeset viewer.