- Timestamp:
- Feb 15, 2009, 11:31:33 PM (16 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- c7ef534
- Parents:
- 8652612
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/vim-7.2-branch_update-8.patch
r8652612 r61a83e8 1 1 Submitted By: Jim Gifford (jim at cross-lfs dot org) 2 Date: 02- 07-20092 Date: 02-15-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.10 26 Description: Contains all upstream patches up to 7.2.108 7 7 The following patches were skipped 8 8 007 036 041 049 071 072 074 088 089 093 101 … … 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-02- 07 22:14:24.920315687 -080012 +++ vim72/Filelist 2009-02-15 23:26:03.078324067 -0800 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-02- 07 22:14:49.082537505-080023 +++ vim72/runtime/doc/cmdline.txt 2009-02-15 23:26:29.516017600 -0800 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-02- 07 22:16:31.313639335-080082 +++ vim72/runtime/doc/eval.txt 2009-02-15 23:28:13.518683894 -0800 83 83 @@ -1,4 +1,4 @@ 84 84 -*eval.txt* For Vim version 7.2. Last change: 2008 Aug 09 … … 200 200 diff -Naur vim72.orig/runtime/doc/netbeans.txt vim72/runtime/doc/netbeans.txt 201 201 --- vim72.orig/runtime/doc/netbeans.txt 2008-08-09 07:22:59.000000000 -0700 202 +++ vim72/runtime/doc/netbeans.txt 2009-02- 07 22:17:10.442415701-0800202 +++ vim72/runtime/doc/netbeans.txt 2009-02-15 23:28:48.044895935 -0800 203 203 @@ -1,4 +1,4 @@ 204 204 -*netbeans.txt* For Vim version 7.2. Last change: 2008 Jun 28 … … 222 222 diff -Naur vim72.orig/runtime/doc/options.txt vim72/runtime/doc/options.txt 223 223 --- vim72.orig/runtime/doc/options.txt 2008-08-09 07:22:59.000000000 -0700 224 +++ vim72/runtime/doc/options.txt 2009-02- 07 22:15:46.012035201-0800224 +++ vim72/runtime/doc/options.txt 2009-02-15 23:27:23.659489593 -0800 225 225 @@ -1,4 +1,4 @@ 226 226 -*options.txt* For Vim version 7.2. Last change: 2008 Aug 06 … … 242 242 diff -Naur vim72.orig/runtime/doc/spell.txt vim72/runtime/doc/spell.txt 243 243 --- vim72.orig/runtime/doc/spell.txt 2008-08-09 07:23:00.000000000 -0700 244 +++ vim72/runtime/doc/spell.txt 2009-02- 07 22:16:14.222486660-0800244 +++ vim72/runtime/doc/spell.txt 2009-02-15 23:27:49.861165805 -0800 245 245 @@ -1,4 +1,4 @@ 246 246 -*spell.txt* For Vim version 7.2. Last change: 2008 Jun 21 … … 372 372 diff -Naur vim72.orig/runtime/doc/starting.txt vim72/runtime/doc/starting.txt 373 373 --- vim72.orig/runtime/doc/starting.txt 2008-08-09 07:23:00.000000000 -0700 374 +++ vim72/runtime/doc/starting.txt 2009-02- 07 22:14:49.086641151-0800374 +++ vim72/runtime/doc/starting.txt 2009-02-15 23:26:29.520020393 -0800 375 375 @@ -1,4 +1,4 @@ 376 376 -*starting.txt* For Vim version 7.2. Last change: 2008 Jun 21 … … 434 434 diff -Naur vim72.orig/runtime/doc/usr_21.txt vim72/runtime/doc/usr_21.txt 435 435 --- vim72.orig/runtime/doc/usr_21.txt 2008-08-09 07:23:01.000000000 -0700 436 +++ vim72/runtime/doc/usr_21.txt 2009-02- 07 22:14:49.086641151-0800436 +++ vim72/runtime/doc/usr_21.txt 2009-02-15 23:26:29.520020393 -0800 437 437 @@ -1,4 +1,4 @@ 438 438 -*usr_21.txt* For Vim version 7.2. Last change: 2007 May 01 … … 501 501 diff -Naur vim72.orig/runtime/scripts.vim vim72/runtime/scripts.vim 502 502 --- vim72.orig/runtime/scripts.vim 2008-08-08 15:27:21.000000000 -0700 503 +++ vim72/runtime/scripts.vim 2009-02- 07 22:13:32.395881827-0800503 +++ vim72/runtime/scripts.vim 2009-02-15 23:25:14.879235088 -0800 504 504 @@ -234,6 +234,10 @@ 505 505 elseif s:line1 =~ '\<DTD\s\+XHTML\s' … … 515 515 diff -Naur vim72.orig/src/auto/configure vim72/src/auto/configure 516 516 --- vim72.orig/src/auto/configure 2008-07-24 05:40:36.000000000 -0700 517 +++ vim72/src/auto/configure 2009-02- 07 22:15:25.364839224-0800517 +++ vim72/src/auto/configure 2009-02-15 23:27:04.022228523 -0800 518 518 @@ -16819,21 +16819,29 @@ 519 519 LDFLAGS="$LDFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc" … … 556 556 diff -Naur vim72.orig/src/buffer.c vim72/src/buffer.c 557 557 --- vim72.orig/src/buffer.c 2008-08-06 04:00:48.000000000 -0700 558 +++ vim72/src/buffer.c 2009-02- 07 22:17:10.446515715 -0800558 +++ vim72/src/buffer.c 2009-02-15 23:28:48.044895935 -0800 559 559 @@ -437,10 +437,6 @@ 560 560 return; … … 674 674 diff -Naur vim72.orig/src/configure.in vim72/src/configure.in 675 675 --- vim72.orig/src/configure.in 2008-07-24 05:40:26.000000000 -0700 676 +++ vim72/src/configure.in 2009-02- 07 22:15:25.364839224-0800676 +++ vim72/src/configure.in 2009-02-15 23:27:04.022228523 -0800 677 677 @@ -3152,18 +3152,25 @@ 678 678 dnl But only when making dependencies, cproto and lint don't take "-isystem". … … 709 709 diff -Naur vim72.orig/src/diff.c vim72/src/diff.c 710 710 --- vim72.orig/src/diff.c 2008-03-05 03:16:56.000000000 -0800 711 +++ vim72/src/diff.c 2009-02- 07 22:17:31.848396425-0800711 +++ vim72/src/diff.c 2009-02-15 23:29:07.186120966 -0800 712 712 @@ -8,7 +8,7 @@ 713 713 */ … … 835 835 diff -Naur vim72.orig/src/edit.c vim72/src/edit.c 836 836 --- vim72.orig/src/edit.c 2008-08-06 05:51:17.000000000 -0700 837 +++ vim72/src/edit.c 2009-02- 07 22:17:53.553792150-0800837 +++ vim72/src/edit.c 2009-02-15 23:29:31.179660846 -0800 838 838 @@ -147,6 +147,7 @@ 839 839 static int ins_compl_bs __ARGS((void)); … … 1075 1075 diff -Naur vim72.orig/src/eval.c vim72/src/eval.c 1076 1076 --- vim72.orig/src/eval.c 2008-08-07 12:37:22.000000000 -0700 1077 +++ vim72/src/eval.c 2009-02- 07 22:18:04.431097639-08001077 +++ vim72/src/eval.c 2009-02-15 23:29:43.448444754 -0800 1078 1078 @@ -32,6 +32,9 @@ 1079 1079 … … 1964 1964 diff -Naur vim72.orig/src/ex_cmds2.c vim72/src/ex_cmds2.c 1965 1965 --- vim72.orig/src/ex_cmds2.c 2008-07-13 09:18:22.000000000 -0700 1966 +++ vim72/src/ex_cmds2.c 2009-02- 07 22:18:15.152545887-08001966 +++ vim72/src/ex_cmds2.c 2009-02-15 23:29:53.533092890 -0800 1967 1967 @@ -2842,6 +2842,7 @@ 1968 1968 linenr_T save_sourcing_lnum; … … 2057 2057 diff -Naur vim72.orig/src/ex_cmds.c vim72/src/ex_cmds.c 2058 2058 --- vim72.orig/src/ex_cmds.c 2008-08-04 12:15:00.000000000 -0700 2059 +++ vim72/src/ex_cmds.c 2009-02- 07 22:17:58.717640174-08002059 +++ vim72/src/ex_cmds.c 2009-02-15 23:29:58.597415281 -0800 2060 2060 @@ -24,7 +24,7 @@ 2061 2061 static void do_filter __ARGS((linenr_T line1, linenr_T line2, exarg_T *eap, char_u *cmd, int do_in, int do_out)); … … 2214 2214 2215 2215 /* 2216 @@ -5059,6 +5062,7 @@ 2216 @@ -2704,7 +2707,12 @@ 2217 if (eap->cmdidx == CMD_saveas) 2218 { 2219 if (retval == OK) 2220 + { 2221 curbuf->b_p_ro = FALSE; 2222 +#ifdef FEAT_WINDOWS 2223 + redraw_tabline = TRUE; 2224 +#endif 2225 + } 2226 /* Change directories when the 'acd' option is set. */ 2227 DO_AUTOCHDIR 2228 } 2229 @@ -5059,6 +5067,7 @@ 2217 2230 2218 2231 if (did_sub) … … 2224 2237 diff -Naur vim72.orig/src/ex_cmds.h vim72/src/ex_cmds.h 2225 2238 --- vim72.orig/src/ex_cmds.h 2008-06-21 11:47:57.000000000 -0700 2226 +++ vim72/src/ex_cmds.h 2009-02- 07 22:14:49.094844532 -08002239 +++ vim72/src/ex_cmds.h 2009-02-15 23:26:29.532020952 -0800 2227 2240 @@ -278,7 +278,7 @@ 2228 2241 EX(CMD_crewind, "crewind", ex_cc, … … 2272 2285 diff -Naur vim72.orig/src/ex_docmd.c vim72/src/ex_docmd.c 2273 2286 --- vim72.orig/src/ex_docmd.c 2008-07-26 04:51:05.000000000 -0700 2274 +++ vim72/src/ex_docmd.c 2009-02- 07 22:17:42.541134237-08002287 +++ vim72/src/ex_docmd.c 2009-02-15 23:29:17.390774968 -0800 2275 2288 @@ -364,6 +364,7 @@ 2276 2289 # define ex_function ex_ni … … 2489 2502 diff -Naur vim72.orig/src/ex_getln.c vim72/src/ex_getln.c 2490 2503 --- vim72.orig/src/ex_getln.c 2008-08-08 02:31:33.000000000 -0700 2491 +++ vim72/src/ex_getln.c 2009-02- 07 22:15:46.007933510-08002504 +++ vim72/src/ex_getln.c 2009-02-15 23:27:23.655489034 -0800 2492 2505 @@ -31,6 +31,8 @@ 2493 2506 int cmdattr; /* attributes for prompt */ … … 2623 2636 diff -Naur vim72.orig/src/feature.h vim72/src/feature.h 2624 2637 --- vim72.orig/src/feature.h 2008-08-06 04:00:39.000000000 -0700 2625 +++ vim72/src/feature.h 2009-02- 07 22:14:49.098945384-08002638 +++ vim72/src/feature.h 2009-02-15 23:26:29.532020952 -0800 2626 2639 @@ -767,9 +767,13 @@ 2627 2640 … … 2642 2655 diff -Naur vim72.orig/src/fileio.c vim72/src/fileio.c 2643 2656 --- vim72.orig/src/fileio.c 2008-08-06 04:01:03.000000000 -0700 2644 +++ vim72/src/fileio.c 2009-02- 07 22:17:04.228567398-08002657 +++ vim72/src/fileio.c 2009-02-15 23:28:42.524542813 -0800 2645 2658 @@ -932,7 +932,10 @@ 2646 2659 else … … 2872 2885 diff -Naur vim72.orig/src/fold.c vim72/src/fold.c 2873 2886 --- vim72.orig/src/fold.c 2008-08-06 04:01:12.000000000 -0700 2874 +++ vim72/src/fold.c 2009-02- 07 22:17:06.755120268-08002887 +++ vim72/src/fold.c 2009-02-15 23:28:45.352722167 -0800 2875 2888 @@ -48,7 +48,7 @@ 2876 2889 static int foldFind __ARGS((garray_T *gap, linenr_T lnum, fold_T **fpp)); … … 2961 2974 diff -Naur vim72.orig/src/getchar.c vim72/src/getchar.c 2962 2975 --- vim72.orig/src/getchar.c 2008-07-22 09:57:48.000000000 -0700 2963 +++ vim72/src/getchar.c 2009-02- 07 22:15:56.893443498-08002976 +++ vim72/src/getchar.c 2009-02-15 23:27:32.644064534 -0800 2964 2977 @@ -4702,7 +4702,7 @@ 2965 2978 return FAIL; … … 2982 2995 diff -Naur vim72.orig/src/globals.h vim72/src/globals.h 2983 2996 --- vim72.orig/src/globals.h 2008-07-26 04:53:29.000000000 -0700 2984 +++ vim72/src/globals.h 2009-02- 07 22:17:10.446515715 -08002997 +++ vim72/src/globals.h 2009-02-15 23:28:48.044895935 -0800 2985 2998 @@ -1022,6 +1022,7 @@ 2986 2999 #endif … … 3016 3029 diff -Naur vim72.orig/src/gui_at_sb.c vim72/src/gui_at_sb.c 3017 3030 --- vim72.orig/src/gui_at_sb.c 2004-06-07 07:32:25.000000000 -0700 3018 +++ vim72/src/gui_at_sb.c 2009-02- 07 22:16:00.129565861-08003031 +++ vim72/src/gui_at_sb.c 2009-02-15 23:27:36.144289425 -0800 3019 3032 @@ -1078,6 +1078,12 @@ 3020 3033 Cardinal *num_params; /* unused */ … … 3042 3055 diff -Naur vim72.orig/src/gui.c vim72/src/gui.c 3043 3056 --- vim72.orig/src/gui.c 2008-07-27 12:32:14.000000000 -0700 3044 +++ vim72/src/gui.c 2009-02- 07 22:16:28.052906831-08003057 +++ vim72/src/gui.c 2009-02-15 23:28:10.986519625 -0800 3045 3058 @@ -139,7 +139,7 @@ 3046 3059 /* The read returns when the child closes the pipe (or when … … 3135 3148 diff -Naur vim72.orig/src/gui_gtk_x11.c vim72/src/gui_gtk_x11.c 3136 3149 --- vim72.orig/src/gui_gtk_x11.c 2008-07-04 03:46:24.000000000 -0700 3137 +++ vim72/src/gui_gtk_x11.c 2009-02- 07 22:16:00.133666993-08003150 +++ vim72/src/gui_gtk_x11.c 2009-02-15 23:27:36.148289425 -0800 3138 3151 @@ -4070,14 +4070,14 @@ 3139 3152 … … 3159 3172 diff -Naur vim72.orig/src/gui_x11.c vim72/src/gui_x11.c 3160 3173 --- vim72.orig/src/gui_x11.c 2008-06-08 08:13:45.000000000 -0700 3161 +++ vim72/src/gui_x11.c 2009-02- 07 22:15:00.616092472-08003174 +++ vim72/src/gui_x11.c 2009-02-15 23:26:39.688669925 -0800 3162 3175 @@ -2450,7 +2450,7 @@ 3163 3176 *colorPtr = colortable[closest]; … … 3171 3184 diff -Naur vim72.orig/src/gui_xmdlg.c vim72/src/gui_xmdlg.c 3172 3185 --- vim72.orig/src/gui_xmdlg.c 2008-06-21 09:05:32.000000000 -0700 3173 +++ vim72/src/gui_xmdlg.c 2009-02- 07 22:16:00.133666993-08003186 +++ vim72/src/gui_xmdlg.c 2009-02-15 23:27:36.148289425 -0800 3174 3187 @@ -369,10 +369,10 @@ 3175 3188 char buf[TEMP_BUF_SIZE]; … … 3327 3340 diff -Naur vim72.orig/src/gui_xmebw.c vim72/src/gui_xmebw.c 3328 3341 --- vim72.orig/src/gui_xmebw.c 2007-09-06 03:57:51.000000000 -0700 3329 +++ vim72/src/gui_xmebw.c 2009-02- 07 22:16:00.133666993-08003342 +++ vim72/src/gui_xmebw.c 2009-02-15 23:27:36.148289425 -0800 3330 3343 @@ -1256,7 +1256,7 @@ 3331 3344 } … … 3354 3367 diff -Naur vim72.orig/src/if_cscope.c vim72/src/if_cscope.c 3355 3368 --- vim72.orig/src/if_cscope.c 2008-06-24 09:32:34.000000000 -0700 3356 +++ vim72/src/if_cscope.c 2009-02- 07 22:17:45.055382037-08003369 +++ vim72/src/if_cscope.c 2009-02-15 23:29:20.378966335 -0800 3357 3370 @@ -74,7 +74,7 @@ 3358 3371 { "add", cs_add, … … 3397 3410 diff -Naur vim72.orig/src/if_cscope.h vim72/src/if_cscope.h 3398 3411 --- vim72.orig/src/if_cscope.h 2007-09-02 07:51:08.000000000 -0700 3399 +++ vim72/src/if_cscope.h 2009-02- 07 22:13:26.206645342-08003412 +++ vim72/src/if_cscope.h 2009-02-15 23:25:07.934792289 -0800 3400 3413 @@ -42,17 +42,6 @@ 3401 3414 * f 7name Find this file … … 3418 3431 diff -Naur vim72.orig/src/if_perl.xs vim72/src/if_perl.xs 3419 3432 --- vim72.orig/src/if_perl.xs 2008-07-17 13:55:09.000000000 -0700 3420 +++ vim72/src/if_perl.xs 2009-02- 07 22:16:22.052343345 -08003433 +++ vim72/src/if_perl.xs 2009-02-15 23:28:02.421970945 -0800 3421 3434 @@ -136,6 +136,9 @@ 3422 3435 # define Perl_newXS_flags dll_Perl_newXS_flags … … 3469 3482 diff -Naur vim72.orig/src/if_python.c vim72/src/if_python.c 3470 3483 --- vim72.orig/src/if_python.c 2008-07-17 14:09:32.000000000 -0700 3471 +++ vim72/src/if_python.c 2009-02- 07 22:17:23.579673139-08003484 +++ vim72/src/if_python.c 2009-02-15 23:29:02.149800251 -0800 3472 3485 @@ -531,6 +531,12 @@ 3473 3486 if (PythonMod_Init()) … … 3571 3584 diff -Naur vim72.orig/src/if_xcmdsrv.c vim72/src/if_xcmdsrv.c 3572 3585 --- vim72.orig/src/if_xcmdsrv.c 2008-07-18 06:05:03.000000000 -0700 3573 +++ vim72/src/if_xcmdsrv.c 2009-02- 07 22:15:09.294969689-08003586 +++ vim72/src/if_xcmdsrv.c 2009-02-15 23:26:47.873194300 -0800 3574 3587 @@ -736,7 +736,7 @@ 3575 3588 + serverReply.ga_len; … … 3601 3614 diff -Naur vim72.orig/src/main.c vim72/src/main.c 3602 3615 --- vim72.orig/src/main.c 2008-07-24 01:40:56.000000000 -0700 3603 +++ vim72/src/main.c 2009-02- 07 22:16:00.133666993-08003616 +++ vim72/src/main.c 2009-02-15 23:27:36.148289425 -0800 3604 3617 @@ -645,11 +645,12 @@ 3605 3618 … … 3663 3676 diff -Naur vim72.orig/src/mark.c vim72/src/mark.c 3664 3677 --- vim72.orig/src/mark.c 2008-08-08 15:06:49.000000000 -0700 3665 +++ vim72/src/mark.c 2009-02- 07 22:14:49.103047074-08003678 +++ vim72/src/mark.c 2009-02-15 23:26:29.540021232 -0800 3666 3679 @@ -1627,15 +1627,17 @@ 3667 3680 … … 3732 3745 diff -Naur vim72.orig/src/mbyte.c vim72/src/mbyte.c 3733 3746 --- vim72.orig/src/mbyte.c 2008-07-14 05:38:05.000000000 -0700 3734 +++ vim72/src/mbyte.c 2009-02- 07 22:16:00.137768683-08003747 +++ vim72/src/mbyte.c 2009-02-15 23:27:36.152289705 -0800 3735 3748 @@ -717,7 +717,7 @@ 3736 3749 * where mblen() returns 0 for invalid character. … … 3814 3827 diff -Naur vim72.orig/src/menu.c vim72/src/menu.c 3815 3828 --- vim72.orig/src/menu.c 2008-06-21 12:53:43.000000000 -0700 3816 +++ vim72/src/menu.c 2009-02- 07 22:13:20.029714486-08003829 +++ vim72/src/menu.c 2009-02-15 23:25:01.126353959 -0800 3817 3830 @@ -1120,6 +1120,7 @@ 3818 3831 parent = menu; … … 3825 3838 diff -Naur vim72.orig/src/message.c vim72/src/message.c 3826 3839 --- vim72.orig/src/message.c 2008-07-09 11:24:55.000000000 -0700 3827 +++ vim72/src/message.c 2009-02-07 22:17:15.799035061 -0800 3828 @@ -4556,7 +4556,13 @@ 3840 +++ vim72/src/message.c 2009-02-15 23:30:06.305911160 -0800 3841 @@ -3309,7 +3309,10 @@ 3842 { 3843 c = gui_mch_dialog(type, title, message, buttons, dfltbutton, 3844 textfield); 3845 - msg_end_prompt(); 3846 + /* avoid a hit-enter prompt without clearing the cmdline */ 3847 + need_wait_return = FALSE; 3848 + emsg_on_display = FALSE; 3849 + cmdline_row = msg_row; 3850 3851 /* Flush output to avoid that further messages and redrawing is done 3852 * in the wrong order. */ 3853 @@ -4556,7 +4559,13 @@ 3829 3854 remove_trailing_zeroes = TRUE; 3830 3855 } … … 3841 3866 /* Avoid a buffer overflow */ 3842 3867 strcpy(tmp, "inf"); 3843 @@ -4585,61 +459 1,62 @@3868 @@ -4585,61 +4594,62 @@ 3844 3869 if (remove_trailing_zeroes) 3845 3870 { … … 3927 3952 diff -Naur vim72.orig/src/misc1.c vim72/src/misc1.c 3928 3953 --- vim72.orig/src/misc1.c 2008-07-12 12:20:53.000000000 -0700 3929 +++ vim72/src/misc1.c 2009-02- 07 22:14:49.107148764-08003954 +++ vim72/src/misc1.c 2009-02-15 23:26:29.540021232 -0800 3930 3955 @@ -3245,9 +3245,9 @@ 3931 3956 … … 3942 3967 diff -Naur vim72.orig/src/misc2.c vim72/src/misc2.c 3943 3968 --- vim72.orig/src/misc2.c 2008-07-23 12:12:56.000000000 -0700 3944 +++ vim72/src/misc2.c 2009-02- 07 22:17:34.370847325 -08003969 +++ vim72/src/misc2.c 2009-02-15 23:29:09.750285235 -0800 3945 3970 @@ -873,7 +873,7 @@ 3946 3971 /* 3. check for available memory: call mch_avail_mem() */ … … 4023 4048 diff -Naur vim72.orig/src/move.c vim72/src/move.c 4024 4049 --- vim72.orig/src/move.c 2008-07-12 09:26:47.000000000 -0700 4025 +++ vim72/src/move.c 2009-02- 07 22:15:20.110754575-08004050 +++ vim72/src/move.c 2009-02-15 23:26:58.897901382 -0800 4026 4051 @@ -280,18 +280,20 @@ 4027 4052 … … 4073 4098 diff -Naur vim72.orig/src/netbeans.c vim72/src/netbeans.c 4074 4099 --- vim72.orig/src/netbeans.c 2008-07-13 09:19:54.000000000 -0700 4075 +++ vim72/src/netbeans.c 2009-02- 07 22:17:10.446515715-08004100 +++ vim72/src/netbeans.c 2009-02-15 23:28:48.048896773 -0800 4076 4101 @@ -1043,7 +1043,7 @@ 4077 4102 nbdebug(("EVT: %s", buf)); … … 4162 4187 diff -Naur vim72.orig/src/normal.c vim72/src/normal.c 4163 4188 --- vim72.orig/src/normal.c 2008-07-31 13:03:08.000000000 -0700 4164 +++ vim72/src/normal.c 2009-02- 07 22:17:56.080346418-08004189 +++ vim72/src/normal.c 2009-02-15 23:29:35.431930716 -0800 4165 4190 @@ -183,6 +183,8 @@ 4166 4191 static void nv_cursorhold __ARGS((cmdarg_T *cap)); … … 4368 4393 diff -Naur vim72.orig/src/ops.c vim72/src/ops.c 4369 4394 --- vim72.orig/src/ops.c 2008-06-21 13:08:59.000000000 -0700 4370 +++ vim72/src/ops.c 2009-02- 07 22:16:25.009559715-08004395 +++ vim72/src/ops.c 2009-02-15 23:28:04.942134376 -0800 4371 4396 @@ -2209,12 +2209,15 @@ 4372 4397 { … … 4389 4414 diff -Naur vim72.orig/src/option.c vim72/src/option.c 4390 4415 --- vim72.orig/src/option.c 2008-07-18 06:05:33.000000000 -0700 4391 +++ vim72/src/option.c 2009-02- 07 22:18:06.941245984-08004416 +++ vim72/src/option.c 2009-02-15 23:30:11.834265120 -0800 4392 4417 @@ -2593,13 +2593,13 @@ 4393 4418 #ifdef FEAT_VIMINFO … … 4407 4432 #endif 4408 4433 #else 4409 @@ -5407,6 +5407,10 @@ 4434 @@ -4119,11 +4119,23 @@ 4435 && options[opt_idx].var == VAR_WIN) 4436 goto skip; 4437 4438 - /* Disallow changing some options from modelines */ 4439 - if ((opt_flags & OPT_MODELINE) && (flags & P_SECURE)) 4440 + /* Disallow changing some options from modelines. */ 4441 + if (opt_flags & OPT_MODELINE) 4442 { 4443 - errmsg = (char_u *)_("E520: Not allowed in a modeline"); 4444 - goto skip; 4445 + if (flags & P_SECURE) 4446 + { 4447 + errmsg = (char_u *)_("E520: Not allowed in a modeline"); 4448 + goto skip; 4449 + } 4450 +#ifdef FEAT_DIFF 4451 + /* In diff mode some options are overruled. This avoids that 4452 + * 'foldmethod' becomes "marker" instead of "diff" and that 4453 + * "wrap" gets set. */ 4454 + if (curwin->w_p_diff 4455 + && (options[opt_idx].indir == PV_FDM 4456 + || options[opt_idx].indir == PV_WRAP)) 4457 + goto skip; 4458 +#endif 4459 } 4460 4461 #ifdef HAVE_SANDBOX 4462 @@ -5268,6 +5280,21 @@ 4463 } 4464 #endif 4465 4466 +#ifdef FEAT_TITLE 4467 +static void redraw_titles __ARGS((void)); 4468 + 4469 +/* 4470 + * Redraw the window title and/or tab page text later. 4471 + */ 4472 +static void redraw_titles() 4473 +{ 4474 + need_maketitle = TRUE; 4475 +# ifdef FEAT_WINDOWS 4476 + redraw_tabline = TRUE; 4477 +# endif 4478 +} 4479 +#endif 4480 + 4481 /* 4482 * Set a string option to a new value (without checking the effect). 4483 * The string is copied into allocated memory. 4484 @@ -5407,6 +5434,10 @@ 4410 4485 int did_chartab = FALSE; 4411 4486 char_u **gvarp; … … 4418 4493 /* Get the global option to compare with, otherwise we would have to check 4419 4494 * two values for all local options. */ 4420 @@ -6055,6 +6059,7 @@ 4495 @@ -5668,7 +5699,7 @@ 4496 { 4497 # ifdef FEAT_TITLE 4498 /* May show a "+" in the title now. */ 4499 - need_maketitle = TRUE; 4500 + redraw_titles(); 4501 # endif 4502 /* Add 'fileencoding' to the swap file. */ 4503 ml_setflags(curbuf); 4504 @@ -5687,7 +5718,7 @@ 4505 { 4506 errmsg = mb_init(); 4507 # ifdef FEAT_TITLE 4508 - need_maketitle = TRUE; 4509 + redraw_titles(); 4510 # endif 4511 } 4512 } 4513 @@ -5796,7 +5827,7 @@ 4514 else 4515 curbuf->b_p_tx = FALSE; 4516 #ifdef FEAT_TITLE 4517 - need_maketitle = TRUE; 4518 + redraw_titles(); 4519 #endif 4520 /* update flag in swap file */ 4521 ml_setflags(curbuf); 4522 @@ -6055,6 +6086,7 @@ 4421 4523 errmsg = (char_u *)N_("E596: Invalid font(s)"); 4422 4524 } … … 4426 4528 # ifdef FEAT_XFONTSET 4427 4529 else if (varp == &p_guifontset) 4428 @@ -6063,6 +60 68,7 @@4530 @@ -6063,6 +6095,7 @@ 4429 4531 errmsg = (char_u *)N_("E597: can't select fontset"); 4430 4532 else if (gui.in_use && gui_init_font(p_guifontset, TRUE) != OK) … … 4434 4536 # endif 4435 4537 # ifdef FEAT_MBYTE 4436 @@ -6072,6 +6 078,7 @@4538 @@ -6072,6 +6105,7 @@ 4437 4539 errmsg = (char_u *)N_("E533: can't select wide font"); 4438 4540 else if (gui_get_wide_font() == FAIL) … … 4442 4544 # endif 4443 4545 #endif 4444 @@ -6133,13 +61 40,24 @@4546 @@ -6133,13 +6167,24 @@ 4445 4547 #ifdef FEAT_GUI 4446 4548 /* 'guioptions' */ … … 4467 4569 4468 4570 #if defined(FEAT_MOUSE_TTY) && (defined(UNIX) || defined(VMS)) 4469 @@ -6717,7 +67 35,11 @@4571 @@ -6717,7 +6762,11 @@ 4470 4572 4471 4573 if (curwin->w_curswant != MAXCOL) … … 4480 4582 return errmsg; 4481 4583 } 4482 @@ -7974,6 +7996,11 @@ 4584 @@ -7105,22 +7154,28 @@ 4585 curbuf->b_did_warn = FALSE; 4586 4587 #ifdef FEAT_TITLE 4588 - need_maketitle = TRUE; 4589 + redraw_titles(); 4590 #endif 4591 } 4592 4593 #ifdef FEAT_TITLE 4594 /* when 'modifiable' is changed, redraw the window title */ 4595 else if ((int *)varp == &curbuf->b_p_ma) 4596 - need_maketitle = TRUE; 4597 + { 4598 + redraw_titles(); 4599 + } 4600 /* when 'endofline' is changed, redraw the window title */ 4601 else if ((int *)varp == &curbuf->b_p_eol) 4602 - need_maketitle = TRUE; 4603 -#ifdef FEAT_MBYTE 4604 - /* when 'bomb' is changed, redraw the window title */ 4605 + { 4606 + redraw_titles(); 4607 + } 4608 +# ifdef FEAT_MBYTE 4609 + /* when 'bomb' is changed, redraw the window title and tab page text */ 4610 else if ((int *)varp == &curbuf->b_p_bomb) 4611 - need_maketitle = TRUE; 4612 -#endif 4613 + { 4614 + redraw_titles(); 4615 + } 4616 +# endif 4617 #endif 4618 4619 /* when 'bin' is set also set some other options */ 4620 @@ -7128,7 +7183,7 @@ 4621 { 4622 set_options_bin(old_value, curbuf->b_p_bin, opt_flags); 4623 #ifdef FEAT_TITLE 4624 - need_maketitle = TRUE; 4625 + redraw_titles(); 4626 #endif 4627 } 4628 4629 @@ -7279,7 +7334,7 @@ 4630 if (!value) 4631 save_file_ff(curbuf); /* Buffer is unchanged */ 4632 #ifdef FEAT_TITLE 4633 - need_maketitle = TRUE; 4634 + redraw_titles(); 4635 #endif 4636 #ifdef FEAT_AUTOCMD 4637 modified_was_set = value; 4638 @@ -7714,7 +7769,7 @@ 4639 newFoldLevel(); 4640 } 4641 4642 - /* 'foldminlevel' */ 4643 + /* 'foldminlines' */ 4644 else if (pp == &curwin->w_p_fml) 4645 { 4646 foldUpdateAll(curwin); 4647 @@ -7974,6 +8029,11 @@ 4483 4648 else /* curwin->w_p_scr > curwin->w_height */ 4484 4649 curwin->w_p_scr = curwin->w_height; … … 4492 4657 { 4493 4658 errmsg = e_positive; 4494 @@ -8227,13 +82 54,13 @@4659 @@ -8227,13 +8287,13 @@ 4495 4660 { 4496 4661 if (number == 0 && string != NULL) … … 4509 4674 /* There's another character after zeros or the string 4510 4675 * is empty. In both cases, we are trying to set a 4511 @@ -8323,7 +83 50,7 @@4676 @@ -8323,7 +8383,7 @@ 4512 4677 { 4513 4678 --arg; /* put arg at the '<' */ … … 4520 4685 diff -Naur vim72.orig/src/os_unix.c vim72/src/os_unix.c 4521 4686 --- vim72.orig/src/os_unix.c 2008-08-06 04:01:40.000000000 -0700 4522 +++ vim72/src/os_unix.c 2009-02- 07 22:18:01.281110211-08004687 +++ vim72/src/os_unix.c 2009-02-15 23:29:40.908282162 -0800 4523 4688 @@ -315,12 +315,15 @@ 4524 4689 {-1, "Unknown!", FALSE} … … 4652 4817 diff -Naur vim72.orig/src/proto/eval.pro vim72/src/proto/eval.pro 4653 4818 --- vim72.orig/src/proto/eval.pro 2008-08-09 07:31:25.000000000 -0700 4654 +++ vim72/src/proto/eval.pro 2009-02- 07 22:15:36.283161615-08004819 +++ vim72/src/proto/eval.pro 2009-02-15 23:27:14.702915211 -0800 4655 4820 @@ -17,7 +17,7 @@ 4656 4821 int eval_to_bool __ARGS((char_u *arg, int *error, char_u **nextcmd, int skip)); … … 4694 4859 diff -Naur vim72.orig/src/proto/ex_cmds.pro vim72/src/proto/ex_cmds.pro 4695 4860 --- vim72.orig/src/proto/ex_cmds.pro 2008-08-09 07:31:25.000000000 -0700 4696 +++ vim72/src/proto/ex_cmds.pro 2009-02- 07 22:14:49.107148764-08004861 +++ vim72/src/proto/ex_cmds.pro 2009-02-15 23:26:29.540021232 -0800 4697 4862 @@ -11,7 +11,7 @@ 4698 4863 char_u *make_filter_cmd __ARGS((char_u *cmd, char_u *itmp, char_u *otmp)); … … 4706 4871 diff -Naur vim72.orig/src/proto/ex_getln.pro vim72/src/proto/ex_getln.pro 4707 4872 --- vim72.orig/src/proto/ex_getln.pro 2008-08-09 07:31:28.000000000 -0700 4708 +++ vim72/src/proto/ex_getln.pro 2009-02- 07 22:15:46.007933510-08004873 +++ vim72/src/proto/ex_getln.pro 2009-02-15 23:27:23.655489034 -0800 4709 4874 @@ -31,7 +31,7 @@ 4710 4875 void set_cmd_context __ARGS((expand_T *xp, char_u *str, int len, int col)); … … 4718 4883 diff -Naur vim72.orig/src/proto/mark.pro vim72/src/proto/mark.pro 4719 4884 --- vim72.orig/src/proto/mark.pro 2008-08-09 07:31:36.000000000 -0700 4720 +++ vim72/src/proto/mark.pro 2009-02- 07 22:14:49.107148764-08004885 +++ vim72/src/proto/mark.pro 2009-02-15 23:26:29.540021232 -0800 4721 4886 @@ -26,5 +26,5 @@ 4722 4887 void write_viminfo_filemarks __ARGS((FILE *fp)); … … 4728 4893 diff -Naur vim72.orig/src/proto/misc2.pro vim72/src/proto/misc2.pro 4729 4894 --- vim72.orig/src/proto/misc2.pro 2008-08-09 07:31:40.000000000 -0700 4730 +++ vim72/src/proto/misc2.pro 2009-02- 07 22:16:52.932903479-08004895 +++ vim72/src/proto/misc2.pro 2009-02-15 23:28:32.423895795 -0800 4731 4896 @@ -59,7 +59,7 @@ 4732 4897 int handle_x_keys __ARGS((int key)); … … 4740 4905 diff -Naur vim72.orig/src/proto/netbeans.pro vim72/src/proto/netbeans.pro 4741 4906 --- vim72.orig/src/proto/netbeans.pro 2008-08-09 07:31:56.000000000 -0700 4742 +++ vim72/src/proto/netbeans.pro 2009-02- 07 22:17:10.446515715-08004907 +++ vim72/src/proto/netbeans.pro 2009-02-15 23:28:48.048896773 -0800 4743 4908 @@ -11,7 +11,7 @@ 4744 4909 void netbeans_frame_moved __ARGS((int new_x, int new_y)); … … 4752 4917 diff -Naur vim72.orig/src/pty.c vim72/src/pty.c 4753 4918 --- vim72.orig/src/pty.c 2008-06-21 11:52:58.000000000 -0700 4754 +++ vim72/src/pty.c 2009-02- 07 22:13:17.113511664-08004919 +++ vim72/src/pty.c 2009-02-15 23:24:57.546124598 -0800 4755 4920 @@ -270,9 +270,10 @@ 4756 4921 } … … 4768 4933 diff -Naur vim72.orig/src/screen.c vim72/src/screen.c 4769 4934 --- vim72.orig/src/screen.c 2008-07-24 07:45:07.000000000 -0700 4770 +++ vim72/src/screen.c 2009-02- 07 22:14:27.770892024-08004935 +++ vim72/src/screen.c 2009-02-15 23:26:05.654490571 -0800 4771 4936 @@ -2439,9 +2439,17 @@ 4772 4937 … … 4792 4957 diff -Naur vim72.orig/src/spell.c vim72/src/spell.c 4793 4958 --- vim72.orig/src/spell.c 2008-07-12 12:20:55.000000000 -0700 4794 +++ vim72/src/spell.c 2009-02- 07 22:16:39.143494343-08004959 +++ vim72/src/spell.c 2009-02-15 23:30:03.705744656 -0800 4795 4960 @@ -77,7 +77,7 @@ 4796 4961 … … 4993 5158 * ID in "flags" for the word "word". 4994 5159 * The WF_RAREPFX flag is included in the return value for a rare prefix. 5160 @@ -2237,7 +2376,7 @@ 5161 5162 /* If we are back at the starting line and there is no match then 5163 * give up. */ 5164 - if (lnum == wp->w_cursor.lnum && !found_one) 5165 + if (lnum == wp->w_cursor.lnum && (!found_one || wrapped)) 5166 break; 5167 5168 /* Skip the characters at the start of the next line that were 4995 5169 @@ -2513,9 +2652,11 @@ 4996 5170 lp->sl_midword = NULL; … … 5057 5231 vim_free(pat); 5058 5232 if (slang->sl_compprog == NULL) 5059 @@ -4915,6 +5080,7 @@ 5233 @@ -4791,13 +4956,16 @@ 5234 * Structure that is used to store the items in the word tree. This avoids 5235 * the need to keep track of each allocated thing, everything is freed all at 5236 * once after ":mkspell" is done. 5237 + * Note: "sb_next" must be just before "sb_data" to make sure the alignment of 5238 + * "sb_data" is correct for systems where pointers must be aligned on 5239 + * pointer-size boundaries and sizeof(pointer) > sizeof(int) (e.g., Sparc). 5240 */ 5241 #define SBLOCKSIZE 16000 /* size of sb_data */ 5242 typedef struct sblock_S sblock_T; 5243 struct sblock_S 5244 { 5245 - sblock_T *sb_next; /* next block in list */ 5246 int sb_used; /* nr of bytes already in use */ 5247 + sblock_T *sb_next; /* next block in list */ 5248 char_u sb_data[1]; /* data, actually longer */ 5249 }; 5250 5251 @@ -4915,6 +5083,7 @@ 5060 5252 } spellinfo_T; 5061 5253 … … 5065 5257 static int spell_info_item __ARGS((char_u *s)); 5066 5258 static unsigned affitem2flag __ARGS((int flagtype, char_u *item, char_u *fname, int lnum)); 5067 @@ -4950,7 +511 6,7 @@5259 @@ -4950,7 +5119,7 @@ 5068 5260 static void put_sugtime __ARGS((spellinfo_T *spin, FILE *fd)); 5069 5261 static int write_vim_spell __ARGS((spellinfo_T *spin, char_u *fname)); … … 5074 5266 static int sug_filltree __ARGS((spellinfo_T *spin, slang_T *slang)); 5075 5267 static int sug_maketable __ARGS((spellinfo_T *spin)); 5076 @@ -5223,8 +53 89,7 @@5268 @@ -5223,8 +5392,7 @@ 5077 5269 /* Handle non-empty lines. */ 5078 5270 if (itemcnt > 0) … … 5084 5276 #ifdef FEAT_MBYTE 5085 5277 /* Setup for conversion from "ENC" to 'encoding'. */ 5086 @@ -5239,7 +540 4,7 @@5278 @@ -5239,7 +5407,7 @@ 5087 5279 smsg((char_u *)_("Conversion in %s not supported"), fname); 5088 5280 #endif … … 5093 5285 { 5094 5286 if (STRCMP(items[1], "long") == 0) 5095 @@ -5284,69 +54 49,71 @@5287 @@ -5284,69 +5452,71 @@ 5096 5288 spin->si_info = p; 5097 5289 } … … 5181 5373 aff->af_compforbid = affitem2flag(aff->af_flagtype, items[1], 5182 5374 fname, lnum); 5183 @@ -5354,8 +552 1,8 @@5375 @@ -5354,8 +5524,8 @@ 5184 5376 smsg((char_u *)_("Defining COMPOUNDFORBIDFLAG after PFX item may give wrong results in %s line %d"), 5185 5377 fname, lnum); … … 5192 5384 aff->af_comppermit = affitem2flag(aff->af_flagtype, items[1], 5193 5385 fname, lnum); 5194 @@ -5363,7 +553 0,7 @@5386 @@ -5363,7 +5533,7 @@ 5195 5387 smsg((char_u *)_("Defining COMPOUNDPERMITFLAG after PFX item may give wrong results in %s line %d"), 5196 5388 fname, lnum); … … 5201 5393 { 5202 5394 /* Turn flag "c" into COMPOUNDRULE compatible string "c+", 5203 @@ -5376,7 +554 3,15 @@5395 @@ -5376,7 +5546,15 @@ 5204 5396 compflags = p; 5205 5397 } … … 5218 5410 /* Concatenate this string to previously defined ones, using a 5219 5411 * slash to separate them. */ 5220 @@ -5395,7 +557 0,7 @@5412 @@ -5395,7 +5573,7 @@ 5221 5413 compflags = p; 5222 5414 } … … 5227 5419 { 5228 5420 compmax = atoi((char *)items[1]); 5229 @@ -5403,7 +55 78,7 @@5421 @@ -5403,7 +5581,7 @@ 5230 5422 smsg((char_u *)_("Wrong COMPOUNDWORDMAX value in %s line %d: %s"), 5231 5423 fname, lnum, items[1]); … … 5236 5428 { 5237 5429 compminlen = atoi((char *)items[1]); 5238 @@ -5411,7 +558 6,7 @@5430 @@ -5411,7 +5589,7 @@ 5239 5431 smsg((char_u *)_("Wrong COMPOUNDMIN value in %s line %d: %s"), 5240 5432 fname, lnum, items[1]); … … 5245 5437 { 5246 5438 compsylmax = atoi((char *)items[1]); 5247 @@ -5419,32 +559 4,29 @@5439 @@ -5419,32 +5597,29 @@ 5248 5440 smsg((char_u *)_("Wrong COMPOUNDSYLMAX value in %s line %d: %s"), 5249 5441 fname, lnum, items[1]); … … 5284 5476 garray_T *gap = &spin->si_comppat; 5285 5477 int i; 5286 @@ -5463,24 +563 5,24 @@5478 @@ -5463,24 +5638,24 @@ 5287 5479 = getroom_save(spin, items[2]); 5288 5480 } … … 5314 5506 aff->af_pfxpostpone = TRUE; 5315 5507 } 5316 @@ -5771,24 +594 3,20 @@5508 @@ -5771,24 +5946,20 @@ 5317 5509 } 5318 5510 } … … 5344 5536 /* Ignore REP/REPSAL count */; 5345 5537 if (!isdigit(*items[1])) 5346 @@ -5819,7 +59 87,7 @@5538 @@ -5819,7 +5990,7 @@ 5347 5539 : &spin->si_rep, items[1], items[2]); 5348 5540 } … … 5353 5545 /* MAP item or count */ 5354 5546 if (!found_map) 5355 @@ -5856,9 +602 4,8 @@5547 @@ -5856,9 +6027,8 @@ 5356 5548 ga_append(&spin->si_map, '/'); 5357 5549 } … … 5365 5557 if (do_sal) 5366 5558 { 5367 @@ -5877,12 +604 4,12 @@5559 @@ -5877,12 +6047,12 @@ 5368 5560 : items[2]); 5369 5561 } … … 5380 5572 { 5381 5573 sofoto = getroom_save(spin, items[1]); 5382 @@ -5980,7 +61 47,7 @@5574 @@ -5980,7 +6150,7 @@ 5383 5575 else if (spin->si_newprefID == 0 || spin->si_newprefID == 127) 5384 5576 MSG(_("Too many compound flags")); … … 5389 5581 5390 5582 if (syllable != NULL) 5391 @@ -6017,6 +618 4,22 @@5583 @@ -6017,6 +6187,22 @@ 5392 5584 } 5393 5585 … … 5412 5604 * ae_flags to ae_comppermit and ae_compforbid. 5413 5605 */ 5414 @@ -7926,6 +81 09,8 @@5606 @@ -7926,6 +8112,8 @@ 5415 5607 char_u *p; 5416 5608 int rr; … … 5421 5613 fd = mch_fopen((char *)fname, "w"); 5422 5614 if (fd == NULL) 5423 @@ -7936,11 +812 1,11 @@5615 @@ -7936,11 +8124,11 @@ 5424 5616 5425 5617 /* <HEADER>: <fileID> <versionnr> */ … … 5438 5630 5439 5631 /* 5440 @@ -7955,7 +814 0,7 @@5632 @@ -7955,7 +8143,7 @@ 5441 5633 5442 5634 i = (int)STRLEN(spin->si_info); … … 5447 5639 5448 5640 /* SN_REGION: <regionname> ... 5449 @@ -7966,7 +815 1,7 @@5641 @@ -7966,7 +8154,7 @@ 5450 5642 putc(SNF_REQUIRED, fd); /* <sectionflags> */ 5451 5643 l = spin->si_region_count * 2; … … 5456 5648 regionmask = (1 << spin->si_region_count) - 1; 5457 5649 } 5458 @@ -8016,7 +820 1,7 @@5650 @@ -8016,7 +8204,7 @@ 5459 5651 } 5460 5652 … … 5465 5657 5466 5658 /* SN_MIDWORD: <midword> */ 5467 @@ -8027,7 +821 2,8 @@5659 @@ -8027,7 +8215,8 @@ 5468 5660 5469 5661 i = (int)STRLEN(spin->si_midword); … … 5475 5667 5476 5668 /* SN_PREFCOND: <prefcondcnt> <prefcond> ... */ 5477 @@ -8113,7 +8 299,8 @@5669 @@ -8113,7 +8302,8 @@ 5478 5670 p = rr == 1 ? ftp->ft_from : ftp->ft_to; 5479 5671 l = (int)STRLEN(p); … … 5485 5677 } 5486 5678 5487 @@ -8131,11 +83 18,11 @@5679 @@ -8131,11 +8321,11 @@ 5488 5680 /* <sectionlen> */ 5489 5681 … … 5499 5691 5500 5692 /* SN_WORDS: <word> ... 5501 @@ -8160,7 +83 47,7 @@5693 @@ -8160,7 +8350,7 @@ 5502 5694 l = (int)STRLEN(hi->hi_key) + 1; 5503 5695 len += l; … … 5508 5700 } 5509 5701 if (round == 1) 5510 @@ -8176,7 +836 3,7 @@5702 @@ -8176,7 +8366,7 @@ 5511 5703 putc(0, fd); /* <sectionflags> */ 5512 5704 l = spin->si_map.ga_len; … … 5517 5709 } 5518 5710 5519 @@ -8232,10 +84 19,11 @@5711 @@ -8232,10 +8422,11 @@ 5520 5712 { 5521 5713 p = ((char_u **)(spin->si_comppat.ga_data))[i]; … … 5531 5723 } 5532 5724 5533 @@ -8259,7 +84 47,8 @@5725 @@ -8259,7 +8450,8 @@ 5534 5726 5535 5727 l = (int)STRLEN(spin->si_syllable); … … 5541 5733 5542 5734 /* end of <SECTIONS> */ 5543 @@ -8295,13 +848 4,18 @@5735 @@ -8295,13 +8487,18 @@ 5544 5736 (void)put_node(fd, tree, 0, regionmask, round == 3); 5545 5737 } … … 5562 5754 } 5563 5755 5564 @@ -9890,6 +1008 4,7 @@5756 @@ -9890,6 +10087,7 @@ 5565 5757 char_u *p; 5566 5758 int len; … … 5570 5762 if (fd != NULL) 5571 5763 put_bytes(fd, (long_u)gap->ga_len, 2); /* <prefcondcnt> */ 5572 @@ -9906,7 +1010 1,7 @@5764 @@ -9906,7 +10104,7 @@ 5573 5765 if (fd != NULL) 5574 5766 { … … 5579 5771 totlen += len; 5580 5772 } 5581 @@ -11480,15 +1167 5,24 @@5773 @@ -11480,15 +11678,24 @@ 5582 5774 vim_strncpy(preword + sp->ts_prewordlen, 5583 5775 tword + sp->ts_splitoff, … … 5611 5803 p = preword + sp->ts_prewordlen; 5612 5804 mb_ptr_back(preword, p); 5613 @@ -11685,10 +118 89,9 @@5805 @@ -11685,10 +11892,9 @@ 5614 5806 && (slang->sl_compsylmax < MAXWLEN 5615 5807 || sp->ts_complen + 1 - sp->ts_compsplit … … 5625 5817 try_compound = TRUE; 5626 5818 compflags[sp->ts_complen] = ((unsigned)flags >> 24); 5819 @@ -14808,7 +15014,7 @@ 5820 5821 case 0: 5822 /* 5823 - * Lenghts are equal, thus changes must result in same length: An 5824 + * Lengths are equal, thus changes must result in same length: An 5825 * insert is only possible in combination with a delete. 5826 * 1: check if for identical strings 5827 */ 5627 5828 diff -Naur vim72.orig/src/structs.h vim72/src/structs.h 5628 5829 --- vim72.orig/src/structs.h 2008-07-30 13:02:50.000000000 -0700 5629 +++ vim72/src/structs.h 2009-02- 07 22:15:20.110754575-08005830 +++ vim72/src/structs.h 2009-02-15 23:26:58.897901382 -0800 5630 5831 @@ -459,7 +459,7 @@ 5631 5832 typedef struct … … 5656 5857 diff -Naur vim72.orig/src/tag.c vim72/src/tag.c 5657 5858 --- vim72.orig/src/tag.c 2008-07-16 14:31:30.000000000 -0700 5658 +++ vim72/src/tag.c 2009-02- 07 22:17:21.020306747 -08005859 +++ vim72/src/tag.c 2009-02-15 23:28:59.441624807 -0800 5659 5860 @@ -515,7 +515,7 @@ 5660 5861 * If a count is supplied to the ":tag <name>" command, then … … 5711 5912 diff -Naur vim72.orig/src/term.c vim72/src/term.c 5712 5913 --- vim72.orig/src/term.c 2008-07-27 04:48:06.000000000 -0700 5713 +++ vim72/src/term.c 2009-02- 07 22:17:26.245680123-08005914 +++ vim72/src/term.c 2009-02-15 23:29:04.669961167 -0800 5714 5915 @@ -4920,7 +4920,15 @@ 5715 5916 key_name[0] = KEY2TERMCAP0(key); … … 5731 5932 diff -Naur vim72.orig/src/testdir/Makefile vim72/src/testdir/Makefile 5732 5933 --- vim72.orig/src/testdir/Makefile 2008-06-19 13:29:46.000000000 -0700 5733 +++ vim72/src/testdir/Makefile 2009-02- 07 22:14:04.798116497-08005934 +++ vim72/src/testdir/Makefile 2009-02-15 23:25:42.545008241 -0800 5734 5935 @@ -26,15 +26,17 @@ 5735 5936 … … 5765 5966 diff -Naur vim72.orig/src/testdir/Make_ming.mak vim72/src/testdir/Make_ming.mak 5766 5967 --- vim72.orig/src/testdir/Make_ming.mak 1969-12-31 16:00:00.000000000 -0800 5767 +++ vim72/src/testdir/Make_ming.mak 2009-02- 07 22:14:24.920315687 -08005968 +++ vim72/src/testdir/Make_ming.mak 2009-02-15 23:26:03.078324067 -0800 5768 5969 @@ -0,0 +1,91 @@ 5769 5970 +# Makefile to run tests for Vim, on Dos-like machines … … 5860 6061 diff -Naur vim72.orig/src/testdir/test42.ok vim72/src/testdir/test42.ok 5861 6062 --- vim72.orig/src/testdir/test42.ok 2008-02-20 04:27:37.000000000 -0800 5862 +++ vim72/src/testdir/test42.ok 2009-02- 07 22:14:55.472752061-08006063 +++ vim72/src/testdir/test42.ok 2009-02-15 23:26:34.640348093 -0800 5863 6064 @@ -20,7 +20,7 @@ 5864 6065 ucs-2 … … 5872 6073 diff -Naur vim72.orig/src/ui.c vim72/src/ui.c 5873 6074 --- vim72.orig/src/ui.c 2008-07-14 11:14:56.000000000 -0700 5874 +++ vim72/src/ui.c 2009-02- 07 22:16:00.150072915-08006075 +++ vim72/src/ui.c 2009-02-15 23:27:36.164291102 -0800 5875 6076 @@ -1820,7 +1820,7 @@ 5876 6077 #ifdef HAVE_DUP … … 5980 6181 diff -Naur vim72.orig/src/version.c vim72/src/version.c 5981 6182 --- vim72.orig/src/version.c 2008-08-09 07:24:52.000000000 -0700 5982 +++ vim72/src/version.c 2009-02- 07 22:18:15.152545887-08005983 @@ -677,9 +677,2 04@@6183 +++ vim72/src/version.c 2009-02-15 23:30:11.834265120 -0800 6184 @@ -677,9 +677,216 @@ 5984 6185 static int included_patches[] = 5985 6186 { /* Add new patch number below this line */ 5986 6187 /**/ 6188 + 108, 6189 +/**/ 6190 + 107, 6191 +/**/ 6192 + 106, 6193 +/**/ 6194 + 105, 6195 +/**/ 6196 + 104, 6197 +/**/ 6198 + 103, 6199 +/**/ 5987 6200 + 102, 5988 6201 +/**/ … … 6186 6399 highest_patch() 6187 6400 { 6188 @@ -786,7 +9 81,7 @@6401 @@ -786,7 +993,7 @@ 6189 6402 MSG_PUTS(_("\nRISC OS version")); 6190 6403 #endif … … 6195 6408 if (*compiled_arch != NUL) 6196 6409 { 6197 @@ -825,6 +10 20,19 @@6410 @@ -825,6 +1032,19 @@ 6198 6411 } 6199 6412 } … … 6217 6430 diff -Naur vim72.orig/src/vim.h vim72/src/vim.h 6218 6431 --- vim72.orig/src/vim.h 2008-08-09 09:03:38.000000000 -0700 6219 +++ vim72/src/vim.h 2009-02- 07 22:15:33.719691856-08006432 +++ vim72/src/vim.h 2009-02-15 23:27:12.174753177 -0800 6220 6433 @@ -341,8 +341,14 @@ 6221 6434 #ifdef BACKSLASH_IN_FILENAME … … 6277 6490 diff -Naur vim72.orig/src/window.c vim72/src/window.c 6278 6491 --- vim72.orig/src/window.c 2008-08-06 04:00:30.000000000 -0700 6279 +++ vim72/src/window.c 2009-02- 07 22:16:00.150072915-08006492 +++ vim72/src/window.c 2009-02-15 23:27:36.164291102 -0800 6280 6493 @@ -4028,14 +4028,14 @@ 6281 6494 if (mch_dirname(cwd, MAXPATHL) == OK) … … 6298 6511 diff -Naur vim72.orig/src/workshop.c vim72/src/workshop.c 6299 6512 --- vim72.orig/src/workshop.c 2008-06-21 11:53:26.000000000 -0700 6300 +++ vim72/src/workshop.c 2009-02- 07 22:15:51.274319877-08006513 +++ vim72/src/workshop.c 2009-02-15 23:27:29.719875680 -0800 6301 6514 @@ -1121,8 +1121,12 @@ 6302 6515 ? (char *)curbuf->b_sfname : "<None>");
Note:
See TracChangeset
for help on using the changeset viewer.