]> granicus.if.org Git - vim/commitdiff
updated for version 7.0053 v7.0053
authorBram Moolenaar <Bram@vim.org>
Sun, 27 Feb 2005 22:43:26 +0000 (22:43 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 27 Feb 2005 22:43:26 +0000 (22:43 +0000)
runtime/doc/todo.txt
runtime/doc/version7.txt
src/eval.c

index db411d65a3295065c797da3247745fe29b50e050..95df8bc92a44c966688da895c43afa260c92cc4f 100644 (file)
@@ -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
index b007cddba82f8b89270813f393469462cccf270d..2ac2ceac2c7c88a75c62ee4c7e7491c5daa8ef9e 100644 (file)
@@ -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*
 
index 13382940b77cbcc2d81aae7936c601d4a027e6aa..5840cc5ad4dec4f2bf7ed29202637011bca66333 100644 (file)
@@ -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))
                {