changeset 136:18f29039b83c

updated for version 7.0044
author vimboss
date Tue, 25 Jan 2005 22:22:02 +0000
parents b5fc81a825a1
children 3e7d17e425b0
files runtime/doc/todo.txt runtime/doc/version7.txt src/gui_gtk_x11.c
diffstat 3 files changed, 28 insertions(+), 26 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt*      For Vim version 7.0aa.  Last change: 2005 Jan 21
+*todo.txt*      For Vim version 7.0aa.  Last change: 2005 Jan 25
 
 
 		  VIM REFERENCE MANUAL	  by Bram Moolenaar
@@ -30,16 +30,21 @@ be worked on, but only if you sponsor Vi
 							*known-bugs*
 -------------------- Known bugs and current work -----------------------
 
-Dict member: use dict..foo instead of dict.foo to avoid confusion with string
-concatenation?
+Searching backwards with \zs gets stuck. (Brett Stahlman, Jan 23)
+
+netrw plugin: "i" remembers last action but not per window.
 
-Hashtable implementation:
-- Use hashtable for syntax keywords.
+List data type performance:
+- Cache the length of a List?
+- Cache the last used index?
+- Use blocks of items, so that finding an item by index is faster?
 
 Can ":grep" made faster somehow?  Do profiling.
+":vimgrep pat %" doesn't work.
 
 Sanity check of eval.c:
 - Go through the code for magic braces.
+- Check use of v_type for VAR_FUNC, VAR_LIST ad VAR_DICT.
 
 Mention Rsync command on runtime.php page:
     rsync -avzcP --delete --exclude="dos" --delete-excluded ftp.nluug.nl::Vim/runtime/ vim63-runtime
@@ -51,18 +56,18 @@ netrw plugin:
 Better way to get temp file for tcltags and vimspell scripts. (javier Pena)
 Possibly leave out code for temp directory.
 
-When allocating a new variable, a search is done for an empty entry.  May
-waste a lot of time if there isn't one.  Keep an index of available entry,
-none available, or unknown.
-
 patch for QuickFixCmdPre and QuickFixCmdPost autocommands. (Ciaran McCreesh,
 2005 Jan 1)
 
+When 'nowrap' is set and selecting text with the mouse, moving the mouse right
+of the text area doesn't cause a horizontal scroll. (Dave Ewart)
+
 New Motif toolbar button from Marcin Dalecki:
 - add remark in version7.txt
 - check if it works for pixmap loaded from a file.
 
 Explain Lists, Dicts, |:for| etc. in the user manual |usr_41.txt|.
+Add more tests for all List and Dict related functionality.
 
 Awaiting response:
 -   Patch for mch_FullName() also in Vim 6.3?  os_mswin.c
@@ -257,14 +262,6 @@ Add gui_mch_browsedir() for Motif, KDE a
 HTML indenting can be slow, find out why.  Any way to do some kind of
 profiling for Vim script?
 
-List data type performance:
-- Cache the length of a List?
-- Cache the last used index?
-- Use blocks of items, so that finding an item by index is faster?
-
-Dictionary data type performance:
-- Use a hash to locate items
-
 Updated Ruby interface. (Ryan Paul)
 
 Awaiting updated patches:
@@ -1409,9 +1406,6 @@ 8   When editing a new file without a na
 8   Make conversion to HTML faster (Write it in C or pre-compile the script).
 9   There is still a redraw bug somewhere.  Probably because a cached state is
     used in a wrong way.  I can't reproduce it...
-7   Make syntax keyword table configurable.  Set number of bits used with
-    ":syn clear [hashbits]", so that we don't need to reallocate the table.
-    minimal 4 bits, maximal 16. (Campbell)
 7   Be able to change only the background highlighting.  Useful for Diff* and
     Search highlighting.
 8   Allow the user to add items to the Syntax menu sorted, without having to
@@ -1421,9 +1415,6 @@ 8   Add a "matchcontains" for regions: i
 8   Add a "keepend-contained" argument: Don't change the end of an item this
     one is contained in.  Like "keepend" but specified on the contained item,
     instead of the containing item.
-8   For keywords, allow to define the size of the hash table with ":syn
-    clear".  Change KHASH_ defines into variables stored in buffer struct.
-    Use something else than linear linked list from the hash table. (Campbell)
 8   cpp.vim: In C++ it's allowed to use {} inside ().
 8   Some syntax files set 'iskeyword'.  When switching to another filetype
     this isn't reset.  Add a special keyword definition for the syntax rules?
--- a/runtime/doc/version7.txt
+++ b/runtime/doc/version7.txt
@@ -1,4 +1,4 @@
-*version7.txt*  For Vim version 7.0aa.  Last change: 2005 Jan 20
+*version7.txt*  For Vim version 7.0aa.  Last change: 2005 Jan 25
 
 
 		  VIM REFERENCE MANUAL    by Bram Moolenaar
@@ -426,6 +426,9 @@ invalid characters after the register na
 ":let w:" lists window-local variables.
 ":let v:" lists Vim variables.
 
+The stridx() funcion takes a third argument, where to start searching.
+(Yegappan Lakshmanan)
+
 ==============================================================================
 COMPILE TIME CHANGES					*compile-changes-7*
 
@@ -700,4 +703,9 @@ Completion for ":next a'<Tab>" put a bac
 not removed when editing a file.  Now halve backslashes in save_patterns().
 Also fix expanding a file name with the shell that contains "\'".
 
+When doing "1,6d|put" only "fewer lines" was reported.  Now a following "more
+lines" overwrites the message.
+
+Configure could not handle "-Dfoo=long\ long" in the TCL config output.
+
  vim:tw=78:ts=8:ft=help:norl:
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -2969,7 +2969,9 @@ gui_mch_init(void)
     gui.border_width = 2;
     gui.scrollbar_width = SB_DEFAULT_WIDTH;
     gui.scrollbar_height = SB_DEFAULT_WIDTH;
+    /* LINTED: avoid warning: conversion to 'unsigned long' */
     gui.fgcolor = g_new0(GdkColor, 1);
+    /* LINTED: avoid warning: conversion to 'unsigned long' */
     gui.bgcolor = g_new0(GdkColor, 1);
 
     /* Initialise atoms */
@@ -4078,6 +4080,7 @@ gui_mch_adjust_charsize(void)
 
     gui.char_height = (ascent + descent + PANGO_SCALE - 1) / PANGO_SCALE
 		      + p_linespace;
+    /* LINTED: avoid warning: bitwise operation on signed value */
     gui.char_ascent = PANGO_PIXELS(ascent + p_linespace * PANGO_SCALE / 2);
 
 #else /* !HAVE_GTK2 */
@@ -6350,9 +6353,9 @@ mch_set_mouse_shape(int shape)
 	    id = mshape_ids[shape];
 # ifdef HAVE_GTK_MULTIHEAD
 	c = gdk_cursor_new_for_display(
-		gtk_widget_get_display(gui.drawarea), id);
+		gtk_widget_get_display(gui.drawarea), (GdkCursorType)id);
 # else
-	c = gdk_cursor_new(id);
+	c = gdk_cursor_new((GdkCursorType)id);
 # endif
 	gdk_window_set_cursor(gui.drawarea->window, c);
 	gdk_cursor_destroy(c); /* Unref, actually.  Bloody GTK+ 1. */