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