0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

updated for version 7.0053

This commit is contained in:
Bram Moolenaar
2005-02-27 22:43:26 +00:00
parent 2be221fa5e
commit 038eb0ed16
3 changed files with 39 additions and 5 deletions

View 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 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*
-------------------- Known bugs and current work ----------------------- -------------------- 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. Test11 sometimes fails. Must be a problem with fork() and pipes.
'sw' is sometimes 8 when using :vimgrep. 'sw' is sometimes 8 when using :vimgrep.
@@ -44,6 +70,8 @@ Mac unicode patch (Da Woon Jung):
- typing doesn't work - typing doesn't work
- selecting proportional font breaks display - selecting proportional font breaks display
Patch for gettags(). Yegappan Lakshmanan Feb 27
autoload: autoload:
- Add a Vim script in $VIMRUNTIME/tools that takes a file with a list of - 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 script names and a help file and produces a script that can be sourced to
@@ -55,7 +83,7 @@ autoload:
helpfile doc/myscript.txt helpfile doc/myscript.txt
For the "helpfile" item ":helptags" is run. 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: Awaiting response:
- Patch for mch_FullName() also in Vim 6.3? os_mswin.c - Patch for mch_FullName() also in Vim 6.3? os_mswin.c

View 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 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 + The |:let| command can now use ":let var += expr" like using ":let var = var +
expr". "-=" and ".=" works in a similar way. 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* 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 To count items (pattern matches) without changing the buffer the 'n' flag has
been added to |:substitute|. See |count-items|. 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* COMPILE TIME CHANGES *compile-changes-7*

View File

@@ -15337,8 +15337,8 @@ ex_function(eap)
{ {
if (!eap->skip) if (!eap->skip)
{ {
todo = globvarht.ht_used; todo = func_hashtab.ht_used;
for (hi = globvarht.ht_array; todo > 0 && !got_int; ++hi) for (hi = func_hashtab.ht_array; todo > 0 && !got_int; ++hi)
{ {
if (!HASHITEM_EMPTY(hi)) if (!HASHITEM_EMPTY(hi))
{ {