Commit Graph

18811 Commits

Author SHA1 Message Date
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
Chris Michael 92aa99b97a Use proper coordinate adjustment
This seems like just some copy/paste that was never corrected, however
when calculating coordinate adjustments we should be using the proper
values here. Previous code was using e_comp_canvas_x_root_adjust for
the Y value. This patch uses e_comp_canvas_y_root_adjust for Y
coordinates.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-12 10:44:23 -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
Carsten Haitzler 45b6536a20 e_icon - remove icon cache code - its disabled anyway with ifdefs
this isnt used so it just adds complexity/code to work on. remove it.
it would need a rewrite anyway as using a single file is hugely
inefficient as eet has to doa full rewrite of the file every
modification... it also duplicated icons in memory and dint load
directly from file etc. so... remove anyway.
2017-01-10 10:32:51 +09: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 05f35b4deb Enlightenment: Make gadget editor popup scrollable:
This fixes T5077
2017-01-09 10:39:39 -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
Carsten Haitzler 8d6b834d57 e_icon - handle load failure and dont display icon object
also some XXX fixme notes i found along the way
2017-01-09 18:24:25 +09: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 0b0b6e6fd9 desklock - make blocker transparent again - a theme issue not code
if "theme is transparent" and this is an issue - dont use that theme.
very simple. the theme for a desk LOCK should be solid. it should hide
what is underneath. that is the POINT is can have transition effects
and that is why we shouldnt hide what is under it to allow that to
happen otherwise if you do have such an effect (eg a fade in) you just
get a black screen instantly on ctrl+alt+l for lock for example THEN
it fades in which is not how things SHOULD look.

yes - there is an issue on locking on screen lock where you get an
initial fade in effect for example as desklock is shown LATER like
when screen "unsuspends" from blank rather thanbefore this point. that
is orthogonal. this rect should block events... not pixels. don't use
non-solid themes or images if you dont want to see through...
2017-01-07 14:19:18 +09: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 574bf220d5 mark strftime calls using struct tm in e_slider as safe
disable -Wformat-nonliteral temporarily
2017-01-06 12:57:34 -05: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 86505cd885 add global macros for easily toggling warning flags
in some cases, eg., -Wformat-nonliteral, warnings may be generated for
valid uses of C, but the warning is still useful. this allows certain warnings
to be disabled as necessary
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 40f8e02be8 resolve misc float-equal warnings
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
2017-01-06 12:57:34 -05:00
Mike Blumenkrantz 7264ac9e96 resolve binding+action float-equal warnings
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
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 ec96143327 resolve client 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 c242029cf7 resolve widget-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 989b0cd096 fix selective disabling of -Wunused-parameter under clang in copied weston code
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
2017-01-06 12:57:33 -05:00
Mike Blumenkrantz 85589ab2b8 resolve compositor float-equal warnings
Reviewed-by: Derek Foreman <derekf@osg.samsung.com>
2017-01-06 12:57:33 -05:00
Mike Blumenkrantz 5268ac6500 resolve efx 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
Mike Blumenkrantz dda64c8f12 handle desklock show animation unblocking in lokker 2017-01-06 11:42:21 -06:00
Mike Blumenkrantz 1c4ee0028c add method for unblocking zones during desklock show/hide 2017-01-06 11:42:21 -06:00
Mike Blumenkrantz 912eb66b70 revert desklock block_rect opacity change
block rects are for blocking view of the desktop. they exist for security,
preventing the desktop from being visible if a transparent lockscreen is
in use.

also split block_rects into per-zone rects for later use

ref c997077c17
2017-01-06 11:42:21 -06:00
Stephen 'Okra' Houston ad32cee563 Fix luncher crash on right click
I mean really, I don't know why I write code like this, it makes
everyone around me so sad.

(commit log by Derek, paraphrased from an irc conversation)
2017-01-05 15:45:03 -06:00
Chris Michael c5ad11886c fix shadowed variable declaration
Eina_List *l is already previously defined at the top of this
function. Since we are just using it for list iteration, there is no
need to define it again.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-01-04 08:30:53 -05:00
Carsten Haitzler c0f6594c96 ibar - fix seg with ibar icon task menus are up while desktop files change
segv if u go do make installs that install desktop files causing
efreet to recheck desktop files causing e to reset desktop files
causing ibar to refill icons but this causea a segv if a hover menu of
windows for that icon are up at the same time. this fixes that.

@fix
2017-01-02 23:26:14 +09:00
Carsten Haitzler 3779086a63 e icon - use new skip header async preload to make icon loads async
now they can be trule async hopefully stopping things like application
menu from stalling while loading icons header... which is really nasty
with svg's. this actually makes icons async by default which is really
EXACTLY what you want. this also prepares for later making edje loads
async.

@feature
2017-01-02 09:51:57 +09:00
Carsten Haitzler 227d49e346 e icon header - clean up formatting 2017-01-02 09:51:57 +09:00
Carsten Haitzler c997077c17 desklock - allow for fadein/out effects in theme for locking/unlocking
this allows the theme to now do special effects on showing the
desklock and on hiding it again afterwards so it can look nicer.

@feature
2017-01-02 09:51:57 +09:00
Carsten Haitzler 965133445a appmenu - make appmenu work with click+release and not hide on focus out
appmenu is annoying in that is hides on focus out whish is what
happens when a menu is popped up! fix this and make a qhick
click+release work as well! if we are going to have a global app menu
then let's make it vaguely decent... :)

also get menu positioning right with item geometry itself for the menu
not pointer position AND get menu pop direction correct based on
gadcon orientation.

@fix
2017-01-02 09:51:57 +09:00
Carsten Haitzler 8b9fee916e e sys - remove system action dialogs as comp actually does this
so we have some dialog saying we're suspending/shutting down etc. etc.
and this is really pointless as comp already does a screen-wide effect
like fading out etc. and these dialogs were added long before we had a
compositor. there isn't much point anymore so remove them and let comp
deal with it.
2017-01-02 09:51:57 +09:00
Carsten Haitzler cc21b2a046 e comp object - fix valid warning of shadowed var (ambiguous) 2016-12-28 20:16:35 +09:00
Carsten Haitzler 7c27959446 e comp object - fix shadow var warning (valid) for ec 2016-12-28 20:16:35 +09:00
Carsten Haitzler a1541f9a40 e bindings - fix warnings about possible use of undefined var 2016-12-28 20:16:29 +09:00
Carsten Haitzler 9ca5ea5817 efm - fix ifs to be ifdef as they should be 2016-12-28 19:55:24 +09:00
Carsten Haitzler 4b31fe5050 xkb module - fix possible use of uninitialized var 2016-12-28 19:55:24 +09:00
Carsten Haitzler 482f338775 temp module - fix #if to be #if defined as it should be
fixes warning (valid warning)
2016-12-28 19:55:24 +09:00
Carsten Haitzler 03d0f1d2dc e - fix float warnings cmp where they actually may cause issues 2016-12-28 19:55:20 +09:00
Carsten Haitzler a5faab4fa1 efm - warning - change invalid #if toe #ifdef as this is right 2016-12-28 19:15:58 +09:00
Carsten Haitzler 45cc8713f0 ibar - fix segv on prop change after adding stack support 2016-12-26 17:20:12 +09:00
Carsten Haitzler 27cd2afdfd tasks - calculate min width properly given a known height of a gadget
this also should apply to calculating height correctly given a known
width - ie horiz or vert taskbar in a shelf. without this you can't
calc min size correctly from the theme.

@fix
2016-12-26 11:25:40 +09:00
Carsten Haitzler 74989a9531 ibar - protect against getting invalid icon ptr on obj deletion
remove the "ibar_icon" data completely on deletion of an object
pointing to it so if it is accessed later during deletion it'll
return NULL safely.
2016-12-23 11:16:58 +09:00
Carsten Haitzler dbd5855ac7 tasks - fix fresh segv added in stack support
this fixes T5031 and fixes D4504
2016-12-21 09:48:47 +09:00
Carsten Haitzler 882ba348b5 ibar - support window stacks 2016-12-20 18:57:26 +09:00
Carsten Haitzler 00720c3765 e winlist/alt tab - use bottom/base win for icon but active for title 2016-12-20 18:57:26 +09:00
Carsten Haitzler 612f168086 tasks + stacks - use base icon not top one to be simpler to implement 2016-12-20 18:57:19 +09:00
Mike Blumenkrantz 001e08c54a bump modapi
e_client.h changed
2016-12-19 11:04:02 -05:00
Mike Blumenkrantz 30b25f16d1 remove extra SLEEP prints during startup on non-release builds
this was useful for startup profiling, but there are better methods available now

partially reverts 2850c28167
2016-12-19 10:59:14 -05:00
Carsten Haitzler fbb514e009 e winlist/at tab - understand stacks and filter accordingly 2016-12-19 17:58:23 +09:00
Carsten Haitzler 8b6ba41a66 e window menu now skips stack windows except top one 2016-12-17 15:11:23 +09:00
Carsten Haitzler 652d7e113e e wl - fix build break with wl. 2016-12-16 22:03:17 +09:00
Carsten Haitzler e9de31249a stacks - fix crash for pointer warp when client is null 2016-12-16 19:03:21 +09:00