1
0
forked from aniani/vim

updated for version 7.1b

This commit is contained in:
Bram Moolenaar
2007-05-10 16:48:19 +00:00
parent b6799acd2d
commit f711faf099
8 changed files with 23 additions and 19 deletions

View File

@@ -1,4 +1,4 @@
README_ami.txt for version 7.1a of Vim: Vi IMproved. README_ami.txt for version 7.1b of Vim: Vi IMproved.
This file explains the installation of Vim on Amiga systems. This file explains the installation of Vim on Amiga systems.
See README.txt for general information about Vim. See README.txt for general information about Vim.

View File

@@ -1,4 +1,4 @@
*os_vms.txt* For Vim version 7.1a. Last change: 2006 Nov 18 *os_vms.txt* For Vim version 7.1b. Last change: 2006 Nov 18
VIM REFERENCE MANUAL VIM REFERENCE MANUAL

View File

@@ -1,7 +1,7 @@
INSTALLvms.txt - Installation of Vim on OpenVMS INSTALLvms.txt - Installation of Vim on OpenVMS
Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com> Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com>
Last change: 2006 Apr 30 Last change: 2007 May 07
This file contains instructions for compiling Vim on Openvms. This file contains instructions for compiling Vim on Openvms.
If you already have an executable version of Vim, you don't need this. If you already have an executable version of Vim, you don't need this.
@@ -56,7 +56,7 @@ Contents:
GTK libraries. GTK libraries.
NOTE: procedure in chapter 1 describes source code preparation from multi OS NOTE: procedure in chapter 1 describes source code preparation from multi OS
code,however it is available OpenVMS oprimized (and tested) source code from: code, however it is available OpenVMS optimized (and tested) source code from:
ftp://ftp.polarhome.com/pub/vim/source/vms/ ftp://ftp.polarhome.com/pub/vim/source/vms/
(http://www.polarhome.com/vim/files/source/vms/) (http://www.polarhome.com/vim/files/source/vms/)
@@ -326,7 +326,7 @@ perl_env :
gtk_root:[gtk.gtk]libgtk.exe /share gtk_root:[gtk.gtk]libgtk.exe /share
During runtime it is suggested to have all these files installed and During runtime it is suggested to have all these files installed and
copyed to SYS$LIBRARY: to be able to use it without problems. copied to SYS$LIBRARY: to be able to use it without problems.
Also VMS_JACKETS.EXE from OpenVMS Porting Library. Also VMS_JACKETS.EXE from OpenVMS Porting Library.
Please note, that GTK uses /name=(as_is,short)/float=ieee/ieee=denorm Please note, that GTK uses /name=(as_is,short)/float=ieee/ieee=denorm

View File

@@ -926,7 +926,10 @@ static void ruby_vim_init(void)
objtbl = rb_hash_new(); objtbl = rb_hash_new();
rb_global_variable(&objtbl); rb_global_variable(&objtbl);
mVIM = rb_define_module("VIM"); /* The Vim module used to be called "VIM", but "Vim" is better. Make an
* alias "VIM" for backwards compatiblity. */
mVIM = rb_define_module("Vim");
rb_define_const(rb_cObject, "VIM", mVIM);
rb_define_const(mVIM, "VERSION_MAJOR", INT2NUM(VIM_VERSION_MAJOR)); rb_define_const(mVIM, "VERSION_MAJOR", INT2NUM(VIM_VERSION_MAJOR));
rb_define_const(mVIM, "VERSION_MINOR", INT2NUM(VIM_VERSION_MINOR)); rb_define_const(mVIM, "VERSION_MINOR", INT2NUM(VIM_VERSION_MINOR));
rb_define_const(mVIM, "VERSION_BUILD", INT2NUM(VIM_VERSION_BUILD)); rb_define_const(mVIM, "VERSION_BUILD", INT2NUM(VIM_VERSION_BUILD));

View File

@@ -259,7 +259,7 @@ distclean: clean
# messages. Don't worry about that. # messages. Don't worry about that.
# If there is a real error, there will be a difference between "test.out" and # If there is a real error, there will be a difference between "test.out" and
# a "test99.ok" file. # a "test99.ok" file.
# If everything is allright, the final message will be "ALL DONE". # If everything is alright, the final message will be "ALL DONE".
# #
test check: test check:
VimProg = ../$Target VimProg = ../$Target
@@ -351,7 +351,7 @@ all: $Target $GUI_BUNDLE
$Source version.c : auto/osdef.h $Source version.c : auto/osdef.h
# Need to mention that the target also depends on version.c, since it's not # Need to mention that the target also depends on version.c, since it's not
# inluded in $Source # included in $Source
$Target : version.c $Target : version.c
# Some sources are to be found in the "auto" directory. # Some sources are to be found in the "auto" directory.

View File

@@ -215,7 +215,7 @@ movemark(count)
/* /*
* if first CTRL-O or CTRL-I command after a jump, add cursor position * if first CTRL-O or CTRL-I command after a jump, add cursor position
* to list. Careful: If there are duplicates (CTRL-O immidiately after * to list. Careful: If there are duplicates (CTRL-O immediately after
* starting Vim on a file), another entry may have been removed. * starting Vim on a file), another entry may have been removed.
*/ */
if (curwin->w_jumplistidx == curwin->w_jumplistlen) if (curwin->w_jumplistidx == curwin->w_jumplistlen)

View File

@@ -2716,7 +2716,7 @@ do_mouse(oap, c, dir, count, fixindent)
#ifdef FEAT_VISUAL #ifdef FEAT_VISUAL
/* Set global flag that we are extending the Visual area with mouse /* Set global flag that we are extending the Visual area with mouse
* dragging; temporarily mimimize 'scrolloff'. */ * dragging; temporarily minimize 'scrolloff'. */
if (VIsual_active && is_drag && p_so) if (VIsual_active && is_drag && p_so)
{ {
/* In the very first line, allow scrolling one line */ /* In the very first line, allow scrolling one line */
@@ -3834,7 +3834,8 @@ display_showcmd()
} }
/* /*
* clear the rest of an old message by outputing up to SHOWCMD_COLS spaces * clear the rest of an old message by outputting up to SHOWCMD_COLS
* spaces
*/ */
screen_puts((char_u *)" " + len, (int)Rows - 1, sc_col + len, 0); screen_puts((char_u *)" " + len, (int)Rows - 1, sc_col + len, 0);
@@ -5704,7 +5705,7 @@ nv_right(cap)
# ifdef FEAT_VIRTUALEDIT # ifdef FEAT_VIRTUALEDIT
/* /*
* In virtual mode, there's no such thing as "PAST_LINE", as lines are * In virtual mode, there's no such thing as "PAST_LINE", as lines are
* (theoretically) infinitly long. * (theoretically) infinitely long.
*/ */
if (virtual_active()) if (virtual_active())
PAST_LINE = 0; PAST_LINE = 0;
@@ -6176,8 +6177,8 @@ nv_brackets(cap)
#ifdef FEAT_FIND_ID #ifdef FEAT_FIND_ID
/* /*
* Find the occurence(s) of the identifier or define under cursor * Find the occurrence(s) of the identifier or define under cursor
* in current and included files or jump to the first occurence. * in current and included files or jump to the first occurrence.
* *
* search list jump * search list jump
* fwd bwd fwd bwd fwd bwd * fwd bwd fwd bwd fwd bwd
@@ -7963,7 +7964,7 @@ nv_g_cmd(cap)
break; break;
/* /*
* "gd": Find first occurence of pattern under the cursor in the * "gd": Find first occurrence of pattern under the cursor in the
* current function * current function
* "gD": idem, but in the current file. * "gD": idem, but in the current file.
*/ */

View File

@@ -8226,7 +8226,7 @@ write_vim_spell(spin, fname)
putc(SN_NOBREAK, fd); /* <sectionID> */ putc(SN_NOBREAK, fd); /* <sectionID> */
putc(0, fd); /* <sectionflags> */ putc(0, fd); /* <sectionflags> */
/* It's empty, the precense of the section flags the feature. */ /* It's empty, the presence of the section flags the feature. */
put_bytes(fd, (long_u)0, 4); /* <sectionlen> */ put_bytes(fd, (long_u)0, 4); /* <sectionlen> */
} }
@@ -11554,7 +11554,7 @@ suggest_trie_walk(su, lp, fword, soundfold)
if (soundfold) if (soundfold)
{ {
/* For soundfolded words we need to find the original /* For soundfolded words we need to find the original
* words, the edit distrance and then add them. */ * words, the edit distance and then add them. */
add_sound_suggest(su, preword, sp->ts_score, lp); add_sound_suggest(su, preword, sp->ts_score, lp);
} }
else else
@@ -14666,7 +14666,7 @@ soundalike_score(goodstart, badstart)
goodlen = (int)STRLEN(goodsound); goodlen = (int)STRLEN(goodsound);
badlen = (int)STRLEN(badsound); badlen = (int)STRLEN(badsound);
/* Return quickly if the lenghts are too different to be fixed by two /* Return quickly if the lengths are too different to be fixed by two
* changes. */ * changes. */
n = goodlen - badlen; n = goodlen - badlen;
if (n < -2 || n > 2) if (n < -2 || n > 2)
@@ -14862,7 +14862,7 @@ spell_edit_score(slang, badword, goodword)
char_u *goodword; char_u *goodword;
{ {
int *cnt; int *cnt;
int badlen, goodlen; /* lenghts including NUL */ int badlen, goodlen; /* lengths including NUL */
int j, i; int j, i;
int t; int t;
int bc, gc; int bc, gc;