~tristan957

Austin, Texas

https://tristan.partin.io

Software developer experienced in open-source communities, device drivers, application software, web development, and data modeling.

~tristan957/public-inbox

Last active 2 years ago

~tristan957/vscode-sr-ht-discuss

Last active 2 years ago

~tristan957/vscode-sr-ht-devel

Last active 2 years ago

~tristan957/vscode-sr-ht-announce

Last active 2 years ago

~tristan957/noteriety-discuss

Last active 3 years ago

~tristan957/noteriety-devel

Last active 3 years ago

~tristan957/noteriety-announce

Last active 3 years ago

~tristan957/pigeon-discuss

Last active 3 years ago

~tristan957/pigeon-devel

Last active 3 years ago

~tristan957/pigeon-announce

Last active 3 years ago
View more

Recent activity

Re: [PATCH aerc] colorize: handle spaces in styleset 2 months ago

From Tristan Partin to ~rjarry/aerc-devel

Tested-by: Tristan Partin <tristan@partin.io>
Reviewed-by: Tristan Partin <tristan@partin.io>

-- 
Tristan Partin
https://tristan.partin.io

[PATCH aerc v2 2/2] Use a regex for parsing styles in colorize 2 months ago

From Tristan Partin to ~rjarry/aerc-devel

sscanf(3) is fairly fragile, so transition to a regex which also
supports whitespace around the = sign, as in:

quote_1.fg = #000000

Signed-off-by: Tristan Partin <tristan@partin.io>

---

v2:

- Dropped a regcomp(3)

---
[message trimmed]

[PATCH aerc v2 1/2] Add asserts around regcomp(3) in colorize 2 months ago

From Tristan Partin to ~rjarry/aerc-devel

The regexes are written developers, so these should never fail. Ping
devs in the event that they do through an assert.

Signed-off-by: Tristan Partin <tristan@partin.io>
---
 GNUmakefile        |  2 +-
 filters/colorize.c | 10 +++++++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index 7704fcd..f8d23aa 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -16,7 +16,7 @@ GO_LDFLAGS += -X git.sr.ht/~rjarry/aerc/config.shareDir=$(SHAREDIR)
[message trimmed]

[PATCH aerc v2 0/2] Support spaces in colorize styles 2 months ago

From Tristan Partin to ~rjarry/aerc-devel

This patch series adds support for styles like the following:

quote_1.fg = #000000

Prior to this patch, that would fail with an error.

Tristan Partin (2):
  Add asserts around regcomp(3) in colorize
  Use a regex for parsing styles in colorize

 GNUmakefile        |  2 +-
 filters/colorize.c | 42 ++++++++++++++++++++++++++++++++++++++----
 2 files changed, 39 insertions(+), 5 deletions(-)

[aerc v1 2/2] Use a regex for parsing styles in colorize 2 months ago

From Tristan Partin to ~rjarry/aerc-devel

sscanf(3) is fairly fragile, so transition to a regex which also
supports whitespace around the = sign, as in:

quote_1.fg = #000000

Signed-off-by: Tristan Partin <tristan@partin.io>
---
 filters/colorize.c | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/filters/colorize.c b/filters/colorize.c
index 648a4c3..58f9d7d 100644
--- a/filters/colorize.c
+++ b/filters/colorize.c
[message trimmed]

[aerc v1 0/2] Support spaces in colorize styles 2 months ago

From Tristan Partin to ~rjarry/aerc-devel

This patch series adds support for styles like the following:

quote_1.fg = #000000

Prior to this patch, that would fail with an error.

Tristan Partin (2):
  Add asserts around regcomp(3) in colorize
  Use a regex for parsing styles in colorize

 GNUmakefile        |  2 +-
 filters/colorize.c | 40 ++++++++++++++++++++++++++++++++++++----
 2 files changed, 37 insertions(+), 5 deletions(-)

[aerc v1 1/2] Add asserts around regcomp(3) in colorize 2 months ago

From Tristan Partin to ~rjarry/aerc-devel

The regexes are written developers, so these should never fail. Ping
devs in the event that they do through an assert.

Signed-off-by: Tristan Partin <tristan@partin.io>
---
 GNUmakefile        |  2 +-
 filters/colorize.c | 10 +++++++---
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/GNUmakefile b/GNUmakefile
index 7704fcd..f8d23aa 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -16,7 +16,7 @@ GO_LDFLAGS += -X git.sr.ht/~rjarry/aerc/config.shareDir=$(SHAREDIR)
[message trimmed]

Re: [PATCH aerc 06/16] wizard: add protocol & transport fields 3 months ago

From Tristan Partin to ~rjarry/aerc-devel

Reviewed-by: Tristan Partin <tristan@partin.io>

-- 
Tristan Partin
https://tristan.partin.io

Re: [PATCH aerc 16/16] wizard: improve welcome screen 3 months ago

From Tristan Partin to ~rjarry/aerc-devel

Reviewed-by: Tristan Partin <tristan@partin.io>

-- 
Tristan Partin
https://tristan.partin.io

Re: [PATCH aerc 15/16] wizard: add sendmail support 3 months ago

From Tristan Partin to ~rjarry/aerc-devel

On Tue Aug 22, 2023 at 10:37 AM CDT, Robin Jarry wrote:
> Allow users to configure sendmail as outgoing protocol.
>
> Signed-off-by: Robin Jarry <robin@jarry.cc>
> ---
>  widgets/account-wizard.go | 32 ++++++++++++++++++++++++++++++--
>  1 file changed, 30 insertions(+), 2 deletions(-)
>
> diff --git a/widgets/account-wizard.go b/widgets/account-wizard.go
> index 6059a9a11964..aa7e8addd8e1 100644
> --- a/widgets/account-wizard.go
> +++ b/widgets/account-wizard.go
> @@ -158,6 +158,7 @@ const (
>  	MAILDIRPP = "Maildir++"