Commit Graph

14 Commits

Author SHA1 Message Date
Michael Jennings 69f99ab980 Thu Dec 16 19:56:24 PST 1999
(KainX)

API changes here, all in order to make E-Disk and E-MemWatch be able to toggle
between the old arrangement and the new.  So basically, you can now move
gadgets to new locations.


SVN revision: 1647
1999-12-16 21:17:27 +00:00
Michael Jennings f53247828f Mon Dec 13 16:51:48 PST 1999
(KainX)

Added labels for E-MemWatch and E-Disk.


SVN revision: 1614
1999-12-13 19:00:38 +00:00
Michael Jennings 180b8b08ea Added stuff to the focus in/out handlers. I skipped Tom's in case he's
testing shit. :-)


SVN revision: 1492
1999-12-03 19:52:28 +00:00
Michael Jennings 3e6a527f10 Mon Nov 29 20:34:40 PST 1999
(KainX)

All the network stats stuff has been moved to a centralized location, and all
the network stats epplets have been converted to use the new functions.  Thus,
all network epplets can now have a portable interface to the data without
having to worry about portability; the backend takes care of it.

I also added copyright statements and a license to all my epplets.  And I
removed my name from the E-Mountbox copyright since my contributions were
negligible. :-)


SVN revision: 1460
1999-11-30 00:52:31 +00:00
Michael Jennings cfe314b476 Fri Nov 19 12:35:48 PST 1999
(KainX)

Okay, all the conditional build stuff should be fixed up now.  I'll need some
SGI people to test this as well as Solaris people, since it's entirely
possible I borked them both. :-)


SVN revision: 1336
1999-11-19 18:46:24 +00:00
Michael Jennings 00c98e327a Wed Nov 17 14:18:42 PST 1999
(KainX)

Cleanups to the libgtop stuff.  Someone (Mark) please tell me if this doesn't
work on Solaris....


SVN revision: 1322
1999-11-17 20:55:49 +00:00
Carsten Haitzler 3798c6a812 added test for libgtop etc. - you will need libgtop 1.0.1 i think or higher as
libgtop-config no-linger has the --cflags etc. :)


SVN revision: 1321
1999-11-17 15:42:50 +00:00
Tom Gilbert a10eadf816 Fri Nov 12 16:50:11 GMT 1999
(gilbertt)

Changes to E-Clock.c E-Areas.c Emix.x E-Sys.c E-Mountbox.c E-Load.c
E-Memwatch.c

Using atexit(Epplet_cleanup) prevents all those "mulitple spawning on
startup problems" people get.


SVN revision: 1269
1999-11-12 16:48:44 +00:00
Christian Kreibich 811247cb78 Esnprintf is in the house now :)
SVN revision: 1242
1999-11-10 23:37:53 +00:00
Michael Jennings 0768fac75b Thu Oct 28 18:58:52 PDT 1999
(KainX)

Basic cleanups on the config stuff.  I made sure that all epplets using the
config subsystem are using atexit(), and I added the same re-prioritizing
code that my epplets have to E-Cpu and E-NetFlame so they wouldn't be as
CPU-intensive.  E-NetFlame has also been upgraded to v0.3 with bandwidth
patches from Shawn (the author), and it also has a config file option for
which interface to monitor (default "eth0") for those who might want to keep
an eye on ppp0.


SVN revision: 1037
1999-10-28 18:13:11 +00:00
Michael Jennings 607ee975fe Tue Oct 26 16:06:43 PDT 1999
(KainX)

Okay, don't kill me.  I had to change the API again because it was broken.
Epplet_load_config() now takes no parameters.  I also renamed some functions,
which the following command should help you do:

perl -p -i.bak -e \
	's/config_data_with_def/config_def/g; s/_config_data/_config/g;' \
	<files>

That all goes on a single line, BTW.  And replace <files> with the names of
your .c files.  You must now specify any defaults by calling
Epplet_query_config_def() instead and passing the default to that function.

I also added the ability to right-justify label text by specifying a negative
x coordinate.  See E-Time for a sample.


SVN revision: 989
1999-10-26 15:48:35 +00:00
Michael Jennings 94eac0fea1 Tue Oct 26 13:42:53 PDT 1999
(KainX)

First off, I removed some unneeded variables from E-MemWatch.  I also fixed a
reporting bug in E-Disk.

But most importantly, I fixed Epplet_change_label() to avoid changing a label
to the exact same string.  This is the best place to handle this situation,
because it saves resources (we already have both strings to compare) and, due
to the nature of epplets, the probability is very high that this function
would only (or at least primarily) be called from a timer callback.  So it
simplifies client code this way too.


SVN revision: 983
1999-10-26 13:26:21 +00:00
Carsten Haitzler fb6984b026 show the REAL memeory usage.. (wel closer to REAL)
SVN revision: 980
1999-10-26 00:35:54 +00:00
Michael Jennings fec1a39d83 Sat Oct 23 00:15:29 PDT 1999
(KainX)

E-MemWatch, a memory/swap monitor.


SVN revision: 957
1999-10-23 00:39:21 +00:00