|
Karsten Hopp |
aa62ad |
To: vim-dev@vim.org
|
|
Karsten Hopp |
aa62ad |
Subject: Patch 7.3.006
|
|
Karsten Hopp |
aa62ad |
Fcc: outbox
|
|
Karsten Hopp |
aa62ad |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
aa62ad |
Mime-Version: 1.0
|
|
Karsten Hopp |
aa62ad |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
aa62ad |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
aa62ad |
------------
|
|
Karsten Hopp |
aa62ad |
|
|
Karsten Hopp |
aa62ad |
Patch 7.3.006
|
|
Karsten Hopp |
aa62ad |
Problem: Can't build some multi-byte code with C89.
|
|
Karsten Hopp |
aa62ad |
Solution: Move code to after declarations. (Joachim Schmitz)
|
|
Karsten Hopp |
aa62ad |
Files: src/mbyte.c, src/spell.c
|
|
Karsten Hopp |
aa62ad |
|
|
Karsten Hopp |
aa62ad |
|
|
Karsten Hopp |
aa62ad |
*** ../vim-7.3.005/src/mbyte.c 2010-08-15 21:57:28.000000000 +0200
|
|
Karsten Hopp |
aa62ad |
--- src/mbyte.c 2010-09-18 13:32:40.000000000 +0200
|
|
Karsten Hopp |
aa62ad |
***************
|
|
Karsten Hopp |
aa62ad |
*** 5167,5182 ****
|
|
Karsten Hopp |
aa62ad |
void
|
|
Karsten Hopp |
aa62ad |
xim_set_preedit()
|
|
Karsten Hopp |
aa62ad |
{
|
|
Karsten Hopp |
aa62ad |
- if (xic == NULL)
|
|
Karsten Hopp |
aa62ad |
- return;
|
|
Karsten Hopp |
aa62ad |
-
|
|
Karsten Hopp |
aa62ad |
- xim_set_focus(TRUE);
|
|
Karsten Hopp |
aa62ad |
-
|
|
Karsten Hopp |
aa62ad |
XVaNestedList attr_list;
|
|
Karsten Hopp |
aa62ad |
XRectangle spot_area;
|
|
Karsten Hopp |
aa62ad |
XPoint over_spot;
|
|
Karsten Hopp |
aa62ad |
int line_space;
|
|
Karsten Hopp |
aa62ad |
|
|
Karsten Hopp |
aa62ad |
if (!xim_has_focus)
|
|
Karsten Hopp |
aa62ad |
{
|
|
Karsten Hopp |
aa62ad |
/* hide XIM cursor */
|
|
Karsten Hopp |
aa62ad |
--- 5167,5182 ----
|
|
Karsten Hopp |
aa62ad |
void
|
|
Karsten Hopp |
aa62ad |
xim_set_preedit()
|
|
Karsten Hopp |
aa62ad |
{
|
|
Karsten Hopp |
aa62ad |
XVaNestedList attr_list;
|
|
Karsten Hopp |
aa62ad |
XRectangle spot_area;
|
|
Karsten Hopp |
aa62ad |
XPoint over_spot;
|
|
Karsten Hopp |
aa62ad |
int line_space;
|
|
Karsten Hopp |
aa62ad |
|
|
Karsten Hopp |
aa62ad |
+ if (xic == NULL)
|
|
Karsten Hopp |
aa62ad |
+ return;
|
|
Karsten Hopp |
aa62ad |
+
|
|
Karsten Hopp |
aa62ad |
+ xim_set_focus(TRUE);
|
|
Karsten Hopp |
aa62ad |
+
|
|
Karsten Hopp |
aa62ad |
if (!xim_has_focus)
|
|
Karsten Hopp |
aa62ad |
{
|
|
Karsten Hopp |
aa62ad |
/* hide XIM cursor */
|
|
Karsten Hopp |
aa62ad |
***************
|
|
Karsten Hopp |
aa62ad |
*** 5554,5565 ****
|
|
Karsten Hopp |
aa62ad |
void
|
|
Karsten Hopp |
aa62ad |
xim_set_status_area()
|
|
Karsten Hopp |
aa62ad |
{
|
|
Karsten Hopp |
aa62ad |
- if (xic == NULL)
|
|
Karsten Hopp |
aa62ad |
- return;
|
|
Karsten Hopp |
aa62ad |
-
|
|
Karsten Hopp |
aa62ad |
XVaNestedList preedit_list = 0, status_list = 0, list = 0;
|
|
Karsten Hopp |
aa62ad |
XRectangle pre_area, status_area;
|
|
Karsten Hopp |
aa62ad |
|
|
Karsten Hopp |
aa62ad |
if (input_style & XIMStatusArea)
|
|
Karsten Hopp |
aa62ad |
{
|
|
Karsten Hopp |
aa62ad |
if (input_style & XIMPreeditArea)
|
|
Karsten Hopp |
aa62ad |
--- 5554,5565 ----
|
|
Karsten Hopp |
aa62ad |
void
|
|
Karsten Hopp |
aa62ad |
xim_set_status_area()
|
|
Karsten Hopp |
aa62ad |
{
|
|
Karsten Hopp |
aa62ad |
XVaNestedList preedit_list = 0, status_list = 0, list = 0;
|
|
Karsten Hopp |
aa62ad |
XRectangle pre_area, status_area;
|
|
Karsten Hopp |
aa62ad |
|
|
Karsten Hopp |
aa62ad |
+ if (xic == NULL)
|
|
Karsten Hopp |
aa62ad |
+ return;
|
|
Karsten Hopp |
aa62ad |
+
|
|
Karsten Hopp |
aa62ad |
if (input_style & XIMStatusArea)
|
|
Karsten Hopp |
aa62ad |
{
|
|
Karsten Hopp |
aa62ad |
if (input_style & XIMPreeditArea)
|
|
Karsten Hopp |
aa62ad |
*** ../vim-7.3.005/src/spell.c 2010-08-15 21:57:32.000000000 +0200
|
|
Karsten Hopp |
aa62ad |
--- src/spell.c 2010-09-18 13:34:11.000000000 +0200
|
|
Karsten Hopp |
aa62ad |
***************
|
|
Karsten Hopp |
aa62ad |
*** 4679,4685 ****
|
|
Karsten Hopp |
aa62ad |
buf_T *buf;
|
|
Karsten Hopp |
aa62ad |
char_u fname[MAXPATHL];
|
|
Karsten Hopp |
aa62ad |
|
|
Karsten Hopp |
aa62ad |
! /* Go through all buffers and handle 'spelllang'. */ //<VN>
|
|
Karsten Hopp |
aa62ad |
for (buf = firstbuf; buf != NULL; buf = buf->b_next)
|
|
Karsten Hopp |
aa62ad |
ga_clear(&buf->b_s.b_langp);
|
|
Karsten Hopp |
aa62ad |
|
|
Karsten Hopp |
aa62ad |
--- 4679,4685 ----
|
|
Karsten Hopp |
aa62ad |
buf_T *buf;
|
|
Karsten Hopp |
aa62ad |
char_u fname[MAXPATHL];
|
|
Karsten Hopp |
aa62ad |
|
|
Karsten Hopp |
aa62ad |
! /* Go through all buffers and handle 'spelllang'. <VN> */
|
|
Karsten Hopp |
aa62ad |
for (buf = firstbuf; buf != NULL; buf = buf->b_next)
|
|
Karsten Hopp |
aa62ad |
ga_clear(&buf->b_s.b_langp);
|
|
Karsten Hopp |
aa62ad |
|
|
Karsten Hopp |
aa62ad |
*** ../vim-7.3.005/src/version.c 2010-09-14 12:47:30.000000000 +0200
|
|
Karsten Hopp |
aa62ad |
--- src/version.c 2010-09-18 13:34:23.000000000 +0200
|
|
Karsten Hopp |
aa62ad |
***************
|
|
Karsten Hopp |
aa62ad |
*** 716,717 ****
|
|
Karsten Hopp |
aa62ad |
--- 716,719 ----
|
|
Karsten Hopp |
aa62ad |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
aa62ad |
+ /**/
|
|
Karsten Hopp |
aa62ad |
+ 6,
|
|
Karsten Hopp |
aa62ad |
/**/
|
|
Karsten Hopp |
aa62ad |
|
|
Karsten Hopp |
aa62ad |
--
|
|
Karsten Hopp |
aa62ad |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
aa62ad |
163. You go outside for the fresh air (at -30 degrees) but open the
|
|
Karsten Hopp |
aa62ad |
window first to hear new mail arrive.
|
|
Karsten Hopp |
aa62ad |
|
|
Karsten Hopp |
aa62ad |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
aa62ad |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
aa62ad |
\\\ download, build and distribute -- http://www.A-A-P.org ///
|
|
Karsten Hopp |
aa62ad |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|