Skip to content

Commit 7aacbcd

Browse files
committed
Merge branch 'vim'
2 parents e11dd5a + 2ffd2ee commit 7aacbcd

File tree

209 files changed

+9220
-3627
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

209 files changed

+9220
-3627
lines changed

.hgtags

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2635,3 +2635,21 @@ cad8d29b0bc0356a49a455296e5e79eb6f38139d v7-3-1292
26352635
c3a82208e143e4cd4a3b9d9b1716eb9d876bf462 v7-3-1296
26362636
cb0a5c9c0f9bcc6c5a18ed97762206309d3e334c v7-3-1297
26372637
dafd77a15d44cced4e405a9fcfe67fc48a02004a v7-3-1298
2638+
f063be86b6323f396e6d3a7be73e860e636eb51d v7-3-1299
2639+
56bc3698f8c6ac275a9a05b64ae056de619d226b v7-3-1300
2640+
6cabac58f26fe9d8b608542d9fdbfed3fc437c90 v7-3-1301
2641+
5569d11ef585033ef40e4402cd6a52453e4d13d9 v7-3-1302
2642+
6e611380b4cf586f210de94d92a4f158b6900a5f v7-3-1303
2643+
46d6318d5b965b77278ea252b25209468214dd2d v7-3-1304
2644+
6f24376028af97c93b426cdbd46379795be7cdfd v7-3-1305
2645+
71859e71b1f902c28b8842bc7092dd155b8c7f88 v7-3-1306
2646+
3dafc80e781b8d5ed12d6107a2c804067aeafd90 v7-3-1307
2647+
71e066e10a4789eeb9553aa08f9ca8e7eec96532 v7-3-1308
2648+
a686295448918b7066bc52e3fd9748e6702c2219 v7-3-1309
2649+
b49784c49d537fabe083cc3f8cc460629bb6957f v7-3-1310
2650+
28e6f5f889683fe161b7bc260bd02b742157fc5b v7-3-1311
2651+
80bab8b1a30db72b7eda880b0442ab0b0f4a1611 v7-3-1312
2652+
afbc9dd67cea81e73d64f7ecce47dfcd35d48865 v7-3-1313
2653+
29e57603bf6f3a2e3c178a63d332ed4d2eccfa82 v7-3-1314
2654+
6ec6b7ff2d43842d04a8d653356d0ff3850707c0 v7-4a
2655+
0ddba00c204d855c0b3da30cb338d9bdb0ded847 v7-4a-001

Contents

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ Vim Vi IMproved. A clone of the UNIX text editor Vi. Very useful
99
messages, shows current file name in window title, on-line
1010
help, rectangular cut/paste, etc., etc., etc...
1111

12-
Version 7.3. Also runs under UNIX, MSDOS and other systems.
13-
vim73rt.tgz contains the documentation and syntax files.
14-
vim73bin.tgz contains the binaries.
15-
vim73src.tgz contains the sources.
12+
Version 7.4a. Also runs under UNIX, MSDOS and other systems.
13+
vim74art.tgz contains the documentation and syntax files.
14+
vim74abin.tgz contains the binaries.
15+
vim74asrc.tgz contains the sources.
1616
Author: Bram Moolenaar et al.
1717

1818

Makefile

Lines changed: 57 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,17 @@ all install uninstall tools config configure reconfig proto depend lint tags typ
7474
# Before creating an archive first delete all backup files, *.orig, etc.
7575

7676
MAJOR = 7
77-
MINOR = 3
77+
MINOR = 4a
7878

7979
# Uncomment this line if the Win32s version is to be included.
80-
DOSBIN_S = dosbin_s
80+
# DOSBIN_S = dosbin_s
8181

8282
# Uncomment this line if the 16 bit DOS version is to be included.
8383
# DOSBIN_D16 = dosbin_d16
8484

85+
# Uncomment this line if the 32 bit DOS version is to be included.
86+
# DOSBIN_D32 = dosbin_d32
87+
8588
# CHECKLIST for creating a new version:
8689
#
8790
# - Update Vim version number. For a test version in: src/version.h, Contents,
@@ -128,36 +131,20 @@ DOSBIN_S = dosbin_s
128131
# PC:
129132
# - Run make on Unix to update the ".mo" files.
130133
# - "make dossrc" and "make dosrt". Unpack the archives on a PC.
131-
# 16 bit DOS version: (OBSOLETE, 16 bit version doesn't build)
132-
# - Set environment for compiling with Borland C++ 3.1.
133-
# - "bmake -f Make_bc3.mak BOR=E:\borlandc" (compiling xxd might fail, in that
134-
# case set environment for compiling with Borland C++ 4.0 and do
135-
# "make -f make_bc3.mak BOR=E:\BC4 xxd/xxd.exe").
136-
# NOTE: this currently fails because Vim is too big.
137-
# - "make test" and check the output.
138-
# - Rename the executables to "vimd16.exe", "xxdd16.exe", "installd16.exe" and
139-
# "uninstald16.exe".
140-
# 32 bit DOS version:
141-
# - Set environment for compiling with DJGPP; "gmake -f Make_djg.mak".
142-
# - "rm testdir/*.out", "gmake -f Make_djg.mak test" and check the output for
143-
# "ALL DONE".
144-
# - Rename the executables to "vimd32.exe", "xxdd32.exe", "installd32.exe" and
145-
# "uninstald32.exe".
146134
# Win32 console version:
147-
# - Set environment for Visual C++ 2008, e.g.:
148-
# "E:\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat". Or, when using the
149-
# Visual C++ Toolkit 2003: "msvcsetup.bat" (adjust the paths when necessary).
150-
# For Windows 98/ME the 2003 version is required, but then it won't work on
151-
# Windows 7 and 64 bit.
152-
# - "nmake -f Make_mvc.mak"
135+
# - Set environment for Visual C++ 2008, e.g.: "msvc2008.bat" Or:
136+
# "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat".
137+
# Or, when using the Visual C++ Toolkit 2003: "msvcsetup.bat" (adjust the
138+
# paths when necessary).
139+
# For Windows 98/ME the 2003 version is required, but then the executable
140+
# won't work on Windows 7 and 64 bit.
141+
# - "nmake -f Make_mvc.mak" (use the same path as for vcvars32.bat)
153142
# - "rm testdir/*.out", "nmake -f Make_mvc.mak test" and check the output.
154-
# - Rename the executables to "vimw32.exe", "xxdw32.exe".
143+
# - Rename vim.exe to vimw32.exe, xxd/xxd.exe to xxdw32.exe.
155144
# - Rename vim.pdb to vimw32.pdb.
156-
# - When building the Win32s version later, delete vimrun.exe, install.exe and
157-
# uninstal.exe. Otherwise rename executables to installw32.exe and
158-
# uninstalw32.exe.
145+
# - Rename install.exe to installw32.exe and uninstal.exe to uninstalw32.exe.
159146
# Win32 GUI version:
160-
# - "nmake -f Make_mvc.mak GUI=yes.
147+
# - "nmake -f Make_mvc.mak GUI=yes"
161148
# - move "gvim.exe" to here (otherwise the OLE version will overwrite it).
162149
# - Move gvim.pdb to here.
163150
# - Delete vimrun.exe, install.exe and uninstal.exe.
@@ -167,23 +154,13 @@ DOSBIN_S = dosbin_s
167154
# - Rename "gvim.exe" to "gvim_ole.exe".
168155
# - Rename gvim.pdb to "gvim_ole.pdb".
169156
# - Delete install.exe and uninstal.exe.
170-
# - If building the Win32s version delete vimrun.exe.
171-
# Win32s GUI version:
172-
# - Set environment for Visual C++ 4.1 (requires a new console window):
173-
# "vcvars32.bat" (use the path for VC 4.1 e:\msdev\bin)
174-
# - "nmake -f Make_mvc.mak GUI=yes INTL=no clean" (use the path for VC 4.1)
175-
# - "nmake -f Make_mvc.mak GUI=yes INTL=no" (use the path for VC 4.1)
176-
# - Rename "gvim.exe" to "gvim_w32s.exe".
177-
# - Rename "install.exe" to "installw32.exe"
178-
# - Rename "uninstal.exe" to "uninstalw32.exe"
179-
# - The produced uninstalw32.exe and vimrun.exe are used.
180157
# Create the archives:
181158
# - Copy all the "*.exe" files to where this Makefile is.
182159
# - Copy all the "*.pdb" files to where this Makefile is.
183160
# - "make dosbin".
184161
# NSIS self installing exe:
185162
# - To get NSIS see http://nsis.sourceforge.net
186-
# - Make sure gvim_ole.exe, vimd32.exe, vimw32.exe, installw32.exe,
163+
# - Make sure gvim_ole.exe, vimw32.exe, installw32.exe,
187164
# uninstalw32.exe and xxdw32.exe have been build as mentioned above.
188165
# - copy these files (get them from a binary archive or build them):
189166
# gvimext.dll in src/GvimExt
@@ -196,7 +173,44 @@ DOSBIN_S = dosbin_s
196173
# - go to ../nsis and do "makensis gvim.nsi" (takes a few minutes).
197174
# - Copy gvim##.exe to the dist directory.
198175
#
199-
# OS/2: (OBSOLETE, OS/2 version is no longer distributed)
176+
# 64 bit builds (these are not in the normal distribution, the 32 bit build
177+
# works just fine on 64 bit systems).
178+
# Like the console and GUI version, but first run vcvars64.bat or
179+
# "..\VC\vcvarsall.bat x86_amd64".
180+
# - "nmake -f Make_mvc.mak"
181+
# - "nmake -f Make_mvc.mak GUI=yes"
182+
# Or run src/bigvim64.bat for an OLE version.
183+
#
184+
# OBSOLETE systems: You can build this if you have an appropriate system.
185+
#
186+
# 16 bit DOS version: (doesn't build anywhere)
187+
# - Set environment for compiling with Borland C++ 3.1.
188+
# - "bmake -f Make_bc3.mak BOR=E:\borlandc" (compiling xxd might fail, in that
189+
# case set environment for compiling with Borland C++ 4.0 and do
190+
# "make -f make_bc3.mak BOR=E:\BC4 xxd/xxd.exe").
191+
# NOTE: this currently fails because Vim is too big.
192+
# - "make test" and check the output.
193+
# - Rename the executables to "vimd16.exe", "xxdd16.exe", "installd16.exe" and
194+
# "uninstald16.exe".
195+
#
196+
# 32 bit DOS version: (requires Windows XP or earlier)
197+
# - Set environment for compiling with DJGPP; "gmake -f Make_djg.mak".
198+
# - "rm testdir/*.out", "gmake -f Make_djg.mak test" and check the output for
199+
# "ALL DONE".
200+
# - Rename the executables to "vimd32.exe", "xxdd32.exe", "installd32.exe" and
201+
# "uninstald32.exe".
202+
#
203+
# Win32s GUI version: (requires very old compiler)
204+
# - Set environment for Visual C++ 4.1 (requires a new console window):
205+
# "vcvars32.bat" (use the path for VC 4.1 e:\msdev\bin)
206+
# - "nmake -f Make_mvc.mak GUI=yes INTL=no clean" (use the path for VC 4.1)
207+
# - "nmake -f Make_mvc.mak GUI=yes INTL=no" (use the path for VC 4.1)
208+
# - Rename "gvim.exe" to "gvim_w32s.exe".
209+
# - Rename "install.exe" to "installw32.exe"
210+
# - Rename "uninstal.exe" to "uninstalw32.exe"
211+
# - The produced uninstalw32.exe and vimrun.exe are used.
212+
#
213+
# OS/2: (requires an OS/2 system)
200214
# - Unpack the Unix archive.
201215
# - "make -f Make_os2.mak".
202216
# - Rename the executables to vimos2.exe, xxdos2.exe and teeos2.exe and copy
@@ -295,6 +309,8 @@ unixall: dist prepare
295309
$(LANG_SRC) \
296310
| (cd dist/$(VIMRTDIR); tar xf -)
297311
# Need to use a "distclean" config.mk file
312+
# Note: this file is not included in the repository to avoid problems, but it's
313+
# OK to put it in the archive.
298314
cp -f src/config.mk.dist dist/$(VIMRTDIR)/src/auto/config.mk
299315
# Create an empty config.h file, make dependencies require it
300316
touch dist/$(VIMRTDIR)/src/auto/config.h
@@ -450,7 +466,7 @@ runtime_unix2dos: dosrt_unix2dos
450466
cd dist/vim/$(VIMRTDIR); tar cf - * \
451467
| (cd ../../../runtime/dos; tar xf -)
452468

453-
dosbin: prepare dosbin_gvim dosbin_w32 dosbin_d32 dosbin_ole $(DOSBIN_S) $(DOSBIN_D16)
469+
dosbin: prepare dosbin_gvim dosbin_w32 $(DOSBIN_D32) dosbin_ole $(DOSBIN_S) $(DOSBIN_D16)
454470

455471
# make Win32 gvim
456472
dosbin_gvim: dist no_title.vim dist/$(COMMENT_GVIM)

README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README.txt for version 7.3 of Vim: Vi IMproved.
1+
README.txt for version 7.4a of Vim: Vi IMproved.
22

33

44
WHAT IS VIM

README_ami.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README_ami.txt for version 7.3 of Vim: Vi IMproved.
1+
README_ami.txt for version 7.4a of Vim: Vi IMproved.
22

33
This file explains the installation of Vim on Amiga systems.
44
See README.txt for general information about Vim.

README_amibin.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README_amibin.txt for version 7.3 of Vim: Vi IMproved.
1+
README_amibin.txt for version 7.4a of Vim: Vi IMproved.
22

33
See "README.txt" for general information about Vim.
44
See "README_ami.txt" for installation instructions for the Amiga.

README_amisrc.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README_amisrc.txt for version 7.3 of Vim: Vi IMproved.
1+
README_amisrc.txt for version 7.4a of Vim: Vi IMproved.
22

33
See "README.txt" for general information about Vim.
44
See "README_ami.txt" for installation instructions for the Amiga.

README_bindos.txt

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
1-
README_bindos.txt for version 7.3 of Vim: Vi IMproved.
1+
README_bindos.txt for version 7.4a of Vim: Vi IMproved.
22

33
See "README.txt" for general information about Vim.
44
See "README_dos.txt" for installation instructions for MS-DOS and MS-Windows.
5-
These files are in the runtime archive (vim73rt.zip).
5+
These files are in the runtime archive (vim74rt.zip).
66

77

88
There are several binary distributions of Vim for the PC. You would normally
99
pick only one of them, but it's also possible to install several.
1010
These ones are available (the version number may differ):
11-
vim73d16.zip 16 bit DOS version
12-
vim73d32.zip 32 bit DOS version
13-
vim73w32.zip Windows 95/98/NT/etc. console version
14-
gvim73.zip Windows 95/98/NT/etc. GUI version
15-
gvim73ole.zip Windows 95/98/NT/etc. GUI version with OLE
16-
gvim73_s.zip Windows 3.1 GUI version
11+
vim74w32.zip Windows 95/98/NT/etc. console version
12+
gvim74.zip Windows 95/98/NT/etc. GUI version
13+
gvim74ole.zip Windows 95/98/NT/etc. GUI version with OLE
1714

18-
You MUST also get the runtime archive (vim73rt.zip).
19-
The sources are also available (vim73src.zip).
15+
You MUST also get the runtime archive (vim74rt.zip).
16+
The sources are also available (vim74src.zip).

README_dos.txt

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README_dos.txt for version 7.3 of Vim: Vi IMproved.
1+
README_dos.txt for version 7.4a of Vim: Vi IMproved.
22

33
This file explains the installation of Vim on MS-DOS and MS-Windows systems.
44
See "README.txt" for general information about Vim.
@@ -47,13 +47,13 @@ These are the normal steps to install Vim from the .zip archives:
4747
Binary and runtime Vim archives are normally unpacked in the same location,
4848
on top of each other.
4949

50-
2. Unpack the zip archives. This will create a new directory "vim\vim73",
50+
2. Unpack the zip archives. This will create a new directory "vim\vim74",
5151
in which all the distributed Vim files are placed. Since the directory
5252
name includes the version number, it is unlikely that you overwrite
5353
existing files.
5454
Examples:
55-
pkunzip -d gvim73.zip
56-
unzip vim73w32.zip
55+
pkunzip -d gvim74.zip
56+
unzip vim74w32.zip
5757

5858
You need to unpack the runtime archive and at least one of the binary
5959
archives. When using more than one binary version, be careful not to
@@ -69,7 +69,7 @@ These are the normal steps to install Vim from the .zip archives:
6969
archive and follow the instructions in the documentation.
7070

7171
3. Change to the new directory:
72-
cd vim\vim73
72+
cd vim\vim74
7373
Run the "install.exe" program. It will ask you a number of questions about
7474
how you would like to have your Vim setup. Among these are:
7575
- You can tell it to write a "_vimrc" file with your preferences in the
@@ -80,8 +80,8 @@ These are the normal steps to install Vim from the .zip archives:
8080
console or in a shell. You can select one of the directories in your
8181
$PATH. If you skip this, you can add Vim to the search path manually:
8282
The simplest is to add a line to your autoexec.bat. Examples:
83-
set path=%path%;C:\vim\vim73
84-
set path=%path%;D:\editors\vim\vim73
83+
set path=%path%;C:\vim\vim74
84+
set path=%path%;D:\editors\vim\vim74
8585
- Create entries for Vim on the desktop and in the Start menu.
8686

8787
That's it!
@@ -93,8 +93,8 @@ Remarks:
9393
won't show a menubar. Then you need to set the $VIM environment variable to
9494
point to the top directory of your Vim files. Example:
9595
set VIM=C:\editors\vim
96-
Vim version 7.3 will look for your vimrc file in $VIM, and for the runtime
97-
files in $VIM/vim73. See ":help $VIM" for more information.
96+
Vim version 7.4 will look for your vimrc file in $VIM, and for the runtime
97+
files in $VIM/vim74. See ":help $VIM" for more information.
9898

9999
- To avoid confusion between distributed files of different versions and your
100100
own modified vim scripts, it is recommended to use this directory layout:
@@ -105,14 +105,14 @@ Remarks:
105105
C:\vim\vimfiles\ftplugin\*.vim Filetype plugins
106106
C:\vim\... Other files you made.
107107
Distributed files:
108-
C:\vim\vim73\vim.exe The Vim version 7.3 executable.
109-
C:\vim\vim73\doc\*.txt The version 7.3 documentation files.
110-
C:\vim\vim73\bugreport.vim A Vim version 7.3 script.
111-
C:\vim\vim73\... Other version 7.3 distributed files.
108+
C:\vim\vim74\vim.exe The Vim version 7.4 executable.
109+
C:\vim\vim74\doc\*.txt The version 7.4 documentation files.
110+
C:\vim\vim74\bugreport.vim A Vim version 7.4 script.
111+
C:\vim\vim74\... Other version 7.4 distributed files.
112112
In this case the $VIM environment variable would be set like this:
113113
set VIM=C:\vim
114-
Then $VIMRUNTIME will automatically be set to "$VIM\vim73". Don't add
115-
"vim73" to $VIM, that won't work.
114+
Then $VIMRUNTIME will automatically be set to "$VIM\vim74". Don't add
115+
"vim74" to $VIM, that won't work.
116116

117117
- You can put your Vim executable anywhere else. If the executable is not
118118
with the other Vim files, you should set $VIM. The simplest is to add a line
@@ -136,8 +136,8 @@ Remarks:
136136
Select Properties.
137137
5. In the Program tab, change the "Cmdline" to add "/c" and the name of the
138138
Vim executable. Examples:
139-
C:\command.com /c C:\vim\vim73\vim.exe
140-
C:\command.com /c D:\editors\vim\vim73\vim.exe
139+
C:\command.com /c C:\vim\vim74\vim.exe
140+
C:\command.com /c D:\editors\vim\vim74\vim.exe
141141
6. Select the font, window size, etc. that you like. If this isn't
142142
possible, select "Advanced" in the Program tab, and deselect "MS-DOS
143143
mode".

README_extra.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README_extra.txt for version 7.3 of Vim: Vi IMproved.
1+
README_extra.txt for version 7.4a of Vim: Vi IMproved.
22

33
These extra files of Vim are for special purposes. This README explains what
44
the files are for. For general information about Vim, see the "README.txt"

README_mac.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README_mac.txt for version 7.3 of Vim: Vi IMproved.
1+
README_mac.txt for version 7.4a of Vim: Vi IMproved.
22

33
This file explains the installation of MacVim.
44
See "README.txt" for general information about Vim.

README_ole.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
README_ole.txt for version 7.3 of Vim: Vi IMproved.
1+
README_ole.txt for version 7.4a of Vim: Vi IMproved.
22

33
This archive contains gvim.exe with OLE interface and VisVim.
44
This version of gvim.exe can also load a number of interface dynamically (you

0 commit comments

Comments
 (0)