|
Karsten Hopp |
3dd179 |
To: vim-dev@vim.org
|
|
Karsten Hopp |
3dd179 |
Subject: Patch 7.2.436
|
|
Karsten Hopp |
3dd179 |
Fcc: outbox
|
|
Karsten Hopp |
3dd179 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
3dd179 |
Mime-Version: 1.0
|
|
Karsten Hopp |
3dd179 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
3dd179 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
3dd179 |
------------
|
|
Karsten Hopp |
3dd179 |
|
|
Karsten Hopp |
3dd179 |
Patch 7.2.436
|
|
Karsten Hopp |
3dd179 |
Problem: Reproducible crash in syntax HL. (George Reilly, Dominique Pelle)
|
|
Karsten Hopp |
3dd179 |
Solution: Make sst_stacksize an int instead of short. (Dominique Pelle)
|
|
Karsten Hopp |
3dd179 |
Files: src/structs.h
|
|
Karsten Hopp |
3dd179 |
|
|
Karsten Hopp |
3dd179 |
|
|
Karsten Hopp |
3dd179 |
*** ../vim-7.2.435/src/structs.h 2010-05-14 22:24:31.000000000 +0200
|
|
Karsten Hopp |
3dd179 |
--- src/structs.h 2010-05-16 13:48:26.000000000 +0200
|
|
Karsten Hopp |
3dd179 |
***************
|
|
Karsten Hopp |
3dd179 |
*** 327,333 ****
|
|
Karsten Hopp |
3dd179 |
typedef struct m_info minfo_T;
|
|
Karsten Hopp |
3dd179 |
|
|
Karsten Hopp |
3dd179 |
/*
|
|
Karsten Hopp |
3dd179 |
! * stucture used to link chunks in one of the free chunk lists.
|
|
Karsten Hopp |
3dd179 |
*/
|
|
Karsten Hopp |
3dd179 |
struct m_info
|
|
Karsten Hopp |
3dd179 |
{
|
|
Karsten Hopp |
3dd179 |
--- 327,333 ----
|
|
Karsten Hopp |
3dd179 |
typedef struct m_info minfo_T;
|
|
Karsten Hopp |
3dd179 |
|
|
Karsten Hopp |
3dd179 |
/*
|
|
Karsten Hopp |
3dd179 |
! * structure used to link chunks in one of the free chunk lists.
|
|
Karsten Hopp |
3dd179 |
*/
|
|
Karsten Hopp |
3dd179 |
struct m_info
|
|
Karsten Hopp |
3dd179 |
{
|
|
Karsten Hopp |
3dd179 |
***************
|
|
Karsten Hopp |
3dd179 |
*** 795,803 ****
|
|
Karsten Hopp |
3dd179 |
garray_T sst_ga; /* growarray for long state stack */
|
|
Karsten Hopp |
3dd179 |
} sst_union;
|
|
Karsten Hopp |
3dd179 |
int sst_next_flags; /* flags for sst_next_list */
|
|
Karsten Hopp |
3dd179 |
short *sst_next_list; /* "nextgroup" list in this state
|
|
Karsten Hopp |
3dd179 |
* (this is a copy, don't free it! */
|
|
Karsten Hopp |
3dd179 |
- short sst_stacksize; /* number of states on the stack */
|
|
Karsten Hopp |
3dd179 |
disptick_T sst_tick; /* tick when last displayed */
|
|
Karsten Hopp |
3dd179 |
linenr_T sst_change_lnum;/* when non-zero, change in this line
|
|
Karsten Hopp |
3dd179 |
* may have made the state invalid */
|
|
Karsten Hopp |
3dd179 |
--- 795,803 ----
|
|
Karsten Hopp |
3dd179 |
garray_T sst_ga; /* growarray for long state stack */
|
|
Karsten Hopp |
3dd179 |
} sst_union;
|
|
Karsten Hopp |
3dd179 |
int sst_next_flags; /* flags for sst_next_list */
|
|
Karsten Hopp |
3dd179 |
+ int sst_stacksize; /* number of states on the stack */
|
|
Karsten Hopp |
3dd179 |
short *sst_next_list; /* "nextgroup" list in this state
|
|
Karsten Hopp |
3dd179 |
* (this is a copy, don't free it! */
|
|
Karsten Hopp |
3dd179 |
disptick_T sst_tick; /* tick when last displayed */
|
|
Karsten Hopp |
3dd179 |
linenr_T sst_change_lnum;/* when non-zero, change in this line
|
|
Karsten Hopp |
3dd179 |
* may have made the state invalid */
|
|
Karsten Hopp |
3dd179 |
***************
|
|
Karsten Hopp |
3dd179 |
*** 2138,2144 ****
|
|
Karsten Hopp |
3dd179 |
#define SHAPE_IDX_CI 5 /* Command line Insert mode */
|
|
Karsten Hopp |
3dd179 |
#define SHAPE_IDX_CR 6 /* Command line Replace mode */
|
|
Karsten Hopp |
3dd179 |
#define SHAPE_IDX_O 7 /* Operator-pending mode */
|
|
Karsten Hopp |
3dd179 |
! #define SHAPE_IDX_VE 8 /* Visual mode with 'seleciton' exclusive */
|
|
Karsten Hopp |
3dd179 |
#define SHAPE_IDX_CLINE 9 /* On command line */
|
|
Karsten Hopp |
3dd179 |
#define SHAPE_IDX_STATUS 10 /* A status line */
|
|
Karsten Hopp |
3dd179 |
#define SHAPE_IDX_SDRAG 11 /* dragging a status line */
|
|
Karsten Hopp |
3dd179 |
--- 2138,2144 ----
|
|
Karsten Hopp |
3dd179 |
#define SHAPE_IDX_CI 5 /* Command line Insert mode */
|
|
Karsten Hopp |
3dd179 |
#define SHAPE_IDX_CR 6 /* Command line Replace mode */
|
|
Karsten Hopp |
3dd179 |
#define SHAPE_IDX_O 7 /* Operator-pending mode */
|
|
Karsten Hopp |
3dd179 |
! #define SHAPE_IDX_VE 8 /* Visual mode with 'selection' exclusive */
|
|
Karsten Hopp |
3dd179 |
#define SHAPE_IDX_CLINE 9 /* On command line */
|
|
Karsten Hopp |
3dd179 |
#define SHAPE_IDX_STATUS 10 /* A status line */
|
|
Karsten Hopp |
3dd179 |
#define SHAPE_IDX_SDRAG 11 /* dragging a status line */
|
|
Karsten Hopp |
3dd179 |
***************
|
|
Karsten Hopp |
3dd179 |
*** 2267,2273 ****
|
|
Karsten Hopp |
3dd179 |
/* short index; */ /* the item index within the father menu */
|
|
Karsten Hopp |
3dd179 |
short menu_id; /* the menu id to which this item belong */
|
|
Karsten Hopp |
3dd179 |
short submenu_id; /* the menu id of the children (could be
|
|
Karsten Hopp |
3dd179 |
! get throught some tricks) */
|
|
Karsten Hopp |
3dd179 |
MenuHandle menu_handle;
|
|
Karsten Hopp |
3dd179 |
MenuHandle submenu_handle;
|
|
Karsten Hopp |
3dd179 |
#endif
|
|
Karsten Hopp |
3dd179 |
--- 2267,2273 ----
|
|
Karsten Hopp |
3dd179 |
/* short index; */ /* the item index within the father menu */
|
|
Karsten Hopp |
3dd179 |
short menu_id; /* the menu id to which this item belong */
|
|
Karsten Hopp |
3dd179 |
short submenu_id; /* the menu id of the children (could be
|
|
Karsten Hopp |
3dd179 |
! get through some tricks) */
|
|
Karsten Hopp |
3dd179 |
MenuHandle menu_handle;
|
|
Karsten Hopp |
3dd179 |
MenuHandle submenu_handle;
|
|
Karsten Hopp |
3dd179 |
#endif
|
|
Karsten Hopp |
3dd179 |
*** ../vim-7.2.435/src/version.c 2010-05-16 13:26:19.000000000 +0200
|
|
Karsten Hopp |
3dd179 |
--- src/version.c 2010-05-16 13:54:30.000000000 +0200
|
|
Karsten Hopp |
3dd179 |
***************
|
|
Karsten Hopp |
3dd179 |
*** 683,684 ****
|
|
Karsten Hopp |
3dd179 |
--- 683,686 ----
|
|
Karsten Hopp |
3dd179 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
3dd179 |
+ /**/
|
|
Karsten Hopp |
3dd179 |
+ 436,
|
|
Karsten Hopp |
3dd179 |
/**/
|
|
Karsten Hopp |
3dd179 |
|
|
Karsten Hopp |
3dd179 |
--
|
|
Karsten Hopp |
3dd179 |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
3dd179 |
47. You are so familiar with the WWW that you find the search engines useless.
|
|
Karsten Hopp |
3dd179 |
|
|
Karsten Hopp |
3dd179 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
3dd179 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
3dd179 |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
3dd179 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|