Changeset ee210ad
- Timestamp:
- Nov 12, 2006, 10:19:11 AM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 0361322
- Parents:
- 8c14d74
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/vim-7.0-fixes-18.patch
r8c14d74 ree210ad 1 1 Submitted By: Jim Gifford (jim at linuxfromscratch dot org) 2 Date: 2006-11- 032 Date: 2006-11-12 3 3 Initial Package Version: 7.0 4 4 Origin: Upstream 5 5 Upstream Status: Applied 6 Description: Contains all upstream patches up to 7.0.1 586 Description: Contains all upstream patches up to 7.0.162 7 7 The following patches were skipped 8 005 027 028 032 045 057 065 074 108 130 131 132 138 156 8 005 027 028 032 045 057 065 074 108 130 131 132 138 156 161 9 9 10 10 diff -Naur vim70.orig/configure vim70/configure 11 11 --- vim70.orig/configure 2004-07-05 02:02:24.000000000 -0700 12 +++ vim70/configure 2006-11- 02 10:13:07.000000000 -080012 +++ vim70/configure 2006-11-12 10:09:55.000000000 -0800 13 13 @@ -3,4 +3,4 @@ 14 14 # This is just a stub for the Unix configure script, to provide support for … … 19 19 diff -Naur vim70.orig/runtime/autoload/ccomplete.vim vim70/runtime/autoload/ccomplete.vim 20 20 --- vim70.orig/runtime/autoload/ccomplete.vim 2006-05-03 07:35:56.000000000 -0700 21 +++ vim70/runtime/autoload/ccomplete.vim 2006-11- 02 10:12:56.000000000 -080021 +++ vim70/runtime/autoload/ccomplete.vim 2006-11-12 10:07:31.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- 02 10:13:23.000000000 -080042 +++ vim70/runtime/autoload/gzip.vim 2006-11-12 10:13:32.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- 02 10:13:03.000000000 -0800103 +++ vim70/runtime/autoload/paste.vim 2006-11-12 10:09:06.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- 02 10:13:16.000000000 -0800123 +++ vim70/runtime/autoload/spellfile.vim 2006-11-12 10:11:30.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- 02 10:13:37.000000000 -0800179 +++ vim70/runtime/doc/eval.txt 2006-11-12 10:15:54.000000000 -0800 180 180 @@ -1,4 +1,4 @@ 181 181 -*eval.txt* For Vim version 7.0. Last change: 2006 May 06 … … 257 257 diff -Naur vim70.orig/runtime/menu.vim vim70/runtime/menu.vim 258 258 --- vim70.orig/runtime/menu.vim 2006-04-17 06:47:28.000000000 -0700 259 +++ vim70/runtime/menu.vim 2006-11- 02 10:13:22.000000000 -0800259 +++ vim70/runtime/menu.vim 2006-11-12 10:13:20.000000000 -0800 260 260 @@ -2,7 +2,7 @@ 261 261 " You can also use this as a start for your own set of menus. … … 324 324 diff -Naur vim70.orig/runtime/plugin/matchparen.vim vim70/runtime/plugin/matchparen.vim 325 325 --- vim70.orig/runtime/plugin/matchparen.vim 2006-04-27 06:31:26.000000000 -0700 326 +++ vim70/runtime/plugin/matchparen.vim 2006-11- 02 10:13:20.000000000 -0800326 +++ vim70/runtime/plugin/matchparen.vim 2006-11-12 10:12:33.000000000 -0800 327 327 @@ -1,6 +1,6 @@ 328 328 " Vim plugin for showing matching parens … … 367 367 diff -Naur vim70.orig/runtime/scripts.vim vim70/runtime/scripts.vim 368 368 --- vim70.orig/runtime/scripts.vim 2006-03-28 11:30:49.000000000 -0800 369 +++ vim70/runtime/scripts.vim 2006-11- 02 10:13:07.000000000 -0800369 +++ vim70/runtime/scripts.vim 2006-11-12 10:10:02.000000000 -0800 370 370 @@ -1,7 +1,7 @@ 371 371 " Vim support file to detect file types in scripts … … 392 392 diff -Naur vim70.orig/runtime/tutor/Makefile vim70/runtime/tutor/Makefile 393 393 --- vim70.orig/runtime/tutor/Makefile 2004-06-07 07:32:39.000000000 -0700 394 +++ vim70/runtime/tutor/Makefile 2006-11- 02 10:13:20.000000000 -0800394 +++ vim70/runtime/tutor/Makefile 2006-11-12 10:12:41.000000000 -0800 395 395 @@ -2,8 +2,13 @@ 396 396 # … … 426 426 diff -Naur vim70.orig/runtime/tutor/tutor.gr.utf-8 vim70/runtime/tutor/tutor.gr.utf-8 427 427 --- 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- 02 10:13:20.000000000 -0800428 +++ vim70/runtime/tutor/tutor.gr.utf-8 2006-11-12 10:12:41.000000000 -0800 429 429 @@ -0,0 +1,815 @@ 430 430 +=============================================================================== … … 1459 1459 diff -Naur vim70.orig/runtime/tutor/tutor.ru.utf-8 vim70/runtime/tutor/tutor.ru.utf-8 1460 1460 --- 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- 02 10:13:17.000000000 -08001461 +++ vim70/runtime/tutor/tutor.ru.utf-8 2006-11-12 10:11:39.000000000 -0800 1462 1462 @@ -0,0 +1,834 @@ 1463 1463 +=============================================================================== … … 2380 2380 diff -Naur vim70.orig/runtime/tutor/tutor.vim vim70/runtime/tutor/tutor.vim 2381 2381 --- vim70.orig/runtime/tutor/tutor.vim 2006-03-18 12:20:36.000000000 -0800 2382 +++ vim70/runtime/tutor/tutor.vim 2006-11- 02 10:13:20.000000000 -08002382 +++ vim70/runtime/tutor/tutor.vim 2006-11-12 10:12:41.000000000 -0800 2383 2383 @@ -1,6 +1,6 @@ 2384 2384 " Vim tutor support file … … 2432 2432 diff -Naur vim70.orig/src/auto/configure vim70/src/auto/configure 2433 2433 --- vim70.orig/src/auto/configure 2006-05-04 03:46:19.000000000 -0700 2434 +++ vim70/src/auto/configure 2006-11- 02 10:13:27.000000000 -08002434 +++ vim70/src/auto/configure 2006-11-12 10:14:51.000000000 -0800 2435 2435 @@ -4014,7 +4014,7 @@ 2436 2436 LDFLAGS=$ldflags_save … … 2473 2473 diff -Naur vim70.orig/src/buffer.c vim70/src/buffer.c 2474 2474 --- vim70.orig/src/buffer.c 2006-04-26 14:37:23.000000000 -0700 2475 +++ vim70/src/buffer.c 2006-11- 02 10:13:29.000000000 -08002475 +++ vim70/src/buffer.c 2006-11-12 10:16:18.000000000 -0800 2476 2476 @@ -434,12 +434,8 @@ 2477 2477 if (usingNetbeans) … … 2573 2573 #endif 2574 2574 2575 @@ -4215,7 +4220,7 @@ 2576 2577 /* Use the name from the associated buffer if it exists. */ 2578 bp = buflist_findnr(aep->ae_fnum); 2579 - if (bp == NULL) 2580 + if (bp == NULL || bp->b_fname == NULL) 2581 return aep->ae_fname; 2582 return bp->b_fname; 2583 } 2575 2584 @@ -5420,11 +5425,7 @@ 2576 2585 buf_T *newbuf; … … 2615 2624 diff -Naur vim70.orig/src/configure vim70/src/configure 2616 2625 --- vim70.orig/src/configure 2006-05-07 07:17:49.000000000 -0700 2617 +++ vim70/src/configure 2006-11- 02 10:13:07.000000000 -08002626 +++ vim70/src/configure 2006-11-12 10:09:55.000000000 -0800 2618 2627 @@ -2,5 +2,9 @@ 2619 2628 # run the automatically generated configure script … … 2628 2637 diff -Naur vim70.orig/src/configure.in vim70/src/configure.in 2629 2638 --- vim70.orig/src/configure.in 2006-05-04 03:46:11.000000000 -0700 2630 +++ vim70/src/configure.in 2006-11- 02 10:13:27.000000000 -08002639 +++ vim70/src/configure.in 2006-11-12 10:14:51.000000000 -0800 2631 2640 @@ -508,7 +508,8 @@ 2632 2641 LDFLAGS=$ldflags_save … … 2671 2680 diff -Naur vim70.orig/src/edit.c vim70/src/edit.c 2672 2681 --- vim70.orig/src/edit.c 2006-05-07 04:48:51.000000000 -0700 2673 +++ vim70/src/edit.c 2006-11- 02 10:13:49.000000000 -08002682 +++ vim70/src/edit.c 2006-11-12 10:16:02.000000000 -0800 2674 2683 @@ -129,7 +129,7 @@ 2675 2684 … … 3292 3301 diff -Naur vim70.orig/src/eval.c vim70/src/eval.c 3293 3302 --- vim70.orig/src/eval.c 2006-05-05 10:15:26.000000000 -0700 3294 +++ vim70/src/eval.c 2006-11- 02 10:13:45.000000000 -08003303 +++ vim70/src/eval.c 2006-11-12 10:15:58.000000000 -0800 3295 3304 @@ -166,7 +166,6 @@ 3296 3305 int uf_tm_count; /* nr of calls */ … … 4169 4178 diff -Naur vim70.orig/src/ex_cmds2.c vim70/src/ex_cmds2.c 4170 4179 --- vim70.orig/src/ex_cmds2.c 2006-04-17 03:19:07.000000000 -0700 4171 +++ vim70/src/ex_cmds2.c 2006-11- 02 10:13:13.000000000 -08004180 +++ vim70/src/ex_cmds2.c 2006-11-12 10:11:12.000000000 -0800 4172 4181 @@ -3648,13 +3648,13 @@ 4173 4182 * Return FALSE when not sourcing a file. … … 4190 4199 diff -Naur vim70.orig/src/ex_cmds.c vim70/src/ex_cmds.c 4191 4200 --- vim70.orig/src/ex_cmds.c 2006-04-22 11:56:56.000000000 -0700 4192 +++ vim70/src/ex_cmds.c 2006-11- 02 10:13:19.000000000 -08004201 +++ vim70/src/ex_cmds.c 2006-11-12 10:12:17.000000000 -0800 4193 4202 @@ -95,7 +95,10 @@ 4194 4203 _("<%s>%s%s %d, Hex %02x, Octal %03o"), … … 4301 4310 diff -Naur vim70.orig/src/ex_cmds.h vim70/src/ex_cmds.h 4302 4311 --- vim70.orig/src/ex_cmds.h 2006-04-07 02:44:46.000000000 -0700 4303 +++ vim70/src/ex_cmds.h 2006-11- 02 10:13:02.000000000 -08004312 +++ vim70/src/ex_cmds.h 2006-11-12 10:09:00.000000000 -0800 4304 4313 @@ -262,7 +262,7 @@ 4305 4314 EX(CMD_comclear, "comclear", ex_comclear, … … 4313 4322 diff -Naur vim70.orig/src/ex_docmd.c vim70/src/ex_docmd.c 4314 4323 --- vim70.orig/src/ex_docmd.c 2006-05-05 09:33:19.000000000 -0700 4315 +++ vim70/src/ex_docmd.c 2006-11- 02 10:13:29.000000000 -08004324 +++ vim70/src/ex_docmd.c 2006-11-12 10:16:09.000000000 -0800 4316 4325 @@ -58,9 +58,9 @@ 4317 4326 #endif … … 4567 4576 4568 4577 /* 4569 @@ -8417,6 +8422,15 @@ 4578 @@ -8214,8 +8219,9 @@ 4579 c = *eap->arg; 4580 if (c == NUL || (c == '*' && *eap->cmd == '*')) 4581 c = '@'; 4582 - /* put the register in mapbuf */ 4583 - if (do_execreg(c, TRUE, vim_strchr(p_cpo, CPO_EXECBUF) != NULL) == FAIL) 4584 + /* Put the register in the typeahead buffer with the "silent" flag. */ 4585 + if (do_execreg(c, TRUE, vim_strchr(p_cpo, CPO_EXECBUF) != NULL, TRUE) 4586 + == FAIL) 4587 { 4588 beep_flush(); 4589 } 4590 @@ -8417,6 +8423,15 @@ 4570 4591 else 4571 4592 EMSG2(_(e_invarg2), eap->arg); … … 4583 4604 4584 4605 /* 4585 @@ -9629,7 +964 3,8 @@4606 @@ -9629,7 +9644,8 @@ 4586 4607 #endif 4587 4608 … … 4593 4614 static frame_T *ses_skipframe __ARGS((frame_T *fr)); 4594 4615 static int ses_do_frame __ARGS((frame_T *fr)); 4595 @@ -9655,8 +967 0,8 @@4616 @@ -9655,8 +9671,8 @@ 4596 4617 win_T *wp; 4597 4618 char_u *sname; … … 4603 4624 if (ssop_flags & SSOP_BUFFERS) 4604 4625 only_save_windows = FALSE; /* Save ALL buffers */ 4605 @@ -9764,14 +97 79,26 @@4626 @@ -9764,14 +9780,26 @@ 4606 4627 /* 4607 4628 * May repeat putting Windows for each tab, when "tabpages" is in … … 4633 4654 4634 4655 /* 4635 @@ -9779,7 +980 6,7 @@4656 @@ -9779,7 +9807,7 @@ 4636 4657 * is aborted we don't end up with a number of useless windows. 4637 4658 * This may have side effects! (e.g., compressed or network file). … … 4642 4663 if (ses_do_win(wp) 4643 4664 && wp->w_buffer->b_ffname != NULL 4644 @@ -9789,15 +981 6,20 @@4665 @@ -9789,15 +9817,20 @@ 4645 4666 #endif 4646 4667 ) … … 4664 4685 * Save current window layout. 4665 4686 */ 4666 @@ -9815,7 +984 7,7 @@4687 @@ -9815,7 +9848,7 @@ 4667 4688 * Remember the window number of the current window after restoring. 4668 4689 */ … … 4673 4694 if (ses_do_win(wp)) 4674 4695 ++nr; 4675 @@ -9838,13 +987 0,13 @@4696 @@ -9838,13 +9871,13 @@ 4676 4697 */ 4677 4698 if (put_line(fd, "set winheight=1 winwidth=1") == FAIL) … … 4689 4710 if (!ses_do_win(wp)) 4690 4711 continue; 4691 @@ -9865,19 +989 7,17 @@4712 @@ -9865,19 +9898,17 @@ 4692 4713 * Restore window sizes again after jumping around in windows, because 4693 4714 * the current window has a minimum size while others may not. … … 4711 4732 || put_eol(fd) == FAIL) 4712 4733 return FAIL; 4713 @@ -9913,16 +994 3,17 @@4734 @@ -9913,16 +9944,17 @@ 4714 4735 } 4715 4736 … … 4733 4754 diff -Naur vim70.orig/src/ex_getln.c vim70/src/ex_getln.c 4734 4755 --- vim70.orig/src/ex_getln.c 2006-04-30 08:32:01.000000000 -0700 4735 +++ vim70/src/ex_getln.c 2006-11- 02 10:13:28.000000000 -08004756 +++ vim70/src/ex_getln.c 2006-11-12 10:15:02.000000000 -0800 4736 4757 @@ -86,7 +86,7 @@ 4737 4758 static void draw_cmdline __ARGS((int start, int len)); … … 4856 4877 diff -Naur vim70.orig/src/fileio.c vim70/src/fileio.c 4857 4878 --- vim70.orig/src/fileio.c 2006-04-30 08:28:57.000000000 -0700 4858 +++ vim70/src/fileio.c 2006-11- 02 10:13:22.000000000 -08004879 +++ vim70/src/fileio.c 2006-11-12 10:13:13.000000000 -0800 4859 4880 @@ -316,6 +316,9 @@ 4860 4881 * display the line. */ … … 4978 4999 diff -Naur vim70.orig/src/fold.c vim70/src/fold.c 4979 5000 --- vim70.orig/src/fold.c 2006-04-22 12:35:56.000000000 -0700 4980 +++ vim70/src/fold.c 2006-11- 02 10:13:33.000000000 -08005001 +++ vim70/src/fold.c 2006-11-12 10:15:50.000000000 -0800 4981 5002 @@ -2971,7 +2971,11 @@ 4982 5003 else … … 4993 5014 diff -Naur vim70.orig/src/getchar.c vim70/src/getchar.c 4994 5015 --- vim70.orig/src/getchar.c 2006-05-03 10:29:21.000000000 -0700 4995 +++ vim70/src/getchar.c 2006-11- 02 10:13:23.000000000 -08005016 +++ vim70/src/getchar.c 2006-11-12 10:13:42.000000000 -0800 4996 5017 @@ -1451,7 +1451,8 @@ 4997 5018 { … … 5079 5100 diff -Naur vim70.orig/src/globals.h vim70/src/globals.h 5080 5101 --- vim70.orig/src/globals.h 2006-04-30 06:16:23.000000000 -0700 5081 +++ vim70/src/globals.h 2006-11- 02 10:13:25.000000000 -08005102 +++ vim70/src/globals.h 2006-11-12 10:14:37.000000000 -0800 5082 5103 @@ -166,6 +166,7 @@ 5083 5104 EXTERN int emsg_off INIT(= 0); /* don't display errors for now, … … 5119 5140 diff -Naur vim70.orig/src/gui_at_fs.c vim70/src/gui_at_fs.c 5120 5141 --- vim70.orig/src/gui_at_fs.c 2005-07-09 04:30:17.000000000 -0700 5121 +++ vim70/src/gui_at_fs.c 2006-11- 02 10:13:00.000000000 -08005142 +++ vim70/src/gui_at_fs.c 2006-11-12 10:08:15.000000000 -0800 5122 5143 @@ -1861,27 +1861,27 @@ 5123 5144 XtPointer pnew; … … 5235 5256 diff -Naur vim70.orig/src/gui_beval.c vim70/src/gui_beval.c 5236 5257 --- vim70.orig/src/gui_beval.c 2006-05-04 12:29:51.000000000 -0700 5237 +++ vim70/src/gui_beval.c 2006-11- 02 10:13:14.000000000 -08005258 +++ vim70/src/gui_beval.c 2006-11-12 10:11:12.000000000 -0800 5238 5259 @@ -926,7 +926,7 @@ 5239 5260 # define IS_NONPRINTABLE(c) (((c) < 0x20 && (c) != TAB && (c) != NL) \ … … 5274 5295 diff -Naur vim70.orig/src/gui.c vim70/src/gui.c 5275 5296 --- vim70.orig/src/gui.c 2006-05-03 04:00:59.000000000 -0700 5276 +++ vim70/src/gui.c 2006-11- 02 10:13:25.000000000 -08005297 +++ vim70/src/gui.c 2006-11-12 10:14:30.000000000 -0800 5277 5298 @@ -187,9 +187,10 @@ 5278 5299 #endif … … 5377 5398 diff -Naur vim70.orig/src/gui_gtk.c vim70/src/gui_gtk.c 5378 5399 --- vim70.orig/src/gui_gtk.c 2006-05-05 04:52:52.000000000 -0700 5379 +++ vim70/src/gui_gtk.c 2006-11- 02 10:13:29.000000000 -08005400 +++ vim70/src/gui_gtk.c 2006-11-12 10:15:40.000000000 -0800 5380 5401 @@ -957,15 +957,15 @@ 5381 5402 get_menu_position(vimmenu_T *menu) … … 5475 5496 diff -Naur vim70.orig/src/gui_gtk_x11.c vim70/src/gui_gtk_x11.c 5476 5497 --- vim70.orig/src/gui_gtk_x11.c 2006-05-04 23:58:59.000000000 -0700 5477 +++ vim70/src/gui_gtk_x11.c 2006-11- 02 10:13:14.000000000 -08005498 +++ vim70/src/gui_gtk_x11.c 2006-11-12 10:11:12.000000000 -0800 5478 5499 @@ -3233,12 +3233,12 @@ 5479 5500 on_select_tab( … … 5540 5561 diff -Naur vim70.orig/src/gui_xmebw.c vim70/src/gui_xmebw.c 5541 5562 --- vim70.orig/src/gui_xmebw.c 2006-04-30 08:32:32.000000000 -0700 5542 +++ vim70/src/gui_xmebw.c 2006-11- 02 10:13:29.000000000 -08005563 +++ vim70/src/gui_xmebw.c 2006-11-12 10:15:43.000000000 -0800 5543 5564 @@ -47,13 +47,13 @@ 5544 5565 #include "gui_xmebwp.h" … … 5669 5690 diff -Naur vim70.orig/src/hardcopy.c vim70/src/hardcopy.c 5670 5691 --- vim70.orig/src/hardcopy.c 2006-05-04 03:09:58.000000000 -0700 5671 +++ vim70/src/hardcopy.c 2006-11- 02 10:13:14.000000000 -08005692 +++ vim70/src/hardcopy.c 2006-11-12 10:11:13.000000000 -0800 5672 5693 @@ -1794,29 +1794,27 @@ 5673 5694 static int … … 5772 5793 diff -Naur vim70.orig/src/if_cscope.c vim70/src/if_cscope.c 5773 5794 --- vim70.orig/src/if_cscope.c 2006-04-18 01:54:15.000000000 -0700 5774 +++ vim70/src/if_cscope.c 2006-11- 02 10:13:29.000000000 -08005795 +++ vim70/src/if_cscope.c 2006-11-12 10:15:47.000000000 -0800 5775 5796 @@ -989,8 +989,7 @@ 5776 5797 { … … 5880 5901 diff -Naur vim70.orig/src/if_perl.xs vim70/src/if_perl.xs 5881 5902 --- vim70.orig/src/if_perl.xs 2006-03-06 10:57:16.000000000 -0800 5882 +++ vim70/src/if_perl.xs 2006-11- 02 10:13:10.000000000 -08005903 +++ vim70/src/if_perl.xs 2006-11-12 10:10:38.000000000 -0800 5883 5904 @@ -155,8 +155,8 @@ 5884 5905 static int (*perl_run)(PerlInterpreter*); … … 5995 6016 diff -Naur vim70.orig/src/if_python.c vim70/src/if_python.c 5996 6017 --- vim70.orig/src/if_python.c 2006-04-30 08:31:36.000000000 -0700 5997 +++ vim70/src/if_python.c 2006-11- 02 10:13:23.000000000 -08006018 +++ vim70/src/if_python.c 2006-11-12 10:13:36.000000000 -0800 5998 6019 @@ -1463,7 +1463,7 @@ 5999 6020 if (this->buf && this->buf != INVALID_BUFFER_VALUE) … … 6034 6055 diff -Naur vim70.orig/src/if_ruby.c vim70/src/if_ruby.c 6035 6056 --- vim70.orig/src/if_ruby.c 2006-04-30 08:37:52.000000000 -0700 6036 +++ vim70/src/if_ruby.c 2006-11- 02 10:13:10.000000000 -08006057 +++ vim70/src/if_ruby.c 2006-11-12 10:10:38.000000000 -0800 6037 6058 @@ -643,11 +643,14 @@ 6038 6059 … … 6149 6170 diff -Naur vim70.orig/src/macros.h vim70/src/macros.h 6150 6171 --- vim70.orig/src/macros.h 2006-03-01 04:01:10.000000000 -0800 6151 +++ vim70/src/macros.h 2006-11- 02 10:13:19.000000000 -08006172 +++ vim70/src/macros.h 2006-11-12 10:12:08.000000000 -0800 6152 6173 @@ -276,3 +276,9 @@ 6153 6174 # define MB_CHARLEN(p) STRLEN(p) … … 6162 6183 diff -Naur vim70.orig/src/main.c vim70/src/main.c 6163 6184 --- vim70.orig/src/main.c 2006-05-03 10:36:44.000000000 -0700 6164 +++ vim70/src/main.c 2006-11- 02 10:13:18.000000000 -08006185 +++ vim70/src/main.c 2006-11-12 10:16:18.000000000 -0800 6165 6186 @@ -564,7 +564,11 @@ 6166 6187 */ … … 6223 6244 curbuf = curwin->w_buffer; 6224 6245 if (curbuf->b_ml.ml_mfp == NULL) 6225 @@ -2381,7 +2395,7 @@ 6226 check_swap_exists_action(); 6246 @@ -2378,10 +2392,26 @@ 6247 (void)open_buffer(FALSE, NULL); /* create memfile, read file */ 6248 6249 #if defined(HAS_SWAP_EXISTS_ACTION) 6250 - check_swap_exists_action(); 6251 + if (swap_exists_action == SEA_QUIT) 6252 + { 6253 + if (got_int || only_one_window()) 6254 + { 6255 + /* abort selected or quit and only one window */ 6256 + did_emsg = FALSE; /* avoid hit-enter prompt */ 6257 + getout(1); 6258 + } 6259 + /* We can't close the window, it would disturb what 6260 + * happens next. Clear the file name and set the arg 6261 + * index to -1 to delete it later. */ 6262 + setfname(curbuf, NULL, NULL, FALSE); 6263 + curwin->w_arg_idx = -1; 6264 + swap_exists_action = SEA_NONE; 6265 + } 6266 + else 6267 + handle_swap_exists(NULL); 6227 6268 #endif 6228 6269 #ifdef FEAT_AUTOCMD … … 6232 6273 } 6233 6274 #ifdef FEAT_WINDOWS 6234 @@ -3208,10 +3222,15 @@ 6275 @@ -2418,6 +2448,8 @@ 6276 { 6277 int arg_idx; /* index in argument list */ 6278 int i; 6279 + int advance = TRUE; 6280 + buf_T *old_curbuf; 6281 6282 # ifdef FEAT_AUTOCMD 6283 /* 6284 @@ -2426,31 +2458,65 @@ 6285 ++autocmd_no_enter; 6286 ++autocmd_no_leave; 6287 # endif 6288 + 6289 + /* When w_arg_idx is -1 remove the window (see create_windows()). */ 6290 + if (curwin->w_arg_idx == -1) 6291 + { 6292 + win_close(curwin, TRUE); 6293 + advance = FALSE; 6294 + } 6295 + 6296 arg_idx = 1; 6297 for (i = 1; i < parmp->window_count; ++i) 6298 { 6299 - if (parmp->window_layout == WIN_TABS) 6300 + /* When w_arg_idx is -1 remove the window (see create_windows()). */ 6301 + if (curwin->w_arg_idx == -1) 6302 { 6303 - if (curtab->tp_next == NULL) /* just checking */ 6304 - break; 6305 - goto_tabpage(0); 6306 + ++arg_idx; 6307 + win_close(curwin, TRUE); 6308 + advance = FALSE; 6309 + continue; 6310 } 6311 - else 6312 + 6313 + if (advance) 6314 { 6315 - if (curwin->w_next == NULL) /* just checking */ 6316 - break; 6317 - win_enter(curwin->w_next, FALSE); 6318 + if (parmp->window_layout == WIN_TABS) 6319 + { 6320 + if (curtab->tp_next == NULL) /* just checking */ 6321 + break; 6322 + goto_tabpage(0); 6323 + } 6324 + else 6325 + { 6326 + if (curwin->w_next == NULL) /* just checking */ 6327 + break; 6328 + win_enter(curwin->w_next, FALSE); 6329 + } 6330 } 6331 + advance = TRUE; 6332 6333 /* Only open the file if there is no file in this window yet (that can 6334 - * happen when .vimrc contains ":sall") */ 6335 + * happen when .vimrc contains ":sall"). */ 6336 if (curbuf == firstwin->w_buffer || curbuf->b_ffname == NULL) 6337 { 6338 curwin->w_arg_idx = arg_idx; 6339 - /* edit file from arg list, if there is one */ 6340 + /* Edit file from arg list, if there is one. When "Quit" selected 6341 + * at the ATTENTION prompt close the window. */ 6342 + old_curbuf = curbuf; 6343 (void)do_ecmd(0, arg_idx < GARGCOUNT 6344 ? alist_name(&GARGLIST[arg_idx]) : NULL, 6345 NULL, NULL, ECMD_LASTL, ECMD_HIDE); 6346 + if (curbuf == old_curbuf) 6347 + { 6348 + if (got_int || only_one_window()) 6349 + { 6350 + /* abort selected or quit and only one window */ 6351 + did_emsg = FALSE; /* avoid hit-enter prompt */ 6352 + getout(1); 6353 + } 6354 + win_close(curwin, TRUE); 6355 + advance = FALSE; 6356 + } 6357 if (arg_idx == GARGCOUNT - 1) 6358 arg_had_last = TRUE; 6359 ++arg_idx; 6360 @@ -3208,10 +3274,15 @@ 6235 6361 * Register for remote command execution with :serversend and --remote 6236 6362 * unless there was a -X or a --servername '' on the command line. … … 6251 6377 diff -Naur vim70.orig/src/Makefile vim70/src/Makefile 6252 6378 --- vim70.orig/src/Makefile 2006-05-07 06:25:27.000000000 -0700 6253 +++ vim70/src/Makefile 2006-11- 02 10:13:17.000000000 -08006379 +++ vim70/src/Makefile 2006-11-12 10:11:42.000000000 -0800 6254 6380 @@ -2177,6 +2177,7 @@ 6255 6381 cd $(SHADOWDIR)/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* . … … 6271 6397 diff -Naur vim70.orig/src/mbyte.c vim70/src/mbyte.c 6272 6398 --- vim70.orig/src/mbyte.c 2006-04-30 04:51:01.000000000 -0700 6273 +++ vim70/src/mbyte.c 2006-11- 02 10:13:14.000000000 -08006399 +++ vim70/src/mbyte.c 2006-11-12 10:11:13.000000000 -0800 6274 6400 @@ -311,7 +311,11 @@ 6275 6401 … … 6353 6479 diff -Naur vim70.orig/src/memfile.c vim70/src/memfile.c 6354 6480 --- vim70.orig/src/memfile.c 2006-03-06 00:59:15.000000000 -0800 6355 +++ vim70/src/memfile.c 2006-11- 02 10:13:23.000000000 -08006481 +++ vim70/src/memfile.c 2006-11-12 10:16:05.000000000 -0800 6356 6482 @@ -517,7 +517,7 @@ 6357 6483 mf_ins_free(mfp, hp); /* put *hp in the free list */ … … 6384 6510 # else /* assume Manx */ 6385 6511 Flush(_devtab[mfp->mf_fd].fd); 6512 @@ -1024,12 +1028,12 @@ 6513 size = page_size * hp->bh_page_count; 6514 if (lseek(mfp->mf_fd, offset, SEEK_SET) != offset) 6515 { 6516 - EMSG(_("E294: Seek error in swap file read")); 6517 + PERROR(_("E294: Seek error in swap file read")); 6518 return FAIL; 6519 } 6520 if ((unsigned)vim_read(mfp->mf_fd, hp->bh_data, size) != size) 6521 { 6522 - EMSG(_("E295: Read error in swap file")); 6523 + PERROR(_("E295: Read error in swap file")); 6524 return FAIL; 6525 } 6526 return OK; 6527 @@ -1081,7 +1085,7 @@ 6528 offset = (off_t)page_size * nr; 6529 if (lseek(mfp->mf_fd, offset, SEEK_SET) != offset) 6530 { 6531 - EMSG(_("E296: Seek error in swap file write")); 6532 + PERROR(_("E296: Seek error in swap file write")); 6533 return FAIL; 6534 } 6535 if (hp2 == NULL) /* freed block, fill with dummy data */ 6386 6536 diff -Naur vim70.orig/src/memline.c vim70/src/memline.c 6387 6537 --- vim70.orig/src/memline.c 2006-04-20 14:00:21.000000000 -0700 6388 +++ vim70/src/memline.c 2006-11- 02 10:13:25.000000000 -08006538 +++ vim70/src/memline.c 2006-11-12 10:14:26.000000000 -0800 6389 6539 @@ -215,7 +215,7 @@ 6390 6540 #define ML_FLUSH 0x02 /* flush locked block */ … … 6462 6612 diff -Naur vim70.orig/src/menu.c vim70/src/menu.c 6463 6613 --- vim70.orig/src/menu.c 2006-05-03 10:30:48.000000000 -0700 6464 +++ vim70/src/menu.c 2006-11- 02 10:13:10.000000000 -08006614 +++ vim70/src/menu.c 2006-11-12 10:10:44.000000000 -0800 6465 6615 @@ -511,6 +511,14 @@ 6466 6616 * name (without mnemonic and accelerator text). */ … … 6539 6689 diff -Naur vim70.orig/src/message.c vim70/src/message.c 6540 6690 --- vim70.orig/src/message.c 2006-05-06 13:07:37.000000000 -0700 6541 +++ vim70/src/message.c 2006-11- 02 10:13:25.000000000 -08006691 +++ vim70/src/message.c 2006-11-12 10:14:37.000000000 -0800 6542 6692 @@ -53,7 +53,6 @@ 6543 6693 static struct msg_hist *first_msg_hist = NULL; … … 6592 6742 diff -Naur vim70.orig/src/misc1.c vim70/src/misc1.c 6593 6743 --- vim70.orig/src/misc1.c 2006-04-30 08:30:02.000000000 -0700 6594 +++ vim70/src/misc1.c 2006-11- 02 10:13:29.000000000 -08006744 +++ vim70/src/misc1.c 2006-11-12 10:15:32.000000000 -0800 6595 6745 @@ -1761,15 +1761,13 @@ 6596 6746 * Add column offset for 'number', 'foldcolumn', etc. … … 6707 6857 diff -Naur vim70.orig/src/misc2.c vim70/src/misc2.c 6708 6858 --- vim70.orig/src/misc2.c 2006-05-04 05:12:38.000000000 -0700 6709 +++ vim70/src/misc2.c 2006-11- 02 10:13:23.000000000 -08006859 +++ vim70/src/misc2.c 2006-11-12 10:13:32.000000000 -0800 6710 6860 @@ -1229,6 +1229,94 @@ 6711 6861 return escaped_string; … … 6805 6955 diff -Naur vim70.orig/src/netbeans.c vim70/src/netbeans.c 6806 6956 --- vim70.orig/src/netbeans.c 2006-04-22 11:00:05.000000000 -0700 6807 +++ vim70/src/netbeans.c 2006-11- 02 10:13:14.000000000 -08006957 +++ vim70/src/netbeans.c 2006-11-12 10:11:13.000000000 -0800 6808 6958 @@ -103,7 +103,7 @@ 6809 6959 static int inputHandler = -1; /* simply ret.value of WSAAsyncSelect() */ … … 6975 7125 diff -Naur vim70.orig/src/normal.c vim70/src/normal.c 6976 7126 --- vim70.orig/src/normal.c 2006-04-29 06:11:18.000000000 -0700 6977 +++ vim70/src/normal.c 2006-11- 02 10:13:28.000000000 -08007127 +++ vim70/src/normal.c 2006-11-12 10:16:09.000000000 -0800 6978 7128 @@ -1477,14 +1477,17 @@ 6979 7129 } … … 7051 7201 setpcmark(); /* Set in findpar() otherwise */ 7052 7202 curwin->w_cursor.lnum = 1; 7203 @@ -8847,7 +8860,7 @@ 7204 #endif 7205 while (cap->count1-- && !got_int) 7206 { 7207 - if (do_execreg(cap->nchar, FALSE, FALSE) == FAIL) 7208 + if (do_execreg(cap->nchar, FALSE, FALSE, FALSE) == FAIL) 7209 { 7210 clearopbeep(cap->oap); 7211 break; 7053 7212 diff -Naur vim70.orig/src/ops.c vim70/src/ops.c 7054 7213 --- vim70.orig/src/ops.c 2006-04-30 08:13:44.000000000 -0700 7055 +++ vim70/src/ops.c 2006-11-02 10:13:28.000000000 -0800 7214 +++ vim70/src/ops.c 2006-11-12 10:16:09.000000000 -0800 7215 @@ -95,8 +95,8 @@ 7216 static void block_insert __ARGS((oparg_T *oap, char_u *s, int b_insert, struct block_def*bdp)); 7217 #endif 7218 static int stuff_yank __ARGS((int, char_u *)); 7219 -static void put_reedit_in_typebuf __ARGS((void)); 7220 -static int put_in_typebuf __ARGS((char_u *s, int colon)); 7221 +static void put_reedit_in_typebuf __ARGS((int silent)); 7222 +static int put_in_typebuf __ARGS((char_u *s, int colon, int silent)); 7223 static void stuffescaped __ARGS((char_u *arg, int literally)); 7224 #ifdef FEAT_MBYTE 7225 static void mb_adjust_opend __ARGS((oparg_T *oap)); 7056 7226 @@ -770,6 +770,7 @@ 7057 7227 { … … 7077 7247 return rv; 7078 7248 } 7079 @@ -1472,9 +1480,10 @@ 7249 @@ -1112,10 +1120,11 @@ 7250 * return FAIL for failure, OK otherwise 7251 */ 7252 int 7253 -do_execreg(regname, colon, addcr) 7254 +do_execreg(regname, colon, addcr, silent) 7255 int regname; 7256 int colon; /* insert ':' before each line */ 7257 int addcr; /* always add '\n' to end of line */ 7258 + int silent; /* set "silent" flag in typeahead buffer */ 7259 { 7260 static int lastc = NUL; 7261 long i; 7262 @@ -1165,9 +1174,9 @@ 7263 /* When in Visual mode "'<,'>" will be prepended to the command. 7264 * Remove it when it's already there. */ 7265 if (VIsual_active && STRNCMP(p, "'<,'>", 5) == 0) 7266 - retval = put_in_typebuf(p + 5, TRUE); 7267 + retval = put_in_typebuf(p + 5, TRUE, silent); 7268 else 7269 - retval = put_in_typebuf(p, TRUE); 7270 + retval = put_in_typebuf(p, TRUE, silent); 7271 } 7272 vim_free(p); 7273 } 7274 @@ -1178,7 +1187,7 @@ 7275 p = get_expr_line(); 7276 if (p == NULL) 7277 return FAIL; 7278 - retval = put_in_typebuf(p, colon); 7279 + retval = put_in_typebuf(p, colon, silent); 7280 vim_free(p); 7281 } 7282 #endif 7283 @@ -1190,7 +1199,7 @@ 7284 EMSG(_(e_noinstext)); 7285 return FAIL; 7286 } 7287 - retval = put_in_typebuf(p, colon); 7288 + retval = put_in_typebuf(p, colon, silent); 7289 vim_free(p); 7290 } 7291 else 7292 @@ -1205,20 +1214,20 @@ 7293 /* 7294 * Insert lines into typeahead buffer, from last one to first one. 7295 */ 7296 - put_reedit_in_typebuf(); 7297 + put_reedit_in_typebuf(silent); 7298 for (i = y_current->y_size; --i >= 0; ) 7299 { 7300 /* insert NL between lines and after last line if type is MLINE */ 7301 if (y_current->y_type == MLINE || i < y_current->y_size - 1 7302 || addcr) 7303 { 7304 - if (ins_typebuf((char_u *)"\n", remap, 0, TRUE, FALSE) == FAIL) 7305 + if (ins_typebuf((char_u *)"\n", remap, 0, TRUE, silent) == FAIL) 7306 return FAIL; 7307 } 7308 - if (ins_typebuf(y_current->y_array[i], remap, 0, TRUE, FALSE) 7309 + if (ins_typebuf(y_current->y_array[i], remap, 0, TRUE, silent) 7310 == FAIL) 7311 return FAIL; 7312 - if (colon && ins_typebuf((char_u *)":", remap, 0, TRUE, FALSE) 7313 + if (colon && ins_typebuf((char_u *)":", remap, 0, TRUE, silent) 7314 == FAIL) 7315 return FAIL; 7316 } 7317 @@ -1232,7 +1241,8 @@ 7318 * used only after other typeahead has been processed. 7319 */ 7320 static void 7321 -put_reedit_in_typebuf() 7322 +put_reedit_in_typebuf(silent) 7323 + int silent; 7324 { 7325 char_u buf[3]; 7326 7327 @@ -1249,25 +1259,26 @@ 7328 buf[0] = restart_edit == 'I' ? 'i' : restart_edit; 7329 buf[1] = NUL; 7330 } 7331 - if (ins_typebuf(buf, REMAP_NONE, 0, TRUE, FALSE) == OK) 7332 + if (ins_typebuf(buf, REMAP_NONE, 0, TRUE, silent) == OK) 7333 restart_edit = NUL; 7334 } 7335 } 7336 7337 static int 7338 -put_in_typebuf(s, colon) 7339 +put_in_typebuf(s, colon, silent) 7340 char_u *s; 7341 int colon; /* add ':' before the line */ 7342 + int silent; 7343 { 7344 int retval = OK; 7345 7346 - put_reedit_in_typebuf(); 7347 + put_reedit_in_typebuf(silent); 7348 if (colon) 7349 - retval = ins_typebuf((char_u *)"\n", REMAP_YES, 0, TRUE, FALSE); 7350 + retval = ins_typebuf((char_u *)"\n", REMAP_YES, 0, TRUE, silent); 7351 if (retval == OK) 7352 - retval = ins_typebuf(s, REMAP_YES, 0, TRUE, FALSE); 7353 + retval = ins_typebuf(s, REMAP_YES, 0, TRUE, silent); 7354 if (colon && retval == OK) 7355 - retval = ins_typebuf((char_u *)":", REMAP_YES, 0, TRUE, FALSE); 7356 + retval = ins_typebuf((char_u *)":", REMAP_YES, 0, TRUE, silent); 7357 return retval; 7358 } 7359 7360 @@ -1472,9 +1483,10 @@ 7080 7361 * return FAIL for failure, OK otherwise 7081 7362 */ … … 7089 7370 long i; 7090 7371 7091 @@ -1486,8 +149 5,13 @@7372 @@ -1486,8 +1498,13 @@ 7092 7373 { 7093 7374 cmdline_paste_str(y_current->y_array[i], literally); … … 7105 7386 7106 7387 /* Check for CTRL-C, in case someone tries to paste a few thousand 7107 @@ -2413,6 +24 27,7 @@7388 @@ -2413,6 +2430,7 @@ 7108 7389 else 7109 7390 { … … 7113 7394 /* Works just like an 'i'nsert on the next character. */ 7114 7395 if (!lineempty(curwin->w_cursor.lnum) 7115 @@ -3492,8 +35 07,15 @@7396 @@ -3492,8 +3510,15 @@ 7116 7397 # endif 7117 7398 if (flags & PUT_CURSEND) … … 7131 7412 diff -Naur vim70.orig/src/option.c vim70/src/option.c 7132 7413 --- vim70.orig/src/option.c 2006-05-03 10:32:28.000000000 -0700 7133 +++ vim70/src/option.c 2006-11- 02 10:13:28.000000000 -08007414 +++ vim70/src/option.c 2006-11-12 10:15:09.000000000 -0800 7134 7415 @@ -2294,7 +2294,7 @@ 7135 7416 {(char_u *)0L, (char_u *)0L} … … 7247 7528 diff -Naur vim70.orig/src/os_unix.c vim70/src/os_unix.c 7248 7529 --- vim70.orig/src/os_unix.c 2006-05-01 01:13:15.000000000 -0700 7249 +++ vim70/src/os_unix.c 2006-11- 02 10:13:14.000000000 -08007530 +++ vim70/src/os_unix.c 2006-11-12 10:11:13.000000000 -0800 7250 7531 @@ -3934,7 +3934,7 @@ 7251 7532 { … … 7306 7587 diff -Naur vim70.orig/src/popupmnu.c vim70/src/popupmnu.c 7307 7588 --- vim70.orig/src/popupmnu.c 2006-04-20 13:18:37.000000000 -0700 7308 +++ vim70/src/popupmnu.c 2006-11- 02 10:13:12.000000000 -08007589 +++ vim70/src/popupmnu.c 2006-11-12 10:10:56.000000000 -0800 7309 7590 @@ -552,6 +552,9 @@ 7310 7591 { … … 7319 7600 diff -Naur vim70.orig/src/proto/buffer.pro vim70/src/proto/buffer.pro 7320 7601 --- vim70.orig/src/proto/buffer.pro 2006-05-07 06:08:29.000000000 -0700 7321 +++ vim70/src/proto/buffer.pro 2006-11- 02 10:13:18.000000000 -08007602 +++ vim70/src/proto/buffer.pro 2006-11-12 10:12:08.000000000 -0800 7322 7603 @@ -10,6 +10,7 @@ 7323 7604 extern int do_buffer __ARGS((int action, int start, int dir, int count, int forceit)); … … 7330 7611 diff -Naur vim70.orig/src/proto/eval.pro vim70/src/proto/eval.pro 7331 7612 --- vim70.orig/src/proto/eval.pro 2006-05-07 06:08:33.000000000 -0700 7332 +++ vim70/src/proto/eval.pro 2006-11- 02 10:13:27.000000000 -08007613 +++ vim70/src/proto/eval.pro 2006-11-12 10:14:44.000000000 -0800 7333 7614 @@ -44,7 +44,7 @@ 7334 7615 extern char_u *get_user_var_name __ARGS((expand_T *xp, int idx)); … … 7342 7623 diff -Naur vim70.orig/src/proto/menu.pro vim70/src/proto/menu.pro 7343 7624 --- vim70.orig/src/proto/menu.pro 2006-05-07 06:08:51.000000000 -0700 7344 +++ vim70/src/proto/menu.pro 2006-11- 02 10:13:10.000000000 -08007625 +++ vim70/src/proto/menu.pro 2006-11-12 10:10:44.000000000 -0800 7345 7626 @@ -10,6 +10,7 @@ 7346 7627 extern int menu_is_child_of_popup __ARGS((vimmenu_T *menu)); … … 7353 7634 diff -Naur vim70.orig/src/proto/misc2.pro vim70/src/proto/misc2.pro 7354 7635 --- vim70.orig/src/proto/misc2.pro 2006-05-07 06:08:54.000000000 -0700 7355 +++ vim70/src/proto/misc2.pro 2006-11- 02 10:13:23.000000000 -08007636 +++ vim70/src/proto/misc2.pro 2006-11-12 10:13:32.000000000 -0800 7356 7637 @@ -29,6 +29,7 @@ 7357 7638 extern char_u *vim_strnsave __ARGS((char_u *string, int len)); … … 7364 7645 diff -Naur vim70.orig/src/proto/ops.pro vim70/src/proto/ops.pro 7365 7646 --- vim70.orig/src/proto/ops.pro 2006-05-07 06:08:58.000000000 -0700 7366 +++ vim70/src/proto/ops.pro 2006-11-02 10:13:28.000000000 -0800 7367 @@ -20,7 +20,7 @@ 7368 extern int do_execreg __ARGS((int regname, int colon, int addcr)); 7647 +++ vim70/src/proto/ops.pro 2006-11-12 10:16:09.000000000 -0800 7648 @@ -17,10 +17,10 @@ 7649 extern void put_register __ARGS((int name, void *reg)); 7650 extern int yank_register_mline __ARGS((int regname)); 7651 extern int do_record __ARGS((int c)); 7652 -extern int do_execreg __ARGS((int regname, int colon, int addcr)); 7653 +extern int do_execreg __ARGS((int regname, int colon, int addcr, int silent)); 7369 7654 extern int insert_reg __ARGS((int regname, int literally)); 7370 7655 extern int get_spec_reg __ARGS((int regname, char_u **argp, int *allocated, int errmsg)); … … 7376 7661 diff -Naur vim70.orig/src/proto/undo.pro vim70/src/proto/undo.pro 7377 7662 --- vim70.orig/src/proto/undo.pro 2006-05-07 06:09:11.000000000 -0700 7378 +++ vim70/src/proto/undo.pro 2006-11- 02 10:13:05.000000000 -08007663 +++ vim70/src/proto/undo.pro 2006-11-12 10:09:26.000000000 -0800 7379 7664 @@ -4,6 +4,7 @@ 7380 7665 extern int u_savesub __ARGS((linenr_T lnum)); … … 7387 7672 diff -Naur vim70.orig/src/quickfix.c vim70/src/quickfix.c 7388 7673 --- vim70.orig/src/quickfix.c 2006-05-03 00:47:42.000000000 -0700 7389 +++ vim70/src/quickfix.c 2006-11- 02 10:13:29.000000000 -08007674 +++ vim70/src/quickfix.c 2006-11-12 10:15:21.000000000 -0800 7390 7675 @@ -500,8 +500,6 @@ 7391 7676 { … … 7642 7927 diff -Naur vim70.orig/src/regexp.c vim70/src/regexp.c 7643 7928 --- vim70.orig/src/regexp.c 2006-04-30 08:31:50.000000000 -0700 7644 +++ vim70/src/regexp.c 2006-11- 02 10:13:28.000000000 -08007929 +++ vim70/src/regexp.c 2006-11-12 10:15:13.000000000 -0800 7645 7930 @@ -3777,8 +3777,8 @@ 7646 7931 … … 7779 8064 diff -Naur vim70.orig/src/screen.c vim70/src/screen.c 7780 8065 --- vim70.orig/src/screen.c 2006-05-05 03:13:55.000000000 -0700 7781 +++ vim70/src/screen.c 2006-11- 02 10:13:24.000000000 -08008066 +++ vim70/src/screen.c 2006-11-12 10:14:09.000000000 -0800 7782 8067 @@ -1228,7 +1228,14 @@ 7783 8068 { … … 7955 8240 diff -Naur vim70.orig/src/search.c vim70/src/search.c 7956 8241 --- vim70.orig/src/search.c 2006-05-05 05:12:13.000000000 -0700 7957 +++ vim70/src/search.c 2006-11- 02 10:13:25.000000000 -08008242 +++ vim70/src/search.c 2006-11-12 10:14:37.000000000 -0800 7958 8243 @@ -1259,7 +1259,7 @@ 7959 8244 /* … … 8012 8297 diff -Naur vim70.orig/src/spell.c vim70/src/spell.c 8013 8298 --- vim70.orig/src/spell.c 2006-05-05 00:49:58.000000000 -0700 8014 +++ vim70/src/spell.c 2006-11- 02 10:13:22.000000000 -08008299 +++ vim70/src/spell.c 2006-11-12 10:13:10.000000000 -0800 8015 8300 @@ -1483,7 +1483,7 @@ 8016 8301 else if ((mode == FIND_COMPOUND || mode == FIND_KEEPCOMPOUND … … 8343 8628 diff -Naur vim70.orig/src/structs.h vim70/src/structs.h 8344 8629 --- vim70.orig/src/structs.h 2006-04-09 10:57:46.000000000 -0700 8345 +++ vim70/src/structs.h 2006-11- 02 10:13:10.000000000 -08008630 +++ vim70/src/structs.h 2006-11-12 10:10:38.000000000 -0800 8346 8631 @@ -2213,18 +2213,20 @@ 8347 8632 … … 8369 8654 diff -Naur vim70.orig/src/syntax.c vim70/src/syntax.c 8370 8655 --- vim70.orig/src/syntax.c 2006-04-26 05:49:45.000000000 -0700 8371 +++ vim70/src/syntax.c 2006-11- 02 10:13:33.000000000 -08008656 +++ vim70/src/syntax.c 2006-11-12 10:15:50.000000000 -0800 8372 8657 @@ -977,6 +977,7 @@ 8373 8658 { … … 8473 8758 diff -Naur vim70.orig/src/tag.c vim70/src/tag.c 8474 8759 --- vim70.orig/src/tag.c 2006-04-27 06:11:21.000000000 -0700 8475 +++ vim70/src/tag.c 2006-11- 02 10:13:27.000000000 -08008760 +++ vim70/src/tag.c 2006-11-12 10:14:44.000000000 -0800 8476 8761 @@ -911,7 +911,7 @@ 8477 8762 … … 8515 8800 diff -Naur vim70.orig/src/term.c vim70/src/term.c 8516 8801 --- vim70.orig/src/term.c 2006-05-03 10:34:57.000000000 -0700 8517 +++ vim70/src/term.c 2006-11- 02 10:13:29.000000000 -08008802 +++ vim70/src/term.c 2006-11-12 10:15:36.000000000 -0800 8518 8803 @@ -3137,25 +3137,32 @@ 8519 8804 screenalloc(FALSE); … … 8579 8864 diff -Naur vim70.orig/src/testdir/test56.in vim70/src/testdir/test56.in 8580 8865 --- vim70.orig/src/testdir/test56.in 2005-05-18 08:37:37.000000000 -0700 8581 +++ vim70/src/testdir/test56.in 2006-11- 02 10:13:18.000000000 -08008866 +++ vim70/src/testdir/test56.in 2006-11-12 10:12:01.000000000 -0800 8582 8867 @@ -3,7 +3,7 @@ 8583 8868 STARTTEST … … 8591 8876 diff -Naur vim70.orig/src/ui.c vim70/src/ui.c 8592 8877 --- vim70.orig/src/ui.c 2006-03-27 11:15:09.000000000 -0800 8593 +++ vim70/src/ui.c 2006-11- 02 10:13:14.000000000 -08008878 +++ vim70/src/ui.c 2006-11-12 10:11:13.000000000 -0800 8594 8879 @@ -1137,7 +1137,6 @@ 8595 8880 int len; … … 8611 8896 diff -Naur vim70.orig/src/undo.c vim70/src/undo.c 8612 8897 --- vim70.orig/src/undo.c 2006-04-21 02:30:59.000000000 -0700 8613 +++ vim70/src/undo.c 2006-11- 02 10:13:14.000000000 -08008898 +++ vim70/src/undo.c 2006-11-12 10:11:13.000000000 -0800 8614 8899 @@ -84,7 +84,6 @@ 8615 8900 static void u_unch_branch __ARGS((u_header_T *uhp)); … … 8676 8961 diff -Naur vim70.orig/src/version.c vim70/src/version.c 8677 8962 --- vim70.orig/src/version.c 2006-05-03 00:50:42.000000000 -0700 8678 +++ vim70/src/version.c 2006-11- 02 10:13:49.000000000 -08008679 @@ -667,6 +667, 294@@8963 +++ vim70/src/version.c 2006-11-12 10:16:18.000000000 -0800 8964 @@ -667,6 +667,300 @@ 8680 8965 static int included_patches[] = 8681 8966 { /* Add new patch number below this line */ 8682 8967 /**/ 8968 + 162, 8969 +/**/ 8970 + 160, 8971 +/**/ 8972 + 159, 8973 +/**/ 8683 8974 + 158, 8684 8975 +/**/ … … 8972 9263 }; 8973 9264 8974 @@ -731,7 +10 19,11 @@9265 @@ -731,7 +1025,11 @@ 8975 9266 /* Only MS VC 4.1 and earlier can do Win32s */ 8976 9267 MSG_PUTS(_("\nMS-Windows 16/32 bit GUI version")); … … 8986 9277 diff -Naur vim70.orig/src/vim.h vim70/src/vim.h 8987 9278 --- vim70.orig/src/vim.h 2006-04-30 08:32:38.000000000 -0700 8988 +++ vim70/src/vim.h 2006-11- 02 10:13:37.000000000 -08009279 +++ vim70/src/vim.h 2006-11-12 10:15:55.000000000 -0800 8989 9280 @@ -585,7 +585,6 @@ 8990 9281 #define INSERT 0x10 /* Insert mode */ … … 9027 9318 diff -Naur vim70.orig/src/window.c vim70/src/window.c 9028 9319 --- vim70.orig/src/window.c 2006-05-06 03:54:51.000000000 -0700 9029 +++ vim70/src/window.c 2006-11- 02 10:13:29.000000000 -08009320 +++ vim70/src/window.c 2006-11-12 10:15:32.000000000 -0800 9030 9321 @@ -340,10 +340,10 @@ 9031 9322 { … … 9151 9442 hasFoldingWin(wp, lnum, &lnum, NULL, TRUE, NULL); 9152 9443 if (lnum == 1) 9444
Note:
See TracChangeset
for help on using the changeset viewer.