Re: [dev] [vis] ui separation and mainloop considerations

2015-04-05 Thread noname
On Sat, Apr 04, 2015 at 12:48:14AM +0200, Marc André Tanner wrote: > What is your opinion on libuv? Is there a better alternative I > should look into? What would you use for communication purposes? > Sending raw structs around or using something like msgpack? http://suckless.org/rocks links libev

Re: [dev] [vis] ui separation and mainloop considerations

2015-04-05 Thread Ralph Eastwood
On Sat, Apr 04, 2015 at 12:48:14AM +0200, Marc André Tanner wrote: > What is your opinion on libuv? Is there a better alternative I > should look into? I did some googling and came up with this: http://www.davetech.com/blog/notes-libuv-little-library-could Maybe someone with more knowledge about

[dev] [sbase] [PATCH 1/3] sort: add support for delimiter strings

2015-04-05 Thread Jakob Kramer
Instead of just single characters. This also fixes some bugs in columns(). Example bug: $ printf "a b\nc b x\n" | sort -k 2,2 -k 1,1 --- sort.c | 51 +++ 1 file changed, 27 insertions(+), 24 deletions(-) >From fbf77d0517644f1642f2067d3e0b

[dev] [sbase] [PATCH 2/3] sort: apply -b only to "custom" keys

2015-04-05 Thread Jakob Kramer
--- sort.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) >From 67834255a7da065ef7cd2fcc5275e5b072161f00 Mon Sep 17 00:00:00 2001 From: Jakob Kramer Date: Sun, 5 Apr 2015 20:31:28 +0200 Subject: [PATCH 2/3] sort: apply -b only to "custom" keys --- sort.c | 3 ++- 1 file changed, 2 in

[dev] [sbase] [PATCH 3/3] sort: allow 0 as key's end_char

2015-04-05 Thread Jakob Kramer
--- sort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) >From 0bdff11745f4491a70566ab25b5996c78655a562 Mon Sep 17 00:00:00 2001 From: Jakob Kramer Date: Sun, 5 Apr 2015 20:33:07 +0200 Subject: [PATCH 3/3] sort: allow 0 as key's end_char --- sort.c | 2 +- 1 file changed, 1 insertion(

[dev] [sbase] [PATCH 4/4] sort: allow keys where start_col > end_col

2015-04-05 Thread Jakob Kramer
Useful in (rare) cases like: $ printf ' c\nx a\n0 b\n' | sort -k 2,1.3 And this is how POSIX wants it. --- sort.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) >From 8c82c0f3772a1e657e39ebcb716023d94abd53d3 Mon Sep 17 00:00:00 2001 From: Jakob Kramer Date: Sun, 5 Apr 2015 2

Re: [dev] [vis][PATCH] small change to syntax coloring

2015-04-05 Thread Marc André Tanner
On Sat, Apr 04, 2015 at 07:11:29PM -0400, Aaron Burrow wrote: > This patch makes it so that the syntax coloring updates when you give > a document a name for the first time. Thanks, I will incorporate your changes later on. -- Marc André Tanner >< http://www.brain-dump.org/ >< GPG key: CF7D56C0

[dev] [st] [PATCH] Fixed STR sequence termination condition

2015-04-05 Thread noname
ascii code may only be checked for characters that have length equal to 1, not width equal to 1 --- st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/st.c b/st.c index 39d3fee..827ed08 100644 --- a/st.c +++ b/st.c @@ -2663,7 +2663,7 @@ tputc(char *c, int len) { * ch