- Timestamp:
- Nov 21, 2006, 10:48:50 PM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- aaead79
- Parents:
- 7ee340e4
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/vim-7.0-fixes-19.patch
r7ee340e4 rc4b9677 1 1 Submitted By: Jim Gifford (jim at linuxfromscratch dot org) 2 Date: 2006-11- 122 Date: 2006-11-21 3 3 Initial Package Version: 7.0 4 4 Origin: Upstream 5 5 Upstream Status: Applied 6 Description: Contains all upstream patches up to 7.0.16 26 Description: Contains all upstream patches up to 7.0.168 7 7 The following patches were skipped 8 8 005 027 028 032 045 057 065 074 108 130 131 132 138 156 161 … … 10 10 diff -Naur vim70.orig/configure vim70/configure 11 11 --- vim70.orig/configure 2004-07-05 02:02:24.000000000 -0700 12 +++ vim70/configure 2006-11- 12 10:09:55.000000000 -080012 +++ vim70/configure 2006-11-21 22:40:14.000000000 -0800 13 13 @@ -3,4 +3,4 @@ 14 14 # This is just a stub for the Unix configure script, to provide support for … … 19 19 diff -Naur vim70.orig/runtime/autoload/ccomplete.vim vim70/runtime/autoload/ccomplete.vim 20 20 --- vim70.orig/runtime/autoload/ccomplete.vim 2006-05-03 07:35:56.000000000 -0700 21 +++ vim70/runtime/autoload/ccomplete.vim 2006-11- 12 10:07:31.000000000 -080021 +++ vim70/runtime/autoload/ccomplete.vim 2006-11-21 22:37:49.000000000 -0800 22 22 @@ -1,7 +1,7 @@ 23 23 " Vim completion script … … 40 40 diff -Naur vim70.orig/runtime/autoload/gzip.vim vim70/runtime/autoload/gzip.vim 41 41 --- vim70.orig/runtime/autoload/gzip.vim 2006-03-31 07:12:15.000000000 -0800 42 +++ vim70/runtime/autoload/gzip.vim 2006-11- 12 10:13:32.000000000 -080042 +++ vim70/runtime/autoload/gzip.vim 2006-11-21 22:43:59.000000000 -0800 43 43 @@ -1,6 +1,6 @@ 44 44 " Vim autoload file for editing compressed files. … … 101 101 diff -Naur vim70.orig/runtime/autoload/paste.vim vim70/runtime/autoload/paste.vim 102 102 --- vim70.orig/runtime/autoload/paste.vim 2006-04-21 11:31:01.000000000 -0700 103 +++ vim70/runtime/autoload/paste.vim 2006-11- 12 10:09:06.000000000 -0800103 +++ vim70/runtime/autoload/paste.vim 2006-11-21 22:39:28.000000000 -0800 104 104 @@ -1,6 +1,6 @@ 105 105 " Vim support file to help with paste mappings and menus … … 121 121 diff -Naur vim70.orig/runtime/autoload/spellfile.vim vim70/runtime/autoload/spellfile.vim 122 122 --- vim70.orig/runtime/autoload/spellfile.vim 2006-02-01 04:12:24.000000000 -0800 123 +++ vim70/runtime/autoload/spellfile.vim 2006-11- 12 10:11:30.000000000 -0800123 +++ vim70/runtime/autoload/spellfile.vim 2006-11-21 22:41:53.000000000 -0800 124 124 @@ -1,9 +1,9 @@ 125 125 " Vim script to download a missing spell file … … 177 177 diff -Naur vim70.orig/runtime/doc/eval.txt vim70/runtime/doc/eval.txt 178 178 --- vim70.orig/runtime/doc/eval.txt 2006-05-07 05:16:44.000000000 -0700 179 +++ vim70/runtime/doc/eval.txt 2006-11- 12 10:15:54.000000000 -0800179 +++ vim70/runtime/doc/eval.txt 2006-11-21 22:46:26.000000000 -0800 180 180 @@ -1,4 +1,4 @@ 181 181 -*eval.txt* For Vim version 7.0. Last change: 2006 May 06 … … 255 255 Simplify the file name as much as possible without changing 256 256 the meaning. Shortcuts (on MS-Windows) or symbolic links (on 257 diff -Naur vim70.orig/runtime/doc/netbeans.txt vim70/runtime/doc/netbeans.txt 258 --- vim70.orig/runtime/doc/netbeans.txt 2006-05-07 05:16:45.000000000 -0700 259 +++ vim70/runtime/doc/netbeans.txt 2006-11-21 22:46:48.000000000 -0800 260 @@ -1,4 +1,4 @@ 261 -*netbeans.txt* For Vim version 7.0. Last change: 2006 Mar 09 262 +*netbeans.txt* For Vim version 7.0. Last change: 2006 Nov 14 263 264 265 VIM REFERENCE MANUAL by Gordon Prieur 266 @@ -259,8 +259,8 @@ 267 confusion happening again, netbeans_saved() has been renamed to 268 netbeans_save_buffer(). 269 270 -We are now at version 2.3. For the differences between 2.2 and 2.3 search for 271 -"2.3" below. 272 +We are now at version 2.4. For the differences between 2.3 and 2.4 search for 273 +"2.4" below. 274 275 The messages are currently sent over a socket. Since the messages are in 276 plain UTF-8 text this protocol could also be used with any other communication 277 @@ -605,6 +605,15 @@ 278 279 getMark Not implemented. 280 281 +getAnno serNum 282 + Return the line number of the annotation in the buffer. 283 + Argument: 284 + serNum serial number of this placed annotation 285 + The reply is: 286 + 123 lnum line number of the annotation 287 + 123 0 invalid annotation serial number 288 + New in version 2.4. 289 + 290 getModified When a buffer is specified: Return zero if the buffer does not 291 have changes, one if it does have changes. 292 When no buffer is specified (buffer number zero): Return the 257 293 diff -Naur vim70.orig/runtime/menu.vim vim70/runtime/menu.vim 258 294 --- vim70.orig/runtime/menu.vim 2006-04-17 06:47:28.000000000 -0700 259 +++ vim70/runtime/menu.vim 2006-11- 12 10:13:20.000000000 -0800295 +++ vim70/runtime/menu.vim 2006-11-21 22:43:44.000000000 -0800 260 296 @@ -2,7 +2,7 @@ 261 297 " You can also use this as a start for your own set of menus. … … 324 360 diff -Naur vim70.orig/runtime/plugin/matchparen.vim vim70/runtime/plugin/matchparen.vim 325 361 --- vim70.orig/runtime/plugin/matchparen.vim 2006-04-27 06:31:26.000000000 -0700 326 +++ vim70/runtime/plugin/matchparen.vim 2006-11- 12 10:12:33.000000000 -0800362 +++ vim70/runtime/plugin/matchparen.vim 2006-11-21 22:42:55.000000000 -0800 327 363 @@ -1,6 +1,6 @@ 328 364 " Vim plugin for showing matching parens … … 367 403 diff -Naur vim70.orig/runtime/scripts.vim vim70/runtime/scripts.vim 368 404 --- vim70.orig/runtime/scripts.vim 2006-03-28 11:30:49.000000000 -0800 369 +++ vim70/runtime/scripts.vim 2006-11- 12 10:10:02.000000000 -0800405 +++ vim70/runtime/scripts.vim 2006-11-21 22:40:21.000000000 -0800 370 406 @@ -1,7 +1,7 @@ 371 407 " Vim support file to detect file types in scripts … … 392 428 diff -Naur vim70.orig/runtime/tutor/Makefile vim70/runtime/tutor/Makefile 393 429 --- vim70.orig/runtime/tutor/Makefile 2004-06-07 07:32:39.000000000 -0700 394 +++ vim70/runtime/tutor/Makefile 2006-11- 12 10:12:41.000000000 -0800430 +++ vim70/runtime/tutor/Makefile 2006-11-21 22:43:03.000000000 -0800 395 431 @@ -2,8 +2,13 @@ 396 432 # … … 426 462 diff -Naur vim70.orig/runtime/tutor/tutor.gr.utf-8 vim70/runtime/tutor/tutor.gr.utf-8 427 463 --- vim70.orig/runtime/tutor/tutor.gr.utf-8 1969-12-31 16:00:00.000000000 -0800 428 +++ vim70/runtime/tutor/tutor.gr.utf-8 2006-11- 12 10:12:41.000000000 -0800464 +++ vim70/runtime/tutor/tutor.gr.utf-8 2006-11-21 22:43:03.000000000 -0800 429 465 @@ -0,0 +1,815 @@ 430 466 +=============================================================================== … … 1459 1495 diff -Naur vim70.orig/runtime/tutor/tutor.ru.utf-8 vim70/runtime/tutor/tutor.ru.utf-8 1460 1496 --- vim70.orig/runtime/tutor/tutor.ru.utf-8 1969-12-31 16:00:00.000000000 -0800 1461 +++ vim70/runtime/tutor/tutor.ru.utf-8 2006-11- 12 10:11:39.000000000 -08001497 +++ vim70/runtime/tutor/tutor.ru.utf-8 2006-11-21 22:42:05.000000000 -0800 1462 1498 @@ -0,0 +1,834 @@ 1463 1499 +=============================================================================== … … 2380 2416 diff -Naur vim70.orig/runtime/tutor/tutor.vim vim70/runtime/tutor/tutor.vim 2381 2417 --- vim70.orig/runtime/tutor/tutor.vim 2006-03-18 12:20:36.000000000 -0800 2382 +++ vim70/runtime/tutor/tutor.vim 2006-11- 12 10:12:41.000000000 -08002418 +++ vim70/runtime/tutor/tutor.vim 2006-11-21 22:43:03.000000000 -0800 2383 2419 @@ -1,6 +1,6 @@ 2384 2420 " Vim tutor support file … … 2432 2468 diff -Naur vim70.orig/src/auto/configure vim70/src/auto/configure 2433 2469 --- vim70.orig/src/auto/configure 2006-05-04 03:46:19.000000000 -0700 2434 +++ vim70/src/auto/configure 2006-11- 12 10:14:51.000000000 -08002470 +++ vim70/src/auto/configure 2006-11-21 22:45:22.000000000 -0800 2435 2471 @@ -4014,7 +4014,7 @@ 2436 2472 LDFLAGS=$ldflags_save … … 2473 2509 diff -Naur vim70.orig/src/buffer.c vim70/src/buffer.c 2474 2510 --- vim70.orig/src/buffer.c 2006-04-26 14:37:23.000000000 -0700 2475 +++ vim70/src/buffer.c 2006-11- 12 10:16:18.000000000 -08002511 +++ vim70/src/buffer.c 2006-11-21 22:46:44.000000000 -0800 2476 2512 @@ -434,12 +434,8 @@ 2477 2513 if (usingNetbeans) … … 2624 2660 diff -Naur vim70.orig/src/configure vim70/src/configure 2625 2661 --- vim70.orig/src/configure 2006-05-07 07:17:49.000000000 -0700 2626 +++ vim70/src/configure 2006-11- 12 10:09:55.000000000 -08002662 +++ vim70/src/configure 2006-11-21 22:40:14.000000000 -0800 2627 2663 @@ -2,5 +2,9 @@ 2628 2664 # run the automatically generated configure script … … 2637 2673 diff -Naur vim70.orig/src/configure.in vim70/src/configure.in 2638 2674 --- vim70.orig/src/configure.in 2006-05-04 03:46:11.000000000 -0700 2639 +++ vim70/src/configure.in 2006-11- 12 10:14:51.000000000 -08002675 +++ vim70/src/configure.in 2006-11-21 22:45:22.000000000 -0800 2640 2676 @@ -508,7 +508,8 @@ 2641 2677 LDFLAGS=$ldflags_save … … 2680 2716 diff -Naur vim70.orig/src/edit.c vim70/src/edit.c 2681 2717 --- vim70.orig/src/edit.c 2006-05-07 04:48:51.000000000 -0700 2682 +++ vim70/src/edit.c 2006-11- 12 10:16:02.000000000 -08002718 +++ vim70/src/edit.c 2006-11-21 22:46:32.000000000 -0800 2683 2719 @@ -129,7 +129,7 @@ 2684 2720 … … 3301 3337 diff -Naur vim70.orig/src/eval.c vim70/src/eval.c 3302 3338 --- vim70.orig/src/eval.c 2006-05-05 10:15:26.000000000 -0700 3303 +++ vim70/src/eval.c 2006-11- 12 10:15:58.000000000 -08003339 +++ vim70/src/eval.c 2006-11-21 22:47:04.000000000 -0800 3304 3340 @@ -166,7 +166,6 @@ 3305 3341 int uf_tm_count; /* nr of calls */ … … 4076 4112 * Also give an error message, using "name". 4077 4113 */ 4078 @@ -18786,6 +18929,7 @@ 4114 @@ -18396,12 +18539,14 @@ 4115 4116 if (!eap->skip) 4117 { 4118 - /* Check the name of the function. */ 4119 + /* Check the name of the function. Unless it's a dictionary function 4120 + * (that we are overwriting). */ 4121 if (name != NULL) 4122 arg = name; 4123 else 4124 arg = fudi.fd_newkey; 4125 - if (arg != NULL) 4126 + if (arg != NULL && (fudi.fd_di == NULL 4127 + || fudi.fd_di->di_tv.v_type != VAR_FUNC)) 4128 { 4129 if (*arg == K_SPECIAL) 4130 j = 3; 4131 @@ -18786,6 +18931,7 @@ 4079 4132 if (dict_add(fudi.fd_dict, fudi.fd_di) == FAIL) 4080 4133 { … … 4084 4137 } 4085 4138 } 4086 @@ -18963,7 +1910 7,8 @@4139 @@ -18963,7 +19109,8 @@ 4087 4140 else if (lead > 0) 4088 4141 { … … 4094 4147 /* It's "s:" or "<SID>" */ 4095 4148 if (current_SID <= 0) 4096 @@ -19618,6 +1976 3,7 @@4149 @@ -19618,6 +19765,7 @@ 4097 4150 char_u *name; 4098 4151 #ifdef FEAT_PROFILE … … 4102 4155 4103 4156 /* If depth of calling is getting too high, don't execute the function */ 4104 @@ -19685,6 +1983 1,7 @@4157 @@ -19685,6 +19833,7 @@ 4105 4158 v->di_tv.vval.v_list = &fc.l_varlist; 4106 4159 vim_memset(&fc.l_varlist, 0, sizeof(list_T)); … … 4110 4163 /* 4111 4164 * Set a:firstline to "firstline" and a:lastline to "lastline". 4112 @@ -19761,7 +199 08,7 @@4165 @@ -19761,7 +19910,7 @@ 4113 4166 if (p_verbose >= 14) 4114 4167 { … … 4119 4172 4120 4173 msg_puts((char_u *)"("); 4121 @@ -19773,8 +1992 0,8 @@4174 @@ -19773,8 +19922,8 @@ 4122 4175 msg_outnum((long)argvars[i].vval.v_number); 4123 4176 else … … 4130 4183 vim_free(tofree); 4131 4184 } 4132 @@ -19796,7 +1994 3,7 @@4185 @@ -19796,7 +19945,7 @@ 4133 4186 || (fc.caller != NULL && &fc.caller->func->uf_profiling)) 4134 4187 { … … 4139 4192 } 4140 4193 script_prof_save(&wait_start); 4141 @@ -19826,14 +1997 3,14 @@4194 @@ -19826,14 +19975,14 @@ 4142 4195 if (do_profiling == PROF_YES && (fp->uf_profiling 4143 4196 || (fc.caller != NULL && &fc.caller->func->uf_profiling))) … … 4160 4213 } 4161 4214 #endif 4162 @@ -19852,13 + 19999,13 @@4215 @@ -19852,13 +20001,13 @@ 4163 4216 else 4164 4217 { … … 4178 4231 diff -Naur vim70.orig/src/ex_cmds2.c vim70/src/ex_cmds2.c 4179 4232 --- vim70.orig/src/ex_cmds2.c 2006-04-17 03:19:07.000000000 -0700 4180 +++ vim70/src/ex_cmds2.c 2006-11- 12 10:11:12.000000000 -08004233 +++ vim70/src/ex_cmds2.c 2006-11-21 22:41:36.000000000 -0800 4181 4234 @@ -3648,13 +3648,13 @@ 4182 4235 * Return FALSE when not sourcing a file. … … 4199 4252 diff -Naur vim70.orig/src/ex_cmds.c vim70/src/ex_cmds.c 4200 4253 --- vim70.orig/src/ex_cmds.c 2006-04-22 11:56:56.000000000 -0700 4201 +++ vim70/src/ex_cmds.c 2006-11- 12 10:12:17.000000000 -08004254 +++ vim70/src/ex_cmds.c 2006-11-21 22:42:41.000000000 -0800 4202 4255 @@ -95,7 +95,10 @@ 4203 4256 _("<%s>%s%s %d, Hex %02x, Octal %03o"), … … 4310 4363 diff -Naur vim70.orig/src/ex_cmds.h vim70/src/ex_cmds.h 4311 4364 --- vim70.orig/src/ex_cmds.h 2006-04-07 02:44:46.000000000 -0700 4312 +++ vim70/src/ex_cmds.h 2006-11- 12 10:09:00.000000000 -08004365 +++ vim70/src/ex_cmds.h 2006-11-21 22:39:21.000000000 -0800 4313 4366 @@ -262,7 +262,7 @@ 4314 4367 EX(CMD_comclear, "comclear", ex_comclear, … … 4322 4375 diff -Naur vim70.orig/src/ex_docmd.c vim70/src/ex_docmd.c 4323 4376 --- vim70.orig/src/ex_docmd.c 2006-05-05 09:33:19.000000000 -0700 4324 +++ vim70/src/ex_docmd.c 2006-11- 12 10:16:09.000000000 -08004377 +++ vim70/src/ex_docmd.c 2006-11-21 22:46:51.000000000 -0800 4325 4378 @@ -58,9 +58,9 @@ 4326 4379 #endif … … 4588 4641 beep_flush(); 4589 4642 } 4590 @@ -8417,6 +8423,15 @@ 4643 @@ -8365,6 +8371,7 @@ 4644 if (ASCII_ISALPHA(*arg) 4645 # ifdef FEAT_CLIPBOARD 4646 || *arg == '*' 4647 + || *arg == '+' 4648 # endif 4649 || *arg == '"') 4650 { 4651 @@ -8375,6 +8382,7 @@ 4652 (islower(redir_reg) 4653 # ifdef FEAT_CLIPBOARD 4654 || redir_reg == '*' 4655 + || redir_reg == '+' 4656 # endif 4657 || redir_reg == '"')) 4658 { 4659 @@ -8417,6 +8425,15 @@ 4591 4660 else 4592 4661 EMSG2(_(e_invarg2), eap->arg); … … 4604 4673 4605 4674 /* 4606 @@ -9629,7 +964 4,8 @@4675 @@ -9629,7 +9646,8 @@ 4607 4676 #endif 4608 4677 … … 4614 4683 static frame_T *ses_skipframe __ARGS((frame_T *fr)); 4615 4684 static int ses_do_frame __ARGS((frame_T *fr)); 4616 @@ -9655,8 +967 1,8 @@4685 @@ -9655,8 +9673,8 @@ 4617 4686 win_T *wp; 4618 4687 char_u *sname; … … 4624 4693 if (ssop_flags & SSOP_BUFFERS) 4625 4694 only_save_windows = FALSE; /* Save ALL buffers */ 4626 @@ -9764,14 +978 0,26 @@4695 @@ -9764,14 +9782,26 @@ 4627 4696 /* 4628 4697 * May repeat putting Windows for each tab, when "tabpages" is in … … 4654 4723 4655 4724 /* 4656 @@ -9779,7 +980 7,7 @@4725 @@ -9779,7 +9809,7 @@ 4657 4726 * is aborted we don't end up with a number of useless windows. 4658 4727 * This may have side effects! (e.g., compressed or network file). … … 4663 4732 if (ses_do_win(wp) 4664 4733 && wp->w_buffer->b_ffname != NULL 4665 @@ -9789,15 +981 7,20 @@4734 @@ -9789,15 +9819,20 @@ 4666 4735 #endif 4667 4736 ) … … 4685 4754 * Save current window layout. 4686 4755 */ 4687 @@ -9815,7 +98 48,7 @@4756 @@ -9815,7 +9850,7 @@ 4688 4757 * Remember the window number of the current window after restoring. 4689 4758 */ … … 4694 4763 if (ses_do_win(wp)) 4695 4764 ++nr; 4696 @@ -9838,13 +987 1,13 @@4765 @@ -9838,13 +9873,13 @@ 4697 4766 */ 4698 4767 if (put_line(fd, "set winheight=1 winwidth=1") == FAIL) … … 4710 4779 if (!ses_do_win(wp)) 4711 4780 continue; 4712 @@ -9865,19 +9 898,17 @@4781 @@ -9865,19 +9900,17 @@ 4713 4782 * Restore window sizes again after jumping around in windows, because 4714 4783 * the current window has a minimum size while others may not. … … 4732 4801 || put_eol(fd) == FAIL) 4733 4802 return FAIL; 4734 @@ -9913,16 +994 4,17 @@4803 @@ -9913,16 +9946,17 @@ 4735 4804 } 4736 4805 … … 4754 4823 diff -Naur vim70.orig/src/ex_getln.c vim70/src/ex_getln.c 4755 4824 --- vim70.orig/src/ex_getln.c 2006-04-30 08:32:01.000000000 -0700 4756 +++ vim70/src/ex_getln.c 2006-11-12 10:15:02.000000000 -0800 4825 +++ vim70/src/ex_getln.c 2006-11-21 22:46:55.000000000 -0800 4826 @@ -34,7 +34,7 @@ 4827 int xp_context; /* type of expansion */ 4828 # ifdef FEAT_EVAL 4829 char_u *xp_arg; /* user-defined expansion arg */ 4830 - int input_fn; /* Invoked for input() function */ 4831 + int input_fn; /* when TRUE Invoked for input() function */ 4832 # endif 4833 }; 4834 4757 4835 @@ -86,7 +86,7 @@ 4758 4836 static void draw_cmdline __ARGS((int start, int len)); … … 4803 4881 goto cmdline_changed; 4804 4882 # endif 4805 @@ -1753,6 +1756,11 @@ 4883 @@ -1387,7 +1390,17 @@ 4884 { 4885 c = gchar_cursor(); 4886 if (c != NUL) 4887 + { 4888 + if (c == firstc || vim_strchr((char_u *)( 4889 + p_magic ? "\\^$.*[" : "\\^$"), c) 4890 + != NULL) 4891 + { 4892 + /* put a backslash before special characters */ 4893 + stuffcharReadbuff(c); 4894 + c = '\\'; 4895 + } 4896 break; 4897 + } 4898 } 4899 goto cmdline_not_changed; 4900 } 4901 @@ -1753,6 +1766,11 @@ 4806 4902 end_pos = curwin->w_cursor; /* shutup gcc 4 */ 4807 4903 … … 4815 4911 save_cmdline(&save_ccline); 4816 4912 update_screen(SOME_VALID); 4817 @@ -2360,7 +23 68,7 @@4913 @@ -2360,7 +2378,7 @@ 4818 4914 { 4819 4915 if ((State & CMDLINE) … … 4824 4920 && im_is_preediting()) 4825 4921 { 4826 @@ -2882,9 +2 890,10 @@4922 @@ -2882,9 +2900,10 @@ 4827 4923 * return FAIL for failure, OK otherwise 4828 4924 */ … … 4836 4932 long i; 4837 4933 char_u *arg; 4838 @@ -2960,7 +29 69,7 @@4934 @@ -2960,7 +2979,7 @@ 4839 4935 return OK; 4840 4936 } … … 4845 4941 4846 4942 /* 4847 @@ -4521,7 +45 30,9 @@4943 @@ -4521,7 +4540,9 @@ 4848 4944 flags |= EW_FILE | EW_EXEC; 4849 4945 … … 4856 4952 path = (char_u *)"."; 4857 4953 else 4858 @@ -4534,6 +45 45,9 @@4954 @@ -4534,6 +4555,9 @@ 4859 4955 ga_init2(&ga, (int)sizeof(char *), 10); 4860 4956 for (s = path; *s != NUL; s = e) … … 4866 4962 e = vim_strchr(s, ';'); 4867 4963 #else 4868 @@ -5982,6 + 5996,8 @@4964 @@ -5982,6 +6006,8 @@ 4869 4965 typestr[0] = cmdwin_type; 4870 4966 typestr[1] = NUL; … … 4877 4973 diff -Naur vim70.orig/src/fileio.c vim70/src/fileio.c 4878 4974 --- vim70.orig/src/fileio.c 2006-04-30 08:28:57.000000000 -0700 4879 +++ vim70/src/fileio.c 2006-11- 12 10:13:13.000000000 -08004975 +++ vim70/src/fileio.c 2006-11-21 22:43:36.000000000 -0800 4880 4976 @@ -316,6 +316,9 @@ 4881 4977 * display the line. */ … … 4999 5095 diff -Naur vim70.orig/src/fold.c vim70/src/fold.c 5000 5096 --- vim70.orig/src/fold.c 2006-04-22 12:35:56.000000000 -0700 5001 +++ vim70/src/fold.c 2006-11- 12 10:15:50.000000000 -08005097 +++ vim70/src/fold.c 2006-11-21 22:46:21.000000000 -0800 5002 5098 @@ -2971,7 +2971,11 @@ 5003 5099 else … … 5014 5110 diff -Naur vim70.orig/src/getchar.c vim70/src/getchar.c 5015 5111 --- vim70.orig/src/getchar.c 2006-05-03 10:29:21.000000000 -0700 5016 +++ vim70/src/getchar.c 2006-11- 12 10:13:42.000000000 -08005112 +++ vim70/src/getchar.c 2006-11-21 22:44:09.000000000 -0800 5017 5113 @@ -1451,7 +1451,8 @@ 5018 5114 { … … 5100 5196 diff -Naur vim70.orig/src/globals.h vim70/src/globals.h 5101 5197 --- vim70.orig/src/globals.h 2006-04-30 06:16:23.000000000 -0700 5102 +++ vim70/src/globals.h 2006-11- 12 10:14:37.000000000 -08005198 +++ vim70/src/globals.h 2006-11-21 22:45:07.000000000 -0800 5103 5199 @@ -166,6 +166,7 @@ 5104 5200 EXTERN int emsg_off INIT(= 0); /* don't display errors for now, … … 5140 5236 diff -Naur vim70.orig/src/gui_at_fs.c vim70/src/gui_at_fs.c 5141 5237 --- vim70.orig/src/gui_at_fs.c 2005-07-09 04:30:17.000000000 -0700 5142 +++ vim70/src/gui_at_fs.c 2006-11- 12 10:08:15.000000000 -08005238 +++ vim70/src/gui_at_fs.c 2006-11-21 22:38:33.000000000 -0800 5143 5239 @@ -1861,27 +1861,27 @@ 5144 5240 XtPointer pnew; … … 5256 5352 diff -Naur vim70.orig/src/gui_beval.c vim70/src/gui_beval.c 5257 5353 --- vim70.orig/src/gui_beval.c 2006-05-04 12:29:51.000000000 -0700 5258 +++ vim70/src/gui_beval.c 2006-11- 12 10:11:12.000000000 -08005354 +++ vim70/src/gui_beval.c 2006-11-21 22:41:36.000000000 -0800 5259 5355 @@ -926,7 +926,7 @@ 5260 5356 # define IS_NONPRINTABLE(c) (((c) < 0x20 && (c) != TAB && (c) != NL) \ … … 5295 5391 diff -Naur vim70.orig/src/gui.c vim70/src/gui.c 5296 5392 --- vim70.orig/src/gui.c 2006-05-03 04:00:59.000000000 -0700 5297 +++ vim70/src/gui.c 2006-11- 12 10:14:30.000000000 -08005393 +++ vim70/src/gui.c 2006-11-21 22:45:00.000000000 -0800 5298 5394 @@ -187,9 +187,10 @@ 5299 5395 #endif … … 5398 5494 diff -Naur vim70.orig/src/gui_gtk.c vim70/src/gui_gtk.c 5399 5495 --- vim70.orig/src/gui_gtk.c 2006-05-05 04:52:52.000000000 -0700 5400 +++ vim70/src/gui_gtk.c 2006-11- 12 10:15:40.000000000 -08005496 +++ vim70/src/gui_gtk.c 2006-11-21 22:46:12.000000000 -0800 5401 5497 @@ -957,15 +957,15 @@ 5402 5498 get_menu_position(vimmenu_T *menu) … … 5496 5592 diff -Naur vim70.orig/src/gui_gtk_x11.c vim70/src/gui_gtk_x11.c 5497 5593 --- vim70.orig/src/gui_gtk_x11.c 2006-05-04 23:58:59.000000000 -0700 5498 +++ vim70/src/gui_gtk_x11.c 2006-11- 12 10:11:12.000000000 -08005594 +++ vim70/src/gui_gtk_x11.c 2006-11-21 22:41:36.000000000 -0800 5499 5595 @@ -3233,12 +3233,12 @@ 5500 5596 on_select_tab( … … 5561 5657 diff -Naur vim70.orig/src/gui_xmebw.c vim70/src/gui_xmebw.c 5562 5658 --- vim70.orig/src/gui_xmebw.c 2006-04-30 08:32:32.000000000 -0700 5563 +++ vim70/src/gui_xmebw.c 2006-11- 12 10:15:43.000000000 -08005659 +++ vim70/src/gui_xmebw.c 2006-11-21 22:46:14.000000000 -0800 5564 5660 @@ -47,13 +47,13 @@ 5565 5661 #include "gui_xmebwp.h" … … 5690 5786 diff -Naur vim70.orig/src/hardcopy.c vim70/src/hardcopy.c 5691 5787 --- vim70.orig/src/hardcopy.c 2006-05-04 03:09:58.000000000 -0700 5692 +++ vim70/src/hardcopy.c 2006-11- 12 10:11:13.000000000 -08005788 +++ vim70/src/hardcopy.c 2006-11-21 22:41:36.000000000 -0800 5693 5789 @@ -1794,29 +1794,27 @@ 5694 5790 static int … … 5793 5889 diff -Naur vim70.orig/src/if_cscope.c vim70/src/if_cscope.c 5794 5890 --- vim70.orig/src/if_cscope.c 2006-04-18 01:54:15.000000000 -0700 5795 +++ vim70/src/if_cscope.c 2006-11- 12 10:15:47.000000000 -08005891 +++ vim70/src/if_cscope.c 2006-11-21 22:46:59.000000000 -0800 5796 5892 @@ -989,8 +989,7 @@ 5797 5893 { … … 5804 5900 char cmdletter; 5805 5901 char *qfpos; 5902 @@ -1009,7 +1008,7 @@ 5903 totmatches = 0; 5904 for (i = 0; i < CSCOPE_MAX_CONNECTIONS; i++) 5905 { 5906 - if (csinfo[i].fname == NULL) 5907 + if (csinfo[i].fname == NULL || csinfo[i].to_fp == NULL) 5908 continue; 5909 5910 /* send cmd to cscope */ 5806 5911 @@ -1101,38 +1100,44 @@ 5807 5912 if (qfpos != NULL && *qfpos != '0' && totmatches > 0) … … 5901 6006 diff -Naur vim70.orig/src/if_perl.xs vim70/src/if_perl.xs 5902 6007 --- vim70.orig/src/if_perl.xs 2006-03-06 10:57:16.000000000 -0800 5903 +++ vim70/src/if_perl.xs 2006-11- 12 10:10:38.000000000 -08006008 +++ vim70/src/if_perl.xs 2006-11-21 22:40:59.000000000 -0800 5904 6009 @@ -155,8 +155,8 @@ 5905 6010 static int (*perl_run)(PerlInterpreter*); … … 6016 6121 diff -Naur vim70.orig/src/if_python.c vim70/src/if_python.c 6017 6122 --- vim70.orig/src/if_python.c 2006-04-30 08:31:36.000000000 -0700 6018 +++ vim70/src/if_python.c 2006-11- 12 10:13:36.000000000 -08006123 +++ vim70/src/if_python.c 2006-11-21 22:44:02.000000000 -0800 6019 6124 @@ -1463,7 +1463,7 @@ 6020 6125 if (this->buf && this->buf != INVALID_BUFFER_VALUE) … … 6055 6160 diff -Naur vim70.orig/src/if_ruby.c vim70/src/if_ruby.c 6056 6161 --- vim70.orig/src/if_ruby.c 2006-04-30 08:37:52.000000000 -0700 6057 +++ vim70/src/if_ruby.c 2006-11- 12 10:10:38.000000000 -08006162 +++ vim70/src/if_ruby.c 2006-11-21 22:40:59.000000000 -0800 6058 6163 @@ -643,11 +643,14 @@ 6059 6164 … … 6170 6275 diff -Naur vim70.orig/src/macros.h vim70/src/macros.h 6171 6276 --- vim70.orig/src/macros.h 2006-03-01 04:01:10.000000000 -0800 6172 +++ vim70/src/macros.h 2006-11- 12 10:12:08.000000000 -08006277 +++ vim70/src/macros.h 2006-11-21 22:42:33.000000000 -0800 6173 6278 @@ -276,3 +276,9 @@ 6174 6279 # define MB_CHARLEN(p) STRLEN(p) … … 6183 6288 diff -Naur vim70.orig/src/main.c vim70/src/main.c 6184 6289 --- vim70.orig/src/main.c 2006-05-03 10:36:44.000000000 -0700 6185 +++ vim70/src/main.c 2006-11- 12 10:16:18.000000000 -08006290 +++ vim70/src/main.c 2006-11-21 22:46:44.000000000 -0800 6186 6291 @@ -564,7 +564,11 @@ 6187 6292 */ … … 6377 6482 diff -Naur vim70.orig/src/Makefile vim70/src/Makefile 6378 6483 --- vim70.orig/src/Makefile 2006-05-07 06:25:27.000000000 -0700 6379 +++ vim70/src/Makefile 2006-11- 12 10:11:42.000000000 -08006484 +++ vim70/src/Makefile 2006-11-21 22:42:08.000000000 -0800 6380 6485 @@ -2177,6 +2177,7 @@ 6381 6486 cd $(SHADOWDIR)/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* . … … 6397 6502 diff -Naur vim70.orig/src/mbyte.c vim70/src/mbyte.c 6398 6503 --- vim70.orig/src/mbyte.c 2006-04-30 04:51:01.000000000 -0700 6399 +++ vim70/src/mbyte.c 2006-11- 12 10:11:13.000000000 -08006504 +++ vim70/src/mbyte.c 2006-11-21 22:41:36.000000000 -0800 6400 6505 @@ -311,7 +311,11 @@ 6401 6506 … … 6479 6584 diff -Naur vim70.orig/src/memfile.c vim70/src/memfile.c 6480 6585 --- vim70.orig/src/memfile.c 2006-03-06 00:59:15.000000000 -0800 6481 +++ vim70/src/memfile.c 2006-11- 12 10:16:05.000000000 -08006586 +++ vim70/src/memfile.c 2006-11-21 22:46:36.000000000 -0800 6482 6587 @@ -517,7 +517,7 @@ 6483 6588 mf_ins_free(mfp, hp); /* put *hp in the free list */ … … 6536 6641 diff -Naur vim70.orig/src/memline.c vim70/src/memline.c 6537 6642 --- vim70.orig/src/memline.c 2006-04-20 14:00:21.000000000 -0700 6538 +++ vim70/src/memline.c 2006-11- 12 10:14:26.000000000 -08006643 +++ vim70/src/memline.c 2006-11-21 22:47:07.000000000 -0800 6539 6644 @@ -215,7 +215,7 @@ 6540 6645 #define ML_FLUSH 0x02 /* flush locked block */ … … 6567 6672 else 6568 6673 set_b0_dir_flag(b0p, buf); 6569 @@ -1633,6 +1633,7 @@ 6674 @@ -1325,6 +1325,7 @@ 6675 mf_put(mfp, hp, FALSE, FALSE); 6676 mf_close(mfp, FALSE); /* will also vim_free(mfp->mf_fname) */ 6677 } 6678 + vim_free(buf->b_ml.ml_stack); 6679 vim_free(buf); 6680 if (serious_error && called_from_main) 6681 ml_close(curbuf, TRUE); 6682 @@ -1633,6 +1634,7 @@ 6570 6683 int fd; 6571 6684 struct block0 b0; … … 6575 6688 char_u uname[B0_UNAME_SIZE]; 6576 6689 #endif 6577 @@ -1652,8 +165 3,11 @@6690 @@ -1652,8 +1654,11 @@ 6578 6691 #endif 6579 6692 MSG_PUTS(_(" dated: ")); … … 6589 6702 6590 6703 /* 6591 @@ -3652,6 +365 6,7 @@6704 @@ -3652,6 +3657,7 @@ 6592 6705 { 6593 6706 struct stat st; … … 6597 6710 ++no_wait_return; 6598 6711 (void)EMSG(_("E325: ATTENTION")); 6599 @@ -3666,7 +367 1,11 @@6712 @@ -3666,7 +3672,11 @@ 6600 6713 { 6601 6714 MSG_PUTS(_(" dated: ")); … … 6612 6725 diff -Naur vim70.orig/src/menu.c vim70/src/menu.c 6613 6726 --- vim70.orig/src/menu.c 2006-05-03 10:30:48.000000000 -0700 6614 +++ vim70/src/menu.c 2006-11- 12 10:10:44.000000000 -08006727 +++ vim70/src/menu.c 2006-11-21 22:41:07.000000000 -0800 6615 6728 @@ -511,6 +511,14 @@ 6616 6729 * name (without mnemonic and accelerator text). */ … … 6689 6802 diff -Naur vim70.orig/src/message.c vim70/src/message.c 6690 6803 --- vim70.orig/src/message.c 2006-05-06 13:07:37.000000000 -0700 6691 +++ vim70/src/message.c 2006-11- 12 10:14:37.000000000 -08006804 +++ vim70/src/message.c 2006-11-21 22:45:07.000000000 -0800 6692 6805 @@ -53,7 +53,6 @@ 6693 6806 static struct msg_hist *first_msg_hist = NULL; … … 6742 6855 diff -Naur vim70.orig/src/misc1.c vim70/src/misc1.c 6743 6856 --- vim70.orig/src/misc1.c 2006-04-30 08:30:02.000000000 -0700 6744 +++ vim70/src/misc1.c 2006-11- 12 10:15:32.000000000 -08006857 +++ vim70/src/misc1.c 2006-11-21 22:46:04.000000000 -0800 6745 6858 @@ -1761,15 +1761,13 @@ 6746 6859 * Add column offset for 'number', 'foldcolumn', etc. … … 6857 6970 diff -Naur vim70.orig/src/misc2.c vim70/src/misc2.c 6858 6971 --- vim70.orig/src/misc2.c 2006-05-04 05:12:38.000000000 -0700 6859 +++ vim70/src/misc2.c 2006-11- 12 10:13:32.000000000 -08006972 +++ vim70/src/misc2.c 2006-11-21 22:43:59.000000000 -0800 6860 6973 @@ -1229,6 +1229,94 @@ 6861 6974 return escaped_string; … … 6955 7068 diff -Naur vim70.orig/src/netbeans.c vim70/src/netbeans.c 6956 7069 --- vim70.orig/src/netbeans.c 2006-04-22 11:00:05.000000000 -0700 6957 +++ vim70/src/netbeans.c 2006-11-12 10:11:13.000000000 -0800 7070 +++ vim70/src/netbeans.c 2006-11-21 22:46:48.000000000 -0800 7071 @@ -61,7 +61,7 @@ 7072 7073 /* The first implementation (working only with Netbeans) returned "1.1". The 7074 * protocol implemented here also supports A-A-P. */ 7075 -static char *ExtEdProtocolVersion = "2.3"; 7076 +static char *ExtEdProtocolVersion = "2.4"; 7077 7078 static long pos2off __ARGS((buf_T *, pos_T *)); 7079 static pos_T *off2pos __ARGS((buf_T *, long)); 6958 7080 @@ -103,7 +103,7 @@ 6959 7081 static int inputHandler = -1; /* simply ret.value of WSAAsyncSelect() */ … … 6993 7115 /* nb_send(buf, "netbeans_end"); avoid "write failed" messages */ 6994 7116 if (sd >= 0) 6995 @@ -1986,6 +1986,8 @@ 7117 @@ -1271,6 +1271,29 @@ 7118 nb_reply_text(cmdno, text); 7119 /* =====================================================================*/ 7120 } 7121 + else if (streq((char *)cmd, "getAnno")) 7122 + { 7123 + long linenum = 0; 7124 +#ifdef FEAT_SIGNS 7125 + if (buf == NULL || buf->bufp == NULL) 7126 + { 7127 + nbdebug((" null bufp in getAnno")); 7128 + EMSG("E652: null bufp in getAnno"); 7129 + retval = FAIL; 7130 + } 7131 + else 7132 + { 7133 + int serNum; 7134 + 7135 + cp = (char *)args; 7136 + serNum = strtol(cp, &cp, 10); 7137 + /* If the sign isn't found linenum will be zero. */ 7138 + linenum = (long)buf_findsign(buf->bufp, serNum); 7139 + } 7140 +#endif 7141 + nb_reply_nr(cmdno, linenum); 7142 +/* =====================================================================*/ 7143 + } 7144 else if (streq((char *)cmd, "getLength")) 7145 { 7146 long len = 0; 7147 @@ -1986,6 +2009,8 @@ 6996 7148 if (buf->bufp != NULL) 6997 7149 do_buffer(DOBUF_WIPE, DOBUF_FIRST, FORWARD, … … 7002 7154 /* =====================================================================*/ 7003 7155 } 7004 @@ -2561,7 +25 63,7 @@7156 @@ -2561,7 +2586,7 @@ 7005 7157 if (p != NULL) 7006 7158 { … … 7011 7163 } 7012 7164 nbdebug(("EVT: %s", buf)); 7013 @@ -2615,7 +26 17,7 @@7165 @@ -2615,7 +2640,7 @@ 7014 7166 7015 7167 if (haveConnection) … … 7020 7172 nb_send(buf, "netbeans_disconnect"); 7021 7173 } 7022 @@ -2634,7 +26 36,7 @@7174 @@ -2634,7 +2659,7 @@ 7023 7175 return; 7024 7176 … … 7029 7181 nb_send(buf, "netbeans_frame_moved"); 7030 7182 } 7031 @@ -2743,7 +27 45,7 @@7183 @@ -2743,7 +2768,7 @@ 7032 7184 if (bufno <= 0) 7033 7185 return; … … 7038 7190 nbdebug(("EVT: %s", buffer)); 7039 7191 7040 @@ -2817,7 +28 19,8 @@7192 @@ -2817,7 +2842,8 @@ 7041 7193 if (p != NULL) 7042 7194 { … … 7048 7200 nb_send((char *)buf, "netbeans_inserted"); 7049 7201 vim_free(p); 7050 @@ -2859,7 +28 62,7 @@7202 @@ -2859,7 +2885,7 @@ 7051 7203 7052 7204 off = pos2off(bufp, &pos); … … 7057 7209 nb_send((char *)buf, "netbeans_removed"); 7058 7210 } 7059 @@ -2884,7 +2 887,7 @@7211 @@ -2884,7 +2910,7 @@ 7060 7212 7061 7213 nbbuf->modified = 0; … … 7066 7218 nb_send((char *)buf, "netbeans_unmodified"); 7067 7219 #endif 7068 @@ -2908,11 +29 11,11 @@7220 @@ -2908,11 +2934,11 @@ 7069 7221 long off = pos2off(curbuf, &curwin->w_cursor); 7070 7222 … … 7080 7232 nbdebug(("EVT: %s", buf)); 7081 7233 nb_send(buf, "netbeans_button_release"); 7082 @@ -2973,7 +29 76,7 @@7234 @@ -2973,7 +2999,7 @@ 7083 7235 7084 7236 /* sync the cursor position */ … … 7089 7241 nb_send(buf, "netbeans_keycommand"); 7090 7242 7091 @@ -2984,13 + 2987,13 @@7243 @@ -2984,13 +3010,13 @@ 7092 7244 7093 7245 /* now send keyCommand event */ … … 7105 7257 nbdebug(("EVT: %s", buf)); 7106 7258 nb_send(buf, "netbeans_keycommand"); 7107 @@ -3013,7 +30 16,7 @@7259 @@ -3013,7 +3039,7 @@ 7108 7260 7109 7261 nbbuf->modified = 0; … … 7114 7266 nb_send((char *)buf, "netbeans_save_buffer"); 7115 7267 } 7116 @@ -3037,7 +30 40,7 @@7268 @@ -3037,7 +3063,7 @@ 7117 7269 if (nbbuf->insertDone) 7118 7270 nbbuf->modified = 1; … … 7125 7277 diff -Naur vim70.orig/src/normal.c vim70/src/normal.c 7126 7278 --- vim70.orig/src/normal.c 2006-04-29 06:11:18.000000000 -0700 7127 +++ vim70/src/normal.c 2006-11- 12 10:16:09.000000000 -08007279 +++ vim70/src/normal.c 2006-11-21 22:46:40.000000000 -0800 7128 7280 @@ -1477,14 +1477,17 @@ 7129 7281 } … … 7212 7364 diff -Naur vim70.orig/src/ops.c vim70/src/ops.c 7213 7365 --- vim70.orig/src/ops.c 2006-04-30 08:13:44.000000000 -0700 7214 +++ vim70/src/ops.c 2006-11- 12 10:16:09.000000000 -08007366 +++ vim70/src/ops.c 2006-11-21 22:46:40.000000000 -0800 7215 7367 @@ -95,8 +95,8 @@ 7216 7368 static void block_insert __ARGS((oparg_T *oap, char_u *s, int b_insert, struct block_def*bdp)); … … 7412 7564 diff -Naur vim70.orig/src/option.c vim70/src/option.c 7413 7565 --- vim70.orig/src/option.c 2006-05-03 10:32:28.000000000 -0700 7414 +++ vim70/src/option.c 2006-11- 12 10:15:09.000000000 -08007566 +++ vim70/src/option.c 2006-11-21 22:45:40.000000000 -0800 7415 7567 @@ -2294,7 +2294,7 @@ 7416 7568 {(char_u *)0L, (char_u *)0L} … … 7528 7680 diff -Naur vim70.orig/src/os_unix.c vim70/src/os_unix.c 7529 7681 --- vim70.orig/src/os_unix.c 2006-05-01 01:13:15.000000000 -0700 7530 +++ vim70/src/os_unix.c 2006-11- 12 10:11:13.000000000 -08007682 +++ vim70/src/os_unix.c 2006-11-21 22:41:36.000000000 -0800 7531 7683 @@ -3934,7 +3934,7 @@ 7532 7684 { … … 7587 7739 diff -Naur vim70.orig/src/popupmnu.c vim70/src/popupmnu.c 7588 7740 --- vim70.orig/src/popupmnu.c 2006-04-20 13:18:37.000000000 -0700 7589 +++ vim70/src/popupmnu.c 2006-11- 12 10:10:56.000000000 -08007741 +++ vim70/src/popupmnu.c 2006-11-21 22:41:18.000000000 -0800 7590 7742 @@ -552,6 +552,9 @@ 7591 7743 { … … 7600 7752 diff -Naur vim70.orig/src/proto/buffer.pro vim70/src/proto/buffer.pro 7601 7753 --- vim70.orig/src/proto/buffer.pro 2006-05-07 06:08:29.000000000 -0700 7602 +++ vim70/src/proto/buffer.pro 2006-11- 12 10:12:08.000000000 -08007754 +++ vim70/src/proto/buffer.pro 2006-11-21 22:42:33.000000000 -0800 7603 7755 @@ -10,6 +10,7 @@ 7604 7756 extern int do_buffer __ARGS((int action, int start, int dir, int count, int forceit)); … … 7611 7763 diff -Naur vim70.orig/src/proto/eval.pro vim70/src/proto/eval.pro 7612 7764 --- vim70.orig/src/proto/eval.pro 2006-05-07 06:08:33.000000000 -0700 7613 +++ vim70/src/proto/eval.pro 2006-11- 12 10:14:44.000000000 -08007765 +++ vim70/src/proto/eval.pro 2006-11-21 22:45:14.000000000 -0800 7614 7766 @@ -44,7 +44,7 @@ 7615 7767 extern char_u *get_user_var_name __ARGS((expand_T *xp, int idx)); … … 7623 7775 diff -Naur vim70.orig/src/proto/menu.pro vim70/src/proto/menu.pro 7624 7776 --- vim70.orig/src/proto/menu.pro 2006-05-07 06:08:51.000000000 -0700 7625 +++ vim70/src/proto/menu.pro 2006-11- 12 10:10:44.000000000 -08007777 +++ vim70/src/proto/menu.pro 2006-11-21 22:41:07.000000000 -0800 7626 7778 @@ -10,6 +10,7 @@ 7627 7779 extern int menu_is_child_of_popup __ARGS((vimmenu_T *menu)); … … 7634 7786 diff -Naur vim70.orig/src/proto/misc2.pro vim70/src/proto/misc2.pro 7635 7787 --- vim70.orig/src/proto/misc2.pro 2006-05-07 06:08:54.000000000 -0700 7636 +++ vim70/src/proto/misc2.pro 2006-11- 12 10:13:32.000000000 -08007788 +++ vim70/src/proto/misc2.pro 2006-11-21 22:43:59.000000000 -0800 7637 7789 @@ -29,6 +29,7 @@ 7638 7790 extern char_u *vim_strnsave __ARGS((char_u *string, int len)); … … 7645 7797 diff -Naur vim70.orig/src/proto/ops.pro vim70/src/proto/ops.pro 7646 7798 --- vim70.orig/src/proto/ops.pro 2006-05-07 06:08:58.000000000 -0700 7647 +++ vim70/src/proto/ops.pro 2006-11- 12 10:16:09.000000000 -08007799 +++ vim70/src/proto/ops.pro 2006-11-21 22:46:40.000000000 -0800 7648 7800 @@ -17,10 +17,10 @@ 7649 7801 extern void put_register __ARGS((int name, void *reg)); … … 7661 7813 diff -Naur vim70.orig/src/proto/undo.pro vim70/src/proto/undo.pro 7662 7814 --- vim70.orig/src/proto/undo.pro 2006-05-07 06:09:11.000000000 -0700 7663 +++ vim70/src/proto/undo.pro 2006-11- 12 10:09:26.000000000 -08007815 +++ vim70/src/proto/undo.pro 2006-11-21 22:39:46.000000000 -0800 7664 7816 @@ -4,6 +4,7 @@ 7665 7817 extern int u_savesub __ARGS((linenr_T lnum)); … … 7672 7824 diff -Naur vim70.orig/src/quickfix.c vim70/src/quickfix.c 7673 7825 --- vim70.orig/src/quickfix.c 2006-05-03 00:47:42.000000000 -0700 7674 +++ vim70/src/quickfix.c 2006-11- 12 10:15:21.000000000 -08007826 +++ vim70/src/quickfix.c 2006-11-21 22:45:51.000000000 -0800 7675 7827 @@ -500,8 +500,6 @@ 7676 7828 { … … 7927 8079 diff -Naur vim70.orig/src/regexp.c vim70/src/regexp.c 7928 8080 --- vim70.orig/src/regexp.c 2006-04-30 08:31:50.000000000 -0700 7929 +++ vim70/src/regexp.c 2006-11- 12 10:15:13.000000000 -08008081 +++ vim70/src/regexp.c 2006-11-21 22:45:44.000000000 -0800 7930 8082 @@ -3777,8 +3777,8 @@ 7931 8083 … … 8064 8216 diff -Naur vim70.orig/src/screen.c vim70/src/screen.c 8065 8217 --- vim70.orig/src/screen.c 2006-05-05 03:13:55.000000000 -0700 8066 +++ vim70/src/screen.c 2006-11- 12 10:14:09.000000000 -08008218 +++ vim70/src/screen.c 2006-11-21 22:44:38.000000000 -0800 8067 8219 @@ -1228,7 +1228,14 @@ 8068 8220 { … … 8240 8392 diff -Naur vim70.orig/src/search.c vim70/src/search.c 8241 8393 --- vim70.orig/src/search.c 2006-05-05 05:12:13.000000000 -0700 8242 +++ vim70/src/search.c 2006-11- 12 10:14:37.000000000 -08008394 +++ vim70/src/search.c 2006-11-21 22:45:07.000000000 -0800 8243 8395 @@ -1259,7 +1259,7 @@ 8244 8396 /* … … 8297 8449 diff -Naur vim70.orig/src/spell.c vim70/src/spell.c 8298 8450 --- vim70.orig/src/spell.c 2006-05-05 00:49:58.000000000 -0700 8299 +++ vim70/src/spell.c 2006-11- 12 10:13:10.000000000 -08008451 +++ vim70/src/spell.c 2006-11-21 22:43:32.000000000 -0800 8300 8452 @@ -1483,7 +1483,7 @@ 8301 8453 else if ((mode == FIND_COMPOUND || mode == FIND_KEEPCOMPOUND … … 8628 8780 diff -Naur vim70.orig/src/structs.h vim70/src/structs.h 8629 8781 --- vim70.orig/src/structs.h 2006-04-09 10:57:46.000000000 -0700 8630 +++ vim70/src/structs.h 2006-11- 12 10:10:38.000000000 -08008782 +++ vim70/src/structs.h 2006-11-21 22:40:59.000000000 -0800 8631 8783 @@ -2213,18 +2213,20 @@ 8632 8784 … … 8654 8806 diff -Naur vim70.orig/src/syntax.c vim70/src/syntax.c 8655 8807 --- vim70.orig/src/syntax.c 2006-04-26 05:49:45.000000000 -0700 8656 +++ vim70/src/syntax.c 2006-11- 12 10:15:50.000000000 -08008808 +++ vim70/src/syntax.c 2006-11-21 22:46:21.000000000 -0800 8657 8809 @@ -977,6 +977,7 @@ 8658 8810 { … … 8758 8910 diff -Naur vim70.orig/src/tag.c vim70/src/tag.c 8759 8911 --- vim70.orig/src/tag.c 2006-04-27 06:11:21.000000000 -0700 8760 +++ vim70/src/tag.c 2006-11- 12 10:14:44.000000000 -08008912 +++ vim70/src/tag.c 2006-11-21 22:45:14.000000000 -0800 8761 8913 @@ -911,7 +911,7 @@ 8762 8914 … … 8800 8952 diff -Naur vim70.orig/src/term.c vim70/src/term.c 8801 8953 --- vim70.orig/src/term.c 2006-05-03 10:34:57.000000000 -0700 8802 +++ vim70/src/term.c 2006-11- 12 10:15:36.000000000 -08008954 +++ vim70/src/term.c 2006-11-21 22:46:08.000000000 -0800 8803 8955 @@ -3137,25 +3137,32 @@ 8804 8956 screenalloc(FALSE); … … 8864 9016 diff -Naur vim70.orig/src/testdir/test56.in vim70/src/testdir/test56.in 8865 9017 --- vim70.orig/src/testdir/test56.in 2005-05-18 08:37:37.000000000 -0700 8866 +++ vim70/src/testdir/test56.in 2006-11- 12 10:12:01.000000000 -08009018 +++ vim70/src/testdir/test56.in 2006-11-21 22:42:26.000000000 -0800 8867 9019 @@ -3,7 +3,7 @@ 8868 9020 STARTTEST … … 8876 9028 diff -Naur vim70.orig/src/ui.c vim70/src/ui.c 8877 9029 --- vim70.orig/src/ui.c 2006-03-27 11:15:09.000000000 -0800 8878 +++ vim70/src/ui.c 2006-11- 12 10:11:13.000000000 -08009030 +++ vim70/src/ui.c 2006-11-21 22:41:36.000000000 -0800 8879 9031 @@ -1137,7 +1137,6 @@ 8880 9032 int len; … … 8896 9048 diff -Naur vim70.orig/src/undo.c vim70/src/undo.c 8897 9049 --- vim70.orig/src/undo.c 2006-04-21 02:30:59.000000000 -0700 8898 +++ vim70/src/undo.c 2006-11- 12 10:11:13.000000000 -08009050 +++ vim70/src/undo.c 2006-11-21 22:41:36.000000000 -0800 8899 9051 @@ -84,7 +84,6 @@ 8900 9052 static void u_unch_branch __ARGS((u_header_T *uhp)); … … 8961 9113 diff -Naur vim70.orig/src/version.c vim70/src/version.c 8962 9114 --- vim70.orig/src/version.c 2006-05-03 00:50:42.000000000 -0700 8963 +++ vim70/src/version.c 2006-11- 12 10:16:18.000000000 -08008964 @@ -667,6 +667,3 00@@9115 +++ vim70/src/version.c 2006-11-21 22:47:07.000000000 -0800 9116 @@ -667,6 +667,312 @@ 8965 9117 static int included_patches[] = 8966 9118 { /* Add new patch number below this line */ 8967 9119 /**/ 9120 + 168, 9121 +/**/ 9122 + 167, 9123 +/**/ 9124 + 166, 9125 +/**/ 9126 + 165, 9127 +/**/ 9128 + 164, 9129 +/**/ 9130 + 163, 9131 +/**/ 8968 9132 + 162, 8969 9133 +/**/ … … 9263 9427 }; 9264 9428 9265 @@ -731,7 +10 25,11 @@9429 @@ -731,7 +1037,11 @@ 9266 9430 /* Only MS VC 4.1 and earlier can do Win32s */ 9267 9431 MSG_PUTS(_("\nMS-Windows 16/32 bit GUI version")); … … 9277 9441 diff -Naur vim70.orig/src/vim.h vim70/src/vim.h 9278 9442 --- vim70.orig/src/vim.h 2006-04-30 08:32:38.000000000 -0700 9279 +++ vim70/src/vim.h 2006-11- 12 10:15:55.000000000 -08009443 +++ vim70/src/vim.h 2006-11-21 22:46:26.000000000 -0800 9280 9444 @@ -585,7 +585,6 @@ 9281 9445 #define INSERT 0x10 /* Insert mode */ … … 9318 9482 diff -Naur vim70.orig/src/window.c vim70/src/window.c 9319 9483 --- vim70.orig/src/window.c 2006-05-06 03:54:51.000000000 -0700 9320 +++ vim70/src/window.c 2006-11- 12 10:15:32.000000000 -08009484 +++ vim70/src/window.c 2006-11-21 22:47:07.000000000 -0800 9321 9485 @@ -340,10 +340,10 @@ 9322 9486 { … … 9347 9511 9348 9512 #endif /* FEAT_WINDOWS */ 9513 @@ -4278,7 +4273,7 @@ 9514 win_T *wp; 9515 { 9516 wp->w_lines_valid = 0; 9517 - wp->w_lines = (wline_T *)alloc((unsigned)(Rows * sizeof(wline_T))); 9518 + wp->w_lines = (wline_T *)alloc_clear((unsigned)(Rows * sizeof(wline_T))); 9519 if (wp->w_lines == NULL) 9520 return FAIL; 9521 return OK; 9349 9522 @@ -5194,11 +5189,7 @@ 9350 9523 int height;
Note:
See TracChangeset
for help on using the changeset viewer.