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