aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO96
-rw-r--r--hash.c9
2 files changed, 67 insertions, 38 deletions
diff --git a/TODO b/TODO
index 58a8014..8ad1d12 100644
--- a/TODO
+++ b/TODO
@@ -41,9 +41,10 @@ show process information
// - display seti@home values
// done.
-2001-03-05 Leo Tötsch <lt@toetsch.at>
-rename some tokens: %o->%os, %v->%ov, %r->%or, %p->%op,
-will be done with the big config-rework
+// 2001-03-05 Leo Tötsch <lt@toetsch.at>
+// rename some tokens: %o->%os, %v->%ov, %r->%or, %p->%op,
+// will be done with the big config-rework
+// done with the "Next Generation Layout"
// 2001-03-05 Leo Tötsch <lt@toetsch.at>
// replace T_EXTENDED with a Flag similar to 'bar'
@@ -64,8 +65,9 @@ will be done with the big config-rework
// There's a reason for forking that early, but I forgot...
// done somewhere in mid 2003 MR
-2001-03-12 Michael Reinelt <reinelt@eunet.at>
-remove USE_OLD_UDELAY after wide testing of new udelay code
+// 2001-03-12 Michael Reinelt <reinelt@eunet.at>
+// remove USE_OLD_UDELAY after wide testing of new udelay code
+// done with the "Next Generation Layout"
// 2001-03-12 Michael Reinelt <reinelt@eunet.at>
// create a NEWS file with changes/enhancements of every release
@@ -74,8 +76,9 @@ remove USE_OLD_UDELAY after wide testing of new udelay code
2001-03-14 Leopold Toetsch <lt@toetsch.at>
improve unseen for mbox (check Status:)
-2001-03-14 Michael Reinelt <reinelt@eunet.at>
-add a new Token 'nc' for 'network collisions'
+// 2001-03-14 Michael Reinelt <reinelt@eunet.at>
+// add a new Token 'nc' for 'network collisions'
+// done with the "Next Generation Layout"
2001-03-14 Michael Reinelt <reinelt@eunet.at>
add translation tables ('german umlauts' don't
@@ -85,10 +88,11 @@ follow any scheme on most displays)
// Text display has troubles with '\r'
// done 2001-03-16, replace \r,\n with '_' -lt
-2001-03-24 Carsten Nau <info@cnau.de>
-change network clients to support different devices
-at the moment the sum of all eth* devices is calculated
-%n* should be extended tokens
+// 2001-03-24 Carsten Nau <info@cnau.de>
+// change network clients to support different devices
+// at the moment the sum of all eth* devices is calculated
+// %n* should be extended tokens
+// done with the "Next Generation Layout"
// 2001-03-24 Brian Cleven <lcleven@home.com>
// support 40x4 displays with two HD44780 chips on it
@@ -101,19 +105,21 @@ at the moment the sum of all eth* devices is calculated
// don't include the 'Text'-driver if not.
// _should_ work now 2001-05-31 -lt
-2001-09-11 Michael Reinelt <reinelt@eunet.at>
-use new extended tokens to split up several data sources
-(CPU, Net, Disk, ISDN, ...)
-e.g. '%nw' is 'network transmit' for _all_ devices
- '%n0w' is 'network transmit' for eth0
- '%n1w' for eth1
+// 2001-09-11 Michael Reinelt <reinelt@eunet.at>
+// use new extended tokens to split up several data sources
+// (CPU, Net, Disk, ISDN, ...)
+// e.g. '%nw' is 'network transmit' for _all_ devices
+// '%n0w' is 'network transmit' for eth0
+// '%n1w' for eth1
+// done with the "Next Generation Layout"
// 2001-09-11 Michael Reinelt <reinelt@eunet.at>
// remove bar code from drivers and create a common bar library
// done somewhere in 2003 -mr
-2001-09-12 Carsten Nau <info@cnau.de>
-make the output for emails shorter (at the moment up to 9999 emails)
+// 2001-09-12 Carsten Nau <info@cnau.de>
+// make the output for emails shorter (at the moment up to 9999 emails)
+// done with the "Next Generation Layout"
2001-09-13 Michael Reinelt <reinelt@eunet.at>
combine mail.c and mail2.c
@@ -129,23 +135,43 @@ should resume
support for inversed/blinking text
don't know if displays support this feature...
-2003-09-08 Michael Reinelt (reinelt@eunet.at>
-at least one of my HD44780 displays use an inverted "P" instead of
-a full block. Therefore a bar my look strange. Make the ASCII code
-of the full block configurable...
-
-2003-09-14 Markus <markus@norad.de>
-change %t tokens from Byte/sec to kB/sec, ith one decimal places.
-Either make it configurabel, or add new tokens.
-
-2003-10-29 Matt Thrailkill <xwred1@modestolan.com>
-> To go off on another tangent... have you at all considered some sort of
-> marquee support? I toyed with the row scrolling support which was
-> recently added, and it is nifty. But marquees would be handy for doing
-> something like horizontally scrolling, say, the title of the currently
-> playing mp3. I've toyed with trying to dive in and add it, but I'm a
-> pretty lazy guy and haven't done it. What do you think?
+// 2003-09-08 Michael Reinelt (reinelt@eunet.at>
+// at least one of my HD44780 displays use an inverted "P" instead of
+// a full block. Therefore a bar my look strange. Make the ASCII code
+// of the full block configurable...
+// done with the "Next Generation Layout"
+// see the "asc255bug" attribute
+
+// 2003-09-14 Markus <markus@norad.de>
+// change %t tokens from Byte/sec to kB/sec, ith one decimal places.
+// Either make it configurabel, or add new tokens.
+// done with the "Next Generation Layout"
+
+// 2003-10-29 Matt Thrailkill <xwred1@modestolan.com>
+// > To go off on another tangent... have you at all considered some sort of
+// > marquee support? I toyed with the row scrolling support which was
+// > recently added, and it is nifty. But marquees would be handy for doing
+// > something like horizontally scrolling, say, the title of the currently
+// > playing mp3. I've toyed with trying to dive in and add it, but I'm a
+// > pretty lazy guy and haven't done it. What do you think?
+// done with the "Next Generation Layout"
2003-12-31 Stefan ??? <nef17@gmx.net>
add support for software-controlled backlight for HD44780
http://www.jalcds.de/images/4x20backlight.gif
+
+2004-01-25 Michael Reinelt <reinelt@eunet.at>
+add attribute "blinking" to text widgets
+
+2004-01-25 Xavier VELLO <xavier66@free.fr>
+add "inverse" attribute to text widget
+possible with Cwlinux and all graphics displays
+
+2004-01-25 Xavier VELLO <xavier66@free.fr>
+add an "image" widget
+
+2004-01-25 Xavier VELLO <xavier66@free.fr>
+icons should not only be updated regularly, but shown only when
+a certain expression returns 1
+
+
diff --git a/hash.c b/hash.c
index 20e574d..83e42de 100644
--- a/hash.c
+++ b/hash.c
@@ -1,4 +1,4 @@
-/* $Id: hash.c,v 1.9 2004/01/22 07:57:45 reinelt Exp $
+/* $Id: hash.c,v 1.10 2004/01/27 04:48:57 reinelt Exp $
*
* hashes (associative arrays)
*
@@ -23,6 +23,9 @@
*
*
* $Log: hash.c,v $
+ * Revision 1.10 2004/01/27 04:48:57 reinelt
+ * bug with hash_age() fixed (thanks to Markus Keil for pointing this out)
+ *
* Revision 1.9 2004/01/22 07:57:45 reinelt
* several bugs fixed where segfaulting on layout>display
* Crystalfontz driver optimized, 632 display already works
@@ -155,8 +158,7 @@ static HASH_ITEM* hash_set_string (HASH *Hash, char *key, char *val)
if (Item!=NULL) {
if (Item->val) free (Item->val);
Item->val = strdup(val);
- gettimeofday(&(Item->time), NULL);
- return Item;
+ goto hash_got_string;
}
// add entry
@@ -170,6 +172,7 @@ static HASH_ITEM* hash_set_string (HASH *Hash, char *key, char *val)
Item->val = strdup(val);
Item->Slot = NULL;
+ hash_got_string:
// set timestamps
gettimeofday(&Hash->time, NULL);
Item->time=Hash->time;