Re: [dev] [st utf8 1/4] Use utf8len instead of utf8decode.

2015-04-27 Thread Roberto E. Vargas Caballero
Applied, thanks. ---BeginMessage--- --- st.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/st.c b/st.c index 0204b2e..b756a40 100644 --- a/st.c +++ b/st.c @@ -3672,7 +3672,6 @@ drawregion(int x1, int y1, int x2, int y2) { Glyph base, new; char

[dev] [st utf8 1/4] Use utf8len instead of utf8decode.

2015-04-21 Thread noname
--- st.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/st.c b/st.c index 0204b2e..b756a40 100644 --- a/st.c +++ b/st.c @@ -3672,7 +3672,6 @@ drawregion(int x1, int y1, int x2, int y2) { Glyph base, new; char buf[DRAW_BUF_SIZ]; bool ena_sel =

Re: [dev] [st utf8 1/4] Use utf8len instead of utf8decode.

2015-04-21 Thread noname
First two patches can be applied. The second patch is not mine, I just cherry-picked it from wchar branch. Third patch changes internal representation in Glyph and makes it work. Fourth patch changes some functions mostly in the way already done in wchar branch. The general idea is to decode