~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 1 year, 28 days ago
View more

Recent activity

[PATCH v2] Apply relevant msglist styles in order a month 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 a month 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 a month 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 a month 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 a month 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 a month 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 a month 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 a month 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]

[PATCH gmni] Remove gemlm with make clean a month ago

From Chris Vittal to ~sircmpwn/public-inbox

---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index c842ac4..5ac44db 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ doc/gmnlm.1: doc/gmnlm.scd
docs: doc/gmni.1 doc/gmnlm.1

clean:
	@rm -f gmni doc/gmni.1 doc/gmnlm.1 $(gmnlm_objects) $(gmni_objects)
	@rm -f gmni gmnlm doc/gmni.1 doc/gmnlm.1 $(gmnlm_objects) $(gmni_objects)
[message trimmed]

[PATCH meta.sr.ht] Fix grammar and wording on user validity messages 4 months ago

From Chris Vittal to ~sircmpwn/sr.ht-dev

---
 metasrht/types/user.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/metasrht/types/user.py b/metasrht/types/user.py
index b54255e..a4836d3 100644
--- a/metasrht/types/user.py
+++ b/metasrht/types/user.py
@@ -87,13 +87,13 @@ class User(Base, UserMixin):
        bio = valid.optional("bio", self.bio)

        valid.expect(not url or 0 <= len(url) <= 256,
                "URL must fewer than 256 characters.", "url")
                "URL must have no more than 256 characters.", "url")
[message trimmed]