Mirror of the Vim source from https://github.com/vim/vim
Revisão | c12f39141bbc7c031b51352896a78324ad27398c (tree) |
---|---|
Hora | 2005-02-28 07:43:26 |
Autor | vimboss |
Commiter | vimboss |
updated for version 7.0053
@@ -1,4 +1,4 @@ | ||
1 | -*todo.txt* For Vim version 7.0aa. Last change: 2005 Feb 26 | |
1 | +*todo.txt* For Vim version 7.0aa. Last change: 2005 Feb 27 | |
2 | 2 | |
3 | 3 | |
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -30,6 +30,32 @@ | ||
30 | 30 | *known-bugs* |
31 | 31 | -------------------- Known bugs and current work ----------------------- |
32 | 32 | |
33 | +Win32 gettimeofday(): | |
34 | +Or use QueryPerformanceCounter() and QueryPerformanceFrequency() | |
35 | +int gettimeofday (struct timeval *tv, void* tz) | |
36 | + { | |
37 | + union { | |
38 | + LONG_LONG ns100; /*time since 1 Jan 1601 in 100ns units */ | |
39 | + FILETIME ft; | |
40 | + } now; | |
41 | + > | |
42 | + GetSystemTimeAsFileTime (&now.ft); | |
43 | + tv->tv_usec = (long) ((now.ns100 / 10LL) % 1000000LL); | |
44 | + tv->tv_sec = (long) ((now.ns100 - 116444736000000000LL) / 10000000LL); | |
45 | + return (0); | |
46 | + } | |
47 | +Or use GetSystemTime(). | |
48 | +Or: | |
49 | + unsigned long Ticks = 0; | |
50 | + unsigned long Sec =0; | |
51 | + unsigned long Usec = 0; | |
52 | + Ticks = timeGetTime(); | |
53 | + | |
54 | + Sec = Ticks/1000; | |
55 | + Usec = (Ticks - (Sec*1000))*1000; | |
56 | + tp->tv_sec = Sec; | |
57 | + tp->tv_usec = Usec; | |
58 | + | |
33 | 59 | Test11 sometimes fails. Must be a problem with fork() and pipes. |
34 | 60 | |
35 | 61 | 'sw' is sometimes 8 when using :vimgrep. |
@@ -44,6 +70,8 @@ | ||
44 | 70 | - typing doesn't work |
45 | 71 | - selecting proportional font breaks display |
46 | 72 | |
73 | +Patch for gettags(). Yegappan Lakshmanan Feb 27 | |
74 | + | |
47 | 75 | autoload: |
48 | 76 | - Add a Vim script in $VIMRUNTIME/tools that takes a file with a list of |
49 | 77 | script names and a help file and produces a script that can be sourced to |
@@ -55,7 +83,7 @@ | ||
55 | 83 | helpfile doc/myscript.txt |
56 | 84 | For the "helpfile" item ":helptags" is run. |
57 | 85 | |
58 | -Patch for 'balloonexpr' option. Sergey Khorev, Feb 26. | |
86 | +Patch for 'balloonexpr' option. Sergey Khorev, Feb 26. Addition Feb 27. | |
59 | 87 | |
60 | 88 | Awaiting response: |
61 | 89 | - Patch for mch_FullName() also in Vim 6.3? os_mswin.c |
@@ -1,4 +1,4 @@ | ||
1 | -*version7.txt* For Vim version 7.0aa. Last change: 2005 Feb 24 | |
1 | +*version7.txt* For Vim version 7.0aa. Last change: 2005 Feb 27 | |
2 | 2 | |
3 | 3 | |
4 | 4 | VIM REFERENCE MANUAL by Bram Moolenaar |
@@ -119,6 +119,9 @@ | ||
119 | 119 | The |:let| command can now use ":let var += expr" like using ":let var = var + |
120 | 120 | expr". "-=" and ".=" works in a similar way. |
121 | 121 | |
122 | +With the |:profile| command you can find out where your function or script | |
123 | +wastes its time. | |
124 | + | |
122 | 125 | |
123 | 126 | KDE support *new-KDE* |
124 | 127 | ----------- |
@@ -535,6 +538,9 @@ | ||
535 | 538 | To count items (pattern matches) without changing the buffer the 'n' flag has |
536 | 539 | been added to |:substitute|. See |count-items|. |
537 | 540 | |
541 | +The "screen.linux" $TERM name is recognized to set the default for | |
542 | +'background' to "dark". (Ciaran McCreesh) | |
543 | + | |
538 | 544 | ============================================================================== |
539 | 545 | COMPILE TIME CHANGES *compile-changes-7* |
540 | 546 |
@@ -15337,8 +15337,8 @@ | ||
15337 | 15337 | { |
15338 | 15338 | if (!eap->skip) |
15339 | 15339 | { |
15340 | - todo = globvarht.ht_used; | |
15341 | - for (hi = globvarht.ht_array; todo > 0 && !got_int; ++hi) | |
15340 | + todo = func_hashtab.ht_used; | |
15341 | + for (hi = func_hashtab.ht_array; todo > 0 && !got_int; ++hi) | |
15342 | 15342 | { |
15343 | 15343 | if (!HASHITEM_EMPTY(hi)) |
15344 | 15344 | { |