Stephen 'Okra' Houston
089b0b248d
Use an event rect to better handle mouse events in cpumonitor.
7 years ago
Davide Andreoli
a2644259b2
sysinfo gadget: remove frames in popups
7 years ago
Stephen 'Okra' Houston
73495d6347
Sysinfo Gadgets: Allow for vertical themes for all sysinfo gadgets
...
This is in preparation for themers in the future.
7 years ago
Stephen 'Okra' Houston
327f9bc68f
Sysinfo gadgets: Prevent info popup from getting stuck.
7 years ago
Stephen 'Okra' Houston
762879bf5c
Batman - Don't destroy the popup on hide.
7 years ago
Stephen 'Okra' Houston
1f6baaf283
Cpumonitor: Add a similar popup to memusage.
7 years ago
Stephen 'Okra' Houston
8547164c16
Pager and Batman: Use pages in config popup and standardize look.
7 years ago
Stephen 'Okra' Houston
5489f690cc
Batman: Don't show time left in the popup when battery is charged.
7 years ago
Stephen 'Okra' Houston
b994562776
Batman - Add the config popup to configure batman.
7 years ago
Stephen 'Okra' Houston
75cbcf5b47
Batman - Don't show hard to read and redundant text in the gadget itself - Move it to a popup on left click.
7 years ago
Stephen 'Okra' Houston
e6a8cea364
Enlightenment - Fix Coverity issues CID 1369051 and 1369052
7 years ago
Derek Foreman
73aecd73ab
Replace all timer_add with timer_loop_add
...
So yeah, I've literally used sed to replace every occurrence of
ecore_time_add() with ecore_timer_loop_add() because I'm reasonably
confident that no part of E has a legitimate need for timer based on the
exact current time.
It would be really nice if I'm not wrong. :)
The reason for this is the incredible spew of clock_gettime() calls I'm
seeing on an ARM system (that should have a vdso for gettime, but...)
This can amount to thousands of system calls per second.
#YOLO
7 years ago
Stephen 'Okra' Houston
4e9335547f
Sysinfo - Netstatus gadget - Fix netstatus calculation.
7 years ago
Al netstar Poole
b6b143bf0c
Make sysinfo gadgets work with BSD
7 years ago
Stephen 'Okra' Houston
f7d09d6002
Sysinfo Gadget: Don't set aspect to 1:1 out of the box. Let edje determine aspect.
7 years ago
Stephen 'Okra' Houston
43530648c5
Sysinfo Gadget - Cpumonitor gadget resize callback needs to be removed after resize to prevent looping.
7 years ago
Davide Andreoli
5007293f99
sysinfo: fix popup position when using the cumulative sysinfo gadget
7 years ago
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
7 years ago
Davide Andreoli
5153321f0c
mem gadget: adjust a little bit the values calculation
...
Now the gadget show EXACTLY the same values of the free command on my machine,
but note: I found at least 3 different implementation of procpc so your values could be a bit different.
7 years ago
Stephen Houston
aeda6dfac6
Enlightenment - Sysinfo Gadget - Size cpumonitor correctly wrt to bryce.
7 years ago
Davide Andreoli
cb6fedc6cb
mem gadget: fix a typo
7 years ago
Davide Andreoli
6eaefe37fc
mem gadget: try to improve values calculation
...
It's hard to mimic "free" output parsing /proc/meminfo... we should really use sysinfo.h
directly (like free does).
btw, on my system now the values are really near the "free" output
7 years ago
Al Poole
55a7d4feed
Fixes issues w/battery and batman living together
...
Summary:
The problems were that both sysctl implementations defined public accessable fields named bat.
The static definition moves into the file scopes.
The E_FREE calls are fixing a use after free.
Reviewers: zmike!, bu5hm4n
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D4629
7 years ago
Davide Andreoli
abd60cca9a
mem gadget: implemented a new info popup
...
It now show lots more usefull information.
The actual values still need to be adjusted, the goal is to show the exact same values of the "free" command
7 years ago
Marcel Hollerbach
b0271f3a2b
cpuclock: NULL status if its freed
...
This fixes a lot of valgrind warnings when using the editors.
7 years ago
Marcel Hollerbach
2dc5981034
gadgets: free that data when notify and main is done
...
otherwise one of the two callbacks will use possible freed memory.
7 years ago
Davide Andreoli
adc5fa6c8b
mem gadget: pass the new fetched info to the theme
...
in case a themer want to show more info inside the gadget
7 years ago
Davide Andreoli
921af28813
mem gadget cleanup: rename vars
...
no functional changes
7 years ago
Davide Andreoli
d1cb369623
mem gadget: formatting, fit into 80 cols
...
no functional changes
7 years ago
Davide Andreoli
1c8ca780da
mem gadget: improve proc info fetching
...
* collect more info than just 2 percentage
* improve performance by parsing proc only onece every loop
* use active memory to calc percentage, now the value is near the other mem tools I have
7 years ago
Al 'netstar' Poole
2f218a1694
Enlightenment - BSD - Fix typos in battery sysctl float compares.
7 years ago
Al 'netstar' Poole
82af16c32b
Enlightenment - BSD - Cleanup sysctl code for batteries.
7 years ago
Stephen 'Okra' Houston
d55164d0e0
Enlightenment - Sysinfo Gadget - Add some safety fallbacks for thermal - Fixes a dnd crash.
7 years ago
Stephen 'Okra' Houston
d99e88b78c
Enlightenment - Sysinfo Gadget - Size all sysinfo gadgets by aspect - should allow for proper theming.
7 years ago
Stephen 'Okra' Houston
1547ac080c
Enlightenment: Sysinfo Gadget - Base size on edje extends calcs.
7 years ago
Stephen 'Okra' Houston
c06e36fa2a
Enlightenment: Sysinfo Gadget - Show real time data in popups and fix sizing of memusage and cpumonitor.
7 years ago
Stephen 'Okra' Houston
f1b0cfcdea
Enlightenment - Sysinfo Netstatus Gadget - Use proper data passed to callback to avoid crash.
7 years ago
Stephen 'Okra' Houston
6ebb68777c
Enlightenment - Sysinfo Gadget - Allow configuring of max speeds for netstatus gadget.
7 years ago
Stephen 'Okra' Houston
638d5d502f
Enlightenment: - Sysinfo gadget - Calculate net percentages correctly.
7 years ago
Davide Andreoli
0caaf5fabe
net gadget: those signals are not used/needed anymore
...
all the needed values are already pased in the theme using an edje message
7 years ago
Davide Andreoli
f14124583f
net gadget: fix 2 obvious cnp errors
...
note that the max/percent calculation are still wrong.
Seems the first cur calc give a huge value, that go into max and prevent any other perc calc to be correct.
7 years ago
Stephen 'Okra' Houston
de6ff6f48f
Enlightenment: Sysinfo gadget - Calculate netstatus max automatically and send percentages to the theme.
7 years ago
Stephen 'Okra' Houston
62f7d684dd
Enlightenment: Sysinfo Gadget - Properly mark popup as deleted.
7 years ago
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.
7 years ago
Stephen 'Okra' Houston
2f75513396
Enlightenment: Sysinfo gadgets - Remove temporary gadgets correctly.
7 years ago
Davide Andreoli
409230ee35
cpu + mem gadget: use new vertical layouts
7 years ago
Stephen 'Okra' Houston
d843f58671
Enlightenment: Fix coverity issues related to new sysinfo gadget
...
This fixes CID1368352 CID1368351 CID1368350 CID1368349 CID1368348 CID1368347 CID1368346 CID1368344 CID1368343
7 years ago
Stephen 'Okra' Houston
3d1feb31cc
Enlightenment: Sysinfo gadget: Free up the edje message correctly.
7 years ago
Stephen 'Okra' Houston
9d6af51de2
Enlightenment: Sysinfo gadget. Free edje messages.
7 years ago
Stephen 'Okra' Houston
74e773ab61
Enlightenment: Improve cpumonitor calculation
7 years ago