|
Karsten Hopp |
0acd2c |
To: vim-dev@vim.org
|
|
Karsten Hopp |
0acd2c |
Subject: Patch 7.2.383
|
|
Karsten Hopp |
0acd2c |
Fcc: outbox
|
|
Karsten Hopp |
0acd2c |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
0acd2c |
Mime-Version: 1.0
|
|
Karsten Hopp |
0acd2c |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
0acd2c |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
0acd2c |
------------
|
|
Karsten Hopp |
0acd2c |
|
|
Karsten Hopp |
0acd2c |
Patch 7.2.383
|
|
Karsten Hopp |
0acd2c |
Problem: Vim doesn't build cleanly with MSVC 2010.
|
|
Karsten Hopp |
0acd2c |
Solution: Change a few types. (George Reilly)
|
|
Karsten Hopp |
0acd2c |
Files: src/ex_cmds2.c, src/if_python.c, src/syntax.c
|
|
Karsten Hopp |
0acd2c |
|
|
Karsten Hopp |
0acd2c |
|
|
Karsten Hopp |
0acd2c |
*** ../vim-7.2.382/src/ex_cmds2.c 2010-02-24 13:59:08.000000000 +0100
|
|
Karsten Hopp |
0acd2c |
--- src/ex_cmds2.c 2010-03-02 17:42:54.000000000 +0100
|
|
Karsten Hopp |
0acd2c |
***************
|
|
Karsten Hopp |
0acd2c |
*** 1165,1171 ****
|
|
Karsten Hopp |
0acd2c |
char_u *arg;
|
|
Karsten Hopp |
0acd2c |
{
|
|
Karsten Hopp |
0acd2c |
char_u *end_subcmd;
|
|
Karsten Hopp |
0acd2c |
- int len;
|
|
Karsten Hopp |
0acd2c |
|
|
Karsten Hopp |
0acd2c |
/* Default: expand subcommands. */
|
|
Karsten Hopp |
0acd2c |
xp->xp_context = EXPAND_PROFILE;
|
|
Karsten Hopp |
0acd2c |
--- 1165,1170 ----
|
|
Karsten Hopp |
0acd2c |
***************
|
|
Karsten Hopp |
0acd2c |
*** 1176,1183 ****
|
|
Karsten Hopp |
0acd2c |
if (*end_subcmd == NUL)
|
|
Karsten Hopp |
0acd2c |
return;
|
|
Karsten Hopp |
0acd2c |
|
|
Karsten Hopp |
0acd2c |
! len = end_subcmd - arg;
|
|
Karsten Hopp |
0acd2c |
! if (len == 5 && STRNCMP(arg, "start", 5) == 0)
|
|
Karsten Hopp |
0acd2c |
{
|
|
Karsten Hopp |
0acd2c |
xp->xp_context = EXPAND_FILES;
|
|
Karsten Hopp |
0acd2c |
xp->xp_pattern = skipwhite(end_subcmd);
|
|
Karsten Hopp |
0acd2c |
--- 1175,1181 ----
|
|
Karsten Hopp |
0acd2c |
if (*end_subcmd == NUL)
|
|
Karsten Hopp |
0acd2c |
return;
|
|
Karsten Hopp |
0acd2c |
|
|
Karsten Hopp |
0acd2c |
! if (end_subcmd - arg == 5 && STRNCMP(arg, "start", 5) == 0)
|
|
Karsten Hopp |
0acd2c |
{
|
|
Karsten Hopp |
0acd2c |
xp->xp_context = EXPAND_FILES;
|
|
Karsten Hopp |
0acd2c |
xp->xp_pattern = skipwhite(end_subcmd);
|
|
Karsten Hopp |
0acd2c |
*** ../vim-7.2.382/src/if_python.c 2009-11-11 15:06:59.000000000 +0100
|
|
Karsten Hopp |
0acd2c |
--- src/if_python.c 2010-03-02 17:43:39.000000000 +0100
|
|
Karsten Hopp |
0acd2c |
***************
|
|
Karsten Hopp |
0acd2c |
*** 2080,2086 ****
|
|
Karsten Hopp |
0acd2c |
return -1;
|
|
Karsten Hopp |
0acd2c |
|
|
Karsten Hopp |
0acd2c |
/* When column is out of range silently correct it. */
|
|
Karsten Hopp |
0acd2c |
! len = STRLEN(ml_get_buf(this->win->w_buffer, lnum, FALSE));
|
|
Karsten Hopp |
0acd2c |
if (col > len)
|
|
Karsten Hopp |
0acd2c |
col = len;
|
|
Karsten Hopp |
0acd2c |
|
|
Karsten Hopp |
0acd2c |
--- 2080,2086 ----
|
|
Karsten Hopp |
0acd2c |
return -1;
|
|
Karsten Hopp |
0acd2c |
|
|
Karsten Hopp |
0acd2c |
/* When column is out of range silently correct it. */
|
|
Karsten Hopp |
0acd2c |
! len = (long)STRLEN(ml_get_buf(this->win->w_buffer, lnum, FALSE));
|
|
Karsten Hopp |
0acd2c |
if (col > len)
|
|
Karsten Hopp |
0acd2c |
col = len;
|
|
Karsten Hopp |
0acd2c |
|
|
Karsten Hopp |
0acd2c |
*** ../vim-7.2.382/src/syntax.c 2010-02-24 17:22:14.000000000 +0100
|
|
Karsten Hopp |
0acd2c |
--- src/syntax.c 2010-03-02 17:45:25.000000000 +0100
|
|
Karsten Hopp |
0acd2c |
***************
|
|
Karsten Hopp |
0acd2c |
*** 3090,3096 ****
|
|
Karsten Hopp |
0acd2c |
{
|
|
Karsten Hopp |
0acd2c |
/* a "\n" at the end of the pattern may take us below the last line */
|
|
Karsten Hopp |
0acd2c |
result->lnum = syn_buf->b_ml.ml_line_count;
|
|
Karsten Hopp |
0acd2c |
! col = STRLEN(ml_get_buf(syn_buf, result->lnum, FALSE));
|
|
Karsten Hopp |
0acd2c |
}
|
|
Karsten Hopp |
0acd2c |
if (off != 0)
|
|
Karsten Hopp |
0acd2c |
{
|
|
Karsten Hopp |
0acd2c |
--- 3090,3096 ----
|
|
Karsten Hopp |
0acd2c |
{
|
|
Karsten Hopp |
0acd2c |
/* a "\n" at the end of the pattern may take us below the last line */
|
|
Karsten Hopp |
0acd2c |
result->lnum = syn_buf->b_ml.ml_line_count;
|
|
Karsten Hopp |
0acd2c |
! col = (int)STRLEN(ml_get_buf(syn_buf, result->lnum, FALSE));
|
|
Karsten Hopp |
0acd2c |
}
|
|
Karsten Hopp |
0acd2c |
if (off != 0)
|
|
Karsten Hopp |
0acd2c |
{
|
|
Karsten Hopp |
0acd2c |
*** ../vim-7.2.382/src/version.c 2010-03-02 17:23:10.000000000 +0100
|
|
Karsten Hopp |
0acd2c |
--- src/version.c 2010-03-02 17:48:50.000000000 +0100
|
|
Karsten Hopp |
0acd2c |
***************
|
|
Karsten Hopp |
0acd2c |
*** 683,684 ****
|
|
Karsten Hopp |
0acd2c |
--- 683,686 ----
|
|
Karsten Hopp |
0acd2c |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
0acd2c |
+ /**/
|
|
Karsten Hopp |
0acd2c |
+ 383,
|
|
Karsten Hopp |
0acd2c |
/**/
|
|
Karsten Hopp |
0acd2c |
|
|
Karsten Hopp |
0acd2c |
--
|
|
Karsten Hopp |
0acd2c |
You were lucky to have a LAKE! There were a hundred and sixty of
|
|
Karsten Hopp |
0acd2c |
us living in a small shoebox in the middle of the road.
|
|
Karsten Hopp |
0acd2c |
|
|
Karsten Hopp |
0acd2c |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
0acd2c |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
0acd2c |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
0acd2c |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|