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