+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.001
-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.3.001
-Problem: ":browse split" gives the file selection dialog twice. (Gordon
- Bazeley) Same problem for ":browse diffpatch".
-Solution: Reset cmdmod.browse before calling do_ecmd().
-Files: src/diff.c, src/ex_docmd.c
-
-
-*** ../vim-6.3.000/src/diff.c Wed Jun 9 14:56:26 2004
---- src/diff.c Wed Jun 9 14:43:17 2004
-***************
-*** 810,815 ****
---- 810,816 ----
- #endif
- #ifdef FEAT_BROWSE
- char_u *browseFile = NULL;
-+ int browse_flag = cmdmod.browse;
- #endif
-
- #ifdef FEAT_BROWSE
-***************
-*** 820,825 ****
---- 821,827 ----
- if (browseFile == NULL)
- return; /* operation cancelled */
- eap->arg = browseFile;
-+ cmdmod.browse = FALSE; /* don't let do_ecmd() browse again */
- }
- #endif
-
-***************
-*** 960,965 ****
---- 962,968 ----
- #endif
- #ifdef FEAT_BROWSE
- vim_free(browseFile);
-+ cmdmod.browse = browse_flag;
- #endif
- }
-
-*** ../vim-6.3.000/src/ex_docmd.c Wed Jun 9 14:56:25 2004
---- src/ex_docmd.c Wed Jun 9 14:28:58 2004
-***************
-*** 6342,6347 ****
---- 6342,6350 ----
- #if defined(FEAT_SEARCHPATH) || defined(FEAT_BROWSE)
- char_u *fname = NULL;
- #endif
-+ #ifdef FEAT_BROWSE
-+ int browse_flag = cmdmod.browse;
-+ #endif
-
- #ifndef FEAT_VERTSPLIT
- if (eap->cmdidx == CMD_vsplit || eap->cmdidx == CMD_vnew)
-***************
-*** 6396,6402 ****
---- 6399,6407 ----
- goto theend;
- eap->arg = fname;
- }
-+ cmdmod.browse = FALSE; /* Don't browse again in do_ecmd(). */
- #endif
-+
- if (win_split(eap->addr_count > 0 ? (int)eap->line2 : 0,
- *eap->cmd == 'v' ? WSP_VERT : 0) != FAIL)
- {
-***************
-*** 6414,6419 ****
---- 6419,6428 ----
- #endif
- do_exedit(eap, old_curwin);
- }
-+
-+ #ifdef FEAT_BROWSE
-+ cmdmod.browse = browse_flag;
-+ #endif
-
- #if defined(FEAT_SEARCHPATH) || defined(FEAT_BROWSE)
- theend:
-*** ../vim-6.3.000/src/version.c Wed Jun 9 14:56:26 2004
---- src/version.c Wed Jun 9 14:53:52 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 1,
- /**/
-
---
-From "know your smileys":
- (:-# Said something he shouldn't have
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.002
-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.3.002
-Problem: When using translated help files with non-ASCII latin1 characters
- in the first line the utf-8 detection is wrong.
-Solution: Properly detect utf-8 characters. When a mix of encodings is
- detected continue with the next language and avoid a "no matches"
- error because of "got_int" being set. Add the directory name to
- the error message for a duplicate tag.
-Files: src/ex_cmds.c
-
-
-*** ../vim-6.3.001/src/ex_cmds.c Wed Jun 9 14:56:26 2004
---- src/ex_cmds.c Thu Jun 10 21:08:05 2004
-***************
-*** 5300,5305 ****
---- 5300,5306 ----
- int utf8 = MAYBE;
- int this_utf8;
- int firstline;
-+ int mix = FALSE; /* detected mixed encodings */
- # endif
-
- /*
-***************
-*** 5313,5319 ****
- EW_FILE|EW_SILENT) == FAIL
- || filecount == 0)
- {
-! EMSG2("E151: No match: %s", NameBuff);
- return;
- }
-
---- 5314,5321 ----
- EW_FILE|EW_SILENT) == FAIL
- || filecount == 0)
- {
-! if (!got_int)
-! EMSG2("E151: No match: %s", NameBuff);
- return;
- }
-
-***************
-*** 5377,5391 ****
- if (firstline)
- {
- /* Detect utf-8 file by a non-ASCII char in the first line. */
-! this_utf8 = FALSE;
- for (s = IObuff; *s != NUL; ++s)
- if (*s >= 0x80)
- this_utf8 = TRUE;
-! if (utf8 == MAYBE)
- utf8 = this_utf8;
- else if (utf8 != this_utf8)
- {
- EMSG2(_("E670: Mix of help file encodings within a language: %s"), files[fi]);
- got_int = TRUE;
- }
- firstline = FALSE;
---- 5379,5408 ----
- if (firstline)
- {
- /* Detect utf-8 file by a non-ASCII char in the first line. */
-! this_utf8 = MAYBE;
- for (s = IObuff; *s != NUL; ++s)
- if (*s >= 0x80)
-+ {
-+ int l;
-+
- this_utf8 = TRUE;
-! l = utf_ptr2len_check(s);
-! if (l == 1)
-! {
-! /* Illegal UTF-8 byte sequence. */
-! this_utf8 = FALSE;
-! break;
-! }
-! s += l - 1;
-! }
-! if (this_utf8 == MAYBE) /* only ASCII characters found */
-! this_utf8 = FALSE;
-! if (utf8 == MAYBE) /* first file */
- utf8 = this_utf8;
- else if (utf8 != this_utf8)
- {
- EMSG2(_("E670: Mix of help file encodings within a language: %s"), files[fi]);
-+ mix = !got_int;
- got_int = TRUE;
- }
- firstline = FALSE;
-***************
-*** 5463,5470 ****
- {
- *p2 = NUL;
- sprintf((char *)NameBuff,
-! _("E154: Duplicate tag \"%s\" in file %s"),
-! ((char_u **)ga.ga_data)[i], p2 + 1);
- EMSG(NameBuff);
- *p2 = '\t';
- break;
---- 5480,5487 ----
- {
- *p2 = NUL;
- sprintf((char *)NameBuff,
-! _("E154: Duplicate tag \"%s\" in file %s/%s"),
-! ((char_u **)ga.ga_data)[i], dir, p2 + 1);
- EMSG(NameBuff);
- *p2 = '\t';
- break;
-***************
-*** 5502,5507 ****
---- 5519,5528 ----
- }
- }
- }
-+ #ifdef FEAT_MBYTE
-+ if (mix)
-+ got_int = FALSE; /* continue with other languages */
-+ #endif
-
- for (i = 0; i < ga.ga_len; ++i)
- vim_free(((char_u **)ga.ga_data)[i]);
-*** ../vim-6.3.001/src/version.c Wed Jun 9 14:59:11 2004
---- src/version.c Thu Jun 10 20:53:19 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 2,
- /**/
-
---
-From "know your smileys":
- % Bike accident (a bit far-fetched, I suppose)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.003
-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.3.003
-Problem: Crash when using a console dialog and the first choice does not
- have a default button. (Darin Ohashi)
-Solution: Allocate two more characters for the [] around the character for
- the default choice.
-Files: src/message.c
-
-
-*** ../vim-6.3.002/src/message.c Wed Jun 9 14:56:25 2004
---- src/message.c Fri Jun 11 20:14:02 2004
-***************
-*** 2918,2923 ****
---- 2918,2930 ----
- + 3; /* for the ": " and NUL */
- lenhotkey++; /* for the NUL */
-
-+ /* If no hotkey is specified first char is used. */
-+ if (!has_hotkey[0])
-+ {
-+ first_hotkey = TRUE;
-+ len += 2; /* "x" -> "[x]" */
-+ }
-+
- /*
- * Now allocate and load the strings
- */
-***************
-*** 2938,2947 ****
-
- /* define first default hotkey */
- (void)copy_char(buttons, hotkp, TRUE);
--
-- /* If no hotkey is specified first char is used. */
-- if (!has_hotkey[0])
-- first_hotkey = TRUE;
-
- /* Remember where the choices start, displaying starts here when
- * "hotkp" typed at the more prompt. */
---- 2945,2950 ----
-*** ../vim-6.3.002/src/version.c Thu Jun 10 21:08:20 2004
---- src/version.c Fri Jun 11 20:17:37 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 3,
- /**/
-
---
-From "know your smileys":
- :.-( Crying
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.004
-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.3.004
-Problem: When searching for a long string (140 chars in a 80 column
- terminal) get three hit-enter prompts. (Benji Fisher)
-Solution: Avoid the hit-enter prompt when giving the message for wrapping
- around the end of the buffer. Don't give that message again when
- the string was not found.
-Files: src/message.c, src/search.c
-
-
-*** ../vim-6.3.003/src/message.c Fri Jun 11 20:20:22 2004
---- src/message.c Sun Jun 13 12:15:03 2004
-***************
-*** 2572,2577 ****
---- 2572,2579 ----
- if (msg_silent != 0)
- return;
-
-+ /* Don't want a hit-enter prompt here. */
-+ ++no_wait_return;
- #ifdef FEAT_EVAL
- set_vim_var_string(VV_WARNINGMSG, message, -1);
- #endif
-***************
-*** 2590,2595 ****
---- 2592,2598 ----
- msg_nowait = TRUE; /* don't wait for this message */
- msg_col = 0;
- #endif
-+ --no_wait_return;
- }
-
- /*
-*** ../vim-6.3.003/src/search.c Wed Jun 9 14:56:27 2004
---- src/search.c Sun Jun 13 12:27:03 2004
-***************
-*** 808,817 ****
- at_first_line = FALSE;
-
- /*
-! * stop the search if wrapscan isn't set, after an interrupt and
-! * after a match
- */
-! if (!p_ws || got_int || called_emsg || break_loop || found)
- break;
-
- /*
---- 808,817 ----
- at_first_line = FALSE;
-
- /*
-! * Stop the search if wrapscan isn't set, after an interrupt,
-! * after a match and after looping twice.
- */
-! if (!p_ws || got_int || called_emsg || break_loop || found || loop)
- break;
-
- /*
-*** ../vim-6.3.003/src/version.c Fri Jun 11 20:20:22 2004
---- src/version.c Sun Jun 13 12:18:27 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 4,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-102. When filling out your driver's license application, you give
- your IP address.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.005
-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.3.005
-Problem: Crash when searching for a pattern with a character offset and
- starting in a closed fold. (Frank Butler)
-Solution: Check for the column to be past the end of the line. Also fix
- that a pattern with a character offset relative to the end isn't
- read back from the viminfo properly.
-Files: src/search.c
-
-
-*** ../vim-6.3.004/src/search.c Sun Jun 13 12:33:41 2004
---- src/search.c Wed Jun 16 10:46:17 2004
-***************
-*** 1138,1147 ****
- /*
- * If there is a character offset, subtract it from the current
- * position, so we don't get stuck at "?pat?e+2" or "/pat/s-2".
- * This is not done for a line offset, because then we would not be vi
- * compatible.
- */
-! if (!spats[0].off.line && spats[0].off.off)
- {
- if (spats[0].off.off > 0)
- {
---- 1138,1148 ----
- /*
- * If there is a character offset, subtract it from the current
- * position, so we don't get stuck at "?pat?e+2" or "/pat/s-2".
-+ * Skip this if pos.col is near MAXCOL (closed fold).
- * This is not done for a line offset, because then we would not be vi
- * compatible.
- */
-! if (!spats[0].off.line && spats[0].off.off && pos.col < MAXCOL - 2)
- {
- if (spats[0].off.off > 0)
- {
-***************
-*** 1209,1215 ****
-
- retval = 2; /* pattern found, line offset added */
- }
-! else
- {
- /* to the right, check for end of file */
- if (spats[0].off.off > 0)
---- 1210,1216 ----
-
- retval = 2; /* pattern found, line offset added */
- }
-! else if (pos.col < MAXCOL - 2) /* just in case */
- {
- /* to the right, check for end of file */
- if (spats[0].off.off > 0)
-***************
-*** 4404,4410 ****
- if (lp[3] == 'L')
- off_line = TRUE;
- if (lp[4] == 'E')
-! off_end = TRUE;
- lp += 5;
- off = getdigits(&lp);
- }
---- 4405,4411 ----
- if (lp[3] == 'L')
- off_line = TRUE;
- if (lp[4] == 'E')
-! off_end = SEARCH_END;
- lp += 5;
- off = getdigits(&lp);
- }
-*** ../vim-6.3.004/src/version.c Sun Jun 13 12:33:41 2004
---- src/version.c Wed Jun 16 10:51:48 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 5,
- /**/
-
---
-In a world without fences, who needs Gates and Windows?
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.006
-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.3.006
-Problem: ":breakadd file *foo" prepends the current directory to the file
- pattern. (Hari Krishna Dara)
-Solution: Keep the pattern as-is.
-Files: src/ex_cmds2.c
-
-
-*** ../vim-6.3.005/src/ex_cmds2.c Wed Jun 9 14:56:26 2004
---- src/ex_cmds2.c Sun Jun 13 12:52:13 2004
-***************
-*** 431,438 ****
- vim_free(q);
- if (p == NULL)
- return FAIL;
-! bp->dbg_name = fix_fname(p);
-! vim_free(p);
- #ifdef MACOS_CLASSIC
- if (bp->dbg_name != NULL)
- slash_n_colon_adjust(bp->dbg_name);
---- 431,437 ----
- vim_free(q);
- if (p == NULL)
- return FAIL;
-! bp->dbg_name = p;
- #ifdef MACOS_CLASSIC
- if (bp->dbg_name != NULL)
- slash_n_colon_adjust(bp->dbg_name);
-*** ../vim-6.3.005/src/version.c Wed Jun 16 10:56:31 2004
---- src/version.c Wed Jun 16 12:33:36 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 6,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-134. You consider bandwidth to be more important than carats.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.007
-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.3.007
-Problem: When there is a buffer with 'buftype' set to "nofile" and using a
- ":cd" command, the swap file is not deleted when exiting.
-Solution: Use the full path of the swap file also for "nofile" buffers.
-Files: src/fileio.c
-
-
-*** ../vim-6.3.006/src/fileio.c Wed Jun 9 14:56:28 2004
---- src/fileio.c Sun Jun 20 13:53:29 2004
-***************
-*** 5290,5297 ****
- }
- if (p == NULL || buf->b_fname == NULL)
- buf->b_fname = buf->b_ffname;
-- mf_fullname(buf->b_ml.ml_mfp);
- }
- }
- #ifdef FEAT_WINDOWS
- status_redraw_all();
---- 5290,5300 ----
- }
- if (p == NULL || buf->b_fname == NULL)
- buf->b_fname = buf->b_ffname;
- }
-+
-+ /* Always make the swap file name a full path, a "nofile" buffer may
-+ * also have a swap file. */
-+ mf_fullname(buf->b_ml.ml_mfp);
- }
- #ifdef FEAT_WINDOWS
- status_redraw_all();
-*** ../vim-6.3.006/src/version.c Wed Jun 16 12:34:33 2004
---- src/version.c Sun Jun 20 13:55:23 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 7,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-220. Your wife asks for sex and you tell her where to find you on IRC.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.008
-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.3.008
-Problem: Compiling fails under OS/2.
-Solution: Include "e_screenmode" also for OS/2. (David Sanders)
-Files: src/globals.h
-
-
-*** ../vim-6.3.007/src/globals.h Wed Jun 9 14:56:25 2004
---- src/globals.h Sun Jun 27 15:44:13 2004
-***************
-*** 1321,1327 ****
- #endif
- EXTERN char_u e_secure[] INIT(=N_("E523: Not allowed here"));
- #if defined(AMIGA) || defined(MACOS) || defined(MSWIN) || defined(RISCOS) \
-! || defined(UNIX) || defined(VMS)
- EXTERN char_u e_screenmode[] INIT(=N_("E359: Screen mode setting not supported"));
- #endif
- EXTERN char_u e_scroll[] INIT(=N_("E49: Invalid scroll size"));
---- 1321,1327 ----
- #endif
- EXTERN char_u e_secure[] INIT(=N_("E523: Not allowed here"));
- #if defined(AMIGA) || defined(MACOS) || defined(MSWIN) || defined(RISCOS) \
-! || defined(UNIX) || defined(VMS) || defined(OS2)
- EXTERN char_u e_screenmode[] INIT(=N_("E359: Screen mode setting not supported"));
- #endif
- EXTERN char_u e_scroll[] INIT(=N_("E49: Invalid scroll size"));
-*** ../vim-6.3.007/src/version.c Sun Jun 20 13:56:21 2004
---- src/version.c Sun Jun 27 17:23:45 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 8,
- /**/
-
---
-"A mouse can be just as dangerous as a bullet or a bomb."
- (US Representative Lamar Smith, R-Texas)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.009
-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.3.009 (after 6.3.006)
-Problem: ":breakadd file /path/foo.vim" does not match when a symbolic link
- is involved. (Servatius Brandt)
-Solution: Do expand the pattern when it does not start with "*".
-Files: runtime/doc/repeat.txt, src/ex_cmds2.c
-
-
-*** ../vim-6.3.008/runtime/doc/repeat.txt Wed Jun 9 14:56:29 2004
---- runtime/doc/repeat.txt Tue Jun 22 15:01:39 2004
-***************
-*** 1,4 ****
-! *repeat.txt* For Vim version 6.3. Last change: 2004 Apr 02
-
-
- VIM REFERENCE MANUAL by Bram Moolenaar
---- 1,4 ----
-! *repeat.txt* For Vim version 6.3. Last change: 2004 Jun 22
-
-
- VIM REFERENCE MANUAL by Bram Moolenaar
-***************
-*** 476,488 ****
- of characters. 'ignorecase' is not used, but "\c" can be used in the pattern
- to ignore case |/\c|. Don't include the () for the function name!
-
-! The match for sourced scripts is done against the full file name. Examples: >
-! breakadd file explorer
-! won't match, the path is missing. >
- breakadd file *explorer.vim
-! matches ".../plugin/explorer.vim" and ".../plugin/iexplorer.vim". >
- breakadd file */explorer.vim
-! matches ".../plugin/explorer.vim" only.
-
- The match for functions is done against the name as it's shown in the output
- of ":function". For local functions this means that something like "<SNR>99_"
---- 476,489 ----
- of characters. 'ignorecase' is not used, but "\c" can be used in the pattern
- to ignore case |/\c|. Don't include the () for the function name!
-
-! The match for sourced scripts is done against the full file name. If no path
-! is specified the current directory is used. Examples: >
-! breakadd file explorer.vim
-! matches "explorer.vim" in the current directory. >
- breakadd file *explorer.vim
-! matches ".../plugin/explorer.vim", ".../plugin/iexplorer.vim", etc. >
- breakadd file */explorer.vim
-! matches ".../plugin/explorer.vim" and "explorer.vim" in any other directory.
-
- The match for functions is done against the name as it's shown in the output
- of ":function". For local functions this means that something like "<SNR>99_"
-*** ../vim-6.3.008/src/ex_cmds2.c Wed Jun 16 12:34:33 2004
---- src/ex_cmds2.c Tue Jun 22 15:05:07 2004
-***************
-*** 431,437 ****
- vim_free(q);
- if (p == NULL)
- return FAIL;
-! bp->dbg_name = p;
- #ifdef MACOS_CLASSIC
- if (bp->dbg_name != NULL)
- slash_n_colon_adjust(bp->dbg_name);
---- 431,443 ----
- vim_free(q);
- if (p == NULL)
- return FAIL;
-! if (*p != '*')
-! {
-! bp->dbg_name = fix_fname(p);
-! vim_free(p);
-! }
-! else
-! bp->dbg_name = p;
- #ifdef MACOS_CLASSIC
- if (bp->dbg_name != NULL)
- slash_n_colon_adjust(bp->dbg_name);
-*** ../vim-6.3.008/src/version.c Sun Jun 27 17:25:17 2004
---- src/version.c Mon Jun 28 19:36:28 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 9,
- /**/
-
---
- [clop clop]
-MORTICIAN: Who's that then?
-CUSTOMER: I don't know.
-MORTICIAN: Must be a king.
-CUSTOMER: Why?
-MORTICIAN: He hasn't got shit all over him.
- The Quest for the Holy Grail (Monty Python)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.010
-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.3.010
-Problem: When writing to a named pipe there is an error for fsync()
- failing.
-Solution: Ignore the fsync() error for devices.
-Files: src/fileio.c
-
-
-*** ../vim-6.3.009/src/fileio.c Sun Jun 20 13:56:21 2004
---- src/fileio.c Tue Jun 29 20:02:53 2004
-***************
-*** 3965,3972 ****
- * original and the backup file to be lost when halting the system right
- * after writing the file. That's because only the meta-data is
- * journalled. Syncing the file slows down the system, but assures it has
-! * been written to disk and we don't lose it. */
-! if (fsync(fd) != 0)
- {
- errmsg = (char_u *)_("E667: Fsync failed");
- end = 0;
---- 3965,3974 ----
- * original and the backup file to be lost when halting the system right
- * after writing the file. That's because only the meta-data is
- * journalled. Syncing the file slows down the system, but assures it has
-! * been written to disk and we don't lose it.
-! * For a device do try the fsync() but don't complain if it does not work
-! * (could be a pipe). */
-! if (fsync(fd) != 0 && !device)
- {
- errmsg = (char_u *)_("E667: Fsync failed");
- end = 0;
-*** ../vim-6.3.009/src/version.c Mon Jun 28 19:38:42 2004
---- src/version.c Tue Jun 29 20:06:21 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 10,
- /**/
-
---
-A poem: read aloud:
-
-<> !*''# Waka waka bang splat tick tick hash,
-^"`$$- Caret quote back-tick dollar dollar dash,
-!*=@$_ Bang splat equal at dollar under-score,
-%*<> ~#4 Percent splat waka waka tilde number four,
-&[]../ Ampersand bracket bracket dot dot slash,
-|{,,SYSTEM HALTED Vertical-bar curly-bracket comma comma CRASH.
-
-Fred Bremmer and Steve Kroese (Calvin College & Seminary of Grand Rapids, MI.)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.011
-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.3.011
-Problem: Crash when the completion function of a user-command uses a
- "normal :cmd" command. (Hari Krishna Dara)
-Solution: Save the command line when invoking the completion function.
-Files: src/ex_getln.c
-
-
-*** ../vim-6.3.010/src/ex_getln.c Wed Jun 9 14:56:25 2004
---- src/ex_getln.c Fri Jul 2 21:55:55 2004
-***************
-*** 3974,3979 ****
---- 3974,3980 ----
- char_u num[50];
- garray_T ga;
- int save_current_SID = current_SID;
-+ struct cmdline_info save_ccline;
-
- if (xp->xp_arg == NULL || xp->xp_arg[0] == '\0')
- return FAIL;
-***************
-*** 3987,3995 ****
---- 3988,4004 ----
- args[1] = ccline.cmdbuff;
- args[2] = num;
-
-+ /* Save the cmdline, we don't know what the function may do. */
-+ save_ccline = ccline;
-+ ccline.cmdbuff = NULL;
-+ ccline.cmdprompt = NULL;
- current_SID = xp->xp_scriptID;
-+
- all = call_vim_function(xp->xp_arg, 3, args, FALSE);
-+
-+ ccline = save_ccline;
- current_SID = save_current_SID;
-+
- ccline.cmdbuff[ccline.cmdlen] = keep;
- if (all == NULL)
- return FAIL;
-*** ../vim-6.3.010/src/version.c Tue Jun 29 20:07:02 2004
---- src/version.c Fri Jul 2 21:59:54 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 11,
- /**/
-
---
-Save the plankton - eat a whale.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.012
-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.3.012
-Problem: Internal lalloc(0) error when using a complicated multi-line
- pattern in a substitute command. (Luc Hermitte)
-Solution: Avoid going past the end of a line.
-Files: src/ex_cmds.c
-
-
-*** ../vim-6.3.011/src/ex_cmds.c Thu Jun 10 21:08:20 2004
---- src/ex_cmds.c Tue Jul 6 14:47:37 2004
-***************
-*** 3727,3732 ****
---- 3727,3733 ----
- unsigned len, needed_len;
- long nmatch_tl = 0; /* nr of lines matched below lnum */
- int do_again; /* do it again after joining lines */
-+ int skip_match = FALSE;
-
- /*
- * The new text is build up step by step, to avoid too much
-***************
-*** 3811,3817 ****
- && regmatch.endpos[0].lnum == 0
- && matchcol == regmatch.endpos[0].col)
- {
-! ++matchcol; /* search for a match at next column */
- goto skip;
- }
-
---- 3812,3823 ----
- && regmatch.endpos[0].lnum == 0
- && matchcol == regmatch.endpos[0].col)
- {
-! if (sub_firstline[matchcol] == NUL)
-! /* We already were at the end of the line. Don't look
-! * for a match in this line again. */
-! skip_match = TRUE;
-! else
-! ++matchcol; /* search for a match at next column */
- goto skip;
- }
-
-***************
-*** 4103,4111 ****
- /* We already know that we did the last subst when we are at
- * the end of the line, except that a pattern like
- * "bar\|\nfoo" may match at the NUL. */
-! lastone = ((sub_firstline[matchcol] == NUL && nmatch <= 1
-! && !re_multiline(regmatch.regprog))
-! || got_int || got_quit || !(do_all || do_again));
- nmatch = -1;
-
- /*
---- 4109,4120 ----
- /* We already know that we did the last subst when we are at
- * the end of the line, except that a pattern like
- * "bar\|\nfoo" may match at the NUL. */
-! lastone = (skip_match
-! || got_int
-! || got_quit
-! || !(do_all || do_again)
-! || (sub_firstline[matchcol] == NUL && nmatch <= 1
-! && !re_multiline(regmatch.regprog)));
- nmatch = -1;
-
- /*
-*** ../vim-6.3.011/src/version.c Fri Jul 2 22:00:36 2004
---- src/version.c Tue Jul 6 14:56:13 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 12,
- /**/
-
---
-Kisses may last for as much as, but no more than, five minutes.
- [real standing law in Iowa, United States of America]
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.013
-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.3.013
-Problem: Crash when editing a command line and typing CTRL-R = to evaluate
- a function that uses "normal :cmd". (Hari Krishna Dara)
-Solution: Save and restore the command line when evaluating an expression
- for CTRL-R =.
-Files: src/ex_getln.c, src/ops.c, src/proto/ex_getln.pro,
- src/proto/ops.pro
-
-
-*** ../vim-6.3.012/src/ex_getln.c Fri Jul 2 22:00:36 2004
---- src/ex_getln.c Fri Jul 9 21:44:08 2004
-***************
-*** 80,85 ****
---- 80,86 ----
- static void alloc_cmdbuff __ARGS((int len));
- static int realloc_cmdbuff __ARGS((int len));
- static void draw_cmdline __ARGS((int start, int len));
-+ static int cmdline_paste __ARGS((int regname, int literally));
- #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK)
- static void redrawcmd_preedit __ARGS((void));
- #endif
-***************
-*** 2534,2539 ****
---- 2535,2636 ----
- if (redraw)
- msg_check();
- return retval;
-+ }
-+
-+ /*
-+ * paste a yank register into the command line.
-+ * used by CTRL-R command in command-line mode
-+ * insert_reg() can't be used here, because special characters from the
-+ * register contents will be interpreted as commands.
-+ *
-+ * return FAIL for failure, OK otherwise
-+ */
-+ static int
-+ cmdline_paste(regname, literally)
-+ int regname;
-+ int literally; /* Insert text literally instead of "as typed" */
-+ {
-+ long i;
-+ char_u *arg;
-+ int allocated;
-+ struct cmdline_info save_ccline;
-+
-+ /* check for valid regname; also accept special characters for CTRL-R in
-+ * the command line */
-+ if (regname != Ctrl_F && regname != Ctrl_P && regname != Ctrl_W
-+ && regname != Ctrl_A && !valid_yank_reg(regname, FALSE))
-+ return FAIL;
-+
-+ /* A register containing CTRL-R can cause an endless loop. Allow using
-+ * CTRL-C to break the loop. */
-+ line_breakcheck();
-+ if (got_int)
-+ return FAIL;
-+
-+ #ifdef FEAT_CLIPBOARD
-+ regname = may_get_selection(regname);
-+ #endif
-+
-+ /* Need to save and restore ccline, because obtaining the "=" register may
-+ * execute "normal :cmd" and overwrite it. */
-+ save_ccline = ccline;
-+ ccline.cmdbuff = NULL;
-+ ccline.cmdprompt = NULL;
-+ i = get_spec_reg(regname, &arg, &allocated, TRUE);
-+ ccline = save_ccline;
-+
-+ if (i)
-+ {
-+ /* Got the value of a special register in "arg". */
-+ if (arg == NULL)
-+ return FAIL;
-+ cmdline_paste_str(arg, literally);
-+ if (allocated)
-+ vim_free(arg);
-+ return OK;
-+ }
-+
-+ return cmdline_paste_reg(regname, literally);
-+ }
-+
-+ /*
-+ * Put a string on the command line.
-+ * When "literally" is TRUE, insert literally.
-+ * When "literally" is FALSE, insert as typed, but don't leave the command
-+ * line.
-+ */
-+ void
-+ cmdline_paste_str(s, literally)
-+ char_u *s;
-+ int literally;
-+ {
-+ int c, cv;
-+
-+ if (literally)
-+ put_on_cmdline(s, -1, TRUE);
-+ else
-+ while (*s != NUL)
-+ {
-+ cv = *s;
-+ if (cv == Ctrl_V && s[1])
-+ ++s;
-+ #ifdef FEAT_MBYTE
-+ if (has_mbyte)
-+ {
-+ c = mb_ptr2char(s);
-+ s += mb_char2len(c);
-+ }
-+ else
-+ #endif
-+ c = *s++;
-+ if (cv == Ctrl_V || c == ESC || c == Ctrl_C || c == CAR || c == NL
-+ #ifdef UNIX
-+ || c == intr_char
-+ #endif
-+ || (c == Ctrl_BSL && *s == Ctrl_N))
-+ stuffcharReadbuff(Ctrl_V);
-+ stuffcharReadbuff(c);
-+ }
- }
-
- #ifdef FEAT_WILDMENU
-*** ../vim-6.3.012/src/ops.c Wed Jun 9 14:56:26 2004
---- src/ops.c Fri Jul 9 22:13:54 2004
-***************
-*** 94,106 ****
- static void shift_block __ARGS((oparg_T *oap, int amount));
- static void block_insert __ARGS((oparg_T *oap, char_u *s, int b_insert, struct block_def*bdp));
- #endif
-- static void get_yank_register __ARGS((int regname, int writing));
- static int stuff_yank __ARGS((int, char_u *));
- static void put_reedit_in_typebuf __ARGS((void));
- static int put_in_typebuf __ARGS((char_u *s, int colon));
- static void stuffescaped __ARGS((char_u *arg, int literally));
-- static int get_spec_reg __ARGS((int regname, char_u **argp, int *allocated, int errmsg));
-- static void cmdline_paste_str __ARGS((char_u *s, int literally));
- #ifdef FEAT_MBYTE
- static void mb_adjust_opend __ARGS((oparg_T *oap));
- #endif
---- 94,103 ----
-***************
-*** 820,826 ****
- * If regname is 0 and writing, use register 0
- * If regname is 0 and reading, use previous register
- */
-! static void
- get_yank_register(regname, writing)
- int regname;
- int writing;
---- 817,823 ----
- * If regname is 0 and writing, use register 0
- * If regname is 0 and reading, use previous register
- */
-! void
- get_yank_register(regname, writing)
- int regname;
- int writing;
-***************
-*** 864,877 ****
- y_previous = y_current;
- }
-
-! #ifdef FEAT_CLIPBOARD
- /*
- * When "regname" is a clipboard register, obtain the selection. If it's not
- * available return zero, otherwise return "regname".
- */
-! static int may_get_selection __ARGS((int regname));
-!
-! static int
- may_get_selection(regname)
- int regname;
- {
---- 861,872 ----
- y_previous = y_current;
- }
-
-! #if defined(FEAT_CLIPBOARD) || defined(PROTO)
- /*
- * When "regname" is a clipboard register, obtain the selection. If it's not
- * available return zero, otherwise return "regname".
- */
-! int
- may_get_selection(regname)
- int regname;
- {
-***************
-*** 1347,1353 ****
- /*
- * If "regname" is a special register, return a pointer to its value.
- */
-! static int
- get_spec_reg(regname, argp, allocated, errmsg)
- int regname;
- char_u **argp;
---- 1342,1348 ----
- /*
- * If "regname" is a special register, return a pointer to its value.
- */
-! int
- get_spec_reg(regname, argp, allocated, errmsg)
- int regname;
- char_u **argp;
-***************
-*** 1426,1472 ****
- }
-
- /*
-! * paste a yank register into the command line.
-! * used by CTRL-R command in command-line mode
- * insert_reg() can't be used here, because special characters from the
- * register contents will be interpreted as commands.
- *
- * return FAIL for failure, OK otherwise
- */
- int
-! cmdline_paste(regname, literally)
- int regname;
- int literally; /* Insert text literally instead of "as typed" */
- {
- long i;
-- char_u *arg;
-- int allocated;
--
-- /* check for valid regname; also accept special characters for CTRL-R in
-- * the command line */
-- if (regname != Ctrl_F && regname != Ctrl_P && regname != Ctrl_W
-- && regname != Ctrl_A && !valid_yank_reg(regname, FALSE))
-- return FAIL;
--
-- /* A register containing CTRL-R can cause an endless loop. Allow using
-- * CTRL-C to break the loop. */
-- line_breakcheck();
-- if (got_int)
-- return FAIL;
--
-- #ifdef FEAT_CLIPBOARD
-- regname = may_get_selection(regname);
-- #endif
--
-- if (get_spec_reg(regname, &arg, &allocated, TRUE))
-- {
-- if (arg == NULL)
-- return FAIL;
-- cmdline_paste_str(arg, literally);
-- if (allocated)
-- vim_free(arg);
-- return OK;
-- }
-
- get_yank_register(regname, FALSE);
- if (y_current->y_array == NULL)
---- 1421,1440 ----
- }
-
- /*
-! * Paste a yank register into the command line.
-! * Only for non-special registers.
-! * Used by CTRL-R command in command-line mode
- * insert_reg() can't be used here, because special characters from the
- * register contents will be interpreted as commands.
- *
- * return FAIL for failure, OK otherwise
- */
- int
-! cmdline_paste_reg(regname, literally)
- int regname;
- int literally; /* Insert text literally instead of "as typed" */
- {
- long i;
-
- get_yank_register(regname, FALSE);
- if (y_current->y_array == NULL)
-***************
-*** 1487,1532 ****
- return FAIL;
- }
- return OK;
-- }
--
-- /*
-- * Put a string on the command line.
-- * When "literally" is TRUE, insert literally.
-- * When "literally" is FALSE, insert as typed, but don't leave the command
-- * line.
-- */
-- static void
-- cmdline_paste_str(s, literally)
-- char_u *s;
-- int literally;
-- {
-- int c, cv;
--
-- if (literally)
-- put_on_cmdline(s, -1, TRUE);
-- else
-- while (*s != NUL)
-- {
-- cv = *s;
-- if (cv == Ctrl_V && s[1])
-- ++s;
-- #ifdef FEAT_MBYTE
-- if (has_mbyte)
-- {
-- c = mb_ptr2char(s);
-- s += mb_char2len(c);
-- }
-- else
-- #endif
-- c = *s++;
-- if (cv == Ctrl_V || c == ESC || c == Ctrl_C || c == CAR || c == NL
-- #ifdef UNIX
-- || c == intr_char
-- #endif
-- || (c == Ctrl_BSL && *s == Ctrl_N))
-- stuffcharReadbuff(Ctrl_V);
-- stuffcharReadbuff(c);
-- }
- }
-
- #if defined(FEAT_CLIPBOARD) || defined(PROTO)
---- 1455,1460 ----
-*** ../vim-6.3.012/src/proto/ex_getln.pro Wed Jun 9 14:56:24 2004
---- src/proto/ex_getln.pro Fri Jul 9 21:46:20 2004
-***************
-*** 9,14 ****
---- 9,15 ----
- void putcmdline __ARGS((int c, int shift));
- void unputcmdline __ARGS((void));
- int put_on_cmdline __ARGS((char_u *str, int len, int redraw));
-+ void cmdline_paste_str __ARGS((char_u *s, int literally));
- void redrawcmdline __ARGS((void));
- void redrawcmd __ARGS((void));
- void compute_cmdrow __ARGS((void));
-*** ../vim-6.3.012/src/proto/ops.pro Wed Jun 9 14:56:24 2004
---- src/proto/ops.pro Fri Jul 9 21:46:16 2004
-***************
-*** 10,22 ****
- void set_expr_line __ARGS((char_u *new_line));
- char_u *get_expr_line __ARGS((void));
- int valid_yank_reg __ARGS((int regname, int writing));
- void *get_register __ARGS((int name, int copy));
- void put_register __ARGS((int name, void *reg));
- int yank_register_mline __ARGS((int regname));
- int do_record __ARGS((int c));
- int do_execreg __ARGS((int regname, int colon, int addcr));
- int insert_reg __ARGS((int regname, int literally));
-! int cmdline_paste __ARGS((int regname, int literally));
- void adjust_clip_reg __ARGS((int *rp));
- int op_delete __ARGS((oparg_T *oap));
- int op_replace __ARGS((oparg_T *oap, int c));
---- 10,25 ----
- void set_expr_line __ARGS((char_u *new_line));
- char_u *get_expr_line __ARGS((void));
- int valid_yank_reg __ARGS((int regname, int writing));
-+ void get_yank_register __ARGS((int regname, int writing));
-+ int may_get_selection __ARGS((int regname));
- void *get_register __ARGS((int name, int copy));
- void put_register __ARGS((int name, void *reg));
- int yank_register_mline __ARGS((int regname));
- int do_record __ARGS((int c));
- int do_execreg __ARGS((int regname, int colon, int addcr));
- int insert_reg __ARGS((int regname, int literally));
-! int get_spec_reg __ARGS((int regname, char_u **argp, int *allocated, int errmsg));
-! int cmdline_paste_reg __ARGS((int regname, int literally));
- void adjust_clip_reg __ARGS((int *rp));
- int op_delete __ARGS((oparg_T *oap));
- int op_replace __ARGS((oparg_T *oap, int c));
-*** ../vim-6.3.012/src/version.c Tue Jul 6 14:57:26 2004
---- src/version.c Fri Jul 9 22:19:57 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 13,
- /**/
-
---
-CART DRIVER: Bring out your dead!
- There are legs stick out of windows and doors. Two MEN are fighting in the
- mud - covered from head to foot in it. Another MAN is on his hands in
- knees shovelling mud into his mouth. We just catch sight of a MAN falling
- into a well.
- "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.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.3.014
-Problem: When using Chinese or Taiwanese the default for 'helplang' is
- wrong. (Simon Liang)
-Solution: Use the part of the locale name after "zh_".
-Files: src/option.c
-
-
-*** ../vim-6.3.013/src/option.c Wed Jun 9 14:56:26 2004
---- src/option.c Tue Jul 20 16:27:03 2004
-***************
-*** 3174,3180 ****
---- 3174,3188 ----
- if (p_hlg == NULL)
- p_hlg = empty_option;
- else
-+ {
-+ /* zh_CN becomes "cn", zh_TW becomes "tw". */
-+ if (STRNICMP(p_hlg, "zh_", 3) == 0 && STRLEN(p_hlg) >= 5)
-+ {
-+ p_hlg[0] = TOLOWER_ASC(p_hlg[3]);
-+ p_hlg[1] = TOLOWER_ASC(p_hlg[4]);
-+ }
- p_hlg[2] = NUL;
-+ }
- options[idx].flags |= P_ALLOCED;
- }
- }
-*** ../vim-6.3.013/src/version.c Fri Jul 9 22:21:01 2004
---- src/version.c Tue Jul 20 17:11:50 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 14,
- /**/
-
---
-What a wonderfully exciting cough! Do you mind if I join you?
- -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.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.3.015
-Problem: The string that winrestcmd() returns may end in garbage.
-Solution: NUL-terminate the string. (Walter Briscoe)
-Files: src/eval.c
-
-
-*** ../vim-6.3.014/src/eval.c Wed Jun 9 14:56:28 2004
---- src/eval.c Wed Jul 28 11:53:18 2004
-***************
-*** 7560,7565 ****
---- 7560,7566 ----
- # endif
- ++winnr;
- }
-+ ga_append(&ga, NUL);
-
- retvar->var_val.var_string = ga.ga_data;
- #else
-*** ../vim-6.3.014/src/version.c Tue Jul 20 17:12:01 2004
---- src/version.c Wed Jul 28 11:54:13 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 15,
- /**/
-
---
-From "know your smileys":
- :.-( Crying
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.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.3.016
-Problem: The default value for 'define' has "\s" before '#'.
-Solution: Add a star after "\s". (Herculano de Lima Einloft Neto)
-Files: src/option.c
-
-
-*** ../vim-6.3.015/src/option.c Tue Jul 20 17:12:01 2004
---- src/option.c Thu Aug 26 15:56:30 2004
-***************
-*** 696,702 ****
- {"define", "def", P_STRING|P_ALLOCED|P_VI_DEF,
- #ifdef FEAT_FIND_ID
- (char_u *)&p_def, OPT_BOTH(PV_DEF),
-! {(char_u *)"^\\s#\\s*define", (char_u *)0L}
- #else
- (char_u *)NULL, PV_NONE,
- {(char_u *)NULL, (char_u *)0L}
---- 696,702 ----
- {"define", "def", P_STRING|P_ALLOCED|P_VI_DEF,
- #ifdef FEAT_FIND_ID
- (char_u *)&p_def, OPT_BOTH(PV_DEF),
-! {(char_u *)"^\\s*#\\s*define", (char_u *)0L}
- #else
- (char_u *)NULL, PV_NONE,
- {(char_u *)NULL, (char_u *)0L}
-*** ../vim-6.3.015/src/version.c Wed Jul 28 11:55:03 2004
---- src/version.c Thu Aug 26 15:58:03 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 16,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-140. You'd rather catch a score on the web than watch the game as
- it is being played on tv.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.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.3.017
-Problem: "8zz" may leave the cursor beyond the end of the line. (Niko
- Maatjes)
-Solution: Correct the cursor column after moving to another line.
-Files: src/normal.c
-
-
-*** ../vim-6.3.016/src/normal.c Wed Jun 9 14:56:27 2004
---- src/normal.c Fri Aug 27 21:09:31 2004
-***************
-*** 4343,4348 ****
---- 4343,4349 ----
- curwin->w_cursor.lnum = curbuf->b_ml.ml_line_count;
- else
- curwin->w_cursor.lnum = cap->count0;
-+ check_cursor_col();
- }
-
- switch (nchar)
-*** ../vim-6.3.016/src/version.c Thu Aug 26 16:01:15 2004
---- src/version.c Fri Aug 27 21:13:21 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 17,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-183. You move your coffeemaker next to your computer.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.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.3.018
-Problem: ":0argadd zero" added the argument after the first one, instead of
- before it. (Adri Verhoef)
-Solution: Accept a zero range for ":argadd".
-Files: src/ex_cmds.h
-
-
-*** ../vim-6.3.017/src/ex_cmds.h Wed Jun 9 14:56:25 2004
---- src/ex_cmds.h Mon Aug 30 14:58:51 2004
-***************
-*** 109,115 ****
- EX(CMD_args, "args", ex_args,
- BANG|FILES|EDITCMD|ARGOPT|TRLBAR),
- EX(CMD_argadd, "argadd", ex_argadd,
-! BANG|NEEDARG|RANGE|NOTADR|COUNT|FILES|TRLBAR),
- EX(CMD_argdelete, "argdelete", ex_argdelete,
- BANG|RANGE|NOTADR|COUNT|FILES|TRLBAR),
- EX(CMD_argdo, "argdo", ex_listdo,
---- 109,115 ----
- EX(CMD_args, "args", ex_args,
- BANG|FILES|EDITCMD|ARGOPT|TRLBAR),
- EX(CMD_argadd, "argadd", ex_argadd,
-! BANG|NEEDARG|RANGE|NOTADR|ZEROR|COUNT|FILES|TRLBAR),
- EX(CMD_argdelete, "argdelete", ex_argdelete,
- BANG|RANGE|NOTADR|COUNT|FILES|TRLBAR),
- EX(CMD_argdo, "argdo", ex_listdo,
-*** ../vim-6.3.017/src/version.c Fri Aug 27 21:14:50 2004
---- src/version.c Mon Aug 30 13:47:03 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 18,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-234. You started college as a chemistry major, and walk out four years
- later as an Internet provider.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.019
-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.3.019
-Problem: Crash in startup for debug version. (David Rennals)
-Solution: Move the call to nbdebug_wait() to after allocating NameBuff.
-Files: src/main.c
-
-
-*** ../vim-6.3.018/src/main.c Wed Jun 9 14:56:25 2004
---- src/main.c Mon Aug 30 13:45:45 2004
-***************
-*** 150,160 ****
- int literal = FALSE; /* don't expand file names */
- #endif
-
-- # ifdef NBDEBUG
-- nbdebug_log_init("SPRO_GVIM_DEBUG", "SPRO_GVIM_DLEVEL");
-- nbdebug_wait(WT_ENV | WT_WAIT | WT_STOP, "SPRO_GVIM_WAIT", 20);
-- # endif
--
- /*
- * Do any system-specific initialisations. These can NOT use IObuff or
- * NameBuff. Thus emsg2() cannot be called!
---- 150,155 ----
-***************
-*** 208,213 ****
---- 203,215 ----
- mch_exit(0);
-
- TIME_MSG("Allocated generic buffers");
-+
-+ #ifdef NBDEBUG
-+ /* Wait a moment for debugging NetBeans. Must be after allocating
-+ * NameBuff. */
-+ nbdebug_log_init("SPRO_GVIM_DEBUG", "SPRO_GVIM_DLEVEL");
-+ nbdebug_wait(WT_ENV | WT_WAIT | WT_STOP, "SPRO_GVIM_WAIT", 20);
-+ #endif
-
- #if defined(HAVE_LOCALE_H) || defined(X_LOCALE)
- /*
-*** ../vim-6.3.018/src/version.c Mon Aug 30 15:02:02 2004
---- src/version.c Mon Aug 30 19:45:31 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 19,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-241. You try to look for Net Search even when you're in File Manager.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.020
-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.3.020
-Problem: When 'encoding' is "utf-8" and 'delcombine' is set, "dw" does not
- delete a word but only a combining character of the first
- character, if there is one. (Raphael Finkel)
-Solution: Correctly check that one character is being deleted.
-Files: src/misc1.c
-
-
-*** ../vim-6.3.019/src/misc1.c Wed Jun 9 14:56:25 2004
---- src/misc1.c Tue Aug 31 20:02:22 2004
-***************
-*** 2081,2087 ****
- #ifdef FEAT_MBYTE
- /* If 'delcombine' is set and deleting (less than) one character, only
- * delete the last combining character. */
-! if (p_deco && enc_utf8 && (*mb_ptr2len_check)(oldp + col) <= count)
- {
- int c1, c2;
- int n;
---- 2081,2087 ----
- #ifdef FEAT_MBYTE
- /* If 'delcombine' is set and deleting (less than) one character, only
- * delete the last combining character. */
-! if (p_deco && enc_utf8 && utfc_ptr2len_check(oldp + col) >= count)
- {
- int c1, c2;
- int n;
-*** ../vim-6.3.019/src/version.c Mon Aug 30 19:46:07 2004
---- src/version.c Tue Aug 31 20:03:57 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 20,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-257. Your "hundred-and-one" lists include well over 101 items, since you
- automatically interpret all numbers in hexadecimal notation.
- (hex 101 = decimal 257)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.021
-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.3.021
-Problem: When the last character of a file name is a multi-byte character
- and the last byte is a path separator, the file cannot be edited.
-Solution: Check for the last byte to be part of a multi-byte character.
- (Taro Muraoka)
-Files: src/fileio.c
-
-
-*** ../vim-6.3.020/src/fileio.c Tue Jun 29 20:07:02 2004
---- src/fileio.c Sat Sep 4 15:55:15 2004
-***************
-*** 370,384 ****
- * file may destroy it! Reported on MS-DOS and Win 95.
- * If the name is too long we might crash further on, quit here.
- */
-! if (fname != NULL
-! && *fname != NUL
-! && (vim_ispathsep(*(fname + STRLEN(fname) - 1))
-! || STRLEN(fname) >= MAXPATHL))
- {
-! filemess(curbuf, fname, (char_u *)_("Illegal file name"), 0);
-! msg_end();
-! msg_scroll = msg_save;
-! return FAIL;
- }
-
- #ifdef UNIX
---- 370,390 ----
- * file may destroy it! Reported on MS-DOS and Win 95.
- * If the name is too long we might crash further on, quit here.
- */
-! if (fname != NULL && *fname != NUL)
- {
-! p = fname + STRLEN(fname) - 1;
-! if ((vim_ispathsep(*p)
-! #ifdef FEAT_MBYTE
-! /* Do not use a multi-byte char as path separator. */
-! && (!has_mbyte || (*mb_head_off)(fname, p) == 0)
-! #endif
-! ) || STRLEN(fname) >= MAXPATHL)
-! {
-! filemess(curbuf, fname, (char_u *)_("Illegal file name"), 0);
-! msg_end();
-! msg_scroll = msg_save;
-! return FAIL;
-! }
- }
-
- #ifdef UNIX
-*** ../vim-6.3.020/src/version.c Tue Aug 31 20:06:01 2004
---- src/version.c Sat Sep 4 16:04:00 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 21,
- /**/
-
---
- An extraordinary TALL KNIGHT in all black (possibly John with Mike on his
- shoulders) walks out from the dark trees. He is extremely fierce and
- gruesome countenance. He walks towards KING ARTHUR and PATSY, who are
- wazzing like mad. (Salopian slang, meaning very scared. almost to the
- point of wetting oneself, e.g. before an important football match or
- prior to a postering. Salopian slang meaning a beating by the school
- praeposters. Sorry about the Salopian slant to this stage direction - Ed.)
- "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.022 (extra)
-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.3.022 (extra)
-Problem: Win32: When the last character of a file name is a multi-byte
- character and the last byte is a path separator, the file cannot
- be written. A trail byte that is a space makes that a file cannot
- be opened from the command line.
-Solution: Recognize double-byte characters when parsing the command line.
- In mch_stat() check for the last byte to be part of a multi-byte
- character. (Taro Muraoka)
-Files: src/gui_w48.c, src/os_mswin.c
-
-
-*** ../vim-6.3.021/src/gui_w48.c Wed Jun 9 14:56:26 2004
---- src/gui_w48.c Sat Sep 4 16:18:32 2004
-***************
-*** 3376,3381 ****
---- 3376,3391 ----
- {
- if (pnew != NULL)
- *pnew++ = *p;
-+ #ifdef FEAT_MBYTE
-+ /* Can't use mb_* functions, because 'encoding' is not
-+ * initialized yet here. */
-+ if (IsDBCSLeadByte(*p))
-+ {
-+ ++p;
-+ if (pnew != NULL)
-+ *pnew++ = *p;
-+ }
-+ #endif
- ++p;
- }
- }
-*** ../vim-6.3.021/src/os_mswin.c Wed Jun 9 14:56:26 2004
---- src/os_mswin.c Sat Sep 4 16:10:16 2004
-***************
-*** 448,453 ****
---- 448,457 ----
- p = buf + strlen(buf);
- if (p > buf)
- --p;
-+ #ifdef FEAT_MBYTE
-+ if (p > buf && has_mbyte)
-+ p -= (*mb_head_off)(buf, p);
-+ #endif
- if (p > buf && (*p == '\\' || *p == '/') && p[-1] != ':')
- *p = NUL;
- #ifdef FEAT_MBYTE
-*** ../vim-6.3.021/src/version.c Sat Sep 4 16:05:51 2004
---- src/version.c Sat Sep 4 16:19:36 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 22,
- /**/
-
---
-Back up my hard drive? I can't find the reverse switch!
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.023
-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.3.023
-Problem: When the "to" part of a mapping starts with its "from" part,
- abbreviations for the same characters is not possible. For
- example, when <Space> is mapped to something that starts with a
- space, typing <Space> does not expand abbreviations.
-Solution: Only disable expanding abbreviations when a mapping is not
- remapped, don't disable it when the RHS of a mapping starts with
- the LHS.
-Files: src/getchar.c, src/vim.h
-
-
-*** ../vim-6.3.022/src/getchar.c Wed Jun 9 14:56:25 2004
---- src/getchar.c Sat Sep 4 18:16:26 2004
-***************
-*** 100,105 ****
---- 100,106 ----
- #define RM_YES 0 /* tb_noremap: remap */
- #define RM_NONE 1 /* tb_noremap: don't remap */
- #define RM_SCRIPT 2 /* tb_noremap: remap local script mappings */
-+ #define RM_ABBR 4 /* tb_noremap: don't remap, do abbrev. */
-
- /* typebuf.tb_buf has three parts: room in front (for result of mappings), the
- * middle for typeahead and room for new characters (which needs to be 3 *
-***************
-*** 896,901 ****
---- 897,904 ----
- *
- * If noremap is REMAP_YES, new string can be mapped again.
- * If noremap is REMAP_NONE, new string cannot be mapped again.
-+ * If noremap is REMAP_SKIP, fist char of new string cannot be mapped again,
-+ * but abbreviations are allowed.
- * If noremap is REMAP_SCRIPT, new string cannot be mapped again, except for
- * script-local mappings.
- * If noremap is > 0, that many characters of the new string cannot be mapped.
-***************
-*** 993,998 ****
---- 996,1003 ----
- /* If noremap == REMAP_SCRIPT: do remap script-local mappings. */
- if (noremap == REMAP_SCRIPT)
- val = RM_SCRIPT;
-+ else if (noremap == REMAP_SKIP)
-+ val = RM_ABBR;
- else
- val = RM_NONE;
-
-***************
-*** 1004,1010 ****
- * If noremap > 0: "noremap" characters are not remappable, the rest
- * mappable
- */
-! if (noremap < 0)
- nrm = addlen;
- else
- nrm = noremap;
---- 1009,1017 ----
- * If noremap > 0: "noremap" characters are not remappable, the rest
- * mappable
- */
-! if (noremap == REMAP_SKIP)
-! nrm = 1;
-! else if (noremap < 0)
- nrm = addlen;
- else
- nrm = noremap;
-***************
-*** 1856,1863 ****
- && (no_zero_mapping == 0 || c1 != '0')
- && (typebuf.tb_maplen == 0
- || (p_remap
-! && typebuf.tb_noremap[typebuf.tb_off]
-! != RM_NONE))
- && !(p_paste && (State & (INSERT + CMDLINE)))
- && !(State == HITRETURN && (c1 == CAR || c1 == ' '))
- && State != ASKMORE
---- 1863,1870 ----
- && (no_zero_mapping == 0 || c1 != '0')
- && (typebuf.tb_maplen == 0
- || (p_remap
-! && (typebuf.tb_noremap[typebuf.tb_off]
-! & (RM_NONE|RM_ABBR)) == 0))
- && !(p_paste && (State & (INSERT + CMDLINE)))
- && !(State == HITRETURN && (c1 == CAR || c1 == ' '))
- && State != ASKMORE
-***************
-*** 1973,1979 ****
- * remapped, skip the entry.
- */
- for (n = mlen; --n >= 0; )
-! if (*s++ == RM_NONE)
- break;
- if (n >= 0)
- continue;
---- 1980,1986 ----
- * remapped, skip the entry.
- */
- for (n = mlen; --n >= 0; )
-! if (*s++ & (RM_NONE|RM_ABBR))
- break;
- if (n >= 0)
- continue;
-***************
-*** 2132,2138 ****
- + typebuf.tb_off, 1);
- }
- KeyNoremap = (typebuf.tb_noremap[
-! typebuf.tb_off] != REMAP_YES);
- del_typebuf(1, 0);
- }
- break; /* got character, break for loop */
---- 2139,2146 ----
- + typebuf.tb_off, 1);
- }
- KeyNoremap = (typebuf.tb_noremap[
-! typebuf.tb_off]
-! & (RM_NONE|RM_SCRIPT));
- del_typebuf(1, 0);
- }
- break; /* got character, break for loop */
-***************
-*** 2233,2239 ****
- /*
- * Insert the 'to' part in the typebuf.tb_buf.
- * If 'from' field is the same as the start of the
-! * 'to' field, don't remap the first character.
- * If m_noremap is set, don't remap the whole 'to'
- * part.
- */
---- 2241,2248 ----
- /*
- * Insert the 'to' part in the typebuf.tb_buf.
- * If 'from' field is the same as the start of the
-! * 'to' field, don't remap the first character (but do
-! * allow abbreviations).
- * If m_noremap is set, don't remap the whole 'to'
- * part.
- */
-***************
-*** 2241,2248 ****
- mp->m_noremap != REMAP_YES
- ? mp->m_noremap
- : STRNCMP(mp->m_str, mp->m_keys,
-! (size_t)keylen)
-! ? REMAP_YES : 1,
- 0, TRUE, cmd_silent || mp->m_silent) == FAIL)
- {
- c = -1;
---- 2250,2257 ----
- mp->m_noremap != REMAP_YES
- ? mp->m_noremap
- : STRNCMP(mp->m_str, mp->m_keys,
-! (size_t)keylen) != 0
-! ? REMAP_YES : REMAP_SKIP,
- 0, TRUE, cmd_silent || mp->m_silent) == FAIL)
- {
- c = -1;
-*** ../vim-6.3.022/src/vim.h Wed Jun 9 14:56:26 2004
---- src/vim.h Sat Sep 4 18:17:00 2004
-***************
-*** 726,731 ****
---- 726,732 ----
- #define REMAP_YES 0 /* allow remapping */
- #define REMAP_NONE -1 /* no remapping */
- #define REMAP_SCRIPT -2 /* remap script-local mappings only */
-+ #define REMAP_SKIP -3 /* no remapping for first char */
-
- /* Values for mch_call_shell() second argument */
- #define SHELL_FILTER 1 /* filtering text */
-*** ../vim-6.3.022/src/version.c Sat Sep 4 16:28:02 2004
---- src/version.c Sat Sep 4 18:20:40 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 23,
- /**/
-
---
-TALL KNIGHT: We shall say Ni! again to you if you do not appease us.
-ARTHUR: All right! What do you want?
-TALL KNIGHT: We want ... a shrubbery!
- "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.024
-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.3.024
-Problem: In a few places a string in allocated memory is not terminated
- with a NUL.
-Solution: Add ga_append(NUL) in script_get(), gui_do_findrepl() and
- serverGetVimNames().
-Files: src/ex_getln.c, src/gui.c, src/if_xcmdsrv.c
-
-
-*** ../vim-6.3.023/src/ex_getln.c Fri Jul 9 22:21:01 2004
---- src/ex_getln.c Sun Sep 5 20:29:52 2004
-***************
-*** 5472,5477 ****
---- 5472,5478 ----
- ga_append(&ga, '\n');
- vim_free(theline);
- }
-+ ga_append(&ga, NUL);
-
- return (char_u *)ga.ga_data;
- }
-*** ../vim-6.3.023/src/gui.c Wed Jun 9 14:56:25 2004
---- src/gui.c Sun Sep 5 20:33:02 2004
-***************
-*** 4583,4594 ****
---- 4583,4596 ----
- ga_concat(&ga, (char_u *)"/");
- concat_esc(&ga, repl_text, '/'); /* escape slashes */
- ga_concat(&ga, (char_u *)"/g");
-+ ga_append(&ga, NUL);
- do_cmdline_cmd(ga.ga_data);
- }
- else
- {
- /* Search for the next match. */
- i = msg_scroll;
-+ ga_append(&ga, NUL);
- do_search(NULL, down ? '/' : '?', ga.ga_data, 1L,
- SEARCH_MSG + SEARCH_MARK);
- msg_scroll = i; /* don't let an error message set msg_scroll */
-*** ../vim-6.3.023/src/if_xcmdsrv.c Wed Jun 9 14:56:26 2004
---- src/if_xcmdsrv.c Sun Sep 5 20:33:48 2004
-***************
-*** 683,688 ****
---- 683,689 ----
- }
- if (regProp != empty_prop)
- XFree(regProp);
-+ ga_append(&ga, NUL);
- return ga.ga_data;
- }
-
-*** ../vim-6.3.023/src/version.c Sat Sep 4 19:43:59 2004
---- src/version.c Sun Sep 5 20:47:49 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 24,
- /**/
-
---
-LAUNCELOT: At last! A call! A cry of distress ...
- (he draws his sword, and turns to CONCORDE)
- Concorde! Brave, Concorde ... you shall not have died in vain!
-CONCORDE: I'm not quite dead, sir ...
- "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.025 (extra)
-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.3.025 (extra)
-Problem: Missing NUL for list of server names.
-Solution: Add ga_append(NUL) in serverGetVimNames().
-Files: src/os_mswin.c
-
-
-*** ../vim-6.3.024/src/os_mswin.c Sat Sep 4 16:28:02 2004
---- src/os_mswin.c Sun Sep 5 20:35:30 2004
-***************
-*** 2672,2677 ****
---- 2672,2678 ----
- ga_init2(&ga, 1, 100);
-
- EnumWindows(enumWindowsGetNames, (LPARAM)(&ga));
-+ ga_append(&ga, NUL);
-
- return ga.ga_data;
- }
-*** ../vim-6.3.024/src/version.c Sun Sep 5 20:48:38 2004
---- src/version.c Sun Sep 5 20:51:54 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 25,
- /**/
-
---
-Apologies for taking up the bandwidth with the apology. Anything else I
-can apologise for ...... er no can't think of anything, sorry about that.
- Andy Hunt (Member of British Olympic Apology Squad)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.026
-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.3.026
-Problem: When ~/.vim/after/syntax/syncolor.vim contains a command that
- reloads the colors an enless loop and/or a crash may occur.
-Solution: Only free the old value of an option when it was originally
- allocated. Limit recursiveness of init_highlight() to 5 levels.
-Files: src/option.c, src/syntax.c
-
-
-*** ../vim-6.3.025/src/option.c Thu Aug 26 16:01:15 2004
---- src/option.c Mon Sep 13 15:42:46 2004
-***************
-*** 4597,4602 ****
---- 4597,4603 ----
- char_u *s, *p;
- int did_chartab = FALSE;
- char_u **gvarp;
-+ int free_oldval = (options[opt_idx].flags & P_ALLOCED);
-
- /* Get the global option to compare with, otherwise we would have to check
- * two values for all local options. */
-***************
-*** 5729,5736 ****
- #endif
- /*
- * Free string options that are in allocated memory.
- */
-! if (options[opt_idx].flags & P_ALLOCED)
- free_string_option(oldval);
- if (new_value_alloced)
- options[opt_idx].flags |= P_ALLOCED;
---- 5730,5739 ----
- #endif
- /*
- * Free string options that are in allocated memory.
-+ * Use "free_oldval", because recursiveness may change the flags under
-+ * our fingers (esp. init_highlight()).
- */
-! if (free_oldval)
- free_string_option(oldval);
- if (new_value_alloced)
- options[opt_idx].flags |= P_ALLOCED;
-*** ../vim-6.3.025/src/syntax.c Wed Jun 9 14:56:25 2004
---- src/syntax.c Mon Sep 13 15:44:04 2004
-***************
-*** 6016,6022 ****
- * If syntax highlighting is enabled load the highlighting for it.
- */
- if (get_var_value((char_u *)"g:syntax_on") != NULL)
-! (void)cmd_runtime((char_u *)"syntax/syncolor.vim", TRUE);
- #endif
- }
-
---- 6016,6033 ----
- * If syntax highlighting is enabled load the highlighting for it.
- */
- if (get_var_value((char_u *)"g:syntax_on") != NULL)
-! {
-! static int recursive = 0;
-!
-! if (recursive >= 5)
-! EMSG(_("E679: recursive loop loading syncolor.vim"));
-! else
-! {
-! ++recursive;
-! (void)cmd_runtime((char_u *)"syntax/syncolor.vim", TRUE);
-! --recursive;
-! }
-! }
- #endif
- }
-
-*** ../vim-6.3.025/src/version.c Sun Sep 5 20:53:04 2004
---- src/version.c Mon Sep 13 16:33:19 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 26,
- /**/
-
---
-A special law prohibits unmarried women from parachuting on Sunday or she
-shall risk arrest, fine, and/or jailing.
- [real standing law in Florida, United States of America]
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.027
-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.3.027
-Problem: VMS: Writing a file may insert extra CR characters. Not all
- terminals are recognized correctly. Vt320 doesn't support colors.
- Environment variables are not expanded correctly.
-Solution: Use another method to write files. Add vt320 termcap codes for
- colors. (Zoltan Arpadffy)
-Files: src/fileio.c, src/misc1.c, src/os_unix.c, src/structs.h,
- src/term.c
-
-
-*** ../vim-6.3.026/src/fileio.c Sat Sep 4 16:05:51 2004
---- src/fileio.c Sat Sep 4 15:55:15 2004
-***************
-*** 479,484 ****
---- 479,486 ----
- #endif
- #ifdef VMS
- curbuf->b_fab_rfm = st.st_fab_rfm;
-+ curbuf->b_fab_rat = st.st_fab_rat;
-+ curbuf->b_fab_mrs = st.st_fab_mrs;
- #endif
- }
- else
-***************
-*** 2543,2548 ****
---- 2545,2555 ----
- }
- #endif /* UNIX */
-
-+ #if defined(VMS) && !defined(MIN)
-+ /* Older DECC compiler for VAX doesn't define MIN() */
-+ # define MIN(a, b) ((a) < (b) ? (a) : (b))
-+ #endif
-+
- /*
- * buf_write() - write to file 'fname' lines 'start' through 'end'
- *
-***************
-*** 3936,3955 ****
- * On VMS there is a problem: newlines get added when writing blocks
- * at a time. Fix it by writing a line at a time.
- * This is much slower!
-! * Explanation: Vim can not handle, so far, variable record format.
-! * With $analize/rms filename you can get the rms file structure, and
-! * if the Record format filed is variable, CR will be added after
-! * every written buffer. In other cases it works without this fix.
-! * From other side read is about 5 times slower for "variable record
-! * format" files.
- */
-! if (buf->b_fab_rfm == FAB$C_VAR)
- {
-! write_info.bw_len = len;
-! if (buf_write_bytes(&write_info) == FAIL)
- {
-! end = 0; /* write error: break loop */
-! break;
- }
- write_info.bw_len = bufsize;
- nchars += len;
---- 3943,3971 ----
- * On VMS there is a problem: newlines get added when writing blocks
- * at a time. Fix it by writing a line at a time.
- * This is much slower!
-! * Explanation: VAX/DECC RTL insists that records in some RMS
-! * structures end with a newline (carriage return) character, and if
-! * they don't it adds one.
-! * With other RMS structures it works perfect without this fix.
- */
-! if ((buf->b_fab_rat & (FAB$M_FTN | FAB$M_CR)) != 0)
- {
-! int b2write;
-!
-! buf->b_fab_mrs = (buf->b_fab_mrs == 0
-! ? MIN(4096, bufsize)
-! : MIN(buf->b_fab_mrs, bufsize));
-!
-! b2write = len;
-! while (b2write > 0)
- {
-! write_info.bw_len = MIN(b2write, buf->b_fab_mrs);
-! if (buf_write_bytes(&write_info) == FAIL)
-! {
-! end = 0;
-! break;
-! }
-! b2write -= MIN(b2write, buf->b_fab_mrs);
- }
- write_info.bw_len = bufsize;
- nchars += len;
-*** ../vim-6.3.026/src/misc1.c Tue Aug 31 20:06:01 2004
---- src/misc1.c Tue Aug 31 20:02:22 2004
-***************
-*** 3233,3239 ****
- while (*src && dstlen > 0)
- {
- copy_char = TRUE;
-! if (*src == '$'
- #if defined(MSDOS) || defined(MSWIN) || defined(OS2)
- || *src == '%'
- #endif
---- 3233,3243 ----
- while (*src && dstlen > 0)
- {
- copy_char = TRUE;
-! if ((*src == '$'
-! #ifdef VMS
-! && at_start
-! #endif
-! )
- #if defined(MSDOS) || defined(MSWIN) || defined(OS2)
- || *src == '%'
- #endif
-*** ../vim-6.3.026/src/os_unix.c Wed Jun 9 14:56:26 2004
---- src/os_unix.c Mon Aug 30 12:07:11 2004
-***************
-*** 1921,1929 ****
- {
- if (name == NULL)
- return FALSE; /* actually all ANSI comp. terminals should be here */
-! return (STRNICMP(name, "vt3", 3) == 0 /* it will cover all from VT100-VT300 */
-! || STRNICMP(name, "vt2", 3) == 0 /* TODO: from VT340 can hanle colors */
-! || STRNICMP(name, "vt1", 3) == 0
- || STRCMP(name, "builtin_vt320") == 0);
- }
-
---- 1921,1929 ----
- {
- if (name == NULL)
- return FALSE; /* actually all ANSI comp. terminals should be here */
-! /* catch VT100 - VT5xx */
-! return ((STRNICMP(name, "vt", 2) == 0
-! && vim_strchr((char_u *)"12345", name[2]) != NULL)
- || STRCMP(name, "builtin_vt320") == 0);
- }
-
-*** ../vim-6.3.026/src/structs.h Wed Jun 9 14:56:26 2004
---- src/structs.h Mon Aug 30 12:09:57 2004
-***************
-*** 918,924 ****
- FSSpec b_FSSpec; /* MacOS File Identification */
- #endif
- #ifdef VMS
-! char b_fab_rfm; /* Record format */
- #endif
- #ifdef FEAT_SNIFF
- int b_sniff; /* file was loaded through Sniff */
---- 918,926 ----
- FSSpec b_FSSpec; /* MacOS File Identification */
- #endif
- #ifdef VMS
-! char b_fab_rfm; /* Record format */
-! char b_fab_rat; /* Record attribute */
-! unsigned int b_fab_mrs; /* Max record size */
- #endif
- #ifdef FEAT_SNIFF
- int b_sniff; /* file was loaded through Sniff */
-*** ../vim-6.3.026/src/term.c Wed Jun 9 14:56:26 2004
---- src/term.c Mon Aug 30 12:02:37 2004
-***************
-*** 808,815 ****
---- 808,827 ----
- {(int)KS_CDL, IF_EB("\033[%dM", ESC_STR "[%dM")},
- # endif
- {(int)KS_CL, IF_EB("\033[H\033[2J", ESC_STR "[H" ESC_STR_nc "[2J")},
-+ {(int)KS_CD, IF_EB("\033[J", ESC_STR "[J")},
-+ {(int)KS_CCO, "8"}, /* allow 8 colors */
- {(int)KS_ME, IF_EB("\033[0m", ESC_STR "[0m")},
- {(int)KS_MR, IF_EB("\033[7m", ESC_STR "[7m")},
-+ {(int)KS_MD, IF_EB("\033[1m", ESC_STR "[1m")}, /* bold mode */
-+ {(int)KS_SE, IF_EB("\033[22m", ESC_STR "[22m")},/* normal mode */
-+ {(int)KS_UE, IF_EB("\033[24m", ESC_STR "[24m")},/* exit underscore mode */
-+ {(int)KS_US, IF_EB("\033[4m", ESC_STR "[4m")}, /* underscore mode */
-+ {(int)KS_CZH, IF_EB("\033[34;43m", ESC_STR "[34;43m" )}, /* italic mode: blue text on yellow */
-+ {(int)KS_CZR, IF_EB("\033[0m", ESC_STR "[0m")}, /* italic mode end */
-+ {(int)KS_CAB, IF_EB("\033[4%dm", ESC_STR "[4%dm" )}, /* set background color (ANSI) */
-+ {(int)KS_CAF, IF_EB("\033[3%dm", ESC_STR "[3%dm" )}, /* set foreground color (ANSI) */
-+ {(int)KS_CSB, IF_EB("\033[102;%dm", ESC_STR "[102;%dm" )}, /* set screen background color */
-+ {(int)KS_CSF, IF_EB("\033[101;%dm", ESC_STR "[101;%dm" )}, /* set screen foreground color */
- {(int)KS_MS, "y"},
- {(int)KS_UT, "y"},
- {(int)KS_LE, "\b"},
-*** ../vim-6.3.026/src/version.c Mon Sep 13 16:36:12 2004
---- src/version.c Sat Sep 18 20:25:07 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 27,
- /**/
-
---
-Scientists decoded the first message from an alien civilization:
- SIMPLY SEND 6 TIMES 10 TO THE 50 ATOMS OF HYDROGEN TO THE STAR
-SYSTEM AT THE TOP OF THE LIST, CROSS OFF THAT STAR SYSTEM, THEN PUT
-YOUR STAR SYSTEM AT THE BOTTOM OF THE LIST AND SEND IT TO 100 OTHER
-STAR SYSTEMS. WITHIN ONE TENTH GALACTIC ROTATION YOU WILL RECEIVE
-ENOUGH HYDROGREN TO POWER YOUR CIVILIZATION UNTIL ENTROPY REACHES ITS
-MAXIMUM! IT REALLY WORKS!
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.028
-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.3.028
-Problem: When appending to a file the BOM marker may be written. (Alex
- Jakushev)
-Solution: Do not write the BOM marker when appending.
-Files: src/fileio.c
-
-
-*** ../vim-6.3.027/src/fileio.c Sat Sep 18 20:28:07 2004
---- src/fileio.c Sat Sep 18 20:51:58 2004
-***************
-*** 3838,3845 ****
- #ifdef FEAT_MBYTE
- /*
- * The BOM is written just after the encryption magic number.
- */
-! if (buf->b_p_bomb && !write_bin)
- {
- write_info.bw_len = make_bom(buffer, fenc);
- if (write_info.bw_len > 0)
---- 3838,3847 ----
- #ifdef FEAT_MBYTE
- /*
- * The BOM is written just after the encryption magic number.
-+ * Skip it when appending and the file already existed, the BOM only makes
-+ * sense at the start of the file.
- */
-! if (buf->b_p_bomb && !write_bin && (!append || perm < 0))
- {
- write_info.bw_len = make_bom(buffer, fenc);
- if (write_info.bw_len > 0)
-*** ../vim-6.3.027/src/version.c Sat Sep 18 20:28:07 2004
---- src/version.c Sat Sep 18 21:12:43 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 28,
- /**/
-
---
-The word "leader" is derived from the word "lead", as in the material that
-bullets are made out of. The term "leader" was popularized at about the same
-time as the invention of firearms. It grew out of the observation that the
-person in charge of every organization was the person whom everyone wanted to
-fill with hot lead.
- I don't recomment this; it's just a point of historical interest.
- (Scott Adams - The Dilbert principle)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.029
-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.3.029
-Problem: Crash when inserting a line break. (Walter Briscoe)
-Solution: In the syntax highlighting code, don't use an old state after a
- change was made, current_col may be past the end of the line.
-Files: src/syntax.c
-
-
-*** ../vim-6.3.028/src/syntax.c Mon Sep 13 16:36:12 2004
---- src/syntax.c Tue Oct 5 16:57:58 2004
-***************
-*** 437,453 ****
- linenr_T parsed_lnum;
- linenr_T first_stored;
- int dist;
-
- reg_syn = TRUE; /* let vim_regexec() know we're using syntax */
-
- /*
- * After switching buffers, invalidate current_state.
- */
-! if (syn_buf != wp->w_buffer)
- {
- invalidate_current_state();
- syn_buf = wp->w_buffer;
- }
- syn_win = wp;
-
- /*
---- 437,457 ----
- linenr_T parsed_lnum;
- linenr_T first_stored;
- int dist;
-+ static int changedtick = 0; /* remember the last change ID */
-
- reg_syn = TRUE; /* let vim_regexec() know we're using syntax */
-
- /*
- * After switching buffers, invalidate current_state.
-+ * Also do this when a change was made, the current state may be invalid
-+ * then.
- */
-! if (syn_buf != wp->w_buffer || changedtick != syn_buf->b_changedtick)
- {
- invalidate_current_state();
- syn_buf = wp->w_buffer;
- }
-+ changedtick = syn_buf->b_changedtick;
- syn_win = wp;
-
- /*
-*** ../vim-6.3.028/src/version.c Sat Sep 18 21:13:25 2004
---- src/version.c Tue Oct 5 17:01:10 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 29,
- /**/
-
---
-From "know your smileys":
- :-H Is missing teeth
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.030
-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.3.030
-Problem: GTK 2: Crash when sourcing a script that deletes the menus, sets
- 'encoding' to "utf-8" and loads the menus again. GTK error
- message when tooltip text is in a wrong encoding.
-Solution: Don't copy characters from the old screen to the new screen when
- switching 'encoding' to utf-8, they may be invalid. Only set the
- tooltip when it is valid utf-8.
-Files: src/gui_gtk.c, src/mbyte.c, src/proto/mbyte.pro, src/screen.c
-
-
-*** ../vim-6.3.029/src/gui_gtk.c Wed Jun 9 14:56:25 2004
---- src/gui_gtk.c Thu Oct 7 16:27:43 2004
-***************
-*** 749,754 ****
---- 749,758 ----
-
- text = CONVERT_TO_UTF8(menu->dname);
- tooltip = CONVERT_TO_UTF8(menu->strings[MENU_INDEX_TIP]);
-+ if (tooltip != NULL && !utf_valid_string(tooltip, NULL))
-+ /* Invalid text, can happen when 'encoding' is changed. Avoid
-+ * a nasty GTK error message, skip the tooltip. */
-+ CONVERT_TO_UTF8_FREE(tooltip);
-
- menu->id = gtk_toolbar_insert_item(
- toolbar,
-***************
-*** 993,998 ****
---- 997,1004 ----
-
- # ifdef HAVE_GTK2
- tooltip = CONVERT_TO_UTF8(menu->strings[MENU_INDEX_TIP]);
-+ if (tooltip == NULL || utf_valid_string(tooltip, NULL))
-+ /* Only set the tooltip when it's valid utf-8. */
- # else
- tooltip = menu->strings[MENU_INDEX_TIP];
- # endif
-*** ../vim-6.3.029/src/mbyte.c Wed Jun 9 14:56:27 2004
---- src/mbyte.c Thu Oct 7 19:27:45 2004
-***************
-*** 2467,2472 ****
---- 2467,2502 ----
- return 1 - dbcs_head_off(base, p);
- }
-
-+ #if (defined(HAVE_GTK2) && defined(FEAT_TOOLBAR)) || defined(PROTO)
-+ /*
-+ * Return TRUE if string "s" is a valid utf-8 string.
-+ * When "end" is NULL stop at the first NUL.
-+ * When "end" is positive stop there.
-+ */
-+ int
-+ utf_valid_string(s, end)
-+ char_u *s;
-+ char_u *end;
-+ {
-+ int l;
-+ char_u *p = s;
-+
-+ while (end == NULL ? *p != NUL : p < end)
-+ {
-+ if ((*p & 0xc0) == 0x80)
-+ return FALSE; /* invalid lead byte */
-+ l = utf8len_tab[*p];
-+ if (end != NULL && p + l > end)
-+ return FALSE; /* incomplete byte sequence */
-+ ++p;
-+ while (--l > 0)
-+ if ((*p++ & 0xc0) != 0x80)
-+ return FALSE; /* invalid trail byte */
-+ }
-+ return TRUE;
-+ }
-+ #endif
-+
- #if defined(FEAT_GUI) || defined(PROTO)
- /*
- * Special version of mb_tail_off() for use in ScreenLines[].
-*** ../vim-6.3.029/src/proto/mbyte.pro Wed Jun 9 14:56:24 2004
---- src/proto/mbyte.pro Thu Oct 7 16:36:38 2004
-***************
-*** 47,52 ****
---- 47,53 ----
- int utf_head_off __ARGS((char_u *base, char_u *p));
- int mb_off_next __ARGS((char_u *base, char_u *p));
- int mb_tail_off __ARGS((char_u *base, char_u *p));
-+ int utf_valid_string __ARGS((char_u *s, char_u *end));
- int dbcs_screen_tail_off __ARGS((char_u *base, char_u *p));
- void mb_adjust_cursor __ARGS((void));
- void mb_adjustpos __ARGS((pos_T *lp));
-*** ../vim-6.3.029/src/screen.c Wed Jun 9 14:56:26 2004
---- src/screen.c Thu Oct 7 15:40:54 2004
-***************
-*** 6608,6616 ****
- len = screen_Columns;
- else
- len = Columns;
-! mch_memmove(new_ScreenLines + new_LineOffset[new_row],
-! ScreenLines + LineOffset[old_row],
-! (size_t)len * sizeof(schar_T));
- #ifdef FEAT_MBYTE
- if (enc_utf8 && ScreenLinesUC != NULL)
- {
---- 6608,6621 ----
- len = screen_Columns;
- else
- len = Columns;
-! #ifdef FEAT_MBYTE
-! /* When switching to utf-8 don't copy characters, they
-! * may be invalid now. */
-! if (!(enc_utf8 && ScreenLinesUC == NULL))
-! #endif
-! mch_memmove(new_ScreenLines + new_LineOffset[new_row],
-! ScreenLines + LineOffset[old_row],
-! (size_t)len * sizeof(schar_T));
- #ifdef FEAT_MBYTE
- if (enc_utf8 && ScreenLinesUC != NULL)
- {
-*** ../vim-6.3.029/src/version.c Tue Oct 5 17:02:41 2004
---- src/version.c Thu Oct 7 20:05:58 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 30,
- /**/
-
---
-From "know your smileys":
- :-E Has major dental problems
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.031
-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.3.031
-Problem: When entering a mapping and pressing Tab halfway the command line
- isn't redrawn properly. (Adri Verhoef)
-Solution: Reposition the cursor after drawing over the "..." of the
- completion attempt.
-Files: src/ex_getln.c
-
-
-*** ../vim-6.3.030/src/ex_getln.c Sun Sep 5 20:48:38 2004
---- src/ex_getln.c Tue Oct 19 19:37:30 2004
-***************
-*** 2892,2897 ****
---- 2892,2898 ----
- vim_free(p2);
-
- redrawcmd();
-+ cursorcmd();
-
- /* When expanding a ":map" command and no matches are found, assume that
- * the key is supposed to be inserted literally */
-*** ../vim-6.3.030/src/version.c Thu Oct 7 20:07:59 2004
---- src/version.c Fri Oct 22 11:44:35 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 31,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-225. You sign up for free subscriptions for all the computer magazines
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.032
-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.3.032
-Problem: Using Python 2.3 with threads doesn't work properly.
-Solution: Release the lock after initialization.
-Files: src/if_python.c
-
-
-*** ../vim-6.3.031/src/if_python.c Wed Jun 9 14:56:26 2004
---- src/if_python.c Thu Nov 18 10:01:02 2004
-***************
-*** 380,386 ****
- typedef PyObject PyThreadState;
- #endif /* Python 1.4 */
-
-- #ifndef PY_CAN_RECURSE
- static PyThreadState* saved_python_thread = NULL;
-
- /*
---- 380,385 ----
-***************
-*** 392,397 ****
---- 391,397 ----
- saved_python_thread = PyEval_SaveThread();
- }
-
-+ #ifndef PY_CAN_RECURSE
- /*
- * Restore a thread of the Python interpreter, waits for other threads to
- * block.
-***************
-*** 456,465 ****
- if (PythonMod_Init())
- goto fail;
-
-! #ifndef PY_CAN_RECURSE
-! /* the first python thread is vim's */
- Python_SaveThread();
-- #endif
-
- initialised = 1;
- }
---- 456,463 ----
- if (PythonMod_Init())
- goto fail;
-
-! /* the first python thread is vim's, release the lock */
- Python_SaveThread();
-
- initialised = 1;
- }
-*** ../vim-6.3.032/src/version.c Fri Oct 22 11:45:17 2004
---- src/version.c Thu Nov 18 10:43:17 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 32,
- /**/
-
-
---
-GUARD #1: Where'd you get the coconut?
-ARTHUR: We found them.
-GUARD #1: Found them? In Mercea? The coconut's tropical!
-ARTHUR: What do you mean?
-GUARD #1: Well, this is a temperate zone.
- The Quest for the Holy Grail (Monty Python)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.033
-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.3.033
-Problem: When a mapping ends in a Normal mode command of more than one
- character Vim doesn't return to Insert mode.
-Solution: Check that the mapping has ended after obtaining all characters of
- the Normal mode command.
-Files: src/normal.c
-
-
-*** ../vim-6.3.032/src/normal.c Fri Aug 27 21:14:50 2004
---- src/normal.c Thu Nov 18 10:34:43 2004
-***************
-*** 1124,1129 ****
---- 1124,1134 ----
- #endif
- }
-
-+ /* get the length of mapped chars again after typing a count, second
-+ * character or "z333<cr>". */
-+ if (old_mapped_len > 0)
-+ old_mapped_len = typebuf_maplen();
-+
- /*
- * If an operation is pending, handle it...
- */
-*** ../vim-6.3.032/src/version.c Thu Nov 18 10:47:38 2004
---- src/version.c Thu Nov 18 10:45:02 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 33,
- /**/
-
---
-"A mouse can be just as dangerous as a bullet or a bomb."
- (US Representative Lamar Smith, R-Texas)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.034
-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.3.034
-Problem: VMS: crash when using ":help".
-Solution: Avoid using "tags-??", some Open VMS systems can't handle the "?"
- wildcard. (Zoltan Arpadffy)
-Files: src/tag.c
-
-
-*** ../vim-6.3.033/src/tag.c Wed Jun 9 14:56:26 2004
---- src/tag.c Sat Nov 20 14:50:43 2004
-***************
-*** 2382,2388 ****
---- 2382,2396 ----
- ga_init2(&tag_fnames, (int)sizeof(char_u *), 10);
- do_in_runtimepath((char_u *)
- #ifdef FEAT_MULTI_LANG
-+ # ifdef VMS
-+ /* Functions decc$to_vms() and decc$translate_vms() crash
-+ * on some VMS systems with wildcards "??". Seems ECO
-+ * patches do fix the problem in C RTL, but we can't use
-+ * an #ifdef for that. */
-+ "doc/tags doc/tags-*"
-+ # else
- "doc/tags doc/tags-??"
-+ # endif
- #else
- "doc/tags"
- #endif
-*** ../vim-6.3.033/src/version.c Thu Nov 18 10:47:49 2004
---- src/version.c Mon Nov 22 10:03:20 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 34,
- /**/
-
---
-There can't be a crisis today, my schedule is already full.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.035 (extra)
-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.3.035 (extra)
-Problem: RISC OS: Compile errors.
-Solution: Change e_screnmode to e_screenmode. Change the way
- __riscosify_control is set. Improve the makefile. (Andy Wingate)
-Files: src/os_riscos.c, src/search.c, src/Make_ro.mak
-
-
-*** ../vim-6.3.034/src/os_riscos.c Wed Jun 9 14:56:26 2004
---- src/os_riscos.c Mon Nov 22 10:37:11 2004
-***************
-*** 683,689 ****
- mch_early_init()
- {
- /* Turn off all the horrible filename munging in UnixLib. */
-! __riscosify_control = __RISCOSIFY_NO_PROCESS;
- }
-
- void
---- 683,689 ----
- mch_early_init()
- {
- /* Turn off all the horrible filename munging in UnixLib. */
-! int __riscosify_control = __RISCOSIFY_NO_PROCESS;
- }
-
- void
-***************
-*** 755,761 ****
- mch_screenmode(arg)
- char_u *arg;
- {
-! EMSG(_(e_screnmode));
- return FAIL;
- }
-
---- 755,761 ----
- mch_screenmode(arg)
- char_u *arg;
- {
-! EMSG(_(e_screenmode));
- return FAIL;
- }
-
-*** ../vim-6.3.034/src/search.c Wed Jun 16 10:56:31 2004
---- src/search.c Mon Nov 22 10:39:04 2004
-***************
-*** 3684,3690 ****
-
- #ifdef RISCOS
- /* UnixLib knows best how to munge c file names - turn munging back on. */
-! __riscosify_control = __RISCOSIFY_LONG_TRUNCATE;
- #endif
-
- if (type != CHECK_PATH && type != FIND_DEFINE
---- 3684,3690 ----
-
- #ifdef RISCOS
- /* UnixLib knows best how to munge c file names - turn munging back on. */
-! int __riscosify_control = 0;
- #endif
-
- if (type != CHECK_PATH && type != FIND_DEFINE
-*** ../vim-6.3.034/src/Make_ro.mak Wed Jun 9 14:56:26 2004
---- src/Make_ro.mak Mon Nov 22 10:43:27 2004
-***************
-*** 2,19 ****
- # Makefile for Vim on RISC OS - Andy Wingate
- #
-
-! GCC = gcc -mthrowback
-! CFLAGS = -DRISCOS -DFEAT_GUI
-! # Optimising on ex_docmd.c seems to cause segfaults on compilation. Needs investigation.
-! CCEX_DOCMD = $(GCC) $(CFLAGS)
-! CC = $(GCC) $(CFLAGS) -O2
- # -DUP_BC_PC_EXTERN for term.c needed as BC defined in termlib.c and term.c
-
- TERMFLAG = -DUP_BC_PC_EXTERN
-
- ASMFLAGS = -throwback -objasm -gcc
-
-! OBJS = o.buffer o.charset o.digraph o.edit o.eval o.ex_cmds o.ex_cmds2 o.diff \
- o.ex_docmd o.ex_eval o.ex_getln o.fileio o.fold o.getchar o.main o.mark o.mbyte \
- o.memfile o.memline o.menu o.message o.misc1 o.misc2 o.move \
- o.normal o.ops o.option o.quickfix o.regexp o.screen o.search \
---- 2,17 ----
- # Makefile for Vim on RISC OS - Andy Wingate
- #
-
-! GCC = gcc -mthrowback
-! CFLAGS = -DRISCOS -DFEAT_GUI
-! CC = $(GCC) $(CFLAGS) -O2
- # -DUP_BC_PC_EXTERN for term.c needed as BC defined in termlib.c and term.c
-
- TERMFLAG = -DUP_BC_PC_EXTERN
-
- ASMFLAGS = -throwback -objasm -gcc
-
-! OBJS = o.buffer o.charset o.diff o.digraph o.edit o.eval o.ex_cmds o.ex_cmds2 \
- o.ex_docmd o.ex_eval o.ex_getln o.fileio o.fold o.getchar o.main o.mark o.mbyte \
- o.memfile o.memline o.menu o.message o.misc1 o.misc2 o.move \
- o.normal o.ops o.option o.quickfix o.regexp o.screen o.search \
-***************
-*** 35,168 ****
- as $(ASMFLAGS) -o o.swis s.swis
-
- # Rules for object files
-! # You shouldn't need to put all this information in as all but term.c have the same
-! # rule (and only then to save extra defines) but some versions of make are awkward.
-
- o.buffer: c.buffer
-- $(CC) -c c.buffer -o o.buffer
-
- o.charset: c.charset
-- $(CC) -c c.charset -o o.charset
-
- o.digraph: c.digraph
-- $(CC) -c c.digraph -o o.digraph
-
- o.diff: c.diff
-- $(CC) -c c.diff -o o.diff
-
- o.edit: c.edit
-- $(CC) -c c.edit -o o.edit
-
- o.eval: c.eval
-- $(CC) -c c.eval -o o.eval
-
- o.ex_cmds: c.ex_cmds
-- $(CC) -c c.ex_cmds -o o.ex_cmds
-
- o.ex_cmds2: c.ex_cmds2
-- $(CC) -c c.ex_cmds2 -o o.ex_cmds2
-
- o.ex_docmd: c.ex_docmd
-- $(CCEX_DOCMD) -c c.ex_docmd -o o.ex_docmd
-
- o.ex_eval: c.ex_eval
-- $(CCEX_DOCMD) -c c.ex_eval -o o.ex_eval
-
- o.ex_getln: c.ex_getln
-- $(CC) -c c.ex_getln -o o.ex_getln
-
- o.fileio: c.fileio
-- $(CC) -c c.fileio -o o.fileio
-
- o.fold: c.fold
-- $(CC) -c c.fold -o o.fold
-
- o.getchar: c.getchar
-- $(CC) -c c.getchar -o o.getchar
-
- o.gui: c.gui
-- $(CC) -c c.gui -o o.gui
-
- o.gui_riscos: c.gui_riscos
-- $(CC) -c c.gui_riscos -o o.gui_riscos
-
- o.main: c.main
-- $(CC) -c c.main -o o.main
-
- o.mark: c.mark
-- $(CC) -c c.mark -o o.mark
-
- o.mbyte: c.mbyte
-- $(CC) -c c.mbyte -o o.mbyte
-
- o.memfile: c.memfile
-- $(CC) -c c.memfile -o o.memfile
-
- o.memline: c.memline
-- $(CC) -c c.memline -o o.memline
-
- o.menu: c.menu
-- $(CC) -c c.menu -o o.menu
-
- o.message: c.message
-- $(CC) -c c.message -o o.message
-
- o.misc1: c.misc1
-- $(CC) -c c.misc1 -o o.misc1
-
- o.misc2: c.misc2
-- $(CC) -c c.misc2 -o o.misc2
-
- o.move: c.move
-- $(CC) -c c.move -o o.move
-
- o.normal: c.normal
-- $(CC) -c c.normal -o o.normal
-
- o.ops: c.ops
-- $(CC) -c c.ops -o o.ops
-
- o.option: c.option
-- $(CC) -c c.option -o o.option
-
- o.os_riscos: c.os_riscos
-- $(CC) -c c.os_riscos -o o.os_riscos
-
- o.pty: c.pty
-- $(CC) -c c.pty -o p.pty
-
- o.quickfix: c.quickfix
-- $(CC) -c c.quickfix -o o.quickfix
-
- o.regexp: c.regexp
-- $(CC) -c c.regexp -o o.regexp
-
- o.screen: c.screen
-- $(CC) -c c.screen -o o.screen
-
- o.search: c.search
-- $(CC) -c c.search -o o.search
-
- o.syntax: c.syntax
-- $(CC) -c c.syntax -o o.syntax
-
- o.tag: c.tag
-- $(CC) -c c.tag -o o.tag
-
- o.term: c.term
- $(CC) $(TERMFLAG) -c c.term -o o.term
-
- o.termlib: c.termlib
-- $(CC) -c c.termlib -o o.termlib
-
- o.ui: c.ui
-- $(CC) -c c.ui -o o.ui
-
- o.undo: c.undo
-- $(CC) -c c.undo -o o.undo
-
- o.version: c.version
-- $(CC) -c c.version -o o.version
-
- o.window: c.window
-- $(CC) -c c.window -o o.window
---- 33,125 ----
- as $(ASMFLAGS) -o o.swis s.swis
-
- # Rules for object files
-!
-! o.%: c.%
-! $(CC) -c $< -o $@
-
- o.buffer: c.buffer
-
- o.charset: c.charset
-
- o.digraph: c.digraph
-
- o.diff: c.diff
-
- o.edit: c.edit
-
- o.eval: c.eval
-
- o.ex_cmds: c.ex_cmds
-
- o.ex_cmds2: c.ex_cmds2
-
- o.ex_docmd: c.ex_docmd
-
- o.ex_eval: c.ex_eval
-
- o.ex_getln: c.ex_getln
-
- o.fileio: c.fileio
-
- o.fold: c.fold
-
- o.getchar: c.getchar
-
- o.gui: c.gui
-
- o.gui_riscos: c.gui_riscos
-
- o.main: c.main
-
- o.mark: c.mark
-
- o.mbyte: c.mbyte
-
- o.memfile: c.memfile
-
- o.memline: c.memline
-
- o.menu: c.menu
-
- o.message: c.message
-
- o.misc1: c.misc1
-
- o.misc2: c.misc2
-
- o.move: c.move
-
- o.normal: c.normal
-
- o.ops: c.ops
-
- o.option: c.option
-
- o.os_riscos: c.os_riscos
-
- o.pty: c.pty
-
- o.quickfix: c.quickfix
-
- o.regexp: c.regexp
-
- o.screen: c.screen
-
- o.search: c.search
-
- o.syntax: c.syntax
-
- o.tag: c.tag
-
- o.term: c.term
- $(CC) $(TERMFLAG) -c c.term -o o.term
-
- o.termlib: c.termlib
-
- o.ui: c.ui
-
- o.undo: c.undo
-
- o.version: c.version
-
- o.window: c.window
-*** ../vim-6.3.034/src/version.c Mon Nov 22 10:04:21 2004
---- src/version.c Mon Nov 22 10:41:25 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 35,
- /**/
-
---
-Q: What do you call a fish without an eye?
-A: fsh!
-Q: What do you call a deer with no eyes?
-A: no eye deer.
-Q: What do you call a deer with no eyes and no legs?
-A: still no eye deer.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.036
-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.3.036
-Problem: ml_get errors when the whole file is a fold, switching
- 'foldmethod' and doing "zj". (Christian J. Robinson) Was not
- deleting the fold but creating a fold with zero lines.
-Solution: Delete the fold properly.
-Files: src/fold.c
-
-
-*** ../vim-6.3.035/src/fold.c Wed Jun 9 14:56:26 2004
---- src/fold.c Sat Dec 4 14:54:30 2004
-***************
-*** 2795,2801 ****
- {
- /* Found an entry below top. */
- fold_changed = TRUE;
-! if (fp->fd_top + fp->fd_len > bot)
- {
- /* 5: Make fold that includes bot start below bot. */
- foldMarkAdjustRecurse(&fp->fd_nested,
---- 2795,2801 ----
- {
- /* Found an entry below top. */
- fold_changed = TRUE;
-! if (fp->fd_top + fp->fd_len - 1 > bot)
- {
- /* 5: Make fold that includes bot start below bot. */
- foldMarkAdjustRecurse(&fp->fd_nested,
-*** ../vim-6.3.035/src/version.c Mon Nov 22 10:44:14 2004
---- src/version.c Sat Dec 4 14:55:28 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 36,
- /**/
-
---
-If you had to identify, in one word, the reason why the
-human race has not achieved, and never will achieve, its
-full potential, that word would be "meetings."
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.037
-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.3.037 (after 6.3.032)
-Problem: Warning for unused variable.
-Solution: Change the #ifdefs for the saved thread stuff.
-Files: src/if_python.c
-
-
-*** ../vim-6.3.036/src/if_python.c Thu Nov 18 10:24:49 2004
---- src/if_python.c Sat Dec 4 15:23:15 2004
-***************
-*** 380,402 ****
- typedef PyObject PyThreadState;
- #endif /* Python 1.4 */
-
-! static PyThreadState* saved_python_thread = NULL;
-
- /*
- * Suspend a thread of the Python interpreter, other threads are allowed to
- * run.
- */
-! static void Python_SaveThread(void)
- {
- saved_python_thread = PyEval_SaveThread();
- }
-
-- #ifndef PY_CAN_RECURSE
- /*
- * Restore a thread of the Python interpreter, waits for other threads to
- * block.
- */
-! static void Python_RestoreThread(void)
- {
- PyEval_RestoreThread(saved_python_thread);
- saved_python_thread = NULL;
---- 380,404 ----
- typedef PyObject PyThreadState;
- #endif /* Python 1.4 */
-
-! #ifndef PY_CAN_RECURSE
-! static PyThreadState *saved_python_thread = NULL;
-
- /*
- * Suspend a thread of the Python interpreter, other threads are allowed to
- * run.
- */
-! static void
-! Python_SaveThread(void)
- {
- saved_python_thread = PyEval_SaveThread();
- }
-
- /*
- * Restore a thread of the Python interpreter, waits for other threads to
- * block.
- */
-! static void
-! Python_RestoreThread(void)
- {
- PyEval_RestoreThread(saved_python_thread);
- saved_python_thread = NULL;
-***************
-*** 457,463 ****
---- 459,469 ----
- goto fail;
-
- /* the first python thread is vim's, release the lock */
-+ #ifdef PY_CAN_RECURSE
-+ PyEval_SaveThread();
-+ #else
- Python_SaveThread();
-+ #endif
-
- initialised = 1;
- }
-*** ../vim-6.3.036/src/version.c Sat Dec 4 14:55:39 2004
---- src/version.c Sat Dec 4 15:25:14 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 37,
- /**/
-
---
-Scientists decoded the first message from an alien civilization:
- SIMPLY SEND 6 TIMES 10 TO THE 50 ATOMS OF HYDROGEN TO THE STAR
-SYSTEM AT THE TOP OF THE LIST, CROSS OFF THAT STAR SYSTEM, THEN PUT
-YOUR STAR SYSTEM AT THE BOTTOM OF THE LIST AND SEND IT TO 100 OTHER
-STAR SYSTEMS. WITHIN ONE TENTH GALACTIC ROTATION YOU WILL RECEIVE
-ENOUGH HYDROGREN TO POWER YOUR CIVILIZATION UNTIL ENTROPY REACHES ITS
-MAXIMUM! IT REALLY WORKS!
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.038 (extra)
-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.3.038 (extra)
-Problem: Win32: When the "file changed" dialog pops up after a click that
- gives gvim focus and not moving the mouse after that, the effect
- of the click may occur when moving the mouse later. (Ken Clark)
- Happened because the release event was missed.
-Solution: Clear the s_button_pending variable when any input is received.
-Files: src/gui_w48.c
-
-
-*** ../vim-6.3.037/src/gui_w48.c Sat Sep 4 16:28:02 2004
---- src/gui_w48.c Sat Dec 4 17:15:35 2004
-***************
-*** 1829,1834 ****
---- 1829,1839 ----
- s_wait_timer = 0;
- }
- allow_scrollbar = FALSE;
-+
-+ /* Clear pending mouse button, the release event may have been
-+ * taken by the dialog window. */
-+ s_button_pending = -1;
-+
- return OK;
- }
- }
-*** ../vim-6.3.037/src/version.c Sat Dec 4 15:27:07 2004
---- src/version.c Sat Dec 4 17:19:21 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 38,
- /**/
-
---
-Are leaders born or made? And if they're made, can we return them under
-warranty?
- (Scott Adams - The Dilbert principle)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.039
-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.3.039
-Problem: When 'number' is set and inserting lines just above the first
- displayed line (in another window on the same buffer), the line
- numbers are not updated. (Hitier Sylvain)
-Solution: When 'number' is set and lines are inserted/deleted redraw all
- lines below the change.
-Files: src/screen.c
-
-
-*** ../vim-6.3.038/src/screen.c Thu Oct 7 20:07:59 2004
---- src/screen.c Sun Dec 5 14:52:15 2004
-***************
-*** 927,933 ****
- /* When a change starts above w_topline and the end is below
- * w_topline, start redrawing at w_topline.
- * If the end of the change is above w_topline: do like no changes was
-! * maded, but redraw the first line to find changes in syntax. */
- if (mod_top != 0 && mod_top < wp->w_topline)
- {
- if (mod_bot > wp->w_topline)
---- 927,933 ----
- /* When a change starts above w_topline and the end is below
- * w_topline, start redrawing at w_topline.
- * If the end of the change is above w_topline: do like no change was
-! * made, but redraw the first line to find changes in syntax. */
- if (mod_top != 0 && mod_top < wp->w_topline)
- {
- if (mod_bot > wp->w_topline)
-***************
-*** 937,942 ****
---- 937,947 ----
- top_end = 1;
- #endif
- }
-+
-+ /* When line numbers are displayed need to redraw all lines below
-+ * inserted/deleted lines. */
-+ if (mod_top != 0 && buf->b_mod_xlines != 0 && wp->w_p_nu)
-+ mod_bot = MAXLNUM;
- }
-
- /*
-***************
-*** 1607,1618 ****
- }
- }
- }
--
-- /* When inserting or deleting lines and 'number' is set:
-- * Redraw all lines below the change to update the line
-- * numbers. */
-- if (buf->b_mod_xlines != 0 && wp->w_p_nu)
-- bot_start = 0;
- }
-
- #ifdef FEAT_FOLDING
---- 1612,1617 ----
-*** ../vim-6.3.038/src/version.c Sat Dec 4 17:23:22 2004
---- src/version.c Sun Dec 5 14:54:46 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 39,
- /**/
-
---
-Our job was to build a computer information system for the branch banks. We
-were the perfect people for the job: Dean had seen a computer once, and I had
-heard Dean talk about it.
- (Scott Adams - The Dilbert principle)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.040
-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.3.040
-Problem: Error handling does not always work properly and may cause a
- buffer to be marked as if it's viewed in a window while it isn't.
- Also when selecting "Abort" at the attention prompt.
-Solution: Add enter_cleanup() and leave_cleanup() functions to move
- saving/restoring things for error handling to one place.
- Clear a buffer read error when it's unloaded.
-Files: src/buffer.c, src/ex_docmd.c, src/ex_eval.c,
- src/proto/ex_eval.pro, src/structs.h, src/vim.h
-
-
-*** ../vim-6.3.039/src/buffer.c Wed Jun 9 14:56:27 2004
---- src/buffer.c Sun Dec 5 16:15:05 2004
-***************
-*** 408,415 ****
- if (!buf_valid(buf))
- return;
- # ifdef FEAT_EVAL
-! /* Autocommands may abort script processing. */
-! if (aborting())
- return;
- # endif
-
---- 408,414 ----
- if (!buf_valid(buf))
- return;
- # ifdef FEAT_EVAL
-! if (aborting()) /* autocmds may abort script processing */
- return;
- # endif
-
-***************
-*** 564,569 ****
---- 563,569 ----
- #ifdef FEAT_SYN_HL
- syntax_clear(buf); /* reset syntax info */
- #endif
-+ buf->b_flags &= ~BF_READERR; /* a read error is no longer relevant */
- }
-
- /*
-***************
-*** 666,674 ****
---- 666,688 ----
- && (defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG))
- if (swap_exists_action == SEA_QUIT && *eap->cmd == 's')
- {
-+ # if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
-+ cleanup_T cs;
-+
-+ /* Reset the error/interrupt/exception state here so that
-+ * aborting() returns FALSE when closing a window. */
-+ enter_cleanup(&cs);
-+ # endif
-+
- /* Quitting means closing the split window, nothing else. */
- win_close(curwin, TRUE);
- swap_exists_action = SEA_NONE;
-+
-+ # if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
-+ /* Restore the error/interrupt/exception state if not discarded by a
-+ * new aborting error, interrupt, or uncaught exception. */
-+ leave_cleanup(&cs);
-+ # endif
- }
- else
- handle_swap_exists(old_curbuf);
-***************
-*** 685,712 ****
- handle_swap_exists(old_curbuf)
- buf_T *old_curbuf;
- {
- if (swap_exists_action == SEA_QUIT)
- {
- /* User selected Quit at ATTENTION prompt. Go back to previous
- * buffer. If that buffer is gone or the same as the current one,
- * open a new, empty buffer. */
- swap_exists_action = SEA_NONE; /* don't want it again */
- close_buffer(curwin, curbuf, DOBUF_UNLOAD);
- if (!buf_valid(old_curbuf) || old_curbuf == curbuf)
-! old_curbuf = buflist_new(NULL, NULL, 1L,
-! BLN_CURBUF | BLN_LISTED | BLN_FORCE);
- if (old_curbuf != NULL)
- enter_buffer(old_curbuf);
- /* If "old_curbuf" is NULL we are in big trouble here... */
- }
- else if (swap_exists_action == SEA_RECOVER)
- {
- /* User selected Recover at ATTENTION prompt. */
- msg_scroll = TRUE;
- ml_recover();
- MSG_PUTS("\n"); /* don't overwrite the last message */
- cmdline_row = msg_row;
- do_modelines();
- }
- swap_exists_action = SEA_NONE;
- }
---- 699,753 ----
- handle_swap_exists(old_curbuf)
- buf_T *old_curbuf;
- {
-+ # if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
-+ cleanup_T cs;
-+ # endif
-+
- if (swap_exists_action == SEA_QUIT)
- {
-+ # if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
-+ /* Reset the error/interrupt/exception state here so that
-+ * aborting() returns FALSE when closing a buffer. */
-+ enter_cleanup(&cs);
-+ # endif
-+
- /* User selected Quit at ATTENTION prompt. Go back to previous
- * buffer. If that buffer is gone or the same as the current one,
- * open a new, empty buffer. */
- swap_exists_action = SEA_NONE; /* don't want it again */
- close_buffer(curwin, curbuf, DOBUF_UNLOAD);
- if (!buf_valid(old_curbuf) || old_curbuf == curbuf)
-! old_curbuf = buflist_new(NULL, NULL, 1L, BLN_CURBUF | BLN_LISTED);
- if (old_curbuf != NULL)
- enter_buffer(old_curbuf);
- /* If "old_curbuf" is NULL we are in big trouble here... */
-+
-+ # if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
-+ /* Restore the error/interrupt/exception state if not discarded by a
-+ * new aborting error, interrupt, or uncaught exception. */
-+ leave_cleanup(&cs);
-+ # endif
- }
- else if (swap_exists_action == SEA_RECOVER)
- {
-+ # if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
-+ /* Reset the error/interrupt/exception state here so that
-+ * aborting() returns FALSE when closing a buffer. */
-+ enter_cleanup(&cs);
-+ # endif
-+
- /* User selected Recover at ATTENTION prompt. */
- msg_scroll = TRUE;
- ml_recover();
- MSG_PUTS("\n"); /* don't overwrite the last message */
- cmdline_row = msg_row;
- do_modelines();
-+
-+ # if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
-+ /* Restore the error/interrupt/exception state if not discarded by a
-+ * new aborting error, interrupt, or uncaught exception. */
-+ leave_cleanup(&cs);
-+ # endif
- }
- swap_exists_action = SEA_NONE;
- }
-***************
-*** 1380,1386 ****
- * If (flags & BLN_CURBUF) is TRUE, may use current buffer.
- * If (flags & BLN_LISTED) is TRUE, add new buffer to buffer list.
- * If (flags & BLN_DUMMY) is TRUE, don't count it as a real buffer.
-- * If (flags & BLN_FORCE) is TRUE, don't abort on an error.
- * This is the ONLY way to create a new buffer.
- */
- static int top_file_num = 1; /* highest file number */
---- 1421,1426 ----
-***************
-*** 1455,1462 ****
- if (buf == curbuf)
- apply_autocmds(EVENT_BUFWIPEOUT, NULL, NULL, FALSE, curbuf);
- # ifdef FEAT_EVAL
-! /* autocmds may abort script processing */
-! if (!(flags & BLN_FORCE) && aborting())
- return NULL;
- # endif
- #endif
---- 1495,1501 ----
- if (buf == curbuf)
- apply_autocmds(EVENT_BUFWIPEOUT, NULL, NULL, FALSE, curbuf);
- # ifdef FEAT_EVAL
-! if (aborting()) /* autocmds may abort script processing */
- return NULL;
- # endif
- #endif
-***************
-*** 1509,1516 ****
- if (buf != curbuf) /* autocommands deleted the buffer! */
- return NULL;
- #if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
-! /* autocmds may abort script processing */
-! if (!(flags & BLN_FORCE) && aborting())
- return NULL;
- #endif
- /* buf->b_nwindows = 0; why was this here? */
---- 1548,1554 ----
- if (buf != curbuf) /* autocommands deleted the buffer! */
- return NULL;
- #if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
-! if (aborting()) /* autocmds may abort script processing */
- return NULL;
- #endif
- /* buf->b_nwindows = 0; why was this here? */
-***************
-*** 1586,1593 ****
- if (flags & BLN_LISTED)
- apply_autocmds(EVENT_BUFADD, NULL, NULL, FALSE, buf);
- # ifdef FEAT_EVAL
-! /* autocmds may abort script processing */
-! if (!(flags & BLN_FORCE) && aborting())
- return NULL;
- # endif
- }
---- 1624,1630 ----
- if (flags & BLN_LISTED)
- apply_autocmds(EVENT_BUFADD, NULL, NULL, FALSE, buf);
- # ifdef FEAT_EVAL
-! if (aborting()) /* autocmds may abort script processing */
- return NULL;
- # endif
- }
-***************
-*** 4217,4229 ****
- #endif
- set_curbuf(buf, DOBUF_GOTO);
- #ifdef FEAT_AUTOCMD
-- # ifdef FEAT_EVAL
-- /* Autocommands deleted the buffer or aborted script
-- * processing!!! */
-- if (!buf_valid(buf) || aborting())
-- # else
- if (!buf_valid(buf)) /* autocommands deleted the buffer!!! */
-- # endif
- {
- #if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)
- swap_exists_action = SEA_NONE;
---- 4254,4260 ----
-***************
-*** 4234,4243 ****
---- 4265,4289 ----
- #if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)
- if (swap_exists_action == SEA_QUIT)
- {
-+ # if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
-+ cleanup_T cs;
-+
-+ /* Reset the error/interrupt/exception state here so that
-+ * aborting() returns FALSE when closing a window. */
-+ enter_cleanup(&cs);
-+ # endif
-+
- /* User selected Quit at ATTENTION prompt; close this window. */
- win_close(curwin, TRUE);
- --open_wins;
- swap_exists_action = SEA_NONE;
-+
-+ # if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
-+ /* Restore the error/interrupt/exception state if not
-+ * discarded by a new aborting error, interrupt, or uncaught
-+ * exception. */
-+ leave_cleanup(&cs);
-+ # endif
- }
- else
- handle_swap_exists(NULL);
-***************
-*** 4250,4255 ****
---- 4296,4306 ----
- (void)vgetc(); /* only break the file loading, not the rest */
- break;
- }
-+ #ifdef FEAT_EVAL
-+ /* Autocommands deleted the buffer or aborted script processing!!! */
-+ if (aborting())
-+ break;
-+ #endif
- }
- #ifdef FEAT_AUTOCMD
- --autocmd_no_enter;
-*** ../vim-6.3.039/src/ex_docmd.c Wed Jun 9 14:59:11 2004
---- src/ex_docmd.c Sun Dec 5 15:24:08 2004
-***************
-*** 6610,6619 ****
---- 6610,6633 ----
- need_hide = (curbufIsChanged() && curbuf->b_nwindows <= 1);
- if (!need_hide || P_HID(curbuf))
- {
-+ # if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
-+ cleanup_T cs;
-+
-+ /* Reset the error/interrupt/exception state here so that
-+ * aborting() returns FALSE when closing a window. */
-+ enter_cleanup(&cs);
-+ # endif
- # ifdef FEAT_GUI
- need_mouse_correct = TRUE;
- # endif
- win_close(curwin, !need_hide && !P_HID(curbuf));
-+
-+ # if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL)
-+ /* Restore the error/interrupt/exception state if not
-+ * discarded by a new aborting error, interrupt, or
-+ * uncaught exception. */
-+ leave_cleanup(&cs);
-+ # endif
- }
- }
- #endif
-*** ../vim-6.3.039/src/ex_eval.c Wed Jun 9 14:56:26 2004
---- src/ex_eval.c Sun Dec 5 15:25:04 2004
-***************
-*** 1820,1825 ****
---- 1820,1979 ----
- }
-
- /*
-+ * enter_cleanup() and leave_cleanup()
-+ *
-+ * Functions to be called before/after invoking a sequence of autocommands for
-+ * cleanup for a failed command. (Failure means here that a call to emsg()
-+ * has been made, an interrupt occurred, or there is an uncaught exception
-+ * from a previous autocommand execution of the same command.)
-+ *
-+ * Call enter_cleanup() with a pointer to a cleanup_T and pass the same
-+ * pointer to leave_cleanup(). The cleanup_T structure stores the pending
-+ * error/interrupt/exception state.
-+ */
-+
-+ /*
-+ * This function works a bit like ex_finally() except that there was not
-+ * actually an extra try block around the part that failed and an error or
-+ * interrupt has not (yet) been converted to an exception. This function
-+ * saves the error/interrupt/ exception state and prepares for the call to
-+ * do_cmdline() that is going to be made for the cleanup autocommand
-+ * execution.
-+ */
-+ void
-+ enter_cleanup(csp)
-+ cleanup_T *csp;
-+ {
-+ int pending = CSTP_NONE;
-+
-+ /*
-+ * Postpone did_emsg, got_int, did_throw. The pending values will be
-+ * restored by leave_cleanup() except if there was an aborting error,
-+ * interrupt, or uncaught exception after this function ends.
-+ */
-+ if (did_emsg || got_int || did_throw || need_rethrow)
-+ {
-+ csp->pending = (did_emsg ? CSTP_ERROR : 0)
-+ | (got_int ? CSTP_INTERRUPT : 0)
-+ | (did_throw ? CSTP_THROW : 0)
-+ | (need_rethrow ? CSTP_THROW : 0);
-+
-+ /* If we are currently throwing an exception (did_throw), save it as
-+ * well. On an error not yet converted to an exception, update
-+ * "force_abort" and reset "cause_abort" (as do_errthrow() would do).
-+ * This is needed for the do_cmdline() call that is going to be made
-+ * for autocommand execution. We need not save *msg_list because
-+ * there is an extra instance for every call of do_cmdline(), anyway.
-+ */
-+ if (did_throw || need_rethrow)
-+ csp->exception = current_exception;
-+ else
-+ {
-+ csp->exception = NULL;
-+ if (did_emsg)
-+ {
-+ force_abort |= cause_abort;
-+ cause_abort = FALSE;
-+ }
-+ }
-+ did_emsg = got_int = did_throw = need_rethrow = FALSE;
-+
-+ /* Report if required by the 'verbose' option or when debugging. */
-+ report_make_pending(pending, csp->exception);
-+ }
-+ else
-+ {
-+ csp->pending = CSTP_NONE;
-+ csp->exception = NULL;
-+ }
-+ }
-+
-+ /*
-+ * See comment above enter_cleanup() for how this function is used.
-+ *
-+ * This function is a bit like ex_endtry() except that there was not actually
-+ * an extra try block around the part that failed and an error or interrupt
-+ * had not (yet) been converted to an exception when the cleanup autocommand
-+ * sequence was invoked.
-+ *
-+ * This function has to be called with the address of the cleanup_T structure
-+ * filled by enter_cleanup() as an argument; it restores the error/interrupt/
-+ * exception state saved by that function - except there was an aborting
-+ * error, an interrupt or an uncaught exception during execution of the
-+ * cleanup autocommands. In the latter case, the saved error/interrupt/
-+ * exception state is discarded.
-+ */
-+ void
-+ leave_cleanup(csp)
-+ cleanup_T *csp;
-+ {
-+ int pending = csp->pending;
-+
-+ if (pending == CSTP_NONE) /* nothing to do */
-+ return;
-+
-+ /* If there was an aborting error, an interrupt, or an uncaught exception
-+ * after the corresponding call to enter_cleanup(), discard what has been
-+ * made pending by it. Report this to the user if required by the
-+ * 'verbose' option or when debugging. */
-+ if (aborting() || need_rethrow)
-+ {
-+ if (pending & CSTP_THROW)
-+ /* Cancel the pending exception (includes report). */
-+ discard_exception((except_T *)csp->exception, FALSE);
-+ else
-+ report_discard_pending(pending, NULL);
-+
-+ /* If an error was about to be converted to an exception when
-+ * enter_cleanup() was called, free the message list. */
-+ free_msglist(*msg_list);
-+ *msg_list = NULL;
-+ }
-+
-+ /*
-+ * If there was no new error, interrupt, or throw between the calls
-+ * to enter_cleanup() and leave_cleanup(), restore the pending
-+ * error/interrupt/exception state.
-+ */
-+ else
-+ {
-+ /*
-+ * If there was an exception being thrown when enter_cleanup() was
-+ * called, we need to rethrow it. Make it the exception currently
-+ * being thrown.
-+ */
-+ if (pending & CSTP_THROW)
-+ current_exception = csp->exception;
-+
-+ /*
-+ * If an error was about to be converted to an exception when
-+ * enter_cleanup() was called, let "cause_abort" take the part of
-+ * "force_abort" (as done by cause_errthrow()).
-+ */
-+ else if (pending & CSTP_ERROR)
-+ {
-+ cause_abort = force_abort;
-+ force_abort = FALSE;
-+ }
-+
-+ /*
-+ * Restore the pending values of did_emsg, got_int, and did_throw.
-+ */
-+ if (pending & CSTP_ERROR)
-+ did_emsg = TRUE;
-+ if (pending & CSTP_INTERRUPT)
-+ got_int = TRUE;
-+ if (pending & CSTP_THROW)
-+ need_rethrow = TRUE; /* did_throw will be set by do_one_cmd() */
-+
-+ /* Report if required by the 'verbose' option or when debugging. */
-+ report_resume_pending(pending,
-+ (pending & CSTP_THROW) ? (void *)current_exception : NULL);
-+ }
-+ }
-+
-+
-+ /*
- * Make conditionals inactive and discard what's pending in finally clauses
- * until the conditional type searched for or a try conditional not in its
- * finally clause is reached. If this is in an active catch clause, finish the
-*** ../vim-6.3.039/src/proto/ex_eval.pro Wed Jun 9 14:56:24 2004
---- src/proto/ex_eval.pro Sun Dec 5 15:25:27 2004
-***************
-*** 23,28 ****
---- 23,30 ----
- void ex_catch __ARGS((exarg_T *eap));
- void ex_finally __ARGS((exarg_T *eap));
- void ex_endtry __ARGS((exarg_T *eap));
-+ void enter_cleanup __ARGS((cleanup_T *csp));
-+ void leave_cleanup __ARGS((cleanup_T *csp));
- int cleanup_conditionals __ARGS((struct condstack *cstack, int searched_cond, int inclusive));
- void ex_endfunction __ARGS((exarg_T *eap));
- int has_while_cmd __ARGS((char_u *p));
-*** ../vim-6.3.039/src/structs.h Sat Sep 18 20:28:07 2004
---- src/structs.h Sun Dec 5 15:26:11 2004
-***************
-*** 665,670 ****
---- 665,681 ----
- #define ET_ERROR 1 /* error exception */
- #define ET_INTERRUPT 2 /* interrupt exception triggered by Ctrl-C */
-
-+ /*
-+ * Structure to save the error/interrupt/exception state between calls to
-+ * enter_cleanup() and leave_cleanup(). Must be allocated as an automatic
-+ * variable by the (common) caller of these functions.
-+ */
-+ typedef struct cleanup_stuff cleanup_T;
-+ struct cleanup_stuff
-+ {
-+ int pending; /* error/interrupt/exception state */
-+ except_T *exception; /* exception value */
-+ };
-
- #ifdef FEAT_SYN_HL
- /* struct passed to in_id_list() */
-*** ../vim-6.3.039/src/vim.h Sat Sep 4 19:43:59 2004
---- src/vim.h Sun Dec 5 15:26:56 2004
-***************
-*** 714,720 ****
- #define BLN_CURBUF 1 /* May re-use curbuf for new buffer */
- #define BLN_LISTED 2 /* Put new buffer in buffer list */
- #define BLN_DUMMY 4 /* Allocating dummy buffer */
-- #define BLN_FORCE 8 /* Don't abort on error */
-
- /* Values for in_cinkeys() */
- #define KEY_OPEN_FORW 0x101
---- 714,719 ----
-*** ../vim-6.3.039/src/version.c Sun Dec 5 14:57:15 2004
---- src/version.c Sun Dec 5 16:16:22 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 40,
- /**/
-
---
-If your company is not involved in something called "ISO 9000" you probably
-have no idea what it is. If your company _is_ involved in ISO 9000 then you
-definitely have no idea what it is.
- (Scott Adams - The Dilbert principle)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.041 (extra)
-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.3.041 (extra)
-Problem: Win32: When the path to a file has Russian characters, ":cd %:p:h"
- doesn't work. (Valery Kondakoff)
-Solution: Use a wide function to change directory.
-Files: src/os_mswin.c
-
-
-*** ../vim-6.3.040/src/os_mswin.c Sun Sep 5 20:48:38 2004
---- src/os_mswin.c Sun Dec 5 16:39:37 2004
-***************
-*** 633,638 ****
---- 633,655 ----
- if (*path == NUL) /* drive name only */
- return 0;
-
-+ #ifdef FEAT_MBYTE
-+ if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
-+ {
-+ WCHAR *p = enc_to_ucs2(path, NULL);
-+ int n;
-+
-+ if (p != NULL)
-+ {
-+ n = _wchdir(p);
-+ vim_free(p);
-+ if (n == 0)
-+ return 0;
-+ /* Retry with non-wide function (for Windows 98). */
-+ }
-+ }
-+ #endif
-+
- return chdir(path); /* let the normal chdir() do the rest */
- }
-
-*** ../vim-6.3.040/src/version.c Sun Dec 5 16:18:46 2004
---- src/version.c Sun Dec 5 16:42:01 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 41,
- /**/
-
---
-For large projects, Team Leaders use sophisticated project management software
-to keep track of who's doing what. The software collects the lies and guesses
-of the project team and organizes them in to instantly outdated charts that
-are too boring to look at closely. This is called "planning".
- (Scott Adams - The Dilbert principle)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.042
-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.3.042
-Problem: When there is a closed fold at the top of the window, CTRL-X
- CTRL-E in Insert mode reduces the size of the fold instead of
- scrolling the text up. (Gautam)
-Solution: Scroll over the closed fold.
-Files: src/move.c
-
-
-*** ../vim-6.3.041/src/move.c Wed Jun 9 14:56:26 2004
---- src/move.c Mon Dec 6 11:49:22 2004
-***************
-*** 1551,1557 ****
---- 1551,1562 ----
- --curwin->w_topfill;
- else
- #endif
-+ {
-+ #ifdef FEAT_FOLDING
-+ (void)hasFolding(curwin->w_topline, NULL, &curwin->w_topline);
-+ #endif
- ++curwin->w_topline;
-+ }
- ++curwin->w_botline; /* approximate w_botline */
- curwin->w_valid &= ~(VALID_WROW|VALID_CROW|VALID_BOTLINE);
- }
-*** ../vim-6.3.041/src/version.c Sun Dec 5 16:43:06 2004
---- src/version.c Mon Dec 6 11:48:43 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 42,
- /**/
-
---
-A salesperson says: Translation:
-"backward compatible" Old technology
-"Premium" Overpriced
-"Can't keep it on the shelf" Unavailable
-"Stands alone" Piece of shit
-"Proprietary" Incompatible
- (Scott Adams - The Dilbert principle)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.043
-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.3.043
-Problem: 'hlsearch' highlighting sometimes disappears when inserting text
- in PHP code with syntax highlighting. (Marcel Svitalsky)
-Solution: Don't use pointers to remember where a match was found, use an
- index. The pointers may become invalid when searching in other
- lines.
-Files: src/screen.c
-
-
-*** ../vim-6.3.042/src/screen.c Sun Dec 5 14:57:15 2004
---- src/screen.c Tue Dec 7 13:09:09 2004
-***************
-*** 110,117 ****
- int attr; /* attributes to be used for a match */
- int attr_cur; /* attributes currently active in win_line() */
- linenr_T first_lnum; /* first lnum to search for multi-line pat */
-! char_u *startp; /* in win_line() points to char where HL starts */
-! char_u *endp; /* in win_line() points to char where HL ends */
- } match_T;
-
- static match_T search_hl; /* used for 'hlsearch' highlight matching */
---- 110,117 ----
- int attr; /* attributes to be used for a match */
- int attr_cur; /* attributes currently active in win_line() */
- linenr_T first_lnum; /* first lnum to search for multi-line pat */
-! colnr_T startcol; /* in win_line() points to char where HL starts */
-! colnr_T endcol; /* in win_line() points to char where HL ends */
- } match_T;
-
- static match_T search_hl; /* used for 'hlsearch' highlight matching */
-***************
-*** 926,932 ****
-
- /* When a change starts above w_topline and the end is below
- * w_topline, start redrawing at w_topline.
-! * If the end of the change is above w_topline: do like no changes was
- * made, but redraw the first line to find changes in syntax. */
- if (mod_top != 0 && mod_top < wp->w_topline)
- {
---- 926,932 ----
-
- /* When a change starts above w_topline and the end is below
- * w_topline, start redrawing at w_topline.
-! * If the end of the change is above w_topline: do like no change was
- * made, but redraw the first line to find changes in syntax. */
- if (mod_top != 0 && mod_top < wp->w_topline)
- {
-***************
-*** 2896,2903 ****
- shl = &search_hl;
- for (;;)
- {
-! shl->startp = NULL;
-! shl->endp = NULL;
- shl->attr_cur = 0;
- if (shl->rm.regprog != NULL)
- {
---- 2896,2903 ----
- shl = &search_hl;
- for (;;)
- {
-! shl->startcol = MAXCOL;
-! shl->endcol = MAXCOL;
- shl->attr_cur = 0;
- if (shl->rm.regprog != NULL)
- {
-***************
-*** 2912,2936 ****
- if (shl->lnum != 0 && shl->lnum <= lnum)
- {
- if (shl->lnum == lnum)
-! shl->startp = line + shl->rm.startpos[0].col;
- else
-! shl->startp = line;
- if (lnum == shl->lnum + shl->rm.endpos[0].lnum
- - shl->rm.startpos[0].lnum)
-! shl->endp = line + shl->rm.endpos[0].col;
- else
-! shl->endp = line + MAXCOL;
- /* Highlight one character for an empty match. */
-! if (shl->startp == shl->endp)
- {
- #ifdef FEAT_MBYTE
-! if (has_mbyte && *shl->endp != NUL)
-! shl->endp += (*mb_ptr2len_check)(shl->endp);
- else
- #endif
-! ++shl->endp;
- }
-! if (shl->startp < ptr) /* match at leftcol */
- {
- shl->attr_cur = shl->attr;
- search_attr = shl->attr;
---- 2912,2936 ----
- if (shl->lnum != 0 && shl->lnum <= lnum)
- {
- if (shl->lnum == lnum)
-! shl->startcol = shl->rm.startpos[0].col;
- else
-! shl->startcol = 0;
- if (lnum == shl->lnum + shl->rm.endpos[0].lnum
- - shl->rm.startpos[0].lnum)
-! shl->endcol = shl->rm.endpos[0].col;
- else
-! shl->endcol = MAXCOL;
- /* Highlight one character for an empty match. */
-! if (shl->startcol == shl->endcol)
- {
- #ifdef FEAT_MBYTE
-! if (has_mbyte && line[shl->endcol] != NUL)
-! shl->endcol += (*mb_ptr2len_check)(line + shl->endcol);
- else
- #endif
-! ++shl->endcol;
- }
-! if ((long)shl->startcol < v) /* match at leftcol */
- {
- shl->attr_cur = shl->attr;
- search_attr = shl->attr;
-***************
-*** 3193,3214 ****
- * Do this first for search_hl, then for match_hl, so that
- * ":match" overrules 'hlsearch'.
- */
- shl = &search_hl;
- for (;;)
- {
- while (shl->rm.regprog != NULL)
- {
-! if (shl->startp != NULL
-! && ptr >= shl->startp
-! && ptr < shl->endp)
- {
- shl->attr_cur = shl->attr;
- }
-! else if (ptr == shl->endp)
- {
- shl->attr_cur = 0;
-
-- v = (long)(ptr - line);
- next_search_hl(wp, shl, lnum, (colnr_T)v);
-
- /* Need to get the line again, a multi-line regexp
---- 3193,3214 ----
- * Do this first for search_hl, then for match_hl, so that
- * ":match" overrules 'hlsearch'.
- */
-+ v = (long)(ptr - line);
- shl = &search_hl;
- for (;;)
- {
- while (shl->rm.regprog != NULL)
- {
-! if (shl->startcol != MAXCOL
-! && v >= (long)shl->startcol
-! && v < (long)shl->endcol)
- {
- shl->attr_cur = shl->attr;
- }
-! else if (v == (long)shl->endcol)
- {
- shl->attr_cur = 0;
-
- next_search_hl(wp, shl, lnum, (colnr_T)v);
-
- /* Need to get the line again, a multi-line regexp
-***************
-*** 3218,3240 ****
-
- if (shl->lnum == lnum)
- {
-! shl->startp = line + shl->rm.startpos[0].col;
- if (shl->rm.endpos[0].lnum == 0)
-! shl->endp = line + shl->rm.endpos[0].col;
- else
-! shl->endp = line + MAXCOL;
-
-! if (shl->startp == shl->endp)
- {
- /* highlight empty match, try again after
- * it */
- #ifdef FEAT_MBYTE
- if (has_mbyte)
-! shl->endp +=
-! (*mb_ptr2len_check)(shl->endp);
- else
- #endif
-! ++shl->endp;
- }
-
- /* Loop to check if the match starts at the
---- 3218,3240 ----
-
- if (shl->lnum == lnum)
- {
-! shl->startcol = shl->rm.startpos[0].col;
- if (shl->rm.endpos[0].lnum == 0)
-! shl->endcol = shl->rm.endpos[0].col;
- else
-! shl->endcol = MAXCOL;
-
-! if (shl->startcol == shl->endcol)
- {
- /* highlight empty match, try again after
- * it */
- #ifdef FEAT_MBYTE
- if (has_mbyte)
-! shl->endcol += (*mb_ptr2len_check)(line
-! + shl->endcol);
- else
- #endif
-! ++shl->endcol;
- }
-
- /* Loop to check if the match starts at the
-***************
-*** 3868,3875 ****
- && ((area_attr != 0 && vcol == fromcol)
- #ifdef FEAT_SEARCH_EXTRA
- /* highlight 'hlsearch' match at end of line */
-! || ptr - 1 == search_hl.startp
-! || ptr - 1 == match_hl.startp
- #endif
- ))
- {
---- 3868,3875 ----
- && ((area_attr != 0 && vcol == fromcol)
- #ifdef FEAT_SEARCH_EXTRA
- /* highlight 'hlsearch' match at end of line */
-! || (ptr - line) - 1 == (long)search_hl.startcol
-! || (ptr - line) - 1 == (long)match_hl.startcol
- #endif
- ))
- {
-***************
-*** 3906,3912 ****
- #ifdef FEAT_SEARCH_EXTRA
- if (area_attr == 0)
- {
-! if (ptr - 1 == match_hl.startp)
- char_attr = match_hl.attr;
- else
- char_attr = search_hl.attr;
---- 3906,3912 ----
- #ifdef FEAT_SEARCH_EXTRA
- if (area_attr == 0)
- {
-! if ((ptr - line) - 1 == (long)match_hl.startcol)
- char_attr = match_hl.attr;
- else
- char_attr = search_hl.attr;
-*** ../vim-6.3.042/src/version.c Mon Dec 6 11:51:12 2004
---- src/version.c Tue Dec 7 12:57:14 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 43,
- /**/
-
---
-A)bort, R)etry, P)lease don't bother me again
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.044 (extra)
-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.3.044 (extra)
-Problem: Mac: When 'linespace' is non-zero the Insert mode cursor leaves
- pixels behind. (Richard Sandilands)
-Solution: Erase the character cell before drawing the text when needed.
-Files: src/gui_mac.c
-
-
-*** ../vim-6.3.043/src/gui_mac.c Wed Jun 9 14:56:27 2004
---- src/gui_mac.c Wed Dec 8 21:48:12 2004
-***************
-*** 3560,3565 ****
---- 3560,3586 ----
- (void)SwapQDTextFlags(qd_flags);
- }
-
-+ /*
-+ * When antialiasing we're using srcOr mode, we have to clear the block
-+ * before drawing the text.
-+ * Also needed when 'linespace' is non-zero to remove the cursor and
-+ * underlining.
-+ * But not when drawing transparently.
-+ * The following is like calling gui_mch_clear_block(row, col, row, col +
-+ * len - 1), but without setting the bg color to gui.back_pixel.
-+ */
-+ if (((sys_version >= 0x1020 && p_antialias) || p_linespace != 0)
-+ && !(flags & DRAW_TRANSP))
-+ {
-+ Rect rc;
-+
-+ rc.left = FILL_X(col);
-+ rc.top = FILL_Y(row);
-+ rc.right = FILL_X(col + len) + (col + len == Columns);
-+ rc.bottom = FILL_Y(row + 1);
-+ EraseRect(&rc);
-+ }
-+
- if (sys_version >= 0x1020 && p_antialias)
- {
- StyleParameter face;
-***************
-*** 3573,3594 ****
-
- /* Quartz antialiasing works only in srcOr transfer mode. */
- TextMode(srcOr);
--
-- if (!(flags & DRAW_TRANSP))
-- {
-- /*
-- * Since we're using srcOr mode, we have to clear the block
-- * before drawing the text. The following is like calling
-- * gui_mch_clear_block(row, col, row, col + len - 1),
-- * but without setting the bg color to gui.back_pixel.
-- */
-- Rect rc;
-- rc.left = FILL_X(col);
-- rc.top = FILL_Y(row);
-- rc.right = FILL_X(col + len) + (col + len == Columns);
-- rc.bottom = FILL_Y(row + 1);
-- EraseRect(&rc);
-- }
-
- MoveTo(TEXT_X(col), TEXT_Y(row));
- DrawText((char*)s, 0, len);
---- 3594,3599 ----
-*** ../vim-6.3.043/src/version.c Tue Dec 7 13:12:08 2004
---- src/version.c Wed Dec 8 21:50:21 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 44,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-27. You refer to your age as 3.x.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.045
-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.3.045
-Problem: Unusual characters in an option value may cause unexpected
- behavior, especially for a modeline. (Ciaran McCreesh)
-Solution: Don't allow setting termcap options or 'printdevice' or
- 'titleold' in a modeline. Don't list options for "termcap"
- and "all" in a modeline. Don't allow unusual characters in
- 'filetype', 'syntax', 'backupext', 'keymap', 'patchmode' and
- 'langmenu'.
-Files: src/option.c, runtime/doc/options.txt
-
-
-*** ../vim-6.3.044/src/option.c Mon Sep 13 16:36:12 2004
---- src/option.c Thu Dec 9 15:41:03 2004
-***************
-*** 293,298 ****
---- 293,299 ----
- #define P_SECURE 0x40000L/* cannot change in modeline or secure mode */
- #define P_GETTEXT 0x80000L/* expand default value with _() */
- #define P_NOGLOB 0x100000L/* do not use local value for global vimrc */
-+ #define P_NFNAME 0x200000L/* only normal file name chars allowed */
-
- /*
- * options[] is initialized here.
-***************
-*** 413,419 ****
- {"backupdir", "bdir", P_STRING|P_EXPAND|P_VI_DEF|P_COMMA|P_NODUP|P_SECURE,
- (char_u *)&p_bdir, PV_NONE,
- {(char_u *)DFLT_BDIR, (char_u *)0L}},
-! {"backupext", "bex", P_STRING|P_VI_DEF,
- (char_u *)&p_bex, PV_NONE,
- {
- #ifdef VMS
---- 414,420 ----
- {"backupdir", "bdir", P_STRING|P_EXPAND|P_VI_DEF|P_COMMA|P_NODUP|P_SECURE,
- (char_u *)&p_bdir, PV_NONE,
- {(char_u *)DFLT_BDIR, (char_u *)0L}},
-! {"backupext", "bex", P_STRING|P_VI_DEF|P_NFNAME,
- (char_u *)&p_bex, PV_NONE,
- {
- #ifdef VMS
-***************
-*** 846,852 ****
- {"fileformats", "ffs", P_STRING|P_VIM|P_COMMA|P_NODUP,
- (char_u *)&p_ffs, PV_NONE,
- {(char_u *)DFLT_FFS_VI, (char_u *)DFLT_FFS_VIM}},
-! {"filetype", "ft", P_STRING|P_ALLOCED|P_VI_DEF|P_NOGLOB,
- #ifdef FEAT_AUTOCMD
- (char_u *)&p_ft, PV_FT,
- {(char_u *)"", (char_u *)0L}
---- 847,853 ----
- {"fileformats", "ffs", P_STRING|P_VIM|P_COMMA|P_NODUP,
- (char_u *)&p_ffs, PV_NONE,
- {(char_u *)DFLT_FFS_VI, (char_u *)DFLT_FFS_VIM}},
-! {"filetype", "ft", P_STRING|P_ALLOCED|P_VI_DEF|P_NOGLOB|P_NFNAME,
- #ifdef FEAT_AUTOCMD
- (char_u *)&p_ft, PV_FT,
- {(char_u *)"", (char_u *)0L}
-***************
-*** 1284,1290 ****
- {(char_u *)0L, (char_u *)0L}
- #endif
- },
-! {"keymap", "kmp", P_STRING|P_ALLOCED|P_VI_DEF|P_RBUF|P_RSTAT,
- #ifdef FEAT_KEYMAP
- (char_u *)&p_keymap, PV_KMAP,
- {(char_u *)"", (char_u *)0L}
---- 1285,1291 ----
- {(char_u *)0L, (char_u *)0L}
- #endif
- },
-! {"keymap", "kmp", P_STRING|P_ALLOCED|P_VI_DEF|P_RBUF|P_RSTAT|P_NFNAME,
- #ifdef FEAT_KEYMAP
- (char_u *)&p_keymap, PV_KMAP,
- {(char_u *)"", (char_u *)0L}
-***************
-*** 1330,1336 ****
- {(char_u *)NULL,
- #endif
- (char_u *)0L}},
-! {"langmenu", "lm", P_STRING|P_VI_DEF,
- #if defined(FEAT_MENU) && defined(FEAT_MULTI_LANG)
- (char_u *)&p_lm, PV_NONE,
- #else
---- 1331,1337 ----
- {(char_u *)NULL,
- #endif
- (char_u *)0L}},
-! {"langmenu", "lm", P_STRING|P_VI_DEF|P_NFNAME,
- #if defined(FEAT_MENU) && defined(FEAT_MULTI_LANG)
- (char_u *)&p_lm, PV_NONE,
- #else
-***************
-*** 1562,1568 ****
- {(char_u *)0L, (char_u *)0L}
- #endif
- },
-! {"patchmode", "pm", P_STRING|P_VI_DEF,
- (char_u *)&p_pm, PV_NONE,
- {(char_u *)"", (char_u *)0L}},
- {"path", "pa", P_STRING|P_EXPAND|P_VI_DEF|P_COMMA|P_NODUP,
---- 1563,1569 ----
- {(char_u *)0L, (char_u *)0L}
- #endif
- },
-! {"patchmode", "pm", P_STRING|P_VI_DEF|P_NFNAME,
- (char_u *)&p_pm, PV_NONE,
- {(char_u *)"", (char_u *)0L}},
- {"path", "pa", P_STRING|P_EXPAND|P_VI_DEF|P_COMMA|P_NODUP,
-***************
-*** 1595,1601 ****
- (char_u *)NULL, PV_NONE,
- #endif
- {(char_u *)FALSE, (char_u *)0L}},
-! {"printdevice", "pdev", P_STRING|P_VI_DEF,
- #ifdef FEAT_PRINTER
- (char_u *)&p_pdev, PV_NONE,
- {(char_u *)"", (char_u *)0L}
---- 1596,1602 ----
- (char_u *)NULL, PV_NONE,
- #endif
- {(char_u *)FALSE, (char_u *)0L}},
-! {"printdevice", "pdev", P_STRING|P_VI_DEF|P_SECURE,
- #ifdef FEAT_PRINTER
- (char_u *)&p_pdev, PV_NONE,
- {(char_u *)"", (char_u *)0L}
-***************
-*** 1981,1987 ****
- {"switchbuf", "swb", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
- (char_u *)&p_swb, PV_NONE,
- {(char_u *)"", (char_u *)0L}},
-! {"syntax", "syn", P_STRING|P_ALLOCED|P_VI_DEF|P_NOGLOB,
- #ifdef FEAT_SYN_HL
- (char_u *)&p_syn, PV_SYN,
- {(char_u *)"", (char_u *)0L}
---- 1982,1988 ----
- {"switchbuf", "swb", P_STRING|P_VI_DEF|P_COMMA|P_NODUP,
- (char_u *)&p_swb, PV_NONE,
- {(char_u *)"", (char_u *)0L}},
-! {"syntax", "syn", P_STRING|P_ALLOCED|P_VI_DEF|P_NOGLOB|P_NFNAME,
- #ifdef FEAT_SYN_HL
- (char_u *)&p_syn, PV_SYN,
- {(char_u *)"", (char_u *)0L}
-***************
-*** 2086,2092 ****
- (char_u *)NULL, PV_NONE,
- #endif
- {(char_u *)85L, (char_u *)0L}},
-! {"titleold", NULL, P_STRING|P_VI_DEF|P_GETTEXT,
- #ifdef FEAT_TITLE
- (char_u *)&p_titleold, PV_NONE,
- {(char_u *)N_("Thanks for flying Vim"),
---- 2087,2093 ----
- (char_u *)NULL, PV_NONE,
- #endif
- {(char_u *)85L, (char_u *)0L}},
-! {"titleold", NULL, P_STRING|P_VI_DEF|P_GETTEXT|P_SECURE,
- #ifdef FEAT_TITLE
- (char_u *)&p_titleold, PV_NONE,
- {(char_u *)N_("Thanks for flying Vim"),
-***************
-*** 2321,2327 ****
- {(char_u *)0L, (char_u *)0L}},
-
- /* terminal output codes */
-! #define p_term(sss, vvv) {sss, NULL, P_STRING|P_VI_DEF|P_RALL, \
- (char_u *)&vvv, PV_NONE, \
- {(char_u *)"", (char_u *)0L}},
-
---- 2322,2328 ----
- {(char_u *)0L, (char_u *)0L}},
-
- /* terminal output codes */
-! #define p_term(sss, vvv) {sss, NULL, P_STRING|P_VI_DEF|P_RALL|P_SECURE, \
- (char_u *)&vvv, PV_NONE, \
- {(char_u *)"", (char_u *)0L}},
-
-***************
-*** 3310,3316 ****
- errmsg = NULL;
- startarg = arg; /* remember for error message */
-
-! if (STRNCMP(arg, "all", 3) == 0 && !isalpha(arg[3]))
- {
- /*
- * ":set all" show all options.
---- 3311,3318 ----
- errmsg = NULL;
- startarg = arg; /* remember for error message */
-
-! if (STRNCMP(arg, "all", 3) == 0 && !isalpha(arg[3])
-! && !(opt_flags & OPT_MODELINE))
- {
- /*
- * ":set all" show all options.
-***************
-*** 3326,3332 ****
- else
- showoptions(1, opt_flags);
- }
-! else if (STRNCMP(arg, "termcap", 7) == 0)
- {
- showoptions(2, opt_flags);
- show_termcodes();
---- 3328,3334 ----
- else
- showoptions(1, opt_flags);
- }
-! else if (STRNCMP(arg, "termcap", 7) == 0 && !(opt_flags & OPT_MODELINE))
- {
- showoptions(2, opt_flags);
- show_termcodes();
-***************
-*** 4611,4616 ****
---- 4613,4627 ----
- ) && (options[opt_idx].flags & P_SECURE))
- {
- errmsg = e_secure;
-+ }
-+
-+ /* Check for a "normal" file name in some options. Disallow a path
-+ * separator (slash and/or backslash), wildcards and characters that are
-+ * often illegal in a file name. */
-+ else if ((options[opt_idx].flags & P_NFNAME)
-+ && vim_strpbrk(*varp, "/\\*?[|<>") != NULL)
-+ {
-+ errmsg = e_invarg;
- }
-
- /* 'term' */
-*** ../vim-6.3.044/runtime/doc/options.txt Wed Jun 9 14:56:28 2004
---- runtime/doc/options.txt Thu Dec 9 16:39:07 2004
-***************
-*** 1,4 ****
-! *options.txt* For Vim version 6.3. Last change: 2004 Jun 01
-
-
- VIM REFERENCE MANUAL by Bram Moolenaar
---- 1,4 ----
-! *options.txt* For Vim version 6.3. Last change: 2004 Dec 09
-
-
- VIM REFERENCE MANUAL by Bram Moolenaar
-***************
-*** 139,144 ****
---- 139,147 ----
- (the ^[ is a real <Esc> here, use CTRL-V <Esc> to enter it)
- The advantage over a mapping is that it works in all situations.
-
-+ The t_xx options cannot be set from a |modeline| or in the |sandbox|, for
-+ security reasons.
-+
- The listing from ":set" looks different from Vi. Long string options are put
- at the end of the list. The number of options is quite large. The output of
- "set all" probably does not fit on the screen, causing Vim to give the
-***************
-*** 945,950 ****
---- 948,954 ----
- accidentally overwriting existing files with a backup file. You might
- prefer using ".bak", but make sure that you don't have files with
- ".bak" that you want to keep.
-+ Only normal file name characters can be used, "/\*?[|<>" are illegal.
-
- *'backupskip'* *'bsk'*
- 'backupskip' 'bsk' string (default: "/tmp/*,$TMPDIR/*,$TMP/*,$TEMP/*")
-***************
-*** 2407,2412 ****
---- 2411,2417 ----
- type that is actually stored with the file.
- This option is not copied to another buffer, independent of the 's' or
- 'S' flag in 'cpoptions'.
-+ Only normal file name characters can be used, "/\*?[|<>" are illegal.
-
- *'fillchars'* *'fcs'*
- 'fillchars' 'fcs' string (default "vert:|,fold:-")
-***************
-*** 3599,3604 ****
---- 3604,3610 ----
- Setting this option to a valid keymap name has the side effect of
- setting 'iminsert' to one, so that the keymap becomes effective.
- 'imsearch' is also set to one, unless it was -1
-+ Only normal file name characters can be used, "/\*?[|<>" are illegal.
-
- *'keymodel'* *'km'*
- 'keymodel' 'km' string (default "")
-***************
-*** 3690,3695 ****
---- 3696,3702 ----
- matter what $LANG is set to: >
- :set langmenu=nl_NL.ISO_8859-1
- < When 'langmenu' is empty, |v:lang| is used.
-+ Only normal file name characters can be used, "/\*?[|<>" are illegal.
- If your $LANG is set to a non-English language but you do want to use
- the English menus: >
- :set langmenu=none
-***************
-*** 4310,4315 ****
---- 4317,4323 ----
- Using 'patchmode' for compressed files appends the extension at the
- end (e.g., "file.gz.orig"), thus the resulting name isn't always
- recognized as a compressed file.
-+ Only normal file name characters can be used, "/\*?[|<>" are illegal.
-
- *'path'* *'pa'* *E343* *E345* *E347*
- 'path' 'pa' string (default on Unix: ".,/usr/include,,"
-***************
-*** 4424,4429 ****
---- 4432,4439 ----
- in the standard printer dialog.
- If the option is empty, then vim will use the system default printer
- for ":hardcopy!"
-+ This option cannot be set from a |modeline| or in the |sandbox|, for
-+ security reasons.
-
- *'printencoding'* *'penc'* *E620*
- 'printencoding' 'penc' String (default empty, except for:
-***************
-*** 5711,5716 ****
---- 5721,5727 ----
- Syntax autocommand event is triggered with the value as argument.
- This option is not copied to another buffer, independent of the 's' or
- 'S' flag in 'cpoptions'.
-+ Only normal file name characters can be used, "/\*?[|<>" are illegal.
-
- *'tabstop'* *'ts'*
- 'tabstop' 'ts' number (default 8)
-***************
-*** 6089,6094 ****
---- 6100,6107 ----
- This option will be used for the window title when exiting Vim if the
- original title cannot be restored. Only happens if 'title' is on or
- 'titlestring' is not empty.
-+ This option cannot be set from a |modeline| or in the |sandbox|, for
-+ security reasons.
- *'titlestring'*
- 'titlestring' string (default "")
- global
-*** ../vim-6.3.044/src/version.c Wed Dec 8 21:51:39 2004
---- src/version.c Thu Dec 9 16:23:34 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 45,
- /**/
-
---
-How To Keep A Healthy Level Of Insanity:
-7. Finish all your sentences with "in accordance with the prophecy".
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.046
-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.3.046
-Problem: ":registers" doesn't show multi-byte characters properly.
- (Valery Kondakoff)
-Solution: Get the length of each character before displaying it.
-Files: src/ops.c
-
-
-*** ../vim-6.3.045/src/ops.c Fri Jul 9 22:21:01 2004
---- src/ops.c Sat Dec 11 16:11:42 2004
-***************
-*** 3698,3703 ****
---- 3698,3708 ----
- int name;
- int attr;
- char_u *arg = eap->arg;
-+ #ifdef FEAT_MBYTE
-+ int clen;
-+ #else
-+ # define clen 1
-+ #endif
-
- if (arg != NULL && *arg == NUL)
- arg = NULL;
-***************
-*** 3745,3754 ****
- }
- for (p = yb->y_array[j]; *p && (n -= ptr2cells(p)) >= 0; ++p)
- {
-- msg_outtrans_len(p, 1);
- #ifdef FEAT_MBYTE
-! if (has_mbyte)
-! p += (*mb_ptr2len_check)(p) - 1;
- #endif
- }
- }
---- 3750,3761 ----
- }
- for (p = yb->y_array[j]; *p && (n -= ptr2cells(p)) >= 0; ++p)
- {
- #ifdef FEAT_MBYTE
-! clen = (*mb_ptr2len_check)(p);
-! #endif
-! msg_outtrans_len(p, clen);
-! #ifdef FEAT_MBYTE
-! p += clen - 1;
- #endif
- }
- }
-*** ../vim-6.3.045/src/version.c Thu Dec 9 16:41:39 2004
---- src/version.c Sat Dec 11 16:12:58 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 46,
- /**/
-
---
-This planet has -- or rather had -- a problem, which was this: most
-of the people living on it were unhappy for pretty much of the time.
-Many solutions were suggested for this problem, but most of these
-were largely concerned with the movements of small green pieces of
-paper, which is odd because on the whole it wasn't the small green
-pieces of paper that were unhappy.
- -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.047 (extra)
-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.3.047 (extra)
-Problem: Win32 with Borland C 5.5 on Windows XP: A new file is created with
- read-only attributes. (Tony Mechelynck)
-Solution: Don't use the _wopen() function for Borland.
-Files: src/os_win32.c
-
-
-*** ../vim-6.3.046/src/os_win32.c Wed Jun 9 14:56:26 2004
---- src/os_win32.c Wed Dec 15 15:35:41 2004
-***************
-*** 4460,4474 ****
- int
- mch_open(char *name, int flags, int mode)
- {
- WCHAR *wn;
- int f;
-
-! if (enc_codepage >= 0 && (int)GetACP() != enc_codepage
-! # ifdef __BORLANDC__
-! /* Wide functions of Borland C 5.5 do not work on Windows 98. */
-! && g_PlatformId == VER_PLATFORM_WIN32_NT
-! # endif
-! )
- {
- wn = enc_to_ucs2(name, NULL);
- if (wn != NULL)
---- 4460,4471 ----
- int
- mch_open(char *name, int flags, int mode)
- {
-+ /* _wopen() does not work with Borland C 5.5: creates a read-only file. */
-+ # ifndef __BORLANDC__
- WCHAR *wn;
- int f;
-
-! if (enc_codepage >= 0 && (int)GetACP() != enc_codepage)
- {
- wn = enc_to_ucs2(name, NULL);
- if (wn != NULL)
-***************
-*** 4482,4487 ****
---- 4479,4485 ----
- * the _wopen() fails for missing wide functions. */
- }
- }
-+ # endif
-
- return open(name, flags, mode);
- }
-*** ../vim-6.3.046/src/version.c Sat Dec 11 16:14:41 2004
---- src/version.c Wed Dec 15 15:35:51 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 47,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-60. As your car crashes through the guardrail on a mountain road, your first
- instinct is to search for the "back" button.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.048 (extra)
-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.3.048 (extra)
-Problem: Build problems with VMS on IA64.
-Solution: Add dependencies to the build file. (Zoltan Arpadffy)
-Files: src/Make_vms.mms
-
-
-*** ../vim-6.3.047/src/Make_vms.mms Wed Jun 9 14:56:27 2004
---- src/Make_vms.mms Thu Dec 16 10:19:30 2004
-***************
-*** 2,10 ****
- # Makefile for Vim on OpenVMS
- #
- # Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com>
-! # Last change: 2004 May 04
- #
-! # This has script been tested on VMS 6.2 to 7.3 on DEC Alpha and VAX
- # with MMS and MMK
- #
- # The following could be built:
---- 2,10 ----
- # Makefile for Vim on OpenVMS
- #
- # Maintainer: Zoltan Arpadffy <arpadffy@polarhome.com>
-! # Last change: 2004 Dec 16
- #
-! # This has script been tested on VMS 6.2 to 7.3 on DEC Alpha, VAX and IA64
- # with MMS and MMK
- #
- # The following could be built:
-***************
-*** 454,457 ****
- -@ !
- .ENDIF
-
-!
---- 454,735 ----
- -@ !
- .ENDIF
-
-! buffer.obj : buffer.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h version.h
-! charset.obj : charset.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! diff.obj : diff.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h
-! digraph.obj : digraph.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! edit.obj : edit.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h
-! eval.obj : eval.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h version.h
-! ex_cmds.obj : ex_cmds.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h version.h
-! ex_cmds2.obj : ex_cmds2.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h version.h
-! ex_docmd.obj : ex_docmd.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! ex_eval.obj : ex_eval.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! ex_getln.obj : ex_getln.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! fileio.obj : fileio.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! fold.obj : fold.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h
-! getchar.obj : getchar.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! if_cscope.obj : if_cscope.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h if_cscope.h
-! if_xcmdsrv.obj : if_xcmdsrv.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h version.h
-! main.obj : main.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h farsi.c arabic.c
-! mark.obj : mark.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h
-! memfile.obj : memfile.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! memline.obj : memline.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! menu.obj : menu.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h
-! message.obj : message.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! misc1.obj : misc1.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h version.h
-! misc2.obj : misc2.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h
-! move.obj : move.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h
-! mbyte.obj : mbyte.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h
-! normal.obj : normal.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! ops.obj : ops.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h
-! option.obj : option.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! os_unix.obj : os_unix.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h os_unixx.h
-! os_vms.obj : os_vms.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h os_unixx.h
-! pathdef.obj : pathdef.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! quickfix.obj : quickfix.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! regexp.obj : regexp.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! screen.obj : screen.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! search.obj : search.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! syntax.obj : syntax.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! tag.obj : tag.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h
-! term.obj : term.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h
-! termlib.obj : termlib.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h
-! ui.obj : ui.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h
-! undo.obj : undo.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h
-! version.obj : version.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h version.h
-! window.obj : window.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! gui.obj : gui.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h
-! gui_gtk.obj : gui_gtk.c gui_gtk_f.h vim.h [.auto]config.h feature.h \
-! os_unix.h ascii.h keymap.h term.h macros.h structs.h \
-! regexp.h gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h \
-! proto.h globals.h farsi.h arabic.h [-.pixmaps]stock_icons.h
-! gui_gtk_f.obj : gui_gtk_f.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h gui_gtk_f.h
-! gui_motif.obj : gui_motif.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h [-.pixmaps]alert.xpm [-.pixmaps]error.xpm \
-! [-.pixmaps]generic.xpm [-.pixmaps]info.xpm [-.pixmaps]quest.xpm
-! gui_athena.obj : gui_athena.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h gui_at_sb.h
-! gui_gtk_x11.obj : gui_gtk_x11.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h gui_gtk_f.h [-.runtime]vim32x32.xpm \
-! [-.runtime]vim16x16.xpm [-.runtime]vim48x48.xpm
-! gui_x11.obj : gui_x11.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h [-.runtime]vim32x32.xpm \
-! [-.runtime]vim16x16.xpm [-.runtime]vim48x48.xpm [-.pixmaps]tb_new.xpm \
-! [-.pixmaps]tb_open.xpm [-.pixmaps]tb_close.xpm [-.pixmaps]tb_save.xpm \
-! [-.pixmaps]tb_print.xpm [-.pixmaps]tb_cut.xpm [-.pixmaps]tb_copy.xpm \
-! [-.pixmaps]tb_paste.xpm [-.pixmaps]tb_find.xpm \
-! [-.pixmaps]tb_find_next.xpm [-.pixmaps]tb_find_prev.xpm \
-! [-.pixmaps]tb_find_help.xpm [-.pixmaps]tb_exit.xpm \
-! [-.pixmaps]tb_undo.xpm [-.pixmaps]tb_redo.xpm [-.pixmaps]tb_help.xpm \
-! [-.pixmaps]tb_macro.xpm [-.pixmaps]tb_make.xpm \
-! [-.pixmaps]tb_save_all.xpm [-.pixmaps]tb_jump.xpm \
-! [-.pixmaps]tb_ctags.xpm [-.pixmaps]tb_load_session.xpm \
-! [-.pixmaps]tb_save_session.xpm [-.pixmaps]tb_new_session.xpm \
-! [-.pixmaps]tb_blank.xpm [-.pixmaps]tb_maximize.xpm \
-! [-.pixmaps]tb_split.xpm [-.pixmaps]tb_minimize.xpm \
-! [-.pixmaps]tb_shell.xpm [-.pixmaps]tb_replace.xpm \
-! [-.pixmaps]tb_vsplit.xpm [-.pixmaps]tb_maxwidth.xpm \
-! [-.pixmaps]tb_minwidth.xpm
-! gui_at_sb.obj : gui_at_sb.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h gui_at_sb.h
-! gui_at_fs.obj : gui_at_fs.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h gui_at_sb.h
-! pty.obj : pty.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h gui.h gui_beval.h \
-! [.proto]gui_beval.pro option.h ex_cmds.h proto.h globals.h farsi.h \
-! arabic.h
-! hangulin.obj : hangulin.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! if_perl.obj : [.auto]if_perl.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! if_perlsfio.obj : if_perlsfio.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! if_python.obj : if_python.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! if_tcl.obj : if_tcl.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! if_ruby.obj : if_ruby.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h version.h
-! if_sniff.obj : if_sniff.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h os_unixx.h
-! gui_beval.obj : gui_beval.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h
-! workshop.obj : workshop.c [.auto]config.h integration.h vim.h feature.h \
-! os_unix.h ascii.h keymap.h term.h macros.h structs.h \
-! regexp.h gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h \
-! proto.h globals.h farsi.h arabic.h version.h workshop.h
-! wsdebug.obj : wsdebug.c
-! integration.obj : integration.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h integration.h
-! netbeans.obj : netbeans.c vim.h [.auto]config.h feature.h os_unix.h \
-! ascii.h keymap.h term.h macros.h structs.h regexp.h \
-! gui.h gui_beval.h [.proto]gui_beval.pro option.h ex_cmds.h proto.h \
-! globals.h farsi.h arabic.h version.h
-*** ../vim-6.3.047/src/version.c Wed Dec 15 15:38:56 2004
---- src/version.c Thu Dec 16 12:02:15 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 48,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-84. Books in your bookcase bear the names Bongo, WinSock and Inside OLE
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.049
-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.3.049 (after 6.3.045)
-Problem: Compiler warning for "char" vs "char_u" mixup. (Zoltan Arpadffy)
-Solution: Add a typecast.
-Files: src/option.c
-
-
-*** ../vim-6.3.048/src/option.c Thu Dec 9 16:41:39 2004
---- src/option.c Wed Dec 15 20:10:15 2004
-***************
-*** 4619,4625 ****
- * separator (slash and/or backslash), wildcards and characters that are
- * often illegal in a file name. */
- else if ((options[opt_idx].flags & P_NFNAME)
-! && vim_strpbrk(*varp, "/\\*?[|<>") != NULL)
- {
- errmsg = e_invarg;
- }
---- 4619,4625 ----
- * separator (slash and/or backslash), wildcards and characters that are
- * often illegal in a file name. */
- else if ((options[opt_idx].flags & P_NFNAME)
-! && vim_strpbrk(*varp, (char_u *)"/\\*?[|<>") != NULL)
- {
- errmsg = e_invarg;
- }
-*** ../vim-6.3.048/src/version.c Thu Dec 16 12:02:57 2004
---- src/version.c Thu Dec 16 12:04:28 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 49,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-85. Choice between paying Compuserve bill and paying for kids education
- is a no brainer -- although a bit painful for your kids.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.050
-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.3.050
-Problem: When SIGHUP is received while busy exiting, non-reentrant
- functions such as free() may cause a crash.
-Solution: Ignore SIGHUP when exiting because of an error. (Scott Anderson)
-Files: src/misc1.c, src/main.c
-
-
-*** ../vim-6.3.049/src/misc1.c Sat Sep 18 20:28:07 2004
---- src/misc1.c Thu Dec 16 12:13:01 2004
-***************
-*** 7544,7549 ****
---- 7544,7556 ----
- void
- prepare_to_exit()
- {
-+ #if defined(SIGHUP) && defined(SIG_IGN)
-+ /* Ignore SIGHUP, because a dropped connection causes a read error, which
-+ * makes Vim exit and then handling SIGHUP causes various reentrance
-+ * problems. */
-+ signal(SIGHUP, SIG_IGN);
-+ #endif
-+
- #ifdef FEAT_GUI
- if (gui.in_use)
- {
-*** ../vim-6.3.049/src/main.c Mon Aug 30 19:46:07 2004
---- src/main.c Thu Dec 16 12:09:56 2004
-***************
-*** 2193,2198 ****
---- 2193,2205 ----
- getout_preserve_modified(exitval)
- int exitval;
- {
-+ # if defined(SIGHUP) && defined(SIG_IGN)
-+ /* Ignore SIGHUP, because a dropped connection causes a read error, which
-+ * makes Vim exit and then handling SIGHUP causes various reentrance
-+ * problems. */
-+ signal(SIGHUP, SIG_IGN);
-+ # endif
-+
- ml_close_notmod(); /* close all not-modified buffers */
- ml_sync_all(FALSE, FALSE); /* preserve all swap files */
- ml_close_all(FALSE); /* close all memfiles, without deleting */
-*** ../vim-6.3.049/src/version.c Thu Dec 16 12:05:19 2004
---- src/version.c Thu Dec 16 12:33:16 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 50,
- /**/
-
---
-Ed's Radiator Shop: The Best Place in Town to Take a Leak.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.051
-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.3.051
-Problem: When 'wildmenu' is set and completed file names contain multi-byte
- characters Vim may crash.
-Solution: Reserve room for multi-byte characters. (Yasuhiro Matsumoto)
-Files: src/screen.c
-
-
-*** ../vim-6.3.050/src/screen.c Tue Dec 7 13:12:08 2004
---- src/screen.c Thu Dec 16 12:45:06 2004
-***************
-*** 4830,4836 ****
- if (matches == NULL) /* interrupted completion? */
- return;
-
-! buf = alloc((unsigned)Columns + 1);
- if (buf == NULL)
- return;
-
---- 4830,4841 ----
- if (matches == NULL) /* interrupted completion? */
- return;
-
-! #ifdef FEAT_MBYTE
-! if (has_mbyte)
-! buf = alloc((unsigned)Columns * MB_MAXBYTES + 1);
-! else
-! #endif
-! buf = alloc((unsigned)Columns + 1);
- if (buf == NULL)
- return;
-
-*** ../vim-6.3.050/src/version.c Thu Dec 16 12:41:08 2004
---- src/version.c Thu Dec 16 12:47:40 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 51,
- /**/
-
---
-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 \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.052 (extra)
-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.3.052 (extra)
-Problem: Windows 98: typed keys that are not ASCII may not work properly.
- For example with a Russian input method. (Jiri Jezdinsky)
-Solution: Assume that the characters arrive in the current codepage instead
- of UCS-2. Perform conversion based on that.
-Files: src/gui_w48.c
-
-
-*** ../vim-6.3.051/src/gui_w48.c Sat Dec 4 17:23:22 2004
---- src/gui_w48.c Sun Dec 5 19:34:54 2004
-***************
-*** 488,514 ****
- WCHAR wstring[2];
- char_u *ws = NULL;;
-
-! /* "ch" is a UTF-16 character. Convert it to a string of bytes. When
-! * "enc_codepage" is non-zero use the standard Win32 function, otherwise
-! * use our own conversion function (e.g., for UTF-8). */
-! wstring[0] = ch;
-! if (enc_codepage > 0)
-! len = WideCharToMultiByte(enc_codepage, 0, wstring, 1, string, slen,
-! 0, NULL);
- else
- {
- len = 1;
-! ws = ucs2_to_enc(wstring, &len);
-! if (ws == NULL)
-! len = 0;
- else
- {
-! if (len > slen) /* just in case */
-! len = slen;
-! mch_memmove(string, ws, len);
-! vim_free(ws);
- }
- }
- if (len == 0)
- #endif
- {
---- 488,536 ----
- WCHAR wstring[2];
- char_u *ws = NULL;;
-
-! if (os_version.dwPlatformId != VER_PLATFORM_WIN32_NT)
-! {
-! /* On Windows 95/98 we apparently get the character in the active
-! * codepage, not in UCS-2. If conversion is needed convert it to
-! * UCS-2 first. */
-! if ((int)GetACP() == enc_codepage)
-! len = 0; /* no conversion required */
-! else
-! {
-! string[0] = ch;
-! len = MultiByteToWideChar(GetACP(), 0, string, 1, wstring, 2);
-! }
-! }
- else
- {
-+ wstring[0] = ch;
- len = 1;
-! }
-!
-! if (len > 0)
-! {
-! /* "ch" is a UTF-16 character. Convert it to a string of bytes. When
-! * "enc_codepage" is non-zero use the standard Win32 function,
-! * otherwise use our own conversion function (e.g., for UTF-8). */
-! if (enc_codepage > 0)
-! len = WideCharToMultiByte(enc_codepage, 0, wstring, len,
-! string, slen, 0, NULL);
- else
- {
-! len = 1;
-! ws = ucs2_to_enc(wstring, &len);
-! if (ws == NULL)
-! len = 0;
-! else
-! {
-! if (len > slen) /* just in case */
-! len = slen;
-! mch_memmove(string, ws, len);
-! vim_free(ws);
-! }
- }
- }
-+
- if (len == 0)
- #endif
- {
-*** ../vim-6.3.051/src/version.c Thu Dec 16 12:48:12 2004
---- src/version.c Thu Dec 16 12:53:28 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 52,
- /**/
-
---
-From "know your smileys":
- y:-) Bad toupee
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.053
-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.3.053
-Problem: Win32: ":loadview" cannot find a file with non-ASCII characters.
- (Valerie Kondakoff)
-Solution: Use mch_open() instead of open() to open the file.
-Files: src/ex_cmds2.c
-
-
-*** ../vim-6.3.052/src/ex_cmds2.c Mon Jun 28 19:38:42 2004
---- src/ex_cmds2.c Thu Dec 23 17:14:25 2004
-***************
-*** 2112,2118 ****
- fopen_noinh_readbin(filename)
- char *filename;
- {
-! int fd_tmp = open(filename, O_RDONLY | O_BINARY | O_NOINHERIT);
-
- if (fd_tmp == -1)
- return NULL;
---- 2112,2118 ----
- fopen_noinh_readbin(filename)
- char *filename;
- {
-! int fd_tmp = mch_open(filename, O_RDONLY | O_BINARY | O_NOINHERIT, 0);
-
- if (fd_tmp == -1)
- return NULL;
-*** ../vim-6.3.052/src/version.c Thu Dec 16 14:26:44 2004
---- src/version.c Thu Dec 23 17:15:28 2004
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 53,
- /**/
-
---
-The difference between theory and practice, is that in theory, there
-is no difference between theory and practice.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.054
-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.3.054
-Problem: When 'insertmode' is set <C-L>4ixxx<C-L> hangs Vim. (Jens Paulus)
- Vim is actually still working but redraw is disabled.
-Solution: When stopping Insert mode with CTRL-L don't put an Esc in the redo
- buffer but a CTRL-L.
-Files: src/edit.c
-
-
-*** ../vim-6.3.053/src/edit.c Wed Jun 9 14:56:28 2004
---- src/edit.c Wed Jan 5 11:13:14 2005
-***************
-*** 6048,6056 ****
- {
- /*
- * Don't append the ESC for "r<CR>" and "grx".
- */
- if (cmdchar != 'r' && cmdchar != 'v')
-! AppendToRedobuff(ESC_STR);
-
- /*
- * Repeating insert may take a long time. Check for
---- 6048,6058 ----
- {
- /*
- * Don't append the ESC for "r<CR>" and "grx".
-+ * When 'insertmode' is set only CTRL-L stops Insert mode. Needed for
-+ * when "count" is non-zero.
- */
- if (cmdchar != 'r' && cmdchar != 'v')
-! AppendToRedobuff(p_im ? (char_u *)"\014" : ESC_STR);
-
- /*
- * Repeating insert may take a long time. Check for
-*** ../vim-6.3.053/src/version.c Thu Dec 23 17:17:02 2004
---- src/version.c Wed Jan 5 11:16:24 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 54,
- /**/
-
---
-"The amigos also appear to be guilty of not citing the work of others who had
-gone before them. Even worse, they have a chapter about modeling time and
-space without making a single reference to Star Trek!"
- (Scott Ambler, reviewing the UML User Guide)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.055
-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.3.055 (after 6.3.013)
-Problem: Can't use getcmdline(), getcmdpos() or setcmdpos() with <C-R>=
- when editing a command line. Using <C-\>e may crash Vim. (Peter
- Winters)
-Solution: When moving ccline out of the way for recursive use, make it
- available to the functions that need it. Also save and restore
- ccline when calling get_expr_line(). Make ccline.cmdbuf NULL at
- the end of getcmdline().
-Files: src/ex_getln.c
-
-
-*** ../vim-6.3.054/src/ex_getln.c Fri Oct 22 11:45:17 2004
---- src/ex_getln.c Thu Jan 13 14:06:56 2005
-***************
-*** 80,85 ****
---- 80,87 ----
- static void alloc_cmdbuff __ARGS((int len));
- static int realloc_cmdbuff __ARGS((int len));
- static void draw_cmdline __ARGS((int start, int len));
-+ static void save_cmdline __ARGS((struct cmdline_info *ccp));
-+ static void restore_cmdline __ARGS((struct cmdline_info *ccp));
- static int cmdline_paste __ARGS((int regname, int literally));
- #if defined(FEAT_XIM) && defined(FEAT_GUI_GTK)
- static void redrawcmd_preedit __ARGS((void));
-***************
-*** 589,596 ****
- #ifdef FEAT_EVAL
- else if (c == 'e')
- {
-! struct cmdline_info save_ccline;
-! char_u *p;
-
- /*
- * Replace the command line with the result of an expression.
---- 591,598 ----
- #ifdef FEAT_EVAL
- else if (c == 'e')
- {
-! struct cmdline_info save_ccline;
-! char_u *p = NULL;
-
- /*
- * Replace the command line with the result of an expression.
-***************
-*** 601,614 ****
- new_cmdpos = 99999; /* keep it at the end */
- else
- new_cmdpos = ccline.cmdpos;
-! save_ccline = ccline;
-! ccline.cmdbuff = NULL;
-! ccline.cmdprompt = NULL;
- c = get_expr_register();
-! ccline = save_ccline;
- if (c == '=')
- {
- p = get_expr_line();
- if (p != NULL
- && realloc_cmdbuff((int)STRLEN(p) + 1) == OK)
- {
---- 603,618 ----
- new_cmdpos = 99999; /* keep it at the end */
- else
- new_cmdpos = ccline.cmdpos;
-!
-! save_cmdline(&save_ccline);
- c = get_expr_register();
-! restore_cmdline(&save_ccline);
- if (c == '=')
- {
-+ save_cmdline(&save_ccline);
- p = get_expr_line();
-+ restore_cmdline(&save_ccline);
-+
- if (p != NULL
- && realloc_cmdbuff((int)STRLEN(p) + 1) == OK)
- {
-***************
-*** 1027,1037 ****
- }
- else
- {
-! save_ccline = ccline;
-! ccline.cmdbuff = NULL;
-! ccline.cmdprompt = NULL;
- c = get_expr_register();
-! ccline = save_ccline;
- }
- }
- #endif
---- 1031,1039 ----
- }
- else
- {
-! save_cmdline(&save_ccline);
- c = get_expr_register();
-! restore_cmdline(&save_ccline);
- }
- }
- #endif
-***************
-*** 1723,1729 ****
- ui_cursor_shape(); /* may show different cursor shape */
- #endif
-
-! return ccline.cmdbuff;
- }
-
- #if (defined(FEAT_CRYPT) || defined(FEAT_EVAL)) || defined(PROTO)
---- 1725,1737 ----
- ui_cursor_shape(); /* may show different cursor shape */
- #endif
-
-! {
-! char_u *p = ccline.cmdbuff;
-!
-! /* Make ccline empty, getcmdline() may try to use it. */
-! ccline.cmdbuff = NULL;
-! return p;
-! }
- }
-
- #if (defined(FEAT_CRYPT) || defined(FEAT_EVAL)) || defined(PROTO)
-***************
-*** 1743,1754 ****
- struct cmdline_info save_ccline;
- int msg_col_save = msg_col;
-
-! save_ccline = ccline;
-! ccline.cmdbuff = NULL;
- ccline.cmdprompt = prompt;
- ccline.cmdattr = attr;
- s = getcmdline(firstc, 1L, 0);
-! ccline = save_ccline;
- /* Restore msg_col, the prompt from input() may have changed it. */
- msg_col = msg_col_save;
-
---- 1751,1761 ----
- struct cmdline_info save_ccline;
- int msg_col_save = msg_col;
-
-! save_cmdline(&save_ccline);
- ccline.cmdprompt = prompt;
- ccline.cmdattr = attr;
- s = getcmdline(firstc, 1L, 0);
-! restore_cmdline(&save_ccline);
- /* Restore msg_col, the prompt from input() may have changed it. */
- msg_col = msg_col_save;
-
-***************
-*** 2537,2542 ****
---- 2544,2583 ----
- return retval;
- }
-
-+ static struct cmdline_info prev_ccline;
-+ static int prev_ccline_used = FALSE;
-+
-+ /*
-+ * Save ccline, because obtaining the "=" register may execute "normal :cmd"
-+ * and overwrite it. But get_cmdline_str() may need it, thus make it
-+ * available globally in prev_ccline.
-+ */
-+ static void
-+ save_cmdline(ccp)
-+ struct cmdline_info *ccp;
-+ {
-+ if (!prev_ccline_used)
-+ {
-+ vim_memset(&prev_ccline, 0, sizeof(struct cmdline_info));
-+ prev_ccline_used = TRUE;
-+ }
-+ *ccp = prev_ccline;
-+ prev_ccline = ccline;
-+ ccline.cmdbuff = NULL;
-+ ccline.cmdprompt = NULL;
-+ }
-+
-+ /*
-+ * Resture ccline after it has been saved with save_cmdline().
-+ */
-+ static void
-+ restore_cmdline(ccp)
-+ struct cmdline_info *ccp;
-+ {
-+ ccline = prev_ccline;
-+ prev_ccline = *ccp;
-+ }
-+
- /*
- * paste a yank register into the command line.
- * used by CTRL-R command in command-line mode
-***************
-*** 2571,2583 ****
- regname = may_get_selection(regname);
- #endif
-
-! /* Need to save and restore ccline, because obtaining the "=" register may
-! * execute "normal :cmd" and overwrite it. */
-! save_ccline = ccline;
-! ccline.cmdbuff = NULL;
-! ccline.cmdprompt = NULL;
- i = get_spec_reg(regname, &arg, &allocated, TRUE);
-! ccline = save_ccline;
-
- if (i)
- {
---- 2612,2621 ----
- regname = may_get_selection(regname);
- #endif
-
-! /* Need to save and restore ccline. */
-! save_cmdline(&save_ccline);
- i = get_spec_reg(regname, &arg, &allocated, TRUE);
-! restore_cmdline(&save_ccline);
-
- if (i)
- {
-***************
-*** 4541,4546 ****
---- 4579,4602 ----
- return history[histype][hisidx[histype]].hisnum;
- }
-
-+ static struct cmdline_info *get_ccline_ptr __ARGS((void));
-+
-+ /*
-+ * Get pointer to the command line info to use. cmdline_paste() may clear
-+ * ccline and put the previous value in prev_ccline.
-+ */
-+ static struct cmdline_info *
-+ get_ccline_ptr()
-+ {
-+ if ((State & CMDLINE) == 0)
-+ return NULL;
-+ if (ccline.cmdbuff != NULL)
-+ return &ccline;
-+ if (prev_ccline_used && prev_ccline.cmdbuff != NULL)
-+ return &prev_ccline;
-+ return NULL;
-+ }
-+
- /*
- * Get the current command line in allocated memory.
- * Only works when the command line is being edited.
-***************
-*** 4549,4557 ****
- char_u *
- get_cmdline_str()
- {
-! if (ccline.cmdbuff == NULL || (State & CMDLINE) == 0)
- return NULL;
-! return vim_strnsave(ccline.cmdbuff, ccline.cmdlen);
- }
-
- /*
---- 4605,4615 ----
- char_u *
- get_cmdline_str()
- {
-! struct cmdline_info *p = get_ccline_ptr();
-!
-! if (p == NULL)
- return NULL;
-! return vim_strnsave(p->cmdbuff, p->cmdlen);
- }
-
- /*
-***************
-*** 4563,4571 ****
- int
- get_cmdline_pos()
- {
-! if (ccline.cmdbuff == NULL || (State & CMDLINE) == 0)
- return -1;
-! return ccline.cmdpos;
- }
-
- /*
---- 4621,4631 ----
- int
- get_cmdline_pos()
- {
-! struct cmdline_info *p = get_ccline_ptr();
-!
-! if (p == NULL)
- return -1;
-! return p->cmdpos;
- }
-
- /*
-***************
-*** 4577,4583 ****
- set_cmdline_pos(pos)
- int pos;
- {
-! if (ccline.cmdbuff == NULL || (State & CMDLINE) == 0)
- return 1;
-
- /* The position is not set directly but after CTRL-\ e or CTRL-R = has
---- 4637,4645 ----
- set_cmdline_pos(pos)
- int pos;
- {
-! struct cmdline_info *p = get_ccline_ptr();
-!
-! if (p == NULL)
- return 1;
-
- /* The position is not set directly but after CTRL-\ e or CTRL-R = has
-*** ../vim-6.3.054/src/version.c Wed Jan 5 11:17:36 2005
---- src/version.c Thu Jan 13 14:08:12 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 55,
- /**/
-
---
-ARTHUR: Well, I AM king...
-DENNIS: Oh king, eh, very nice. An' how'd you get that, eh? By exploitin'
- the workers -- by 'angin' on to outdated imperialist dogma which
- perpetuates the economic an' social differences in our society! If
- there's ever going to be any progress--
- The Quest for the Holy Grail (Monty Python)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.056
-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.3.056
-Problem: The last characters of a multi-byte file name may not be displayed
- in the window title.
-Solution: Avoid to remove a multi-byte character where the last byte looks
- like a path separator character. (Yasuhiro Matsumoto)
-Files: src/buffer.c, src/ex_getln.c
-
-
-*** ../vim-6.3.055/src/buffer.c Sun Dec 5 16:18:46 2004
---- src/buffer.c Thu Dec 16 13:59:48 2004
-***************
-*** 2953,2959 ****
- }
- else
- {
-! while (p > buf + off + 1 && vim_ispathsep(p[-1]))
- --p;
- #ifdef VMS
- /* path separator is part of the path */
---- 2953,2964 ----
- }
- else
- {
-! while (p > buf + off + 1 && vim_ispathsep(p[-1])
-! #ifdef FEAT_MBYTE
-! && (!has_mbyte
-! || (*mb_head_off)(buf + off, p - 1) == 0)
-! #endif
-! )
- --p;
- #ifdef VMS
- /* path separator is part of the path */
-*** ../vim-6.3.055/src/ex_getln.c Thu Jan 13 14:17:23 2005
---- src/ex_getln.c Thu Jan 13 14:22:02 2005
-***************
-*** 496,501 ****
---- 496,505 ----
- i = (int)(xpc.xp_pattern - ccline.cmdbuff);
- while (--j > i)
- {
-+ #ifdef FEAT_MBYTE
-+ if (has_mbyte)
-+ j -= (*mb_head_off)(ccline.cmdbuff, ccline.cmdbuff + j);
-+ #endif
- if (vim_ispathsep(ccline.cmdbuff[j]))
- {
- found = TRUE;
-*** ../vim-6.3.055/src/version.c Thu Jan 13 14:17:23 2005
---- src/version.c Thu Jan 13 16:21:13 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 56,
- /**/
-
---
-Vim is like Emacs without all the typing. (John "Johann" Spetz)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.057
-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.3.057
-Problem: When filtering lines folds are not updated. (Carl Osterwisch)
-Solution: Update folds for filtered lines.
-Files: src/ex_cmds.c
-
-
-*** ../vim-6.3.056/src/ex_cmds.c Tue Jul 6 14:57:26 2004
---- src/ex_cmds.c Thu Jan 13 17:38:23 2005
-***************
-*** 905,910 ****
---- 905,913 ----
- curbuf->b_op_end.lnum -= linecount; /* adjust '] */
- write_lnum_adjust(-linecount); /* adjust last line
- for next write */
-+ #ifdef FEAT_FOLDING
-+ foldUpdate(curwin, curbuf->b_op_start.lnum, curbuf->b_op_end.lnum);
-+ #endif
- }
- else
- {
-*** ../vim-6.3.056/src/version.c Thu Jan 13 16:25:02 2005
---- src/version.c Thu Jan 13 17:36:11 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 57,
- /**/
-
---
-WOMAN: I didn't know we had a king. I thought we were an autonomous
- collective.
-DENNIS: You're fooling yourself. We're living in a dictatorship. A
- self-perpetuating autocracy in which the working classes--
-WOMAN: Oh there you go, bringing class into it again.
-DENNIS: That's what it's all about if only people would--
- The Quest for the Holy Grail (Monty Python)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.058
-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.3.058
-Problem: When 'foldcolumn' is equal to the window width and 'wrap' is on
- Vim may crash. Disabling the vertical split feature breaks
- compiling. (Peter Winters)
-Solution: Check for zero room for wrapped text. Make compiling without
- vertical splits possible.
-Files: src/move.c, src/quickfix.c, src/screen.c, src/netbeans.c
-
-
-*** ../vim-6.3.057/src/move.c Mon Dec 6 11:51:12 2004
---- src/move.c Thu Jan 13 19:16:32 2005
-***************
-*** 871,880 ****
-
- /* long line wrapping, adjust curwin->w_wrow */
- if (curwin->w_p_wrap && col >= (colnr_T)W_WIDTH(curwin)
-! #ifdef FEAT_VERTSPLIT
-! && curwin->w_width != 0
-! #endif
-! )
- {
- col -= W_WIDTH(curwin);
- col = col % (W_WIDTH(curwin) - off + curwin_col_off2());
---- 871,877 ----
-
- /* long line wrapping, adjust curwin->w_wrow */
- if (curwin->w_p_wrap && col >= (colnr_T)W_WIDTH(curwin)
-! && W_WIDTH(curwin) - off + curwin_col_off2() > 0)
- {
- col -= W_WIDTH(curwin);
- col = col % (W_WIDTH(curwin) - off + curwin_col_off2());
-*** ../vim-6.3.057/src/quickfix.c Wed Jun 9 14:56:26 2004
---- src/quickfix.c Thu Jan 13 19:19:21 2005
-***************
-*** 1680,1687 ****
---- 1680,1689 ----
- else if (buf != curbuf)
- set_curbuf(buf, DOBUF_GOTO);
-
-+ #ifdef FEAT_VERTSPLIT
- /* Only set the height when there is no window to the side. */
- if (curwin->w_width == Columns)
-+ #endif
- win_setheight(height);
- curwin->w_p_wfh = TRUE; /* set 'winfixheight' */
- if (win_valid(win))
-*** ../vim-6.3.057/src/screen.c Thu Dec 16 12:48:12 2004
---- src/screen.c Thu Jan 13 19:21:40 2005
-***************
-*** 1906,1913 ****
- if (n > 0)
- {
- /* draw the fold column at the right */
-! if (n > wp->w_width)
-! n = wp->w_width;
- screen_fill(W_WINROW(wp) + row, W_WINROW(wp) + endrow,
- W_ENDCOL(wp) - n, (int)W_ENDCOL(wp),
- ' ', ' ', hl_attr(HLF_FC));
---- 1906,1913 ----
- if (n > 0)
- {
- /* draw the fold column at the right */
-! if (n > W_WIDTH(wp))
-! n = W_WIDTH(wp);
- screen_fill(W_WINROW(wp) + row, W_WINROW(wp) + endrow,
- W_ENDCOL(wp) - n, (int)W_ENDCOL(wp),
- ' ', ' ', hl_attr(HLF_FC));
-***************
-*** 1919,1926 ****
- int nn = n + 2;
-
- /* draw the sign column left of the fold column */
-! if (nn > wp->w_width)
-! nn = wp->w_width;
- screen_fill(W_WINROW(wp) + row, W_WINROW(wp) + endrow,
- W_ENDCOL(wp) - nn, (int)W_ENDCOL(wp) - n,
- ' ', ' ', hl_attr(HLF_SC));
---- 1919,1926 ----
- int nn = n + 2;
-
- /* draw the sign column left of the fold column */
-! if (nn > W_WIDTH(wp))
-! nn = W_WIDTH(wp);
- screen_fill(W_WINROW(wp) + row, W_WINROW(wp) + endrow,
- W_ENDCOL(wp) - nn, (int)W_ENDCOL(wp) - n,
- ' ', ' ', hl_attr(HLF_SC));
-*** ../vim-6.3.057/src/netbeans.c Wed Jun 9 14:56:26 2004
---- src/netbeans.c Thu Jan 13 19:22:30 2005
-***************
-*** 2693,2699 ****
-
- if (bufno >= 0 && curwin != NULL && curwin->w_buffer == curbuf)
- {
-! int col = mouse_col - curwin->w_wincol - (curwin->w_p_nu ? 9 : 1);
- long off = pos2off(curbuf, &curwin->w_cursor);
-
- /* sync the cursor position */
---- 2693,2699 ----
-
- if (bufno >= 0 && curwin != NULL && curwin->w_buffer == curbuf)
- {
-! int col = mouse_col - W_WINCOL(curwin) - (curwin->w_p_nu ? 9 : 1);
- long off = pos2off(curbuf, &curwin->w_cursor);
-
- /* sync the cursor position */
-*** ../vim-6.3.057/src/version.c Thu Jan 13 17:38:30 2005
---- src/version.c Tue Jan 18 10:49:55 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 58,
- /**/
-
---
-TALL KNIGHT: Firstly. You must get us another shrubbery!
-OTHER KNIGHTS: More shrubberies! More shrubberies for the ex-Knights of Ni!
-ARTHUR: Not another shrubbery -
- "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.059
-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.3.059
-Problem: Crash when expanding an ":edit" command containing several spaces
- with the shell. (Brian Hirt)
-Solution: Allocate enough space for the quotes.
-Files: src/os_unix.c
-
-
-*** ../vim-6.3.058/src/os_unix.c Sat Sep 18 20:28:07 2004
---- src/os_unix.c Sat Jan 29 15:07:53 2005
-***************
-*** 4735,4742 ****
-
- /* "unset nonomatch; print -N >" plus two is 29 */
- len = STRLEN(tempname) + 29;
-! for (i = 0; i < num_pat; ++i) /* count the length of the patterns */
- len += STRLEN(pat[i]) + 3; /* add space and two quotes */
- command = alloc(len);
- if (command == NULL)
- {
---- 4735,4766 ----
-
- /* "unset nonomatch; print -N >" plus two is 29 */
- len = STRLEN(tempname) + 29;
-! for (i = 0; i < num_pat; ++i)
-! {
-! /* Count the length of the patterns in the same way as they are put in
-! * "command" below. */
-! #ifdef USE_SYSTEM
- len += STRLEN(pat[i]) + 3; /* add space and two quotes */
-+ #else
-+ ++len; /* add space */
-+ for (j = 0; pat[i][j] != NUL; )
-+ if (vim_strchr((char_u *)" '", pat[i][j]) != NULL)
-+ {
-+ len += 2; /* add two quotes */
-+ while (pat[i][j] != NUL
-+ && vim_strchr((char_u *)" '", pat[i][j]) != NULL)
-+ {
-+ ++len;
-+ ++j;
-+ }
-+ }
-+ else
-+ {
-+ ++len;
-+ ++j;
-+ }
-+ #endif
-+ }
- command = alloc(len);
- if (command == NULL)
- {
-*** ../vim-6.3.058/src/version.c Tue Jan 18 10:53:53 2005
---- src/version.c Sat Jan 29 16:11:00 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 59,
- /**/
-
---
-The budget process was invented by an alien race of sadistic beings who
-resemble large cats.
- (Scott Adams - The Dilbert principle)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.060
-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.3.060
-Problem: Using CTRL-R CTRL-O in Insert mode with an invalid register name
- still causes something to be inserted.
-Solution: Check the register name for being valid.
-Files: src/edit.c
-
-
-*** ../vim-6.3.059/src/edit.c Wed Jan 5 11:17:36 2005
---- src/edit.c Thu Jan 27 10:33:51 2005
-***************
-*** 5933,5940 ****
- im_set_active(TRUE);
- #endif
- }
-! if (regname == NUL)
- need_redraw = TRUE; /* remove the '"' */
- else
- {
- #endif
---- 5933,5943 ----
- im_set_active(TRUE);
- #endif
- }
-! if (regname == NUL || !valid_yank_reg(regname, FALSE))
-! {
-! vim_beep();
- need_redraw = TRUE; /* remove the '"' */
-+ }
- else
- {
- #endif
-*** ../vim-6.3.059/src/version.c Sat Jan 29 16:14:42 2005
---- src/version.c Sat Jan 29 16:18:08 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 60,
- /**/
-
---
-Engineers will go without food and hygiene for days to solve a problem.
-(Other times just because they forgot.)
- (Scott Adams - The Dilbert principle)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.061
-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.3.061
-Problem: When editing a utf-8 file in an utf-8 xterm and there is a
- multi-byte character in the last column, displaying is messed up.
- (Joël Rio)
-Solution: Check for a multi-byte character, not a multi-column character.
-Files: src/screen.c
-
-
-*** ../vim-6.3.060/src/screen.c Tue Jan 18 10:53:53 2005
---- src/screen.c Wed Jan 19 11:03:00 2005
-***************
-*** 4169,4176 ****
- #ifdef FEAT_MBYTE
- /* When there is a multi-byte character, just output a
- * space to keep it simple. */
-! if (has_mbyte && mb_off2cells(LineOffset[screen_row - 1]
-! + (unsigned)Columns - 1) != 1)
- out_char(' ');
- else
- #endif
---- 4169,4176 ----
- #ifdef FEAT_MBYTE
- /* When there is a multi-byte character, just output a
- * space to keep it simple. */
-! if (has_mbyte && MB_BYTE2LEN(ScreenLines[LineOffset[
-! screen_row - 1] + (Columns - 1)]) > 1)
- out_char(' ');
- else
- #endif
-*** ../vim-6.3.060/src/version.c Sat Jan 29 16:19:09 2005
---- src/version.c Sat Jan 29 16:25:13 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 61,
- /**/
-
---
-Article in the first Free Software Magazine: "Bram Moolenaar studied electrical
-engineering at the Technical University of Delft and graduated in 1985 on a
-multi-processor Unix architecture."
-Response by "dimator": Could the school not afford a proper stage for the
-ceremony?
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.062
-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.3.062
-Problem: ":normal! gQ" hangs.
-Solution: Quit getcmdline() and do_exmode() when out of typeahead.
-Files: src/ex_getln.c, src/ex_docmd.c
-
-
-*** ../vim-6.3.049/src/ex_getln.c Thu Jan 13 16:25:02 2005
---- src/ex_getln.c Sun Feb 13 20:35:24 2005
-***************
-*** 997,1004 ****
-
- case ESC: /* get here if p_wc != ESC or when ESC typed twice */
- case Ctrl_C:
-! /* In exmode it doesn't make sense to return. */
-! if (exmode_active)
- goto cmdline_not_changed;
-
- gotesc = TRUE; /* will free ccline.cmdbuff after
---- 997,1009 ----
-
- case ESC: /* get here if p_wc != ESC or when ESC typed twice */
- case Ctrl_C:
-! /* In exmode it doesn't make sense to return. Except when
-! * ":normal" runs out of characters. */
-! if (exmode_active
-! #ifdef FEAT_EX_EXTRA
-! && (ex_normal_busy == 0 || typebuf.tb_len > 0)
-! #endif
-! )
- goto cmdline_not_changed;
-
- gotesc = TRUE; /* will free ccline.cmdbuff after
-*** ../vim-6.3.049/src/ex_docmd.c Sun Dec 5 16:18:46 2004
---- src/ex_docmd.c Sun Feb 13 20:39:37 2005
-***************
-*** 525,530 ****
---- 525,538 ----
- MSG(_("Entering Ex mode. Type \"visual\" to go to Normal mode."));
- while (exmode_active)
- {
-+ #ifdef FEAT_EX_EXTRA
-+ /* Check for a ":normal" command and no more characters left. */
-+ if (ex_normal_busy > 0 && typebuf.tb_len == 0)
-+ {
-+ exmode_active = FALSE;
-+ break;
-+ }
-+ #endif
- msg_scroll = TRUE;
- need_wait_return = FALSE;
- ex_pressedreturn = FALSE;
-*** ../vim-6.3.049/src/version.c Sat Jan 29 16:25:36 2005
---- src/version.c Sun Feb 13 20:45:33 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 62,
- /**/
-
---
-I AM THANKFUL...
-...for the taxes that I pay because it means that I am employed.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.063
-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.3.063
-Problem: When a CursorHold autocommand changes to another window
- (temporarily) 'mousefocus' stops working.
-Solution: Call gui_mouse_correct() after triggering CursorHold.
-Files: src/gui.c
-
-
-*** ../vim-6.3.050/src/gui.c Sun Sep 5 20:48:38 2004
---- src/gui.c Fri Mar 11 19:11:00 2005
-***************
-*** 2626,2631 ****
---- 2626,2635 ----
- update_screen(VALID);
- showruler(FALSE);
- setcursor();
-+ /* In case the commands moved the focus to another window
-+ * (temporarily). */
-+ if (need_mouse_correct)
-+ gui_mouse_correct();
-
- once_already = 1;
- retval = 0;
-*** ../vim-6.3.050/src/version.c Sun Feb 13 20:46:05 2005
---- src/version.c Fri Mar 11 19:12:29 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 63,
- /**/
-
---
-Trees moving back and forth is what makes the wind blow.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.064
-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.3.064
-Problem: line2byte(line("$") + 1) sometimes returns the wrong number.
- (Charles Campbell)
-Solution: Flush the cached line before counting the bytes.
-Files: src/memline.c
-
-
-*** ../vim-6.3.041/src/memline.c Wed Jun 9 14:56:26 2004
---- src/memline.c Thu Feb 17 11:02:53 2005
-***************
-*** 4247,4252 ****
---- 4247,4255 ----
- int ffdos = (get_fileformat(buf) == EOL_DOS);
- int extra = 0;
-
-+ /* take care of cached line first */
-+ ml_flush_line(curbuf);
-+
- if (buf->b_ml.ml_usedchunks == -1
- || buf->b_ml.ml_chunksize == NULL
- || line < 0)
-*** ../vim-6.3.041/src/version.c Fri Mar 11 19:14:17 2005
---- src/version.c Fri Mar 11 19:15:46 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 64,
- /**/
-
---
-FATHER: You killed eight wedding guests in all!
-LAUNCELOT: Er, Well ... the thing is ... I thought your son was a lady.
-FATHER: I can understand that.
- "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.065
-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.3.065
-Problem: The euro digraph doesn't always work.
-Solution: Add an "e=" digraph for Unicode euro character and adjust the
- help files.
-Files: src/digraph.c, runtime/doc/digraph.txt
-
-
-*** ../vim-6.3.034/src/digraph.c Wed Jun 9 14:56:25 2004
---- src/digraph.c Fri Mar 18 10:50:52 2005
-***************
-*** 1428,1433 ****
---- 1428,1434 ----
- {'L', 'i', 0x20a4},
- {'P', 't', 0x20a7},
- {'W', '=', 0x20a9},
-+ {'=', 'e', 0x20ac}, /* euro */
- {'o', 'C', 0x2103},
- {'c', 'o', 0x2105},
- {'o', 'F', 0x2109},
-*** ../vim-6.3.034/runtime/doc/digraph.txt Wed Jun 9 14:56:28 2004
---- runtime/doc/digraph.txt Fri Mar 18 10:52:35 2005
-***************
-*** 1,4 ****
-! *digraph.txt* For Vim version 6.3. Last change: 2001 Sep 03
-
-
- VIM REFERENCE MANUAL by Bram Moolenaar
---- 1,4 ----
-! *digraph.txt* For Vim version 6.3. Last change: 2005 Mar 18
-
-
- VIM REFERENCE MANUAL by Bram Moolenaar
-***************
-*** 28,34 ****
- *E104* *E39*
- :dig[raphs] {char1}{char2} {number} ...
- Add digraph {char1}{char2} to the list. {number} is
-! the decimal representation of the character.
- Example: >
- :digr e: 235 a: 228
- < Avoid defining a digraph with '_' (underscore) as the
---- 28,35 ----
- *E104* *E39*
- :dig[raphs] {char1}{char2} {number} ...
- Add digraph {char1}{char2} to the list. {number} is
-! the decimal representation of the character. Normally
-! it is the Unicode character, see |digraph-encoding|.
- Example: >
- :digr e: 235 a: 228
- < Avoid defining a digraph with '_' (underscore) as the
-***************
-*** 48,54 ****
- if you look at it on a system that does not support digraphs or if you print
- this file.
-
-! The decimal number is the number of the character.
-
- ==============================================================================
- 2. Using digraphs *digraphs-use*
---- 49,72 ----
- if you look at it on a system that does not support digraphs or if you print
- this file.
-
-! *digraph-encoding*
-! The decimal number normally is the Unicode number of the character. Note that
-! the meaning doesn't change when 'encoding' changes. The character will be
-! converted from Unicode to 'encoding' when needed. This does require the
-! conversion to be available, it might fail.
-!
-! When Vim was compiled without the +multi_byte feature, you need to specify the
-! character in the encoding given with 'encoding'. You might want to use
-! something like this: >
-!
-! if has("multi_byte")
-! digraph oe 339
-! elseif &encoding == "iso-8859-15"
-! digraph oe 189
-! endif
-!
-! This defines the "oe" digraph for a character that is number 339 in Unicode
-! and 189 in latin9 (iso-8859-15).
-
- ==============================================================================
- 2. Using digraphs *digraphs-use*
-***************
-*** 142,147 ****
---- 160,173 ----
- These are the RFC1345 digraphs for the one-byte characters. See the output of
- ":digraphs" for the others. The characters above 255 are only available when
- Vim was compiled with the |+multi_byte| feature.
-+
-+ EURO
-+
-+ Exception: RFC1345 doesn't specify the euro sign. In Vim the digraph =e was
-+ added for this. Note the difference between latin1, where the digraph Cu is
-+ used for the currency sign, and latin9 (iso-8859-15), where the digraph =e is
-+ used for the euro sign, while both of them are the character 164, 0xa4.
-+
- *digraph-table*
- char digraph hex dec official name ~
- ^@ NU 0x00 0 NULL (NUL)
-*** ../vim-6.3.034/src/version.c Fri Mar 11 19:16:20 2005
---- src/version.c Fri Mar 18 10:54:13 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 65,
- /**/
-
---
-Lawmakers made it obligatory for everybody to take at least one bath
-each week -- on Saturday night.
- [real standing law in Vermont, United States of America]
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.066
-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.3.066
-Problem: Backup file may get wrong permissions.
-Solution: Use permissions of original file for backup file in more places.
-Files: src/fileio.c
-
-
-*** ../vim-6.3.029/src/fileio.c Sat Sep 18 21:13:25 2004
---- src/fileio.c Fri Mar 18 12:56:41 2005
-***************
-*** 3314,3320 ****
- /* Open with O_EXCL to avoid the file being created while
- * we were sleeping (symlink hacker attack?) */
- bfd = mch_open((char *)backup,
-! O_WRONLY|O_CREAT|O_EXTRA|O_EXCL, 0666);
- if (bfd < 0)
- {
- vim_free(backup);
---- 3314,3320 ----
- /* Open with O_EXCL to avoid the file being created while
- * we were sleeping (symlink hacker attack?) */
- bfd = mch_open((char *)backup,
-! O_WRONLY|O_CREAT|O_EXTRA|O_EXCL, perm & 0777);
- if (bfd < 0)
- {
- vim_free(backup);
-***************
-*** 3698,3704 ****
- while ((fd = mch_open((char *)wfname, O_WRONLY | O_EXTRA | (append
- ? (forceit ? (O_APPEND | O_CREAT) : O_APPEND)
- : (O_CREAT | O_TRUNC))
-! , 0666)) < 0)
- {
- /*
- * A forced write will try to create a new file if the old one is
---- 3698,3704 ----
- while ((fd = mch_open((char *)wfname, O_WRONLY | O_EXTRA | (append
- ? (forceit ? (O_APPEND | O_CREAT) : O_APPEND)
- : (O_CREAT | O_TRUNC))
-! , perm & 0777)) < 0)
- {
- /*
- * A forced write will try to create a new file if the old one is
-***************
-*** 4104,4110 ****
- if ((fd = mch_open((char *)backup, O_RDONLY | O_EXTRA, 0)) >= 0)
- {
- if ((write_info.bw_fd = mch_open((char *)fname,
-! O_WRONLY | O_CREAT | O_TRUNC | O_EXTRA, 0666)) >= 0)
- {
- /* copy the file. */
- write_info.bw_buf = smallbuf;
---- 4104,4111 ----
- if ((fd = mch_open((char *)backup, O_RDONLY | O_EXTRA, 0)) >= 0)
- {
- if ((write_info.bw_fd = mch_open((char *)fname,
-! O_WRONLY | O_CREAT | O_TRUNC | O_EXTRA,
-! perm & 0777)) >= 0)
- {
- /* copy the file. */
- write_info.bw_buf = smallbuf;
-***************
-*** 4261,4267 ****
-
- if (org == NULL
- || (empty_fd = mch_open(org, O_CREAT | O_EXTRA | O_EXCL,
-! 0666)) < 0)
- EMSG(_("E206: patchmode: can't touch empty original file"));
- else
- close(empty_fd);
---- 4262,4268 ----
-
- if (org == NULL
- || (empty_fd = mch_open(org, O_CREAT | O_EXTRA | O_EXCL,
-! perm & 0777)) < 0)
- EMSG(_("E206: patchmode: can't touch empty original file"));
- else
- close(empty_fd);
-***************
-*** 5693,5698 ****
---- 5694,5703 ----
- BPTR flock;
- #endif
- struct stat st;
-+ long perm;
-+ #ifdef HAVE_ACL
-+ vim_acl_T acl; /* ACL from original file */
-+ #endif
-
- /*
- * When the names are identical, there is nothing to do.
-***************
-*** 5743,5752 ****
- /*
- * Rename() failed, try copying the file.
- */
- fd_in = mch_open((char *)from, O_RDONLY|O_EXTRA, 0);
- if (fd_in == -1)
- return -1;
-! fd_out = mch_open((char *)to, O_CREAT|O_EXCL|O_WRONLY|O_EXTRA, 0666);
- if (fd_out == -1)
- {
- close(fd_in);
---- 5748,5764 ----
- /*
- * Rename() failed, try copying the file.
- */
-+ perm = mch_getperm(from);
-+ #ifdef HAVE_ACL
-+ /* For systems that support ACL: get the ACL from the original file. */
-+ acl = mch_get_acl(from);
-+ #endif
- fd_in = mch_open((char *)from, O_RDONLY|O_EXTRA, 0);
- if (fd_in == -1)
- return -1;
-!
-! /* Create the new file with same permissions as the original. */
-! fd_out = mch_open((char *)to, O_CREAT|O_EXCL|O_WRONLY|O_EXTRA, (int)perm);
- if (fd_out == -1)
- {
- close(fd_in);
-***************
-*** 5777,5782 ****
---- 5789,5798 ----
- errmsg = _("E210: Error reading \"%s\"");
- to = from;
- }
-+ mch_setperm(to, perm);
-+ #ifdef HAVE_ACL
-+ mch_set_acl(to, acl);
-+ #endif
- if (errmsg != NULL)
- {
- EMSG2(errmsg, to);
-*** ../vim-6.3.029/src/version.c Fri Mar 18 10:56:48 2005
---- src/version.c Fri Mar 18 13:36:18 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 66,
- /**/
-
---
-Why is "abbreviation" such a long word?
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.067
-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.3.067 (after 6.3.066)
-Problem: Newly created file gets execute permission.
-Solution: Check for "perm" to be negative before using it.
-Files: src/fileio.c
-
-
-*** ../vim-6.3.030/src/fileio.c Fri Mar 18 13:37:34 2005
---- src/fileio.c Fri Mar 18 19:16:29 2005
-***************
-*** 3698,3704 ****
- while ((fd = mch_open((char *)wfname, O_WRONLY | O_EXTRA | (append
- ? (forceit ? (O_APPEND | O_CREAT) : O_APPEND)
- : (O_CREAT | O_TRUNC))
-! , perm & 0777)) < 0)
- {
- /*
- * A forced write will try to create a new file if the old one is
---- 3698,3704 ----
- while ((fd = mch_open((char *)wfname, O_WRONLY | O_EXTRA | (append
- ? (forceit ? (O_APPEND | O_CREAT) : O_APPEND)
- : (O_CREAT | O_TRUNC))
-! , perm < 0 ? 0666 : (perm & 0777))) < 0)
- {
- /*
- * A forced write will try to create a new file if the old one is
-***************
-*** 4262,4268 ****
-
- if (org == NULL
- || (empty_fd = mch_open(org, O_CREAT | O_EXTRA | O_EXCL,
-! perm & 0777)) < 0)
- EMSG(_("E206: patchmode: can't touch empty original file"));
- else
- close(empty_fd);
---- 4262,4268 ----
-
- if (org == NULL
- || (empty_fd = mch_open(org, O_CREAT | O_EXTRA | O_EXCL,
-! perm < 0 ? 0666 : (perm & 0777))) < 0)
- EMSG(_("E206: patchmode: can't touch empty original file"));
- else
- close(empty_fd);
-*** ../vim-6.3.030/src/version.c Fri Mar 18 13:37:34 2005
---- src/version.c Fri Mar 18 19:17:45 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 67,
- /**/
-
---
-If corn oil comes from corn, where does baby oil come from?
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.068
-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.3.068
-Problem: When editing a compressed file xxx.gz which is a symbolic link to
- the actual file a ":write" renames the link.
-Solution: Resolve the link, so that the actual file is renamed and
- compressed.
-Files: runtime/plugin/gzip.vim
-
-
-*** ../vim-6.3.025/runtime/plugin/gzip.vim Wed Jun 9 14:56:33 2004
---- runtime/plugin/gzip.vim Thu Mar 24 10:56:30 2005
-***************
-*** 1,6 ****
- " Vim plugin for editing compressed files.
- " Maintainer: Bram Moolenaar <Bram@vim.org>
-! " Last Change: 2004 Jan 12
-
- " Exit quickly when:
- " - this plugin was already loaded
---- 1,6 ----
- " Vim plugin for editing compressed files.
- " Maintainer: Bram Moolenaar <Bram@vim.org>
-! " Last Change: 2005 Mar 24
-
- " Exit quickly when:
- " - this plugin was already loaded
-***************
-*** 113,119 ****
- " don't do anything if the cmd is not supported
- if s:check(a:cmd)
- " Rename the file before compressing it.
-! let nm = expand("<afile>")
- let nmt = s:tempname(nm)
- if rename(nm, nmt) == 0
- call system(a:cmd . " " . nmt)
---- 113,119 ----
- " don't do anything if the cmd is not supported
- if s:check(a:cmd)
- " Rename the file before compressing it.
-! let nm = resolve(expand("<afile>"))
- let nmt = s:tempname(nm)
- if rename(nm, nmt) == 0
- call system(a:cmd . " " . nmt)
-*** ../vim-6.3.025/src/version.c Fri Mar 18 19:21:29 2005
---- src/version.c Thu Mar 24 10:59:13 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 68,
- /**/
-
---
-Are leaders born or made? And if they're made, can we return them under
-warranty?
- (Scott Adams - The Dilbert principle)
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.069
-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.3.069
-Problem: When converting text with illegal characters Vim may crash.
-Solution: Avoid that too much is subtracted from the length. (Da Woon Jung)
-Files: src/mbyte.c
-
-
-*** ../vim-6.3.022/src/mbyte.c Thu Oct 7 20:07:59 2004
---- src/mbyte.c Sat Mar 19 18:53:19 2005
-***************
-*** 3039,3045 ****
- *to++ = '?';
- if ((*mb_ptr2cells)((char_u *)from) > 1)
- *to++ = '?';
-! l = (*mb_ptr2len_check)((char_u *)from);
- from += l;
- fromlen -= l;
- }
---- 3039,3052 ----
- *to++ = '?';
- if ((*mb_ptr2cells)((char_u *)from) > 1)
- *to++ = '?';
-! if (enc_utf8)
-! l = utfc_ptr2len_check_len((char_u *)from, fromlen);
-! else
-! {
-! l = (*mb_ptr2len_check)((char_u *)from);
-! if (l > fromlen)
-! l = fromlen;
-! }
- from += l;
- fromlen -= l;
- }
-*** ../vim-6.3.022/src/version.c Thu Mar 24 11:03:11 2005
---- src/version.c Mon Apr 11 11:37:19 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 69,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-99. The hum of a cooling fan and the click of keys is comforting to you.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.070
-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.3.070
-Problem: After ":set number linebreak wrap" and a vertical split, moving
- the vertical separator far left will crash Vim. (Georg Dahn)
-Solution: Avoid dividing by zero.
-Files: src/charset.c
-
-
-*** ../vim-6.3.019/src/charset.c Wed Jun 9 14:56:26 2004
---- src/charset.c Sun Apr 10 17:35:14 2005
-***************
-*** 1005,1010 ****
---- 1005,1011 ----
- int numberextra;
- char_u *ps;
- int tab_corr = (*s == TAB);
-+ int n;
-
- /*
- * No 'linebreak' and 'showbreak': return quickly.
-***************
-*** 1048,1056 ****
- col2 = col;
- colmax = W_WIDTH(wp) - numberextra;
- if (col >= colmax)
-! colmax += (((col - colmax)
-! / (colmax + win_col_off2(wp))) + 1)
-! * (colmax + win_col_off2(wp));
- for (;;)
- {
- ps = s;
---- 1049,1060 ----
- col2 = col;
- colmax = W_WIDTH(wp) - numberextra;
- if (col >= colmax)
-! {
-! n = colmax + win_col_off2(wp);
-! if (n > 0)
-! colmax += (((col - colmax) / n) + 1) * n;
-! }
-!
- for (;;)
- {
- ps = s;
-*** ../vim-6.3.019/src/version.c Mon Apr 11 11:38:29 2005
---- src/version.c Mon Apr 11 11:40:47 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 70,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-100. The most exciting sporting events you noticed during summer 1996
- was Netscape vs. Microsoft.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.071
-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.3.071
-Problem: The message for CTRL-X mode is still displayed after an error for
- 'thesaurus' or 'dictionary' being empty.
-Solution: Clear "edit_submode".
-Files: src/edit.c
-
-
-*** ../vim-6.3.020/src/edit.c Sat Jan 29 16:19:09 2005
---- src/edit.c Fri Apr 8 11:16:31 2005
-***************
-*** 959,964 ****
---- 959,965 ----
- if (*curbuf->b_p_tsr == NUL && *p_tsr == NUL)
- {
- ctrl_x_mode = 0;
-+ edit_submode = NULL;
- msg_attr((char_u *)_("'thesaurus' option is empty"),
- hl_attr(HLF_E));
- if (emsg_silent == 0)
-***************
-*** 1163,1168 ****
---- 1164,1170 ----
- if (*curbuf->b_p_dict == NUL && *p_dict == NUL)
- {
- ctrl_x_mode = 0;
-+ edit_submode = NULL;
- msg_attr((char_u *)_("'dictionary' option is empty"),
- hl_attr(HLF_E));
- if (emsg_silent == 0)
-*** ../vim-6.3.020/src/version.c Mon Apr 11 11:49:54 2005
---- src/version.c Mon Apr 11 11:51:26 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 71,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-101. U can read htis w/o ny porblm and cant figur eout Y its evn listd.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.072
-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.3.072
-Problem: Crash in giving substitute message when language is Chinese and
- encoding is utf-8. (Yongwei)
-Solution: Make the msg_buf size larger when using multi-byte.
-Files: src/vim.h
-
-
-*** ../vim-6.3.017/src/vim.h Sun Dec 5 16:18:46 2004
---- src/vim.h Sun May 15 17:16:06 2005
-***************
-*** 1155,1161 ****
- #define LSIZE 512 /* max. size of a line in the tags file */
-
- #define IOSIZE (1024+1) /* file i/o and sprintf buffer size */
-! #define MSG_BUF_LEN 80 /* length of buffer for small messages */
-
- #if defined(AMIGA) || defined(__linux__) || defined(__QNX__) || defined(__CYGWIN32__) || defined(_AIX)
- # define TBUFSZ 2048 /* buffer size for termcap entry */
---- 1155,1166 ----
- #define LSIZE 512 /* max. size of a line in the tags file */
-
- #define IOSIZE (1024+1) /* file i/o and sprintf buffer size */
-!
-! #ifdef FEAT_MBYTE
-! # define MSG_BUF_LEN 240 /* length of buffer for small messages */
-! #else
-! # define MSG_BUF_LEN 80 /* length of buffer for small messages */
-! #endif
-
- #if defined(AMIGA) || defined(__linux__) || defined(__QNX__) || defined(__CYGWIN32__) || defined(_AIX)
- # define TBUFSZ 2048 /* buffer size for termcap entry */
-*** ../vim-6.3.017/src/version.c Mon Apr 11 11:52:17 2005
---- src/version.c Fri May 20 13:18:16 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 72,
- /**/
-
---
-Females are strictly forbidden to appear unshaven in public.
- [real standing law in New Mexico, United States of America]
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.073
-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.3.073
-Problem: Win32 GUI: When the Vim window is partly above or below the
- screen, scrolling causes display errors when the taskbar is not on
- that side.
-Solution: Use the SW_INVALIDATE flag when the Vim window is partly below or
- above the screen.
-Files: src/gui_w48.c
-
-
-*** ../vim-6.3.016/src/gui_w48.c Thu Dec 16 14:26:44 2004
---- src/gui_w48.c Sun May 22 12:06:07 2005
-***************
-*** 2504,2509 ****
---- 2504,2517 ----
- RECT rcVim, rcOther, rcDest;
-
- GetWindowRect(s_hwnd, &rcVim);
-+
-+ /* Check if the window is partly above or below the screen. We don't care
-+ * about partly left or right of the screen, it is not relevant when
-+ * scrolling up or down. */
-+ if (rcVim.top < 0 || rcVim.bottom > GetSystemMetrics(SM_CYFULLSCREEN))
-+ return SW_INVALIDATE;
-+
-+ /* Check if there is an window (partly) on top of us. */
- for (hwnd = s_hwnd; (hwnd = GetWindow(hwnd, GW_HWNDPREV)) != (HWND)0; )
- if (IsWindowVisible(hwnd))
- {
-*** ../vim-6.3.016/src/version.c Fri May 20 13:18:31 2005
---- src/version.c Sun May 22 12:08:44 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 73,
- /**/
-
---
-TERRY GILLIAM PLAYED: PATSY (ARTHUR'S TRUSTY STEED), THE GREEN KNIGHT
- SOOTHSAYER, BRIDGEKEEPER, SIR GAWAIN (THE FIRST TO BE
- KILLED BY THE RABBIT)
- "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.074
-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.3.074
-Problem: When mswin.vim is used and 'insertmode' is set, typing text in
- Select mode and then using CTRL-V results in <SNR>99_Pastegi.
- (Georg Dahn)
-Solution: When restart_edit is set use "d" instead of "c" to remove the
- selected text to avoid calling edit() twice.
-Files: src/normal.c
-
-
-*** ../vim-6.3.073/src/normal.c Thu Nov 18 10:47:49 2004
---- src/normal.c Fri May 20 13:14:14 2005
-***************
-*** 643,654 ****
- buf[0] = c;
- buf[1] = NUL;
- # endif
-! /* Fake a "c"hange command.
- * Insert the typed character in the typeahead buffer, so that it will
- * be mapped in Insert mode. Required for ":lmap" to work. May cause
- * mapping a character from ":vnoremap"... */
- (void)ins_typebuf(buf, REMAP_YES, 0, !KeyTyped, FALSE);
-! c = 'c';
- }
- #endif
-
---- 643,659 ----
- buf[0] = c;
- buf[1] = NUL;
- # endif
-! /* Fake a "c"hange command. When "restart_edit" is set (e.g., because
-! * 'insertmode' is set) fake a "d"elete command, Insert mode will
-! * restart automatically.
- * Insert the typed character in the typeahead buffer, so that it will
- * be mapped in Insert mode. Required for ":lmap" to work. May cause
- * mapping a character from ":vnoremap"... */
- (void)ins_typebuf(buf, REMAP_YES, 0, !KeyTyped, FALSE);
-! if (restart_edit != 0)
-! c = 'd';
-! else
-! c = 'c';
- }
- #endif
-
-*** ../vim-6.3.073/src/version.c Sun May 22 12:11:10 2005
---- src/version.c Sun May 22 12:16:16 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 74,
- /**/
-
---
-NEIL INNES PLAYED: THE FIRST SELF-DESTRUCTIVE MONK, ROBIN'S LEAST FAVORITE
- MINSTREL, THE PAGE CRUSHED BY A RABBIT, THE OWNER OF A DUCK
- "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.075
-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.3.075
-Problem: After unloading another buffer, syntax highlighting in the current
- buffer may be wrong when it uses "containedin". (Eric Arnold)
-Solution: Use "buf" intead of "curbuf" in syntax_clear().
-Files: src/syntax.c
-
-
-*** ../vim-6.3.074/src/syntax.c Tue Oct 5 17:02:41 2004
---- src/syntax.c Tue May 31 21:27:42 2005
-***************
-*** 3063,3070 ****
- {
- int i;
-
-! curbuf->b_syn_ic = FALSE; /* Use case, by default */
-! curbuf->b_syn_containedin = FALSE;
-
- /* free the keywords */
- free_keywtab(buf->b_keywtab);
---- 3063,3070 ----
- {
- int i;
-
-! buf->b_syn_ic = FALSE; /* Use case, by default */
-! buf->b_syn_containedin = FALSE;
-
- /* free the keywords */
- free_keywtab(buf->b_keywtab);
-*** ../vim-6.3.074/src/version.c Sun May 22 12:17:33 2005
---- src/version.c Tue May 31 21:29:36 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 75,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-15. Your heart races faster and beats irregularly each time you see a new WWW
- site address in print or on TV, even though you've never had heart
- problems before.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.076
-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.3.076
-Problem: Crash when using cscope and there is a parse error (e.g., line too
- long). (Alexey I. Froloff)
-Solution: Pass the actual number of matches to cs_manage_matches() and
- correctly handle the error situation.
-Files: src/if_cscope.c
-
-
-*** ../vim-6.3.075/src/if_cscope.c Wed Jun 9 14:56:27 2004
---- src/if_cscope.c Tue Jun 7 11:06:19 2005
-***************
-*** 1,7 ****
- /* vi:set ts=8 sts=4 sw=4:
- *
- * CSCOPE support for Vim added by Andy Kahn <kahn@zk3.dec.com>
-! * Ported to Win32 by Sergey Khorev <khorev@softlab.ru>
- *
- * The basic idea/structure of cscope for Vim was borrowed from Nvi. There
- * might be a few lines of code that look similar to what Nvi has.
---- 1,7 ----
- /* vi:set ts=8 sts=4 sw=4:
- *
- * CSCOPE support for Vim added by Andy Kahn <kahn@zk3.dec.com>
-! * Ported to Win32 by Sergey Khorev <sergey.khorev@gmail.com>
- *
- * The basic idea/structure of cscope for Vim was borrowed from Nvi. There
- * might be a few lines of code that look similar to what Nvi has.
-***************
-*** 1130,1136 ****
- if (matches == NULL)
- return FALSE;
-
-! (void)cs_manage_matches(matches, contexts, totmatches, Store);
-
- return do_tag((char_u *)pat, DT_CSCOPE, 0, forceit, verbose);
- }
---- 1130,1136 ----
- if (matches == NULL)
- return FALSE;
-
-! (void)cs_manage_matches(matches, contexts, matched, Store);
-
- return do_tag((char_u *)pat, DT_CSCOPE, 0, forceit, verbose);
- }
-***************
-*** 1726,1731 ****
---- 1726,1732 ----
- *
- * get parsed cscope output and calls cs_make_vim_style_matches to convert
- * into ctags format
-+ * When there are no matches sets "*matches_p" to NULL.
- */
- static void
- cs_fill_results(tagstr, totmatches, nummatches_a, matches_p, cntxts_p, matched)
-***************
-*** 1790,1795 ****
---- 1791,1804 ----
- } /* for all cscope connections */
-
- parse_out:
-+ if (totsofar == 0)
-+ {
-+ /* No matches, free the arrays and return NULL in "*matches_p". */
-+ vim_free(matches);
-+ matches = NULL;
-+ vim_free(cntxts);
-+ cntxts = NULL;
-+ }
- *matched = totsofar;
- *matches_p = matches;
- *cntxts_p = cntxts;
-***************
-*** 2125,2131 ****
- {
- char **dblist = NULL, **pplist = NULL, **fllist = NULL;
- int i;
-! char buf[8]; /* for sprintf " (#%d)" */
-
- /* malloc our db and ppath list */
- dblist = (char **)alloc(CSCOPE_MAX_CONNECTIONS * sizeof(char *));
---- 2134,2140 ----
- {
- char **dblist = NULL, **pplist = NULL, **fllist = NULL;
- int i;
-! char buf[20]; /* for sprintf " (#%d)" */
-
- /* malloc our db and ppath list */
- dblist = (char **)alloc(CSCOPE_MAX_CONNECTIONS * sizeof(char *));
-*** ../vim-6.3.075/src/version.c Tue May 31 21:30:24 2005
---- src/version.c Tue Jun 7 11:06:46 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 76,
- /**/
-
---
-Despite the cost of living, have you noticed how it remains so popular?
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.077 (extra)
-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.3.077 (extra)
-Problem: VMS: First character input after ESC was not recognized.
-Solution: Added TRM$M_TM_TIMED in vms_read(). (Zoltan Arpadffy)
-Files: src/os_vms.c
-
-
-*** ../vim-6.3.076/src/os_vms.c Wed Jun 9 14:56:26 2004
---- src/os_vms.c Tue Jun 14 09:49:40 2005
-***************
-*** 308,315 ****
- tt_mode = get_tty();
-
- vul_item(&itmlst[0], 0, TRM$_MODIFIERS,
-! (char *)(TRM$M_TM_ESCAPE | TRM$M_TM_NOECHO | TRM$M_TM_NOEDIT |
-! TRM$M_TM_NOFILTR | TRM$M_TM_NORECALL | TRM$M_TM_TRMNOECHO), 0);
- vul_item(&itmlst[1], sizeof(trm_mask), TRM$_TERM, (char *)&trm_mask, 0);
-
- function = (IO$_READLBLK | IO$M_EXTEND);
---- 308,316 ----
- tt_mode = get_tty();
-
- vul_item(&itmlst[0], 0, TRM$_MODIFIERS,
-! (char *)( TRM$M_TM_ESCAPE | TRM$M_TM_TIMED | TRM$M_TM_NOECHO |
-! TRM$M_TM_NOEDIT | TRM$M_TM_NOFILTR |
-! TRM$M_TM_NORECALL| TRM$M_TM_TRMNOECHO), 0);
- vul_item(&itmlst[1], sizeof(trm_mask), TRM$_TERM, (char *)&trm_mask, 0);
-
- function = (IO$_READLBLK | IO$M_EXTEND);
-*** ../vim-6.3.076/src/version.c Tue Jun 7 11:11:33 2005
---- src/version.c Tue Jun 14 14:02:57 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 77,
- /**/
-
---
-From "know your smileys":
- !-| I-am-a-Cylon-Centurian-with-one-red-eye-bouncing-back-and-forth
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.078 (extra)
-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.3.078 (extra, after 6.3.077)
-Problem: VMS: Performance issue after patch 6.3.077
-Solution: Add a timeout in the itemlist. (Zoltan Arpadffy)
-Files: src/os_vms.c
-
-
-*** ../vim-6.3.077/src/os_vms.c Tue Jun 14 14:04:07 2005
---- src/os_vms.c Tue Jun 14 19:03:58 2005
-***************
-*** 300,306 ****
- {
- int status, function, len;
- TT_MODE tt_mode;
-! ITEM itmlst[2];
- static long trm_mask[8] = {-1, -1, -1, -1, -1, -1, -1, -1};
-
- /* whatever happened earlier we need an iochan here */
---- 300,306 ----
- {
- int status, function, len;
- TT_MODE tt_mode;
-! ITEM itmlst[3];
- static long trm_mask[8] = {-1, -1, -1, -1, -1, -1, -1, -1};
-
- /* whatever happened earlier we need an iochan here */
-***************
-*** 308,317 ****
- tt_mode = get_tty();
-
- vul_item(&itmlst[0], 0, TRM$_MODIFIERS,
-! (char *)( TRM$M_TM_ESCAPE | TRM$M_TM_TIMED | TRM$M_TM_NOECHO |
-! TRM$M_TM_NOEDIT | TRM$M_TM_NOFILTR |
-! TRM$M_TM_NORECALL| TRM$M_TM_TRMNOECHO), 0);
-! vul_item(&itmlst[1], sizeof(trm_mask), TRM$_TERM, (char *)&trm_mask, 0);
-
- function = (IO$_READLBLK | IO$M_EXTEND);
- memset(inbuf, 0, nbytes);
---- 308,318 ----
- tt_mode = get_tty();
-
- vul_item(&itmlst[0], 0, TRM$_MODIFIERS,
-! (char *)( TRM$M_TM_ESCAPE | TRM$M_TM_TIMED | TRM$M_TM_NOECHO |
-! TRM$M_TM_NOEDIT | TRM$M_TM_NOFILTR |
-! TRM$M_TM_NORECALL| TRM$M_TM_TRMNOECHO), 0);
-! vul_item(&itmlst[1], 0, TRM$_TIMEOUT, (char *) 1, 0 );
-! vul_item(&itmlst[2], sizeof(trm_mask), TRM$_TERM, (char *)&trm_mask, 0);
-
- function = (IO$_READLBLK | IO$M_EXTEND);
- memset(inbuf, 0, nbytes);
-*** ../vim-6.3.077/src/version.c Tue Jun 14 14:04:07 2005
---- src/version.c Tue Jun 14 19:05:34 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 78,
- /**/
-
---
-From "know your smileys":
- O:-) Saint
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.079
-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.3.079
-Problem: Crash when executing a command in the command line window while
- syntax highlighting is enabled. (Pero Brbora)
-Solution: Don't use a pointer to a buffer that has been deleted.
-Files: src/syntax.c
-
-
-*** ../vim-6.3.078/src/syntax.c Tue May 31 21:30:24 2005
---- src/syntax.c Fri Jul 1 11:12:05 2005
-***************
-*** 1158,1164 ****
- prev = NULL;
- for (p = buf->b_sst_first; p != NULL; )
- {
-! if (p->sst_lnum + syn_buf->b_syn_sync_linebreaks > buf->b_mod_top)
- {
- n = p->sst_lnum + buf->b_mod_xlines;
- if (n <= buf->b_mod_bot)
---- 1158,1164 ----
- prev = NULL;
- for (p = buf->b_sst_first; p != NULL; )
- {
-! if (p->sst_lnum + buf->b_syn_sync_linebreaks > buf->b_mod_top)
- {
- n = p->sst_lnum + buf->b_mod_xlines;
- if (n <= buf->b_mod_bot)
-*** ../vim-6.3.078/src/version.c Tue Jun 14 19:08:07 2005
---- src/version.c Fri Jul 1 11:20:27 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 79,
- /**/
-
---
-Some of the well know MS-Windows errors:
- EMEMORY Memory error caused by..., eh...
- ELICENSE Your license has expired, give us more money!
- EMOUSE Mouse moved, reinstall Windows
- EILLEGAL Illegal error, you are not allowed to see this
- EVIRUS Undetectable virus found
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.080 (extra)
-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.3.080 (extra)
-Problem: Win32: With 'encoding' set to utf-8 while the current codepage is
- Chinese editing a file with some specific characters in the name
- fails.
-Solution: Use _wfullpath() instead of _fullpath() when necessary.
-Files: src/os_mswin.c
-
-
-*** ../vim-6.3.079/src/os_mswin.c Sun Dec 5 16:43:06 2004
---- src/os_mswin.c Sat Jul 2 13:07:35 2005
-***************
-*** 367,385 ****
- nResult = mch_dirname(buf, len);
- else
- #endif
-- if (_fullpath(buf, fname, len - 1) == NULL)
- {
-! STRNCPY(buf, fname, len); /* failed, use the relative path name */
-! buf[len - 1] = NUL;
-! #ifndef USE_FNAME_CASE
-! slash_adjust(buf);
- #endif
- }
-- else
-- nResult = OK;
-
- #ifdef USE_FNAME_CASE
- fname_case(buf, len);
- #endif
-
- return nResult;
---- 367,421 ----
- nResult = mch_dirname(buf, len);
- else
- #endif
- {
-! #ifdef FEAT_MBYTE
-! if (enc_codepage >= 0 && (int)GetACP() != enc_codepage
-! # ifdef __BORLANDC__
-! /* Wide functions of Borland C 5.5 do not work on Windows 98. */
-! && g_PlatformId == VER_PLATFORM_WIN32_NT
-! # endif
-! )
-! {
-! WCHAR *wname;
-! WCHAR wbuf[MAX_PATH];
-! char_u *cname = NULL;
-!
-! /* Use the wide function:
-! * - convert the fname from 'encoding' to UCS2.
-! * - invoke _wfullpath()
-! * - convert the result from UCS2 to 'encoding'.
-! */
-! wname = enc_to_ucs2(fname, NULL);
-! if (wname != NULL && _wfullpath(wbuf, wname, MAX_PATH - 1) != NULL)
-! {
-! cname = ucs2_to_enc((short_u *)wbuf, NULL);
-! if (cname != NULL)
-! {
-! STRNCPY(buf, cname, len);
-! buf[len - 1] = NUL;
-! nResult = OK;
-! }
-! }
-! vim_free(wname);
-! vim_free(cname);
-! }
-! if (nResult == FAIL) /* fall back to non-wide function */
- #endif
-+ {
-+ if (_fullpath(buf, fname, len - 1) == NULL)
-+ {
-+ STRNCPY(buf, fname, len); /* failed, use relative path name */
-+ buf[len - 1] = NUL;
-+ }
-+ else
-+ nResult = OK;
-+ }
- }
-
- #ifdef USE_FNAME_CASE
- fname_case(buf, len);
-+ #else
-+ slash_adjust(buf);
- #endif
-
- return nResult;
-*** ../vim-6.3.079/src/version.c Fri Jul 1 11:20:39 2005
---- src/version.c Mon Jul 4 12:18:34 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 80,
- /**/
-
---
-hundred-and-one symptoms of being an internet addict:
-225. You sign up for free subscriptions for all the computer magazines
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.081
-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.3.081
-Problem: Unix: glob() may execute a shell command when it's not wanted.
- (Georgi Guninski)
-Solution: Verify the sandbox flag is not set.
-Files: src/os_unix.c
-
-
-*** ../vim-6.3.080/src/os_unix.c Sat Jan 29 16:14:42 2005
---- src/os_unix.c Tue Jul 19 22:29:34 2005
-***************
-*** 4700,4706 ****
- /*
- * Don't allow the use of backticks in secure and restricted mode.
- */
-! if (secure || restricted)
- for (i = 0; i < num_pat; ++i)
- if (vim_strchr(pat[i], '`') != NULL
- && (check_restricted() || check_secure()))
---- 4700,4710 ----
- /*
- * Don't allow the use of backticks in secure and restricted mode.
- */
-! if (secure || restricted
-! # ifdef HAVE_SANDBOX
-! || sandbox != 0
-! # endif
-! )
- for (i = 0; i < num_pat; ++i)
- if (vim_strchr(pat[i], '`') != NULL
- && (check_restricted() || check_secure()))
-*** ../vim-6.3.080/src/version.c Mon Jul 4 12:19:01 2005
---- src/version.c Tue Jul 19 22:26:32 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 81,
- /**/
-
---
- With sufficient thrust, pigs fly just fine.
- -- RFC 1925
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.082
-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.3.082 (after 6.3.081)
-Problem: Unix: expand() may execute a shell command when it's not wanted.
- (Georgi Guninski)
-Solution: A more generic solution than 6.3.081.
-Files: src/os_unix.c
-
-
-*** ../vim-6.3.081/src/os_unix.c Tue Jul 19 22:31:54 2005
---- src/os_unix.c Wed Jul 20 10:54:12 2005
-***************
-*** 4697,4710 ****
- if (!have_wildcard(num_pat, pat))
- return save_patterns(num_pat, pat, num_file, file);
-
- /*
- * Don't allow the use of backticks in secure and restricted mode.
- */
-! if (secure || restricted
-! # ifdef HAVE_SANDBOX
-! || sandbox != 0
-! # endif
-! )
- for (i = 0; i < num_pat; ++i)
- if (vim_strchr(pat[i], '`') != NULL
- && (check_restricted() || check_secure()))
---- 4697,4712 ----
- if (!have_wildcard(num_pat, pat))
- return save_patterns(num_pat, pat, num_file, file);
-
-+ # ifdef HAVE_SANDBOX
-+ /* Don't allow any shell command in the sandbox. */
-+ if (sandbox != 0 && check_secure())
-+ return FAIL;
-+ # endif
-+
- /*
- * Don't allow the use of backticks in secure and restricted mode.
- */
-! if (secure || restricted)
- for (i = 0; i < num_pat; ++i)
- if (vim_strchr(pat[i], '`') != NULL
- && (check_restricted() || check_secure()))
-*** ../vim-6.3.081/src/version.c Tue Jul 19 22:31:54 2005
---- src/version.c Wed Jul 20 11:03:50 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 82,
- /**/
-
---
-No letters of the alphabet were harmed in the creation of this message.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.083
-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.3.083
-Problem: VMS: The vt320 termcap entry is incomplete.
-Solution: Add missing function keys. (Zoltan Arpadffy)
-Files: src/term.c
-
-
-*** ../vim-6.3.082/src/term.c Sat Sep 18 20:28:07 2004
---- src/term.c Thu Jul 21 13:00:18 2005
-***************
-*** 812,827 ****
- {(int)KS_CCO, "8"}, /* allow 8 colors */
- {(int)KS_ME, IF_EB("\033[0m", ESC_STR "[0m")},
- {(int)KS_MR, IF_EB("\033[7m", ESC_STR "[7m")},
-! {(int)KS_MD, IF_EB("\033[1m", ESC_STR "[1m")}, /* bold mode */
-! {(int)KS_SE, IF_EB("\033[22m", ESC_STR "[22m")},/* normal mode */
-! {(int)KS_UE, IF_EB("\033[24m", ESC_STR "[24m")},/* exit underscore mode */
-! {(int)KS_US, IF_EB("\033[4m", ESC_STR "[4m")}, /* underscore mode */
-! {(int)KS_CZH, IF_EB("\033[34;43m", ESC_STR "[34;43m" )}, /* italic mode: blue text on yellow */
-! {(int)KS_CZR, IF_EB("\033[0m", ESC_STR "[0m")}, /* italic mode end */
-! {(int)KS_CAB, IF_EB("\033[4%dm", ESC_STR "[4%dm" )}, /* set background color (ANSI) */
-! {(int)KS_CAF, IF_EB("\033[3%dm", ESC_STR "[3%dm" )}, /* set foreground color (ANSI) */
-! {(int)KS_CSB, IF_EB("\033[102;%dm", ESC_STR "[102;%dm" )}, /* set screen background color */
-! {(int)KS_CSF, IF_EB("\033[101;%dm", ESC_STR "[101;%dm" )}, /* set screen foreground color */
- {(int)KS_MS, "y"},
- {(int)KS_UT, "y"},
- {(int)KS_LE, "\b"},
---- 812,827 ----
- {(int)KS_CCO, "8"}, /* allow 8 colors */
- {(int)KS_ME, IF_EB("\033[0m", ESC_STR "[0m")},
- {(int)KS_MR, IF_EB("\033[7m", ESC_STR "[7m")},
-! {(int)KS_MD, IF_EB("\033[1m", ESC_STR "[1m")}, /* bold mode */
-! {(int)KS_SE, IF_EB("\033[22m", ESC_STR "[22m")},/* normal mode */
-! {(int)KS_UE, IF_EB("\033[24m", ESC_STR "[24m")},/* exit underscore mode */
-! {(int)KS_US, IF_EB("\033[4m", ESC_STR "[4m")}, /* underscore mode */
-! {(int)KS_CZH, IF_EB("\033[34;43m", ESC_STR "[34;43m")}, /* italic mode: blue text on yellow */
-! {(int)KS_CZR, IF_EB("\033[0m", ESC_STR "[0m")}, /* italic mode end */
-! {(int)KS_CAB, IF_EB("\033[4%dm", ESC_STR "[4%dm")}, /* set background color (ANSI) */
-! {(int)KS_CAF, IF_EB("\033[3%dm", ESC_STR "[3%dm")}, /* set foreground color (ANSI) */
-! {(int)KS_CSB, IF_EB("\033[102;%dm", ESC_STR "[102;%dm")}, /* set screen background color */
-! {(int)KS_CSF, IF_EB("\033[101;%dm", ESC_STR "[101;%dm")}, /* set screen foreground color */
- {(int)KS_MS, "y"},
- {(int)KS_UT, "y"},
- {(int)KS_LE, "\b"},
-***************
-*** 840,852 ****
- {K_DOWN, IF_EB("\033[B", ESC_STR "[B")},
- {K_RIGHT, IF_EB("\033[C", ESC_STR "[C")},
- {K_LEFT, IF_EB("\033[D", ESC_STR "[D")},
- {K_F6, IF_EB("\033[17~", ESC_STR "[17~")},
- {K_F7, IF_EB("\033[18~", ESC_STR "[18~")},
- {K_F8, IF_EB("\033[19~", ESC_STR "[19~")},
- {K_F9, IF_EB("\033[20~", ESC_STR "[20~")},
- {K_F10, IF_EB("\033[21~", ESC_STR "[21~")},
-! /* {K_F11, IF_EB("\033[23~", ESC_STR "[23~")},
-! * (ESC) should not define, sometimes does not work */
- {K_F12, IF_EB("\033[24~", ESC_STR "[24~")},
- {K_F13, IF_EB("\033[25~", ESC_STR "[25~")},
- {K_F14, IF_EB("\033[26~", ESC_STR "[26~")},
---- 840,856 ----
- {K_DOWN, IF_EB("\033[B", ESC_STR "[B")},
- {K_RIGHT, IF_EB("\033[C", ESC_STR "[C")},
- {K_LEFT, IF_EB("\033[D", ESC_STR "[D")},
-+ {K_F1, IF_EB("\033[11~", ESC_STR "[11~")},
-+ {K_F2, IF_EB("\033[12~", ESC_STR "[12~")},
-+ {K_F3, IF_EB("\033[13~", ESC_STR "[13~")},
-+ {K_F4, IF_EB("\033[14~", ESC_STR "[14~")},
-+ {K_F5, IF_EB("\033[15~", ESC_STR "[15~")},
- {K_F6, IF_EB("\033[17~", ESC_STR "[17~")},
- {K_F7, IF_EB("\033[18~", ESC_STR "[18~")},
- {K_F8, IF_EB("\033[19~", ESC_STR "[19~")},
- {K_F9, IF_EB("\033[20~", ESC_STR "[20~")},
- {K_F10, IF_EB("\033[21~", ESC_STR "[21~")},
-! {K_F11, IF_EB("\033[23~", ESC_STR "[23~")},
- {K_F12, IF_EB("\033[24~", ESC_STR "[24~")},
- {K_F13, IF_EB("\033[25~", ESC_STR "[25~")},
- {K_F14, IF_EB("\033[26~", ESC_STR "[26~")},
-*** ../vim-6.3.082/src/version.c Wed Jul 20 11:09:52 2005
---- src/version.c Thu Jul 21 13:01:35 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 83,
- /**/
-
---
-ARTHUR: Ni!
-BEDEVERE: Nu!
-ARTHUR: No. Ni! More like this. "Ni"!
-BEDEVERE: Ni, ni, ni!
- "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.084 (extra)
-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.3.084 (extra)
-Problem: Cygwin: compiling with DEBUG doesn't work. Perl path was ignored.
- Failure when $(OUTDIR) already exists. "po" makefile is missing.
-Solution: Use changes tested in Vim 7. (Tony Mechelynck)
-Files: src/Make_cyg.mak, src/po/Make_cyg.mak
-
-
-*** ../vim-6.3.083/src/Make_cyg.mak Wed Jun 9 14:56:27 2004
---- src/Make_cyg.mak Thu Jul 21 13:48:38 2005
-***************
-*** 1,6 ****
- #
- # Makefile for VIM on Win32, using Cygnus gcc
-! # Last updated by Dan Sharp. Last Change: 2004 Apr 23
- #
- # This compiles Vim as a Windows application. If you want Vim to run as a
- # Cygwin application use the Makefile (just like on Unix).
---- 1,7 ----
- #
- # Makefile for VIM on Win32, using Cygnus gcc
-! # Updated by Dan Sharp and Bram Moolenaar.
-! # Last Change: 2005 Jul 21
- #
- # This compiles Vim as a Windows application. If you want Vim to run as a
- # Cygwin application use the Makefile (just like on Unix).
-***************
-*** 298,304 ****
- EXTRA_OBJS += $(OUTDIR)/netbeans.o $(OUTDIR)/gui_beval.o
- EXTRA_LIBS += -lwsock32
-
-! ifeq (yes, $(DEBUG))
- DEFINES += -DNBDEBUG
- NBDEBUG_DEP = nbdebug.h nbdebug.c
- endif
---- 299,305 ----
- EXTRA_OBJS += $(OUTDIR)/netbeans.o $(OUTDIR)/gui_beval.o
- EXTRA_LIBS += -lwsock32
-
-! ifeq (yes, $(NBDEBUG))
- DEFINES += -DNBDEBUG
- NBDEBUG_DEP = nbdebug.h nbdebug.c
- endif
-***************
-*** 336,344 ****
---- 337,347 ----
- ##############################
- ifneq (sh.exe, $(SHELL))
- DEL = rm
-+ MKDIR = mkdir -p
- DIRSLASH = /
- else
- DEL = del
-+ MKDIR = mkdir
- DIRSLASH = \\
- endif
-
-***************
-*** 421,427 ****
- $(CC) $(CFLAGS) -o uninstal.exe uninstal.c $(LIBS)
-
- $(OUTDIR):
-! mkdir $(OUTDIR)
-
- tags:
- command /c ctags *.c $(INCL)
---- 424,430 ----
- $(CC) $(CFLAGS) -o uninstal.exe uninstal.c $(LIBS)
-
- $(OUTDIR):
-! $(MKDIR) $(OUTDIR)
-
- tags:
- command /c ctags *.c $(INCL)
-***************
-*** 429,435 ****
- clean:
- -$(DEL) $(OUTDIR)$(DIRSLASH)*.o
- -rmdir $(OUTDIR)
-! -$(DEL) *.exe
- ifdef PERL
- -$(DEL) if_perl.c
- endif
---- 432,438 ----
- clean:
- -$(DEL) $(OUTDIR)$(DIRSLASH)*.o
- -rmdir $(OUTDIR)
-! -$(DEL) $(EXE) vimrun.exe install.exe uninstal.exe
- ifdef PERL
- -$(DEL) if_perl.c
- endif
-***************
-*** 455,462 ****
- $(CC) -c $(CFLAGS) -D__IID_DEFINED__ if_ole.cpp -o $(OUTDIR)/if_ole.o
-
- if_perl.c: if_perl.xs typemap
-! perl $(PERL)/lib/ExtUtils/xsubpp -prototypes -typemap \
-! $(PERL)/lib/ExtUtils/typemap if_perl.xs > $@
-
- $(OUTDIR)/if_perl.o: if_perl.c $(INCL)
- ifeq (yes, $(USEDLL))
---- 458,466 ----
- $(CC) -c $(CFLAGS) -D__IID_DEFINED__ if_ole.cpp -o $(OUTDIR)/if_ole.o
-
- if_perl.c: if_perl.xs typemap
-! $(PERL)/bin/perl `cygpath -d $(PERL)/lib/ExtUtils/xsubpp` \
-! -prototypes -typemap \
-! `cygpath -d $(PERL)/lib/ExtUtils/typemap` if_perl.xs > $@
-
- $(OUTDIR)/if_perl.o: if_perl.c $(INCL)
- ifeq (yes, $(USEDLL))
-*** ../vim-6.3.083/src/po/Make_cyg.mak Thu Jul 21 13:47:58 2005
---- src/po/Make_cyg.mak Thu Jul 21 13:46:39 2005
-***************
-*** 0 ****
---- 1,128 ----
-+ # Makefile for the Vim message translations for Cygwin
-+ # by Tony Mechelynck <antoine.mechelynck@skynet.be>
-+ # after Make_ming.mak by
-+ # Eduardo F. Amatria <eferna1@platea.pntic.mec.es>
-+ #
-+ # Read the README_ming.txt file before using it.
-+ #
-+ # Use at your own risk but with care, it could even kill your canary.
-+ #
-+
-+ ifndef VIMRUNTIME
-+ VIMRUNTIME = ../../runtime
-+ endif
-+
-+ LANGUAGES = af \
-+ ca \
-+ cs \
-+ cs.cp1250 \
-+ de \
-+ en_GB \
-+ es \
-+ fr \
-+ it \
-+ ja \
-+ ja.sjis \
-+ ko \
-+ no \
-+ pl \
-+ pl.cp1250 \
-+ ru \
-+ ru.cp1251 \
-+ sk \
-+ sk.cp1250 \
-+ sv \
-+ uk \
-+ zh_CN \
-+ zh_CN.UTF-8 \
-+ zh_CN.cp936 \
-+ zh_TW \
-+ zh_TW.UTF-8 \
-+
-+ MOFILES = af.mo \
-+ ca.mo \
-+ cs.cp1250.mo \
-+ cs.mo \
-+ de.mo \
-+ en_GB.mo \
-+ es.mo \
-+ fr.mo \
-+ it.mo \
-+ ja.mo \
-+ ja.sjis.mo \
-+ ko.mo \
-+ no.mo \
-+ pl.cp1250.mo \
-+ pl.mo \
-+ ru.cp1251.mo \
-+ ru.mo \
-+ sk.cp1250.mo \
-+ sk.mo \
-+ sv.mo \
-+ uk.mo \
-+ zh_CN.UTF-8.mo \
-+ zh_CN.cp936.mo \
-+ zh_CN.mo \
-+ zh_TW.UTF-8.mo \
-+ zh_TW.mo \
-+
-+ PACKAGE = vim
-+
-+ # Uncomment one of the lines below or modify it to put the path to your
-+ # gettext binaries
-+ ifndef GETTEXT_PATH
-+ #GETTEXT_PATH = C:/gettext.win32/bin/
-+ #GETTEXT_PATH = C:/gettext-0.10.35-w32/win32/Release/
-+ GETTEXT_PATH = /bin/
-+ endif
-+
-+ # The OLD_PO_FILE_INPUT and OLD_PO_FILE_OUTPUT are for the new GNU gettext
-+ # tools 0.10.37, which use a slightly different .po file format that is not
-+ # compatible with Solaris (and old gettext implementations) unless these are
-+ # set. gettext 0.10.36 will not work!
-+ MSGFMT = OLD_PO_FILE_INPUT=yes $(GETTEXT_PATH)msgfmt -v
-+ XGETTEXT = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes $(GETTEXT_PATH)xgettext
-+ MSGMERGE = OLD_PO_FILE_INPUT=yes OLD_PO_FILE_OUTPUT=yes $(GETTEXT_PATH)msgmerge
-+
-+ # MV = move
-+ # CP = copy
-+ # RM = del
-+ # MKD = mkdir
-+ MV = mv -f
-+ CP = cp -f
-+ RM = rm -f
-+ MKD = mkdir -p
-+
-+ .SUFFIXES:
-+ .SUFFIXES: .po .mo .pot
-+ .PHONY: first_time all install clean $(LANGUAGES)
-+
-+ .po.mo:
-+ $(MSGFMT) -o $@ $<
-+
-+ all: $(MOFILES)
-+
-+ first_time:
-+ $(XGETTEXT) --default-domain=$(LANGUAGE) \
-+ --add-comments --keyword=_ --keyword=N_ $(wildcard ../*.c) ../if_perl.xs $(wildcard ../globals.h)
-+
-+ $(LANGUAGES):
-+ $(XGETTEXT) --default-domain=$(PACKAGE) \
-+ --add-comments --keyword=_ --keyword=N_ $(wildcard ../*.c) ../if_perl.xs $(wildcard ../globals.h)
-+ $(MV) $(PACKAGE).po $(PACKAGE).pot
-+ $(CP) $@.po $@.po.orig
-+ $(MV) $@.po $@.po.old
-+ $(MSGMERGE) $@.po.old $(PACKAGE).pot -o $@.po
-+ $(RM) $@.po.old
-+
-+ install: $(MOFILES)
-+ for TARGET in $(LANGUAGES); do \
-+ $(MKD) $(VIMRUNTIME)/lang/$$TARGET/LC_MESSAGES ; \
-+ $(CP) $$TARGET.mo $(VIMRUNTIME)/lang/$$TARGET/LC_MESSAGES/$(PACKAGE).mo ; \
-+ done
-+
-+ clean:
-+ $(RM) *.mo
-+ $(RM) *.pot
-+
-+
-*** ../vim-6.3.083/src/version.c Thu Jul 21 13:02:06 2005
---- src/version.c Thu Jul 21 13:47:15 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 84,
- /**/
-
---
-Michael: There is no such thing as a dump question.
-Bernard: Sure there is. For example "what is a core dump?"
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.085
-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.3.085
-Problem: Crash in syntax highlighting code. (Marc Espie)
-Solution: Prevent current_col going past the end of the line.
-Files: src/syntax.c
-
-
-*** ../vim-6.3.084/src/syntax.c Fri Jul 1 11:20:39 2005
---- src/syntax.c Sun Jul 24 19:39:04 2005
-***************
-*** 659,664 ****
---- 659,665 ----
- linenr_T found_current_lnum = 0;
- int found_current_col= 0;
- lpos_T found_m_endpos;
-+ colnr_T prev_current_col;
-
- /*
- * Clear any current state that might be hanging around.
-***************
-*** 829,838 ****
- ++current_col;
-
- /* syn_current_attr() will have skipped the check for
-! * an item that ends here, need to do that now. */
-! ++current_col;
- check_state_ends();
-! --current_col;
- }
- else
- break;
---- 830,842 ----
- ++current_col;
-
- /* syn_current_attr() will have skipped the check for
-! * an item that ends here, need to do that now. Be
-! * careful not to go past the NUL. */
-! prev_current_col = current_col;
-! if (syn_getcurline()[current_col] != NUL)
-! ++current_col;
- check_state_ends();
-! current_col = prev_current_col;
- }
- else
- break;
-***************
-*** 1635,1640 ****
---- 1639,1645 ----
- int syncing; /* called for syncing */
- {
- stateitem_T *cur_si;
-+ colnr_T prev_current_col;
-
- if (!current_finished)
- {
-***************
-*** 1656,1665 ****
- return TRUE;
-
- /* syn_current_attr() will have skipped the check for an item
-! * that ends here, need to do that now. */
-! ++current_col;
- check_state_ends();
-! --current_col;
- }
- ++current_col;
- }
---- 1661,1673 ----
- return TRUE;
-
- /* syn_current_attr() will have skipped the check for an item
-! * that ends here, need to do that now. Be careful not to go
-! * past the NUL. */
-! prev_current_col = current_col;
-! if (syn_getcurline()[current_col] != NUL)
-! ++current_col;
- check_state_ends();
-! current_col = prev_current_col;
- }
- ++current_col;
- }
-***************
-*** 2178,2184 ****
- if (!syncing)
- {
- check_state_ends();
-! if (current_state.ga_len > 0)
- {
- ++current_col;
- check_state_ends();
---- 2186,2193 ----
- if (!syncing)
- {
- check_state_ends();
-! if (current_state.ga_len > 0
-! && syn_getcurline()[current_col] != NUL)
- {
- ++current_col;
- check_state_ends();
-*** ../vim-6.3.084/src/version.c Thu Jul 21 13:49:11 2005
---- src/version.c Sun Jul 24 19:42:30 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 85,
- /**/
-
---
-BEDEVERE: How do you know so much about swallows?
-ARTHUR: Well you have to know these things when you're a king, you know.
- "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.086 (extra)
-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.3.086 (extra)
-Problem: Can't produce message translation file with msgfmt that checks
- printf strings.
-Solution: Fix the Russian translation.
-Files: src/po/ru.po, src/po/ru.cp1251.po
-
-
-*** ../vim-6.3.085/src/po/ru.po Wed Jun 9 14:56:24 2004
---- src/po/ru.po Fri Jul 29 09:51:52 2005
-***************
-*** 9,18 ****
- #
- msgid ""
- msgstr ""
-! "Project-Id-Version: Vim 6.3a\n"
- "Report-Msgid-Bugs-To: \n"
-! "POT-Creation-Date: 2004-05-10 21:37+0400\n"
-! "PO-Revision-Date: 2004-05-10 21:37+0400\n"
- "Last-Translator: vassily ragosin <vrr@users.sourceforge.net>\n"
- "Language-Team: vassily ragosin <vrr@users.sourceforge.net>\n"
- "MIME-Version: 1.0\n"
---- 9,18 ----
- #
- msgid ""
- msgstr ""
-! "Project-Id-Version: Vim 6.3.15\n"
- "Report-Msgid-Bugs-To: \n"
-! "POT-Creation-Date: 2004-08-06 09:06+0400\n"
-! "PO-Revision-Date: 2004-08-06 09:06+0400\n"
- "Last-Translator: vassily ragosin <vrr@users.sourceforge.net>\n"
- "Language-Team: vassily ragosin <vrr@users.sourceforge.net>\n"
- "MIME-Version: 1.0\n"
-***************
-*** 880,889 ****
- msgid "E670: Mix of help file encodings within a language: %s"
- msgstr "E670: æÁÊÌÙ ÓÐÒÁ×ËÉ ÉÓÐÏÌØÚÕÀÔ ÒÁÚÎÙÅ ËÏÄÉÒÏ×ËÉ ÄÌÑ ÏÄÎÏÇÏ ÑÚÙËÁ: %s"
-
-! #: ex_cmds.c:5445
- #, c-format
-! msgid "E154: Duplicate tag \"%s\" in file %s"
-! msgstr "E154: ðÏ×ÔÏÒÑÀÝÁÑÓÑ ÍÅÔËÁ \"%s\" × ÆÁÊÌÅ %s"
-
- #: ex_cmds.c:5557
- #, c-format
---- 880,889 ----
- msgid "E670: Mix of help file encodings within a language: %s"
- msgstr "E670: æÁÊÌÙ ÓÐÒÁ×ËÉ ÉÓÐÏÌØÚÕÀÔ ÒÁÚÎÙÅ ËÏÄÉÒÏ×ËÉ ÄÌÑ ÏÄÎÏÇÏ ÑÚÙËÁ: %s"
-
-! #: ex_cmds.c:5492
- #, c-format
-! msgid "E154: Duplicate tag \"%s\" in file %s/%s"
-! msgstr "E154: ðÏ×ÔÏÒÑÀÝÁÑÓÑ ÍÅÔËÁ \"%s\" × ÆÁÊÌÅ %s/%s"
-
- #: ex_cmds.c:5557
- #, c-format
-***************
-*** 1236,1245 ****
- msgid "E173: 1 more file to edit"
- msgstr "E173: 1 ÆÁÊÌ ÏÖÉÄÁÅÔ ÒÅÄÁËÔÉÒÏ×ÁÎÉÑ."
-
-! #: ex_docmd.c:4581
- #, c-format
- msgid "E173: %ld more files to edit"
-! msgstr "E173: åÓÔØ ÎÅÏÔÒÅÄÁËÔÉÒÏ×ÁÎÎÙÅ ÆÁÊÌÙ (%d)."
-
- #: ex_docmd.c:4676
- msgid "E174: Command already exists: add ! to replace it"
---- 1236,1245 ----
- msgid "E173: 1 more file to edit"
- msgstr "E173: 1 ÆÁÊÌ ÏÖÉÄÁÅÔ ÒÅÄÁËÔÉÒÏ×ÁÎÉÑ."
-
-! #: ex_docmd.c:4584
- #, c-format
- msgid "E173: %ld more files to edit"
-! msgstr "E173: åÓÔØ ÎÅÏÔÒÅÄÁËÔÉÒÏ×ÁÎÎÙÅ ÆÁÊÌÙ (%ld)."
-
- #: ex_docmd.c:4676
- msgid "E174: Command already exists: add ! to replace it"
-***************
-*** 2303,2314 ****
- "\n"
- "ïÔÐÒÁ×ËÁ ÓÏÏÂÝÅÎÉÑ ÄÌÑ ÕÎÉÞÔÏÖÅÎÉÑ ÐÒÏÃÅÓÓÁ-ÐÏÔÏÍËÁ.\n"
-
-! #: gui_w32.c:829
- #, c-format
- msgid "E243: Argument not supported: \"-%s\"; Use the OLE version."
- msgstr "E243: ðÁÒÁÍÅÔÒ ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ: \"-%s\"; ÉÓÐÏÌØÚÕÊÔÅ ×ÅÒÓÉÀ OLE."
-
-! #: gui_w48.c:2090
- msgid "Find string (use '\\\\' to find a '\\')"
- msgstr "ðÏÉÓË ÓÔÒÏËÉ (ÉÓÐÏÌØÚÕÊÔÅ '\\\\' ÄÌÑ ÐÏÉÓËÁ '\\')"
-
---- 2303,2323 ----
- "\n"
- "ïÔÐÒÁ×ËÁ ÓÏÏÂÝÅÎÉÑ ÄÌÑ ÕÎÉÞÔÏÖÅÎÉÑ ÐÒÏÃÅÓÓÁ-ÐÏÔÏÍËÁ.\n"
-
-! #: gui_w32.c:839
-! #, c-format
-! msgid "E671: Cannot find window title \"%s\""
-! msgstr "E671: îÅ×ÏÚÍÏÖÎÏ ÎÁÊÔÉ ÚÁÇÏÌÏ×ÏË ÏËÎÁ \"%s\""
-!
-! #: gui_w32.c:847
- #, c-format
- msgid "E243: Argument not supported: \"-%s\"; Use the OLE version."
- msgstr "E243: ðÁÒÁÍÅÔÒ ÎÅ ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ: \"-%s\"; ÉÓÐÏÌØÚÕÊÔÅ ×ÅÒÓÉÀ OLE."
-
-! #: gui_w32.c:1100
-! msgid "E672: Unable to open window inside MDI application"
-! msgstr "E672: îÅ×ÏÚÍÏÖÎÏ ÏÔËÒÙÔØ ÏËÎÏ ×ÎÕÔÒÉ ÐÒÉÌÏÖÅÎÉÑ MDI"
-!
-! #: gui_w48.c:2163
- msgid "Find string (use '\\\\' to find a '\\')"
- msgstr "ðÏÉÓË ÓÔÒÏËÉ (ÉÓÐÏÌØÚÕÊÔÅ '\\\\' ÄÌÑ ÐÏÉÓËÁ '\\')"
-
-***************
-*** 2353,2358 ****
---- 2362,2368 ----
- msgstr "Font1: %s\n"
-
- #: gui_x11.c:2184
-+ #, c-format
- msgid "Font%ld width is not twice that of font0\n"
- msgstr "ûÉÒÉÎÁ ÛÒÉÆÔÁ font%ld ÄÏÌÖÎÁ ÂÙÔØ ×Ä×ÏÅ ÂÏÌØÛÅ ÛÉÒÉÎÙ ÛÒÉÆÔÁ font0\n"
-
-***************
-*** 2437,2443 ****
- #: if_cscope.c:589
- #, c-format
- msgid "E262: error reading cscope connection %ld"
-! msgstr "E262: ÏÛÉÂËÁ ÐÏÌÕÞÅÎÉÑ ÉÎÆÏÒÍÁÃÉÉ ÏÔ ÓÏÅÄÉÎÅÎÉÑ cscope %d"
-
- #: if_cscope.c:694
- msgid "E561: unknown cscope search type"
---- 2447,2453 ----
- #: if_cscope.c:589
- #, c-format
- msgid "E262: error reading cscope connection %ld"
-! msgstr "E262: ÏÛÉÂËÁ ÐÏÌÕÞÅÎÉÑ ÉÎÆÏÒÍÁÃÉÉ ÏÔ ÓÏÅÄÉÎÅÎÉÑ cscope %ld"
-
- #: if_cscope.c:694
- msgid "E561: unknown cscope search type"
-***************
-*** 2515,2521 ****
- #: if_cscope.c:1458
- #, c-format
- msgid "cscope connection %s closed"
-! msgstr "ÓÏÅÄÉÎÅÎÉÅ Ó cscope ÚÁËÒÙÔÏ"
-
- #. should not reach here
- #: if_cscope.c:1598
---- 2525,2531 ----
- #: if_cscope.c:1458
- #, c-format
- msgid "cscope connection %s closed"
-! msgstr "ÓÏÅÄÉÎÅÎÉÅ %s Ó cscope ÚÁËÒÙÔÏ"
-
- #. should not reach here
- #: if_cscope.c:1598
-***************
-*** 6654,6658 ****
- msgid "E463: Region is guarded, cannot modify"
- msgstr "E463: îÅ×ÏÚÍÏÖÎÏ ÉÚÍÅÎÉÔØ ÏÈÒÁÎÑÅÍÕÀ ÏÂÌÁÓÔØ"
-
-- #~ msgid "\"\n"
-- #~ msgstr "\"\n"
---- 6664,6666 ----
-*** ../vim-6.3.085/src/po/ru.cp1251.po Wed Jun 9 14:56:25 2004
---- src/po/ru.cp1251.po Fri Jul 29 09:51:58 2005
-***************
-*** 9,18 ****
- #
- msgid ""
- msgstr ""
-! "Project-Id-Version: Vim 6.3a\n"
- "Report-Msgid-Bugs-To: \n"
-! "POT-Creation-Date: 2004-05-10 21:37+0400\n"
-! "PO-Revision-Date: 2004-05-10 21:37+0400\n"
- "Last-Translator: vassily ragosin <vrr@users.sourceforge.net>\n"
- "Language-Team: vassily ragosin <vrr@users.sourceforge.net>\n"
- "MIME-Version: 1.0\n"
---- 9,18 ----
- #
- msgid ""
- msgstr ""
-! "Project-Id-Version: Vim 6.3.15\n"
- "Report-Msgid-Bugs-To: \n"
-! "POT-Creation-Date: 2004-08-06 09:06+0400\n"
-! "PO-Revision-Date: 2004-08-06 09:06+0400\n"
- "Last-Translator: vassily ragosin <vrr@users.sourceforge.net>\n"
- "Language-Team: vassily ragosin <vrr@users.sourceforge.net>\n"
- "MIME-Version: 1.0\n"
-***************
-*** 880,889 ****
- msgid "E670: Mix of help file encodings within a language: %s"
- msgstr "E670: Ôàéëû ñïðàâêè èñïîëüçóþò ðàçíûå êîäèðîâêè äëÿ îäíîãî ÿçûêà: %s"
-
-! #: ex_cmds.c:5445
- #, c-format
-! msgid "E154: Duplicate tag \"%s\" in file %s"
-! msgstr "E154: Ïîâòîðÿþùàÿñÿ ìåòêà \"%s\" â ôàéëå %s"
-
- #: ex_cmds.c:5557
- #, c-format
---- 880,889 ----
- msgid "E670: Mix of help file encodings within a language: %s"
- msgstr "E670: Ôàéëû ñïðàâêè èñïîëüçóþò ðàçíûå êîäèðîâêè äëÿ îäíîãî ÿçûêà: %s"
-
-! #: ex_cmds.c:5492
- #, c-format
-! msgid "E154: Duplicate tag \"%s\" in file %s/%s"
-! msgstr "E154: Ïîâòîðÿþùàÿñÿ ìåòêà \"%s\" â ôàéëå %s/%s"
-
- #: ex_cmds.c:5557
- #, c-format
-***************
-*** 1236,1245 ****
- msgid "E173: 1 more file to edit"
- msgstr "E173: 1 ôàéë îæèäàåò ðåäàêòèðîâàíèÿ."
-
-! #: ex_docmd.c:4581
- #, c-format
- msgid "E173: %ld more files to edit"
-! msgstr "E173: Åñòü íåîòðåäàêòèðîâàííûå ôàéëû (%d)."
-
- #: ex_docmd.c:4676
- msgid "E174: Command already exists: add ! to replace it"
---- 1236,1245 ----
- msgid "E173: 1 more file to edit"
- msgstr "E173: 1 ôàéë îæèäàåò ðåäàêòèðîâàíèÿ."
-
-! #: ex_docmd.c:4584
- #, c-format
- msgid "E173: %ld more files to edit"
-! msgstr "E173: Åñòü íåîòðåäàêòèðîâàííûå ôàéëû (%ld)."
-
- #: ex_docmd.c:4676
- msgid "E174: Command already exists: add ! to replace it"
-***************
-*** 2303,2314 ****
- "\n"
- "Îòïðàâêà ñîîáùåíèÿ äëÿ óíè÷òîæåíèÿ ïðîöåññà-ïîòîìêà.\n"
-
-! #: gui_w32.c:829
- #, c-format
- msgid "E243: Argument not supported: \"-%s\"; Use the OLE version."
- msgstr "E243: Ïàðàìåòð íå ïîääåðæèâàåòñÿ: \"-%s\"; èñïîëüçóéòå âåðñèþ OLE."
-
-! #: gui_w48.c:2090
- msgid "Find string (use '\\\\' to find a '\\')"
- msgstr "Ïîèñê ñòðîêè (èñïîëüçóéòå '\\\\' äëÿ ïîèñêà '\\')"
-
---- 2303,2323 ----
- "\n"
- "Îòïðàâêà ñîîáùåíèÿ äëÿ óíè÷òîæåíèÿ ïðîöåññà-ïîòîìêà.\n"
-
-! #: gui_w32.c:839
-! #, c-format
-! msgid "E671: Cannot find window title \"%s\""
-! msgstr "E671: Íåâîçìîæíî íàéòè çàãîëîâîê îêíà \"%s\""
-!
-! #: gui_w32.c:847
- #, c-format
- msgid "E243: Argument not supported: \"-%s\"; Use the OLE version."
- msgstr "E243: Ïàðàìåòð íå ïîääåðæèâàåòñÿ: \"-%s\"; èñïîëüçóéòå âåðñèþ OLE."
-
-! #: gui_w32.c:1100
-! msgid "E672: Unable to open window inside MDI application"
-! msgstr "E672: Íåâîçìîæíî îòêðûòü îêíî âíóòðè ïðèëîæåíèÿ MDI"
-!
-! #: gui_w48.c:2163
- msgid "Find string (use '\\\\' to find a '\\')"
- msgstr "Ïîèñê ñòðîêè (èñïîëüçóéòå '\\\\' äëÿ ïîèñêà '\\')"
-
-***************
-*** 2353,2358 ****
---- 2362,2368 ----
- msgstr "Font1: %s\n"
-
- #: gui_x11.c:2184
-+ #, c-format
- msgid "Font%ld width is not twice that of font0\n"
- msgstr "Øèðèíà øðèôòà font%ld äîëæíà áûòü âäâîå áîëüøå øèðèíû øðèôòà font0\n"
-
-***************
-*** 2437,2443 ****
- #: if_cscope.c:589
- #, c-format
- msgid "E262: error reading cscope connection %ld"
-! msgstr "E262: îøèáêà ïîëó÷åíèÿ èíôîðìàöèè îò ñîåäèíåíèÿ cscope %d"
-
- #: if_cscope.c:694
- msgid "E561: unknown cscope search type"
---- 2447,2453 ----
- #: if_cscope.c:589
- #, c-format
- msgid "E262: error reading cscope connection %ld"
-! msgstr "E262: îøèáêà ïîëó÷åíèÿ èíôîðìàöèè îò ñîåäèíåíèÿ cscope %ld"
-
- #: if_cscope.c:694
- msgid "E561: unknown cscope search type"
-***************
-*** 2515,2521 ****
- #: if_cscope.c:1458
- #, c-format
- msgid "cscope connection %s closed"
-! msgstr "ñîåäèíåíèå ñ cscope çàêðûòî"
-
- #. should not reach here
- #: if_cscope.c:1598
---- 2525,2531 ----
- #: if_cscope.c:1458
- #, c-format
- msgid "cscope connection %s closed"
-! msgstr "ñîåäèíåíèå %s ñ cscope çàêðûòî"
-
- #. should not reach here
- #: if_cscope.c:1598
-***************
-*** 6654,6658 ****
- msgid "E463: Region is guarded, cannot modify"
- msgstr "E463: Íåâîçìîæíî èçìåíèòü îõðàíÿåìóþ îáëàñòü"
-
-- #~ msgid "\"\n"
-- #~ msgstr "\"\n"
---- 6664,6666 ----
-*** ../vim-6.3.085/src/version.c Sun Jul 24 19:43:13 2005
---- src/version.c Fri Jul 29 09:53:51 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 86,
- /**/
-
---
-DENNIS: Oh, very nice. King, eh! I expect you've got a palace and fine
- clothes and courtiers and plenty of food. And how d'you get that? By
- exploiting the workers! By hanging on to outdated imperialist dogma
- which perpetuates the social and economic differences in our society!
- "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.087
-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.3.087
-Problem: MS-DOS: Crash. (Jason Hood)
-Solution: Don't call fname_case() with a NULL pointer.
-Files: src/ex_cmds.c
-
-
-*** ../vim-6.3.086/src/ex_cmds.c Thu Jan 13 17:38:30 2005
---- src/ex_cmds.c Thu Jul 21 22:23:54 2005
-***************
-*** 2613,2619 ****
- # ifdef USE_LONG_FNAME
- if (USE_LONG_FNAME)
- # endif
-! fname_case(sfname, 0); /* set correct case for short file name */
- #endif
-
- #ifdef FEAT_LISTCMDS
---- 2613,2620 ----
- # ifdef USE_LONG_FNAME
- if (USE_LONG_FNAME)
- # endif
-! if (sfname != NULL)
-! fname_case(sfname, 0); /* set correct case for sfname */
- #endif
-
- #ifdef FEAT_LISTCMDS
-*** ../vim-6.3.086/src/version.c Fri Jul 29 09:59:24 2005
---- src/version.c Sun Sep 25 13:12:44 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 87,
- /**/
-
---
-MESKIMEN'S LAW
- There's never time to do it right, but always time to do it over.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.088
-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.3.088
-Problem: Editing ".in" causes error E218. (Stefan Karlsson)
-Solution: Require some characters before ".in". Same for ".orig" and others.
-Files: runtime/filetype.vim
-
-
-*** ../vim-6.3.087/runtime/filetype.vim Sun Sep 25 15:07:27 2005
---- runtime/filetype.vim Sun Sep 25 15:06:27 2005
-***************
-*** 16,22 ****
- augroup filetypedetect
-
- " Ignored extensions
-! au BufNewFile,BufRead *.orig,*.bak,*.old,*.new,*.rpmsave,*.rpmnew
- \ exe "doau filetypedetect BufRead " . expand("<afile>:r")
- au BufNewFile,BufRead *~
- \ let s:name = expand("<afile>") |
---- 16,22 ----
- augroup filetypedetect
-
- " Ignored extensions
-! au BufNewFile,BufRead ?\+.orig,?\+.bak,?\+.old,?\+.new,?\+.rpmsave,?\+.rpmnew
- \ exe "doau filetypedetect BufRead " . expand("<afile>:r")
- au BufNewFile,BufRead *~
- \ let s:name = expand("<afile>") |
-***************
-*** 26,32 ****
- \ endif |
- \ unlet s:name |
- \ unlet s:short
-! au BufNewFile,BufRead *.in
- \ if expand("<afile>:t") != "configure.in" |
- \ exe "doau filetypedetect BufRead " . expand("<afile>:r") |
- \ endif
---- 26,32 ----
- \ endif |
- \ unlet s:name |
- \ unlet s:short
-! au BufNewFile,BufRead ?\+.in
- \ if expand("<afile>:t") != "configure.in" |
- \ exe "doau filetypedetect BufRead " . expand("<afile>:r") |
- \ endif
-*** ../vim-6.3.087/src/version.c Sun Sep 25 15:07:52 2005
---- src/version.c Sun Sep 25 13:17:51 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 88,
- /**/
-
---
-CRONE: Who sent you?
-ARTHUR: The Knights Who Say Ni!
-CRONE: Aaaagh! (she looks around in rear) No! We have no shrubberies here.
- "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.089
-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.3.089
-Problem: A session file doesn't work when created while the current
- directory contains a space or the directory of the session files
- contains a space. (Paolo Giarrusso)
-Solution: Escape spaces with a backslash.
-Files: src/ex_docmd.c
-
-
-*** ../vim-6.3.088/src/ex_docmd.c Sun Feb 13 20:46:05 2005
---- src/ex_docmd.c Wed Sep 28 14:54:14 2005
-***************
-*** 8631,8645 ****
- */
- if (ssop_flags & SSOP_SESDIR)
- {
-! if (put_line(fd, "exe \"cd \" . expand(\"<sfile>:p:h\")") == FAIL)
- return FAIL;
- }
- else if (ssop_flags & SSOP_CURDIR)
- {
- sname = home_replace_save(NULL, globaldir != NULL ? globaldir : dirnow);
- if (sname == NULL
-! || fprintf(fd, "cd %s", sname) < 0 || put_eol(fd) == FAIL)
- return FAIL;
- vim_free(sname);
- }
-
---- 8631,8650 ----
- */
- if (ssop_flags & SSOP_SESDIR)
- {
-! if (put_line(fd, "exe \"cd \" . escape(expand(\"<sfile>:p:h\"), ' ')") == FAIL)
- return FAIL;
- }
- else if (ssop_flags & SSOP_CURDIR)
- {
- sname = home_replace_save(NULL, globaldir != NULL ? globaldir : dirnow);
- if (sname == NULL
-! || fputs("cd ", fd) < 0
-! || ses_put_fname(fd, sname, &ssop_flags) == FAIL
-! || put_eol(fd) == FAIL)
-! {
-! vim_free(sname);
- return FAIL;
-+ }
- vim_free(sname);
- }
-
-*** ../vim-6.3.088/src/version.c Sun Sep 25 15:09:52 2005
---- src/version.c Wed Sep 28 14:56:23 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 89,
- /**/
-
---
-Permission is granted to read this message out aloud on Kings Cross Road,
-London, under the condition that the orator is properly dressed.
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
-To: vim-dev@vim.org
-Subject: Patch 6.3.090
-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.3.090
-Problem: A very big value for 'columns' or 'lines' may cause a crash.
-Solution: Limit the values to 10000 and 1000.
-Files: src/option.c
-
-
-*** ../vim-6.3.089/src/option.c Thu Dec 16 12:05:19 2004
---- src/option.c Fri Sep 30 15:02:26 2005
-***************
-*** 6821,6826 ****
---- 6821,6831 ----
- }
- Columns = MIN_COLUMNS;
- }
-+ /* Limit the values to avoid an overflow in Rows * Columns. */
-+ if (Columns > 10000)
-+ Columns = 10000;
-+ if (Rows > 1000)
-+ Rows = 1000;
-
- #ifdef DJGPP
- /* avoid a crash by checking for a too large value of 'columns' */
-*** ../vim-6.3.089/src/version.c Wed Sep 28 14:58:09 2005
---- src/version.c Fri Sep 30 15:03:19 2005
-***************
-*** 643,644 ****
---- 643,646 ----
- { /* Add new patch number below this line */
-+ /**/
-+ 90,
- /**/
-
---
-It is illegal to rob a bank and then shoot at the bank teller with a water
-pistol.
- [real standing law in Louisana, United States of America]
-
- /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
-/// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
-\\\ Project leader for A-A-P -- http://www.A-A-P.org ///
- \\\ Buy LOTR 3 and help AIDS victims -- http://ICCF.nl/lotr.html ///
+++ /dev/null
---- vim62/src/po/Makefile.orig 2004-04-26 21:47:01.944059736 +0200
-+++ vim62/src/po/Makefile 2004-04-26 21:47:28.339047088 +0200
-@@ -4,10 +4,10 @@
- # Note: ja.sjis, *.cp1250 and zh_CN.cp936 are only for MS-Windows, they are
- # not installed on Unix
-
--LANGUAGES = af ca cs de en_GB es fr it ja ko no pl ru sk sv uk zh_TW \
-+LANGUAGES = af cs de en_GB es fr it ja ko no pl sk uk zh_TW \
- zh_TW.UTF-8 zh_CN zh_CN.UTF-8
--MOFILES = af.mo ca.mo cs.mo de.mo en_GB.mo es.mo fr.mo it.mo ja.mo \
-- ko.mo no.mo pl.mo ru.mo sk.mo sv.mo uk.mo \
-+MOFILES = af.mo cs.mo de.mo en_GB.mo es.mo fr.mo it.mo ja.mo \
-+ ko.mo no.mo pl.mo sk.mo uk.mo \
- zh_TW.mo zh_TW.UTF-8.mo zh_CN.mo zh_CN.UTF-8.mo
-
- PACKAGE = vim