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