Carsten Haitzler
14e1583cd0
Revert "Sysinfo gadgets: Revert all uses of faulty e_powersave_sleeper."
...
This reverts commit f8e17b67e4
.
2017-09-12 11:03:42 +09:00
Stephen 'Okra' Houston
f8e17b67e4
Sysinfo gadgets: Revert all uses of faulty e_powersave_sleeper.
2017-09-11 13:24:54 -05:00
Mike Blumenkrantz
b5e75eb264
formatting
...
lot of mixed spaces/tabs here made the code unreadable
2017-08-29 15:32:18 -04:00
Stephen 'Okra' Houston
5bcdfb0421
CPUMonitor: Don't pack the box in sysinfo mode.
2017-08-24 19:39:20 -05:00
Stephen 'Okra' Houston
30ee8c5284
CPUMonitor: Make sure to set the number of cores so aspect calcs.
2017-08-24 08:06:20 -05:00
Stephen 'Okra' Houston
c7e6b52d2e
CPUMonitor: Fix aspect by using correct theme names. This requires an EFL update too.
2017-08-23 19:02:46 -05:00
Stephen 'Okra' Houston
ad46d041a8
Gadgets: Don't set gadgets to expand.
2017-08-23 09:55:59 -05:00
Stephen 'Okra' Houston
993f8ad519
Sysinfo Gadgets: Provide only demo data and don't poll/thread when gadgets are in demo mode.
...
This fixes T5816
2017-08-22 10:24:16 -05:00
Stephen 'Okra' Houston
12b8f482ed
CPUMonitor: Don't try and delete objects after the gadget has been removed.
...
This fixes T5816
2017-08-22 10:24:16 -05:00
Al Poole
6bd2d74cdc
sysinfo: fix single-core OpenBSD results.
...
Summary:
Basically missed this one. CPU_STATES is 6 as it's still supposedly a work-in-progress. But we only need 5 for all
queries (for now).
Reviewers: stephenmhouston, zmike!
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D5070
2017-08-04 17:22:32 -04:00
Al Poole
b57802b2c4
sysinfo: Fix BSD build.
...
Reviewers: stephenmhouston, zmike!, raster
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D5027
2017-07-19 08:55:09 -04:00
Carsten Haitzler
e7eaef62f3
powersave usage - dont use usleep at all. pwoersave sleep replaces it
...
also... there isn't realy a need to track the screensaver state...
powersave sleep will drop back to an hour between sleeps if we're in
freeze mode (it could be longer or even be indefinite). it will be
woken up if powersave state changes...
2017-07-19 10:31:20 +09:00
Stephen 'Okra' Houston
5370793399
Sysinfo Gadget: More thread vs object lifetime work: Make threads no longer dependent on the main loop objects and vice versa.
2017-07-15 21:32:38 -05:00
Stephen 'Okra' Houston
804f038f71
Sysinfo Gadget: Thread Lifetime vs Object Lifetime management.
...
This cleans up how sysinfo manages object vs thread lifetimes. If thread is still alive dependent on aspects that need to be freed in the gadget removal process, it defers that cleanup from the remove callback to the thread end callback. As for the combination sysinfo gadget, each gadget inside of sysinfo will set a done flag alerting that the cleanup of the combination gadget can happen once all threads are done.
This fixes T5694
2017-07-13 19:21:49 -05:00
Stephen 'Okra' Houston
739c1aa4b8
Sysinfo Gadgets: Thread handling improvement. Pause on Screensaver. Follow powersave.
2017-07-13 14:36:09 -05:00
Stephen 'Okra' Houston
9e7b78ffab
Gadgets: Make sure to avoid conflicts with functions and globals.
2017-07-12 16:03:06 -05:00
Stephen 'Okra' Houston
9894726039
Gadgets: Clamp aspect sets to a minimum of width and height minimum of 1.
...
This fixes T5600
2017-07-06 14:16:00 -05:00
Stephen 'Okra' Houston
202bf770f4
Gadgets: Follow gadget theme naming conventions.
2017-07-06 12:20:53 -05:00
Mike Blumenkrantz
0180cef47d
do not attempt to pack cpumonitor into box in sysinfo mode
...
this causes an eo error
2017-06-23 17:49:43 -04:00
Al 'netstar' Poole
c282341ed8
Sysinfo: Make memusage and cpumonitor work better on BSD.
...
This commits D4749
2017-04-11 16:34:37 -05:00
Al 'netstar' Poole
784ebcb187
Sysinfo Gadgets: Add sysctl/bsd support to the remaining sysinfo gadgets.
...
These gadgets include cpumonitor, memusage, and netstatus
2017-02-15 15:53:29 -06:00
Stephen 'Okra' Houston
aae3352932
Cpumonitor: Return the correct object.
2017-02-14 10:09:15 -06:00
Stephen 'Okra' Houston
089b0b248d
Use an event rect to better handle mouse events in cpumonitor.
2017-02-10 14:34:31 -06:00
Davide Andreoli
a2644259b2
sysinfo gadget: remove frames in popups
2017-02-10 21:23:55 +01:00
Stephen 'Okra' Houston
327f9bc68f
Sysinfo gadgets: Prevent info popup from getting stuck.
2017-02-10 11:37:30 -06:00
Stephen 'Okra' Houston
1f6baaf283
Cpumonitor: Add a similar popup to memusage.
2017-02-09 16:22:22 -06:00
Stephen 'Okra' Houston
43530648c5
Sysinfo Gadget - Cpumonitor gadget resize callback needs to be removed after resize to prevent looping.
2017-02-02 15:03:49 -06:00
Davide Andreoli
5007293f99
sysinfo: fix popup position when using the cumulative sysinfo gadget
2017-01-30 22:46:27 +01:00
Davide Andreoli
ff24863007
sysinfo: do not use autoclose on popups
...
This make the popups behave like the clock gadget popup
Also the autoclose ability in this case was quite broken
2017-01-30 22:40:27 +01:00
Stephen Houston
aeda6dfac6
Enlightenment - Sysinfo Gadget - Size cpumonitor correctly wrt to bryce.
2017-01-29 22:49:31 -06:00
Stephen 'Okra' Houston
d99e88b78c
Enlightenment - Sysinfo Gadget - Size all sysinfo gadgets by aspect - should allow for proper theming.
2017-01-27 14:55:24 -06:00
Stephen 'Okra' Houston
1547ac080c
Enlightenment: Sysinfo Gadget - Base size on edje extends calcs.
2017-01-27 13:49:04 -06:00
Stephen 'Okra' Houston
c06e36fa2a
Enlightenment: Sysinfo Gadget - Show real time data in popups and fix sizing of memusage and cpumonitor.
2017-01-26 14:06:56 -06:00
Stephen 'Okra' Houston
6ebb68777c
Enlightenment - Sysinfo Gadget - Allow configuring of max speeds for netstatus gadget.
2017-01-19 14:18:36 -06:00
Stephen 'Okra' Houston
62f7d684dd
Enlightenment: Sysinfo Gadget - Properly mark popup as deleted.
2017-01-11 22:06:38 -06:00
Stephen 'Okra' Houston
58a9333580
Enlightenment: Sysinfo Gadget - Add an informative popup, as well as a config panel to memusage, cpumonitor, and netstatus.
...
Left click will give you some informative detail and right click will show the config panel with t he option to configure how often to poll.
2017-01-11 21:21:34 -06:00
Stephen 'Okra' Houston
2f75513396
Enlightenment: Sysinfo gadgets - Remove temporary gadgets correctly.
2017-01-11 09:27:43 -06:00
Davide Andreoli
409230ee35
cpu + mem gadget: use new vertical layouts
2017-01-09 21:01:54 +01:00
Stephen 'Okra' Houston
d843f58671
Enlightenment: Fix coverity issues related to new sysinfo gadget
...
This fixes CID1368352 CID1368351 CID1368350 CID1368349 CID1368348 CID1368347 CID1368346 CID1368344 CID1368343
2017-01-09 09:43:02 -06:00
Stephen 'Okra' Houston
3d1feb31cc
Enlightenment: Sysinfo gadget: Free up the edje message correctly.
2017-01-08 17:32:07 -06:00
Stephen 'Okra' Houston
9d6af51de2
Enlightenment: Sysinfo gadget. Free edje messages.
2017-01-08 17:28:54 -06:00
Stephen 'Okra' Houston
74e773ab61
Enlightenment: Improve cpumonitor calculation
2017-01-08 14:44:13 -06:00
Stephen 'Okra' Houston
3fb8149486
Enlightenment: Sysinfo gadget: Calculate aspects correctly.
2017-01-08 14:26:11 -06:00
Stephen 'Okra' Houston
a8f5529d25
Enlightenment: Fix cpumonitor gadget core usage calc
2017-01-08 13:56:12 -06:00
Davide Andreoli
b7e2454914
cpu gadget: fetch aspect ratio from the theme
...
as per the mem module I really don't like this implementation :/
2017-01-08 20:50:48 +01:00
Davide Andreoli
0978fa9eb6
cpu gadget: fix orientation of the box
...
still need to fix the aspect ratio
2017-01-08 20:33:29 +01:00
Stephen 'Okra' Houston
ea9dbba34d
Enlightenment: Fix cpumonitor gadget to do per core.
2017-01-08 12:10:13 -06:00
Stephen 'Okra' Houston
b51b591171
Enlightenment: Sysinfo gadget supporting files
2017-01-06 16:16:51 -06:00