mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.0225
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
*todo.txt* For Vim version 7.0aa. Last change: 2006 Mar 14
|
*todo.txt* For Vim version 7.0aa. Last change: 2006 Mar 15
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -30,10 +30,6 @@ 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 -----------------------
|
||||||
|
|
||||||
- UNDO TREE:
|
|
||||||
Make proper test for "g+" and "g-", :earlier, :later
|
|
||||||
Verify there are no memory leaks.
|
|
||||||
|
|
||||||
Win32: Describe how to do debugging. (George Reilly)
|
Win32: Describe how to do debugging. (George Reilly)
|
||||||
|
|
||||||
Mac unicode patch (Da Woon Jung, Eckehard Berns):
|
Mac unicode patch (Da Woon Jung, Eckehard Berns):
|
||||||
@@ -49,20 +45,10 @@ Mac unicode patch (Da Woon Jung, Eckehard Berns):
|
|||||||
CONSIDERED FOR VERSION 7.0:
|
CONSIDERED FOR VERSION 7.0:
|
||||||
|
|
||||||
- EMBEDDING: Make it possible to run Vim inside a window of another program.
|
- EMBEDDING: Make it possible to run Vim inside a window of another program.
|
||||||
For Xwindows this can be done with XReparentWindow().
|
|
||||||
For GTK Neil Bird has a patch to use Vim like a widget.
|
For GTK Neil Bird has a patch to use Vim like a widget.
|
||||||
|
|
||||||
- Add a few more things to 'diffopt': "horizontal", "vertical",
|
|
||||||
"foldcolumn". (Benji Fisher, 2004 Jun 21)
|
|
||||||
- FileChangedShellPost autocommand event: after (not) reloading a changed
|
|
||||||
file. Can be used to update statusline oslt.
|
|
||||||
- VimResized autocmd event: When the Vim window has been resized (SIGWINCH)
|
|
||||||
patch from Yakov Lerner, 2003 July 24.
|
|
||||||
It's not clear that this doesn't cause problems when the executed
|
|
||||||
commands do something like changing 'lines'. Esp. because the
|
|
||||||
screen has not yet been allocated with the new size.
|
|
||||||
7 Make ":startinsert" command work directly for functions and scripts?
|
7 Make ":startinsert" command work directly for functions and scripts?
|
||||||
Also make it possible to append (it's difficult at end of line).
|
|
||||||
- When using 'incsearch" CTRL-R CTRL-W gets the word under the cursor, but
|
- When using 'incsearch" CTRL-R CTRL-W gets the word under the cursor, but
|
||||||
the part that already matched is doubled then. Remove the part of the
|
the part that already matched is doubled then. Remove the part of the
|
||||||
word that would be doubled. Make it work line CTRL-N in Insert mode.
|
word that would be doubled. Make it work line CTRL-N in Insert mode.
|
||||||
@@ -106,8 +92,6 @@ Profiling:
|
|||||||
- :profile pause
|
- :profile pause
|
||||||
- :profile resume
|
- :profile resume
|
||||||
|
|
||||||
Add more tests for all new functionality in Vim 7. Especially new functions.
|
|
||||||
|
|
||||||
'errorformat' docs are a bit unclear. Suggestions by Charles Campbell (2006
|
'errorformat' docs are a bit unclear. Suggestions by Charles Campbell (2006
|
||||||
Jan 6)
|
Jan 6)
|
||||||
Add a flag to check for a match with the next item first? Helps for
|
Add a flag to check for a match with the next item first? Helps for
|
||||||
@@ -119,6 +103,8 @@ mappings for normal keys can be removed from Select mode.
|
|||||||
Check if file explorer can handle directory names and links with a single
|
Check if file explorer can handle directory names and links with a single
|
||||||
quote. (Nieko Maatjes, 2005 Jan 4)
|
quote. (Nieko Maatjes, 2005 Jan 4)
|
||||||
|
|
||||||
|
Add more tests for all new functionality in Vim 7. Especially new functions.
|
||||||
|
|
||||||
|
|
||||||
Awaiting updated patches:
|
Awaiting updated patches:
|
||||||
8 Add ":n" to fnamemodify(): normalize path, remove "../" when possible.
|
8 Add ":n" to fnamemodify(): normalize path, remove "../" when possible.
|
||||||
@@ -1065,6 +1051,8 @@ Didn't make it into Vim 7.0:
|
|||||||
values for the optional fields. E.g., ":tag size type=m".
|
values for the optional fields. E.g., ":tag size type=m".
|
||||||
Also allow specifying the file and command, so that the result of
|
Also allow specifying the file and command, so that the result of
|
||||||
taglist() can be used.
|
taglist() can be used.
|
||||||
|
- X11: Make it possible to run Vim inside a window of another program.
|
||||||
|
This can be done with XReparentWindow(). But how exactly?
|
||||||
|
|
||||||
|
|
||||||
Documentation:
|
Documentation:
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
*version7.txt* For Vim version 7.0aa. Last change: 2006 Mar 14
|
*version7.txt* For Vim version 7.0aa. Last change: 2006 Mar 15
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -722,6 +722,10 @@ New autocommand events: ~
|
|||||||
|ShellCmdPost| after executing a shell command
|
|ShellCmdPost| after executing a shell command
|
||||||
|ShellFilterPost| after filtering with a shell command
|
|ShellFilterPost| after filtering with a shell command
|
||||||
|
|
||||||
|
|VimResized| after the Vim window size changed (Yakov Lerner)
|
||||||
|
|
||||||
|
|FileChangedShellPost| after handling a file changed outside of Vim
|
||||||
|
|
||||||
|SourcePre| before sourcing a Vim script
|
|SourcePre| before sourcing a Vim script
|
||||||
|
|
||||||
|CursorHoldI| the user doesn't press a key for a while in Insert mode
|
|CursorHoldI| the user doesn't press a key for a while in Insert mode
|
||||||
@@ -1121,6 +1125,9 @@ completion supported for the input. (Yegappan Lakshmanan)
|
|||||||
"dp" works with more than two buffers in diff mode if there is only one where
|
"dp" works with more than two buffers in diff mode if there is only one where
|
||||||
'modifiable' is set.
|
'modifiable' is set.
|
||||||
|
|
||||||
|
The 'diffopt' option has three new values: "horizontal", "vertical" and
|
||||||
|
"foldcolumn".
|
||||||
|
|
||||||
When the 'include' option contains \zs the file name found is what is being
|
When the 'include' option contains \zs the file name found is what is being
|
||||||
matched from \zs to the end or \ze. Useful to pass more to 'includeexpr'.
|
matched from \zs to the end or \ze. Useful to pass more to 'includeexpr'.
|
||||||
|
|
||||||
@@ -1218,6 +1225,9 @@ without copying the code.
|
|||||||
"make" now creates the Vim.app directory and "make install" copies it to its
|
"make" now creates the Vim.app directory and "make install" copies it to its
|
||||||
final destination. (Raf)
|
final destination. (Raf)
|
||||||
|
|
||||||
|
Put the runtime directory not directly in Vim.app but in
|
||||||
|
Vim.app/Contents/Resources/vim, so that it's according to Mac specs.
|
||||||
|
|
||||||
Made it possible to compile with Motif, Athena or GTK without tricks and still
|
Made it possible to compile with Motif, Athena or GTK without tricks and still
|
||||||
being able to use the MacRoman conversion. Added the os_mac_conv.c file.
|
being able to use the MacRoman conversion. Added the os_mac_conv.c file.
|
||||||
|
|
||||||
|
22
src/main.c
22
src/main.c
@@ -416,13 +416,8 @@ main
|
|||||||
TIME_MSG("expanding arguments");
|
TIME_MSG("expanding arguments");
|
||||||
|
|
||||||
#ifdef FEAT_DIFF
|
#ifdef FEAT_DIFF
|
||||||
if (params.diff_mode)
|
if (params.diff_mode && params.window_count == -1)
|
||||||
{
|
params.window_count = 0; /* open up to 3 windows */
|
||||||
if (params.window_count == -1)
|
|
||||||
params.window_count = 0; /* open up to 3 windows */
|
|
||||||
if (params.window_layout == 0)
|
|
||||||
params.window_layout = WIN_VER; /* use vertical split */
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Don't redraw until much later. */
|
/* Don't redraw until much later. */
|
||||||
@@ -556,6 +551,17 @@ main
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef FEAT_DIFF
|
||||||
|
/* Decide about window layout for diff mode after reading vimrc. */
|
||||||
|
if (params.diff_mode && params.window_layout == 0)
|
||||||
|
{
|
||||||
|
if (diffopt_horizontal())
|
||||||
|
params.window_layout = WIN_HOR; /* use horizontal split */
|
||||||
|
else
|
||||||
|
params.window_layout = WIN_VER; /* use vertical split */
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Recovery mode without a file name: List swap files.
|
* Recovery mode without a file name: List swap files.
|
||||||
* This uses the 'dir' option, therefore it must be after the
|
* This uses the 'dir' option, therefore it must be after the
|
||||||
@@ -1357,7 +1363,7 @@ parse_command_name(parmp)
|
|||||||
disallow_gui = TRUE;
|
disallow_gui = TRUE;
|
||||||
|
|
||||||
/* TODO: On MacOS X default to gui if argv[0] ends in:
|
/* TODO: On MacOS X default to gui if argv[0] ends in:
|
||||||
* /vim.app/Contents/MacOS/Vim */
|
* /Vim.app/Contents/MacOS/Vim */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef FEAT_EVAL
|
#ifdef FEAT_EVAL
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
# Authors: Zoltan Arpadffy, <arpadffy@polarhome.com>
|
# Authors: Zoltan Arpadffy, <arpadffy@polarhome.com>
|
||||||
# Sandor Kopanyi, <sandor.kopanyi@mailbox.hu>
|
# Sandor Kopanyi, <sandor.kopanyi@mailbox.hu>
|
||||||
#
|
#
|
||||||
# Last change: 2005 Jul 05
|
# Last change: 2006 Mar 15
|
||||||
#
|
#
|
||||||
# This has been tested on VMS 6.2 to 7.2 on DEC Alpha and VAX.
|
# This has been tested on VMS 6.2 to 7.2 on DEC Alpha and VAX.
|
||||||
# Edit the lines in the Configuration section below to select.
|
# Edit the lines in the Configuration section below to select.
|
||||||
@@ -58,7 +58,8 @@ SCRIPT = test1.out test2.out test3.out test4.out test5.out \
|
|||||||
test38.out test39.out test40.out test41.out test42.out \
|
test38.out test39.out test40.out test41.out test42.out \
|
||||||
test43.out test44.out test45.out test46.out \
|
test43.out test44.out test45.out test46.out \
|
||||||
test48.out test51.out test53.out test54.out test55.out \
|
test48.out test51.out test53.out test54.out test55.out \
|
||||||
test56.out test57.out test58.out test59.out test60.out
|
test56.out test57.out test58.out test59.out test60.out \
|
||||||
|
test61.out
|
||||||
|
|
||||||
.IFDEF WANT_GUI
|
.IFDEF WANT_GUI
|
||||||
SCRIPT_GUI = test16.out
|
SCRIPT_GUI = test16.out
|
||||||
|
Reference in New Issue
Block a user