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