diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-02-27 22:43:26 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-02-27 22:43:26 +0000 |
commit | 038eb0ed1667066df0be1d9e79ebbb3fe9894cb4 (patch) | |
tree | efcfa4c6418f80196045a32a46bcf87d74d0db0a | |
parent | 2be221fa5e4360675bf8ce4d7d6d57bc475185ca (diff) | |
download | vim-git-038eb0ed1667066df0be1d9e79ebbb3fe9894cb4.tar.gz |
updated for version 7.0053v7.0053
-rw-r--r-- | runtime/doc/todo.txt | 32 | ||||
-rw-r--r-- | runtime/doc/version7.txt | 8 | ||||
-rw-r--r-- | src/eval.c | 4 |
3 files changed, 39 insertions, 5 deletions
diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt index db411d65a..95df8bc92 100644 --- 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 Vim development. See |sponsor|. *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 index b007cddba..2ac2ceac2 100644 --- 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 variable value. 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 "\(^\|[\/]\)" instead of "^", so that 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 index 13382940b..5840cc5ad 100644 --- 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)) { |