diff options
author | 2001-10-21 16:26:23 +0000 | |
---|---|---|
committer | 2001-10-21 16:26:23 +0000 | |
commit | b49ba79b30515bd72811bdb4438120d78165e90c (patch) | |
tree | 99bde66a8cafdc24f6015d9e3eb9a2f8e58f6785 /app-editors | |
parent | Fixup tabs. (diff) | |
download | historical-b49ba79b30515bd72811bdb4438120d78165e90c.tar.gz historical-b49ba79b30515bd72811bdb4438120d78165e90c.tar.bz2 historical-b49ba79b30515bd72811bdb4438120d78165e90c.zip |
Added more vim patches from vim.org.
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/vim/files/6.0.012 | 100 | ||||
-rw-r--r-- | app-editors/vim/files/6.0.013 | 79 | ||||
-rw-r--r-- | app-editors/vim/files/6.0.014 | 53 | ||||
-rw-r--r-- | app-editors/vim/files/6.0.015 | 71 | ||||
-rw-r--r-- | app-editors/vim/files/6.0.016 | 53 | ||||
-rw-r--r-- | app-editors/vim/files/6.0.017 | 60 | ||||
-rw-r--r-- | app-editors/vim/files/6.0.018 | 67 |
7 files changed, 483 insertions, 0 deletions
diff --git a/app-editors/vim/files/6.0.012 b/app-editors/vim/files/6.0.012 new file mode 100644 index 000000000000..72fe8a4b7e1b --- /dev/null +++ b/app-editors/vim/files/6.0.012 @@ -0,0 +1,100 @@ +To: vim-dev@vim.org +Subject: Patch 6.0.012 +Fcc: outbox +From: Bram Moolenaar <Bram@moolenaar.net> +------------ + +Patch 6.0.012 +Problem: Polish translations contain printf format errors, this can result + in a crash when using one of them. +Solution: Fix for translated messages. (Michal Politowski) +Files: src/po/pl.po + + +*** ../vim60.11/src/po/pl.po Sat Sep 15 14:57:02 2001 +--- src/po/pl.po Thu Oct 18 13:26:10 2001 +*************** +*** 221,227 **** + #: diff.c:133 + #, c-format + msgid "E96: Can not diff more than %ld buffers" +! msgstr "E96: Nie mogę zróżnicować więcej niż %ls buforów" + + #: diff.c:641 + msgid "E97: Cannot create diffs" +--- 221,227 ---- + #: diff.c:133 + #, c-format + msgid "E96: Can not diff more than %ld buffers" +! msgstr "E96: Nie mogę zróżnicować więcej niż %ld buforów" + + #: diff.c:641 + msgid "E97: Cannot create diffs" +*************** +*** 383,389 **** + #: edit.c:3355 + #, c-format + msgid "match %d" +! msgstr "pasuje %s" + + #: eval.c:693 + #, c-format +--- 383,389 ---- + #: edit.c:3355 + #, c-format + msgid "match %d" +! msgstr "pasuje %d" + + #: eval.c:693 + #, c-format +*************** +*** 571,577 **** + #: eval.c:8143 + #, c-format + msgid "%s returning #%ld" +! msgstr "%s zwraca #%d" + + #: eval.c:8146 + #, c-format +--- 571,577 ---- + #: eval.c:8143 + #, c-format + msgid "%s returning #%ld" +! msgstr "%s zwraca #%ld" + + #: eval.c:8146 + #, c-format +*************** +*** 2178,2184 **** + #: if_cscope.c:407 if_cscope.c:451 + #, c-format + msgid "stat(%s) error: %d" +! msgstr "stat(%s) błąd: %s" + + #: if_cscope.c:460 if_cscope.c:467 + #, c-format +--- 2178,2184 ---- + #: if_cscope.c:407 if_cscope.c:451 + #, c-format + msgid "stat(%s) error: %d" +! msgstr "stat(%s) błąd: %d" + + #: if_cscope.c:460 if_cscope.c:467 + #, c-format +*** ../vim60.11/src/version.c Thu Oct 18 13:28:47 2001 +--- src/version.c Thu Oct 18 13:26:33 2001 +*************** +*** 608,609 **** +--- 608,611 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 12, + /**/ + +-- +hundred-and-one symptoms of being an internet addict: +88. Every single time you press the 'Get mail' button...it does get new mail. + + /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ +((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim ))) + \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org /// diff --git a/app-editors/vim/files/6.0.013 b/app-editors/vim/files/6.0.013 new file mode 100644 index 000000000000..cee9a9eb07bd --- /dev/null +++ b/app-editors/vim/files/6.0.013 @@ -0,0 +1,79 @@ +To: vim-dev@vim.org +Subject: Patch 6.0.013 +Fcc: outbox +From: Bram Moolenaar <Bram@moolenaar.net> +------------ + +Patch 6.0.013 +Problem: Using ":silent! cmd" still gives some error messages, like for an + invalid range. (Salman Halim) +Solution: Reset emsg_silent after calling emsg() in do_one_cmd(). +Files: src/ex_docmd.c + + +*** ../vim60.12/src/ex_docmd.c Fri Sep 14 21:48:28 2001 +--- src/ex_docmd.c Thu Oct 18 17:53:53 2001 +*************** +*** 1880,1885 **** +--- 1880,1900 ---- + if (curwin->w_cursor.lnum == 0) /* can happen with zero line number */ + curwin->w_cursor.lnum = 1; + ++ if (errormsg != NULL && *errormsg != NUL && !did_emsg) ++ { ++ if (sourcing) ++ { ++ if (errormsg != IObuff) ++ { ++ STRCPY(IObuff, errormsg); ++ errormsg = IObuff; ++ } ++ STRCAT(errormsg, ": "); ++ STRNCAT(errormsg, *cmdlinep, IOSIZE - STRLEN(IObuff)); ++ } ++ emsg(errormsg); ++ } ++ + if (verbose_save >= 0) + p_verbose = verbose_save; + +*************** +*** 1900,1919 **** + msg_scroll = save_msg_scroll; + } + +- if (errormsg != NULL && *errormsg != NUL && !did_emsg) +- { +- if (sourcing) +- { +- if (errormsg != IObuff) +- { +- STRCPY(IObuff, errormsg); +- errormsg = IObuff; +- } +- STRCAT(errormsg, ": "); +- STRNCAT(errormsg, *cmdlinep, IOSIZE - STRLEN(IObuff)); +- } +- emsg(errormsg); +- } + if (ea.nextcmd && *ea.nextcmd == NUL) /* not really a next command */ + ea.nextcmd = NULL; + +--- 1915,1920 ---- +*** ../vim60.12/src/version.c Thu Oct 18 18:02:49 2001 +--- src/version.c Thu Oct 18 17:54:02 2001 +*************** +*** 608,609 **** +--- 608,611 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 13, + /**/ + +-- +From "know your smileys": + ~#:-( I just washed my hair, and I can't do nuthin' with it. + + /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ +((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim ))) + \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org /// diff --git a/app-editors/vim/files/6.0.014 b/app-editors/vim/files/6.0.014 new file mode 100644 index 000000000000..e3135fcde032 --- /dev/null +++ b/app-editors/vim/files/6.0.014 @@ -0,0 +1,53 @@ +To: vim-dev@vim.org +Subject: Patch 6.0.014 +Fcc: outbox +From: Bram Moolenaar <Bram@moolenaar.net> +MIME-Version: 1.0 +Content-Type: text/plain; charset=ISO-8859-1 +Content-Transfer-Encoding: 8bit +------------ + +Patch 6.0.014 +Problem: When 'modifiable' is off and 'virtualedit' is "all", "rx" on a TAB + still changes the buffer. (Muraoka Taro) +Solution: Check if saving the line for undo fails. +Files: src/normal.c + + +*** ../vim60.13/src/normal.c Fri Sep 28 22:19:57 2001 +--- src/normal.c Fri Oct 19 11:18:05 2001 +*************** +*** 5764,5770 **** + /* Break tabs, etc. */ + if (virtual_active()) + { +! u_save_cursor(); + if (gchar_cursor() == NUL) + { + /* Add extra space and put the cursor on the first one. */ +--- 5764,5771 ---- + /* Break tabs, etc. */ + if (virtual_active()) + { +! if (u_save_cursor() == FAIL) +! return; + if (gchar_cursor() == NUL) + { + /* Add extra space and put the cursor on the first one. */ +*** ../vim60.13/src/version.c Fri Oct 19 11:18:45 2001 +--- src/version.c Fri Oct 19 11:17:35 2001 +*************** +*** 608,609 **** +--- 608,611 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 14, + /**/ + +-- +From "know your smileys": + % Bike accident (a bit far-fetched, I suppose) + + /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ +((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim ))) + \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org /// diff --git a/app-editors/vim/files/6.0.015 b/app-editors/vim/files/6.0.015 new file mode 100644 index 000000000000..8702dbd66db2 --- /dev/null +++ b/app-editors/vim/files/6.0.015 @@ -0,0 +1,71 @@ +To: vim-dev@vim.org +Subject: Patch 6.0.015 +Fcc: outbox +From: Bram Moolenaar <Bram@moolenaar.net> +MIME-Version: 1.0 +Content-Type: text/plain; charset=ISO-8859-1 +Content-Transfer-Encoding: 8bit +------------ + +Patch 6.0.015 +Problem: When 'cpoptions' includes "S" and "filetype plugin on" has been + used, can get an error for deleting the b:did_ftplugin variable. + (Ralph Henderson) +Solution: Only delete the variable when it exists. +Files: runtime/ftplugin.vim + + +*** ../vim60.14/runtime/ftplugin.vim Tue Sep 18 18:35:13 2001 +--- runtime/ftplugin.vim Fri Oct 19 15:21:05 2001 +*************** +*** 1,7 **** + " Vim support file to switch on loading plugins for file types + " + " Maintainer: Bram Moolenaar <Bram@vim.org> +! " Last change: 2001 Sep 18 + + if exists("did_load_ftplugin") + finish +--- 1,7 ---- + " Vim support file to switch on loading plugins for file types + " + " Maintainer: Bram Moolenaar <Bram@vim.org> +! " Last change: 2001 Oct 19 + + if exists("did_load_ftplugin") + finish +*************** +*** 12,18 **** + au FileType * call s:LoadFTPlugin() + func! s:LoadFTPlugin() + if expand("<amatch>") != "" +! if &cpo =~# "S" + " In compatible mode options are reset to the global values, need to + " set the local values also when a plugin was already used. + unlet b:did_ftplugin +--- 12,18 ---- + au FileType * call s:LoadFTPlugin() + func! s:LoadFTPlugin() + if expand("<amatch>") != "" +! if &cpo =~# "S" && exists("b:did_ftplugin") + " In compatible mode options are reset to the global values, need to + " set the local values also when a plugin was already used. + unlet b:did_ftplugin +*** ../vim60.14/src/version.c Fri Oct 19 15:24:44 2001 +--- src/version.c Fri Oct 19 15:24:33 2001 +*************** +*** 608,609 **** +--- 608,611 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 15, + /**/ + +-- +hundred-and-one symptoms of being an internet addict: +97. Your mother tells you to remember something, and you look for + a File/Save command. + + /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ +((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim ))) + \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org /// diff --git a/app-editors/vim/files/6.0.016 b/app-editors/vim/files/6.0.016 new file mode 100644 index 000000000000..6f4743a5affe --- /dev/null +++ b/app-editors/vim/files/6.0.016 @@ -0,0 +1,53 @@ +To: vim-dev@vim.org +Subject: Patch 6.0.016 +Fcc: outbox +From: Bram Moolenaar <Bram@moolenaar.net> +MIME-Version: 1.0 +Content-Type: text/plain; charset=ISO-8859-1 +Content-Transfer-Encoding: 8bit +------------ + +Patch 6.0.016 +Problem: bufnr(), bufname() and bufwinnr() don't find unlisted buffers when + the argument is a string. (Hari Krishna Dara) + Also for setbufvar() and getbufvar(). +Solution: Also find unlisted buffers. +Files: src/eval.c + + +*** ../vim60.15/src/eval.c Mon Sep 24 20:56:45 2001 +--- src/eval.c Fri Oct 19 17:20:49 2001 +*************** +*** 2908,2914 **** + p_cpo = (char_u *)""; + + buf = buflist_findnr(buflist_findpat(name, name + STRLEN(name), +! FALSE, FALSE)); + + p_magic = save_magic; + p_cpo = save_cpo; +--- 2908,2914 ---- + p_cpo = (char_u *)""; + + buf = buflist_findnr(buflist_findpat(name, name + STRLEN(name), +! TRUE, FALSE)); + + p_magic = save_magic; + p_cpo = save_cpo; +*** ../vim60.15/src/version.c Fri Oct 19 17:27:43 2001 +--- src/version.c Fri Oct 19 17:23:09 2001 +*************** +*** 608,609 **** +--- 608,611 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 16, + /**/ + +-- +hundred-and-one symptoms of being an internet addict: +104. When people ask about the Presidential Election you ask "Which country?" + + /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ +((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim ))) + \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org /// diff --git a/app-editors/vim/files/6.0.017 b/app-editors/vim/files/6.0.017 new file mode 100644 index 000000000000..4a8e17f93c3f --- /dev/null +++ b/app-editors/vim/files/6.0.017 @@ -0,0 +1,60 @@ +To: vim-dev@vim.org +Subject: Patch 6.0.017 +Fcc: outbox +From: Bram Moolenaar <Bram@moolenaar.net> +MIME-Version: 1.0 +Content-Type: text/plain; charset=ISO-8859-1 +Content-Transfer-Encoding: 8bit +------------ + +Patch 6.0.017 +Problem: When 'ttybuiltin' is set and a builtin termcap entry defines t_Co + and the external one doesn't, it gets reset to empty. (David + Harrison) +Solution: Only set t_Co when it wasn't set yet. +Files: src/term.c + + +*** ../vim60.16/src/term.c Thu Sep 20 21:31:38 2001 +--- src/term.c Fri Oct 19 19:38:08 2001 +*************** +*** 1665,1673 **** + width = tgetnum("co"); + + /* +! * Get number of colors. + */ +! set_color_count(tgetnum("Co")); + + # ifndef hpux + BC = (char *)TGETSTR("bc", &tp); +--- 1665,1675 ---- + width = tgetnum("co"); + + /* +! * Get number of colors (if not done already). + */ +! if (term_str(KS_CCO) == NULL +! || term_str(KS_CCO) == empty_option) +! set_color_count(tgetnum("Co")); + + # ifndef hpux + BC = (char *)TGETSTR("bc", &tp); +*** ../vim60.16/src/version.c Fri Oct 19 19:36:36 2001 +--- src/version.c Fri Oct 19 19:35:14 2001 +*************** +*** 608,609 **** +--- 608,611 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 17, + /**/ + +-- +hundred-and-one symptoms of being an internet addict: +106. When told to "go to your room" you inform your parents that you + can't...because you were kicked out and banned. + + /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ +((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim ))) + \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org /// diff --git a/app-editors/vim/files/6.0.018 b/app-editors/vim/files/6.0.018 new file mode 100644 index 000000000000..693627e659c3 --- /dev/null +++ b/app-editors/vim/files/6.0.018 @@ -0,0 +1,67 @@ +To: vim-dev@vim.org +Subject: Patch 6.0.018 +Fcc: outbox +From: Bram Moolenaar <Bram@moolenaar.net> +MIME-Version: 1.0 +Content-Type: text/plain; charset=ISO-8859-1 +Content-Transfer-Encoding: 8bit +------------ + +Patch 6.0.018 +Problem: Initializing 'encoding' may cause a crash when setlocale() is not + used. (Dany St-Amant) +Solution: Check for a NULL pointer. +Files: src/mbyte.c + + +*** ../vim60.17/src/mbyte.c Wed Sep 26 16:18:24 2001 +--- src/mbyte.c Sun Oct 21 12:39:21 2001 +*************** +*** 2317,2324 **** + #endif + + /* +! * Return the default value for 'encoding' in an allocated string. +! * Returns NULL when out of memory or no usable default could be found. + */ + int + enc_default() +--- 2317,2324 ---- + #endif + + /* +! * Set the default value for 'encoding' (p_enc). +! * Returns OK when successful, FAIL when not. + */ + int + enc_default() +*************** +*** 2349,2354 **** +--- 2349,2357 ---- + if ((s = getenv("LC_ALL")) == NULL || *s == NUL) + if ((s = getenv("LC_CTYPE")) == NULL || *s == NUL) + s = getenv("LANG"); ++ ++ if (s == NULL || *s == NUL) ++ return FAIL; + + /* The most generic locale format is: + * language[_territory][.codeset][@modifier][+special][,[sponsor][_revision]] +*** ../vim60.17/src/version.c Sun Oct 21 12:38:02 2001 +--- src/version.c Sun Oct 21 12:35:28 2001 +*************** +*** 608,609 **** +--- 608,611 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 18, + /**/ + +-- +hundred-and-one symptoms of being an internet addict: +139. You down your lunch in five minutes, at your desk, so you can + spend the rest of the hour surfing the Net. + + /// Bram Moolenaar -- Bram@moolenaar.net -- http://www.moolenaar.net \\\ +((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim ))) + \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org /// |