Commit Graph

35 Commits

Author SHA1 Message Date
Kim Woelders 9cb4561227 Indent tweaks, cleanups 2021-08-31 07:47:46 +02:00
Kim Woelders 9d0e6438db Drop unnecessary headers 2021-08-31 07:11:23 +02:00
Kim Woelders c00cefd35e E-Power: Enable using POWER_SUPPLY_POWER_NOW and POWER_SUPPLY_ENERGY_... too 2018-11-03 07:25:28 +01:00
Kim Woelders 3b703b57a2 E-Power: Cleanups 2018-10-06 19:31:40 +02:00
Kim Woelders 2ea5042e00 Warning cleanups - epplets. 2016-08-19 09:31:22 +02:00
Kim Woelders 3ae4a353ae E-Power: Fix showing image when battery is > 100% full(?). 2013-07-25 20:19:36 +02:00
Kim Woelders 0c472462c8 E-Power: Mode tweaks.
- Try newest (most likely?) method first.
- Enable selecting specific mode (for debug).
2013-07-25 20:19:36 +02:00
Kim Woelders ed72a3550d E-Power: Simplifications. 2013-07-25 20:19:35 +02:00
Kim Woelders f126801893 E-Power: Some refactoring. 2013-07-14 20:18:01 +02:00
Kim Woelders be52365c1c E-Power: Timer tweaks.
Change all timeouts to 10 s.
2013-07-14 20:10:16 +02:00
Kim Woelders 2a2b07b2df E-Power: Cosmetics. 2013-07-14 16:40:16 +02:00
Kim Woelders a03689744e Add support for reading battery status from /sys/class/power_supply.
Patch by Melvin Meadlin.

SVN revision: 65612
2011-11-26 10:37:48 +00:00
Kim Woelders 6f9b038c1e Now that we are playing around here - Indent!
SVN revision: 22149
2006-04-15 22:04:48 +00:00
Mike Frysinger 7bbcf96173 getline() is a gnuism, so we need _GNU_SOURCE
SVN revision: 22139
2006-04-15 19:42:55 +00:00
Kim Woelders e26a45d2dd Pass data install path by function call in stead of by EROOT in epplet.h.
Look up images in epplet data dir.


SVN revision: 22086
2006-04-13 08:26:31 +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
Michael Jennings f4550e1e6d Mon Jan 3 14:39:48 2005 Michael Jennings (mej)
Spec file fixes and cleanups.

Re-indented E-Power.c.

Started a new ChangeLog using mezz format since I'm the only one who
messes with this any more.
----------------------------------------------------------------------


SVN revision: 12702
2005-01-03 19:40:50 +00:00
Carsten Haitzler ee786e20c9 if drain and others is unknonw... give up...
SVN revision: 8014
2003-12-07 07:24:37 +00:00
Carsten Haitzler 5f17f8ee9d oops. fd leak. forgot to closedir(). fix.
SVN revision: 7936
2003-11-24 07:48:32 +00:00
Carsten Haitzler 3ca49ec205 actualy handle acpi properly :)
SVN revision: 7932
2003-11-23 22:32:35 +00:00
Michael Jennings 21eccec6c9 Sat Oct 13 13:01:05 PDT 2001
(KainX)

Fixed the spec file, and hopefully fixed E-Power's insane respawning
habits.


SVN revision: 5486
2001-10-13 20:06:21 +00:00
Tom Gilbert b5957f88fa Tue Mar 7 19:15:00 GMT 2000
(gilbertt)

Fix for E-Power from Roger Sherwood <rogersherwood@hotmail.com>
Now it looks for the pngs in the right place.


SVN revision: 2199
2000-03-07 19:15:35 +00:00
Carsten Haitzler 543bd572d1 minor typo fix :)
SVN revision: 1938
2000-01-18 18:25:21 +00:00
Carsten Haitzler 115dc681cf add fbsd patches...
SVN revision: 1908
2000-01-12 20:05:54 +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 89085f3eee Wed Nov 24 18:33:45 PST 1999
(KainX)

Major restructuring and cleanup.  I think the new standard should be pretty
self-explanatory, but let me know if you have any questions.  CVS developers,
PLEASE read epplets/Makefile.am carefully to see how it all works now.

Icons are stored in epplets/icons/ and are installed into
$EROOT/epplet_icons/.  All miscellaneous data files (including images) are
stored in epplets/<epplet name>-data/ and are installed into
$EROOT/epplet_data/<epplet name>/.  Also note that, if you're going to use the
same old aircut3.ttf and bg.png in your help section, add your epplet's name
to NEED_BG and NEED_FONT in epplets/Makefile.am.  Do NOT commit duplicates of
those two files.


SVN revision: 1394
1999-11-24 23:36:51 +00:00
Tom Gilbert 87448696d2 Sat Nov 20 19:55:22 GMT 1999
(gilbertt)

Changed the Makefile.am to put epplet images in $EROOT/epplet_data.

I wanted to have epplet subdirs under this directory, but it really
complicated the Makefile, so I left it for now. It was easy for me the make
the changes with sed this way too ;)

Any stuff your app needs to install should go in epplet_data, preferably
with the filename prefixed with the name of your epplet.

Flame me if this bugs you...


SVN revision: 1345
1999-11-20 17:55:56 +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
Carsten Haitzler 1886cd46f5 E-Power patches :)
SVN revision: 987
1999-10-26 14:00:12 +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 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 64ffdbf7b2 better default label if you dont have apm.. :)
SVN revision: 864
1999-10-18 19:15:32 +00:00
Carsten Haitzler 6470e903a9 add a battery meter epplet :) - okj someoen else did already but min looks
sexy and i wrote it on the plane flight back from ALS :)


SVN revision: 835
1999-10-18 14:55:46 +00:00