Commit Graph

29 Commits

Author SHA1 Message Date
Kim Woelders 9d0e6438db Drop unnecessary headers 2021-08-31 07:11:23 +02:00
Kim Woelders 83e1e71bee Introduce Epplet_adjust_priority()
Avoiding some code duplication.
2021-08-31 07:11:23 +02:00
Kim Woelders 2ea5042e00 Warning cleanups - epplets. 2016-08-19 09:31:22 +02:00
Kim Woelders 695a39808a Change MAX to MAXVAL to avoid name clashes. 2013-07-12 23:02:00 +02:00
Kim Woelders 2e0d5e8965 Fix potential rendering bug (patch by Melvin Meadlin II).
SVN revision: 28779
2007-03-17 02:38:18 +00:00
Kim Woelders ed89a800a9 Fix use of uninitialized data and incorrect indexing.
This fixes broken rendering in certain situations.


SVN revision: 26193
2006-09-28 21:03:04 +00:00
Kim Woelders 6f9b038c1e Now that we are playing around here - Indent!
SVN revision: 22149
2006-04-15 22:04:48 +00:00
Kim Woelders 40b3c2bc15 Back out changes 1.18->1.20 which mess up E-Cpu (for me, among others).
SVN revision: 21640
2006-03-31 23:20:38 +00:00
Kim Woelders 528b750a2c Move to Imlib2. Build for e16.8.
- This is a quick and dirty port to imlib2. It's posible to clean/speed up
  things considerably here and there.
- It's not unlikely that I missed some spots that require fixups.


SVN revision: 21639
2006-03-31 22:56:17 +00:00
Carsten Haitzler f902654cb2 and get it RIGHT.
SVN revision: 8097
2003-12-11 22:06:44 +00:00
Carsten Haitzler 6818a3841f a big error has been sitting in e-cpu for... years... DONT assume HZ is 100. :)
SVN revision: 8096
2003-12-11 21:45:59 +00:00
Michael Jennings 3afb1042d3 Fri Mar 3 14:43:37 PST 2000
(KainX)

Added Jerome De Greef's E-Exec patch and fixed several warnings.


SVN revision: 2177
2000-03-03 22:45:02 +00:00
Carsten Haitzler 0a5c7bd8af path to includ show niced processes button..
SVN revision: 1888
2000-01-10 12:04:19 +00:00
Carsten Haitzler 3ae0b81aeb ooff by one
SVN revision: 1783
1999-12-29 11:08:09 +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 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
Christian Kreibich 811247cb78 Esnprintf is in the house now :)
SVN revision: 1242
1999-11-10 23:37:53 +00:00
Carsten Haitzler 8c3bb5530a add patches for std buttons for popups.. and fix epplets...
SVN revision: 1040
1999-10-28 23:30:09 +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 117ca28b7e Fri Oct 22 23:22:25 PDT 1999
(KainX)

Fixed configure.in so that user-specified $CFLAGS will be honored.  Also
removed all the warnings from compiling.


SVN revision: 955
1999-10-22 23:45:57 +00:00
Michael Jennings c274c25cfa E-Cpu now uses the new config stuff and supports multiple instances.
SVN revision: 952
1999-10-22 22:25:47 +00:00
Michael Jennings 9898d36b95 Fri Oct 22 21:43:33 PDT 1999
(KainX)

Alright, I've got the config stuff working as planned.  Epplet_Init() has the
same parameters as it used to.  If you use config files, make sure to call
Epplet_load_config() AFTER calling Epplet_Init() but BEFORE attempting to
access config data.

Also note the function name changes:  Epplet_save_config(),
Epplet_query_config_data(), and Epplet_modify_config_data().


SVN revision: 951
1999-10-22 22:09:18 +00:00
Christian Kreibich 5231296117 Ok, the config file management should work now. Lock files are used
for instance accounting, every epplet has its own directory in
~/.enlightenment/epplet_config/<epplet-name>, transparent config file
handling is provided. Users only need to query for settings and change
settings. Config settings are saved automatically on exit, which
means that users MUST call Epplet_cleanup() before exiting. Every
epplet instance has its own config file. Also added a mechanism for
defining default settings.

Updated all epplets accordingly.

Look at ConfigTestEpplet.c for the details. It shows what instance it
is running as and keeps a record on how many times that instance
has been run in the config files.


SVN revision: 949
1999-10-22 16:43:22 +00:00
Carsten Haitzler 52b332315b fix segv in E-Cpu
SVN revision: 905
1999-10-20 16:09:34 +00:00
Carsten Haitzler 2ab08d6a18 add aoubt docs for E-Cpu.. :)
SVN revision: 820
1999-10-13 21:12:40 +00:00
Carsten Haitzler 6c64681206 imporoting epplets......
SVN revision: 806
1999-10-13 15:14:42 +00:00