Mercurial > vim
annotate src/version.c @ 4242:edd0bc1f26bd v7.3.872
updated for version 7.3.872
Problem: On some systems case of file names is always ignored, on others
never.
Solution: Add the 'fileignorecase' option to control this at runtime.
Implies 'wildignorecase'.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 19 Mar 2013 16:49:16 +0100 |
parents | d52c45b35fb0 |
children | 7faeece39228 |
rev | line source |
---|---|
7 | 1 /* vi:set ts=8 sts=4 sw=4: |
2 * | |
3 * VIM - Vi IMproved by Bram Moolenaar | |
4 * | |
5 * Do ":help uganda" in Vim to read copying and usage conditions. | |
6 * Do ":help credits" in Vim to see a list of people who contributed. | |
7 * See README.txt for an overview of the Vim source code. | |
8 */ | |
9 | |
10 #include "vim.h" | |
11 | |
12 #ifdef AMIGA | |
13 # include <time.h> /* for time() */ | |
14 #endif | |
15 | |
16 /* | |
17 * Vim originated from Stevie version 3.6 (Fish disk 217) by GRWalter (Fred) | |
18 * It has been changed beyond recognition since then. | |
19 * | |
26 | 20 * Differences between version 6.x and 7.x can be found with ":help version7". |
7 | 21 * Differences between version 5.x and 6.x can be found with ":help version6". |
22 * Differences between version 4.x and 5.x can be found with ":help version5". | |
23 * Differences between version 3.0 and 4.x can be found with ":help version4". | |
24 * All the remarks about older versions have been removed, they are not very | |
25 * interesting. | |
26 */ | |
27 | |
28 #include "version.h" | |
29 | |
378 | 30 char *Version = VIM_VERSION_SHORT; |
31 static char *mediumVersion = VIM_VERSION_MEDIUM; | |
7 | 32 |
33 #if defined(HAVE_DATE_TIME) || defined(PROTO) | |
34 # if (defined(VMS) && defined(VAXC)) || defined(PROTO) | |
35 char longVersion[sizeof(VIM_VERSION_LONG_DATE) + sizeof(__DATE__) | |
36 + sizeof(__TIME__) + 3]; | |
4147 | 37 |
38 static void list_features __ARGS((void)); | |
39 | |
7 | 40 void |
41 make_version() | |
42 { | |
43 /* | |
44 * Construct the long version string. Necessary because | |
45 * VAX C can't catenate strings in the preprocessor. | |
46 */ | |
47 strcpy(longVersion, VIM_VERSION_LONG_DATE); | |
48 strcat(longVersion, __DATE__); | |
49 strcat(longVersion, " "); | |
50 strcat(longVersion, __TIME__); | |
51 strcat(longVersion, ")"); | |
52 } | |
53 # else | |
54 char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")"; | |
55 # endif | |
56 #else | |
57 char *longVersion = VIM_VERSION_LONG; | |
58 #endif | |
59 | |
60 static void version_msg __ARGS((char *s)); | |
61 | |
62 static char *(features[]) = | |
63 { | |
64 #ifdef AMIGA /* only for Amiga systems */ | |
65 # ifdef FEAT_ARP | |
66 "+ARP", | |
67 # else | |
68 "-ARP", | |
69 # endif | |
70 #endif | |
71 #ifdef FEAT_ARABIC | |
72 "+arabic", | |
73 #else | |
74 "-arabic", | |
75 #endif | |
76 #ifdef FEAT_AUTOCMD | |
77 "+autocmd", | |
78 #else | |
79 "-autocmd", | |
80 #endif | |
81 #ifdef FEAT_BEVAL | |
82 "+balloon_eval", | |
83 #else | |
84 "-balloon_eval", | |
85 #endif | |
86 #ifdef FEAT_BROWSE | |
87 "+browse", | |
88 #else | |
89 "-browse", | |
90 #endif | |
91 #ifdef NO_BUILTIN_TCAPS | |
92 "-builtin_terms", | |
93 #endif | |
94 #ifdef SOME_BUILTIN_TCAPS | |
95 "+builtin_terms", | |
96 #endif | |
97 #ifdef ALL_BUILTIN_TCAPS | |
98 "++builtin_terms", | |
99 #endif | |
100 #ifdef FEAT_BYTEOFF | |
101 "+byte_offset", | |
102 #else | |
103 "-byte_offset", | |
104 #endif | |
105 #ifdef FEAT_CINDENT | |
106 "+cindent", | |
107 #else | |
108 "-cindent", | |
109 #endif | |
110 #ifdef FEAT_CLIENTSERVER | |
111 "+clientserver", | |
112 #else | |
113 "-clientserver", | |
114 #endif | |
115 #ifdef FEAT_CLIPBOARD | |
116 "+clipboard", | |
117 #else | |
118 "-clipboard", | |
119 #endif | |
120 #ifdef FEAT_CMDL_COMPL | |
121 "+cmdline_compl", | |
122 #else | |
123 "-cmdline_compl", | |
124 #endif | |
125 #ifdef FEAT_CMDHIST | |
126 "+cmdline_hist", | |
127 #else | |
128 "-cmdline_hist", | |
129 #endif | |
130 #ifdef FEAT_CMDL_INFO | |
131 "+cmdline_info", | |
132 #else | |
133 "-cmdline_info", | |
134 #endif | |
135 #ifdef FEAT_COMMENTS | |
136 "+comments", | |
137 #else | |
138 "-comments", | |
139 #endif | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
140 #ifdef FEAT_CONCEAL |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
141 "+conceal", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
142 #else |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
143 "-conceal", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
144 #endif |
7 | 145 #ifdef FEAT_CRYPT |
146 "+cryptv", | |
147 #else | |
148 "-cryptv", | |
149 #endif | |
150 #ifdef FEAT_CSCOPE | |
151 "+cscope", | |
152 #else | |
153 "-cscope", | |
154 #endif | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
155 #ifdef FEAT_CURSORBIND |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
156 "+cursorbind", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
157 #else |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
158 "-cursorbind", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
159 #endif |
647 | 160 #ifdef CURSOR_SHAPE |
161 "+cursorshape", | |
162 #else | |
163 "-cursorshape", | |
164 #endif | |
7 | 165 #if defined(FEAT_CON_DIALOG) && defined(FEAT_GUI_DIALOG) |
166 "+dialog_con_gui", | |
167 #else | |
168 # if defined(FEAT_CON_DIALOG) | |
169 "+dialog_con", | |
170 # else | |
171 # if defined(FEAT_GUI_DIALOG) | |
172 "+dialog_gui", | |
173 # else | |
174 "-dialog", | |
175 # endif | |
176 # endif | |
177 #endif | |
178 #ifdef FEAT_DIFF | |
179 "+diff", | |
180 #else | |
181 "-diff", | |
182 #endif | |
183 #ifdef FEAT_DIGRAPHS | |
184 "+digraphs", | |
185 #else | |
186 "-digraphs", | |
187 #endif | |
188 #ifdef FEAT_DND | |
189 "+dnd", | |
190 #else | |
191 "-dnd", | |
192 #endif | |
193 #ifdef EBCDIC | |
194 "+ebcdic", | |
195 #else | |
196 "-ebcdic", | |
197 #endif | |
198 #ifdef FEAT_EMACS_TAGS | |
199 "+emacs_tags", | |
200 #else | |
201 "-emacs_tags", | |
202 #endif | |
203 #ifdef FEAT_EVAL | |
204 "+eval", | |
205 #else | |
206 "-eval", | |
207 #endif | |
208 #ifdef FEAT_EX_EXTRA | |
209 "+ex_extra", | |
210 #else | |
211 "-ex_extra", | |
212 #endif | |
213 #ifdef FEAT_SEARCH_EXTRA | |
214 "+extra_search", | |
215 #else | |
216 "-extra_search", | |
217 #endif | |
218 #ifdef FEAT_FKMAP | |
219 "+farsi", | |
220 #else | |
221 "-farsi", | |
222 #endif | |
223 #ifdef FEAT_SEARCHPATH | |
224 "+file_in_path", | |
225 #else | |
226 "-file_in_path", | |
227 #endif | |
228 #ifdef FEAT_FIND_ID | |
229 "+find_in_path", | |
230 #else | |
231 "-find_in_path", | |
232 #endif | |
1621 | 233 #ifdef FEAT_FLOAT |
234 "+float", | |
235 #else | |
236 "-float", | |
237 #endif | |
7 | 238 #ifdef FEAT_FOLDING |
239 "+folding", | |
240 #else | |
241 "-folding", | |
242 #endif | |
243 #ifdef FEAT_FOOTER | |
244 "+footer", | |
245 #else | |
246 "-footer", | |
247 #endif | |
248 /* only interesting on Unix systems */ | |
249 #if !defined(USE_SYSTEM) && defined(UNIX) | |
250 "+fork()", | |
251 #endif | |
252 #ifdef FEAT_GETTEXT | |
253 # ifdef DYNAMIC_GETTEXT | |
254 "+gettext/dyn", | |
255 # else | |
256 "+gettext", | |
257 # endif | |
258 #else | |
259 "-gettext", | |
260 #endif | |
261 #ifdef FEAT_HANGULIN | |
262 "+hangul_input", | |
263 #else | |
264 "-hangul_input", | |
265 #endif | |
266 #if (defined(HAVE_ICONV_H) && defined(USE_ICONV)) || defined(DYNAMIC_ICONV) | |
267 # ifdef DYNAMIC_ICONV | |
268 "+iconv/dyn", | |
269 # else | |
270 "+iconv", | |
271 # endif | |
272 #else | |
273 "-iconv", | |
274 #endif | |
275 #ifdef FEAT_INS_EXPAND | |
276 "+insert_expand", | |
277 #else | |
278 "-insert_expand", | |
279 #endif | |
280 #ifdef FEAT_JUMPLIST | |
281 "+jumplist", | |
282 #else | |
283 "-jumplist", | |
284 #endif | |
285 #ifdef FEAT_KEYMAP | |
286 "+keymap", | |
287 #else | |
288 "-keymap", | |
289 #endif | |
290 #ifdef FEAT_LANGMAP | |
291 "+langmap", | |
292 #else | |
293 "-langmap", | |
294 #endif | |
295 #ifdef FEAT_LIBCALL | |
296 "+libcall", | |
297 #else | |
298 "-libcall", | |
299 #endif | |
300 #ifdef FEAT_LINEBREAK | |
301 "+linebreak", | |
302 #else | |
303 "-linebreak", | |
304 #endif | |
305 #ifdef FEAT_LISP | |
306 "+lispindent", | |
307 #else | |
308 "-lispindent", | |
309 #endif | |
310 #ifdef FEAT_LISTCMDS | |
311 "+listcmds", | |
312 #else | |
313 "-listcmds", | |
314 #endif | |
315 #ifdef FEAT_LOCALMAP | |
316 "+localmap", | |
317 #else | |
318 "-localmap", | |
319 #endif | |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
320 #ifdef FEAT_LUA |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
321 # ifdef DYNAMIC_LUA |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
322 "+lua/dyn", |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
323 # else |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
324 "+lua", |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
325 # endif |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
326 #else |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
327 "-lua", |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
328 #endif |
7 | 329 #ifdef FEAT_MENU |
330 "+menu", | |
331 #else | |
332 "-menu", | |
333 #endif | |
334 #ifdef FEAT_SESSION | |
335 "+mksession", | |
336 #else | |
337 "-mksession", | |
338 #endif | |
339 #ifdef FEAT_MODIFY_FNAME | |
340 "+modify_fname", | |
341 #else | |
342 "-modify_fname", | |
343 #endif | |
344 #ifdef FEAT_MOUSE | |
345 "+mouse", | |
346 # ifdef FEAT_MOUSESHAPE | |
347 "+mouseshape", | |
348 # else | |
349 "-mouseshape", | |
350 # endif | |
351 # else | |
352 "-mouse", | |
353 #endif | |
3898 | 354 |
7 | 355 #if defined(UNIX) || defined(VMS) |
356 # ifdef FEAT_MOUSE_DEC | |
357 "+mouse_dec", | |
358 # else | |
359 "-mouse_dec", | |
360 # endif | |
361 # ifdef FEAT_MOUSE_GPM | |
362 "+mouse_gpm", | |
363 # else | |
364 "-mouse_gpm", | |
365 # endif | |
366 # ifdef FEAT_MOUSE_JSB | |
367 "+mouse_jsbterm", | |
368 # else | |
369 "-mouse_jsbterm", | |
370 # endif | |
371 # ifdef FEAT_MOUSE_NET | |
372 "+mouse_netterm", | |
373 # else | |
374 "-mouse_netterm", | |
375 # endif | |
376 #endif | |
3898 | 377 |
7 | 378 #ifdef __QNX__ |
379 # ifdef FEAT_MOUSE_PTERM | |
380 "+mouse_pterm", | |
381 # else | |
382 "-mouse_pterm", | |
383 # endif | |
384 #endif | |
3898 | 385 |
386 #if defined(UNIX) || defined(VMS) | |
387 # ifdef FEAT_MOUSE_SGR | |
388 "+mouse_sgr", | |
389 # else | |
390 "-mouse_sgr", | |
391 # endif | |
392 # ifdef FEAT_SYSMOUSE | |
393 "+mouse_sysmouse", | |
394 # else | |
395 "-mouse_sysmouse", | |
396 # endif | |
397 # ifdef FEAT_MOUSE_URXVT | |
398 "+mouse_urxvt", | |
399 # else | |
400 "-mouse_urxvt", | |
401 # endif | |
402 # ifdef FEAT_MOUSE_XTERM | |
403 "+mouse_xterm", | |
404 # else | |
405 "-mouse_xterm", | |
406 # endif | |
407 #endif | |
408 | |
7 | 409 #ifdef FEAT_MBYTE_IME |
410 # ifdef DYNAMIC_IME | |
411 "+multi_byte_ime/dyn", | |
412 # else | |
413 "+multi_byte_ime", | |
414 # endif | |
415 #else | |
416 # ifdef FEAT_MBYTE | |
417 "+multi_byte", | |
418 # else | |
419 "-multi_byte", | |
420 # endif | |
421 #endif | |
422 #ifdef FEAT_MULTI_LANG | |
423 "+multi_lang", | |
424 #else | |
425 "-multi_lang", | |
426 #endif | |
14 | 427 #ifdef FEAT_MZSCHEME |
132 | 428 # ifdef DYNAMIC_MZSCHEME |
429 "+mzscheme/dyn", | |
430 # else | |
14 | 431 "+mzscheme", |
132 | 432 # endif |
14 | 433 #else |
434 "-mzscheme", | |
435 #endif | |
7 | 436 #ifdef FEAT_NETBEANS_INTG |
437 "+netbeans_intg", | |
438 #else | |
439 "-netbeans_intg", | |
440 #endif | |
441 #ifdef FEAT_GUI_W32 | |
442 # ifdef FEAT_OLE | |
443 "+ole", | |
444 # else | |
445 "-ole", | |
446 # endif | |
447 #endif | |
448 #ifdef FEAT_PATH_EXTRA | |
449 "+path_extra", | |
450 #else | |
451 "-path_extra", | |
452 #endif | |
453 #ifdef FEAT_PERL | |
454 # ifdef DYNAMIC_PERL | |
455 "+perl/dyn", | |
456 # else | |
457 "+perl", | |
458 # endif | |
459 #else | |
460 "-perl", | |
461 #endif | |
2214
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
462 #ifdef FEAT_PERSISTENT_UNDO |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
463 "+persistent_undo", |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
464 #else |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
465 "-persistent_undo", |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
466 #endif |
7 | 467 #ifdef FEAT_PRINTER |
468 # ifdef FEAT_POSTSCRIPT | |
469 "+postscript", | |
470 # else | |
471 "-postscript", | |
472 # endif | |
473 "+printer", | |
474 #else | |
475 "-printer", | |
476 #endif | |
170 | 477 #ifdef FEAT_PROFILE |
478 "+profile", | |
479 #else | |
480 "-profile", | |
481 #endif | |
7 | 482 #ifdef FEAT_PYTHON |
483 # ifdef DYNAMIC_PYTHON | |
484 "+python/dyn", | |
485 # else | |
486 "+python", | |
487 # endif | |
488 #else | |
489 "-python", | |
490 #endif | |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
491 #ifdef FEAT_PYTHON3 |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
492 # ifdef DYNAMIC_PYTHON3 |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
493 "+python3/dyn", |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
494 # else |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
495 "+python3", |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
496 # endif |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
497 #else |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
498 "-python3", |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
499 #endif |
7 | 500 #ifdef FEAT_QUICKFIX |
501 "+quickfix", | |
502 #else | |
503 "-quickfix", | |
504 #endif | |
857 | 505 #ifdef FEAT_RELTIME |
506 "+reltime", | |
507 #else | |
508 "-reltime", | |
509 #endif | |
7 | 510 #ifdef FEAT_RIGHTLEFT |
511 "+rightleft", | |
512 #else | |
513 "-rightleft", | |
514 #endif | |
515 #ifdef FEAT_RUBY | |
516 # ifdef DYNAMIC_RUBY | |
517 "+ruby/dyn", | |
518 # else | |
519 "+ruby", | |
520 # endif | |
521 #else | |
522 "-ruby", | |
523 #endif | |
524 #ifdef FEAT_SCROLLBIND | |
525 "+scrollbind", | |
526 #else | |
527 "-scrollbind", | |
528 #endif | |
529 #ifdef FEAT_SIGNS | |
530 "+signs", | |
531 #else | |
532 "-signs", | |
533 #endif | |
534 #ifdef FEAT_SMARTINDENT | |
535 "+smartindent", | |
536 #else | |
537 "-smartindent", | |
538 #endif | |
539 #ifdef FEAT_SNIFF | |
540 "+sniff", | |
541 #else | |
542 "-sniff", | |
543 #endif | |
1989 | 544 #ifdef STARTUPTIME |
545 "+startuptime", | |
546 #else | |
547 "-startuptime", | |
548 #endif | |
7 | 549 #ifdef FEAT_STL_OPT |
550 "+statusline", | |
551 #else | |
552 "-statusline", | |
553 #endif | |
554 #ifdef FEAT_SUN_WORKSHOP | |
555 "+sun_workshop", | |
556 #else | |
557 "-sun_workshop", | |
558 #endif | |
559 #ifdef FEAT_SYN_HL | |
560 "+syntax", | |
561 #else | |
562 "-syntax", | |
563 #endif | |
564 /* only interesting on Unix systems */ | |
565 #if defined(USE_SYSTEM) && (defined(UNIX) || defined(__EMX__)) | |
566 "+system()", | |
567 #endif | |
568 #ifdef FEAT_TAG_BINS | |
569 "+tag_binary", | |
570 #else | |
571 "-tag_binary", | |
572 #endif | |
573 #ifdef FEAT_TAG_OLDSTATIC | |
574 "+tag_old_static", | |
575 #else | |
576 "-tag_old_static", | |
577 #endif | |
578 #ifdef FEAT_TAG_ANYWHITE | |
579 "+tag_any_white", | |
580 #else | |
581 "-tag_any_white", | |
582 #endif | |
583 #ifdef FEAT_TCL | |
584 # ifdef DYNAMIC_TCL | |
585 "+tcl/dyn", | |
586 # else | |
587 "+tcl", | |
588 # endif | |
589 #else | |
590 "-tcl", | |
591 #endif | |
592 #if defined(UNIX) || defined(__EMX__) | |
593 /* only Unix (or OS/2 with EMX!) can have terminfo instead of termcap */ | |
594 # ifdef TERMINFO | |
595 "+terminfo", | |
596 # else | |
597 "-terminfo", | |
598 # endif | |
599 #else /* unix always includes termcap support */ | |
600 # ifdef HAVE_TGETENT | |
601 "+tgetent", | |
602 # else | |
603 "-tgetent", | |
604 # endif | |
605 #endif | |
606 #ifdef FEAT_TERMRESPONSE | |
607 "+termresponse", | |
608 #else | |
609 "-termresponse", | |
610 #endif | |
611 #ifdef FEAT_TEXTOBJ | |
612 "+textobjects", | |
613 #else | |
614 "-textobjects", | |
615 #endif | |
616 #ifdef FEAT_TITLE | |
617 "+title", | |
618 #else | |
619 "-title", | |
620 #endif | |
621 #ifdef FEAT_TOOLBAR | |
622 "+toolbar", | |
623 #else | |
624 "-toolbar", | |
625 #endif | |
626 #ifdef FEAT_USR_CMDS | |
627 "+user_commands", | |
628 #else | |
629 "-user_commands", | |
630 #endif | |
631 #ifdef FEAT_VERTSPLIT | |
632 "+vertsplit", | |
633 #else | |
634 "-vertsplit", | |
635 #endif | |
636 #ifdef FEAT_VIRTUALEDIT | |
637 "+virtualedit", | |
638 #else | |
639 "-virtualedit", | |
640 #endif | |
641 #ifdef FEAT_VISUAL | |
642 "+visual", | |
643 # ifdef FEAT_VISUALEXTRA | |
644 "+visualextra", | |
645 # else | |
646 "-visualextra", | |
647 # endif | |
648 #else | |
649 "-visual", | |
650 #endif | |
651 #ifdef FEAT_VIMINFO | |
652 "+viminfo", | |
653 #else | |
654 "-viminfo", | |
655 #endif | |
656 #ifdef FEAT_VREPLACE | |
657 "+vreplace", | |
658 #else | |
659 "-vreplace", | |
660 #endif | |
661 #ifdef FEAT_WILDIGN | |
662 "+wildignore", | |
663 #else | |
664 "-wildignore", | |
665 #endif | |
666 #ifdef FEAT_WILDMENU | |
667 "+wildmenu", | |
668 #else | |
669 "-wildmenu", | |
670 #endif | |
671 #ifdef FEAT_WINDOWS | |
672 "+windows", | |
673 #else | |
674 "-windows", | |
675 #endif | |
676 #ifdef FEAT_WRITEBACKUP | |
677 "+writebackup", | |
678 #else | |
679 "-writebackup", | |
680 #endif | |
681 #if defined(UNIX) || defined(VMS) | |
682 # ifdef FEAT_X11 | |
683 "+X11", | |
684 # else | |
685 "-X11", | |
686 # endif | |
687 #endif | |
688 #ifdef FEAT_XFONTSET | |
689 "+xfontset", | |
690 #else | |
691 "-xfontset", | |
692 #endif | |
693 #ifdef FEAT_XIM | |
694 "+xim", | |
695 #else | |
696 "-xim", | |
697 #endif | |
698 #if defined(UNIX) || defined(VMS) | |
699 # ifdef USE_XSMP_INTERACT | |
700 "+xsmp_interact", | |
701 # else | |
702 # ifdef USE_XSMP | |
703 "+xsmp", | |
704 # else | |
705 "-xsmp", | |
706 # endif | |
707 # endif | |
708 # ifdef FEAT_XCLIPBOARD | |
709 "+xterm_clipboard", | |
710 # else | |
711 "-xterm_clipboard", | |
712 # endif | |
713 #endif | |
714 #ifdef FEAT_XTERM_SAVE | |
715 "+xterm_save", | |
716 #else | |
717 "-xterm_save", | |
718 #endif | |
719 #ifdef WIN3264 | |
720 # ifdef FEAT_XPM_W32 | |
721 "+xpm_w32", | |
722 # else | |
723 "-xpm_w32", | |
724 # endif | |
725 #endif | |
726 NULL | |
727 }; | |
728 | |
729 static int included_patches[] = | |
730 { /* Add new patch number below this line */ | |
731 /**/ | |
4242 | 732 872, |
733 /**/ | |
4240 | 734 871, |
735 /**/ | |
4238 | 736 870, |
737 /**/ | |
4236 | 738 869, |
739 /**/ | |
4234 | 740 868, |
741 /**/ | |
4232 | 742 867, |
743 /**/ | |
4230 | 744 866, |
745 /**/ | |
4227 | 746 865, |
747 /**/ | |
4225 | 748 864, |
749 /**/ | |
4223 | 750 863, |
751 /**/ | |
4221 | 752 862, |
753 /**/ | |
4219 | 754 861, |
755 /**/ | |
4217 | 756 860, |
757 /**/ | |
4215 | 758 859, |
759 /**/ | |
4213 | 760 858, |
761 /**/ | |
4211 | 762 857, |
763 /**/ | |
4209 | 764 856, |
765 /**/ | |
4207 | 766 855, |
767 /**/ | |
4205 | 768 854, |
769 /**/ | |
4203 | 770 853, |
771 /**/ | |
4201 | 772 852, |
773 /**/ | |
4199 | 774 851, |
775 /**/ | |
4197 | 776 850, |
777 /**/ | |
4195 | 778 849, |
779 /**/ | |
4193 | 780 848, |
781 /**/ | |
4191 | 782 847, |
783 /**/ | |
4189 | 784 846, |
785 /**/ | |
4187 | 786 845, |
787 /**/ | |
4184 | 788 844, |
789 /**/ | |
4182 | 790 843, |
791 /**/ | |
4180 | 792 842, |
793 /**/ | |
4178 | 794 841, |
795 /**/ | |
4176 | 796 840, |
797 /**/ | |
4174 | 798 839, |
799 /**/ | |
4172 | 800 838, |
801 /**/ | |
4170 | 802 837, |
803 /**/ | |
4168 | 804 836, |
805 /**/ | |
4166 | 806 835, |
807 /**/ | |
4164 | 808 834, |
809 /**/ | |
4162 | 810 833, |
811 /**/ | |
4160 | 812 832, |
813 /**/ | |
4157 | 814 831, |
815 /**/ | |
4155 | 816 830, |
817 /**/ | |
4153 | 818 829, |
819 /**/ | |
4151 | 820 828, |
821 /**/ | |
4149 | 822 827, |
823 /**/ | |
4147 | 824 826, |
825 /**/ | |
4145 | 826 825, |
827 /**/ | |
4143 | 828 824, |
829 /**/ | |
4141 | 830 823, |
831 /**/ | |
4139 | 832 822, |
833 /**/ | |
4137 | 834 821, |
835 /**/ | |
4135 | 836 820, |
837 /**/ | |
4133 | 838 819, |
839 /**/ | |
4131 | 840 818, |
841 /**/ | |
4129 | 842 817, |
843 /**/ | |
4126 | 844 816, |
845 /**/ | |
4124 | 846 815, |
847 /**/ | |
4122 | 848 814, |
849 /**/ | |
4120 | 850 813, |
851 /**/ | |
4117 | 852 812, |
853 /**/ | |
4115 | 854 811, |
855 /**/ | |
4113 | 856 810, |
857 /**/ | |
4111 | 858 809, |
859 /**/ | |
4109 | 860 808, |
861 /**/ | |
4107 | 862 807, |
863 /**/ | |
4105 | 864 806, |
865 /**/ | |
4103 | 866 805, |
867 /**/ | |
4101 | 868 804, |
869 /**/ | |
4099 | 870 803, |
871 /**/ | |
4096 | 872 802, |
873 /**/ | |
4094 | 874 801, |
875 /**/ | |
4092 | 876 800, |
877 /**/ | |
4090 | 878 799, |
879 /**/ | |
4088 | 880 798, |
881 /**/ | |
4086 | 882 797, |
883 /**/ | |
4084 | 884 796, |
885 /**/ | |
4082 | 886 795, |
887 /**/ | |
4080 | 888 794, |
889 /**/ | |
4078 | 890 793, |
891 /**/ | |
4076 | 892 792, |
893 /**/ | |
4074 | 894 791, |
895 /**/ | |
4071 | 896 790, |
897 /**/ | |
4069 | 898 789, |
899 /**/ | |
4067 | 900 788, |
901 /**/ | |
4065 | 902 787, |
903 /**/ | |
4063 | 904 786, |
905 /**/ | |
4061 | 906 785, |
907 /**/ | |
4059 | 908 784, |
909 /**/ | |
4057 | 910 783, |
911 /**/ | |
4055 | 912 782, |
913 /**/ | |
4053 | 914 781, |
915 /**/ | |
4051 | 916 780, |
917 /**/ | |
4049 | 918 779, |
919 /**/ | |
4047 | 920 778, |
921 /**/ | |
4045 | 922 777, |
923 /**/ | |
4043 | 924 776, |
925 /**/ | |
4041 | 926 775, |
927 /**/ | |
4039 | 928 774, |
929 /**/ | |
4037 | 930 773, |
931 /**/ | |
4035 | 932 772, |
933 /**/ | |
4033 | 934 771, |
935 /**/ | |
4031 | 936 770, |
937 /**/ | |
4029 | 938 769, |
939 /**/ | |
4027 | 940 768, |
941 /**/ | |
4025 | 942 767, |
943 /**/ | |
4023 | 944 766, |
945 /**/ | |
4021 | 946 765, |
947 /**/ | |
4019 | 948 764, |
949 /**/ | |
4017 | 950 763, |
951 /**/ | |
4015 | 952 762, |
953 /**/ | |
4013 | 954 761, |
955 /**/ | |
4011 | 956 760, |
957 /**/ | |
4009 | 958 759, |
959 /**/ | |
4007 | 960 758, |
961 /**/ | |
4005 | 962 757, |
963 /**/ | |
4003 | 964 756, |
965 /**/ | |
4001 | 966 755, |
967 /**/ | |
3999 | 968 754, |
969 /**/ | |
3997 | 970 753, |
971 /**/ | |
3994 | 972 752, |
973 /**/ | |
3992 | 974 751, |
975 /**/ | |
3990 | 976 750, |
977 /**/ | |
3988 | 978 749, |
979 /**/ | |
3986 | 980 748, |
981 /**/ | |
3984 | 982 747, |
983 /**/ | |
3982 | 984 746, |
985 /**/ | |
3980 | 986 745, |
987 /**/ | |
3978 | 988 744, |
989 /**/ | |
3976 | 990 743, |
991 /**/ | |
3974 | 992 742, |
993 /**/ | |
3972 | 994 741, |
995 /**/ | |
3970 | 996 740, |
997 /**/ | |
3968 | 998 739, |
999 /**/ | |
3965 | 1000 738, |
1001 /**/ | |
3963 | 1002 737, |
1003 /**/ | |
3961 | 1004 736, |
1005 /**/ | |
3959 | 1006 735, |
1007 /**/ | |
3957 | 1008 734, |
1009 /**/ | |
3955 | 1010 733, |
1011 /**/ | |
3953 | 1012 732, |
1013 /**/ | |
3951 | 1014 731, |
1015 /**/ | |
3949 | 1016 730, |
1017 /**/ | |
3947 | 1018 729, |
1019 /**/ | |
3945 | 1020 728, |
1021 /**/ | |
3943 | 1022 727, |
1023 /**/ | |
3941 | 1024 726, |
1025 /**/ | |
3939 | 1026 725, |
1027 /**/ | |
3937 | 1028 724, |
1029 /**/ | |
3935 | 1030 723, |
1031 /**/ | |
3933 | 1032 722, |
1033 /**/ | |
3931 | 1034 721, |
1035 /**/ | |
3929 | 1036 720, |
1037 /**/ | |
3927 | 1038 719, |
1039 /**/ | |
3925 | 1040 718, |
1041 /**/ | |
3923 | 1042 717, |
1043 /**/ | |
3921 | 1044 716, |
1045 /**/ | |
3918 | 1046 715, |
1047 /**/ | |
3916 | 1048 714, |
1049 /**/ | |
3914 | 1050 713, |
1051 /**/ | |
3912 | 1052 712, |
1053 /**/ | |
3910 | 1054 711, |
1055 /**/ | |
3908 | 1056 710, |
1057 /**/ | |
3906 | 1058 709, |
1059 /**/ | |
3904 | 1060 708, |
1061 /**/ | |
3902 | 1062 707, |
1063 /**/ | |
3900 | 1064 706, |
1065 /**/ | |
3898 | 1066 705, |
1067 /**/ | |
3896 | 1068 704, |
1069 /**/ | |
3894 | 1070 703, |
1071 /**/ | |
3891 | 1072 702, |
1073 /**/ | |
3889 | 1074 701, |
1075 /**/ | |
3887 | 1076 700, |
1077 /**/ | |
3885 | 1078 699, |
1079 /**/ | |
3883 | 1080 698, |
1081 /**/ | |
3881 | 1082 697, |
1083 /**/ | |
3879 | 1084 696, |
1085 /**/ | |
3877 | 1086 695, |
1087 /**/ | |
3875 | 1088 694, |
1089 /**/ | |
3873 | 1090 693, |
1091 /**/ | |
3871 | 1092 692, |
1093 /**/ | |
3869 | 1094 691, |
1095 /**/ | |
3867 | 1096 690, |
1097 /**/ | |
3865 | 1098 689, |
1099 /**/ | |
3863 | 1100 688, |
1101 /**/ | |
3861 | 1102 687, |
1103 /**/ | |
3859 | 1104 686, |
1105 /**/ | |
3857 | 1106 685, |
1107 /**/ | |
3855 | 1108 684, |
1109 /**/ | |
3852 | 1110 683, |
1111 /**/ | |
3850 | 1112 682, |
1113 /**/ | |
3848 | 1114 681, |
1115 /**/ | |
3845 | 1116 680, |
1117 /**/ | |
3843 | 1118 679, |
1119 /**/ | |
3841 | 1120 678, |
1121 /**/ | |
3839 | 1122 677, |
1123 /**/ | |
3837 | 1124 676, |
1125 /**/ | |
3835 | 1126 675, |
1127 /**/ | |
3833 | 1128 674, |
1129 /**/ | |
3831 | 1130 673, |
1131 /**/ | |
3828 | 1132 672, |
1133 /**/ | |
3826 | 1134 671, |
1135 /**/ | |
3824 | 1136 670, |
1137 /**/ | |
3822 | 1138 669, |
1139 /**/ | |
3820 | 1140 668, |
1141 /**/ | |
3818 | 1142 667, |
1143 /**/ | |
3816 | 1144 666, |
1145 /**/ | |
3814 | 1146 665, |
1147 /**/ | |
3812 | 1148 664, |
1149 /**/ | |
3810 | 1150 663, |
1151 /**/ | |
3808 | 1152 662, |
1153 /**/ | |
3806 | 1154 661, |
1155 /**/ | |
3804 | 1156 660, |
1157 /**/ | |
3802 | 1158 659, |
1159 /**/ | |
3800 | 1160 658, |
1161 /**/ | |
3798 | 1162 657, |
1163 /**/ | |
3796 | 1164 656, |
1165 /**/ | |
3794 | 1166 655, |
1167 /**/ | |
3792 | 1168 654, |
1169 /**/ | |
3790 | 1170 653, |
1171 /**/ | |
3788 | 1172 652, |
1173 /**/ | |
3786 | 1174 651, |
1175 /**/ | |
3784 | 1176 650, |
1177 /**/ | |
3782 | 1178 649, |
1179 /**/ | |
3780 | 1180 648, |
1181 /**/ | |
3778 | 1182 647, |
1183 /**/ | |
3776 | 1184 646, |
1185 /**/ | |
3774 | 1186 645, |
1187 /**/ | |
3772 | 1188 644, |
1189 /**/ | |
3770 | 1190 643, |
1191 /**/ | |
3768 | 1192 642, |
1193 /**/ | |
3766 | 1194 641, |
1195 /**/ | |
3764 | 1196 640, |
1197 /**/ | |
3762 | 1198 639, |
1199 /**/ | |
3759 | 1200 638, |
1201 /**/ | |
3757 | 1202 637, |
1203 /**/ | |
3755 | 1204 636, |
1205 /**/ | |
3753 | 1206 635, |
1207 /**/ | |
3751 | 1208 634, |
1209 /**/ | |
3748 | 1210 633, |
1211 /**/ | |
3746 | 1212 632, |
1213 /**/ | |
3744 | 1214 631, |
1215 /**/ | |
3742 | 1216 630, |
1217 /**/ | |
3740 | 1218 629, |
1219 /**/ | |
3738 | 1220 628, |
1221 /**/ | |
3736 | 1222 627, |
1223 /**/ | |
3734 | 1224 626, |
1225 /**/ | |
3732 | 1226 625, |
1227 /**/ | |
3730 | 1228 624, |
1229 /**/ | |
3728 | 1230 623, |
1231 /**/ | |
3726 | 1232 622, |
1233 /**/ | |
3724 | 1234 621, |
1235 /**/ | |
3722 | 1236 620, |
1237 /**/ | |
3720 | 1238 619, |
1239 /**/ | |
3718 | 1240 618, |
1241 /**/ | |
3716 | 1242 617, |
1243 /**/ | |
3714 | 1244 616, |
1245 /**/ | |
3711 | 1246 615, |
1247 /**/ | |
3709 | 1248 614, |
1249 /**/ | |
3707 | 1250 613, |
1251 /**/ | |
3705 | 1252 612, |
1253 /**/ | |
3703 | 1254 611, |
1255 /**/ | |
3701 | 1256 610, |
1257 /**/ | |
3699 | 1258 609, |
1259 /**/ | |
3697 | 1260 608, |
1261 /**/ | |
3695 | 1262 607, |
1263 /**/ | |
3693 | 1264 606, |
1265 /**/ | |
3691 | 1266 605, |
1267 /**/ | |
3689 | 1268 604, |
1269 /**/ | |
3687 | 1270 603, |
1271 /**/ | |
3685 | 1272 602, |
1273 /**/ | |
3683 | 1274 601, |
1275 /**/ | |
3680 | 1276 600, |
1277 /**/ | |
3678 | 1278 599, |
1279 /**/ | |
3676 | 1280 598, |
1281 /**/ | |
3674 | 1282 597, |
1283 /**/ | |
3672 | 1284 596, |
1285 /**/ | |
3670 | 1286 595, |
1287 /**/ | |
3668 | 1288 594, |
1289 /**/ | |
3666 | 1290 593, |
1291 /**/ | |
3664 | 1292 592, |
1293 /**/ | |
3662 | 1294 591, |
1295 /**/ | |
3660 | 1296 590, |
1297 /**/ | |
3658 | 1298 589, |
1299 /**/ | |
3656 | 1300 588, |
1301 /**/ | |
3654 | 1302 587, |
1303 /**/ | |
3652 | 1304 586, |
1305 /**/ | |
3650 | 1306 585, |
1307 /**/ | |
3648 | 1308 584, |
1309 /**/ | |
3646 | 1310 583, |
1311 /**/ | |
3644 | 1312 582, |
1313 /**/ | |
3642 | 1314 581, |
1315 /**/ | |
3640 | 1316 580, |
1317 /**/ | |
3638 | 1318 579, |
1319 /**/ | |
3636 | 1320 578, |
1321 /**/ | |
3634 | 1322 577, |
1323 /**/ | |
3632 | 1324 576, |
1325 /**/ | |
3630 | 1326 575, |
1327 /**/ | |
3628 | 1328 574, |
1329 /**/ | |
3626 | 1330 573, |
1331 /**/ | |
3624 | 1332 572, |
1333 /**/ | |
3622 | 1334 571, |
1335 /**/ | |
3620 | 1336 570, |
1337 /**/ | |
3618 | 1338 569, |
1339 /**/ | |
3616 | 1340 568, |
1341 /**/ | |
3614 | 1342 567, |
1343 /**/ | |
3612 | 1344 566, |
1345 /**/ | |
3610 | 1346 565, |
1347 /**/ | |
3608 | 1348 564, |
1349 /**/ | |
3606 | 1350 563, |
1351 /**/ | |
3604 | 1352 562, |
1353 /**/ | |
3602 | 1354 561, |
1355 /**/ | |
3600 | 1356 560, |
1357 /**/ | |
3598 | 1358 559, |
1359 /**/ | |
3596 | 1360 558, |
1361 /**/ | |
3594 | 1362 557, |
1363 /**/ | |
3592 | 1364 556, |
1365 /**/ | |
3590 | 1366 555, |
1367 /**/ | |
3588 | 1368 554, |
1369 /**/ | |
3586 | 1370 553, |
1371 /**/ | |
3584 | 1372 552, |
1373 /**/ | |
3582 | 1374 551, |
1375 /**/ | |
3580 | 1376 550, |
1377 /**/ | |
3578 | 1378 549, |
1379 /**/ | |
3576 | 1380 548, |
1381 /**/ | |
3574 | 1382 547, |
1383 /**/ | |
3572 | 1384 546, |
1385 /**/ | |
3570 | 1386 545, |
1387 /**/ | |
3568 | 1388 544, |
1389 /**/ | |
3566 | 1390 543, |
1391 /**/ | |
3564 | 1392 542, |
1393 /**/ | |
3562 | 1394 541, |
1395 /**/ | |
3560 | 1396 540, |
1397 /**/ | |
3558 | 1398 539, |
1399 /**/ | |
3555 | 1400 538, |
1401 /**/ | |
3553 | 1402 537, |
1403 /**/ | |
3551 | 1404 536, |
1405 /**/ | |
3549 | 1406 535, |
1407 /**/ | |
3547 | 1408 534, |
1409 /**/ | |
3545 | 1410 533, |
1411 /**/ | |
3543 | 1412 532, |
1413 /**/ | |
3541 | 1414 531, |
1415 /**/ | |
3539 | 1416 530, |
1417 /**/ | |
3537 | 1418 529, |
1419 /**/ | |
3535 | 1420 528, |
1421 /**/ | |
3533 | 1422 527, |
1423 /**/ | |
3531 | 1424 526, |
1425 /**/ | |
3529 | 1426 525, |
1427 /**/ | |
3527 | 1428 524, |
1429 /**/ | |
1430 523, | |
3524 | 1431 /**/ |
3522 | 1432 522, |
1433 /**/ | |
3520 | 1434 521, |
1435 /**/ | |
3518 | 1436 520, |
1437 /**/ | |
3516 | 1438 519, |
1439 /**/ | |
3514 | 1440 518, |
1441 /**/ | |
3510 | 1442 517, |
1443 /**/ | |
3508 | 1444 516, |
1445 /**/ | |
3505 | 1446 515, |
1447 /**/ | |
3503 | 1448 514, |
1449 /**/ | |
3501 | 1450 513, |
1451 /**/ | |
3499 | 1452 512, |
1453 /**/ | |
3497 | 1454 511, |
1455 /**/ | |
3494 | 1456 510, |
1457 /**/ | |
3490 | 1458 509, |
1459 /**/ | |
3488 | 1460 508, |
1461 /**/ | |
3486 | 1462 507, |
1463 /**/ | |
3484 | 1464 506, |
1465 /**/ | |
3482 | 1466 505, |
1467 /**/ | |
3480 | 1468 504, |
1469 /**/ | |
3478 | 1470 503, |
1471 /**/ | |
3476 | 1472 502, |
1473 /**/ | |
3474 | 1474 501, |
1475 /**/ | |
3472 | 1476 500, |
1477 /**/ | |
3470 | 1478 499, |
1479 /**/ | |
3468 | 1480 498, |
1481 /**/ | |
3466 | 1482 497, |
1483 /**/ | |
3463 | 1484 496, |
1485 /**/ | |
3461 | 1486 495, |
1487 /**/ | |
3459 | 1488 494, |
1489 /**/ | |
3457 | 1490 493, |
1491 /**/ | |
3454 | 1492 492, |
1493 /**/ | |
3452 | 1494 491, |
1495 /**/ | |
3450 | 1496 490, |
1497 /**/ | |
3448 | 1498 489, |
1499 /**/ | |
3446 | 1500 488, |
1501 /**/ | |
3443 | 1502 487, |
1503 /**/ | |
3441 | 1504 486, |
1505 /**/ | |
3439 | 1506 485, |
1507 /**/ | |
3437 | 1508 484, |
1509 /**/ | |
3435 | 1510 483, |
1511 /**/ | |
3433 | 1512 482, |
1513 /**/ | |
3431 | 1514 481, |
1515 /**/ | |
3429 | 1516 480, |
1517 /**/ | |
3427 | 1518 479, |
1519 /**/ | |
3425 | 1520 478, |
1521 /**/ | |
3423 | 1522 477, |
1523 /**/ | |
3421 | 1524 476, |
1525 /**/ | |
3419 | 1526 475, |
1527 /**/ | |
3417 | 1528 474, |
1529 /**/ | |
3415 | 1530 473, |
1531 /**/ | |
3413 | 1532 472, |
1533 /**/ | |
3411 | 1534 471, |
1535 /**/ | |
3408 | 1536 470, |
1537 /**/ | |
3406 | 1538 469, |
1539 /**/ | |
3404 | 1540 468, |
1541 /**/ | |
3402 | 1542 467, |
1543 /**/ | |
3400 | 1544 466, |
1545 /**/ | |
3398 | 1546 465, |
3396 | 1547 /**/ |
1548 464, | |
1549 /**/ | |
3394 | 1550 463, |
1551 /**/ | |
3392 | 1552 462, |
1553 /**/ | |
3390 | 1554 461, |
1555 /**/ | |
3388 | 1556 460, |
1557 /**/ | |
3386 | 1558 459, |
1559 /**/ | |
3384 | 1560 458, |
1561 /**/ | |
3382 | 1562 457, |
1563 /**/ | |
3380 | 1564 456, |
1565 /**/ | |
3378 | 1566 455, |
1567 /**/ | |
3376 | 1568 454, |
1569 /**/ | |
3374 | 1570 453, |
1571 /**/ | |
3372 | 1572 452, |
1573 /**/ | |
3369 | 1574 451, |
1575 /**/ | |
3367 | 1576 450, |
1577 /**/ | |
3365 | 1578 449, |
1579 /**/ | |
3363 | 1580 448, |
1581 /**/ | |
3361 | 1582 447, |
1583 /**/ | |
3359 | 1584 446, |
1585 /**/ | |
3357 | 1586 445, |
1587 /**/ | |
3354 | 1588 444, |
1589 /**/ | |
3352 | 1590 443, |
1591 /**/ | |
3350 | 1592 442, |
1593 /**/ | |
3348 | 1594 441, |
1595 /**/ | |
3346 | 1596 440, |
1597 /**/ | |
3344 | 1598 439, |
1599 /**/ | |
3342 | 1600 438, |
1601 /**/ | |
3340 | 1602 437, |
1603 /**/ | |
3338 | 1604 436, |
1605 /**/ | |
3336 | 1606 435, |
1607 /**/ | |
3334 | 1608 434, |
1609 /**/ | |
3332 | 1610 433, |
1611 /**/ | |
3330 | 1612 432, |
1613 /**/ | |
3328 | 1614 431, |
1615 /**/ | |
3326 | 1616 430, |
1617 /**/ | |
3324 | 1618 429, |
1619 /**/ | |
3322 | 1620 428, |
1621 /**/ | |
3320 | 1622 427, |
1623 /**/ | |
3318 | 1624 426, |
1625 /**/ | |
3316 | 1626 425, |
1627 /**/ | |
3314 | 1628 424, |
1629 /**/ | |
3312 | 1630 423, |
1631 /**/ | |
3310 | 1632 422, |
1633 /**/ | |
3308 | 1634 421, |
1635 /**/ | |
3306 | 1636 420, |
1637 /**/ | |
3304 | 1638 419, |
1639 /**/ | |
3302 | 1640 418, |
1641 /**/ | |
3300 | 1642 417, |
1643 /**/ | |
3298 | 1644 416, |
1645 /**/ | |
3294 | 1646 415, |
1647 /**/ | |
3292 | 1648 414, |
1649 /**/ | |
3290 | 1650 413, |
1651 /**/ | |
3288 | 1652 412, |
1653 /**/ | |
3286 | 1654 411, |
1655 /**/ | |
3284 | 1656 410, |
1657 /**/ | |
3282 | 1658 409, |
1659 /**/ | |
3279 | 1660 408, |
1661 /**/ | |
3277 | 1662 407, |
1663 /**/ | |
3275 | 1664 406, |
1665 /**/ | |
3273 | 1666 405, |
1667 /**/ | |
3271 | 1668 404, |
1669 /**/ | |
3269 | 1670 403, |
1671 /**/ | |
3267 | 1672 402, |
1673 /**/ | |
3265 | 1674 401, |
1675 /**/ | |
3263 | 1676 400, |
1677 /**/ | |
3261 | 1678 399, |
1679 /**/ | |
3259 | 1680 398, |
1681 /**/ | |
3257 | 1682 397, |
1683 /**/ | |
3254 | 1684 396, |
1685 /**/ | |
3252 | 1686 395, |
1687 /**/ | |
3250 | 1688 394, |
1689 /**/ | |
3248 | 1690 393, |
1691 /**/ | |
3246 | 1692 392, |
1693 /**/ | |
3244 | 1694 391, |
1695 /**/ | |
3242 | 1696 390, |
1697 /**/ | |
3240 | 1698 389, |
1699 /**/ | |
3238 | 1700 388, |
1701 /**/ | |
3235 | 1702 387, |
1703 /**/ | |
3233 | 1704 386, |
1705 /**/ | |
3231 | 1706 385, |
1707 /**/ | |
3229 | 1708 384, |
1709 /**/ | |
3227 | 1710 383, |
1711 /**/ | |
3225 | 1712 382, |
1713 /**/ | |
3222 | 1714 381, |
1715 /**/ | |
3220 | 1716 380, |
1717 /**/ | |
3218 | 1718 379, |
1719 /**/ | |
3216 | 1720 378, |
1721 /**/ | |
3214 | 1722 377, |
1723 /**/ | |
3212 | 1724 376, |
1725 /**/ | |
3210 | 1726 375, |
1727 /**/ | |
3208 | 1728 374, |
1729 /**/ | |
3206 | 1730 373, |
1731 /**/ | |
3204 | 1732 372, |
1733 /**/ | |
3202 | 1734 371, |
1735 /**/ | |
3200 | 1736 370, |
1737 /**/ | |
3198 | 1738 369, |
1739 /**/ | |
3196 | 1740 368, |
1741 /**/ | |
3194 | 1742 367, |
1743 /**/ | |
3192 | 1744 366, |
1745 /**/ | |
3190 | 1746 365, |
1747 /**/ | |
3188 | 1748 364, |
1749 /**/ | |
3186 | 1750 363, |
1751 /**/ | |
3184 | 1752 362, |
1753 /**/ | |
3182 | 1754 361, |
1755 /**/ | |
3180 | 1756 360, |
1757 /**/ | |
3178 | 1758 359, |
1759 /**/ | |
3176 | 1760 358, |
1761 /**/ | |
3174 | 1762 357, |
1763 /**/ | |
3172 | 1764 356, |
1765 /**/ | |
3170 | 1766 355, |
1767 /**/ | |
3168 | 1768 354, |
1769 /**/ | |
3166 | 1770 353, |
1771 /**/ | |
3164 | 1772 352, |
1773 /**/ | |
3162 | 1774 351, |
1775 /**/ | |
3160 | 1776 350, |
1777 /**/ | |
3158 | 1778 349, |
1779 /**/ | |
3156 | 1780 348, |
1781 /**/ | |
3154 | 1782 347, |
1783 /**/ | |
3151 | 1784 346, |
1785 /**/ | |
3149 | 1786 345, |
1787 /**/ | |
3147 | 1788 344, |
1789 /**/ | |
3145 | 1790 343, |
1791 /**/ | |
3143 | 1792 342, |
1793 /**/ | |
3141 | 1794 341, |
1795 /**/ | |
3139 | 1796 340, |
1797 /**/ | |
3137 | 1798 339, |
1799 /**/ | |
3135 | 1800 338, |
1801 /**/ | |
3133 | 1802 337, |
1803 /**/ | |
3131 | 1804 336, |
1805 /**/ | |
3129 | 1806 335, |
1807 /**/ | |
3127 | 1808 334, |
1809 /**/ | |
3125 | 1810 333, |
1811 /**/ | |
3123 | 1812 332, |
1813 /**/ | |
3121 | 1814 331, |
1815 /**/ | |
3119 | 1816 330, |
1817 /**/ | |
3116 | 1818 329, |
1819 /**/ | |
3114 | 1820 328, |
1821 /**/ | |
3112 | 1822 327, |
1823 /**/ | |
3110 | 1824 326, |
1825 /**/ | |
3108 | 1826 325, |
1827 /**/ | |
3106 | 1828 324, |
1829 /**/ | |
3104 | 1830 323, |
1831 /**/ | |
3102 | 1832 322, |
1833 /**/ | |
3100 | 1834 321, |
1835 /**/ | |
3097 | 1836 320, |
1837 /**/ | |
3095 | 1838 319, |
1839 /**/ | |
3093 | 1840 318, |
1841 /**/ | |
3091 | 1842 317, |
1843 /**/ | |
3089 | 1844 316, |
1845 /**/ | |
3087 | 1846 315, |
1847 /**/ | |
3085 | 1848 314, |
1849 /**/ | |
3083 | 1850 313, |
1851 /**/ | |
3080 | 1852 312, |
1853 /**/ | |
3078 | 1854 311, |
1855 /**/ | |
3076 | 1856 310, |
1857 /**/ | |
3074 | 1858 309, |
1859 /**/ | |
3072 | 1860 308, |
1861 /**/ | |
3070 | 1862 307, |
1863 /**/ | |
3068 | 1864 306, |
1865 /**/ | |
3066 | 1866 305, |
1867 /**/ | |
3064 | 1868 304, |
1869 /**/ | |
3062 | 1870 303, |
1871 /**/ | |
3060 | 1872 302, |
1873 /**/ | |
3058 | 1874 301, |
1875 /**/ | |
3056 | 1876 300, |
1877 /**/ | |
3054 | 1878 299, |
1879 /**/ | |
3052 | 1880 298, |
1881 /**/ | |
3050 | 1882 297, |
1883 /**/ | |
3048 | 1884 296, |
1885 /**/ | |
3046 | 1886 295, |
1887 /**/ | |
3044 | 1888 294, |
1889 /**/ | |
3042 | 1890 293, |
1891 /**/ | |
3040 | 1892 292, |
1893 /**/ | |
3038 | 1894 291, |
1895 /**/ | |
3036 | 1896 290, |
1897 /**/ | |
3034 | 1898 289, |
1899 /**/ | |
3032 | 1900 288, |
1901 /**/ | |
3030 | 1902 287, |
1903 /**/ | |
3028 | 1904 286, |
1905 /**/ | |
3026 | 1906 285, |
1907 /**/ | |
3024 | 1908 284, |
1909 /**/ | |
3022 | 1910 283, |
1911 /**/ | |
3020 | 1912 282, |
1913 /**/ | |
3018 | 1914 281, |
1915 /**/ | |
3016 | 1916 280, |
1917 /**/ | |
3014 | 1918 279, |
1919 /**/ | |
3012 | 1920 278, |
1921 /**/ | |
3010 | 1922 277, |
1923 /**/ | |
3008 | 1924 276, |
1925 /**/ | |
3006 | 1926 275, |
1927 /**/ | |
3004 | 1928 274, |
1929 /**/ | |
3002 | 1930 273, |
1931 /**/ | |
3000 | 1932 272, |
1933 /**/ | |
2998 | 1934 271, |
1935 /**/ | |
2996 | 1936 270, |
1937 /**/ | |
2994 | 1938 269, |
1939 /**/ | |
2992 | 1940 268, |
1941 /**/ | |
2990 | 1942 267, |
1943 /**/ | |
2988 | 1944 266, |
1945 /**/ | |
2986 | 1946 265, |
1947 /**/ | |
2984 | 1948 264, |
1949 /**/ | |
2982 | 1950 263, |
1951 /**/ | |
2980 | 1952 262, |
1953 /**/ | |
2978 | 1954 261, |
1955 /**/ | |
2976 | 1956 260, |
1957 /**/ | |
2974 | 1958 259, |
1959 /**/ | |
2972 | 1960 258, |
1961 /**/ | |
2970 | 1962 257, |
1963 /**/ | |
2968 | 1964 256, |
1965 /**/ | |
2966 | 1966 255, |
1967 /**/ | |
2963 | 1968 254, |
1969 /**/ | |
2961 | 1970 253, |
1971 /**/ | |
2959 | 1972 252, |
1973 /**/ | |
2957 | 1974 251, |
1975 /**/ | |
2955 | 1976 250, |
1977 /**/ | |
2953 | 1978 249, |
1979 /**/ | |
2951 | 1980 248, |
1981 /**/ | |
2949 | 1982 247, |
1983 /**/ | |
2947 | 1984 246, |
1985 /**/ | |
2945 | 1986 245, |
1987 /**/ | |
2943 | 1988 244, |
1989 /**/ | |
2941 | 1990 243, |
1991 /**/ | |
2939 | 1992 242, |
1993 /**/ | |
2937 | 1994 241, |
1995 /**/ | |
2935 | 1996 240, |
1997 /**/ | |
2933 | 1998 239, |
1999 /**/ | |
2931 | 2000 238, |
2001 /**/ | |
2929 | 2002 237, |
2003 /**/ | |
2927 | 2004 236, |
2005 /**/ | |
2925 | 2006 235, |
2007 /**/ | |
2923 | 2008 234, |
2009 /**/ | |
2921 | 2010 233, |
2011 /**/ | |
2919 | 2012 232, |
2013 /**/ | |
2917 | 2014 231, |
2015 /**/ | |
2915 | 2016 230, |
2017 /**/ | |
2913 | 2018 229, |
2019 /**/ | |
2911 | 2020 228, |
2021 /**/ | |
2909 | 2022 227, |
2023 /**/ | |
2906 | 2024 226, |
2025 /**/ | |
2904 | 2026 225, |
2027 /**/ | |
2902 | 2028 224, |
2029 /**/ | |
2900 | 2030 223, |
2031 /**/ | |
2898 | 2032 222, |
2033 /**/ | |
2896 | 2034 221, |
2035 /**/ | |
2894 | 2036 220, |
2037 /**/ | |
2891 | 2038 219, |
2039 /**/ | |
2889 | 2040 218, |
2041 /**/ | |
2887 | 2042 217, |
2043 /**/ | |
2885 | 2044 216, |
2045 /**/ | |
2883 | 2046 215, |
2047 /**/ | |
2881 | 2048 214, |
2049 /**/ | |
2879 | 2050 213, |
2051 /**/ | |
2877 | 2052 212, |
2053 /**/ | |
2875 | 2054 211, |
2055 /**/ | |
2873 | 2056 210, |
2057 /**/ | |
2871 | 2058 209, |
2059 /**/ | |
2869 | 2060 208, |
2061 /**/ | |
2867 | 2062 207, |
2063 /**/ | |
2865 | 2064 206, |
2065 /**/ | |
2863 | 2066 205, |
2067 /**/ | |
2861 | 2068 204, |
2069 /**/ | |
2859 | 2070 203, |
2071 /**/ | |
2857 | 2072 202, |
2073 /**/ | |
2855 | 2074 201, |
2075 /**/ | |
2853 | 2076 200, |
2077 /**/ | |
2851 | 2078 199, |
2079 /**/ | |
2849 | 2080 198, |
2081 /**/ | |
2847 | 2082 197, |
2083 /**/ | |
2845 | 2084 196, |
2085 /**/ | |
2843 | 2086 195, |
2087 /**/ | |
2841 | 2088 194, |
2089 /**/ | |
2839 | 2090 193, |
2091 /**/ | |
2837 | 2092 192, |
2093 /**/ | |
2834 | 2094 191, |
2095 /**/ | |
2831 | 2096 190, |
2097 /**/ | |
2829 | 2098 189, |
2099 /**/ | |
2827 | 2100 188, |
2101 /**/ | |
2823 | 2102 187, |
2103 /**/ | |
2821 | 2104 186, |
2105 /**/ | |
2819 | 2106 185, |
2107 /**/ | |
2817 | 2108 184, |
2109 /**/ | |
2815 | 2110 183, |
2111 /**/ | |
2813 | 2112 182, |
2113 /**/ | |
2811 | 2114 181, |
2115 /**/ | |
2809 | 2116 180, |
2117 /**/ | |
2807 | 2118 179, |
2119 /**/ | |
2805 | 2120 178, |
2121 /**/ | |
2803 | 2122 177, |
2123 /**/ | |
2801 | 2124 176, |
2125 /**/ | |
2799 | 2126 175, |
2127 /**/ | |
2797 | 2128 174, |
2129 /**/ | |
2795 | 2130 173, |
2131 /**/ | |
2793 | 2132 172, |
2133 /**/ | |
2791 | 2134 171, |
2135 /**/ | |
2789 | 2136 170, |
2137 /**/ | |
2786 | 2138 169, |
2139 /**/ | |
2784 | 2140 168, |
2141 /**/ | |
2782 | 2142 167, |
2143 /**/ | |
2780 | 2144 166, |
2145 /**/ | |
2778 | 2146 165, |
2147 /**/ | |
2776 | 2148 164, |
2149 /**/ | |
2774 | 2150 163, |
2151 /**/ | |
2772 | 2152 162, |
2153 /**/ | |
2770 | 2154 161, |
2155 /**/ | |
2768 | 2156 160, |
2157 /**/ | |
2766 | 2158 159, |
2159 /**/ | |
2764 | 2160 158, |
2161 /**/ | |
2762 | 2162 157, |
2163 /**/ | |
2760 | 2164 156, |
2165 /**/ | |
2758 | 2166 155, |
2167 /**/ | |
2756 | 2168 154, |
2169 /**/ | |
2754 | 2170 153, |
2171 /**/ | |
2752 | 2172 152, |
2173 /**/ | |
2749 | 2174 151, |
2175 /**/ | |
2747 | 2176 150, |
2177 /**/ | |
2745 | 2178 149, |
2179 /**/ | |
2743 | 2180 148, |
2181 /**/ | |
2741 | 2182 147, |
2183 /**/ | |
2739 | 2184 146, |
2185 /**/ | |
2737 | 2186 145, |
2187 /**/ | |
2735 | 2188 144, |
2189 /**/ | |
2730 | 2190 143, |
2191 /**/ | |
2727 | 2192 142, |
2193 /**/ | |
2726 | 2194 141, |
2195 /**/ | |
2724 | 2196 140, |
2197 /**/ | |
2723 | 2198 139, |
2199 /**/ | |
2722 | 2200 138, |
2201 /**/ | |
2721 | 2202 137, |
2203 /**/ | |
2720 | 2204 136, |
2205 /**/ | |
2719 | 2206 135, |
2207 /**/ | |
2718 | 2208 134, |
2209 /**/ | |
2717 | 2210 133, |
2211 /**/ | |
2716 | 2212 132, |
2213 /**/ | |
2715 | 2214 131, |
2215 /**/ | |
2714 | 2216 130, |
2217 /**/ | |
2713 | 2218 129, |
2219 /**/ | |
2712 | 2220 128, |
2221 /**/ | |
2711 | 2222 127, |
2223 /**/ | |
2710 | 2224 126, |
2225 /**/ | |
2708 | 2226 125, |
2227 /**/ | |
2707 | 2228 124, |
2229 /**/ | |
2706 | 2230 123, |
2231 /**/ | |
2705 | 2232 122, |
2233 /**/ | |
2704 | 2234 121, |
2235 /**/ | |
2703 | 2236 120, |
2237 /**/ | |
2702 | 2238 119, |
2239 /**/ | |
2701 | 2240 118, |
2241 /**/ | |
2700 | 2242 117, |
2243 /**/ | |
2699 | 2244 116, |
2245 /**/ | |
2697 | 2246 115, |
2247 /**/ | |
2696 | 2248 114, |
2249 /**/ | |
2695 | 2250 113, |
2251 /**/ | |
2694 | 2252 112, |
2253 /**/ | |
2693 | 2254 111, |
2255 /**/ | |
2692 | 2256 110, |
2257 /**/ | |
2691 | 2258 109, |
2259 /**/ | |
2690 | 2260 108, |
2261 /**/ | |
2689 | 2262 107, |
2263 /**/ | |
2688 | 2264 106, |
2265 /**/ | |
2687 | 2266 105, |
2267 /**/ | |
2686 | 2268 104, |
2269 /**/ | |
2685 | 2270 103, |
2271 /**/ | |
2684 | 2272 102, |
2273 /**/ | |
2683 | 2274 101, |
2275 /**/ | |
2682 | 2276 100, |
2277 /**/ | |
2680 | 2278 99, |
2279 /**/ | |
2679 | 2280 98, |
2281 /**/ | |
2678 | 2282 97, |
2283 /**/ | |
2677 | 2284 96, |
2285 /**/ | |
2676 | 2286 95, |
2287 /**/ | |
2675 | 2288 94, |
2289 /**/ | |
2674 | 2290 93, |
2291 /**/ | |
2673 | 2292 92, |
2293 /**/ | |
2672 | 2294 91, |
2295 /**/ | |
2671 | 2296 90, |
2297 /**/ | |
2670 | 2298 89, |
2299 /**/ | |
2669 | 2300 88, |
2301 /**/ | |
2668 | 2302 87, |
2303 /**/ | |
2667 | 2304 86, |
2305 /**/ | |
2666 | 2306 85, |
2307 /**/ | |
2665 | 2308 84, |
2309 /**/ | |
2664 | 2310 83, |
2311 /**/ | |
2663 | 2312 82, |
2313 /**/ | |
2661 | 2314 81, |
2315 /**/ | |
2660 | 2316 80, |
2317 /**/ | |
2659 | 2318 79, |
2319 /**/ | |
2658 | 2320 78, |
2321 /**/ | |
2657 | 2322 77, |
2323 /**/ | |
2656 | 2324 76, |
2325 /**/ | |
2655 | 2326 75, |
2327 /**/ | |
2654 | 2328 74, |
2329 /**/ | |
2653 | 2330 73, |
2331 /**/ | |
2652 | 2332 72, |
2333 /**/ | |
2651 | 2334 71, |
2335 /**/ | |
2650 | 2336 70, |
2337 /**/ | |
2649 | 2338 69, |
2339 /**/ | |
2648 | 2340 68, |
2341 /**/ | |
2647 | 2342 67, |
2343 /**/ | |
2646 | 2344 66, |
2345 /**/ | |
2645 | 2346 65, |
2347 /**/ | |
2644 | 2348 64, |
2349 /**/ | |
2643 | 2350 63, |
2351 /**/ | |
2641 | 2352 62, |
2353 /**/ | |
2640 | 2354 61, |
2355 /**/ | |
2639 | 2356 60, |
2357 /**/ | |
2638 | 2358 59, |
2359 /**/ | |
2637 | 2360 58, |
2361 /**/ | |
2636 | 2362 57, |
2363 /**/ | |
2635 | 2364 56, |
2365 /**/ | |
2634 | 2366 55, |
2367 /**/ | |
2633 | 2368 54, |
2369 /**/ | |
2632 | 2370 53, |
2371 /**/ | |
2631 | 2372 52, |
2373 /**/ | |
2630 | 2374 51, |
2375 /**/ | |
2629 | 2376 50, |
2377 /**/ | |
2628 | 2378 49, |
2379 /**/ | |
2627 | 2380 48, |
2381 /**/ | |
2626 | 2382 47, |
2383 /**/ | |
2624 | 2384 46, |
2385 /**/ | |
2623 | 2386 45, |
2387 /**/ | |
2622 | 2388 44, |
2389 /**/ | |
2621 | 2390 43, |
2391 /**/ | |
2620 | 2392 42, |
2393 /**/ | |
2619 | 2394 41, |
2395 /**/ | |
2618 | 2396 40, |
2397 /**/ | |
2617 | 2398 39, |
2399 /**/ | |
2616 | 2400 38, |
2401 /**/ | |
2615 | 2402 37, |
2403 /**/ | |
2614 | 2404 36, |
2405 /**/ | |
2613 | 2406 35, |
2407 /**/ | |
2612 | 2408 34, |
2409 /**/ | |
2611 | 2410 33, |
2411 /**/ | |
2610 | 2412 32, |
2413 /**/ | |
2609 | 2414 31, |
2415 /**/ | |
2607 | 2416 30, |
2417 /**/ | |
2606 | 2418 29, |
2419 /**/ | |
2605 | 2420 28, |
2421 /**/ | |
2604 | 2422 27, |
2423 /**/ | |
2603 | 2424 26, |
2425 /**/ | |
2602 | 2426 25, |
2427 /**/ | |
2601 | 2428 24, |
2429 /**/ | |
2600 | 2430 23, |
2431 /**/ | |
2599 | 2432 22, |
2433 /**/ | |
2598 | 2434 21, |
2435 /**/ | |
2597 | 2436 20, |
2437 /**/ | |
2595 | 2438 19, |
2439 /**/ | |
2594 | 2440 18, |
2441 /**/ | |
2593 | 2442 17, |
2443 /**/ | |
2592 | 2444 16, |
2445 /**/ | |
2591 | 2446 15, |
2447 /**/ | |
2590 | 2448 14, |
2449 /**/ | |
2589 | 2450 13, |
2451 /**/ | |
2588 | 2452 12, |
2453 /**/ | |
2586 | 2454 11, |
2455 /**/ | |
2585 | 2456 10, |
2457 /**/ | |
2584 | 2458 9, |
2459 /**/ | |
2583 | 2460 8, |
2461 /**/ | |
2582 | 2462 7, |
2463 /**/ | |
2580 | 2464 6, |
2465 /**/ | |
2579 | 2466 5, |
2467 /**/ | |
2578 | 2468 4, |
2469 /**/ | |
2165
733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
2470 3, |
733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
2471 /**/ |
733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
2472 2, |
733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
2473 /**/ |
733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
2474 1, |
733f0dc510c3
Undo changes that are meant for the Vim 7.3 branch.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
2475 /**/ |
7 | 2476 0 |
2477 }; | |
2478 | |
1760 | 2479 /* |
2480 * Place to put a short description when adding a feature with a patch. | |
2481 * Keep it short, e.g.,: "relative numbers", "persistent undo". | |
2482 * Also add a comment marker to separate the lines. | |
2483 * See the official Vim patches for the diff format: It must use a context of | |
1777 | 2484 * one line only. Create it by hand or use "diff -C2" and edit the patch. |
1760 | 2485 */ |
2486 static char *(extra_patches[]) = | |
2487 { /* Add your patch description below this line */ | |
2488 /**/ | |
2489 NULL | |
2490 }; | |
2491 | |
7 | 2492 int |
2493 highest_patch() | |
2494 { | |
2495 int i; | |
2496 int h = 0; | |
2497 | |
2498 for (i = 0; included_patches[i] != 0; ++i) | |
2499 if (included_patches[i] > h) | |
2500 h = included_patches[i]; | |
2501 return h; | |
2502 } | |
2503 | |
2504 #if defined(FEAT_EVAL) || defined(PROTO) | |
2505 /* | |
2506 * Return TRUE if patch "n" has been included. | |
2507 */ | |
2508 int | |
2509 has_patch(n) | |
2510 int n; | |
2511 { | |
2512 int i; | |
2513 | |
2514 for (i = 0; included_patches[i] != 0; ++i) | |
2515 if (included_patches[i] == n) | |
2516 return TRUE; | |
2517 return FALSE; | |
2518 } | |
2519 #endif | |
2520 | |
2521 void | |
2522 ex_version(eap) | |
2523 exarg_T *eap; | |
2524 { | |
2525 /* | |
2526 * Ignore a ":version 9.99" command. | |
2527 */ | |
2528 if (*eap->arg == NUL) | |
2529 { | |
2530 msg_putchar('\n'); | |
2531 list_version(); | |
2532 } | |
2533 } | |
2534 | |
4147 | 2535 /* |
2536 * List all features aligned in columns, dictionary style. | |
2537 */ | |
2538 static void | |
2539 list_features() | |
2540 { | |
2541 int i; | |
2542 int ncol; | |
2543 int nrow; | |
2544 int nfeat = 0; | |
2545 int width = 0; | |
2546 | |
2547 /* Find the length of the longest feature name, use that + 1 as the column | |
2548 * width */ | |
2549 for (i = 0; features[i] != NULL; ++i) | |
2550 { | |
4160 | 2551 int l = (int)STRLEN(features[i]); |
4147 | 2552 |
2553 if (l > width) | |
2554 width = l; | |
2555 ++nfeat; | |
2556 } | |
2557 width += 1; | |
2558 | |
2559 if (Columns < width) | |
2560 { | |
2561 /* Not enough screen columns - show one per line */ | |
2562 for (i = 0; features[i] != NULL; ++i) | |
2563 { | |
2564 version_msg(features[i]); | |
2565 if (msg_col > 0) | |
2566 msg_putchar('\n'); | |
2567 } | |
2568 return; | |
2569 } | |
2570 | |
2571 /* The rightmost column doesn't need a separator. | |
2572 * Sacrifice it to fit in one more column if possible. */ | |
4170 | 2573 ncol = (int) (Columns + 1) / width; |
4147 | 2574 nrow = nfeat / ncol + (nfeat % ncol ? 1 : 0); |
2575 | |
4170 | 2576 /* i counts columns then rows. idx counts rows then columns. */ |
4147 | 2577 for (i = 0; !got_int && i < nrow * ncol; ++i) |
2578 { | |
2579 int idx = (i / ncol) + (i % ncol) * nrow; | |
2580 | |
2581 if (idx < nfeat) | |
2582 { | |
2583 int last_col = (i + 1) % ncol == 0; | |
2584 | |
2585 msg_puts((char_u *)features[idx]); | |
2586 if (last_col) | |
2587 { | |
2588 if (msg_col > 0) | |
2589 msg_putchar('\n'); | |
2590 } | |
2591 else | |
2592 { | |
2593 while (msg_col % width) | |
2594 msg_putchar(' '); | |
2595 } | |
2596 } | |
2597 else | |
4170 | 2598 { |
2599 if (msg_col > 0) | |
2600 msg_putchar('\n'); | |
2601 } | |
4147 | 2602 } |
2603 } | |
4160 | 2604 |
7 | 2605 void |
2606 list_version() | |
2607 { | |
2608 int i; | |
2609 int first; | |
2610 char *s = ""; | |
2611 | |
2612 /* | |
2613 * When adding features here, don't forget to update the list of | |
2614 * internal variables in eval.c! | |
2615 */ | |
2616 MSG(longVersion); | |
2617 #ifdef WIN3264 | |
2618 # ifdef FEAT_GUI_W32 | |
2619 # if defined(_MSC_VER) && (_MSC_VER <= 1010) | |
2620 /* Only MS VC 4.1 and earlier can do Win32s */ | |
1607 | 2621 MSG_PUTS(_("\nMS-Windows 16/32-bit GUI version")); |
7 | 2622 # else |
990 | 2623 # ifdef _WIN64 |
1607 | 2624 MSG_PUTS(_("\nMS-Windows 64-bit GUI version")); |
990 | 2625 # else |
1607 | 2626 MSG_PUTS(_("\nMS-Windows 32-bit GUI version")); |
990 | 2627 # endif |
7 | 2628 # endif |
2629 if (gui_is_win32s()) | |
2630 MSG_PUTS(_(" in Win32s mode")); | |
2631 # ifdef FEAT_OLE | |
2632 MSG_PUTS(_(" with OLE support")); | |
2633 # endif | |
2634 # else | |
1607 | 2635 # ifdef _WIN64 |
2636 MSG_PUTS(_("\nMS-Windows 64-bit console version")); | |
2637 # else | |
2638 MSG_PUTS(_("\nMS-Windows 32-bit console version")); | |
2639 # endif | |
7 | 2640 # endif |
2641 #endif | |
2642 #ifdef WIN16 | |
1607 | 2643 MSG_PUTS(_("\nMS-Windows 16-bit version")); |
7 | 2644 #endif |
2645 #ifdef MSDOS | |
2646 # ifdef DJGPP | |
1607 | 2647 MSG_PUTS(_("\n32-bit MS-DOS version")); |
7 | 2648 # else |
1607 | 2649 MSG_PUTS(_("\n16-bit MS-DOS version")); |
7 | 2650 # endif |
2651 #endif | |
2652 #ifdef MACOS | |
2653 # ifdef MACOS_X | |
2654 # ifdef MACOS_X_UNIX | |
2655 MSG_PUTS(_("\nMacOS X (unix) version")); | |
2656 # else | |
2657 MSG_PUTS(_("\nMacOS X version")); | |
2658 # endif | |
2659 #else | |
2660 MSG_PUTS(_("\nMacOS version")); | |
2661 # endif | |
2662 #endif | |
2663 | |
2664 #ifdef VMS | |
1705 | 2665 MSG_PUTS(_("\nOpenVMS version")); |
1045 | 2666 # ifdef HAVE_PATHDEF |
2667 if (*compiled_arch != NUL) | |
2668 { | |
2669 MSG_PUTS(" - "); | |
2670 MSG_PUTS(compiled_arch); | |
2671 } | |
2672 # endif | |
2673 | |
7 | 2674 #endif |
2675 | |
2676 /* Print the list of patch numbers if there is at least one. */ | |
2677 /* Print a range when patches are consecutive: "1-10, 12, 15-40, 42-45" */ | |
2678 if (included_patches[0] != 0) | |
2679 { | |
2680 MSG_PUTS(_("\nIncluded patches: ")); | |
2681 first = -1; | |
2682 /* find last one */ | |
2683 for (i = 0; included_patches[i] != 0; ++i) | |
2684 ; | |
2685 while (--i >= 0) | |
2686 { | |
2687 if (first < 0) | |
2688 first = included_patches[i]; | |
2689 if (i == 0 || included_patches[i - 1] != included_patches[i] + 1) | |
2690 { | |
2691 MSG_PUTS(s); | |
2692 s = ", "; | |
2693 msg_outnum((long)first); | |
2694 if (first != included_patches[i]) | |
2695 { | |
2696 MSG_PUTS("-"); | |
2697 msg_outnum((long)included_patches[i]); | |
2698 } | |
2699 first = -1; | |
2700 } | |
2701 } | |
2702 } | |
2703 | |
1760 | 2704 /* Print the list of extra patch descriptions if there is at least one. */ |
2705 if (extra_patches[0] != NULL) | |
2706 { | |
2707 MSG_PUTS(_("\nExtra patches: ")); | |
2708 s = ""; | |
2709 for (i = 0; extra_patches[i] != NULL; ++i) | |
2710 { | |
2711 MSG_PUTS(s); | |
2712 s = ", "; | |
2713 MSG_PUTS(extra_patches[i]); | |
2714 } | |
2715 } | |
2716 | |
7 | 2717 #ifdef MODIFIED_BY |
2718 MSG_PUTS("\n"); | |
2719 MSG_PUTS(_("Modified by ")); | |
2720 MSG_PUTS(MODIFIED_BY); | |
2721 #endif | |
2722 | |
2723 #ifdef HAVE_PATHDEF | |
2724 if (*compiled_user != NUL || *compiled_sys != NUL) | |
2725 { | |
2726 MSG_PUTS(_("\nCompiled ")); | |
2727 if (*compiled_user != NUL) | |
2728 { | |
2729 MSG_PUTS(_("by ")); | |
2730 MSG_PUTS(compiled_user); | |
2731 } | |
2732 if (*compiled_sys != NUL) | |
2733 { | |
2734 MSG_PUTS("@"); | |
2735 MSG_PUTS(compiled_sys); | |
2736 } | |
2737 } | |
2738 #endif | |
2739 | |
2740 #ifdef FEAT_HUGE | |
2741 MSG_PUTS(_("\nHuge version ")); | |
2742 #else | |
2743 # ifdef FEAT_BIG | |
2744 MSG_PUTS(_("\nBig version ")); | |
2745 # else | |
2746 # ifdef FEAT_NORMAL | |
2747 MSG_PUTS(_("\nNormal version ")); | |
2748 # else | |
2749 # ifdef FEAT_SMALL | |
2750 MSG_PUTS(_("\nSmall version ")); | |
2751 # else | |
2752 MSG_PUTS(_("\nTiny version ")); | |
2753 # endif | |
2754 # endif | |
2755 # endif | |
2756 #endif | |
2757 #ifndef FEAT_GUI | |
2758 MSG_PUTS(_("without GUI.")); | |
2759 #else | |
2760 # ifdef FEAT_GUI_GTK | |
2761 # ifdef FEAT_GUI_GNOME | |
2762 MSG_PUTS(_("with GTK2-GNOME GUI.")); | |
2763 # else | |
2764 MSG_PUTS(_("with GTK2 GUI.")); | |
2765 # endif | |
2766 # else | |
2767 # ifdef FEAT_GUI_MOTIF | |
2768 MSG_PUTS(_("with X11-Motif GUI.")); | |
2769 # else | |
2770 # ifdef FEAT_GUI_ATHENA | |
2771 # ifdef FEAT_GUI_NEXTAW | |
2772 MSG_PUTS(_("with X11-neXtaw GUI.")); | |
2773 # else | |
2774 MSG_PUTS(_("with X11-Athena GUI.")); | |
2775 # endif | |
2776 # else | |
2777 # ifdef FEAT_GUI_PHOTON | |
2778 MSG_PUTS(_("with Photon GUI.")); | |
2779 # else | |
2780 # if defined(MSWIN) | |
2781 MSG_PUTS(_("with GUI.")); | |
2782 # else | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
2783 # if defined(TARGET_API_MAC_CARBON) && TARGET_API_MAC_CARBON |
7 | 2784 MSG_PUTS(_("with Carbon GUI.")); |
2785 # else | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
2786 # if defined(TARGET_API_MAC_OSX) && TARGET_API_MAC_OSX |
7 | 2787 MSG_PUTS(_("with Cocoa GUI.")); |
2788 # else | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
2789 # if defined(MACOS) |
7 | 2790 MSG_PUTS(_("with (classic) GUI.")); |
2791 # endif | |
2792 # endif | |
2793 # endif | |
2794 # endif | |
2795 # endif | |
2796 # endif | |
2797 # endif | |
2798 # endif | |
2799 #endif | |
2800 version_msg(_(" Features included (+) or not (-):\n")); | |
2801 | |
4147 | 2802 list_features(); |
7 | 2803 |
2804 #ifdef SYS_VIMRC_FILE | |
2805 version_msg(_(" system vimrc file: \"")); | |
2806 version_msg(SYS_VIMRC_FILE); | |
2807 version_msg("\"\n"); | |
2808 #endif | |
2809 #ifdef USR_VIMRC_FILE | |
2810 version_msg(_(" user vimrc file: \"")); | |
2811 version_msg(USR_VIMRC_FILE); | |
2812 version_msg("\"\n"); | |
2813 #endif | |
2814 #ifdef USR_VIMRC_FILE2 | |
2815 version_msg(_(" 2nd user vimrc file: \"")); | |
2816 version_msg(USR_VIMRC_FILE2); | |
2817 version_msg("\"\n"); | |
2818 #endif | |
2819 #ifdef USR_VIMRC_FILE3 | |
2820 version_msg(_(" 3rd user vimrc file: \"")); | |
2821 version_msg(USR_VIMRC_FILE3); | |
2822 version_msg("\"\n"); | |
2823 #endif | |
2824 #ifdef USR_EXRC_FILE | |
2825 version_msg(_(" user exrc file: \"")); | |
2826 version_msg(USR_EXRC_FILE); | |
2827 version_msg("\"\n"); | |
2828 #endif | |
2829 #ifdef USR_EXRC_FILE2 | |
2830 version_msg(_(" 2nd user exrc file: \"")); | |
2831 version_msg(USR_EXRC_FILE2); | |
2832 version_msg("\"\n"); | |
2833 #endif | |
2834 #ifdef FEAT_GUI | |
2835 # ifdef SYS_GVIMRC_FILE | |
2836 version_msg(_(" system gvimrc file: \"")); | |
2837 version_msg(SYS_GVIMRC_FILE); | |
2838 version_msg("\"\n"); | |
2839 # endif | |
2840 version_msg(_(" user gvimrc file: \"")); | |
2841 version_msg(USR_GVIMRC_FILE); | |
2842 version_msg("\"\n"); | |
2843 # ifdef USR_GVIMRC_FILE2 | |
2844 version_msg(_("2nd user gvimrc file: \"")); | |
2845 version_msg(USR_GVIMRC_FILE2); | |
2846 version_msg("\"\n"); | |
2847 # endif | |
2848 # ifdef USR_GVIMRC_FILE3 | |
2849 version_msg(_("3rd user gvimrc file: \"")); | |
2850 version_msg(USR_GVIMRC_FILE3); | |
2851 version_msg("\"\n"); | |
2852 # endif | |
2853 #endif | |
2854 #ifdef FEAT_GUI | |
2855 # ifdef SYS_MENU_FILE | |
2856 version_msg(_(" system menu file: \"")); | |
2857 version_msg(SYS_MENU_FILE); | |
2858 version_msg("\"\n"); | |
2859 # endif | |
2860 #endif | |
2861 #ifdef HAVE_PATHDEF | |
2862 if (*default_vim_dir != NUL) | |
2863 { | |
2864 version_msg(_(" fall-back for $VIM: \"")); | |
2865 version_msg((char *)default_vim_dir); | |
2866 version_msg("\"\n"); | |
2867 } | |
2868 if (*default_vimruntime_dir != NUL) | |
2869 { | |
2870 version_msg(_(" f-b for $VIMRUNTIME: \"")); | |
2871 version_msg((char *)default_vimruntime_dir); | |
2872 version_msg("\"\n"); | |
2873 } | |
2874 version_msg(_("Compilation: ")); | |
2875 version_msg((char *)all_cflags); | |
2876 version_msg("\n"); | |
2877 #ifdef VMS | |
2878 if (*compiler_version != NUL) | |
2879 { | |
2880 version_msg(_("Compiler: ")); | |
2881 version_msg((char *)compiler_version); | |
2882 version_msg("\n"); | |
2883 } | |
2884 #endif | |
2885 version_msg(_("Linking: ")); | |
2886 version_msg((char *)all_lflags); | |
2887 #endif | |
2888 #ifdef DEBUG | |
2889 version_msg("\n"); | |
2890 version_msg(_(" DEBUG BUILD")); | |
2891 #endif | |
2892 } | |
2893 | |
2894 /* | |
2895 * Output a string for the version message. If it's going to wrap, output a | |
2896 * newline, unless the message is too long to fit on the screen anyway. | |
2897 */ | |
2898 static void | |
2899 version_msg(s) | |
2900 char *s; | |
2901 { | |
2902 int len = (int)STRLEN(s); | |
2903 | |
2904 if (!got_int && len < (int)Columns && msg_col + len >= (int)Columns | |
2905 && *s != '\n') | |
2906 msg_putchar('\n'); | |
2907 if (!got_int) | |
2908 MSG_PUTS(s); | |
2909 } | |
2910 | |
2911 static void do_intro_line __ARGS((int row, char_u *mesg, int add_version, int attr)); | |
2912 | |
2913 /* | |
2914 * Give an introductory message about Vim. | |
2915 * Only used when starting Vim on an empty file, without a file name. | |
2916 * Or with the ":intro" command (for Sven :-). | |
2917 */ | |
2918 void | |
2919 intro_message(colon) | |
2920 int colon; /* TRUE for ":intro" */ | |
2921 { | |
2922 int i; | |
2923 int row; | |
2924 int blanklines; | |
2925 int sponsor; | |
2926 char *p; | |
2927 static char *(lines[]) = | |
2928 { | |
2929 N_("VIM - Vi IMproved"), | |
2930 "", | |
2931 N_("version "), | |
2932 N_("by Bram Moolenaar et al."), | |
2933 #ifdef MODIFIED_BY | |
2934 " ", | |
2935 #endif | |
2936 N_("Vim is open source and freely distributable"), | |
2937 "", | |
2938 N_("Help poor children in Uganda!"), | |
2939 N_("type :help iccf<Enter> for information "), | |
2940 "", | |
2941 N_("type :q<Enter> to exit "), | |
2942 N_("type :help<Enter> or <F1> for on-line help"), | |
26 | 2943 N_("type :help version7<Enter> for version info"), |
7 | 2944 NULL, |
2945 "", | |
2946 N_("Running in Vi compatible mode"), | |
2947 N_("type :set nocp<Enter> for Vim defaults"), | |
2948 N_("type :help cp-default<Enter> for info on this"), | |
2949 }; | |
2950 #ifdef FEAT_GUI | |
2951 static char *(gui_lines[]) = | |
2952 { | |
2953 NULL, | |
2954 NULL, | |
2955 NULL, | |
2956 NULL, | |
2957 #ifdef MODIFIED_BY | |
2958 NULL, | |
2959 #endif | |
2960 NULL, | |
2961 NULL, | |
2962 NULL, | |
2963 N_("menu Help->Orphans for information "), | |
2964 NULL, | |
2965 N_("Running modeless, typed text is inserted"), | |
2966 N_("menu Edit->Global Settings->Toggle Insert Mode "), | |
2967 N_(" for two modes "), | |
2968 NULL, | |
2969 NULL, | |
2970 NULL, | |
2971 N_("menu Edit->Global Settings->Toggle Vi Compatible"), | |
2972 N_(" for Vim defaults "), | |
2973 }; | |
2974 #endif | |
2975 | |
2976 /* blanklines = screen height - # message lines */ | |
2977 blanklines = (int)Rows - ((sizeof(lines) / sizeof(char *)) - 1); | |
2978 if (!p_cp) | |
2979 blanklines += 4; /* add 4 for not showing "Vi compatible" message */ | |
2980 #if defined(WIN3264) && !defined(FEAT_GUI_W32) | |
2981 if (mch_windows95()) | |
2982 blanklines -= 3; /* subtract 3 for showing "Windows 95" message */ | |
2983 #endif | |
2984 | |
2985 #ifdef FEAT_WINDOWS | |
2986 /* Don't overwrite a statusline. Depends on 'cmdheight'. */ | |
2987 if (p_ls > 1) | |
2988 blanklines -= Rows - topframe->fr_height; | |
2989 #endif | |
2990 if (blanklines < 0) | |
2991 blanklines = 0; | |
2992 | |
2993 /* Show the sponsor and register message one out of four times, the Uganda | |
2994 * message two out of four times. */ | |
615 | 2995 sponsor = (int)time(NULL); |
7 | 2996 sponsor = ((sponsor & 2) == 0) - ((sponsor & 4) == 0); |
2997 | |
2998 /* start displaying the message lines after half of the blank lines */ | |
2999 row = blanklines / 2; | |
3000 if ((row >= 2 && Columns >= 50) || colon) | |
3001 { | |
3002 for (i = 0; i < (int)(sizeof(lines) / sizeof(char *)); ++i) | |
3003 { | |
3004 p = lines[i]; | |
3005 #ifdef FEAT_GUI | |
3006 if (p_im && gui.in_use && gui_lines[i] != NULL) | |
3007 p = gui_lines[i]; | |
3008 #endif | |
3009 if (p == NULL) | |
3010 { | |
3011 if (!p_cp) | |
3012 break; | |
3013 continue; | |
3014 } | |
3015 if (sponsor != 0) | |
3016 { | |
3017 if (strstr(p, "children") != NULL) | |
3018 p = sponsor < 0 | |
3019 ? N_("Sponsor Vim development!") | |
3020 : N_("Become a registered Vim user!"); | |
3021 else if (strstr(p, "iccf") != NULL) | |
3022 p = sponsor < 0 | |
3023 ? N_("type :help sponsor<Enter> for information ") | |
3024 : N_("type :help register<Enter> for information "); | |
3025 else if (strstr(p, "Orphans") != NULL) | |
3026 p = N_("menu Help->Sponsor/Register for information "); | |
3027 } | |
3028 if (*p != NUL) | |
3029 do_intro_line(row, (char_u *)_(p), i == 2, 0); | |
3030 ++row; | |
3031 } | |
3032 #if defined(WIN3264) && !defined(FEAT_GUI_W32) | |
3033 if (mch_windows95()) | |
3034 { | |
3035 do_intro_line(++row, | |
3036 (char_u *)_("WARNING: Windows 95/98/ME detected"), | |
3037 FALSE, hl_attr(HLF_E)); | |
3038 do_intro_line(++row, | |
3039 (char_u *)_("type :help windows95<Enter> for info on this"), | |
3040 FALSE, 0); | |
3041 } | |
3042 #endif | |
3043 } | |
3044 | |
3045 /* Make the wait-return message appear just below the text. */ | |
3046 if (colon) | |
3047 msg_row = row; | |
3048 } | |
3049 | |
3050 static void | |
3051 do_intro_line(row, mesg, add_version, attr) | |
3052 int row; | |
3053 char_u *mesg; | |
3054 int add_version; | |
3055 int attr; | |
3056 { | |
3057 char_u vers[20]; | |
3058 int col; | |
3059 char_u *p; | |
3060 int l; | |
3061 int clen; | |
3062 #ifdef MODIFIED_BY | |
3063 # define MODBY_LEN 150 | |
3064 char_u modby[MODBY_LEN]; | |
3065 | |
3066 if (*mesg == ' ') | |
3067 { | |
1491 | 3068 vim_strncpy(modby, (char_u *)_("Modified by "), MODBY_LEN - 1); |
7 | 3069 l = STRLEN(modby); |
1491 | 3070 vim_strncpy(modby + l, (char_u *)MODIFIED_BY, MODBY_LEN - l - 1); |
7 | 3071 mesg = modby; |
3072 } | |
3073 #endif | |
3074 | |
3075 /* Center the message horizontally. */ | |
3076 col = vim_strsize(mesg); | |
3077 if (add_version) | |
3078 { | |
3079 STRCPY(vers, mediumVersion); | |
3080 if (highest_patch()) | |
3081 { | |
3082 /* Check for 9.9x or 9.9xx, alpha/beta version */ | |
2619 | 3083 if (isalpha((int)vers[3])) |
7 | 3084 { |
3396 | 3085 int len = (isalpha((int)vers[4])) ? 5 : 4; |
3086 sprintf((char *)vers + len, ".%d%s", highest_patch(), | |
3087 mediumVersion + len); | |
7 | 3088 } |
3089 else | |
3090 sprintf((char *)vers + 3, ".%d", highest_patch()); | |
3091 } | |
3092 col += (int)STRLEN(vers); | |
3093 } | |
3094 col = (Columns - col) / 2; | |
3095 if (col < 0) | |
3096 col = 0; | |
3097 | |
3098 /* Split up in parts to highlight <> items differently. */ | |
3099 for (p = mesg; *p != NUL; p += l) | |
3100 { | |
3101 clen = 0; | |
3102 for (l = 0; p[l] != NUL | |
3103 && (l == 0 || (p[l] != '<' && p[l - 1] != '>')); ++l) | |
3104 { | |
3105 #ifdef FEAT_MBYTE | |
3106 if (has_mbyte) | |
3107 { | |
3108 clen += ptr2cells(p + l); | |
474 | 3109 l += (*mb_ptr2len)(p + l) - 1; |
7 | 3110 } |
3111 else | |
3112 #endif | |
3113 clen += byte2cells(p[l]); | |
3114 } | |
3115 screen_puts_len(p, l, row, col, *p == '<' ? hl_attr(HLF_8) : attr); | |
3116 col += clen; | |
3117 } | |
3118 | |
3119 /* Add the version number to the version line. */ | |
3120 if (add_version) | |
3121 screen_puts(vers, row, col, 0); | |
3122 } | |
3123 | |
3124 /* | |
3125 * ":intro": clear screen, display intro screen and wait for return. | |
3126 */ | |
3127 void | |
3128 ex_intro(eap) | |
1876 | 3129 exarg_T *eap UNUSED; |
7 | 3130 { |
3131 screenclear(); | |
3132 intro_message(TRUE); | |
3133 wait_return(TRUE); | |
3134 } |