You kids have heard about testing, right?
(Yes, that was incendiary)
The right way to deal with things like this is to make a few obvious
test cases and test. It's hard, because testing in C just sucks, but
that's another story.
cheers
aes
> Greetings,
> could you provide a use-case for this attribute? It seems very obscure
> to me, and not so long ago, there was a huge debate which resulted in
> mucking with colours being interpreted as negative.
Not really. I'm going to keep it in, but you go ahead and do whatever.
cheers
aes
00:00 2001
From: Anders Eurenius
Date: Sun, 22 Jun 2014 16:02:06 +0200
Subject: [PATCH 7/8] Add fast blink support
Fast blink is implemented using the new main loop changes. It may mark a
few characters too many as dirty when the blink state hasn't changed,
but it's not a major i
Refactor the mainloop
Try to separate the different concerns of the main loop into separate,
simpler functions. I think it's a useful step, but I also think that
more should be done.
cheers
aes
From 015e8b45b18690d81e2505309753efaa8af9799d Mon Sep 17 00:00:00 2001
From: A
Move default rows, cols to config.def.h
Add default_cols, default_rows as static ints in the config.def.h
header, instead of using constants directly in the code.
cheers
aes
From ba8a00c0c2b10b5b3224ce6c9f498e07352cec5d Mon Sep 17 00:00:00 2001
From: Anders Eurenius
Date: Sat, 21
: Anders Eurenius
Date: Sun, 22 Jun 2014 00:10:59 +0200
Subject: [PATCH 4/8] Render faint attribute
Faint text is implemented by allocating a new color at one-half
intensity of each of the r, g, b components, or if the text bold at the
same time, it is not made lighter.
---
st.c | 10
Render struck-out attribute
Implement crossed-out text with an XftDrawRect call, similar to how
underline is implemented. The line is drawn at 2/3 of the font ascent,
which seems to work nicely in practice.
cheers
aes
:00:00 2001
From: Anders Eurenius
Date: Sat, 21 Jun 2014 20:32:34 +0200
Subject: [PATCH 3/8] Render struck-out attribute
Implement crossed-out text with an XftDrawRect call, similar to how
underline is implemented. The line is drawn at 2/3 of the font ascent,
which seems to work nicely in practice
f006ec9c526893d65d798b1ed94b650b925d2c30 Mon Sep 17 00:00:00 2001
From: Anders Eurenius
Date: Sat, 21 Jun 2014 20:30:22 +0200
Subject: [PATCH 2/8] Render invisible attribute
Implement invisible mode by setting the foreground color to be the same
as the background color. Not rendering anything would also
Ok, no problem​.
aes
From eedd5902aa34efb9d2cd7bd2565286753a318c64 Mon Sep 17 00:00:00 2001
From: Anders Eurenius
Date: Sat, 21 Jun 2014 20:29:36 +0200
Subject: [PATCH 1/8] Reorder and extend glyph attributes
Faint, invisible, struck and fast blink are added as glyph attributes.
Since there
> Hey Anders,
>
> impressive patch. I see that it probably has taken some time to write.
Well, it was a lazy sunday afternoon, nothing serious.
>> The fast-blink support involves a bit of mucking about in the main
>> loop, and is a bit more debatable. I'm not entirely happy with it, but
>> it doe
17 00:00:00 2001
From: Anders Eurenius
Date: Sat, 21 Jun 2014 20:29:36 +0200
Subject: [PATCH 1/6] Reorder and extend glyph attributes
---
st.c | 60 ++--
1 file changed, 46 insertions(+), 14 deletions(-)
diff --git a/st.c b/st.c
index 26
I think the code is probably horrendous, but I kind of like xfig, it has
a kind of brutal simplicity, but it can still handle complex drawings well.
Incidentally, I've used it to export postscript that was then templated
using the {{tags}} entered in xfig directly
cheers
aes
13 matches
Mail list logo