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