~cdv

Massachusetts, USA

https://chris.vittal.dev

I write free software.

Check out my work, at https://hail.is if you're interested in scientific computing or genetics.

~cdv/public-inbox

Last active 30 days ago
View more

Recent activity

Re: [PATCH scfg-rs] Fix lineno tracking 30 days ago

From Chris Vittal to ~cdv/public-inbox

Applied thanks!

Re: [PATCH scfg-rs] Hand-made parser a month ago

From Chris Vittal to ~cdv/public-inbox

Thanks! Pushed and uploaded a new version.

Chris

[PATCH v2] Apply relevant msglist styles in order 7 months ago

From Chris Vittal to ~sircmpwn/aerc

Allow styles to be layered over a base style. The list of styles to
apply is layered over the base style in order, such that if the layer
does not differ from the base it is not used. The order that these
styles are applied in is, from first to last:

msglist_default
msglist_unread
msglist_read    (exclusive with unread, so technically the same level)
msglist_flagged
msglist_deleted
msglist_marked

So, msglist_marked style dominates.
[message trimmed]

[PATCH] Apply relevant msglist styles in order 7 months ago

From Chris Vittal to ~sircmpwn/aerc

Allow styles to be layered over a base style. The list of styles to
apply is layered over the base style in order, such that if the layer
does not differ from the base it is not used. The order that these
styles are applied in is, from first to last:

msglist_default
msglist_unread
msglist_read    (exclusive with unread, so technically the same level)
msglist_flagged
msglist_marked
msglist_deleted

So, deleted's style dominates.
[message trimmed]

Re: Deleted Style not being applied 7 months ago

From Chris Vittal to ~sircmpwn/aerc

Fair enough. Found the bug. Patch incoming as soon as I write it.

Chris

Deleted Style not being applied 7 months ago

From Chris Vittal to ~sircmpwn/aerc

I'm having an issue getting a styleset to apply to deleted messages in
the messagelist. For reference, I'm using aerc exclusively through IMAP.

Pre-stylesets, when I moved or deleted a message, it was greyed out.
Now, it is not, making it difficult to tell that I've deleted a message
especially when managing a lot of messages that then makes a lot of imap
requests. I'm using the default configuration. How can I restore the
previous behavior.

Thanks,
Chris

[PATCH scfg 3/3] Add scfg-rs, a rust scfg parser 7 months ago

From Chris Vittal to ~emersion/public-inbox

---
 README.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/README.md b/README.md
index b18a97c..1088acb 100644
--- a/README.md
+++ b/README.md
@@ -32,6 +32,7 @@ train "Shinkansen" {
- C: [libscfg]
- Go: [go-scfg]
- Python: [py-scfg]
- Rust: [scfg-rs]

[message trimmed]

[PATCH scfg 2/3] Add link to CC-BY-SA 4.0 7 months ago

From Chris Vittal to ~emersion/public-inbox

---
If it is not the intention to license this under CC-BY-SA 4.0 and to use
an earlier version instead, please fix this up, but I feel that a link
to the license should be provided.

Thanks!
Chris

 README.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index dce9123..b18a97c 100644
--- a/README.md
[message trimmed]

[PATCH scfg 1/3] ABNF typographic fix 7 months ago

From Chris Vittal to ~emersion/public-inbox

---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index fdea515..dce9123 100644
--- a/README.md
+++ b/README.md
@@ -54,7 +54,7 @@ esc-pair = "\" VCHAR

newline = *WSP LF *WSP

ACHAR = %x21 / %x23-26 / %x28-5B / 0x5D-7A / %x7C / %x7E / %x80-10FFFF
ACHAR = %x21 / %x23-26 / %x28-5B / %x5D-7A / %x7C / %x7E / %x80-10FFFF
[message trimmed]

[PATCH gmnisrv] return false on request_validate errors 8 months ago

From Chris Vittal to ~sircmpwn/public-inbox

This will report proper errors to clients rather than continuing on with
request processing.
---
Because of the specific behavior involved in snprintf when client->path
was null, this could lead to a rather dumb, but still unintended
information disclosure for a file named (as in the example)
'/srv/gemini(null)'.

 src/serve.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/serve.c b/src/serve.c
index a856bc2..e42944e 100644
--- a/src/serve.c
[message trimmed]