# HG changeset patch # User vimboss # Date 1107813816 0 # Node ID 7e6c3b196717fe91916c69327c61df065e2b35c3 # Parent 6df0106fc595669258d1f699fc4d201c6a788bed updated for version 7.0049 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 05 +*todo.txt* For Vim version 7.0aa. Last change: 2005 Feb 07 VIM REFERENCE MANUAL by Bram Moolenaar @@ -30,19 +30,21 @@ be worked on, but only if you sponsor Vi *known-bugs* -------------------- Known bugs and current work ----------------------- -patch for QuickFixCmdPre and QuickFixCmdPost autocommands. (Ciaran McCreesh, -2005 Jan 1) +Make list of user functions a hashtable. -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) +POSIX compliance: +- See ~/src/posix/TET//vsc/results/0015e/journal test 130 +- "-w#" and "-w #" argument doesn't work. + +Announce autoload functionality. + +"norm! gQ" hangs. Fixes in ex_getln.c and ex_docmd.c also in Vim 6.3? New Motif toolbar button from Marcin Dalecki: -- add remark in version7.txt -- after ":colors default" all the toolbar icons are the same. -- 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. +- When the mouse pointer is over an Agide button the red becomes black. + Something with the way colors are specified in the .xpm file. +- The pixmap is two pixels smaller than it should be. The gap is filled + with grey instead of the current toolbar background color. Awaiting response: - Patch for mch_FullName() also in Vim 6.3? os_mswin.c @@ -52,12 +54,6 @@ Awaiting response: PLANNED FOR VERSION 7.0: -- For string variables, use length instead of NUL termination? - + can include NUL characters - - setline() will have problems with NL vs NUL. - Can use list of numbers instead (inefficient though). - Also: for strings up to 3 bytes don't allocate memory, use v_list itself - as a character array? - new DATA TYPES: - None? (or use empty string?) See ~/vim/ideas.txt. @@ -207,8 +203,6 @@ 7 Make ":startinsert" command work dir Support ":set syntax=cpp.doxygen"? Suggested patch by Michael Geddes (9 Aug 2004). Should also work for 'filetype'. -g CTRL-G should also show number of characters (not only bytes). - For manipulating buffers without opening a new window, support Virtual windows. Example: :virtwin let l = GetBufLine(4, 10) @@ -236,6 +230,8 @@ usec. reltime([start, [end]]) echo timestring(reltime(start), 3) (3 is nr of digits after dot) reltime(start, end) difference between start and end +Add more tests for all new functionality in Vim 7. Especially new functions. + Updated Ruby interface. (Ryan Paul) Awaiting updated patches: @@ -497,9 +493,6 @@ 8 When 'grepprg' doesn't execute, the 8 When the 'shell' cannot be executed, should give an appropriate error msg. Esp. for a filter command, currently it only complains the file could not be read. -8 MessageBox used for error messages can be too big. There is no way to - scroll it, or even hit the OK button (but you can hit return). - Use a scrollable window. 7 Add an option to add one pixel column to the character width? Lucida Console italic is wider than the normal font ("d" overlaps with next char). Opposite of 'linespace': 'columnspace'. @@ -806,9 +799,6 @@ 8 When redirecting and using ":silent" 7 There is no way to change directory and go back without changing the local and/or global directory. Add a way to find out if the current window uses a local directory. Add cdcmd() that returns ":cd" or ":lcd"? -7 After running "make test" the window title is sometimes not restored. - Mostly sticks at "test3.in", but not always. Appears to happen more often - when compiled with Python (threading). 7 The messages for "vim --help" and "vim --version" don't use 'termencoding'. 8 When 'scrollbind' is set, a window won't scroll horizontally if the cursor @@ -1074,7 +1064,7 @@ 9 NT 4.0 on NTFS file system: Editing Problems that will (probably) not be solved: - xterm title: The following scenario may occur (esp. when running the Vim test script): Vim 1 sets the title to "file1", then restores the title to - "xterm" when exiting with an ESC sequence. Vim 2 obtains the old title + "xterm" with an ESC sequence when exiting. Vim 2 obtains the old title with an X library call, this may result in "file1", because the window manager hasn't processed the "xterm" title yet. Can apparently only be worked around with a delay. @@ -1645,6 +1635,8 @@ 6 Add file locking. Lock a file when Performance: +7 For strings up to 3 bytes don't allocate memory, use v_list itself as a + character array. Use VAR_SSTRING (short string). 8 Loading plugins takes startup time. Only load the part that is used to trigger the rest, and load the rest when it's needed? 8 Turn b_syn_ic and b_syn_containedin into b_syn_flags. @@ -3218,6 +3210,8 @@ 8 findmatchlimit() should be able to s :redir #>> bufname (append) :redir => variable :redir =>> variable (append) +- Give error message when starting :redir: twice or using END when no + redirection was active. - Setting of options, specifically for a buffer or window, with ":set window.option" or ":set buffer.option=val". Or use ":buffer.set". Also: "buffer.map quit". 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 04 +*version7.txt* For Vim version 7.0aa. Last change: 2005 Feb 07 VIM REFERENCE MANUAL by Bram Moolenaar @@ -256,6 +256,9 @@ New functions: ~ |values()| get List of Dictionary values |writefile()| write a list of lines into a file +User defined functions can now be loaded automatically from the "autoload" +directory in 'runtimepath'. See |autoload-functions|. + New autocommand events: ~ @@ -264,6 +267,8 @@ New autocommand events: ~ |InsertLeave| leaving Insert or Replace mode |ColorScheme| after loading a color scheme +|QuickFixCmdPre| before :make, :grep et al. (Ciaran McCreesh) +|QuickFixCmdPost| after :make, :grep et al. (Ciaran McCreesh) New items in search patterns: ~ @@ -314,6 +319,8 @@ Mac: GUI font selector. (Peter "Rain Dog GUI font selector for Motif. (Marcin Dalecki) +Nicer toolbar buttons for Motif. (Marcin Dalecki) + Mnemonics for the Motif find/replace dialog. (Marcin Dalecki) Mac: better integration with Xcode. Post a fake mouse-up event after the odoc @@ -436,6 +443,9 @@ invalid characters after the register na The stridx() and strridx() functions take a third argument, where to start searching. (Yegappan Lakshmanan) +g CTRL-G also shows the number of characters if it differs from the number of +bytes. + ============================================================================== COMPILE TIME CHANGES *compile-changes-7* @@ -735,4 +745,20 @@ Treat "mlterm" as an xterm-like terminal ":z.4" and ":z=4" didn't work Vi compatible. +When sourcing a file, editing it and sourcing it again, it could appear twice +in ":scriptnames" and get a new , because the inode has changed. + +When $SHELL is set but empty the 'shell' option would be empty. Don't use an +empty $SHELL value. + +A command "w! file" in .vimrc or $EXINIT didn't work. Now it writes an empty +file. + +When a CTRL-F command at the end of the file failed, the cursor was still +moved to the start of the line. Now it remains where it is. + +When using ":s" or "&" to repeat the last substitute and "$" was used to put +the cursor in the last column, put the cursor in the last column again. This +is Vi compatible. + vim:tw=78:ts=8:ft=help:norl: diff --git a/src/menu.c b/src/menu.c --- a/src/menu.c +++ b/src/menu.c @@ -1001,6 +1001,9 @@ free_menu(menup) vim_free(menu->actext); #ifdef FEAT_TOOLBAR vim_free(menu->iconfile); +# ifdef FEAT_GUI_MOTIF + vim_free(menu->xpm_fname); +# endif #endif for (i = 0; i < MENU_MODES; i++) free_menu_string(menu, i); diff --git a/src/proto/ex_cmds2.pro b/src/proto/ex_cmds2.pro --- a/src/proto/ex_cmds2.pro +++ b/src/proto/ex_cmds2.pro @@ -43,6 +43,7 @@ int *source_dbg_tick __ARGS((void *cooki int source_level __ARGS((void *cookie)); int do_source __ARGS((char_u *fname, int check_other, int is_vimrc)); void ex_scriptnames __ARGS((exarg_T *eap)); +int has_scriptname __ARGS((char_u *name)); void scriptnames_slash_adjust __ARGS((void)); char_u *get_scriptname __ARGS((scid_T id)); char *fgets_cr __ARGS((char *s, int n, FILE *stream));