summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-05-05 17:54:07 +0000
committerBram Moolenaar <Bram@vim.org>2007-05-05 17:54:07 +0000
commit9964e468c0209f6b8286e0b08109817c845a3079 (patch)
tree3c53288cff0d4c2e32169d8eb4cd53cc343ad0bc /src
parentd5ab34bd5ecc748d5502f149c476968e5ec2b7c9 (diff)
updated for version 7.1a
Diffstat (limited to 'src')
-rw-r--r--src/GvimExt/GvimExt.reg4
-rw-r--r--src/if_xcmdsrv.c4
-rw-r--r--src/keymap.h2
-rw-r--r--src/move.c8
-rw-r--r--src/os_vms.c8
-rw-r--r--src/po/README_mvc.txt28
-rw-r--r--src/po/de.po10
-rw-r--r--src/po/pl.UTF-8.po43
-rw-r--r--src/po/pl.cp1250.po43
-rw-r--r--src/proto/charset.pro108
-rw-r--r--src/proto/diff.pro48
-rw-r--r--src/proto/ex_eval.pro60
-rw-r--r--src/proto/ex_getln.pro108
-rw-r--r--src/proto/fold.pro78
-rw-r--r--src/proto/gui.pro126
-rw-r--r--src/proto/gui_gtk_x11.pro142
-rw-r--r--src/proto/gui_xmdlg.pro2
-rw-r--r--src/proto/hashtab.pro24
-rw-r--r--src/proto/if_tcl.pro16
-rw-r--r--src/proto/main.pro48
-rw-r--r--src/proto/mark.pro56
-rw-r--r--src/proto/memfile.pro32
-rw-r--r--src/proto/message.pro138
-rw-r--r--src/proto/netbeans.pro46
-rw-r--r--src/proto/normal.pro48
-rw-r--r--src/proto/option.pro108
-rw-r--r--src/proto/os_riscos.pro94
-rw-r--r--src/proto/os_vms.pro24
-rw-r--r--src/proto/os_win16.pro20
-rw-r--r--src/proto/popupmnu.pro12
-rw-r--r--src/proto/regexp.pro30
-rw-r--r--src/proto/spell.pro48
-rw-r--r--src/proto/syntax.pro90
-rw-r--r--src/proto/version.pro14
-rw-r--r--src/proto/window.pro120
-rw-r--r--src/proto/workshop.pro94
-rw-r--r--src/testdir/test55.ok4
-rw-r--r--src/vim16.def2
-rw-r--r--src/vimrun.c4
39 files changed, 988 insertions, 906 deletions
diff --git a/src/GvimExt/GvimExt.reg b/src/GvimExt/GvimExt.reg
index 2b80956d86..ed0f5af1ae 100644
--- a/src/GvimExt/GvimExt.reg
+++ b/src/GvimExt/GvimExt.reg
@@ -15,6 +15,6 @@ REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Vim\Gvim]
"path"="gvim.exe"
-[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Vim 7.0]
- "DisplayName"="Vim 7.0: Edit with Vim popup menu entry"
+[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Vim 7.1a]
+ "DisplayName"="Vim 7.1a: Edit with Vim popup menu entry"
"UninstallString"="uninstal.exe"
diff --git a/src/if_xcmdsrv.c b/src/if_xcmdsrv.c
index ef6e257410..3774ff4214 100644
--- a/src/if_xcmdsrv.c
+++ b/src/if_xcmdsrv.c
@@ -37,8 +37,8 @@
# endif
/*
- * This file provides procedures that implement the command server functionality
- * of Vim when in contact with an X11 server.
+ * This file provides procedures that implement the command server
+ * functionality of Vim when in contact with an X11 server.
*
* Adapted from TCL/TK's send command in tkSend.c of the tk 3.6 distribution.
* Adapted for use in Vim by Flemming Madsen. Protocol changed to that of tk 4
diff --git a/src/keymap.h b/src/keymap.h
index 34521e4034..376ac9c002 100644
--- a/src/keymap.h
+++ b/src/keymap.h
@@ -229,7 +229,7 @@ enum key_extra
, KE_S_XF4
, KE_MOUSEDOWN /* scroll wheel pseudo-button Down */
- , KE_MOUSEUP /* scroll wheel pseudo-button Up */
+ , KE_MOUSEUP /* scroll wheel pseudo-button Up */
, KE_KINS /* keypad Insert key */
, KE_KDEL /* keypad Delete key */
diff --git a/src/move.c b/src/move.c
index c0bbac265e..f21f5e9f6b 100644
--- a/src/move.c
+++ b/src/move.c
@@ -166,7 +166,7 @@ update_topline()
#ifdef FEAT_MOUSE
/* When dragging with the mouse, don't scroll that quickly */
- if (mouse_dragging)
+ if (mouse_dragging > 0)
p_so = mouse_dragging - 1;
#endif
@@ -1995,7 +1995,7 @@ scroll_cursor_bot(min_scroll, set_topbot)
if ((((scrolled <= 0 || scrolled >= min_scroll)
&& extra >= (
#ifdef FEAT_MOUSE
- mouse_dragging ? mouse_dragging - 1 :
+ mouse_dragging > 0 ? mouse_dragging - 1 :
#endif
p_so))
|| boff.lnum + 1 > curbuf->b_ml.ml_line_count)
@@ -2209,7 +2209,7 @@ cursor_correct()
above_wanted = p_so;
below_wanted = p_so;
#ifdef FEAT_MOUSE
- if (mouse_dragging)
+ if (mouse_dragging > 0)
{
above_wanted = mouse_dragging - 1;
below_wanted = mouse_dragging - 1;
@@ -2225,7 +2225,7 @@ cursor_correct()
validate_botline();
if (curwin->w_botline == curbuf->b_ml.ml_line_count + 1
#ifdef FEAT_MOUSE
- && !mouse_dragging
+ && mouse_dragging == 0
#endif
)
{
diff --git a/src/os_vms.c b/src/os_vms.c
index f87a1cd5d7..a612d81044 100644
--- a/src/os_vms.c
+++ b/src/os_vms.c
@@ -626,12 +626,13 @@ vms_fixfilename(void *instring)
Fspec_Rms = buf; /* for decc$to_vms */
- if ( strchr(instring,'/') == NULL )
+ if (strchr(instring,'/') == NULL)
/* It is already a VMS file spec */
strcpy(buf, instring);
- else if ( strchr(instring,'"') == NULL ){ /* password in the path ? */
+ else if (strchr(instring,'"') == NULL) /* password in the path? */
+ {
/* Seems it is a regular file, let guess that it is pure Unix fspec */
- if ( decc$to_vms(instring, vms_fspec_proc, 0, 0) <= 0 )
+ if (decc$to_vms(instring, vms_fspec_proc, 0, 0) <= 0)
/* No... it must be mixed */
vms_unix_mixed_filespec(instring, buf);
}
@@ -643,6 +644,7 @@ vms_fixfilename(void *instring)
return buf;
}
+
/*
* Remove version number from file name
* we need it in some special cases as:
diff --git a/src/po/README_mvc.txt b/src/po/README_mvc.txt
index cd107debf4..293edf2d4f 100644
--- a/src/po/README_mvc.txt
+++ b/src/po/README_mvc.txt
@@ -4,7 +4,7 @@ This file explains how to create and maintain po files using
gnu-gettext.win32, a Windows port of gettext by Franco Bez
<franco.bez@gmx.de>. You can find it at:
- http://home.a-city.de/franco.bez/gettext/gettext_win32_en.html
+ http://people.freenet.de/franco.bez/gettext/gettext_win32_en.html
First read the README.txt file in this directory for general remarks on
translating Vim messages.
@@ -12,18 +12,32 @@ translating Vim messages.
SETUP
-Set the enviroment variable LANGUAGE to the language code for the language you
-are translating Vim messages to. Languagde codes are typically two characters
-and you can find a list of them at:
+Set the environment variable LANGUAGE to the language code for the language
+you are translating Vim messages to. Language codes are typically two
+characters and you can find a list of them at:
http://www.geocities.com/click2speak/languages.html
+Another possibility is to use the gnuwin32 port of gettext. This is
+recommended especially if you use already gnuwin32 tools to gunzip, bunzip,
+patch etc. these files. You find the gnuwin32 version of gettext here:
+
+ http://gnuwin32.sourceforge.net/packages/gettext.htm
+
+Yet another very strait forward way is to get the sources of gettext from
+
+ http://www.gnu.org/software/gettext/gettext.html
+
+and build your own version of these tools. The documentation states that this
+should be possible with MSVC4.0, MSVC5.0, MSVC6.0 or MSVC7.0, but you can
+build it even successfully with MSVC8.0.
+
The LANGUAGE environment variable can be set from the command line, by adding
a line to your autoexec.bat file, or by defining a user variable from the
Advanced tab in the System control panel.
Next, edit Make_mvc.mak so that GETTEXT_PATH points the binary directory of
-the intallation.
+the installation.
CREATING A NEW TRANSLATION
@@ -43,7 +57,7 @@ highlighting turned on then untranslated messages will stand out more easily.
You will also need to edit the file names in the comments in the .po file.
You need to remove the absolute directory specification (which has the form
c:\vim61\src\). You can do this in Vim with the following command with the
-appropriate directory specfication for where you have installed the Vim
+appropriate directory specification for where you have installed the Vim
source:
%s/c:\\vim61\\src\\//g
@@ -57,7 +71,7 @@ with the following command:
nmake -f Make_mvc.mak xx.po
-where xx is the langauge code for the language needing translations. The
+where xx is the language code for the language needing translations. The
original .po file is copied to xx.po.orig.
diff --git a/src/po/de.po b/src/po/de.po
index 43fbbe78d8..171ddca24e 100644
--- a/src/po/de.po
+++ b/src/po/de.po
@@ -11,7 +11,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Vim(deutsch)\n"
"POT-Creation-Date: 2006-04-02 11:30+0200\n"
-"PO-Revision-Date: 2006-04-02 17:26+0200\n"
+"PO-Revision-Date: 2006-06-18 12:34+0200\n"
"Last-Translator: Georg Dahn <gorgyd@yahoo.co.uk>\n"
"Language-Team: German <de@li.org>\n"
"MIME-Version: 1.0\n"
@@ -3502,7 +3502,7 @@ msgid ""
"&Quit\n"
"&Abort"
msgstr ""
-"謋fnen nur zum &Lesen\n"
+"Nur zum &Lesen 鰂fnen\n"
"Trotzdem &editieren\n"
"&Wiederherstellen\n"
"&Beenden\n"
@@ -3516,10 +3516,10 @@ msgid ""
"&Quit\n"
"&Abort"
msgstr ""
-"謋fnen nur zum &Lesen\n"
+"Nur zum &Lesen 鰂fnen\n"
"Trotzdem &editieren\n"
"&Wiederherstellen\n"
-"&L鰏chen\n"
+"&Datei L鰏chen\n"
"&Beenden\n"
"&Abbrechen"
@@ -6131,3 +6131,5 @@ msgstr ""
"Die Definition von COMPOUNDPERMITFLAG nach dem PFX Element kann falsches Ergebnis in Zeile %s ergeben "
"%d"
+msgid "E116: Invalid arguments for function %s"
+msgstr "E116: Ung黮tige Argumente f黵 die Funktion %s"
diff --git a/src/po/pl.UTF-8.po b/src/po/pl.UTF-8.po
index 302ff8c3a8..75270caedf 100644
--- a/src/po/pl.UTF-8.po
+++ b/src/po/pl.UTF-8.po
@@ -1,22 +1,22 @@
# translation of pl.po to Polish
# Polish Translation for Vim
#
-# updated 2006 for vim-7.0
+# updated 2007 for vim-7.0
#
# FIRST AUTHOR Marcin Dalecki <martin@dalecki.de>, 2000.
-# Mikolaj Machowski <mikmach@wp.pl>, 2004, 2005, 2006.
+# Mikolaj Machowski <mikmach@wp.pl>, 2004, 2005, 2006, 2007.
msgid ""
msgstr ""
"Project-Id-Version: pl\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-04-27 18:27+0200\n"
-"PO-Revision-Date: 2006-04-27 19:15+0200\n"
+"POT-Creation-Date: 2007-04-30 20:03+0200\n"
+"PO-Revision-Date: 2007-04-30 20:07+0200\n"
"Last-Translator: Mikolaj Machowski <mikmach@wp.pl>\n"
"Language-Team: Polish <kde-transl@mer.chemia.polsl.gliwice.pl>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.11.2\n"
+"X-Generator: KBabel 1.11.4\n"
msgid "E82: Cannot allocate any buffer, exiting..."
msgstr "E82: Nie mog臋 zarezerwowa膰 bufora; zako艅czenie..."
@@ -194,6 +194,9 @@ msgstr "E98: Nie mog臋 wczyta膰 wyj艣cia r贸偶nicy"
msgid "E99: Current buffer is not in diff mode"
msgstr "E99: Bie偶膮cy bufor nie jest w trybie r贸偶nic"
+msgid "E793: No other buffer in diff mode is modifiable"
+msgstr "E793: 呕aden inny bufor w trybie diff nie jest modyfikowalny"
+
msgid "E100: No other buffer in diff mode"
msgstr "E100: Brak innego bufora w trybie r贸偶nic"
@@ -619,6 +622,10 @@ msgid "E706: Variable type mismatch for: %s"
msgstr "E706: Nieprawid艂owy typ zmiennej dla: %s"
#, c-format
+msgid "E795: Cannot delete variable %s"
+msgstr "E795: Nie mog臋 usun膮膰 zmiennej %s"
+
+#, c-format
msgid "E741: Value is locked: %s"
msgstr "E741: Warto艣膰 jest zablokowana: %s"
@@ -883,6 +890,7 @@ msgstr " zak艂adki"
msgid " FAILED"
msgstr " NIE POWIOD艁O SI臉"
+#. avoid a wait_return for this message, it's annoying
#, c-format
msgid "E137: Viminfo file is not writable: %s"
msgstr "E137: Plik viminfo jest niezapisywalny: %s"
@@ -1457,6 +1465,9 @@ msgstr "jest katalogiem"
msgid "is not a file"
msgstr "nie jest plikiem"
+msgid "is a device (disabled with 'opendevice' option"
+msgstr "jest urz膮dzeniem (wy艂膮czonym w opcji 'opendevice'"
+
msgid "[New File]"
msgstr "[Nowy Plik]"
@@ -1553,6 +1564,9 @@ msgstr "Cz臋艣ciowy zapis niemo偶liwy dla bufor贸w NetBeans"
msgid "is not a file or writable device"
msgstr "nie jest plikiem lub zapisywalnym przyrz膮dem"
+msgid "writing to device disabled with 'opendevice' option"
+msgstr "zapisywanie do urz膮dzenia wy艂膮czone w opcji 'opendevice'"
+
msgid "is read-only (add ! to override)"
msgstr "jest tylko do odczytu (wymu艣 poprzez !)"
@@ -3288,6 +3302,9 @@ msgstr ""
",\n"
"lub plik zosta艂 uszkodzony."
+msgid " has been damaged (page size is smaller than minimum value).\n"
+msgstr " zosta艂 uszkodzony (wielko艣膰 strony jest mniejsza ni偶 najmniejsza warto艣膰).\n"
+
#, c-format
msgid "Using swap file \"%s\""
msgstr "U偶ywam pliku wymiany \"%s\""
@@ -3626,6 +3643,10 @@ msgstr "E328: Menu istnieje tylko w innym trybie"
msgid "E329: No menu \"%s\""
msgstr "E329: Nie ma menu \"%s\""
+#. Only a mnemonic or accelerator is not valid.
+msgid "E792: Empty menu name"
+msgstr "E792: Pusta nazwa menu"
+
msgid "E330: Menu path must not lead to a sub-menu"
msgstr "E330: Trop menu nie mo偶e prowadzi膰 do podmenu"
@@ -4999,6 +5020,7 @@ msgstr "Przykro mi, brak podpowiedzi"
msgid "Sorry, only %ld suggestions"
msgstr "Przykro mi, tylko %ld podpowiedzi"
+#. for when 'cmdheight' > 1
#. avoid more prompt
#, c-format
msgid "Change \"%.*s\" to:"
@@ -5423,6 +5445,13 @@ msgstr ""
msgid ""
"\n"
+"MS-Windows 64 bit GUI version"
+msgstr ""
+"\n"
+"64 bitowa wersja GUI dla MS-Windows"
+
+msgid ""
+"\n"
"MS-Windows 32 bit GUI version"
msgstr ""
"\n"
@@ -6016,8 +6045,8 @@ msgid "E46: Cannot change read-only variable \"%s\""
msgstr "E46: Nie mog臋 zmieni膰 zmiennej tylko do odczytu \"%s\""
#, c-format
-msgid "E46: Cannot set variable in the sandbox: \"%s\""
-msgstr "E46: Nie mog臋 ustawi膰 zmiennej w piaskownicy: \"%s\""
+msgid "E794: Cannot set variable in the sandbox: \"%s\""
+msgstr "E794: Nie mog臋 ustawi膰 zmiennej w piaskownicy: \"%s\""
msgid "E47: Error while reading errorfile"
msgstr "E47: B艂膮d w trakcie czytania pliku b艂臋d贸w"
diff --git a/src/po/pl.cp1250.po b/src/po/pl.cp1250.po
index e10e745417..c67f748c2d 100644
--- a/src/po/pl.cp1250.po
+++ b/src/po/pl.cp1250.po
@@ -1,22 +1,22 @@
# translation of pl.po to Polish
# Polish Translation for Vim
#
-# updated 2006 for vim-7.0
+# updated 2007 for vim-7.0
#
# FIRST AUTHOR Marcin Dalecki <martin@dalecki.de>, 2000.
-# Mikolaj Machowski <mikmach@wp.pl>, 2004, 2005, 2006.
+# Mikolaj Machowski <mikmach@wp.pl>, 2004, 2005, 2006, 2007.
msgid ""
msgstr ""
"Project-Id-Version: pl\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2006-04-27 18:27+0200\n"
-"PO-Revision-Date: 2006-04-27 19:15+0200\n"
+"POT-Creation-Date: 2007-04-30 20:03+0200\n"
+"PO-Revision-Date: 2007-04-30 20:07+0200\n"
"Last-Translator: Mikolaj Machowski <mikmach@wp.pl>\n"
"Language-Team: Polish <kde-transl@mer.chemia.polsl.gliwice.pl>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=cp1250\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Generator: KBabel 1.11.2\n"
+"X-Generator: KBabel 1.11.4\n"
msgid "E82: Cannot allocate any buffer, exiting..."
msgstr "E82: Nie mog zarezerwowa bufora; zako馽zenie..."
@@ -194,6 +194,9 @@ msgstr "E98: Nie mog wczyta wyj渃ia r罂nicy"
msgid "E99: Current buffer is not in diff mode"
msgstr "E99: Bie抗cy bufor nie jest w trybie r罂nic"
+msgid "E793: No other buffer in diff mode is modifiable"
+msgstr "E793: 痑den inny bufor w trybie diff nie jest modyfikowalny"
+
msgid "E100: No other buffer in diff mode"
msgstr "E100: Brak innego bufora w trybie r罂nic"
@@ -619,6 +622,10 @@ msgid "E706: Variable type mismatch for: %s"
msgstr "E706: Nieprawid硂wy typ zmiennej dla: %s"
#, c-format
+msgid "E795: Cannot delete variable %s"
+msgstr "E795: Nie mog usun规 zmiennej %s"
+
+#, c-format
msgid "E741: Value is locked: %s"
msgstr "E741: Warto滄 jest zablokowana: %s"
@@ -883,6 +890,7 @@ msgstr " zak砤dki"
msgid " FAILED"
msgstr " NIE POWIOD SI"
+#. avoid a wait_return for this message, it's annoying
#, c-format
msgid "E137: Viminfo file is not writable: %s"
msgstr "E137: Plik viminfo jest niezapisywalny: %s"
@@ -1457,6 +1465,9 @@ msgstr "jest katalogiem"
msgid "is not a file"
msgstr "nie jest plikiem"
+msgid "is a device (disabled with 'opendevice' option"
+msgstr "jest urz筪zeniem (wy彻czonym w opcji 'opendevice'"
+
msgid "[New File]"
msgstr "[Nowy Plik]"
@@ -1553,6 +1564,9 @@ msgstr "Cz隃ciowy zapis niemo縧iwy dla bufor體 NetBeans"
msgid "is not a file or writable device"
msgstr "nie jest plikiem lub zapisywalnym przyrz筪em"
+msgid "writing to device disabled with 'opendevice' option"
+msgstr "zapisywanie do urz筪zenia wy彻czone w opcji 'opendevice'"
+
msgid "is read-only (add ! to override)"
msgstr "jest tylko do odczytu (wymu poprzez !)"
@@ -3288,6 +3302,9 @@ msgstr ""
",\n"
"lub plik zosta uszkodzony."
+msgid " has been damaged (page size is smaller than minimum value).\n"
+msgstr " zosta uszkodzony (wielko滄 strony jest mniejsza ni najmniejsza warto滄).\n"
+
#, c-format
msgid "Using swap file \"%s\""
msgstr "U縴wam pliku wymiany \"%s\""
@@ -3626,6 +3643,10 @@ msgstr "E328: Menu istnieje tylko w innym trybie"
msgid "E329: No menu \"%s\""
msgstr "E329: Nie ma menu \"%s\""
+#. Only a mnemonic or accelerator is not valid.
+msgid "E792: Empty menu name"
+msgstr "E792: Pusta nazwa menu"
+
msgid "E330: Menu path must not lead to a sub-menu"
msgstr "E330: Trop menu nie mo縠 prowadzi do podmenu"
@@ -4999,6 +5020,7 @@ msgstr "Przykro mi, brak podpowiedzi"
msgid "Sorry, only %ld suggestions"
msgstr "Przykro mi, tylko %ld podpowiedzi"
+#. for when 'cmdheight' > 1
#. avoid more prompt
#, c-format
msgid "Change \"%.*s\" to:"
@@ -5423,6 +5445,13 @@ msgstr ""
msgid ""
"\n"
+"MS-Windows 64 bit GUI version"
+msgstr ""
+"\n"
+"64 bitowa wersja GUI dla MS-Windows"
+
+msgid ""
+"\n"
"MS-Windows 32 bit GUI version"
msgstr ""
"\n"
@@ -6016,8 +6045,8 @@ msgid "E46: Cannot change read-only variable \"%s\""
msgstr "E46: Nie mog zmieni zmiennej tylko do odczytu \"%s\""
#, c-format
-msgid "E46: Cannot set variable in the sandbox: \"%s\""
-msgstr "E46: Nie mog ustawi zmiennej w piaskownicy: \"%s\""
+msgid "E794: Cannot set variable in the sandbox: \"%s\""
+msgstr "E794: Nie mog ustawi zmiennej w piaskownicy: \"%s\""
msgid "E47: Error while reading errorfile"
msgstr "E47: B彻d w trakcie czytania pliku b酬d體"
diff --git a/src/proto/charset.pro b/src/proto/charset.pro
index a6f4802622..4b6890d18b 100644
--- a/src/proto/charset.pro
+++ b/src/proto/charset.pro
@@ -1,56 +1,56 @@
/* charset.c */
-extern int init_chartab __ARGS((void));
-extern int buf_init_chartab __ARGS((buf_T *buf, int global));
-extern void trans_characters __ARGS((char_u *buf, int bufsize));
-extern char_u *transstr __ARGS((char_u *s));
-extern char_u *str_foldcase __ARGS((char_u *str, int orglen, char_u *buf, int buflen));
-extern char_u *transchar __ARGS((int c));
-extern char_u *transchar_byte __ARGS((int c));
-extern void transchar_nonprint __ARGS((char_u *buf, int c));
-extern void transchar_hex __ARGS((char_u *buf, int c));
-extern int byte2cells __ARGS((int b));
-extern int char2cells __ARGS((int c));
-extern int ptr2cells __ARGS((char_u *p));
-extern int vim_strsize __ARGS((char_u *s));
-extern int vim_strnsize __ARGS((char_u *s, int len));
-extern int chartabsize __ARGS((char_u *p, colnr_T col));
-extern int linetabsize __ARGS((char_u *s));
-extern int win_linetabsize __ARGS((win_T *wp, char_u *p, colnr_T len));
-extern int vim_isIDc __ARGS((int c));
-extern int vim_iswordc __ARGS((int c));
-extern int vim_iswordp __ARGS((char_u *p));
-extern int vim_iswordc_buf __ARGS((char_u *p, buf_T *buf));
-extern int vim_isfilec __ARGS((int c));
-extern int vim_isprintc __ARGS((int c));
-extern int vim_isprintc_strict __ARGS((int c));
-extern int lbr_chartabsize __ARGS((unsigned char *s, colnr_T col));
-extern int lbr_chartabsize_adv __ARGS((char_u **s, colnr_T col));
-extern int win_lbr_chartabsize __ARGS((win_T *wp, char_u *s, colnr_T col, int *headp));
-extern int in_win_border __ARGS((win_T *wp, colnr_T vcol));
-extern void getvcol __ARGS((win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end));
-extern colnr_T getvcol_nolist __ARGS((pos_T *posp));
-extern void getvvcol __ARGS((win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end));
-extern void getvcols __ARGS((win_T *wp, pos_T *pos1, pos_T *pos2, colnr_T *left, colnr_T *right));
-extern char_u *skipwhite __ARGS((char_u *p));
-extern char_u *skipdigits __ARGS((char_u *p));
-extern char_u *skiphex __ARGS((char_u *p));
-extern char_u *skiptodigit __ARGS((char_u *p));
-extern char_u *skiptohex __ARGS((char_u *p));
-extern int vim_isdigit __ARGS((int c));
-extern int vim_isxdigit __ARGS((int c));
-extern int vim_islower __ARGS((int c));
-extern int vim_isupper __ARGS((int c));
-extern int vim_toupper __ARGS((int c));
-extern int vim_tolower __ARGS((int c));
-extern char_u *skiptowhite __ARGS((char_u *p));
-extern char_u *skiptowhite_esc __ARGS((char_u *p));
-extern long getdigits __ARGS((char_u **pp));
-extern int vim_isblankline __ARGS((char_u *lbuf));
-extern void vim_str2nr __ARGS((char_u *start, int *hexp, int *len, int dooct, int dohex, long *nptr, unsigned long *unptr));
-extern int hex2nr __ARGS((int c));
-extern int hexhex2nr __ARGS((char_u *p));
-extern int rem_backslash __ARGS((char_u *str));
-extern void backslash_halve __ARGS((char_u *p));
-extern char_u *backslash_halve_save __ARGS((char_u *p));
-extern void ebcdic2ascii __ARGS((char_u *buffer, int len));
+int init_chartab __ARGS((void));
+int buf_init_chartab __ARGS((buf_T *buf, int global));
+void trans_characters __ARGS((char_u *buf, int bufsize));
+char_u *transstr __ARGS((char_u *s));
+char_u *str_foldcase __ARGS((char_u *str, int orglen, char_u *buf, int buflen));
+char_u *transchar __ARGS((int c));
+char_u *transchar_byte __ARGS((int c));
+void transchar_nonprint __ARGS((char_u *buf, int c));
+void transchar_hex __ARGS((char_u *buf, int c));
+int byte2cells __ARGS((int b));
+int char2cells __ARGS((int c));
+int ptr2cells __ARGS((char_u *p));
+int vim_strsize __ARGS((char_u *s));
+int vim_strnsize __ARGS((char_u *s, int len));
+int chartabsize __ARGS((char_u *p, colnr_T col));
+int linetabsize __ARGS((char_u *s));
+int win_linetabsize __ARGS((win_T *wp, char_u *p, colnr_T len));
+int vim_isIDc __ARGS((int c));
+int vim_iswordc __ARGS((int c));
+int vim_iswordp __ARGS((char_u *p));
+int vim_iswordc_buf __ARGS((char_u *p, buf_T *buf));
+int vim_isfilec __ARGS((int c));
+int vim_isprintc __ARGS((int c));
+int vim_isprintc_strict __ARGS((int c));
+int lbr_chartabsize __ARGS((unsigned char *s, colnr_T col));
+int lbr_chartabsize_adv __ARGS((char_u **s, colnr_T col));
+int win_lbr_chartabsize __ARGS((win_T *wp, char_u *s, colnr_T col, int *headp));
+int in_win_border __ARGS((win_T *wp, colnr_T vcol));
+void getvcol __ARGS((win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end));
+colnr_T getvcol_nolist __ARGS((pos_T *posp));
+void getvvcol __ARGS((win_T *wp, pos_T *pos, colnr_T *start, colnr_T *cursor, colnr_T *end));
+void getvcols __ARGS((win_T *wp, pos_T *pos1, pos_T *pos2, colnr_T *left, colnr_T *right));
+char_u *skipwhite __ARGS((char_u *p));
+char_u *skipdigits __ARGS((char_u *p));
+char_u *skiphex __ARGS((char_u *p));
+char_u *skiptodigit __ARGS((char_u *p));
+char_u *skiptohex __ARGS((char_u *p));
+int vim_isdigit __ARGS((int c));
+int vim_isxdigit __ARGS((int c));
+int vim_islower __ARGS((int c));
+int vim_isupper __ARGS((int c));
+int vim_toupper __ARGS((int c));
+int vim_tolower __ARGS((int c));
+char_u *skiptowhite __ARGS((char_u *p));
+char_u *skiptowhite_esc __ARGS((char_u *p));
+long getdigits __ARGS((char_u **pp));
+int vim_isblankline __ARGS((char_u *lbuf));
+void vim_str2nr __ARGS((char_u *start, int *hexp, int *len, int dooct, int dohex, long *nptr, unsigned long *unptr));
+int hex2nr __ARGS((int c));
+int hexhex2nr __ARGS((char_u *p));
+int rem_backslash __ARGS((char_u *str));
+void backslash_halve __ARGS((char_u *p));
+char_u *backslash_halve_save __ARGS((char_u *p));
+void ebcdic2ascii __ARGS((char_u *buffer, int len));
/* vim: set ft=c : */
diff --git a/src/proto/diff.pro b/src/proto/diff.pro
index 65b978fe93..e45127ad0d 100644
--- a/src/proto/diff.pro
+++ b/src/proto/diff.pro
@@ -1,26 +1,26 @@
/* diff.c */
-extern void diff_buf_delete __ARGS((buf_T *buf));
-extern void diff_buf_adjust __ARGS((win_T *win));
-extern void diff_buf_add __ARGS((buf_T *buf));
-extern void diff_invalidate __ARGS((buf_T *buf));
-extern void diff_mark_adjust __ARGS((linenr_T line1, linenr_T line2, long amount, long amount_after));
-extern void ex_diffupdate __ARGS((exarg_T *eap));
-extern void ex_diffpatch __ARGS((exarg_T *eap));
-extern void ex_diffsplit __ARGS((exarg_T *eap));
-extern void ex_diffthis __ARGS((exarg_T *eap));
-extern void diff_win_options __ARGS((win_T *wp, int addbuf));
-extern void ex_diffoff __ARGS((exarg_T *eap));
-extern void diff_clear __ARGS((tabpage_T *tp));
-extern int diff_check __ARGS((win_T *wp, linenr_T lnum));
-extern int diff_check_fill __ARGS((win_T *wp, linenr_T lnum));
-extern void diff_set_topline __ARGS((win_T *fromwin, win_T *towin));
-extern int diffopt_changed __ARGS((void));
-extern int diffopt_horizontal __ARGS((void));
-extern int diff_find_change __ARGS((win_T *wp, linenr_T lnum, int *startp, int *endp));
-extern int diff_infold __ARGS((win_T *wp, linenr_T lnum));
-extern void nv_diffgetput __ARGS((int put));
-extern void ex_diffgetput __ARGS((exarg_T *eap));
-extern int diff_mode_buf __ARGS((buf_T *buf));
-extern int diff_move_to __ARGS((int dir, long count));
-extern linenr_T diff_lnum_win __ARGS((linenr_T lnum, win_T *wp));
+void diff_buf_delete __ARGS((buf_T *buf));
+void diff_buf_adjust __ARGS((win_T *win));
+void diff_buf_add __ARGS((buf_T *buf));
+void diff_invalidate __ARGS((buf_T *buf));
+void diff_mark_adjust __ARGS((linenr_T line1, linenr_T line2, long amount, long amount_after));
+void ex_diffupdate __ARGS((exarg_T *eap));
+void ex_diffpatch __ARGS((exarg_T *eap));
+void ex_diffsplit __ARGS((exarg_T *eap));
+void ex_diffthis __ARGS((exarg_T *eap));
+void diff_win_options __ARGS((win_T *wp, int addbuf));
+void ex_diffoff __ARGS((exarg_T *eap));
+void diff_clear __ARGS((tabpage_T *tp));
+int diff_check __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));
+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_infold __ARGS((win_T *wp, linenr_T lnum));
+void nv_diffgetput __ARGS((int put));
+void ex_diffgetput __ARGS((exarg_T *eap));
+int diff_mode_buf __ARGS((buf_T *buf));
+int diff_move_to __ARGS((int dir, long count));
+linenr_T diff_lnum_win __ARGS((linenr_T lnum, win_T *wp));
/* vim: set ft=c : */
diff --git a/src/proto/ex_eval.pro b/src/proto/ex_eval.pro
index 20601f8af6..8fb234283e 100644
--- a/src/proto/ex_eval.pro
+++ b/src/proto/ex_eval.pro
@@ -1,32 +1,32 @@
/* ex_eval.c */
-extern int aborting __ARGS((void));
-extern void update_force_abort __ARGS((void));
-extern int should_abort __ARGS((int retcode));
-extern int aborted_in_try __ARGS((void));
-extern int cause_errthrow __ARGS((char_u *mesg, int severe, int *ignore));
-extern void do_errthrow __ARGS((struct condstack *cstack, char_u *cmdname));
-extern int do_intthrow __ARGS((struct condstack *cstack));
-extern void discard_current_exception __ARGS((void));
-extern void report_make_pending __ARGS((int pending, void *value));
-extern void report_resume_pending __ARGS((int pending, void *value));
-extern void report_discard_pending __ARGS((int pending, void *value));
-extern void ex_if __ARGS((exarg_T *eap));
-extern void ex_endif __ARGS((exarg_T *eap));
-extern void ex_else __ARGS((exarg_T *eap));
-extern void ex_while __ARGS((exarg_T *eap));
-extern void ex_continue __ARGS((exarg_T *eap));
-extern void ex_break __ARGS((exarg_T *eap));
-extern void ex_endwhile __ARGS((exarg_T *eap));
-extern void ex_throw __ARGS((exarg_T *eap));
-extern void do_throw __ARGS((struct condstack *cstack));
-extern void ex_try __ARGS((exarg_T *eap));
-extern void ex_catch __ARGS((exarg_T *eap));
-extern void ex_finally __ARGS((exarg_T *eap));
-extern void ex_endtry __AR