~taiite

France

http://taiite.srht.site/

~taiite/public-inbox

Last active 17 days ago
View more

Recent activity

[PATCH] Hand-made word splitter for BouncerServ a day ago

From Hubert Hirtz to ~emersion/soju-dev

Remove the (direct) dependency on shlex (go-scfg still depends on it)
---
 go.mod          |  1 -
 service.go      | 64 ++++++++++++++++++++++++++++++++++++++++++++-----
 service_test.go | 48 +++++++++++++++++++++++++++++++++++++
 3 files changed, 106 insertions(+), 7 deletions(-)
 create mode 100644 service_test.go

diff --git a/go.mod b/go.mod
index be33bb7..18fa1c7 100644
--- a/go.mod
+++ b/go.mod
@@ -6,7 +6,6 @@ require (
	git.sr.ht/~emersion/go-scfg v0.0.0-20201019143924-142a8aa629fc
[message trimmed]

Re: [PATCH senpai] Use line.Head for notifyHighlight 23 days ago

From Hubert Hirtz to ~taiite/public-inbox

You can use "${MESSAGE#$SENDER*}" to strip any occurrence of $SENDER at
the beginning of the message.

Mind that on-highlight can be used for more than sending notifications!
It's better to let $SENDER be the real sender of the message.

Re: [PATCH senpai] doc/senpai.5: mention the issue with \ disappearing 23 days ago

From Hubert Hirtz to ~taiite/public-inbox

On Fri, 28 May 2021 13:05:14 +0300, Alexey Yerin wrote:
> I don't think so, this serves as an example on how to double the
> backslash, instead of implicitly directing users to find their own way
> around.

Ok, I see your point. Pushed with your colors.prompt patch. Thanks!

To git.sr.ht:~taiite/senpai
   eafb0dd..6be7183  master -> master

Re: [PATCH senpai] doc/senpai.5: mention the issue with \ disappearing 24 days ago

From Hubert Hirtz to ~taiite/public-inbox

Thank you for looking into this!

It's weird how some escape sequences in my notification deamon are
processed, while others are not.  Good to know this, anyway.

Just some minor changes:

On Thu, 27 May 2021 16:53:59 +0300, Alexey Yerin wrote:
> Fixes #65
> ---
>  doc/senpai.5.scd | 19 ++++++++++++++++++-
>  1 file changed, 18 insertions(+), 1 deletion(-)
> 
> diff --git a/doc/senpai.5.scd b/doc/senpai.5.scd

Re: [PATCH senpai] Add colors.prompt option to set prompt color 24 days ago

From Hubert Hirtz to ~taiite/public-inbox

Thank you for the patch.

Can you add an item for this option in senpai.5.scd?

Also some minor nits

On Thu, 27 May 2021 16:25:35 +0300, Alexey Yerin wrote:
> ---
>  app.go    | 10 ++++++++--
>  config.go | 46 ++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 54 insertions(+), 2 deletions(-)
> 
> diff --git a/app.go b/app.go
> index 3e544df..f1ef5e0 100644

Re: [PATCH senpai] ui: casemap nicks for coloring 27 days ago

From Hubert Hirtz to ~taiite/public-inbox

While this will work in most cases, this doesn't use the casemapping
provided by the server and I'd like to move IRC-specific code out of
the ui module.

I'm currently working on a simpler version of android's AnnotatedString
that will contain what's necessary to keep track of colors and text
styles in a string.

https://android.googlesource.com/platform/frameworks/support/+/refs/heads/androidx-main/compose/ui/ui-text/src/commonMain/kotlin/androidx/compose/ui/text/AnnotatedString.kt

Once that's done, ui.Line will need to be changed so that the head
color will be of type tcell.Color.

After that, the app module will be able to put ANSI codes in the

[PATCH] Don't build soju when calling "make install" 27 days ago

From Hubert Hirtz to ~emersion/soju-dev

Otherwise soju would be rebuilt as the user who runs "make install"
(typically root).
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index bcf4e07..27bcfe5 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ doc/soju.1: doc/soju.1.scd

clean:
	$(RM) -rf soju sojuctl doc/soju.1
[message trimmed]

Re: [PATCH senpai 1/2] commands: do not handle s == "" 27 days ago

From Hubert Hirtz to ~taiite/public-inbox

Thanks, pushed both patches.

To git.sr.ht:~taiite/senpai
   ab6c067..2b3c8d2  master -> master

Re: [PATCH senpai] doc/senpai.5: update docs for addr field 27 days ago

From Hubert Hirtz to ~taiite/public-inbox

Thank you, pushed both patches.

To git.sr.ht:~taiite/senpai
   f30294b..ab6c067  master -> master

Re: [PATCH senpai] commands: use Home constant instead of "home" 27 days ago

From Hubert Hirtz to ~taiite/public-inbox

Thanks, pushed!

To git.sr.ht:~taiite/senpai
   b37d05f..f30294b  master -> master