Mercurial > vim
annotate src/version.c @ 6852:f538da3ee271
Added tag v7-4-746 for changeset b782813c73a6
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 19 Jun 2015 16:45:44 +0200 |
parents | b782813c73a6 |
children | d1a87b307a50 |
rev | line source |
---|---|
7 | 1 /* vi:set ts=8 sts=4 sw=4: |
2 * | |
3 * VIM - Vi IMproved by Bram Moolenaar | |
4 * | |
5 * Do ":help uganda" in Vim to read copying and usage conditions. | |
6 * Do ":help credits" in Vim to see a list of people who contributed. | |
7 * See README.txt for an overview of the Vim source code. | |
8 */ | |
9 | |
10 #include "vim.h" | |
11 | |
12 #ifdef AMIGA | |
13 # include <time.h> /* for time() */ | |
14 #endif | |
15 | |
16 /* | |
17 * Vim originated from Stevie version 3.6 (Fish disk 217) by GRWalter (Fred) | |
18 * It has been changed beyond recognition since then. | |
19 * | |
26 | 20 * Differences between version 6.x and 7.x can be found with ":help version7". |
7 | 21 * Differences between version 5.x and 6.x can be found with ":help version6". |
22 * Differences between version 4.x and 5.x can be found with ":help version5". | |
23 * Differences between version 3.0 and 4.x can be found with ":help version4". | |
24 * All the remarks about older versions have been removed, they are not very | |
25 * interesting. | |
26 */ | |
27 | |
28 #include "version.h" | |
29 | |
378 | 30 char *Version = VIM_VERSION_SHORT; |
31 static char *mediumVersion = VIM_VERSION_MEDIUM; | |
7 | 32 |
33 #if defined(HAVE_DATE_TIME) || defined(PROTO) | |
34 # if (defined(VMS) && defined(VAXC)) || defined(PROTO) | |
35 char longVersion[sizeof(VIM_VERSION_LONG_DATE) + sizeof(__DATE__) | |
36 + sizeof(__TIME__) + 3]; | |
4147 | 37 |
7 | 38 void |
39 make_version() | |
40 { | |
41 /* | |
42 * Construct the long version string. Necessary because | |
43 * VAX C can't catenate strings in the preprocessor. | |
44 */ | |
45 strcpy(longVersion, VIM_VERSION_LONG_DATE); | |
46 strcat(longVersion, __DATE__); | |
47 strcat(longVersion, " "); | |
48 strcat(longVersion, __TIME__); | |
49 strcat(longVersion, ")"); | |
50 } | |
51 # else | |
52 char *longVersion = VIM_VERSION_LONG_DATE __DATE__ " " __TIME__ ")"; | |
53 # endif | |
54 #else | |
55 char *longVersion = VIM_VERSION_LONG; | |
56 #endif | |
57 | |
5166
467efeee8f9e
updated for version 7.4a.009
Bram Moolenaar <bram@vim.org>
parents:
5164
diff
changeset
|
58 static void list_features __ARGS((void)); |
7 | 59 static void version_msg __ARGS((char *s)); |
60 | |
61 static char *(features[]) = | |
62 { | |
5316 | 63 #ifdef HAVE_ACL |
64 "+acl", | |
65 #else | |
66 "-acl", | |
67 #endif | |
7 | 68 #ifdef AMIGA /* only for Amiga systems */ |
69 # ifdef FEAT_ARP | |
70 "+ARP", | |
71 # else | |
72 "-ARP", | |
73 # endif | |
74 #endif | |
75 #ifdef FEAT_ARABIC | |
76 "+arabic", | |
77 #else | |
78 "-arabic", | |
79 #endif | |
80 #ifdef FEAT_AUTOCMD | |
81 "+autocmd", | |
82 #else | |
83 "-autocmd", | |
84 #endif | |
85 #ifdef FEAT_BEVAL | |
86 "+balloon_eval", | |
87 #else | |
88 "-balloon_eval", | |
89 #endif | |
90 #ifdef FEAT_BROWSE | |
91 "+browse", | |
92 #else | |
93 "-browse", | |
94 #endif | |
95 #ifdef NO_BUILTIN_TCAPS | |
96 "-builtin_terms", | |
97 #endif | |
98 #ifdef SOME_BUILTIN_TCAPS | |
99 "+builtin_terms", | |
100 #endif | |
101 #ifdef ALL_BUILTIN_TCAPS | |
102 "++builtin_terms", | |
103 #endif | |
104 #ifdef FEAT_BYTEOFF | |
105 "+byte_offset", | |
106 #else | |
107 "-byte_offset", | |
108 #endif | |
109 #ifdef FEAT_CINDENT | |
110 "+cindent", | |
111 #else | |
112 "-cindent", | |
113 #endif | |
114 #ifdef FEAT_CLIENTSERVER | |
115 "+clientserver", | |
116 #else | |
117 "-clientserver", | |
118 #endif | |
119 #ifdef FEAT_CLIPBOARD | |
120 "+clipboard", | |
121 #else | |
122 "-clipboard", | |
123 #endif | |
124 #ifdef FEAT_CMDL_COMPL | |
125 "+cmdline_compl", | |
126 #else | |
127 "-cmdline_compl", | |
128 #endif | |
129 #ifdef FEAT_CMDHIST | |
130 "+cmdline_hist", | |
131 #else | |
132 "-cmdline_hist", | |
133 #endif | |
134 #ifdef FEAT_CMDL_INFO | |
135 "+cmdline_info", | |
136 #else | |
137 "-cmdline_info", | |
138 #endif | |
139 #ifdef FEAT_COMMENTS | |
140 "+comments", | |
141 #else | |
142 "-comments", | |
143 #endif | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
144 #ifdef FEAT_CONCEAL |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
145 "+conceal", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
146 #else |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
147 "-conceal", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
148 #endif |
7 | 149 #ifdef FEAT_CRYPT |
150 "+cryptv", | |
151 #else | |
152 "-cryptv", | |
153 #endif | |
154 #ifdef FEAT_CSCOPE | |
155 "+cscope", | |
156 #else | |
157 "-cscope", | |
158 #endif | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
159 #ifdef FEAT_CURSORBIND |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
160 "+cursorbind", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
161 #else |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
162 "-cursorbind", |
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
163 #endif |
647 | 164 #ifdef CURSOR_SHAPE |
165 "+cursorshape", | |
166 #else | |
167 "-cursorshape", | |
168 #endif | |
7 | 169 #if defined(FEAT_CON_DIALOG) && defined(FEAT_GUI_DIALOG) |
170 "+dialog_con_gui", | |
171 #else | |
172 # if defined(FEAT_CON_DIALOG) | |
173 "+dialog_con", | |
174 # else | |
175 # if defined(FEAT_GUI_DIALOG) | |
176 "+dialog_gui", | |
177 # else | |
178 "-dialog", | |
179 # endif | |
180 # endif | |
181 #endif | |
182 #ifdef FEAT_DIFF | |
183 "+diff", | |
184 #else | |
185 "-diff", | |
186 #endif | |
187 #ifdef FEAT_DIGRAPHS | |
188 "+digraphs", | |
189 #else | |
190 "-digraphs", | |
191 #endif | |
6110 | 192 #ifdef FEAT_GUI_W32 |
193 # ifdef FEAT_DIRECTX | |
194 "+directx", | |
195 # else | |
196 "-directx", | |
197 # endif | |
198 #endif | |
7 | 199 #ifdef FEAT_DND |
200 "+dnd", | |
201 #else | |
202 "-dnd", | |
203 #endif | |
204 #ifdef EBCDIC | |
205 "+ebcdic", | |
206 #else | |
207 "-ebcdic", | |
208 #endif | |
209 #ifdef FEAT_EMACS_TAGS | |
210 "+emacs_tags", | |
211 #else | |
212 "-emacs_tags", | |
213 #endif | |
214 #ifdef FEAT_EVAL | |
215 "+eval", | |
216 #else | |
217 "-eval", | |
218 #endif | |
219 #ifdef FEAT_EX_EXTRA | |
220 "+ex_extra", | |
221 #else | |
222 "-ex_extra", | |
223 #endif | |
224 #ifdef FEAT_SEARCH_EXTRA | |
225 "+extra_search", | |
226 #else | |
227 "-extra_search", | |
228 #endif | |
229 #ifdef FEAT_FKMAP | |
230 "+farsi", | |
231 #else | |
232 "-farsi", | |
233 #endif | |
234 #ifdef FEAT_SEARCHPATH | |
235 "+file_in_path", | |
236 #else | |
237 "-file_in_path", | |
238 #endif | |
239 #ifdef FEAT_FIND_ID | |
240 "+find_in_path", | |
241 #else | |
242 "-find_in_path", | |
243 #endif | |
1621 | 244 #ifdef FEAT_FLOAT |
245 "+float", | |
246 #else | |
247 "-float", | |
248 #endif | |
7 | 249 #ifdef FEAT_FOLDING |
250 "+folding", | |
251 #else | |
252 "-folding", | |
253 #endif | |
254 #ifdef FEAT_FOOTER | |
255 "+footer", | |
256 #else | |
257 "-footer", | |
258 #endif | |
259 /* only interesting on Unix systems */ | |
260 #if !defined(USE_SYSTEM) && defined(UNIX) | |
261 "+fork()", | |
262 #endif | |
263 #ifdef FEAT_GETTEXT | |
264 # ifdef DYNAMIC_GETTEXT | |
265 "+gettext/dyn", | |
266 # else | |
267 "+gettext", | |
268 # endif | |
269 #else | |
270 "-gettext", | |
271 #endif | |
272 #ifdef FEAT_HANGULIN | |
273 "+hangul_input", | |
274 #else | |
275 "-hangul_input", | |
276 #endif | |
277 #if (defined(HAVE_ICONV_H) && defined(USE_ICONV)) || defined(DYNAMIC_ICONV) | |
278 # ifdef DYNAMIC_ICONV | |
279 "+iconv/dyn", | |
280 # else | |
281 "+iconv", | |
282 # endif | |
283 #else | |
284 "-iconv", | |
285 #endif | |
286 #ifdef FEAT_INS_EXPAND | |
287 "+insert_expand", | |
288 #else | |
289 "-insert_expand", | |
290 #endif | |
291 #ifdef FEAT_JUMPLIST | |
292 "+jumplist", | |
293 #else | |
294 "-jumplist", | |
295 #endif | |
296 #ifdef FEAT_KEYMAP | |
297 "+keymap", | |
298 #else | |
299 "-keymap", | |
300 #endif | |
301 #ifdef FEAT_LANGMAP | |
302 "+langmap", | |
303 #else | |
304 "-langmap", | |
305 #endif | |
306 #ifdef FEAT_LIBCALL | |
307 "+libcall", | |
308 #else | |
309 "-libcall", | |
310 #endif | |
311 #ifdef FEAT_LINEBREAK | |
312 "+linebreak", | |
313 #else | |
314 "-linebreak", | |
315 #endif | |
316 #ifdef FEAT_LISP | |
317 "+lispindent", | |
318 #else | |
319 "-lispindent", | |
320 #endif | |
321 #ifdef FEAT_LISTCMDS | |
322 "+listcmds", | |
323 #else | |
324 "-listcmds", | |
325 #endif | |
326 #ifdef FEAT_LOCALMAP | |
327 "+localmap", | |
328 #else | |
329 "-localmap", | |
330 #endif | |
2320
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
331 #ifdef FEAT_LUA |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
332 # ifdef DYNAMIC_LUA |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
333 "+lua/dyn", |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
334 # else |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
335 "+lua", |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
336 # endif |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
337 #else |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
338 "-lua", |
966a5609669e
Added Lua interfae. (Luis Carvalho)
Bram Moolenaar <bram@vim.org>
parents:
2275
diff
changeset
|
339 #endif |
7 | 340 #ifdef FEAT_MENU |
341 "+menu", | |
342 #else | |
343 "-menu", | |
344 #endif | |
345 #ifdef FEAT_SESSION | |
346 "+mksession", | |
347 #else | |
348 "-mksession", | |
349 #endif | |
350 #ifdef FEAT_MODIFY_FNAME | |
351 "+modify_fname", | |
352 #else | |
353 "-modify_fname", | |
354 #endif | |
355 #ifdef FEAT_MOUSE | |
356 "+mouse", | |
357 # ifdef FEAT_MOUSESHAPE | |
358 "+mouseshape", | |
359 # else | |
360 "-mouseshape", | |
361 # endif | |
362 # else | |
363 "-mouse", | |
364 #endif | |
3898 | 365 |
7 | 366 #if defined(UNIX) || defined(VMS) |
367 # ifdef FEAT_MOUSE_DEC | |
368 "+mouse_dec", | |
369 # else | |
370 "-mouse_dec", | |
371 # endif | |
372 # ifdef FEAT_MOUSE_GPM | |
373 "+mouse_gpm", | |
374 # else | |
375 "-mouse_gpm", | |
376 # endif | |
377 # ifdef FEAT_MOUSE_JSB | |
378 "+mouse_jsbterm", | |
379 # else | |
380 "-mouse_jsbterm", | |
381 # endif | |
382 # ifdef FEAT_MOUSE_NET | |
383 "+mouse_netterm", | |
384 # else | |
385 "-mouse_netterm", | |
386 # endif | |
387 #endif | |
3898 | 388 |
7 | 389 #ifdef __QNX__ |
390 # ifdef FEAT_MOUSE_PTERM | |
391 "+mouse_pterm", | |
392 # else | |
393 "-mouse_pterm", | |
394 # endif | |
395 #endif | |
3898 | 396 |
397 #if defined(UNIX) || defined(VMS) | |
398 # ifdef FEAT_MOUSE_SGR | |
399 "+mouse_sgr", | |
400 # else | |
401 "-mouse_sgr", | |
402 # endif | |
403 # ifdef FEAT_SYSMOUSE | |
404 "+mouse_sysmouse", | |
405 # else | |
406 "-mouse_sysmouse", | |
407 # endif | |
408 # ifdef FEAT_MOUSE_URXVT | |
409 "+mouse_urxvt", | |
410 # else | |
411 "-mouse_urxvt", | |
412 # endif | |
413 # ifdef FEAT_MOUSE_XTERM | |
414 "+mouse_xterm", | |
415 # else | |
416 "-mouse_xterm", | |
417 # endif | |
418 #endif | |
419 | |
7 | 420 #ifdef FEAT_MBYTE_IME |
421 # ifdef DYNAMIC_IME | |
422 "+multi_byte_ime/dyn", | |
423 # else | |
424 "+multi_byte_ime", | |
425 # endif | |
426 #else | |
427 # ifdef FEAT_MBYTE | |
428 "+multi_byte", | |
429 # else | |
430 "-multi_byte", | |
431 # endif | |
432 #endif | |
433 #ifdef FEAT_MULTI_LANG | |
434 "+multi_lang", | |
435 #else | |
436 "-multi_lang", | |
437 #endif | |
14 | 438 #ifdef FEAT_MZSCHEME |
132 | 439 # ifdef DYNAMIC_MZSCHEME |
440 "+mzscheme/dyn", | |
441 # else | |
14 | 442 "+mzscheme", |
132 | 443 # endif |
14 | 444 #else |
445 "-mzscheme", | |
446 #endif | |
7 | 447 #ifdef FEAT_NETBEANS_INTG |
448 "+netbeans_intg", | |
449 #else | |
450 "-netbeans_intg", | |
451 #endif | |
452 #ifdef FEAT_GUI_W32 | |
453 # ifdef FEAT_OLE | |
454 "+ole", | |
455 # else | |
456 "-ole", | |
457 # endif | |
458 #endif | |
459 #ifdef FEAT_PATH_EXTRA | |
460 "+path_extra", | |
461 #else | |
462 "-path_extra", | |
463 #endif | |
464 #ifdef FEAT_PERL | |
465 # ifdef DYNAMIC_PERL | |
466 "+perl/dyn", | |
467 # else | |
468 "+perl", | |
469 # endif | |
470 #else | |
471 "-perl", | |
472 #endif | |
2214
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
473 #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
|
474 "+persistent_undo", |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
475 #else |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
476 "-persistent_undo", |
f8222d1f9a73
Included patch for persistent undo. Lots of changes and added test.
Bram Moolenaar <bram@vim.org>
parents:
2154
diff
changeset
|
477 #endif |
7 | 478 #ifdef FEAT_PRINTER |
479 # ifdef FEAT_POSTSCRIPT | |
480 "+postscript", | |
481 # else | |
482 "-postscript", | |
483 # endif | |
484 "+printer", | |
485 #else | |
486 "-printer", | |
487 #endif | |
170 | 488 #ifdef FEAT_PROFILE |
489 "+profile", | |
490 #else | |
491 "-profile", | |
492 #endif | |
7 | 493 #ifdef FEAT_PYTHON |
494 # ifdef DYNAMIC_PYTHON | |
495 "+python/dyn", | |
496 # else | |
497 "+python", | |
498 # endif | |
499 #else | |
500 "-python", | |
501 #endif | |
2329
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
502 #ifdef FEAT_PYTHON3 |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
503 # ifdef DYNAMIC_PYTHON3 |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
504 "+python3/dyn", |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
505 # else |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
506 "+python3", |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
507 # endif |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
508 #else |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
509 "-python3", |
ad2889f48843
Added support for Python 3. (Roland Puntaier)
Bram Moolenaar <bram@vim.org>
parents:
2320
diff
changeset
|
510 #endif |
7 | 511 #ifdef FEAT_QUICKFIX |
512 "+quickfix", | |
513 #else | |
514 "-quickfix", | |
515 #endif | |
857 | 516 #ifdef FEAT_RELTIME |
517 "+reltime", | |
518 #else | |
519 "-reltime", | |
520 #endif | |
7 | 521 #ifdef FEAT_RIGHTLEFT |
522 "+rightleft", | |
523 #else | |
524 "-rightleft", | |
525 #endif | |
526 #ifdef FEAT_RUBY | |
527 # ifdef DYNAMIC_RUBY | |
528 "+ruby/dyn", | |
529 # else | |
530 "+ruby", | |
531 # endif | |
532 #else | |
533 "-ruby", | |
534 #endif | |
535 #ifdef FEAT_SCROLLBIND | |
536 "+scrollbind", | |
537 #else | |
538 "-scrollbind", | |
539 #endif | |
540 #ifdef FEAT_SIGNS | |
541 "+signs", | |
542 #else | |
543 "-signs", | |
544 #endif | |
545 #ifdef FEAT_SMARTINDENT | |
546 "+smartindent", | |
547 #else | |
548 "-smartindent", | |
549 #endif | |
550 #ifdef FEAT_SNIFF | |
551 "+sniff", | |
552 #else | |
553 "-sniff", | |
554 #endif | |
1989 | 555 #ifdef STARTUPTIME |
556 "+startuptime", | |
557 #else | |
558 "-startuptime", | |
559 #endif | |
7 | 560 #ifdef FEAT_STL_OPT |
561 "+statusline", | |
562 #else | |
563 "-statusline", | |
564 #endif | |
565 #ifdef FEAT_SUN_WORKSHOP | |
566 "+sun_workshop", | |
567 #else | |
568 "-sun_workshop", | |
569 #endif | |
570 #ifdef FEAT_SYN_HL | |
571 "+syntax", | |
572 #else | |
573 "-syntax", | |
574 #endif | |
575 /* only interesting on Unix systems */ | |
576 #if defined(USE_SYSTEM) && (defined(UNIX) || defined(__EMX__)) | |
577 "+system()", | |
578 #endif | |
579 #ifdef FEAT_TAG_BINS | |
580 "+tag_binary", | |
581 #else | |
582 "-tag_binary", | |
583 #endif | |
584 #ifdef FEAT_TAG_OLDSTATIC | |
585 "+tag_old_static", | |
586 #else | |
587 "-tag_old_static", | |
588 #endif | |
589 #ifdef FEAT_TAG_ANYWHITE | |
590 "+tag_any_white", | |
591 #else | |
592 "-tag_any_white", | |
593 #endif | |
594 #ifdef FEAT_TCL | |
595 # ifdef DYNAMIC_TCL | |
596 "+tcl/dyn", | |
597 # else | |
598 "+tcl", | |
599 # endif | |
600 #else | |
601 "-tcl", | |
602 #endif | |
603 #if defined(UNIX) || defined(__EMX__) | |
604 /* only Unix (or OS/2 with EMX!) can have terminfo instead of termcap */ | |
605 # ifdef TERMINFO | |
606 "+terminfo", | |
607 # else | |
608 "-terminfo", | |
609 # endif | |
610 #else /* unix always includes termcap support */ | |
611 # ifdef HAVE_TGETENT | |
612 "+tgetent", | |
613 # else | |
614 "-tgetent", | |
615 # endif | |
616 #endif | |
617 #ifdef FEAT_TERMRESPONSE | |
618 "+termresponse", | |
619 #else | |
620 "-termresponse", | |
621 #endif | |
622 #ifdef FEAT_TEXTOBJ | |
623 "+textobjects", | |
624 #else | |
625 "-textobjects", | |
626 #endif | |
627 #ifdef FEAT_TITLE | |
628 "+title", | |
629 #else | |
630 "-title", | |
631 #endif | |
632 #ifdef FEAT_TOOLBAR | |
633 "+toolbar", | |
634 #else | |
635 "-toolbar", | |
636 #endif | |
637 #ifdef FEAT_USR_CMDS | |
638 "+user_commands", | |
639 #else | |
640 "-user_commands", | |
641 #endif | |
642 #ifdef FEAT_VERTSPLIT | |
643 "+vertsplit", | |
644 #else | |
645 "-vertsplit", | |
646 #endif | |
647 #ifdef FEAT_VIRTUALEDIT | |
648 "+virtualedit", | |
649 #else | |
650 "-virtualedit", | |
651 #endif | |
652 "+visual", | |
5735 | 653 #ifdef FEAT_VISUALEXTRA |
7 | 654 "+visualextra", |
5735 | 655 #else |
7 | 656 "-visualextra", |
657 #endif | |
658 #ifdef FEAT_VIMINFO | |
659 "+viminfo", | |
660 #else | |
661 "-viminfo", | |
662 #endif | |
663 #ifdef FEAT_VREPLACE | |
664 "+vreplace", | |
665 #else | |
666 "-vreplace", | |
667 #endif | |
668 #ifdef FEAT_WILDIGN | |
669 "+wildignore", | |
670 #else | |
671 "-wildignore", | |
672 #endif | |
673 #ifdef FEAT_WILDMENU | |
674 "+wildmenu", | |
675 #else | |
676 "-wildmenu", | |
677 #endif | |
678 #ifdef FEAT_WINDOWS | |
679 "+windows", | |
680 #else | |
681 "-windows", | |
682 #endif | |
683 #ifdef FEAT_WRITEBACKUP | |
684 "+writebackup", | |
685 #else | |
686 "-writebackup", | |
687 #endif | |
688 #if defined(UNIX) || defined(VMS) | |
689 # ifdef FEAT_X11 | |
690 "+X11", | |
691 # else | |
692 "-X11", | |
693 # endif | |
694 #endif | |
695 #ifdef FEAT_XFONTSET | |
696 "+xfontset", | |
697 #else | |
698 "-xfontset", | |
699 #endif | |
700 #ifdef FEAT_XIM | |
701 "+xim", | |
702 #else | |
703 "-xim", | |
704 #endif | |
705 #if defined(UNIX) || defined(VMS) | |
706 # ifdef USE_XSMP_INTERACT | |
707 "+xsmp_interact", | |
708 # else | |
709 # ifdef USE_XSMP | |
710 "+xsmp", | |
711 # else | |
712 "-xsmp", | |
713 # endif | |
714 # endif | |
715 # ifdef FEAT_XCLIPBOARD | |
716 "+xterm_clipboard", | |
717 # else | |
718 "-xterm_clipboard", | |
719 # endif | |
720 #endif | |
721 #ifdef FEAT_XTERM_SAVE | |
722 "+xterm_save", | |
723 #else | |
724 "-xterm_save", | |
725 #endif | |
726 #ifdef WIN3264 | |
727 # ifdef FEAT_XPM_W32 | |
728 "+xpm_w32", | |
729 # else | |
730 "-xpm_w32", | |
731 # endif | |
5316 | 732 #else |
733 # ifdef HAVE_XPM | |
734 "+xpm", | |
735 # else | |
736 "-xpm", | |
737 # endif | |
7 | 738 #endif |
739 NULL | |
740 }; | |
741 | |
742 static int included_patches[] = | |
743 { /* Add new patch number below this line */ | |
744 /**/ | |
6851 | 745 746, |
746 /**/ | |
6849 | 747 745, |
748 /**/ | |
6847 | 749 744, |
750 /**/ | |
6845 | 751 743, |
752 /**/ | |
6843 | 753 742, |
754 /**/ | |
6841 | 755 741, |
756 /**/ | |
6838 | 757 740, |
758 /**/ | |
6836 | 759 739, |
760 /**/ | |
6834 | 761 738, |
762 /**/ | |
6832 | 763 737, |
764 /**/ | |
6830 | 765 736, |
766 /**/ | |
6828 | 767 735, |
768 /**/ | |
6826 | 769 734, |
770 /**/ | |
6824 | 771 733, |
772 /**/ | |
6821 | 773 732, |
774 /**/ | |
6819 | 775 731, |
776 /**/ | |
6817 | 777 730, |
778 /**/ | |
6815 | 779 729, |
780 /**/ | |
6813 | 781 728, |
782 /**/ | |
6811 | 783 727, |
784 /**/ | |
6809 | 785 726, |
786 /**/ | |
6807 | 787 725, |
788 /**/ | |
6805 | 789 724, |
790 /**/ | |
6803 | 791 723, |
792 /**/ | |
6801 | 793 722, |
794 /**/ | |
6799 | 795 721, |
796 /**/ | |
6797 | 797 720, |
798 /**/ | |
6795 | 799 719, |
800 /**/ | |
6793 | 801 718, |
802 /**/ | |
6791 | 803 717, |
804 /**/ | |
6789 | 805 716, |
806 /**/ | |
6787 | 807 715, |
808 /**/ | |
6785 | 809 714, |
810 /**/ | |
6783 | 811 713, |
812 /**/ | |
6781 | 813 712, |
814 /**/ | |
6779 | 815 711, |
816 /**/ | |
6777 | 817 710, |
818 /**/ | |
6775 | 819 709, |
820 /**/ | |
6773 | 821 708, |
822 /**/ | |
6771 | 823 707, |
824 /**/ | |
6769 | 825 706, |
826 /**/ | |
6767 | 827 705, |
828 /**/ | |
6765 | 829 704, |
830 /**/ | |
6763 | 831 703, |
832 /**/ | |
6761 | 833 702, |
834 /**/ | |
6759 | 835 701, |
836 /**/ | |
6755 | 837 700, |
838 /**/ | |
6753 | 839 699, |
840 /**/ | |
6751 | 841 698, |
842 /**/ | |
6749 | 843 697, |
844 /**/ | |
6747 | 845 696, |
846 /**/ | |
6745 | 847 695, |
848 /**/ | |
6742 | 849 694, |
850 /**/ | |
6739 | 851 693, |
852 /**/ | |
6737
9a07975061ed
patch 7.4.692 for Problem: Defining SOLARIS for no good reason. (Danek Duvall)
Bram Moolenaar <bram@vim.org>
parents:
6735
diff
changeset
|
853 692, |
9a07975061ed
patch 7.4.692 for Problem: Defining SOLARIS for no good reason. (Danek Duvall)
Bram Moolenaar <bram@vim.org>
parents:
6735
diff
changeset
|
854 /**/ |
6735
f6021786b775
patch 7.4.691 for Problem: Can't build with MzScheme.
Bram Moolenaar <bram@vim.org>
parents:
6733
diff
changeset
|
855 691, |
f6021786b775
patch 7.4.691 for Problem: Can't build with MzScheme.
Bram Moolenaar <bram@vim.org>
parents:
6733
diff
changeset
|
856 /**/ |
6733
5f6077b10738
patch 7.4.690 for Problem: Memory access errors when changing indent in Ex mode. Also missing
Bram Moolenaar <bram@vim.org>
parents:
6731
diff
changeset
|
857 690, |
5f6077b10738
patch 7.4.690 for Problem: Memory access errors when changing indent in Ex mode. Also missing
Bram Moolenaar <bram@vim.org>
parents:
6731
diff
changeset
|
858 /**/ |
6731 | 859 689, |
860 /**/ | |
6729 | 861 688, |
862 /**/ | |
6727 | 863 687, |
864 /**/ | |
6725 | 865 686, |
866 /**/ | |
6723 | 867 685, |
868 /**/ | |
6721 | 869 684, |
870 /**/ | |
6719 | 871 683, |
872 /**/ | |
6717 | 873 682, |
874 /**/ | |
6714 | 875 681, |
876 /**/ | |
6712 | 877 680, |
878 /**/ | |
6710 | 879 679, |
880 /**/ | |
6708 | 881 678, |
882 /**/ | |
6706 | 883 677, |
884 /**/ | |
6704 | 885 676, |
886 /**/ | |
6702 | 887 675, |
888 /**/ | |
6700 | 889 674, |
890 /**/ | |
6698 | 891 673, |
892 /**/ | |
6695 | 893 672, |
894 /**/ | |
6693 | 895 671, |
896 /**/ | |
6691 | 897 670, |
898 /**/ | |
6689 | 899 669, |
900 /**/ | |
6687 | 901 668, |
902 /**/ | |
6685 | 903 667, |
904 /**/ | |
6683 | 905 666, |
906 /**/ | |
6681 | 907 665, |
908 /**/ | |
6679 | 909 664, |
910 /**/ | |
6677 | 911 663, |
912 /**/ | |
6675 | 913 662, |
914 /**/ | |
6673 | 915 661, |
916 /**/ | |
6671 | 917 660, |
918 /**/ | |
6669 | 919 659, |
920 /**/ | |
6667 | 921 658, |
922 /**/ | |
6665 | 923 657, |
924 /**/ | |
6663 | 925 656, |
926 /**/ | |
6661 | 927 655, |
928 /**/ | |
6659 | 929 654, |
930 /**/ | |
6657 | 931 653, |
932 /**/ | |
6655 | 933 652, |
934 /**/ | |
6653 | 935 651, |
936 /**/ | |
6651 | 937 650, |
938 /**/ | |
6649 | 939 649, |
940 /**/ | |
6645 | 941 648, |
942 /**/ | |
6643 | 943 647, |
944 /**/ | |
6641 | 945 646, |
946 /**/ | |
6639 | 947 645, |
948 /**/ | |
6637 | 949 644, |
950 /**/ | |
6635 | 951 643, |
952 /**/ | |
6633 | 953 642, |
954 /**/ | |
6631 | 955 641, |
956 /**/ | |
6629 | 957 640, |
958 /**/ | |
6627 | 959 639, |
960 /**/ | |
6625 | 961 638, |
962 /**/ | |
6623 | 963 637, |
964 /**/ | |
6620 | 965 636, |
966 /**/ | |
6618 | 967 635, |
968 /**/ | |
6616 | 969 634, |
970 /**/ | |
6614 | 971 633, |
972 /**/ | |
6612 | 973 632, |
974 /**/ | |
6610 | 975 631, |
976 /**/ | |
6608 | 977 630, |
978 /**/ | |
6606 | 979 629, |
980 /**/ | |
6604 | 981 628, |
982 /**/ | |
6602 | 983 627, |
984 /**/ | |
6600 | 985 626, |
986 /**/ | |
6598 | 987 625, |
988 /**/ | |
6596 | 989 624, |
990 /**/ | |
6594 | 991 623, |
992 /**/ | |
6592 | 993 622, |
994 /**/ | |
6590 | 995 621, |
996 /**/ | |
6588 | 997 620, |
998 /**/ | |
6586 | 999 619, |
1000 /**/ | |
6584 | 1001 618, |
1002 /**/ | |
6581 | 1003 617, |
1004 /**/ | |
6579 | 1005 616, |
1006 /**/ | |
6577 | 1007 615, |
1008 /**/ | |
6575 | 1009 614, |
1010 /**/ | |
6573 | 1011 613, |
1012 /**/ | |
6571 | 1013 612, |
1014 /**/ | |
6569 | 1015 611, |
1016 /**/ | |
6567 | 1017 610, |
1018 /**/ | |
6565 | 1019 609, |
1020 /**/ | |
6563 | 1021 608, |
1022 /**/ | |
6561 | 1023 607, |
1024 /**/ | |
6559 | 1025 606, |
1026 /**/ | |
6557 | 1027 605, |
1028 /**/ | |
6555 | 1029 604, |
1030 /**/ | |
6553 | 1031 603, |
1032 /**/ | |
6551 | 1033 602, |
1034 /**/ | |
6549 | 1035 601, |
1036 /**/ | |
6547 | 1037 600, |
1038 /**/ | |
6545 | 1039 599, |
1040 /**/ | |
6543 | 1041 598, |
1042 /**/ | |
6541 | 1043 597, |
1044 /**/ | |
6539 | 1045 596, |
1046 /**/ | |
6537 | 1047 595, |
1048 /**/ | |
6535 | 1049 594, |
1050 /**/ | |
6533 | 1051 593, |
1052 /**/ | |
6531 | 1053 592, |
1054 /**/ | |
6528 | 1055 591, |
1056 /**/ | |
6526 | 1057 590, |
1058 /**/ | |
6524 | 1059 589, |
1060 /**/ | |
6522 | 1061 588, |
1062 /**/ | |
6520 | 1063 587, |
1064 /**/ | |
6518 | 1065 586, |
1066 /**/ | |
6516 | 1067 585, |
1068 /**/ | |
6514 | 1069 584, |
1070 /**/ | |
6512 | 1071 583, |
1072 /**/ | |
6510 | 1073 582, |
1074 /**/ | |
6508 | 1075 581, |
1076 /**/ | |
6506 | 1077 580, |
1078 /**/ | |
6503 | 1079 579, |
1080 /**/ | |
6501 | 1081 578, |
1082 /**/ | |
6499 | 1083 577, |
1084 /**/ | |
6497 | 1085 576, |
1086 /**/ | |
6495 | 1087 575, |
1088 /**/ | |
6493 | 1089 574, |
1090 /**/ | |
6491 | 1091 573, |
1092 /**/ | |
6489 | 1093 572, |
1094 /**/ | |
6487 | 1095 571, |
1096 /**/ | |
6485 | 1097 570, |
1098 /**/ | |
6482 | 1099 569, |
1100 /**/ | |
6480 | 1101 568, |
1102 /**/ | |
6477 | 1103 567, |
1104 /**/ | |
6474 | 1105 566, |
1106 /**/ | |
6472 | 1107 565, |
1108 /**/ | |
6470 | 1109 564, |
1110 /**/ | |
6468 | 1111 563, |
1112 /**/ | |
6466 | 1113 562, |
1114 /**/ | |
6464 | 1115 561, |
1116 /**/ | |
6462 | 1117 560, |
1118 /**/ | |
6460 | 1119 559, |
1120 /**/ | |
6458 | 1121 558, |
1122 /**/ | |
6456 | 1123 557, |
1124 /**/ | |
6454 | 1125 556, |
1126 /**/ | |
6452 | 1127 555, |
1128 /**/ | |
6450 | 1129 554, |
1130 /**/ | |
6448 | 1131 553, |
1132 /**/ | |
6445 | 1133 552, |
1134 /**/ | |
6443 | 1135 551, |
1136 /**/ | |
6441 | 1137 550, |
1138 /**/ | |
6438 | 1139 549, |
1140 /**/ | |
6436 | 1141 548, |
1142 /**/ | |
6434 | 1143 547, |
1144 /**/ | |
6432 | 1145 546, |
1146 /**/ | |
6430 | 1147 545, |
1148 /**/ | |
6428 | 1149 544, |
1150 /**/ | |
6426 | 1151 543, |
1152 /**/ | |
6424 | 1153 542, |
1154 /**/ | |
6422 | 1155 541, |
1156 /**/ | |
6419 | 1157 540, |
1158 /**/ | |
6417 | 1159 539, |
1160 /**/ | |
6415 | 1161 538, |
1162 /**/ | |
6413 | 1163 537, |
1164 /**/ | |
6411 | 1165 536, |
1166 /**/ | |
6409 | 1167 535, |
1168 /**/ | |
6406 | 1169 534, |
1170 /**/ | |
6404 | 1171 533, |
1172 /**/ | |
6402 | 1173 532, |
1174 /**/ | |
6400 | 1175 531, |
1176 /**/ | |
6398 | 1177 530, |
1178 /**/ | |
6396 | 1179 529, |
1180 /**/ | |
6394 | 1181 528, |
1182 /**/ | |
6392 | 1183 527, |
1184 /**/ | |
6390 | 1185 526, |
1186 /**/ | |
6388 | 1187 525, |
1188 /**/ | |
6386 | 1189 524, |
1190 /**/ | |
6383 | 1191 523, |
1192 /**/ | |
6381 | 1193 522, |
1194 /**/ | |
6379 | 1195 521, |
1196 /**/ | |
6377 | 1197 520, |
1198 /**/ | |
6375 | 1199 519, |
1200 /**/ | |
6373 | 1201 518, |
1202 /**/ | |
6371 | 1203 517, |
1204 /**/ | |
6367 | 1205 516, |
1206 /**/ | |
6365 | 1207 515, |
1208 /**/ | |
6363 | 1209 514, |
1210 /**/ | |
6361 | 1211 513, |
1212 /**/ | |
6359 | 1213 512, |
1214 /**/ | |
6357 | 1215 511, |
1216 /**/ | |
6355 | 1217 510, |
1218 /**/ | |
6353 | 1219 509, |
1220 /**/ | |
6351 | 1221 508, |
1222 /**/ | |
6349 | 1223 507, |
1224 /**/ | |
6347 | 1225 506, |
1226 /**/ | |
6345 | 1227 505, |
1228 /**/ | |
6343 | 1229 504, |
1230 /**/ | |
6341 | 1231 503, |
1232 /**/ | |
6339 | 1233 502, |
1234 /**/ | |
6337 | 1235 501, |
1236 /**/ | |
6334 | 1237 500, |
1238 /**/ | |
6332 | 1239 499, |
1240 /**/ | |
6330 | 1241 498, |
1242 /**/ | |
6328 | 1243 497, |
1244 /**/ | |
6326 | 1245 496, |
1246 /**/ | |
6324 | 1247 495, |
1248 /**/ | |
6322 | 1249 494, |
1250 /**/ | |
6320 | 1251 493, |
1252 /**/ | |
6318 | 1253 492, |
1254 /**/ | |
6316 | 1255 491, |
1256 /**/ | |
6314 | 1257 490, |
1258 /**/ | |
6312 | 1259 489, |
1260 /**/ | |
6310 | 1261 488, |
1262 /**/ | |
6307 | 1263 487, |
1264 /**/ | |
6305 | 1265 486, |
1266 /**/ | |
6303 | 1267 485, |
1268 /**/ | |
6301 | 1269 484, |
1270 /**/ | |
6299 | 1271 483, |
1272 /**/ | |
6297 | 1273 482, |
1274 /**/ | |
6295 | 1275 481, |
1276 /**/ | |
6293 | 1277 480, |
1278 /**/ | |
6290 | 1279 479, |
1280 /**/ | |
6288 | 1281 478, |
1282 /**/ | |
6286 | 1283 477, |
1284 /**/ | |
6284 | 1285 476, |
1286 /**/ | |
6282 | 1287 475, |
1288 /**/ | |
6280 | 1289 474, |
1290 /**/ | |
6278 | 1291 473, |
1292 /**/ | |
6276 | 1293 472, |
1294 /**/ | |
6274 | 1295 471, |
1296 /**/ | |
6272 | 1297 470, |
1298 /**/ | |
6270 | 1299 469, |
1300 /**/ | |
6268 | 1301 468, |
1302 /**/ | |
6266 | 1303 467, |
1304 /**/ | |
6264 | 1305 466, |
1306 /**/ | |
6262 | 1307 465, |
1308 /**/ | |
6260 | 1309 464, |
1310 /**/ | |
6257 | 1311 463, |
1312 /**/ | |
6255 | 1313 462, |
1314 /**/ | |
6253 | 1315 461, |
1316 /**/ | |
6251 | 1317 460, |
1318 /**/ | |
6249 | 1319 459, |
1320 /**/ | |
6247 | 1321 458, |
1322 /**/ | |
6245 | 1323 457, |
1324 /**/ | |
6243 | 1325 456, |
1326 /**/ | |
6241 | 1327 455, |
1328 /**/ | |
6239 | 1329 454, |
1330 /**/ | |
6236 | 1331 453, |
1332 /**/ | |
6234 | 1333 452, |
1334 /**/ | |
6232 | 1335 451, |
1336 /**/ | |
6230 | 1337 450, |
1338 /**/ | |
6228 | 1339 449, |
1340 /**/ | |
6226 | 1341 448, |
1342 /**/ | |
6224 | 1343 447, |
1344 /**/ | |
6222 | 1345 446, |
1346 /**/ | |
6220 | 1347 445, |
1348 /**/ | |
6218 | 1349 444, |
1350 /**/ | |
6216 | 1351 443, |
1352 /**/ | |
6214 | 1353 442, |
1354 /**/ | |
6211 | 1355 441, |
1356 /**/ | |
6209 | 1357 440, |
1358 /**/ | |
6207 | 1359 439, |
1360 /**/ | |
6205 | 1361 438, |
1362 /**/ | |
6203 | 1363 437, |
1364 /**/ | |
6201 | 1365 436, |
1366 /**/ | |
6199 | 1367 435, |
1368 /**/ | |
6197 | 1369 434, |
1370 /**/ | |
6195 | 1371 433, |
1372 /**/ | |
6193 | 1373 432, |
1374 /**/ | |
6191 | 1375 431, |
1376 /**/ | |
6189 | 1377 430, |
1378 /**/ | |
6187 | 1379 429, |
1380 /**/ | |
6185 | 1381 428, |
1382 /**/ | |
6183 | 1383 427, |
1384 /**/ | |
6181 | 1385 426, |
1386 /**/ | |
6178 | 1387 425, |
1388 /**/ | |
6176 | 1389 424, |
1390 /**/ | |
6174 | 1391 423, |
1392 /**/ | |
6172 | 1393 422, |
1394 /**/ | |
6170 | 1395 421, |
1396 /**/ | |
6168 | 1397 420, |
1398 /**/ | |
6166 | 1399 419, |
1400 /**/ | |
6164 | 1401 418, |
1402 /**/ | |
6162 | 1403 417, |
1404 /**/ | |
6160 | 1405 416, |
1406 /**/ | |
6158
353442863d85
Update version number to 7.4.415
Bram Moolenaar <bram@vim.org>
parents:
6154
diff
changeset
|
1407 415, |
353442863d85
Update version number to 7.4.415
Bram Moolenaar <bram@vim.org>
parents:
6154
diff
changeset
|
1408 /**/ |
6154 | 1409 414, |
1410 /**/ | |
6151 | 1411 413, |
1412 /**/ | |
6149 | 1413 412, |
1414 /**/ | |
6147 | 1415 411, |
1416 /**/ | |
6145 | 1417 410, |
1418 /**/ | |
6143 | 1419 409, |
1420 /**/ | |
6140 | 1421 408, |
1422 /**/ | |
6138 | 1423 407, |
1424 /**/ | |
6136 | 1425 406, |
1426 /**/ | |
6134 | 1427 405, |
1428 /**/ | |
6132 | 1429 404, |
1430 /**/ | |
6130 | 1431 403, |
1432 /**/ | |
6128 | 1433 402, |
1434 /**/ | |
6126 | 1435 401, |
1436 /**/ | |
6124 | 1437 400, |
1438 /**/ | |
6122 | 1439 399, |
1440 /**/ | |
6120 | 1441 398, |
1442 /**/ | |
6118 | 1443 397, |
1444 /**/ | |
6116 | 1445 396, |
1446 /**/ | |
6114 | 1447 395, |
1448 /**/ | |
6112 | 1449 394, |
1450 /**/ | |
6110 | 1451 393, |
1452 /**/ | |
6108 | 1453 392, |
1454 /**/ | |
6106 | 1455 391, |
1456 /**/ | |
6104 | 1457 390, |
1458 /**/ | |
6102 | 1459 389, |
1460 /**/ | |
6100 | 1461 388, |
1462 /**/ | |
6098 | 1463 387, |
1464 /**/ | |
6096 | 1465 386, |
1466 /**/ | |
6094 | 1467 385, |
1468 /**/ | |
6092 | 1469 384, |
1470 /**/ | |
6089 | 1471 383, |
1472 /**/ | |
6087 | 1473 382, |
1474 /**/ | |
6085 | 1475 381, |
1476 /**/ | |
6083 | 1477 380, |
1478 /**/ | |
6081 | 1479 379, |
1480 /**/ | |
6079 | 1481 378, |
1482 /**/ | |
6077 | 1483 377, |
1484 /**/ | |
6075 | 1485 376, |
1486 /**/ | |
6073 | 1487 375, |
1488 /**/ | |
6071 | 1489 374, |
1490 /**/ | |
6068 | 1491 373, |
1492 /**/ | |
6066 | 1493 372, |
1494 /**/ | |
6064 | 1495 371, |
1496 /**/ | |
6062 | 1497 370, |
1498 /**/ | |
6060 | 1499 369, |
1500 /**/ | |
6058 | 1501 368, |
1502 /**/ | |
6056 | 1503 367, |
1504 /**/ | |
6054 | 1505 366, |
1506 /**/ | |
6052 | 1507 365, |
1508 /**/ | |
6049 | 1509 364, |
1510 /**/ | |
6047 | 1511 363, |
1512 /**/ | |
6045 | 1513 362, |
1514 /**/ | |
6043 | 1515 361, |
1516 /**/ | |
6041 | 1517 360, |
1518 /**/ | |
6039 | 1519 359, |
1520 /**/ | |
6037 | 1521 358, |
1522 /**/ | |
6035 | 1523 357, |
1524 /**/ | |
6033 | 1525 356, |
1526 /**/ | |
6030 | 1527 355, |
1528 /**/ | |
6028 | 1529 354, |
1530 /**/ | |
6026 | 1531 353, |
1532 /**/ | |
6024 | 1533 352, |
1534 /**/ | |
6022 | 1535 351, |
1536 /**/ | |
6020 | 1537 350, |
1538 /**/ | |
6018 | 1539 349, |
1540 /**/ | |
6016 | 1541 348, |
1542 /**/ | |
6014 | 1543 347, |
1544 /**/ | |
6012 | 1545 346, |
1546 /**/ | |
6010 | 1547 345, |
1548 /**/ | |
6007 | 1549 344, |
1550 /**/ | |
6005 | 1551 343, |
1552 /**/ | |
6003 | 1553 342, |
1554 /**/ | |
6001 | 1555 341, |
1556 /**/ | |
5999 | 1557 340, |
1558 /**/ | |
5997 | 1559 339, |
1560 /**/ | |
5995 | 1561 338, |
1562 /**/ | |
5993 | 1563 337, |
1564 /**/ | |
5991 | 1565 336, |
1566 /**/ | |
5989 | 1567 335, |
1568 /**/ | |
5987 | 1569 334, |
1570 /**/ | |
5985 | 1571 333, |
1572 /**/ | |
5983 | 1573 332, |
1574 /**/ | |
5981 | 1575 331, |
1576 /**/ | |
5979 | 1577 330, |
1578 /**/ | |
5977 | 1579 329, |
1580 /**/ | |
5975 | 1581 328, |
1582 /**/ | |
5973 | 1583 327, |
1584 /**/ | |
5971 | 1585 326, |
1586 /**/ | |
5969 | 1587 325, |
1588 /**/ | |
5966 | 1589 324, |
1590 /**/ | |
5964 | 1591 323, |
1592 /**/ | |
5962 | 1593 322, |
1594 /**/ | |
5960 | 1595 321, |
1596 /**/ | |
5958 | 1597 320, |
1598 /**/ | |
5956 | 1599 319, |
1600 /**/ | |
5954 | 1601 318, |
1602 /**/ | |
5952 | 1603 317, |
1604 /**/ | |
5950 | 1605 316, |
1606 /**/ | |
5948 | 1607 315, |
1608 /**/ | |
5946 | 1609 314, |
1610 /**/ | |
5944 | 1611 313, |
1612 /**/ | |
5942 | 1613 312, |
1614 /**/ | |
5940 | 1615 311, |
1616 /**/ | |
5938 | 1617 310, |
1618 /**/ | |
5936 | 1619 309, |
1620 /**/ | |
5934 | 1621 308, |
1622 /**/ | |
5932 | 1623 307, |
1624 /**/ | |
5930 | 1625 306, |
1626 /**/ | |
5927 | 1627 305, |
1628 /**/ | |
5925 | 1629 304, |
1630 /**/ | |
5923 | 1631 303, |
1632 /**/ | |
5921 | 1633 302, |
1634 /**/ | |
5919 | 1635 301, |
1636 /**/ | |
5917 | 1637 300, |
1638 /**/ | |
5915 | 1639 299, |
1640 /**/ | |
5913 | 1641 298, |
1642 /**/ | |
5911 | 1643 297, |
1644 /**/ | |
5909 | 1645 296, |
1646 /**/ | |
5905 | 1647 295, |
1648 /**/ | |
5903 | 1649 294, |
1650 /**/ | |
5901 | 1651 293, |
1652 /**/ | |
5899 | 1653 292, |
1654 /**/ | |
5897 | 1655 291, |
1656 /**/ | |
5895 | 1657 290, |
1658 /**/ | |
5893 | 1659 289, |
1660 /**/ | |
5891 | 1661 288, |
1662 /**/ | |
5889 | 1663 287, |
1664 /**/ | |
5887 | 1665 286, |
1666 /**/ | |
5885 | 1667 285, |
1668 /**/ | |
5883 | 1669 284, |
1670 /**/ | |
5881 | 1671 283, |
1672 /**/ | |
5879 | 1673 282, |
1674 /**/ | |
5877 | 1675 281, |
1676 /**/ | |
5875 | 1677 280, |
1678 /**/ | |
5873 | 1679 279, |
1680 /**/ | |
5871 | 1681 278, |
1682 /**/ | |
5869 | 1683 277, |
1684 /**/ | |
5867 | 1685 276, |
1686 /**/ | |
5865 | 1687 275, |
1688 /**/ | |
5863 | 1689 274, |
1690 /**/ | |
5860 | 1691 273, |
1692 /**/ | |
5858 | 1693 272, |
1694 /**/ | |
5856 | 1695 271, |
1696 /**/ | |
5854 | 1697 270, |
1698 /**/ | |
5852 | 1699 269, |
1700 /**/ | |
5850 | 1701 268, |
1702 /**/ | |
5848 | 1703 267, |
1704 /**/ | |
5846 | 1705 266, |
1706 /**/ | |
5844 | 1707 265, |
1708 /**/ | |
5842 | 1709 264, |
1710 /**/ | |
5840 | 1711 263, |
1712 /**/ | |
5838 | 1713 262, |
1714 /**/ | |
5836 | 1715 261, |
1716 /**/ | |
5834 | 1717 260, |
1718 /**/ | |
5832 | 1719 259, |
1720 /**/ | |
5830 | 1721 258, |
1722 /**/ | |
5828 | 1723 257, |
1724 /**/ | |
5826 | 1725 256, |
1726 /**/ | |
5824 | 1727 255, |
1728 /**/ | |
5822 | 1729 254, |
1730 /**/ | |
5820 | 1731 253, |
1732 /**/ | |
5818 | 1733 252, |
1734 /**/ | |
5816 | 1735 251, |
1736 /**/ | |
5812 | 1737 250, |
1738 /**/ | |
5810 | 1739 249, |
1740 /**/ | |
5808 | 1741 248, |
1742 /**/ | |
5806 | 1743 247, |
1744 /**/ | |
5804 | 1745 246, |
1746 /**/ | |
5802 | 1747 245, |
1748 /**/ | |
5800 | 1749 244, |
1750 /**/ | |
5798 | 1751 243, |
1752 /**/ | |
5796 | 1753 242, |
1754 /**/ | |
5794 | 1755 241, |
1756 /**/ | |
5792 | 1757 240, |
1758 /**/ | |
5790 | 1759 239, |
1760 /**/ | |
5788 | 1761 238, |
1762 /**/ | |
5786 | 1763 237, |
1764 /**/ | |
5784 | 1765 236, |
1766 /**/ | |
5782 | 1767 235, |
1768 /**/ | |
5780 | 1769 234, |
1770 /**/ | |
5778 | 1771 233, |
1772 /**/ | |
5776 | 1773 232, |
1774 /**/ | |
5774 | 1775 231, |
1776 /**/ | |
5772 | 1777 230, |
1778 /**/ | |
5770 | 1779 229, |
1780 /**/ | |
5768 | 1781 228, |
1782 /**/ | |
5766 | 1783 227, |
1784 /**/ | |
5764 | 1785 226, |
1786 /**/ | |
5761 | 1787 225, |
1788 /**/ | |
5759 | 1789 224, |
1790 /**/ | |
5757 | 1791 223, |
1792 /**/ | |
5755 | 1793 222, |
1794 /**/ | |
5753 | 1795 221, |
1796 /**/ | |
5751 | 1797 220, |
1798 /**/ | |
5749 | 1799 219, |
1800 /**/ | |
5747 | 1801 218, |
1802 /**/ | |
5745 | 1803 217, |
1804 /**/ | |
5743 | 1805 216, |
1806 /**/ | |
5741 | 1807 215, |
1808 /**/ | |
5739 | 1809 214, |
1810 /**/ | |
5737 | 1811 213, |
1812 /**/ | |
5735 | 1813 212, |
1814 /**/ | |
5732 | 1815 211, |
1816 /**/ | |
5730 | 1817 210, |
1818 /**/ | |
5728 | 1819 209, |
1820 /**/ | |
5726 | 1821 208, |
1822 /**/ | |
5724 | 1823 207, |
1824 /**/ | |
5722 | 1825 206, |
1826 /**/ | |
5720 | 1827 205, |
1828 /**/ | |
5718 | 1829 204, |
1830 /**/ | |
5716 | 1831 203, |
1832 /**/ | |
5714 | 1833 202, |
1834 /**/ | |
5712 | 1835 201, |
1836 /**/ | |
5710 | 1837 200, |
1838 /**/ | |
5708 | 1839 199, |
1840 /**/ | |
5706 | 1841 198, |
1842 /**/ | |
5704 | 1843 197, |
1844 /**/ | |
5702 | 1845 196, |
1846 /**/ | |
5700 | 1847 195, |
1848 /**/ | |
5698 | 1849 194, |
1850 /**/ | |
5695 | 1851 193, |
1852 /**/ | |
5693 | 1853 192, |
1854 /**/ | |
5690 | 1855 191, |
1856 /**/ | |
5688 | 1857 190, |
1858 /**/ | |
5686 | 1859 189, |
1860 /**/ | |
5684 | 1861 188, |
1862 /**/ | |
5682 | 1863 187, |
1864 /**/ | |
5680 | 1865 186, |
1866 /**/ | |
5678 | 1867 185, |
1868 /**/ | |
5676 | 1869 184, |
1870 /**/ | |
5674 | 1871 183, |
1872 /**/ | |
5672 | 1873 182, |
1874 /**/ | |
5670 | 1875 181, |
1876 /**/ | |
5668 | 1877 180, |
1878 /**/ | |
5666 | 1879 179, |
1880 /**/ | |
5664 | 1881 178, |
1882 /**/ | |
5661 | 1883 177, |
1884 /**/ | |
5659 | 1885 176, |
1886 /**/ | |
5657 | 1887 175, |
1888 /**/ | |
5655 | 1889 174, |
1890 /**/ | |
5653 | 1891 173, |
1892 /**/ | |
5651 | 1893 172, |
1894 /**/ | |
5649 | 1895 171, |
1896 /**/ | |
5647 | 1897 170, |
1898 /**/ | |
5645 | 1899 169, |
1900 /**/ | |
5643 | 1901 168, |
1902 /**/ | |
5641 | 1903 167, |
1904 /**/ | |
5639 | 1905 166, |
1906 /**/ | |
5637 | 1907 165, |
1908 /**/ | |
5635 | 1909 164, |
1910 /**/ | |
5633 | 1911 163, |
1912 /**/ | |
5631 | 1913 162, |
1914 /**/ | |
5629 | 1915 161, |
1916 /**/ | |
5627 | 1917 160, |
1918 /**/ | |
5625 | 1919 159, |
1920 /**/ | |
5623 | 1921 158, |
1922 /**/ | |
5621 | 1923 157, |
1924 /**/ | |
5619 | 1925 156, |
1926 /**/ | |
5616 | 1927 155, |
1928 /**/ | |
5614 | 1929 154, |
1930 /**/ | |
5612 | 1931 153, |
1932 /**/ | |
5610 | 1933 152, |
1934 /**/ | |
5608 | 1935 151, |
1936 /**/ | |
5606 | 1937 150, |
1938 /**/ | |
5604 | 1939 149, |
1940 /**/ | |
5602 | 1941 148, |
1942 /**/ | |
5600 | 1943 147, |
1944 /**/ | |
5598 | 1945 146, |
1946 /**/ | |
5596 | 1947 145, |
1948 /**/ | |
5594 | 1949 144, |
1950 /**/ | |
5592 | 1951 143, |
1952 /**/ | |
5590 | 1953 142, |
1954 /**/ | |
5588 | 1955 141, |
1956 /**/ | |
5586 | 1957 140, |
1958 /**/ | |
5584 | 1959 139, |
1960 /**/ | |
5582 | 1961 138, |
1962 /**/ | |
5580 | 1963 137, |
1964 /**/ | |
5578 | 1965 136, |
1966 /**/ | |
5575 | 1967 135, |
1968 /**/ | |
5573 | 1969 134, |
1970 /**/ | |
5571 | 1971 133, |
1972 /**/ | |
5569 | 1973 132, |
1974 /**/ | |
5566 | 1975 131, |
1976 /**/ | |
5564 | 1977 130, |
1978 /**/ | |
5562 | 1979 129, |
1980 /**/ | |
5560 | 1981 128, |
1982 /**/ | |
5558 | 1983 127, |
1984 /**/ | |
5556 | 1985 126, |
1986 /**/ | |
5553 | 1987 125, |
1988 /**/ | |
5551 | 1989 124, |
1990 /**/ | |
5549 | 1991 123, |
1992 /**/ | |
5547 | 1993 122, |
1994 /**/ | |
5545 | 1995 121, |
1996 /**/ | |
5543 | 1997 120, |
1998 /**/ | |
5541 | 1999 119, |
2000 /**/ | |
5539 | 2001 118, |
2002 /**/ | |
5537 | 2003 117, |
2004 /**/ | |
5535 | 2005 116, |
2006 /**/ | |
5533 | 2007 115, |
2008 /**/ | |
5531 | 2009 114, |
2010 /**/ | |
5529 | 2011 113, |
2012 /**/ | |
5527 | 2013 112, |
2014 /**/ | |
5525 | 2015 111, |
2016 /**/ | |
5523 | 2017 110, |
2018 /**/ | |
5521 | 2019 109, |
2020 /**/ | |
5519 | 2021 108, |
2022 /**/ | |
5517 | 2023 107, |
2024 /**/ | |
5515 | 2025 106, |
2026 /**/ | |
5513 | 2027 105, |
2028 /**/ | |
5511 | 2029 104, |
2030 /**/ | |
5508 | 2031 103, |
2032 /**/ | |
5506 | 2033 102, |
2034 /**/ | |
5504 | 2035 101, |
2036 /**/ | |
5502 | 2037 100, |
2038 /**/ | |
5500 | 2039 99, |
2040 /**/ | |
5498 | 2041 98, |
2042 /**/ | |
5496 | 2043 97, |
2044 /**/ | |
5494 | 2045 96, |
2046 /**/ | |
5492 | 2047 95, |
2048 /**/ | |
5490 | 2049 94, |
2050 /**/ | |
5488 | 2051 93, |
2052 /**/ | |
5485 | 2053 92, |
2054 /**/ | |
5483 | 2055 91, |
2056 /**/ | |
5481 | 2057 90, |
2058 /**/ | |
5479 | 2059 89, |
2060 /**/ | |
5477 | 2061 88, |
2062 /**/ | |
5475 | 2063 87, |
2064 /**/ | |
5473 | 2065 86, |
2066 /**/ | |
5471 | 2067 85, |
2068 /**/ | |
5469 | 2069 84, |
2070 /**/ | |
5467 | 2071 83, |
2072 /**/ | |
5464 | 2073 82, |
2074 /**/ | |
5462 | 2075 81, |
2076 /**/ | |
5460 | 2077 80, |
2078 /**/ | |
5458 | 2079 79, |
2080 /**/ | |
5456 | 2081 78, |
2082 /**/ | |
5454 | 2083 77, |
2084 /**/ | |
5452 | 2085 76, |
2086 /**/ | |
5450 | 2087 75, |
2088 /**/ | |
5448 | 2089 74, |
2090 /**/ | |
5446 | 2091 73, |
2092 /**/ | |
5444 | 2093 72, |
2094 /**/ | |
5442 | 2095 71, |
2096 /**/ | |
5440 | 2097 70, |
2098 /**/ | |
5438 | 2099 69, |
2100 /**/ | |
5436 | 2101 68, |
2102 /**/ | |
5434 | 2103 67, |
2104 /**/ | |
5432 | 2105 66, |
2106 /**/ | |
5430 | 2107 65, |
2108 /**/ | |
5428 | 2109 64, |
2110 /**/ | |
5426 | 2111 63, |
2112 /**/ | |
5423 | 2113 62, |
2114 /**/ | |
5421 | 2115 61, |
2116 /**/ | |
5419 | 2117 60, |
2118 /**/ | |
5417 | 2119 59, |
2120 /**/ | |
5415 | 2121 58, |
2122 /**/ | |
5413 | 2123 57, |
2124 /**/ | |
5411 | 2125 56, |
2126 /**/ | |
5409 | 2127 55, |
2128 /**/ | |
5407 | 2129 54, |
2130 /**/ | |
5405 | 2131 53, |
2132 /**/ | |
5403 | 2133 52, |
2134 /**/ | |
5401 | 2135 51, |
2136 /**/ | |
5398 | 2137 50, |
2138 /**/ | |
5396 | 2139 49, |
2140 /**/ | |
5394 | 2141 48, |
2142 /**/ | |
5392 | 2143 47, |
2144 /**/ | |
5390 | 2145 46, |
2146 /**/ | |
5388 | 2147 45, |
2148 /**/ | |
5386 | 2149 44, |
2150 /**/ | |
5384 | 2151 43, |
2152 /**/ | |
5382 | 2153 42, |
2154 /**/ | |
5380 | 2155 41, |
2156 /**/ | |
5378 | 2157 40, |
2158 /**/ | |
5376 | 2159 39, |
2160 /**/ | |
5374 | 2161 38, |
2162 /**/ | |
5372 | 2163 37, |
2164 /**/ | |
5370 | 2165 36, |
2166 /**/ | |
5367 | 2167 35, |
2168 /**/ | |
5365 | 2169 34, |
2170 /**/ | |
5363 | 2171 33, |
2172 /**/ | |
5360 | 2173 32, |
2174 /**/ | |
5358 | 2175 31, |
2176 /**/ | |
5356 | 2177 30, |
2178 /**/ | |
5353 | 2179 29, |
2180 /**/ | |
5351 | 2181 28, |
2182 /**/ | |
5349 | 2183 27, |
2184 /**/ | |
5347 | 2185 26, |
2186 /**/ | |
5345 | 2187 25, |
2188 /**/ | |
5343 | 2189 24, |
2190 /**/ | |
5341 | 2191 23, |
2192 /**/ | |
5338 | 2193 22, |
2194 /**/ | |
5336 | 2195 21, |
2196 /**/ | |
5334 | 2197 20, |
2198 /**/ | |
5332 | 2199 19, |
2200 /**/ | |
5330 | 2201 18, |
2202 /**/ | |
5328 | 2203 17, |
2204 /**/ | |
5326 | 2205 16, |
2206 /**/ | |
5324 | 2207 15, |
2208 /**/ | |
5322 | 2209 14, |
2210 /**/ | |
5320 | 2211 13, |
2212 /**/ | |
5318 | 2213 12, |
2214 /**/ | |
5316 | 2215 11, |
2216 /**/ | |
5314 | 2217 10, |
2218 /**/ | |
5312 | 2219 9, |
2220 /**/ | |
5310 | 2221 8, |
2222 /**/ | |
5308 | 2223 7, |
2224 /**/ | |
5306 | 2225 6, |
2226 /**/ | |
5304 | 2227 5, |
2228 /**/ | |
5302 | 2229 4, |
2230 /**/ | |
5300 | 2231 3, |
2232 /**/ | |
5298 | 2233 2, |
2234 /**/ | |
5296 | 2235 1, |
2236 /**/ | |
7 | 2237 0 |
2238 }; | |
2239 | |
1760 | 2240 /* |
2241 * Place to put a short description when adding a feature with a patch. | |
2242 * Keep it short, e.g.,: "relative numbers", "persistent undo". | |
2243 * Also add a comment marker to separate the lines. | |
2244 * See the official Vim patches for the diff format: It must use a context of | |
1777 | 2245 * one line only. Create it by hand or use "diff -C2" and edit the patch. |
1760 | 2246 */ |
2247 static char *(extra_patches[]) = | |
2248 { /* Add your patch description below this line */ | |
2249 /**/ | |
2250 NULL | |
2251 }; | |
2252 | |
7 | 2253 int |
2254 highest_patch() | |
2255 { | |
2256 int i; | |
2257 int h = 0; | |
2258 | |
2259 for (i = 0; included_patches[i] != 0; ++i) | |
2260 if (included_patches[i] > h) | |
2261 h = included_patches[i]; | |
2262 return h; | |
2263 } | |
2264 | |
2265 #if defined(FEAT_EVAL) || defined(PROTO) | |
2266 /* | |
2267 * Return TRUE if patch "n" has been included. | |
2268 */ | |
2269 int | |
2270 has_patch(n) | |
2271 int n; | |
2272 { | |
2273 int i; | |
2274 | |
2275 for (i = 0; included_patches[i] != 0; ++i) | |
2276 if (included_patches[i] == n) | |
2277 return TRUE; | |
2278 return FALSE; | |
2279 } | |
2280 #endif | |
2281 | |
2282 void | |
2283 ex_version(eap) | |
2284 exarg_T *eap; | |
2285 { | |
2286 /* | |
2287 * Ignore a ":version 9.99" command. | |
2288 */ | |
2289 if (*eap->arg == NUL) | |
2290 { | |
2291 msg_putchar('\n'); | |
2292 list_version(); | |
2293 } | |
2294 } | |
2295 | |
4147 | 2296 /* |
2297 * List all features aligned in columns, dictionary style. | |
2298 */ | |
2299 static void | |
2300 list_features() | |
2301 { | |
2302 int i; | |
2303 int ncol; | |
2304 int nrow; | |
2305 int nfeat = 0; | |
2306 int width = 0; | |
2307 | |
2308 /* Find the length of the longest feature name, use that + 1 as the column | |
2309 * width */ | |
2310 for (i = 0; features[i] != NULL; ++i) | |
2311 { | |
4160 | 2312 int l = (int)STRLEN(features[i]); |
4147 | 2313 |
2314 if (l > width) | |
2315 width = l; | |
2316 ++nfeat; | |
2317 } | |
2318 width += 1; | |
2319 | |
2320 if (Columns < width) | |
2321 { | |
2322 /* Not enough screen columns - show one per line */ | |
2323 for (i = 0; features[i] != NULL; ++i) | |
2324 { | |
2325 version_msg(features[i]); | |
2326 if (msg_col > 0) | |
2327 msg_putchar('\n'); | |
2328 } | |
2329 return; | |
2330 } | |
2331 | |
2332 /* The rightmost column doesn't need a separator. | |
2333 * Sacrifice it to fit in one more column if possible. */ | |
4170 | 2334 ncol = (int) (Columns + 1) / width; |
4147 | 2335 nrow = nfeat / ncol + (nfeat % ncol ? 1 : 0); |
2336 | |
4170 | 2337 /* i counts columns then rows. idx counts rows then columns. */ |
4147 | 2338 for (i = 0; !got_int && i < nrow * ncol; ++i) |
2339 { | |
2340 int idx = (i / ncol) + (i % ncol) * nrow; | |
2341 | |
2342 if (idx < nfeat) | |
2343 { | |
2344 int last_col = (i + 1) % ncol == 0; | |
2345 | |
2346 msg_puts((char_u *)features[idx]); | |
2347 if (last_col) | |
2348 { | |
2349 if (msg_col > 0) | |
2350 msg_putchar('\n'); | |
2351 } | |
2352 else | |
2353 { | |
2354 while (msg_col % width) | |
2355 msg_putchar(' '); | |
2356 } | |
2357 } | |
2358 else | |
4170 | 2359 { |
2360 if (msg_col > 0) | |
2361 msg_putchar('\n'); | |
2362 } | |
4147 | 2363 } |
2364 } | |
4160 | 2365 |
7 | 2366 void |
2367 list_version() | |
2368 { | |
2369 int i; | |
2370 int first; | |
2371 char *s = ""; | |
2372 | |
2373 /* | |
2374 * When adding features here, don't forget to update the list of | |
2375 * internal variables in eval.c! | |
2376 */ | |
2377 MSG(longVersion); | |
2378 #ifdef WIN3264 | |
2379 # ifdef FEAT_GUI_W32 | |
2380 # if defined(_MSC_VER) && (_MSC_VER <= 1010) | |
2381 /* Only MS VC 4.1 and earlier can do Win32s */ | |
1607 | 2382 MSG_PUTS(_("\nMS-Windows 16/32-bit GUI version")); |
7 | 2383 # else |
990 | 2384 # ifdef _WIN64 |
1607 | 2385 MSG_PUTS(_("\nMS-Windows 64-bit GUI version")); |
990 | 2386 # else |
1607 | 2387 MSG_PUTS(_("\nMS-Windows 32-bit GUI version")); |
990 | 2388 # endif |
7 | 2389 # endif |
2390 if (gui_is_win32s()) | |
2391 MSG_PUTS(_(" in Win32s mode")); | |
2392 # ifdef FEAT_OLE | |
2393 MSG_PUTS(_(" with OLE support")); | |
2394 # endif | |
2395 # else | |
1607 | 2396 # ifdef _WIN64 |
2397 MSG_PUTS(_("\nMS-Windows 64-bit console version")); | |
2398 # else | |
2399 MSG_PUTS(_("\nMS-Windows 32-bit console version")); | |
2400 # endif | |
7 | 2401 # endif |
2402 #endif | |
2403 #ifdef WIN16 | |
1607 | 2404 MSG_PUTS(_("\nMS-Windows 16-bit version")); |
7 | 2405 #endif |
2406 #ifdef MSDOS | |
2407 # ifdef DJGPP | |
1607 | 2408 MSG_PUTS(_("\n32-bit MS-DOS version")); |
7 | 2409 # else |
1607 | 2410 MSG_PUTS(_("\n16-bit MS-DOS version")); |
7 | 2411 # endif |
2412 #endif | |
2413 #ifdef MACOS | |
2414 # ifdef MACOS_X | |
2415 # ifdef MACOS_X_UNIX | |
2416 MSG_PUTS(_("\nMacOS X (unix) version")); | |
2417 # else | |
2418 MSG_PUTS(_("\nMacOS X version")); | |
2419 # endif | |
2420 #else | |
2421 MSG_PUTS(_("\nMacOS version")); | |
2422 # endif | |
2423 #endif | |
2424 | |
2425 #ifdef VMS | |
1705 | 2426 MSG_PUTS(_("\nOpenVMS version")); |
1045 | 2427 # ifdef HAVE_PATHDEF |
2428 if (*compiled_arch != NUL) | |
2429 { | |
2430 MSG_PUTS(" - "); | |
2431 MSG_PUTS(compiled_arch); | |
2432 } | |
2433 # endif | |
2434 | |
7 | 2435 #endif |
2436 | |
2437 /* Print the list of patch numbers if there is at least one. */ | |
2438 /* Print a range when patches are consecutive: "1-10, 12, 15-40, 42-45" */ | |
2439 if (included_patches[0] != 0) | |
2440 { | |
2441 MSG_PUTS(_("\nIncluded patches: ")); | |
2442 first = -1; | |
2443 /* find last one */ | |
2444 for (i = 0; included_patches[i] != 0; ++i) | |
2445 ; | |
2446 while (--i >= 0) | |
2447 { | |
2448 if (first < 0) | |
2449 first = included_patches[i]; | |
2450 if (i == 0 || included_patches[i - 1] != included_patches[i] + 1) | |
2451 { | |
2452 MSG_PUTS(s); | |
2453 s = ", "; | |
2454 msg_outnum((long)first); | |
2455 if (first != included_patches[i]) | |
2456 { | |
2457 MSG_PUTS("-"); | |
2458 msg_outnum((long)included_patches[i]); | |
2459 } | |
2460 first = -1; | |
2461 } | |
2462 } | |
2463 } | |
2464 | |
1760 | 2465 /* Print the list of extra patch descriptions if there is at least one. */ |
2466 if (extra_patches[0] != NULL) | |
2467 { | |
2468 MSG_PUTS(_("\nExtra patches: ")); | |
2469 s = ""; | |
2470 for (i = 0; extra_patches[i] != NULL; ++i) | |
2471 { | |
2472 MSG_PUTS(s); | |
2473 s = ", "; | |
2474 MSG_PUTS(extra_patches[i]); | |
2475 } | |
2476 } | |
2477 | |
7 | 2478 #ifdef MODIFIED_BY |
2479 MSG_PUTS("\n"); | |
2480 MSG_PUTS(_("Modified by ")); | |
2481 MSG_PUTS(MODIFIED_BY); | |
2482 #endif | |
2483 | |
2484 #ifdef HAVE_PATHDEF | |
2485 if (*compiled_user != NUL || *compiled_sys != NUL) | |
2486 { | |
2487 MSG_PUTS(_("\nCompiled ")); | |
2488 if (*compiled_user != NUL) | |
2489 { | |
2490 MSG_PUTS(_("by ")); | |
2491 MSG_PUTS(compiled_user); | |
2492 } | |
2493 if (*compiled_sys != NUL) | |
2494 { | |
2495 MSG_PUTS("@"); | |
2496 MSG_PUTS(compiled_sys); | |
2497 } | |
2498 } | |
2499 #endif | |
2500 | |
2501 #ifdef FEAT_HUGE | |
2502 MSG_PUTS(_("\nHuge version ")); | |
2503 #else | |
2504 # ifdef FEAT_BIG | |
2505 MSG_PUTS(_("\nBig version ")); | |
2506 # else | |
2507 # ifdef FEAT_NORMAL | |
2508 MSG_PUTS(_("\nNormal version ")); | |
2509 # else | |
2510 # ifdef FEAT_SMALL | |
2511 MSG_PUTS(_("\nSmall version ")); | |
2512 # else | |
2513 MSG_PUTS(_("\nTiny version ")); | |
2514 # endif | |
2515 # endif | |
2516 # endif | |
2517 #endif | |
2518 #ifndef FEAT_GUI | |
2519 MSG_PUTS(_("without GUI.")); | |
2520 #else | |
2521 # ifdef FEAT_GUI_GTK | |
2522 # ifdef FEAT_GUI_GNOME | |
2523 MSG_PUTS(_("with GTK2-GNOME GUI.")); | |
2524 # else | |
2525 MSG_PUTS(_("with GTK2 GUI.")); | |
2526 # endif | |
2527 # else | |
2528 # ifdef FEAT_GUI_MOTIF | |
2529 MSG_PUTS(_("with X11-Motif GUI.")); | |
2530 # else | |
2531 # ifdef FEAT_GUI_ATHENA | |
2532 # ifdef FEAT_GUI_NEXTAW | |
2533 MSG_PUTS(_("with X11-neXtaw GUI.")); | |
2534 # else | |
2535 MSG_PUTS(_("with X11-Athena GUI.")); | |
2536 # endif | |
2537 # else | |
2538 # ifdef FEAT_GUI_PHOTON | |
2539 MSG_PUTS(_("with Photon GUI.")); | |
2540 # else | |
2541 # if defined(MSWIN) | |
2542 MSG_PUTS(_("with GUI.")); | |
2543 # else | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
2544 # if defined(TARGET_API_MAC_CARBON) && TARGET_API_MAC_CARBON |
7 | 2545 MSG_PUTS(_("with Carbon GUI.")); |
2546 # else | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
2547 # if defined(TARGET_API_MAC_OSX) && TARGET_API_MAC_OSX |
7 | 2548 MSG_PUTS(_("with Cocoa GUI.")); |
2549 # else | |
2250
1bac28a53fae
Add the conceal patch from Vince Negri.
Bram Moolenaar <bram@vim.org>
parents:
2214
diff
changeset
|
2550 # if defined(MACOS) |
7 | 2551 MSG_PUTS(_("with (classic) GUI.")); |
2552 # endif | |
2553 # endif | |
2554 # endif | |
2555 # endif | |
2556 # endif | |
2557 # endif | |
2558 # endif | |
2559 # endif | |
2560 #endif | |
2561 version_msg(_(" Features included (+) or not (-):\n")); | |
2562 | |
4147 | 2563 list_features(); |
7 | 2564 |
2565 #ifdef SYS_VIMRC_FILE | |
2566 version_msg(_(" system vimrc file: \"")); | |
2567 version_msg(SYS_VIMRC_FILE); | |
2568 version_msg("\"\n"); | |
2569 #endif | |
2570 #ifdef USR_VIMRC_FILE | |
2571 version_msg(_(" user vimrc file: \"")); | |
2572 version_msg(USR_VIMRC_FILE); | |
2573 version_msg("\"\n"); | |
2574 #endif | |
2575 #ifdef USR_VIMRC_FILE2 | |
2576 version_msg(_(" 2nd user vimrc file: \"")); | |
2577 version_msg(USR_VIMRC_FILE2); | |
2578 version_msg("\"\n"); | |
2579 #endif | |
2580 #ifdef USR_VIMRC_FILE3 | |
2581 version_msg(_(" 3rd user vimrc file: \"")); | |
2582 version_msg(USR_VIMRC_FILE3); | |
2583 version_msg("\"\n"); | |
2584 #endif | |
2585 #ifdef USR_EXRC_FILE | |
2586 version_msg(_(" user exrc file: \"")); | |
2587 version_msg(USR_EXRC_FILE); | |
2588 version_msg("\"\n"); | |
2589 #endif | |
2590 #ifdef USR_EXRC_FILE2 | |
2591 version_msg(_(" 2nd user exrc file: \"")); | |
2592 version_msg(USR_EXRC_FILE2); | |
2593 version_msg("\"\n"); | |
2594 #endif | |
2595 #ifdef FEAT_GUI | |
2596 # ifdef SYS_GVIMRC_FILE | |
2597 version_msg(_(" system gvimrc file: \"")); | |
2598 version_msg(SYS_GVIMRC_FILE); | |
2599 version_msg("\"\n"); | |
2600 # endif | |
2601 version_msg(_(" user gvimrc file: \"")); | |
2602 version_msg(USR_GVIMRC_FILE); | |
2603 version_msg("\"\n"); | |
2604 # ifdef USR_GVIMRC_FILE2 | |
2605 version_msg(_("2nd user gvimrc file: \"")); | |
2606 version_msg(USR_GVIMRC_FILE2); | |
2607 version_msg("\"\n"); | |
2608 # endif | |
2609 # ifdef USR_GVIMRC_FILE3 | |
2610 version_msg(_("3rd user gvimrc file: \"")); | |
2611 version_msg(USR_GVIMRC_FILE3); | |
2612 version_msg("\"\n"); | |
2613 # endif | |
2614 #endif | |
2615 #ifdef FEAT_GUI | |
2616 # ifdef SYS_MENU_FILE | |
2617 version_msg(_(" system menu file: \"")); | |
2618 version_msg(SYS_MENU_FILE); | |
2619 version_msg("\"\n"); | |
2620 # endif | |
2621 #endif | |
2622 #ifdef HAVE_PATHDEF | |
2623 if (*default_vim_dir != NUL) | |
2624 { | |
2625 version_msg(_(" fall-back for $VIM: \"")); | |
2626 version_msg((char *)default_vim_dir); | |
2627 version_msg("\"\n"); | |
2628 } | |
2629 if (*default_vimruntime_dir != NUL) | |
2630 { | |
2631 version_msg(_(" f-b for $VIMRUNTIME: \"")); | |
2632 version_msg((char *)default_vimruntime_dir); | |
2633 version_msg("\"\n"); | |
2634 } | |
2635 version_msg(_("Compilation: ")); | |
2636 version_msg((char *)all_cflags); | |
2637 version_msg("\n"); | |
2638 #ifdef VMS | |
2639 if (*compiler_version != NUL) | |
2640 { | |
2641 version_msg(_("Compiler: ")); | |
2642 version_msg((char *)compiler_version); | |
2643 version_msg("\n"); | |
2644 } | |
2645 #endif | |
2646 version_msg(_("Linking: ")); | |
2647 version_msg((char *)all_lflags); | |
2648 #endif | |
2649 #ifdef DEBUG | |
2650 version_msg("\n"); | |
2651 version_msg(_(" DEBUG BUILD")); | |
2652 #endif | |
2653 } | |
2654 | |
2655 /* | |
2656 * Output a string for the version message. If it's going to wrap, output a | |
2657 * newline, unless the message is too long to fit on the screen anyway. | |
2658 */ | |
2659 static void | |
2660 version_msg(s) | |
2661 char *s; | |
2662 { | |
2663 int len = (int)STRLEN(s); | |
2664 | |
2665 if (!got_int && len < (int)Columns && msg_col + len >= (int)Columns | |
2666 && *s != '\n') | |
2667 msg_putchar('\n'); | |
2668 if (!got_int) | |
2669 MSG_PUTS(s); | |
2670 } | |
2671 | |
2672 static void do_intro_line __ARGS((int row, char_u *mesg, int add_version, int attr)); | |
2673 | |
2674 /* | |
5126
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2675 * Show the intro message when not editing a file. |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2676 */ |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2677 void |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2678 maybe_intro_message() |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2679 { |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2680 if (bufempty() |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2681 && curbuf->b_fname == NULL |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2682 #ifdef FEAT_WINDOWS |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2683 && firstwin->w_next == NULL |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2684 #endif |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2685 && vim_strchr(p_shm, SHM_INTRO) == NULL) |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2686 intro_message(FALSE); |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2687 } |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2688 |
71859e71b1f9
updated for version 7.3.1306
Bram Moolenaar <bram@vim.org>
parents:
5124
diff
changeset
|
2689 /* |
7 | 2690 * Give an introductory message about Vim. |
2691 * Only used when starting Vim on an empty file, without a file name. | |
2692 * Or with the ":intro" command (for Sven :-). | |
2693 */ | |
2694 void | |
2695 intro_message(colon) | |
2696 int colon; /* TRUE for ":intro" */ | |
2697 { | |
2698 int i; | |
2699 int row; | |
2700 int blanklines; | |
2701 int sponsor; | |
2702 char *p; | |
2703 static char *(lines[]) = | |
2704 { | |
2705 N_("VIM - Vi IMproved"), | |
2706 "", | |
2707 N_("version "), | |
2708 N_("by Bram Moolenaar et al."), | |
2709 #ifdef MODIFIED_BY | |
2710 " ", | |
2711 #endif | |
2712 N_("Vim is open source and freely distributable"), | |
2713 "", | |
2714 N_("Help poor children in Uganda!"), | |
2715 N_("type :help iccf<Enter> for information "), | |
2716 "", | |
2717 N_("type :q<Enter> to exit "), | |
2718 N_("type :help<Enter> or <F1> for on-line help"), | |
26 | 2719 N_("type :help version7<Enter> for version info"), |
7 | 2720 NULL, |
2721 "", | |
2722 N_("Running in Vi compatible mode"), | |
2723 N_("type :set nocp<Enter> for Vim defaults"), | |
2724 N_("type :help cp-default<Enter> for info on this"), | |
2725 }; | |
2726 #ifdef FEAT_GUI | |
2727 static char *(gui_lines[]) = | |
2728 { | |
2729 NULL, | |
2730 NULL, | |
2731 NULL, | |
2732 NULL, | |
2733 #ifdef MODIFIED_BY | |
2734 NULL, | |
2735 #endif | |
2736 NULL, | |
2737 NULL, | |
2738 NULL, | |
2739 N_("menu Help->Orphans for information "), | |
2740 NULL, | |
2741 N_("Running modeless, typed text is inserted"), | |
2742 N_("menu Edit->Global Settings->Toggle Insert Mode "), | |
2743 N_(" for two modes "), | |
2744 NULL, | |
2745 NULL, | |
2746 NULL, | |
2747 N_("menu Edit->Global Settings->Toggle Vi Compatible"), | |
2748 N_(" for Vim defaults "), | |
2749 }; | |
2750 #endif | |
2751 | |
2752 /* blanklines = screen height - # message lines */ | |
2753 blanklines = (int)Rows - ((sizeof(lines) / sizeof(char *)) - 1); | |
2754 if (!p_cp) | |
2755 blanklines += 4; /* add 4 for not showing "Vi compatible" message */ | |
2756 #if defined(WIN3264) && !defined(FEAT_GUI_W32) | |
2757 if (mch_windows95()) | |
2758 blanklines -= 3; /* subtract 3 for showing "Windows 95" message */ | |
2759 #endif | |
2760 | |
2761 #ifdef FEAT_WINDOWS | |
2762 /* Don't overwrite a statusline. Depends on 'cmdheight'. */ | |
2763 if (p_ls > 1) | |
2764 blanklines -= Rows - topframe->fr_height; | |
2765 #endif | |
2766 if (blanklines < 0) | |
2767 blanklines = 0; | |
2768 | |
2769 /* Show the sponsor and register message one out of four times, the Uganda | |
2770 * message two out of four times. */ | |
615 | 2771 sponsor = (int)time(NULL); |
7 | 2772 sponsor = ((sponsor & 2) == 0) - ((sponsor & 4) == 0); |
2773 | |
2774 /* start displaying the message lines after half of the blank lines */ | |
2775 row = blanklines / 2; | |
2776 if ((row >= 2 && Columns >= 50) || colon) | |
2777 { | |
2778 for (i = 0; i < (int)(sizeof(lines) / sizeof(char *)); ++i) | |
2779 { | |
2780 p = lines[i]; | |
2781 #ifdef FEAT_GUI | |
2782 if (p_im && gui.in_use && gui_lines[i] != NULL) | |
2783 p = gui_lines[i]; | |
2784 #endif | |
2785 if (p == NULL) | |
2786 { | |
2787 if (!p_cp) | |
2788 break; | |
2789 continue; | |
2790 } | |
2791 if (sponsor != 0) | |
2792 { | |
2793 if (strstr(p, "children") != NULL) | |
2794 p = sponsor < 0 | |
2795 ? N_("Sponsor Vim development!") | |
2796 : N_("Become a registered Vim user!"); | |
2797 else if (strstr(p, "iccf") != NULL) | |
2798 p = sponsor < 0 | |
2799 ? N_("type :help sponsor<Enter> for information ") | |
2800 : N_("type :help register<Enter> for information "); | |
2801 else if (strstr(p, "Orphans") != NULL) | |
2802 p = N_("menu Help->Sponsor/Register for information "); | |
2803 } | |
2804 if (*p != NUL) | |
2805 do_intro_line(row, (char_u *)_(p), i == 2, 0); | |
2806 ++row; | |
2807 } | |
2808 #if defined(WIN3264) && !defined(FEAT_GUI_W32) | |
2809 if (mch_windows95()) | |
2810 { | |
2811 do_intro_line(++row, | |
2812 (char_u *)_("WARNING: Windows 95/98/ME detected"), | |
2813 FALSE, hl_attr(HLF_E)); | |
2814 do_intro_line(++row, | |
2815 (char_u *)_("type :help windows95<Enter> for info on this"), | |
2816 FALSE, 0); | |
2817 } | |
2818 #endif | |
2819 } | |
2820 | |
2821 /* Make the wait-return message appear just below the text. */ | |
2822 if (colon) | |
2823 msg_row = row; | |
2824 } | |
2825 | |
2826 static void | |
2827 do_intro_line(row, mesg, add_version, attr) | |
2828 int row; | |
2829 char_u *mesg; | |
2830 int add_version; | |
2831 int attr; | |
2832 { | |
2833 char_u vers[20]; | |
2834 int col; | |
2835 char_u *p; | |
2836 int l; | |
2837 int clen; | |
2838 #ifdef MODIFIED_BY | |
2839 # define MODBY_LEN 150 | |
2840 char_u modby[MODBY_LEN]; | |
2841 | |
2842 if (*mesg == ' ') | |
2843 { | |
1491 | 2844 vim_strncpy(modby, (char_u *)_("Modified by "), MODBY_LEN - 1); |
7 | 2845 l = STRLEN(modby); |
1491 | 2846 vim_strncpy(modby + l, (char_u *)MODIFIED_BY, MODBY_LEN - l - 1); |
7 | 2847 mesg = modby; |
2848 } | |
2849 #endif | |
2850 | |
2851 /* Center the message horizontally. */ | |
2852 col = vim_strsize(mesg); | |
2853 if (add_version) | |
2854 { | |
2855 STRCPY(vers, mediumVersion); | |
2856 if (highest_patch()) | |
2857 { | |
2858 /* Check for 9.9x or 9.9xx, alpha/beta version */ | |
2619 | 2859 if (isalpha((int)vers[3])) |
7 | 2860 { |
3396 | 2861 int len = (isalpha((int)vers[4])) ? 5 : 4; |
2862 sprintf((char *)vers + len, ".%d%s", highest_patch(), | |
2863 mediumVersion + len); | |
7 | 2864 } |
2865 else | |
2866 sprintf((char *)vers + 3, ".%d", highest_patch()); | |
2867 } | |
2868 col += (int)STRLEN(vers); | |
2869 } | |
2870 col = (Columns - col) / 2; | |
2871 if (col < 0) | |
2872 col = 0; | |
2873 | |
2874 /* Split up in parts to highlight <> items differently. */ | |
2875 for (p = mesg; *p != NUL; p += l) | |
2876 { | |
2877 clen = 0; | |
2878 for (l = 0; p[l] != NUL | |
2879 && (l == 0 || (p[l] != '<' && p[l - 1] != '>')); ++l) | |
2880 { | |
2881 #ifdef FEAT_MBYTE | |
2882 if (has_mbyte) | |
2883 { | |
2884 clen += ptr2cells(p + l); | |
474 | 2885 l += (*mb_ptr2len)(p + l) - 1; |
7 | 2886 } |
2887 else | |
2888 #endif | |
2889 clen += byte2cells(p[l]); | |
2890 } | |
2891 screen_puts_len(p, l, row, col, *p == '<' ? hl_attr(HLF_8) : attr); | |
2892 col += clen; | |
2893 } | |
2894 | |
2895 /* Add the version number to the version line. */ | |
2896 if (add_version) | |
2897 screen_puts(vers, row, col, 0); | |
2898 } | |
2899 | |
2900 /* | |
2901 * ":intro": clear screen, display intro screen and wait for return. | |
2902 */ | |
2903 void | |
2904 ex_intro(eap) | |
1876 | 2905 exarg_T *eap UNUSED; |
7 | 2906 { |
2907 screenclear(); | |
2908 intro_message(TRUE); | |
2909 wait_return(TRUE); | |
2910 } |