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