Re: [vim/vim] Rendering issues with ligatures (#418)

2017-09-24 Fir de Conversatie Matěj Cepl
On 2017-09-24, 11:18 GMT, Gaspar Chilingarov wrote:
> If you have a need of RPM package - let me know in issues and 
> I'll try automating it as well.

If you have need for RPM package (and you are on RHEL or Fedora) 
you can use my packages at 
https://copr.fedorainfracloud.org/coprs/mcepl/vim8/

Best,

Matěj
-- 
http://matej.ceplovi.cz/blog/, Jabber: mceplceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
 
A philosopher like Plato, according to Luther's colorful imagery,
remains like a cow who looks at a new door, refusing to enter?

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Patch 8.0.1144

2017-09-24 Fir de Conversatie Bram Moolenaar

Patch 8.0.1144
Problem:Using wrong #ifdef for computing length.
Solution:   use BACKSLASH_IN_FILENAME instead of COLON_IN_FILENAME. (Yasuhiro
Matsomoto, closes #2153)
Files:  src/quickfix.c


*** ../vim-8.0.1143/src/quickfix.c  2017-09-22 15:20:27.744148592 +0200
--- src/quickfix.c  2017-09-24 19:34:53.503363896 +0200
***
*** 443,450 
  i = (FMT_PATTERNS * 3) + ((int)STRLEN(efm) << 2);
  for (round = FMT_PATTERNS; round > 0; )
i += (int)STRLEN(fmt_pat[--round].pattern);
! #ifdef COLON_IN_FILENAME
! i += 12; /* "%f" can become twelve chars longer */
  #else
  i += 2; /* "%f" can become two chars longer */
  #endif
--- 443,450 
  i = (FMT_PATTERNS * 3) + ((int)STRLEN(efm) << 2);
  for (round = FMT_PATTERNS; round > 0; )
i += (int)STRLEN(fmt_pat[--round].pattern);
! #ifdef BACKSLASH_IN_FILENAME
! i += 12; /* "%f" can become twelve chars longer (see efm_to_regpat) */
  #else
  i += 2; /* "%f" can become two chars longer */
  #endif
*** ../vim-8.0.1143/src/version.c   2017-09-24 16:24:28.632560159 +0200
--- src/version.c   2017-09-24 19:36:50.570653891 +0200
***
*** 763,764 
--- 763,766 
  {   /* Add new patch number below this line */
+ /**/
+ 1144,
  /**/

-- 
I'm in shape.  Round IS a shape.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Patch 8.0.1143

2017-09-24 Fir de Conversatie Bram Moolenaar

Patch 8.0.1143
Problem:Macros always expand to the same thing.
Solution:   Remove W_VSEP_WIDTH() and W_STATUS_HEIGHT().
Files:  src/vim.h, src/structs.h, src/gui.c, src/ex_getln.c, src/screen.c


*** ../vim-8.0.1142/src/vim.h   2017-09-23 15:08:13.180518917 +0200
--- src/vim.h   2017-09-24 16:20:59.717815875 +0200
***
*** 860,867 
  #define FINDFILE_BOTH 2   /* files and directories */
  
  #define W_ENDCOL(wp)  (wp->w_wincol + wp->w_width)
- #define W_VSEP_WIDTH(wp) (wp->w_vsep_width)
- #define W_STATUS_HEIGHT(wp) (wp->w_status_height)
  #ifdef FEAT_MENU
  # define W_WINROW(wp) (wp->w_winrow + wp->w_winbar_height)
  #else
--- 860,865 
*** ../vim-8.0.1142/src/structs.h   2017-09-23 16:33:40.857195233 +0200
--- src/structs.h   2017-09-24 16:19:29.306359155 +0200
***
*** 2702,2709 
  int   w_status_height;/* number of status lines (0 or 1) 
*/
  int   w_wincol;   /* Leftmost column of window in 
screen. */
  int   w_width;/* Width of window, excluding 
separation. */
! int   w_vsep_width;   /* Number of separator columns (0 
or 1).
!  use W_VSEP_WIDTH() */
  /*
   * === start of cached values 
   */
--- 2702,2709 
  int   w_status_height;/* number of status lines (0 or 1) 
*/
  int   w_wincol;   /* Leftmost column of window in 
screen. */
  int   w_width;/* Width of window, excluding 
separation. */
! int   w_vsep_width;   /* Number of separator columns (0 
or 1). */
! 
  /*
   * === start of cached values 
   */
*** ../vim-8.0.1142/src/gui.c   2017-09-22 15:20:27.736148641 +0200
--- src/gui.c   2017-09-24 16:20:44.901904897 +0200
***
*** 4910,4919 
  }
  else if (row > wp->w_height)  /* below status line */
update_mouseshape(SHAPE_IDX_CLINE);
! else if (!(State & CMDLINE) && W_VSEP_WIDTH(wp) > 0 && col == wp->w_width
&& (row != wp->w_height || !stl_connected(wp)) && msg_scrolled == 0)
update_mouseshape(SHAPE_IDX_VSEP);
! else if (!(State & CMDLINE) && W_STATUS_HEIGHT(wp) > 0
  && row == wp->w_height && msg_scrolled == 0)
update_mouseshape(SHAPE_IDX_STATUS);
  else
--- 4910,4919 
  }
  else if (row > wp->w_height)  /* below status line */
update_mouseshape(SHAPE_IDX_CLINE);
! else if (!(State & CMDLINE) && wp->w_vsep_width > 0 && col == wp->w_width
&& (row != wp->w_height || !stl_connected(wp)) && msg_scrolled == 0)
update_mouseshape(SHAPE_IDX_VSEP);
! else if (!(State & CMDLINE) && wp->w_status_height > 0
  && row == wp->w_height && msg_scrolled == 0)
update_mouseshape(SHAPE_IDX_STATUS);
  else
*** ../vim-8.0.1142/src/ex_getln.c  2017-09-16 20:54:47.094560435 +0200
--- src/ex_getln.c  2017-09-24 16:21:34.065609489 +0200
***
*** 3438,3444 
cmdline_row = Rows - 1;
  else
cmdline_row = W_WINROW(lastwin) + lastwin->w_height
!  + W_STATUS_HEIGHT(lastwin);
  }
  
  static void
--- 3438,3444 
cmdline_row = Rows - 1;
  else
cmdline_row = W_WINROW(lastwin) + lastwin->w_height
!   + lastwin->w_status_height;
  }
  
  static void
*** ../vim-8.0.1142/src/screen.c2017-09-22 15:20:27.744148592 +0200
--- src/screen.c2017-09-24 16:21:47.357529621 +0200
***
*** 622,629 
else
{
wp->w_redr_type = NOT_VALID;
!   if (W_WINROW(wp) + wp->w_height + W_STATUS_HEIGHT(wp)
!   <= msg_scrolled)
wp->w_redr_status = TRUE;
}
}
--- 622,629 
else
{
wp->w_redr_type = NOT_VALID;
!   if (W_WINROW(wp) + wp->w_height + wp->w_status_height
!  <= msg_scrolled)
wp->w_redr_status = TRUE;
}
}
***
*** 9490,9496 
  {
wp->w_redr_status = TRUE;
redraw_cmdline = TRUE;
!   nextrow = W_WINROW(wp) + wp->w_height + W_STATUS_HEIGHT(wp);
lastrow = nextrow + line_count;
if (lastrow > Rows)
lastrow = Rows;
--- 9490,9496 
  {
wp->w_redr_status = TRUE;
redraw_cmdline = TRUE;
!   nextrow = W_WINROW(wp) + wp->w_height + wp->w_status_height;
lastrow = nextrow + line_count;
if (lastrow > Rows)
lastrow = Rows;
*** ../vim-8.0.1142/src/version.c   2017-09-23 

Re: Fixed 2 typos in options.txt

2017-09-24 Fir de Conversatie Bram Moolenaar

Dominique wrote:

> Attached patch fixes 2 typos in options.txt.

Thanks!

-- 
hundred-and-one symptoms of being an internet addict:
187. You promise yourself that you'll only stay online for another
 15 minutes...at least once every hour.

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org///
 \\\help me help AIDS victims -- http://ICCF-Holland.org///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.