Stephen 'Okra' Houston
e41dfc7d5b
Luncher: Remove closed clients from the preview popup if visible, and close the popup if no more clients are active.
...
This fixes T5097
2017-02-06 11:12:43 -06:00
Stephen 'Okra' Houston
a89afe4186
Luncher - Free hashes at the appropriate time.
2017-02-06 10:45:58 -06:00
Stephen 'Okra' Houston
e6a8cea364
Enlightenment - Fix Coverity issues CID 1369051 and 1369052
2017-02-06 09:46:44 -06:00
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
2017-02-03 15:52:28 -06:00
Stephen 'Okra' Houston
4e9335547f
Sysinfo - Netstatus gadget - Fix netstatus calculation.
2017-02-03 15:21:09 -06:00
Mike Blumenkrantz
8144cd0cda
use e_pointer_show() when updating wl-drm seat caps to enable pointer
...
prev function doesn't handle canvas pointers
2017-02-03 15:13:45 -05:00
Mike Blumenkrantz
0fd251c437
free string pointer in xkbswitch parsing
...
CID 1368345
2017-02-03 15:13:45 -05:00
Mike Blumenkrantz
501efaf357
add flag for comp screen iface to indicate relative motion eventing
2017-02-03 15:13:45 -05:00
Mike Blumenkrantz
186cf73294
implement relative-pointer v1
2017-02-03 15:13:45 -05:00
Al netstar Poole
b6b143bf0c
Make sysinfo gadgets work with BSD
2017-02-02 15:48:48 -06:00
Stephen 'Okra' Houston
f7d09d6002
Sysinfo Gadget: Don't set aspect to 1:1 out of the box. Let edje determine aspect.
2017-02-02 15:42:05 -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
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.
2017-01-30 21:23:23 +01:00
Stephen Houston
aeda6dfac6
Enlightenment - Sysinfo Gadget - Size cpumonitor correctly wrt to bryce.
2017-01-29 22:49:31 -06:00
Davide Andreoli
cb6fedc6cb
mem gadget: fix a typo
2017-01-29 14:49:17 +01:00
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
2017-01-29 14:42:09 +01:00
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
2017-01-29 12:47:15 +01:00
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
2017-01-29 10:35:19 +01:00
Marcel Hollerbach
b0271f3a2b
cpuclock: NULL status if its freed
...
This fixes a lot of valgrind warnings when using the editors.
2017-01-29 00:27:26 +01:00
Marcel Hollerbach
2dc5981034
gadgets: free that data when notify and main is done
...
otherwise one of the two callbacks will use possible freed memory.
2017-01-29 00:27:17 +01:00
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
2017-01-28 20:49:05 +01:00
Davide Andreoli
921af28813
mem gadget cleanup: rename vars
...
no functional changes
2017-01-28 19:18:08 +01:00
Davide Andreoli
d1cb369623
mem gadget: formatting, fit into 80 cols
...
no functional changes
2017-01-28 18:02:58 +01:00
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
2017-01-28 17:52:56 +01:00
Al 'netstar' Poole
2f218a1694
Enlightenment - BSD - Fix typos in battery sysctl float compares.
2017-01-27 19:08:14 -06:00
Al 'netstar' Poole
82af16c32b
Enlightenment - BSD - Cleanup sysctl code for batteries.
2017-01-27 18:28:19 -06:00
Stephen 'Okra' Houston
d55164d0e0
Enlightenment - Sysinfo Gadget - Add some safety fallbacks for thermal - Fixes a dnd crash.
2017-01-27 18:16:32 -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
f1b0cfcdea
Enlightenment - Sysinfo Netstatus Gadget - Use proper data passed to callback to avoid crash.
2017-01-26 09:09:48 -06:00
Stephen Houston
422499e512
Enlightenment - Luncher Grid Gadget - Do not double-free lists during empty.
...
This fix matches 39476fad32
2017-01-23 21:28:00 -06:00
Mike Blumenkrantz
39476fad32
do not double-free lists during luncher bar empty
...
==15191== Invalid read of size 8
==15191== at 0x2B6328A7: eina_list_next (eina_inline_list.x:32)
==15191== by 0x2B637520: _bar_empty (bar.c:1405)
==15191== by 0x2B639301: _bar_recalculate_job (bar.c:1958)
==15191== by 0xDBDA800: _ecore_job_event_handler (ecore_job.c:98)
==15191== by 0xDBD3AC6: _ecore_call_handler_cb (ecore_private.h:317)
==15191== by 0xDBD4A55: _ecore_event_call (ecore_events.c:518)
==15191== by 0xDBDDABF: _ecore_main_loop_iterate_internal (ecore_main.c:2380)
==15191== by 0xDBDB86D: ecore_main_loop_begin (ecore_main.c:1290)
==15191== by 0x441A94: main (e_main.c:1093)
==15191== Address 0x1ff97dc8 is 6,520 bytes inside a recently re-allocated block of size 8,192 alloc'd
2017-01-20 11:52:27 -05:00
Stephen 'Okra' Houston
6ebb68777c
Enlightenment - Sysinfo Gadget - Allow configuring of max speeds for netstatus gadget.
2017-01-19 14:18:36 -06:00
Chris Michael
ba7e910f9c
re-enable getting and setting output rotations in wl_drm
...
Small patch to re-enable the ability to query and set the rotation of
an output.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-18 11:30:30 -05:00
Chris Michael
307072fc43
remove old ecore_drm1 code from wl_drm module
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-18 09:03:20 -05:00
Chris Michael
1974f5da2d
Revert "send wl_touch events when we handle mouse buttons"
...
Reverting this as it ends up causing multiple events being handled
(touch and pointer) inside various clients if you have both touch and
pointer enabled. Will need a different fix here....
This reverts commit 7906537c02
.
2017-01-17 13:28:05 -05:00
Chris Michael
7906537c02
send wl_touch events when we handle mouse buttons
...
Small patch to enable sending wl_touch down/up events when pointer
mouse button events are handled. This is needed in the case where we
do Not have any mouse pointer at all, but we do have touch support.
ref T5094
NB: This allows weston-simple-touch client to operate in Enlightenment
now. There is still something strange happening with EFL clients in E
wrt touch events tho...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-17 11:31:48 -05:00
Chris Michael
1e37dd65fd
update touch enabled/disabled based on seat capabilities
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-17 08:42:53 -05:00
Stephen 'Okra' Houston
638d5d502f
Enlightenment: - Sysinfo gadget - Calculate net percentages correctly.
2017-01-15 13:34:04 -06:00
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
2017-01-15 16:08:03 +01:00
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.
2017-01-15 15:57:40 +01:00
Mike Blumenkrantz
0c56e19a64
validate xdg-shell move/resize requests against latest button serial
...
these are supposed to match in order to initiate the corresponding action
2017-01-13 11:35:20 -05:00
Mike Blumenkrantz
7716f58b5d
throw xdg6 errors for unconfigured buffers as spec requires
2017-01-13 11:35:20 -05:00
Stephen 'Okra' Houston
84f06597ec
Enlightenment - Luncher Gadget - This fixes a massive bug in client comparisons within luncher.
...
This is very embarrassing. Nothing to see here. Carry on people.
2017-01-12 16:50:37 -06:00
Stephen 'Okra' Houston
25e36fcf91
Enlightenment - Luncher gadget - Don't assume all internal windows are the same.
2017-01-12 14:31:26 -06:00
Stephen 'Okra' Houston
de6ff6f48f
Enlightenment: Sysinfo gadget - Calculate netstatus max automatically and send percentages to the theme.
2017-01-12 14:17:55 -06:00
Stephen 'Okra' Houston
7422e9102f
Enlightenment: Luncher gadget - Don't proceed with hiding the preview if the preview's icon is NULL.
2017-01-12 11:12:54 -06:00
Chris Michael
0df9454414
remove EINA_UNUSED for used function parameter
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-12 10:47:41 -05: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
bae6700f8c
Enlightenment - Luncher Gadget - Show preview immediately for icons that have iconified windows.
...
This fixes T4806
2017-01-11 13:21:04 -06:00
Stephen 'Okra' Houston
2565055eeb
Enlightenment: Luncher - Use internal icons for non .desktop clients.
...
This fixes T5003
2017-01-11 12:01:30 -06:00
Stephen 'Okra' Houston
9f43e67a73
Enlightenment: Luncher gadget - don't allow .desktop actions on non .desktop icons.
2017-01-11 10:13:05 -06:00
Stephen 'Okra' Houston
2f75513396
Enlightenment: Sysinfo gadgets - Remove temporary gadgets correctly.
2017-01-11 09:27:43 -06:00
Stephen 'Okra' Houston
ddb9f99692
Enlightenment: Luncher gadget - Add more duplicate checking.
2017-01-10 16:46:39 -06:00
Stephen 'Okra' Houston
08d853ab16
Enlightenment: Luncher gadget - Don't delete the hash if there is more than one client using it.
2017-01-10 16:08:24 -06:00
Stephen 'Okra' Houston
cf1d083b38
Enlightenment: Fix luncher to not duplicate clients who report as both having and not having a .desktop.
2017-01-10 15:45:13 -06:00
Stephen 'Okra' Houston
3a7509fd38
Revert "luncher: do not add clients twice"
...
This reverts commit 382dc8e3b0
.
2017-01-10 15:38:37 -06:00
Marcel Hollerbach
382dc8e3b0
luncher: do not add clients twice
...
they can be part of the exec and of the Icon.
this fixes T4970
2017-01-10 14:04:50 -06:00
Stephen 'Okra' Houston
a918738e65
Revert "luncher: do not add clients twice"
...
This reverts commit e34d1aaba9
.
2017-01-10 13:54:51 -06:00
Marcel Hollerbach
ecfe4fd289
luncher: free the timers
...
otherwise the timeout can kick in when the icon is already destroyed.
fixes T5033
2017-01-10 20:45:54 +01:00
Marcel Hollerbach
e34d1aaba9
luncher: do not add clients twice
...
they can be part of the exec and of the Icon.
this fixes T4970
2017-01-10 20:45:13 +01:00
Davide Andreoli
409230ee35
cpu + mem gadget: use new vertical layouts
2017-01-09 21:01:54 +01:00
Stephen 'Okra' Houston
483a978e83
Enlightenment: Wireless gadget - place the ctxpopup after the size hints are set, not before
2017-01-09 13:46:43 -06:00
Stephen 'Okra' Houston
70c9fa1211
Enlightenment: Luncher gadget - Scroll the window previews when the extend beyond the current screen.
...
This fixes T4804
2017-01-09 11:49:54 -06: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
4070ced965
Enlightenment: Pager gadget - Add a button to configure virtual desktops.
...
This fixes T5060
2017-01-08 19:11:31 -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
Davide Andreoli
4c2116ac0f
mem gadget: no need to send 2 consecutive int_set msgs
...
One msg with 2 ints is more efficient
2017-01-08 19:05:33 +01:00
Davide Andreoli
30c81ac188
mem gadget: respect the aspect ratio of the theme
...
I really don't like this implementation (taken from the clock gadget).
If you know a better way to get the aspect from an elm layout please let me know
2017-01-08 18:00:00 +01:00
Stephen 'Okra' Houston
0b1fc0e368
Batman: Allow multiple instances of batman to work correctly.
2017-01-07 17:39:48 -06:00
Stephen 'Okra' Houston
9189293b46
Enlightenment: Fix double compare in batman and fix compilation on bsd.
2017-01-07 04:49:57 -06:00
Carsten Haitzler
3903d44666
e - BLOODY BUILD AGAIN - DAMN FLOAT WARNINGS...
...
i swear ... all of this shit over a warning that CAUSED more bugs than
it eveer fixed? sersiously...
ARGH!
2017-01-07 14:05:17 +09:00
Stephen 'Okra' Houston
2a56bd46a5
Enlightenment: Make sure to compile sysinfo gadget for bsd correctly
2017-01-06 21:52:55 -06:00
Stephen 'Okra' Houston
b24ab5c06d
Enlightenment: Add a scroller to the sysinfo gadget.
2017-01-06 17:31:47 -06:00
Stephen 'Okra' Houston
924307d96e
Enlightenment: Add the necessary Makefile for sysinfo.
2017-01-06 16:16:51 -06:00
Stephen 'Okra' Houston
b51b591171
Enlightenment: Sysinfo gadget supporting files
2017-01-06 16:16:51 -06:00
Stephen 'Okra' Houston
cd24662e9f
Enlightenment: Add the sysinfo gadget that includes battery, temp, frequency, cpu, mem, and net
...
This is a gadget using the new api that has separate gadgets for battery, temperature, net status, cpu load, mem usage, cpu frequency, and one gadget called sysinfo that combines all of the above.
2017-01-06 16:16:51 -06:00
Stephen 'Okra' Houston
501ea95e2c
E gadgets: Prepare for sysinfo to arrive.
2017-01-06 16:16:51 -06:00
Stephen 'Okra' Houston
02224ae8b3
Luncher: Fix right click menu popup crash.
2017-01-06 16:16:51 -06:00
Mike Blumenkrantz
f011db58ce
mark strftime calls using struct tm in time module as safe
...
disable -Wformat-nonliteral temporarily
2017-01-06 12:57:34 -05:00
Mike Blumenkrantz
c5b3aba6fd
specify format string for desk names in desk config
...
-Wformat=2
2017-01-06 12:57:34 -05:00
Mike Blumenkrantz
0bbdd76469
resolve misc module float-equal warnings
...
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
2017-01-06 12:57:34 -05:00
Mike Blumenkrantz
faac750727
resolve gadcon-related float-equal warnings
...
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
2017-01-06 12:57:33 -05:00
Mike Blumenkrantz
e88d1af101
resolve winlist float-equal warnings
...
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
2017-01-06 12:57:33 -05:00
Mike Blumenkrantz
3ad6c0c88c
resolve evry float-equal warnings
...
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
2017-01-06 12:57:33 -05:00
Mike Blumenkrantz
683fe228ad
resolve conf_* module float-equal warnings
...
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
2017-01-06 12:57:33 -05:00
Mike Blumenkrantz
aeb8851c9d
resolve efm float-equal warnings
...
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
2017-01-06 12:57:33 -05:00
Mike Blumenkrantz
49776abae3
resolve battery float-equal warnings
...
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
2017-01-06 12:57:33 -05:00
Mike Blumenkrantz
6f1f165d32
resolve certain double/float comparisons in with increased correctness
...
ref 03d0f1d2dc
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
2017-01-06 12:57:28 -05:00