source: patches/vim-7.0-fixes-3.patch@ 88684c8

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 88684c8 was fefaf43, checked in by Jim Gifford <clfs@…>, 19 years ago

Added: vim-7.0-fixes-3.patch

  • Property mode set to 100644
File size: 17.8 KB
RevLine 
[fefaf43]1Submitted By: Jeremy Huntwork (jhuntwork at linuxfromscratch dot org)
2Date: 2006-05-25
[34f53b7]3Initial Package Version: 7.0
4Origin: Upstream
5Upstream Status: Applied
[fefaf43]6Description: Contains Patch 001-004 and 006-017 from Upstream
[34f53b7]7 005 is for the extras and Windows 32 only
8
[fefaf43]9diff -Naur vim70-orig/runtime/autoload/ccomplete.vim vim70/runtime/autoload/ccomplete.vim
10--- vim70-orig/runtime/autoload/ccomplete.vim 2006-05-03 10:35:56.000000000 -0400
11+++ vim70/runtime/autoload/ccomplete.vim 2006-05-25 09:13:10.000000000 -0400
[34f53b7]12@@ -1,7 +1,7 @@
13 " Vim completion script
14 " Language: C
15 " Maintainer: Bram Moolenaar <Bram@vim.org>
16-" Last Change: 2006 May 03
17+" Last Change: 2006 May 08
18
19
20 " This function is used for the 'omnifunc' option.
21@@ -458,7 +458,7 @@
22 " member.
23 function! s:StructMembers(typename, items, all)
24 " Todo: What about local structures?
25- let fnames = join(map(tagfiles(), 'escape(v:val, " \\")'))
26+ let fnames = join(map(tagfiles(), 'escape(v:val, " \\#%")'))
27 if fnames == ''
28 return []
29 endif
[fefaf43]30diff -Naur vim70-orig/runtime/autoload/spellfile.vim vim70/runtime/autoload/spellfile.vim
31--- vim70-orig/runtime/autoload/spellfile.vim 2006-02-01 07:12:24.000000000 -0500
32+++ vim70/runtime/autoload/spellfile.vim 2006-05-25 09:13:12.000000000 -0400
[34f53b7]33@@ -1,9 +1,9 @@
34 " Vim script to download a missing spell file
35 " Maintainer: Bram Moolenaar <Bram@vim.org>
36-" Last Change: 2006 Feb 01
37+" Last Change: 2006 May 10
38
39 if !exists('g:spellfile_URL')
40- let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/unstable/runtime/spell'
41+ let g:spellfile_URL = 'ftp://ftp.vim.org/pub/vim/runtime/spell'
42 endif
43 let s:spellfile_URL = '' " Start with nothing so that s:donedict is reset.
44
45@@ -61,13 +61,13 @@
46 new
47 setlocal bin
48 echo 'Downloading ' . fname . '...'
49- exe 'Nread ' g:spellfile_URL . '/' . fname
50+ call spellfile#Nread(fname)
51 if getline(2) !~ 'VIMspell'
52 " Didn't work, perhaps there is an ASCII one.
53 g/^/d
54 let fname = a:lang . '.ascii.spl'
55 echo 'Could not find it, trying ' . fname . '...'
56- exe 'Nread ' g:spellfile_URL . '/' . fname
57+ call spellfile#Nread(fname)
58 if getline(2) !~ 'VIMspell'
59 echo 'Sorry, downloading failed'
60 bwipe!
61@@ -95,7 +95,7 @@
62 g/^/d
63 let fname = substitute(fname, '\.spl$', '.sug', '')
64 echo 'Downloading ' . fname . '...'
65- exe 'Nread ' g:spellfile_URL . '/' . fname
66+ call spellfile#Nread(fname)
67 if getline(2) !~ 'VIMsug'
68 echo 'Sorry, downloading failed'
69 else
70@@ -109,3 +109,10 @@
71 bwipe
72 endif
73 endfunc
74+
75+" Read "fname" from the ftp server.
76+function! spellfile#Nread(fname)
77+ let machine = substitute(g:spellfile_URL, 'ftp://\([^/]*\).*', '\1', '')
78+ let dir = substitute(g:spellfile_URL, 'ftp://[^/]*/\(.*\)', '\1', '')
79+ exe 'Nread "' . machine . ' anonymous vim7user ' . dir . '/' . a:fname . '"'
80+endfunc
[fefaf43]81diff -Naur vim70-orig/runtime/plugin/matchparen.vim vim70/runtime/plugin/matchparen.vim
82--- vim70-orig/runtime/plugin/matchparen.vim 2006-04-27 09:31:26.000000000 -0400
83+++ vim70/runtime/plugin/matchparen.vim 2006-05-25 09:13:12.000000000 -0400
[34f53b7]84@@ -1,6 +1,6 @@
85 " Vim plugin for showing matching parens
86 " Maintainer: Bram Moolenaar <Bram@vim.org>
87-" Last Change: 2006 Apr 27
88+" Last Change: 2006 May 11
89
90 " Exit quickly when:
91 " - this plugin was already loaded (or disabled)
92@@ -90,7 +90,7 @@
93 " Find the match. When it was just before the cursor move it there for a
94 " moment.
95 if before > 0
96- let save_cursor = getpos('.')
97+ let save_cursor = winsaveview()
98 call cursor(c_lnum, c_col - before)
99 endif
100
101@@ -102,7 +102,7 @@
102 let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip, stopline)
103
104 if before > 0
105- call setpos('.', save_cursor)
106+ call winrestview(save_cursor)
107 endif
108
109 " If a match is found setup match highlighting.
[fefaf43]110diff -Naur vim70-orig/src/edit.c vim70/src/edit.c
111--- vim70-orig/src/edit.c 2006-05-07 07:48:51.000000000 -0400
112+++ vim70/src/edit.c 2006-05-25 09:13:12.000000000 -0400
[34f53b7]113@@ -751,7 +751,7 @@
114 continue;
115 }
116
117- /* Pressing CTRL-Y selects the current match. Shen
118+ /* Pressing CTRL-Y selects the current match. When
119 * compl_enter_selects is set the Enter key does the same. */
120 if (c == Ctrl_Y || (compl_enter_selects
121 && (c == CAR || c == K_KENTER || c == NL)))
122@@ -3046,7 +3046,6 @@
123 ins_compl_delete();
124 ins_bytes(compl_leader + curwin->w_cursor.col - compl_col);
125 compl_used_match = FALSE;
126- compl_enter_selects = FALSE;
127
128 if (compl_started)
129 ins_compl_set_original_text(compl_leader);
130@@ -3076,6 +3075,7 @@
131 compl_restarting = FALSE;
132 }
133
134+#if 0 /* disabled, made CTRL-L, BS and typing char jump to original text. */
135 if (!compl_used_match)
136 {
137 /* Go to the original text, since none of the matches is inserted. */
138@@ -3087,6 +3087,8 @@
139 compl_curr_match = compl_shown_match;
140 compl_shows_dir = compl_direction;
141 }
142+#endif
143+ compl_enter_selects = !compl_used_match;
144
145 /* Show the popup menu with a different set of matches. */
146 ins_compl_show_pum();
147@@ -3175,10 +3177,32 @@
148 char_u *p;
149 int len = curwin->w_cursor.col - compl_col;
150 int c;
151+ compl_T *cp;
152
153 p = compl_shown_match->cp_str;
154 if ((int)STRLEN(p) <= len) /* the match is too short */
155- return;
156+ {
157+ /* When still at the original match use the first entry that matches
158+ * the leader. */
159+ if (compl_shown_match->cp_flags & ORIGINAL_TEXT)
160+ {
161+ p = NULL;
162+ for (cp = compl_shown_match->cp_next; cp != NULL
163+ && cp != compl_first_match; cp = cp->cp_next)
164+ {
165+ if (ins_compl_equal(cp, compl_leader,
166+ (int)STRLEN(compl_leader)))
167+ {
168+ p = cp->cp_str;
169+ break;
170+ }
171+ }
172+ if (p == NULL || (int)STRLEN(p) <= len)
173+ return;
174+ }
175+ else
176+ return;
177+ }
178 p += len;
179 #ifdef FEAT_MBYTE
180 c = mb_ptr2char(p);
181@@ -4100,6 +4124,21 @@
182 && compl_shown_match->cp_next != NULL
183 && compl_shown_match->cp_next != compl_first_match)
184 compl_shown_match = compl_shown_match->cp_next;
185+
186+ /* If we didn't find it searching forward, and compl_shows_dir is
187+ * backward, find the last match. */
188+ if (compl_shows_dir == BACKWARD
189+ && !ins_compl_equal(compl_shown_match,
190+ compl_leader, (int)STRLEN(compl_leader))
191+ && (compl_shown_match->cp_next == NULL
192+ || compl_shown_match->cp_next == compl_first_match))
193+ {
194+ while (!ins_compl_equal(compl_shown_match,
195+ compl_leader, (int)STRLEN(compl_leader))
196+ && compl_shown_match->cp_prev != NULL
197+ && compl_shown_match->cp_prev != compl_first_match)
198+ compl_shown_match = compl_shown_match->cp_prev;
199+ }
200 }
201
202 if (allow_get_expansion && insert_match
[fefaf43]203diff -Naur vim70-orig/src/eval.c vim70/src/eval.c
204--- vim70-orig/src/eval.c 2006-05-05 13:15:26.000000000 -0400
205+++ vim70/src/eval.c 2006-05-25 09:13:11.000000000 -0400
[34f53b7]206@@ -11372,7 +11372,7 @@
207 if (argvars[2].v_type != VAR_UNKNOWN)
208 {
209 char_u *xp_name;
210- int xp_namelen;
211+ int xp_namelen;
212 long argt;
213
214 rettv->vval.v_string = NULL;
215@@ -18963,7 +18963,8 @@
216 else if (lead > 0)
217 {
218 lead = 3;
219- if (eval_fname_sid(lv.ll_exp_name != NULL ? lv.ll_exp_name : *pp))
220+ if ((lv.ll_exp_name != NULL && eval_fname_sid(lv.ll_exp_name))
221+ || eval_fname_sid(*pp))
222 {
223 /* It's "s:" or "<SID>" */
224 if (current_SID <= 0)
[fefaf43]225diff -Naur vim70-orig/src/ex_docmd.c vim70/src/ex_docmd.c
226--- vim70-orig/src/ex_docmd.c 2006-05-05 12:33:19.000000000 -0400
227+++ vim70/src/ex_docmd.c 2006-05-25 09:13:10.000000000 -0400
[34f53b7]228@@ -833,7 +833,7 @@
229 * If requested, store and reset the global values controlling the
230 * exception handling (used when debugging).
231 */
232- else if (flags & DOCMD_EXCRESET)
233+ if (flags & DOCMD_EXCRESET)
234 save_dbg_stuff(&debug_saved);
235
236 initial_trylevel = trylevel;
[fefaf43]237diff -Naur vim70-orig/src/gui_at_fs.c vim70/src/gui_at_fs.c
238--- vim70-orig/src/gui_at_fs.c 2005-07-09 07:30:17.000000000 -0400
239+++ vim70/src/gui_at_fs.c 2006-05-25 09:13:13.000000000 -0400
[34f53b7]240@@ -1861,27 +1861,27 @@
241 XtPointer pnew;
242 {
243 SFDir *dir;
244- int nw;
245+ int nw = (int)(long)pnew;
246
247 dir = &(SFdirs[SFdirPtr + (int)(long)n]);
248
249 #ifdef FEAT_GUI_NEXTAW
250- if ((int)(long)pnew < 0)
251+ if (nw < 0)
252 {
253- if ((int)(long)pnew > -SFvScrollHeight)
254- (int)(long)pnew = -1;
255+ if (nw > -SFvScrollHeight)
256+ nw = -1;
257 else
258- (int)(long)pnew = -SFlistSize;
259+ nw = -SFlistSize;
260 }
261- else if ((int)(long)pnew > 0)
262+ else if (nw > 0)
263 {
264- if ((int)(long)pnew < SFvScrollHeight)
265- (int)(long)pnew = 1;
266+ if (nw < SFvScrollHeight)
267+ nw = 1;
268 else
269- (int)(long)pnew = SFlistSize;
270+ nw = SFlistSize;
271 }
272 #endif
273- nw = dir->vOrigin + (int)(long)pnew;
274+ nw += dir->vOrigin;
275
276 if (nw > dir->nEntries - SFlistSize)
277 nw = dir->nEntries - SFlistSize;
278@@ -1941,27 +1941,27 @@
279 XtPointer pnew;
280 {
281 SFDir *dir;
282- int nw;
283+ int nw = (int)(long)pnew;
284
285 dir = &(SFdirs[SFdirPtr + (int)(long)n]);
286
287 #ifdef FEAT_GUI_NEXTAW
288- if ((int)(long)pnew < 0)
289+ if (nw < 0)
290 {
291- if ((int)(long)pnew > -SFhScrollWidth)
292- (int)(long)pnew = -1;
293+ if (nw > -SFhScrollWidth)
294+ nw = -1;
295 else
296- (int)(long)pnew = -SFcharsPerEntry;
297+ nw = -SFcharsPerEntry;
298 }
299- else if ((int)(long)pnew > 0)
300+ else if (nw > 0)
301 {
302- if ((int)(long)pnew < SFhScrollWidth)
303- (int)(long)pnew = 1;
304+ if (nw < SFhScrollWidth)
305+ nw = 1;
306 else
307- (int)(long)pnew = SFcharsPerEntry;
308+ nw = SFcharsPerEntry;
309 }
310 #endif
311- nw = dir->hOrigin + (int)(long)pnew;
312+ nw += dir->hOrigin;
313
314 if (nw > dir->nChars - SFcharsPerEntry)
315 nw = dir->nChars - SFcharsPerEntry;
316@@ -2038,26 +2038,26 @@
317 XtPointer client_data;
318 XtPointer pnew;
319 {
320- int nw;
321+ int nw = (int)(long)pnew;
322 float f;
323
324 #ifdef FEAT_GUI_NEXTAW
325- if ((int)(long)pnew < 0)
326+ if (nw < 0)
327 {
328- if ((int)(long)pnew > -SFpathScrollWidth)
329- (int)(long)pnew = -1;
330+ if (nw > -SFpathScrollWidth)
331+ nw = -1;
332 else
333- (int)(long)pnew = -3;
334+ nw = -3;
335 }
336- else if ((int)(long)pnew > 0)
337+ else if (nw > 0)
338 {
339- if ((int)(long)pnew < SFpathScrollWidth)
340- (int)(long)pnew = 1;
341+ if (nw < SFpathScrollWidth)
342+ nw = 1;
343 else
344- (int)(long)pnew = 3;
345+ nw = 3;
346 }
347 #endif
348- nw = SFdirPtr + (int)(long)pnew;
349+ nw += SFdirPtr;
350
351 if (nw > SFdirEnd - 3)
352 nw = SFdirEnd - 3;
[fefaf43]353diff -Naur vim70-orig/src/gui.c vim70/src/gui.c
354--- vim70-orig/src/gui.c 2006-05-03 07:00:59.000000000 -0400
355+++ vim70/src/gui.c 2006-05-25 09:13:10.000000000 -0400
[34f53b7]356@@ -4603,11 +4603,11 @@
357 /* Don't move the mouse when it's left or right of the Vim window */
358 if (x < 0 || x > Columns * gui.char_width)
359 return;
360+ if (y >= 0
361 # ifdef FEAT_WINDOWS
362- if (Y_2_ROW(y) >= tabline_height())
363-# else
364- if (y >= 0)
365+ && Y_2_ROW(y) >= tabline_height()
366 # endif
367+ )
368 wp = xy2win(x, y);
369 if (wp != curwin && wp != NULL) /* If in other than current window */
370 {
[fefaf43]371diff -Naur vim70-orig/src/gui_xmebw.c vim70/src/gui_xmebw.c
372--- vim70-orig/src/gui_xmebw.c 2006-04-30 11:32:32.000000000 -0400
373+++ vim70/src/gui_xmebw.c 2006-05-25 09:13:13.000000000 -0400
374@@ -47,13 +47,13 @@
375 #include "gui_xmebwp.h"
376
377 /* Provide some missing wrappers, which are missed from the LessTif
378- * implementation.
379+ * implementation. Also missing in Motif 1.2 and earlier.
380 *
381 * We neither use XmeGetPixmapData or _XmGetPixmapData, since with LessTif the
382 * pixmap will not appear in it's caches properly. We cache the interresting
383 * values in XmEnhancedButtonPart instead ourself.
384 */
385-#ifdef LESSTIF_VERSION
386+#if defined(LESSTIF_VERSION) || (XmVersion <= 1002)
387 # ifndef Lab_IsMenupane
388 # define Lab_IsMenupane(w) (Lab_MenuType(w) == (int)XmMENU_POPUP || \
389 Lab_MenuType(w) == (int)XmMENU_PULLDOWN)
[34f53b7]390@@ -480,7 +480,7 @@
391 || (eb->core.height <= 2 * eb->primitive.highlight_thickness))
392 return;
393
394-#ifndef LESSTIF_VERSION
395+#if !defined(LESSTIF_VERSION) && (XmVersion > 1002)
396 {
397 XmDisplay dpy;
398
399@@ -641,7 +641,7 @@
400 GC tmp_gc = NULL;
401 Boolean replaceGC = False;
402 Boolean deadjusted = False;
403-#ifndef LESSTIF_VERSION
404+#if !defined(LESSTIF_VERSION) && (XmVersion > 1002)
405 XmDisplay dpy = (XmDisplay)XmGetXmDisplay(XtDisplay(eb));
406 Boolean etched_in = dpy->display.enable_etched_in_menu;
407 #else
408@@ -726,7 +726,7 @@
409 if ((((ShellWidget) XtParent(XtParent(eb)))->shell.popped_up)
410 && _XmGetInDragMode((Widget) eb))
411 {
412-#ifndef LESSTIF_VERSION
413+#if !defined(LESSTIF_VERSION) && (XmVersion > 1002)
414 XmDisplay dpy = (XmDisplay) XmGetXmDisplay(XtDisplay(wid));
415 Boolean etched_in = dpy->display.enable_etched_in_menu;
416 #else
417@@ -810,7 +810,7 @@
418
419 if (Lab_IsMenupane(eb))
420 {
421-#ifndef LESSTIF_VERSION
422+#if !defined(LESSTIF_VERSION) && (XmVersion > 1002)
423 XmDisplay dpy = (XmDisplay) XmGetXmDisplay(XtDisplay(wid));
424 Boolean etched_in = dpy->display.enable_etched_in_menu;
425 #else
426@@ -1150,7 +1150,7 @@
427 Redisplay(Widget w, XEvent *event, Region region)
428 {
429 XmEnhancedButtonWidget eb = (XmEnhancedButtonWidget) w;
430-#ifndef LESSTIF_VERSION
431+#if !defined(LESSTIF_VERSION) && (XmVersion > 1002)
432 XmDisplay dpy;
433 XtEnum default_button_emphasis;
434 #endif
435@@ -1162,7 +1162,7 @@
436 if (!XtIsRealized((Widget)eb))
437 return;
438
439-#ifndef LESSTIF_VERSION
440+#if !defined(LESSTIF_VERSION) && (XmVersion > 1002)
441 dpy = (XmDisplay)XmGetXmDisplay(XtDisplay(eb));
442 default_button_emphasis = dpy->display.default_button_emphasis;
443 #endif
444@@ -1241,7 +1241,7 @@
445 {
446 int adjust = 0;
447
448-#ifndef LESSTIF_VERSION
449+#if !defined(LESSTIF_VERSION) && (XmVersion > 1002)
450 /*
451 * NOTE: PushButton has two types of shadows: primitive-shadow and
452 * default-button-shadow. If pushbutton is in a menu only primitive
453@@ -1289,7 +1289,7 @@
454 adjust, adjust, rectwidth, rectheight, borderwidth);
455 }
456
457-#ifndef LESSTIF_VERSION
458+#if !defined(LESSTIF_VERSION) && (XmVersion > 1002)
459 switch (default_button_emphasis)
460 {
461 case XmINTERNAL_HIGHLIGHT:
462@@ -1365,7 +1365,7 @@
463 default_button_shadow_thickness =
464 eb->pushbutton.default_button_shadow_thickness;
465
466-#ifndef LESSTIF_VERSION
467+#if !defined(LESSTIF_VERSION) && (XmVersion > 1002)
468 /*
469 * Compute location of bounding box to contain the
470 * defaultButtonShadow.
[fefaf43]471diff -Naur vim70-orig/src/Makefile vim70/src/Makefile
472--- vim70-orig/src/Makefile 2006-05-07 09:25:27.000000000 -0400
473+++ vim70/src/Makefile 2006-05-25 09:13:11.000000000 -0400
[34f53b7]474@@ -2177,6 +2177,7 @@
475 cd $(SHADOWDIR)/xxd; ln -s ../../xxd/*.[ch] ../../xxd/Make* .
476 if test -d $(RSRC_DIR); then \
477 cd $(SHADOWDIR); \
478+ ln -s ../infplist.xml .; \
479 ln -s ../$(RSRC_DIR) ../os_mac.rsr.hqx ../dehqx.py .; \
480 fi
481 mkdir $(SHADOWDIR)/testdir
[fefaf43]482diff -Naur vim70-orig/src/mbyte.c vim70/src/mbyte.c
483--- vim70-orig/src/mbyte.c 2006-04-30 07:51:01.000000000 -0400
484+++ vim70/src/mbyte.c 2006-05-25 09:13:13.000000000 -0400
485@@ -311,7 +311,11 @@
486
487 #define IDX_MACROMAN 57
488 {"macroman", ENC_8BIT + ENC_MACROMAN, 0}, /* Mac OS */
489-#define IDX_COUNT 58
490+#define IDX_DECMCS 58
491+ {"dec-mcs", ENC_8BIT, 0}, /* DEC MCS */
492+#define IDX_HPROMAN8 59
493+ {"hp-roman8", ENC_8BIT, 0}, /* HP Roman8 */
494+#define IDX_COUNT 60
495 };
496
497 /*
498@@ -386,6 +390,7 @@
499 {"950", IDX_BIG5},
500 #endif
501 {"mac", IDX_MACROMAN},
502+ {"mac-roman", IDX_MACROMAN},
503 {NULL, 0}
504 };
505
506diff -Naur vim70-orig/src/message.c vim70/src/message.c
507--- vim70-orig/src/message.c 2006-05-06 16:07:37.000000000 -0400
508+++ vim70/src/message.c 2006-05-25 09:13:11.000000000 -0400
[34f53b7]509@@ -4175,15 +4175,16 @@
510 str_arg_l = 0;
511 else
512 {
513- /* memchr on HP does not like n > 2^31 !!! */
514- char *q = memchr(str_arg, '\0',
515+ /* Don't put the #if inside memchr(), it can be a
516+ * macro. */
517 #if SIZEOF_INT <= 2
518- precision
519+ char *q = memchr(str_arg, '\0', precision);
520 #else
521- precision <= (size_t)0x7fffffffL ? precision
522- : (size_t)0x7fffffffL
523+ /* memchr on HP does not like n > 2^31 !!! */
524+ char *q = memchr(str_arg, '\0',
525+ precision <= (size_t)0x7fffffffL ? precision
526+ : (size_t)0x7fffffffL);
527 #endif
528- );
529 str_arg_l = (q == NULL) ? precision : q - str_arg;
530 }
531 break;
[fefaf43]532diff -Naur vim70-orig/src/option.c vim70/src/option.c
533--- vim70-orig/src/option.c 2006-05-03 13:32:28.000000000 -0400
534+++ vim70/src/option.c 2006-05-25 09:13:12.000000000 -0400
[34f53b7]535@@ -2294,7 +2294,7 @@
536 {(char_u *)0L, (char_u *)0L}
537 #endif
538 },
539- {"spellsuggest", "sps", P_STRING|P_VI_DEF|P_EXPAND|P_SECURE,
540+ {"spellsuggest", "sps", P_STRING|P_VI_DEF|P_EXPAND|P_SECURE|P_COMMA,
541 #ifdef FEAT_SPELL
542 (char_u *)&p_sps, PV_NONE,
543 {(char_u *)"best", (char_u *)0L}
544@@ -5227,13 +5227,13 @@
545 case PV_STL: return &curwin->w_p_stl_flags;
546 #endif
547 #ifdef FEAT_EVAL
548+# ifdef FEAT_FOLDING
549 case PV_FDE: return &curwin->w_p_fde_flags;
550 case PV_FDT: return &curwin->w_p_fdt_flags;
551+# endif
552 # ifdef FEAT_BEVAL
553 case PV_BEXPR: return &curbuf->b_p_bexpr_flags;
554 # endif
555-#endif
556-#if defined(FEAT_EVAL)
557 # if defined(FEAT_CINDENT)
558 case PV_INDE: return &curbuf->b_p_inde_flags;
559 # endif
[fefaf43]560diff -Naur vim70-orig/src/spell.c vim70/src/spell.c
561--- vim70-orig/src/spell.c 2006-05-05 03:49:58.000000000 -0400
562+++ vim70/src/spell.c 2006-05-25 09:13:11.000000000 -0400
[34f53b7]563@@ -2108,7 +2108,8 @@
564 * possible. */
565 STRCPY(buf, line);
566 if (lnum < wp->w_buffer->b_ml.ml_line_count)
567- spell_cat_line(buf + STRLEN(buf), ml_get(lnum + 1), MAXWLEN);
568+ spell_cat_line(buf + STRLEN(buf),
569+ ml_get_buf(wp->w_buffer, lnum + 1, FALSE), MAXWLEN);
570
571 p = buf + skip;
572 endp = buf + len;
[fefaf43]573diff -Naur vim70-orig/src/version.c vim70/src/version.c
574--- vim70-orig/src/version.c 2006-05-03 03:50:42.000000000 -0400
575+++ vim70/src/version.c 2006-05-25 09:13:13.000000000 -0400
576@@ -667,6 +667,38 @@
[34f53b7]577 static int included_patches[] =
578 { /* Add new patch number below this line */
579 /**/
[fefaf43]580+ 17,
581+/**/
582+ 16,
583+/**/
[34f53b7]584+ 15,
585+/**/
586+ 14,
587+/**/
588+ 13,
589+/**/
590+ 12,
591+/**/
592+ 11,
593+/**/
594+ 10,
595+/**/
596+ 9,
597+/**/
598+ 8,
599+/**/
600+ 7,
601+/**/
602+ 6,
603+/**/
604+ 4,
605+/**/
606+ 3,
607+/**/
608+ 2,
609+/**/
610+ 1,
611+/**/
612 0
613 };
614
Note: See TracBrowser for help on using the repository browser.