Commit Graph

29 Commits

Author SHA1 Message Date
Cedric BAIL c6a118d738 * e: remove warning due to Ecore API change.
SVN revision: 49833
2010-06-24 16:19:12 +00:00
Carsten Haitzler 8692498308 hmm i wonder who broke batget - changed it from 5 to 4 params.
SVN revision: 48915
2010-05-16 15:00:35 +00:00
Carsten Haitzler f1bb22e498 from andrnils < fbsd build stuff
SVN revision: 48295
2010-04-25 06:26:25 +00:00
Gustavo Sverzut Barbieri 4a4faa95b5 module overhaul, passes -Wextra and reports more errors.
* check_changed for both basic and advanced dialog modes;

 * disable sliders and other widgets that depend on the checkbox;

 * smaller sliders;

 * ensure there is a timer if alert is set;

 * check all fgets() return, report error if format was not expected,
   simplify some cases.



SVN revision: 46802
2010-03-02 21:42:59 +00:00
Sebastian Dransfeld f2c243f91e make clang happy
SVN revision: 45191
2010-01-15 19:36:00 +00:00
Sebastian Dransfeld 25398b689f make clang happy
SVN revision: 45151
2010-01-14 23:48:37 +00:00
Vincent Torri 18db67b1fb batget:
* some cleanup
 * allow compilation with opensolaris


SVN revision: 44521
2009-12-17 08:20:37 +00:00
Hannes Janetzek a551323a28 e/src/modules:
- cast ints to pointer correctly
- remove unused variables
- #if 0 unusued code
- fix some function declarations for callbacks 


SVN revision: 42210
2009-09-03 16:32:48 +00:00
Carsten Haitzler 690fd53e50 disable uevent fd handler - i thought i committed this?
SVN revision: 41836
2009-08-17 07:55:01 +00:00
Vincent Torri 64f80081aa define MAX for all OS, instead of plenty #include
SVN revision: 40012
2009-04-13 10:25:11 +00:00
Carsten Haitzler d3e714523e formatting
SVN revision: 39761
2009-03-27 14:07:12 +00:00
Cedric BAIL db419867dd * estickies,
* etk,
	* PROTO/exalt,
	* E-MODULES-EXTRA/diskio,
	* E-MODULES-EXTRA/drawer,
	* E-MODULES-EXTRA/penguins,
	* E-MODULES-EXTRA/slideshow,
	* E-MODULES-EXTRA/mail,
	* E-MODULES-EXTRA/forecasts,
	* E-MODULES-EXTRA/iiirk,
	* E-MODULES-EXTRA/places,
	* e,
	* ewl,
	* ecore,
	* elitaire,
	* entrance,
	* e_dbus,
	* efreet: Here we go, move from Ecore_List to Eina_List.

	NOTE: This patch is huge, I did test it a lot, and I hope nothing is
	broken. But if you think something change after this commit, please
	contact me ASAP.


SVN revision: 39200
2009-02-25 11:03:47 +00:00
handyande 61801ee22d Fixup compile / link errors with OSX, still having a small issue with the batter module linking, but getting there
SVN revision: 38570
2009-01-13 16:30:37 +00:00
Nicholas Hughart c414d49e48 That's what I get for applying patches without looking at them well enough. Fix up a few bugs in the patch received, let me know if there are issues with it.
SVN revision: 36169
2008-09-22 14:23:15 +00:00
Nicholas Hughart 5450d03a0b Fix a couple typos and detection of sysfs acpi battery info.
SVN revision: 35971
2008-09-12 21:31:46 +00:00
Carsten Haitzler 1b3694eb00 handle other states for "state" - not charging is an... interesting one...
(as a replacement for discharging)


SVN revision: 35401
2008-08-07 23:37:14 +00:00
Sebastian Dransfeld 72dcd1c169 Remove unused variables.
SVN revision: 34862
2008-06-19 12:18:59 +00:00
Carsten Haitzler 09453fe184 remove ! apm exists check.
SVN revision: 34538
2008-05-11 16:21:21 +00:00
Carsten Haitzler 5645ce0449 suspend/resume brokeon power class - lost event file node and never got it
back. now try get them all back if they get lost.


SVN revision: 34461
2008-05-04 06:13:26 +00:00
Carsten Haitzler 9aaf72f72a better detection of apm vs powerclass... as i have no seen a system with BOTH
of them active! argh!


SVN revision: 34406
2008-04-30 05:33:44 +00:00
Carsten Haitzler c71bc63e7e if we have apm as well on a new kernel - use that as it will probably take
preference to power_supply class stuff


SVN revision: 34390
2008-04-28 11:12:25 +00:00
Carsten Haitzler 088fceedde fix batget infinie spin
SVN revision: 34273
2008-04-15 15:20:59 +00:00
Sebastian Dransfeld fe68d438c6 Fix compiler warnings.
SVN revision: 34019
2008-03-13 19:13:36 +00:00
Carsten Haitzler 6c8d35abf0 let's just put all things that multiply that could possibly be big numbers be
long long to avoid overflows. :)


SVN revision: 33911
2008-03-04 03:35:03 +00:00
Gustavo Sverzut Barbieri 617ab30c56 Integer overflow.
This fixes my battery showing 18% for on power, fully charged battery,
but possible there are many more of those.


SVN revision: 33910
2008-03-04 01:06:58 +00:00
Carsten Haitzler 55b40f3d3b seems to be behaving now.
SVN revision: 33906
2008-03-03 14:35:26 +00:00
Carsten Haitzler 29ccce4f86 dont loop forever on read from event fd
SVN revision: 33905
2008-03-03 11:36:59 +00:00
Carsten Haitzler fe6f5aa3d1 oops - pass sysev
SVN revision: 33904
2008-03-03 10:30:31 +00:00
Carsten Haitzler 16b851a43c move battery fetching/polling of info to its own sub process, pipe of stdout
to read like tempget. this means e cant hang hen polling - much better for
the mainloop. also clean up the code a lot. all battery specific "driver"
code is now in batget - this means it much nicer to later add hal battery
info fetching as that is also a remote service (and just not execute batget).
i also fixed up (in theory) the new 2.6.24+ /sys/class/power_supply parsing
to i think work better in more situations. i'm testing on a device i have
that does it - let me know if its wrong...


SVN revision: 33903
2008-03-03 09:48:37 +00:00