0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

updated for version 7.0225

This commit is contained in:
Bram Moolenaar
2006-03-15 22:53:57 +00:00
parent c4675a193d
commit 5671873089
6 changed files with 31 additions and 17 deletions

View File

@@ -1,4 +1,4 @@
*insert.txt* For Vim version 7.0aa. Last change: 2006 Mar 11 *insert.txt* For Vim version 7.0aa. Last change: 2006 Mar 15
VIM REFERENCE MANUAL by Bram Moolenaar VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1086,6 +1086,9 @@ The menu is used when:
- The terminal supports at least 8 colors. - The terminal supports at least 8 colors.
- There are at least two matches. - There are at least two matches.
The 'pumheight' option can be used to set a maximum height. The default is to
use all space available.
There are two states: There are two states:
1. A complete match has been inserted. 1. A complete match has been inserted.
2. Only part of a match has been inserted. 2. Only part of a match has been inserted.

View File

@@ -546,7 +546,7 @@ LINT_OPTIONS = -beprxzF
# Requires installing the ccmalloc library. # Requires installing the ccmalloc library.
# Configuration is in the .ccmalloc or ~/.ccmalloc file. # Configuration is in the .ccmalloc or ~/.ccmalloc file.
# Doesn't work very well, since memory linked to from global variables # Doesn't work very well, since memory linked to from global variables
# (indirectly) is also marked as leaked memory. # (in libraries) is also marked as leaked memory.
#PROFILE_CFLAGS = -DEXITFREE #PROFILE_CFLAGS = -DEXITFREE
#PROFILE_LIBS = -lccmalloc #PROFILE_LIBS = -lccmalloc
@@ -2518,32 +2518,34 @@ ICONS = $(RESDIR)/$(ICON_APP)
install_macosx: gui_bundle install_macosx: gui_bundle
# Remove the link to the runtime dir, don't want to copy all of that. # Remove the link to the runtime dir, don't want to copy all of that.
-rm $(APPDIR)/runtime -rm $(RESDIR)/vim/runtime
$(INSTALL_DATA_R) $(APPDIR) $(DESTDIR)$(prefix) $(INSTALL_DATA_R) $(APPDIR) $(DESTDIR)$(prefix)
# Install the runtime files. Recursive! # Install the runtime files. Recursive!
-mkdir $(DESTDIR)$(prefix)/$(APPDIR)/runtime -mkdir -p $(DESTDIR)$(prefix)/$(RESDIR)/vim/runtime
-mkdir $(DESTDIR)$(prefix)/$(APPDIR)/bin # -mkdir $(DESTDIR)$(prefix)/$(APPDIR)/bin
srcdir=`pwd`; $(MAKE) -f Makefile installruntime \ srcdir=`pwd`; $(MAKE) -f Makefile installruntime \
VIMEXE=$$srcdir/$(VIMTARGET) \ VIMEXE=$$srcdir/$(VIMTARGET) \
prefix=$(DESTDIR)$(prefix)/$(APPDIR) \ prefix=$(DESTDIR)$(prefix)/$(RESDIR)/vim \
VIMRTLOC=$(DESTDIR)$(prefix)/$(APPDIR)/runtime VIMRTLOC=$(DESTDIR)$(prefix)/$(RESDIR)/vim/runtime
# Put the link back. # Put the link back.
ln -s `pwd`/../runtime $(APPDIR) ln -s `pwd`/../runtime $(RESDIR)/vim
# TODO: Create the vimtutor application. # TODO: Create the vimtutor application.
gui_bundle: $(APPDIR) bundle-dir bundle-executable bundle-info bundle-resource \ gui_bundle: $(RESDIR) bundle-dir bundle-executable bundle-info bundle-resource \
bundle-language bundle-language
$(APPDIR): $(RESDIR):
mkdir -p $@ mkdir -p $@
bundle-dir: $(APPDIR)/Contents $(VIMTARGET) bundle-dir: $(APPDIR)/Contents $(VIMTARGET)
-@srcdir=`pwd`; cd $(HELPSOURCE); $(MAKE) VIMEXE=$$srcdir/$(VIMTARGET) vimtags -@srcdir=`pwd`; cd $(HELPSOURCE); $(MAKE) VIMEXE=$$srcdir/$(VIMTARGET) vimtags
# Make a link to the runtime directory, so that we can try out the executable # Make a link to the runtime directory, so that we can try out the executable
# without installing it. # without installing it.
-ln -s `pwd`/../runtime $(APPDIR) mkdir -p $(RESDIR)/vim
-ln -s `pwd`/../runtime $(RESDIR)/vim
bundle-executable: $(VIMTARGET) bundle-executable: $(VIMTARGET)
mkdir -p $(APPDIR)/Contents/MacOS
cp $(VIMTARGET) $(APPDIR)/Contents/MacOS/$(VIMTARGET) cp $(VIMTARGET) $(APPDIR)/Contents/MacOS/$(VIMTARGET)
bundle-info: bundle-dir bundle-info: bundle-dir

View File

@@ -1595,7 +1595,7 @@ retry:
} }
else else
# endif # endif
# ifdef MACOS_X # ifdef MACOS_CONVERT
if (fio_flags & FIO_MACROMAN) if (fio_flags & FIO_MACROMAN)
{ {
/* /*
@@ -5043,7 +5043,7 @@ buf_write_bytes(ip)
} }
# endif # endif
# ifdef MACOS_X # ifdef MACOS_CONVERT
else if (flags & FIO_MACROMAN) else if (flags & FIO_MACROMAN)
{ {
/* /*
@@ -6407,6 +6407,11 @@ buf_check_timestamp(buf, focus)
/* Reload the buffer. */ /* Reload the buffer. */
buf_reload(buf, orig_mode); buf_reload(buf, orig_mode);
#ifdef FEAT_AUTOCMD
if (buf_valid(buf))
(void)apply_autocmds(EVENT_FILECHANGEDSHELLPOST,
buf->b_fname, buf->b_fname, FALSE, buf);
#endif
#ifdef FEAT_GUI #ifdef FEAT_GUI
/* restore this in case an autocommand has set it; it would break /* restore this in case an autocommand has set it; it would break
* 'mousefocus' */ * 'mousefocus' */
@@ -6959,6 +6964,7 @@ static struct event_name
{"FileAppendPre", EVENT_FILEAPPENDPRE}, {"FileAppendPre", EVENT_FILEAPPENDPRE},
{"FileAppendCmd", EVENT_FILEAPPENDCMD}, {"FileAppendCmd", EVENT_FILEAPPENDCMD},
{"FileChangedShell",EVENT_FILECHANGEDSHELL}, {"FileChangedShell",EVENT_FILECHANGEDSHELL},
{"FileChangedShellPost",EVENT_FILECHANGEDSHELLPOST},
{"FileChangedRO", EVENT_FILECHANGEDRO}, {"FileChangedRO", EVENT_FILECHANGEDRO},
{"FileReadPost", EVENT_FILEREADPOST}, {"FileReadPost", EVENT_FILEREADPOST},
{"FileReadPre", EVENT_FILEREADPRE}, {"FileReadPre", EVENT_FILEREADPRE},
@@ -7001,6 +7007,7 @@ static struct event_name
{"VimLeavePre", EVENT_VIMLEAVEPRE}, {"VimLeavePre", EVENT_VIMLEAVEPRE},
{"WinEnter", EVENT_WINENTER}, {"WinEnter", EVENT_WINENTER},
{"WinLeave", EVENT_WINLEAVE}, {"WinLeave", EVENT_WINLEAVE},
{"VimResized", EVENT_VIMRESIZED},
{NULL, (event_T)0} {NULL, (event_T)0}
}; };
@@ -8363,7 +8370,8 @@ apply_autocmds_group(event, fname, fname_io, force, group, buf, eap)
/* /*
* FileChangedShell never nests, because it can create an endless loop. * FileChangedShell never nests, because it can create an endless loop.
*/ */
if (filechangeshell_busy && event == EVENT_FILECHANGEDSHELL) if (filechangeshell_busy && (event == EVENT_FILECHANGEDSHELL
|| event == EVENT_FILECHANGEDSHELLPOST))
goto BYPASS_AU; goto BYPASS_AU;
/* /*

View File

@@ -5931,7 +5931,7 @@ string_convert_ext(vcp, ptr, lenp, unconvlenp)
*lenp = (int)(d - retval); *lenp = (int)(d - retval);
break; break;
# ifdef MACOS_X # ifdef MACOS_CONVERT
case CONV_MAC_LATIN1: case CONV_MAC_LATIN1:
retval = mac_string_convert(ptr, len, lenp, vcp->vc_fail, retval = mac_string_convert(ptr, len, lenp, vcp->vc_fail,
'm', 'l', unconvlenp); 'm', 'l', unconvlenp);

View File

@@ -1090,7 +1090,7 @@ mch_init()
out_flush(); out_flush();
set_signals(); set_signals();
#if defined(MACOS_X) && defined(FEAT_MBYTE) #ifdef MACOS_CONVERT
mac_conv_init(); mac_conv_init();
#endif #endif
} }
@@ -2868,7 +2868,7 @@ mch_exit(r)
gui_exit(r); gui_exit(r);
#endif #endif
#if defined(MACOS_X) && defined(FEAT_MBYTE) #ifdef MACOS_CONVERT
mac_conv_cleanup(); mac_conv_cleanup();
#endif #endif

View File

@@ -15,6 +15,7 @@ int diff_check __ARGS((win_T *wp, linenr_T lnum));
int diff_check_fill __ARGS((win_T *wp, linenr_T lnum)); int diff_check_fill __ARGS((win_T *wp, linenr_T lnum));
void diff_set_topline __ARGS((win_T *fromwin, win_T *towin)); void diff_set_topline __ARGS((win_T *fromwin, win_T *towin));
int diffopt_changed __ARGS((void)); int diffopt_changed __ARGS((void));
int diffopt_horizontal __ARGS((void));
int diff_find_change __ARGS((win_T *wp, linenr_T lnum, int *startp, int *endp)); int diff_find_change __ARGS((win_T *wp, linenr_T lnum, int *startp, int *endp));
int diff_infold __ARGS((win_T *wp, linenr_T lnum)); int diff_infold __ARGS((win_T *wp, linenr_T lnum));
void nv_diffgetput __ARGS((int put)); void nv_diffgetput __ARGS((int put));