# HG changeset patch # User vimboss # Date 1109544206 0 # Node ID c12f39141bbc7c031b51352896a78324ad27398c # Parent 6e9968f34740e037be5992841b5d264202e1f08e updated for version 7.0053 diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt --- a/runtime/doc/todo.txt +++ b/runtime/doc/todo.txt @@ -1,4 +1,4 @@ -*todo.txt* For Vim version 7.0aa. Last change: 2005 Feb 26 +*todo.txt* For Vim version 7.0aa. Last change: 2005 Feb 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -30,6 +30,32 @@ be worked on, but only if you sponsor Vi *known-bugs* -------------------- Known bugs and current work ----------------------- +Win32 gettimeofday(): +Or use QueryPerformanceCounter() and QueryPerformanceFrequency() +int gettimeofday (struct timeval *tv, void* tz) + { + union { + LONG_LONG ns100; /*time since 1 Jan 1601 in 100ns units */ + FILETIME ft; + } now; + > + GetSystemTimeAsFileTime (&now.ft); + tv->tv_usec = (long) ((now.ns100 / 10LL) % 1000000LL); + tv->tv_sec = (long) ((now.ns100 - 116444736000000000LL) / 10000000LL); + return (0); + } +Or use GetSystemTime(). +Or: + unsigned long Ticks = 0; + unsigned long Sec =0; + unsigned long Usec = 0; + Ticks = timeGetTime(); + + Sec = Ticks/1000; + Usec = (Ticks - (Sec*1000))*1000; + tp->tv_sec = Sec; + tp->tv_usec = Usec; + Test11 sometimes fails. Must be a problem with fork() and pipes. 'sw' is sometimes 8 when using :vimgrep. @@ -44,6 +70,8 @@ Mac unicode patch (Da Woon Jung): - typing doesn't work - selecting proportional font breaks display +Patch for gettags(). Yegappan Lakshmanan Feb 27 + autoload: - Add a Vim script in $VIMRUNTIME/tools that takes a file with a list of script names and a help file and produces a script that can be sourced to @@ -55,7 +83,7 @@ autoload: helpfile doc/myscript.txt For the "helpfile" item ":helptags" is run. -Patch for 'balloonexpr' option. Sergey Khorev, Feb 26. +Patch for 'balloonexpr' option. Sergey Khorev, Feb 26. Addition Feb 27. Awaiting response: - Patch for mch_FullName() also in Vim 6.3? os_mswin.c diff --git a/runtime/doc/version7.txt b/runtime/doc/version7.txt --- a/runtime/doc/version7.txt +++ b/runtime/doc/version7.txt @@ -1,4 +1,4 @@ -*version7.txt* For Vim version 7.0aa. Last change: 2005 Feb 24 +*version7.txt* For Vim version 7.0aa. Last change: 2005 Feb 27 VIM REFERENCE MANUAL by Bram Moolenaar @@ -119,6 +119,9 @@ can be used to turn the string back into The |:let| command can now use ":let var += expr" like using ":let var = var + expr". "-=" and ".=" works in a similar way. +With the |:profile| command you can find out where your function or script +wastes its time. + KDE support *new-KDE* ----------- @@ -535,6 +538,9 @@ When completing buffer names, match with To count items (pattern matches) without changing the buffer the 'n' flag has been added to |:substitute|. See |count-items|. +The "screen.linux" $TERM name is recognized to set the default for +'background' to "dark". (Ciaran McCreesh) + ============================================================================== COMPILE TIME CHANGES *compile-changes-7* diff --git a/src/eval.c b/src/eval.c --- a/src/eval.c +++ b/src/eval.c @@ -15337,8 +15337,8 @@ ex_function(eap) { if (!eap->skip) { - todo = globvarht.ht_used; - for (hi = globvarht.ht_array; todo > 0 && !got_int; ++hi) + todo = func_hashtab.ht_used; + for (hi = func_hashtab.ht_array; todo > 0 && !got_int; ++hi) { if (!HASHITEM_EMPTY(hi)) {