Stephen 'Okra' Houston
2fa1d39a0f
Luncher: Make sure previews are hidden and destroyed.
...
This fixes https://phab.enlightenment.org/D4976
2016-12-13 09:39:31 -06:00
Mike Blumenkrantz
179979ccb0
do not set aspect on luncher grid gadgets
...
this is not a 1:1 gadget, it automatically fills whatever size the gadget
has allotted and performs layout optimally based on that size
2016-12-12 11:55:57 -05:00
Michaël Bouchaud (yoz)
15c0d46050
xkbswitch: rewrite the config panel to improve the gui design
2016-12-11 21:25:17 +01:00
Al Poole
b4f3a8da0a
Enlightenment: Factor all sysctl battery code for bsd into e_mod_sysctl.c
...
This commit should now allow battery to support OpenBSD, FreeBSD, Dragonfly BSD, and NetBSD
2016-12-09 11:02:43 -06:00
Chris Michael
20166f16be
make mouse pointer visibility syn with hotplug/un-plug
...
This patch makes the mouse pointer disappear when the physical mouse
device is unplugged. It also makes the mouse pointer reappear when a
physical mouse is hotplugged.
NB: There is one small hiccup with this patch and that is: when you
re-plug the mouse in the pointer itself doesn't show until you
physically move the mouse. Tried several things locally to sort it
out, but no success :/
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-09 08:56:32 -05:00
Mike Blumenkrantz
fd6b264b1d
maintain "empty" object's size hints when ibar/ibox resizes
...
the sizing issue in all of these tickets was caused by the "empty" object
being deleted, thus allowing the box to reset to 0x0 size hints and
returning this value as the overall size during recalc; the result is that
all icons would be sized at 0x0 instead of using the preserved orient size
as expected
fix T4509, T4647, T4830, T4733, T4524
2016-12-06 11:39:33 -05:00
Mike Blumenkrantz
3b1242e314
revert all sizing commits to ibar/ibox for the past year
...
the assumption that this code was making assumptions about elm_box
internals based on a shallow reading of the code was incorrect, and
the resulting "fix" (and subsequent attempts to bandaid it) has left these
gadgets in an unusable state for the past half year.
disappoint.jpg
this reverts the following commits:
f97f8f61ac
ebfa4a97cd
50030dc693
42aa6be359
504706d45a
b1f608c5e6
b107dc1cdc
3fc195cd9f
2016-12-06 11:27:50 -05:00
Carsten Haitzler
a15ac5f039
temp module - avoid a bit of cpu sendingh edje message if temp same
...
each poll - check if temp actually changed and only send edje message
if tempt actually did change. saves some cpu while polling in the bg
for these things.
@optimize
2016-12-04 22:46:02 +09:00
Carsten Haitzler
bdbd0f4753
e cpufreq - dont emit message for min/max/cur freq if they didnt change
...
saves some cpu when idile and polling cpu fre and finding nothing
changed.
@optimize
2016-12-04 22:42:47 +09:00
Carsten Haitzler
1c8c57b702
temp - udev pol - do in mainloop and suffer as appropriate
...
if a poll takes a few hundred ms ... the so be it. udev is for
mainloop only. don't use it - that's my advice (for temp module).
:)
2016-12-03 11:30:01 +09:00
Stephen okra Houston
cf1d253c56
Pager Gadget: Don't recalculate the pager if the zone is NULL.
...
This fixes https://phab.enlightenment.org/T4960
2016-12-02 11:28:10 -06:00
Marcel Hollerbach
a4a9a5a628
luncher: delete the popup if there is already one
...
Otherwise we have two which are locking the bryce onto the screen
2016-12-02 17:17:55 +01:00
Mike Blumenkrantz
531fcb8577
apply better algorithm during xdg6 positioner slide calc
...
try useful geometry, then base zone geometry. also restrict slide to being
adjacent to parent surface's anchor
2016-12-02 10:23:04 -05:00
Mike Blumenkrantz
6f4d77d10a
disable xdg6 positioner resize hints
...
this is stupid so we're not going to do it
#leadership
2016-12-02 10:04:52 -05:00
Chris Michael
ba035ff807
mark Ecore_Thread parameter as EINA_UNUSED
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-02 09:34:24 -05:00
Chris Michael
7d8266995d
verify shell client delete functions are operating on wayland clients.
...
ref cc795bfbda
Fixes T4958
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-02 09:29:44 -05:00
Chris Michael
cc795bfbda
Revert "verify valid client comp_data before accessing it directly"
...
Reverting this in favor of a different fix.
This reverts commit bbad744060
.
2016-12-02 09:25:54 -05:00
Chris Michael
bbad744060
verify valid client comp_data before accessing it directly
...
ref 8173c06c4d
Fixes T4958
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-02 09:12:29 -05:00
Carsten Haitzler
c5a293919b
temperature module - more non-eeze system fixes
...
i have eeze so i didnt notice. thanks @netstar
fixes D4446
2016-12-02 11:53:54 +09:00
Al Poole
f740616961
bsd patch from netstar fixing threaded tempget
...
this fixes T4945 .
2016-12-02 11:52:12 +09:00
Mike Blumenkrantz
cd4c3ecc5d
free xdg-shell data for xdg5 surfaces
2016-12-01 12:14:25 -05:00
Mike Blumenkrantz
8173c06c4d
add handler for triggering xdg-shell data cleanup on client del
...
in the case of internal windows, the client is deleted before any surfaces
are destroyed. this requires a special case to perform cleanups in order to
prevent client objects from leaking
2016-12-01 12:14:25 -05:00
Carsten Haitzler
a94ba7cbfd
e tempget module - mode to using threads instead of tempget binary
...
this should reduce mem usage by a sub binary and aso solve the sub
shell kill issue too nd still keep the polling of system status out of
the mainloop and keep it unblocked.
2016-12-01 08:49:33 +09:00
Derek Foreman
3313f0f26d
Fix crash on xdg shell unbind
...
Running weston-simple-dmabuf-intel and killing it could crash E in
xdg_shell_unbind.
2016-11-30 10:19:40 -06:00
Mike Blumenkrantz
f58eb2db7b
use more accurate determination for applying xdg-shell (un)maximize operations
...
fixes maximizing again
2016-11-30 11:16:24 -05:00
Derek Foreman
d0b0f81fb7
teamwork: Use emile SHA1 functions
...
Remove the SHA1 functions in the module in favour of the ones now present in
EFL
2016-11-29 11:32:25 -06:00
Mike Blumenkrantz
f5788293b5
check gravity variable for gravities when applying xdg6 positioners
...
fixes positioning
--(typo--)
2016-11-29 11:45:39 -05:00
Mike Blumenkrantz
632e4097b5
always send valid size geom when configuring xdg6 popups
...
sending 0x0 here when passed (which happens during initial commit)
breaks the universe
2016-11-29 11:44:29 -05:00
Mike Blumenkrantz
79d157f5d5
fix use of E_CONTAINS macro for xdg-shell positioners
...
last week was backwards week
2016-11-29 11:30:27 -05:00
Mike Blumenkrantz
7851769eab
handle illegal xdg-shell resource unbinds
...
this occurs when the shell resource dies before all the surfaces/positioners
are destroyed. usually this means the client has aborted, so there's no point in
sending an error or doing anything beyond performing a thorough cleanup
2016-11-29 11:30:24 -05:00
Mike Blumenkrantz
50b2712f61
destroy xdg role surfaces if base surface is destroyed
...
this is illegal, but at least we should not leak the client when it happens
2016-11-29 11:09:31 -05:00
Mike Blumenkrantz
2a9d4e73c5
correctly handle xdg surface deletion and pointer clearing
...
fixes crashing/leaking when deleting surfaces
2016-11-29 11:08:46 -05:00
Mike Blumenkrantz
bf40d92ad8
handle xdg-shell maximize/unmaximize calls correctly
2016-11-29 10:11:23 -05:00
Chris Michael
d3b5b5a48d
remove unused variable in Luncher module
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-29 08:56:55 -05:00
Stephen okra Houston
d4a045278c
Luncher: Fix Coverity Issues: CID 1366276 1366275
2016-11-28 13:05:14 -06:00
Al Poole
cf088eb989
Add temperature support for DragonFly BSD.
...
Reviewers: zmike!
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D4432
2016-11-28 10:43:28 -05:00
Romain Naour
c8f5f942d0
E: fix Wayland without xwayland build
...
When building enlightement without xwayland, we need to provide
MESA_EGL_NO_X11_HEADERS in the CFLAGS to avoid including X11/Xlib.h.
This define is provided by WAYLAND_EGL_CFLAGS, so add it for E modules
and e_fm build.
Fixes:
In file included from /usr/include/EGL/egl.h:39:0,
from ./src/bin/e.h:108,
from src/modules/mixer/lib/backends/pulseaudio/pulse.c:1:
/usr/include/EGL/eglplatform.h:119:22: erreur fatale : X11/Xlib.h
Signed-off-by: Romain Naour <romain.naour@gmail.com>
2016-11-28 10:43:28 -05:00
Chris Michael
76d787b7c9
use ecore_evas_screen_dpi_get to get screen dpi under wayland
...
This small patch modifies the conf_theme module to use screen dpi from
the compositor canvas (thus getting server screen dpi) for use in
scaling.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-28 10:26:20 -05:00
Chris Michael
a3f2752fe0
removed unused variable from luncher code and add missing EINA_UNUSED
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-23 11:04:16 -05:00
Chris Michael
ddaf5b9a20
add missing EINA_UNUSED for unused function parameters
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-23 11:02:49 -05:00
Stephen okra Houston
975366ba7b
Cpufreq: Don't check for NULL then depend on the value not being NULL. Fixes CID 1365406
2016-11-23 09:59:29 -06:00
Stephen okra Houston
57f854bc59
Luncher: Add the second gadget to luncher: Luncher Grid.
...
Use this gadget on your desktop for a grid of icons to be used to launch applications. The grid is simply a launcher and doesn't have all of the features that the bar has such as iconify, taskbar, styles, etc... Please make sure to update your efl with this to get the related theme updates.
2016-11-22 21:17:22 -06:00
Stephen okra Houston
5898477cee
Luncher: Make sure to correctly create config.
2016-11-22 10:46:22 -06:00
Mike Blumenkrantz
5497fadce4
xdg6 support
2016-11-22 11:31:22 -05:00
Cedric Bail
689441781a
connman: avoid random memory walk in case dbus data aren't provided by connman.
2016-11-21 12:46:59 -08:00
Stephen okra Houston
571f688e32
Luncher: Share common code for dismissing the window preview.
2016-11-21 13:02:19 -06:00
Stephen okra Houston
5efc978513
Luncher module: Use the correct icon for the .desktop.
2016-11-21 12:30:30 -06:00
Chris Michael
7bcc7565f6
mark unused function parameter in Luncher as EINA_UNUSED
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-21 11:39:37 -05:00
Stephen okra Houston
16d48c353b
Luncher: Make sure to free the previous window preview, not the current one on mouse in.
2016-11-21 10:02:47 -06:00
Andy Williams
33ecfe5b99
scale: Allow user to choose scale not multiplier
...
Misleading text now makes sense.
2016-11-19 15:54:50 +00:00
Stephen okra Houston
85d20824af
Luncher: Fix ctxpopup delete leak -- Add the style chooser to the config and the engage style.
2016-11-18 14:13:53 -06:00
Mike Blumenkrantz
348a3be719
reject non-printable characters from lokker entry
...
previously characters such as tab would be injected into the entry when pressed.
this is the same check which is used in various other places in efl for string
validation
2016-11-18 10:19:14 -05:00
Carsten Haitzler
c3ec526cec
wizard - do not set scale to 1.2 forcibly. use dpi as the def prof says
...
the default profiel is configureed to use dpi to scale. if dpi goes up
so does wizard scaling. setitng to 1.2 forcibly is just wrong. imagine
a uhd screen thats 13" or imagine an 8k display... at least if dpi can
be read correctly things work out find. think the base dpi of 90 is
too high - then adjust that in profile... but not in wizard code.
this has been here a while and i always thought this scaling bumping
was a dpi effect. it wasnt. it was hardcoded. bad bad.
@fix.
2016-11-16 11:25:11 +09:00
Stephen okra Houston
4b9ed5cee9
Luncher: Fix shadowed declarations.
2016-11-09 09:56:41 -06:00
Stephen okra Houston
bc0ccf9ebb
Luncher Gadget: Don't set aspect twice.
2016-11-08 12:18:38 -06:00
Stephen okra Houston
51772d1596
Luncher/Pager gadgets: Make sure to lock/unlock the gadget site on dnd.
2016-11-08 11:20:07 -06:00
Stephen okra Houston
77a0316be9
Luncher: Make sure that there is a valid drop before object on dnd.
2016-11-08 10:55:57 -06:00
Stephen okra Houston
1cbba1232c
Gadcon Pager: Don't show popup if no gadcon pagers exist.
2016-11-08 10:48:15 -06:00
Stephen okra Houston
8540e6b99b
Pager Gadget: Use the current zone for popups.
2016-11-08 10:04:48 -06:00
Mike Blumenkrantz
49d9cea5aa
center menu-triggered volume popup on same zone as client
2016-11-07 11:26:46 -05:00
Stephen okra Houston
ec326b304b
Luncher/Pager Gadgets: Fix coverity warnings for CID 1365330, CID 1365332 and CID 1365405
...
This commit also fixes T4831
2016-11-07 09:35:34 -06:00
Michaël Bouchaud (yoz)
be154b60c8
mixer: close the file descriptor on error.
...
CID: 1365407
2016-11-07 10:32:04 +01:00
Michaël Bouchaud (yoz)
568a676073
mixer: Don't sync volume sink with e_client if they have more than one.
...
If we got more than one volume sink in e_client and we change the volume
of one of them all sink of this e_client are updated to the same volume.
So don't update e_client volume if we got more than 1 sink.
T4821
2016-11-07 10:26:56 +01:00
Michaël Bouchaud (yoz)
ec12cff9f4
mixer: fix a typo spotted by coverity
...
CID: 1365340
2016-11-07 10:19:28 +01:00
Stephen okra Houston
b0fd89ac04
Pager Gadget: Use the correct value for the popup checkbox when config window is opened.
2016-11-05 12:00:30 -05:00
Stephen okra Houston
6b1726dc4a
Luncher: Use more accurate buffer sizes.
2016-11-05 10:53:56 -05:00
Stephen okra Houston
d26900b72d
Luncher: Send the off signal with orientation detail so themers can theme icons based on orientation.
...
You will need to make sure you update efl with this change as well.
2016-11-05 10:27:41 -05:00
Stephen okra Houston
1d202c513d
Luncher: Remove useless if statements and make sure to delete an order when instance is deleted.
2016-11-04 10:22:34 -05:00
Stephen okra Houston
6c28cf2e51
Luncher: Use E_FREE_FUNC to del variables that are checked for null.
2016-11-04 10:07:13 -05:00
Chris Michael
99e89b708f
cleanup unused variables and parameters for pager module
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-03 11:27:28 -04:00
Carsten Haitzler
d2104b23af
cpufreq - move cpuinfo polling into thread to not block mainloop ever
...
on some devices asking the cpu for info like current frequency,
governors etc. seems to be expensive and if done in the mainloop can
block for multiple ms causing framerate hiccups, so move it to a
thread...
2016-11-03 10:21:22 +09:00
Derek Foreman
9c26487b37
Fix out of tree builds
...
I broke out of tree builds when I landed the wayland protocol autogen
patches. This should fix it up.
2016-11-02 16:16:49 -05:00
Mike Blumenkrantz
602b01b8b2
use only aspect hints for new pager gadget
...
ref T4809
2016-11-02 11:31:59 -04:00
Stephen okra Houston
df0c4cf658
Pager Gadget: Respect HOLD flag as well as modifiers on mouse events.
2016-11-02 10:22:50 -05:00
Stephen okra Houston
ef8d86d7f3
Luncher/Pager Gadget: Fix coverity issues.
2016-11-02 09:36:03 -05:00
Michaël Bouchaud (yoz)
2a0b4dfbc4
mixer: fix coverity issues
2016-11-02 15:27:38 +01:00
Al Poole
bfe02d2303
efm - fix popup if file is a fifo
...
this fixes T4815
@fix
2016-11-02 11:00:40 +09:00
Stephen okra Houston
4d32ec9e4e
Luncher: Use the desktop for client population if exists.
2016-11-01 19:33:37 -05:00
Stephen okra Houston
9d33d6c15b
Pager Gadget: Only empty/fill pager if zone has changed.
2016-11-01 16:56:26 -05:00
Stephen okra Houston
96f328b7ff
Pager: Fix gadget zone.
2016-11-01 16:31:41 -05:00
Stephen okra Houston
e9b270f993
Time Gadget: Change the calendar month on mouse wheel.
2016-11-01 16:13:14 -05:00
Stephen okra Houston
c3b5c4a1bf
Luncher and Pager gadgets: Handle multi head and use the correct zone.
...
This fixes T4807 and T4787
2016-11-01 15:16:06 -05:00
Stephen okra Houston
665c7072d7
Luncher: Improve client/exec count.
2016-11-01 14:21:23 -05:00
Stephen okra Houston
722ef64426
Merge branch 'master' of git+ssh://git.enlightenment.org/core/enlightenment
2016-11-01 13:28:33 -05:00
Stephen okra Houston
73047583f6
Luncher: Improve client tracking.
2016-11-01 13:28:21 -05:00
Mike Blumenkrantz
debd88b91c
do not create new luncher cfg id for demo gadgets
...
-1 indicates a temporary gadget which should not be saved
2016-11-01 13:01:51 -04:00
Mike Blumenkrantz
ffef2d0770
update luncher aspect hints whenever icon list is modified
2016-11-01 13:01:33 -04:00
Mike Blumenkrantz
814ee0dc84
use only aspect sizing in luncher
...
using min size hints will break gadget scaling
fix T4809
2016-11-01 12:56:51 -04:00
Stephen okra Houston
193771d58c
Luncher: Don't send mouse events when modifiers are set.
2016-11-01 10:03:35 -05:00
Stephen okra Houston
fd22bb34c2
Luncher: Respect events when on hold.
2016-10-31 15:12:49 -05:00
Stephen okra Houston
df48b2dc09
Luncher: Preview popup should have a shorter delay.
...
This fixes T4790
2016-10-31 14:59:31 -05:00
Mike Blumenkrantz
692b394617
do not apply pager rotation when placed on desktop
...
fix T4786
2016-10-31 13:40:13 -04:00
Stefan Schmidt
b13486599e
mixer: remove unused variables
2016-10-31 11:34:31 +01:00
Stefan Schmidt
f606935067
mixer: mark unused function parameter as such
2016-10-31 11:34:02 +01:00
Stefan Schmidt
ea680a33ba
luncher: mark unused function parameters as such
2016-10-31 11:31:58 +01:00
Stefan Schmidt
e464e25211
luncher: fix shadowed local variable
...
Make sure the local variable names not actually shadow each other.
2016-10-31 11:30:57 +01:00
Carsten Haitzler
fd8d41a2a6
e fm - fix popup to not crash by referring to possibly deleted data
...
fm icon info is transient because fm icons are transient. files may
get deleted, added or removed on the fly. keeping icon info around for
things like the popup is asking for tyrouble and does create trouble.
so look it up each time based on filename string. safe!
this fixes T4716 and fixes T4798 (they are the same bug basically).
2016-10-31 18:23:08 +09:00
Stephen okra Houston
e82ec31175
Luncher: Introduce Enlightenment's new launcher/taskbar/iconify manager: Luncher
...
You are required to update efl along with this update to have the luncher theme files.
2016-10-28 13:26:28 -05:00
Marcel Hollerbach
8724313b8e
mixer: do not set back the value from emix once the drag is finished
...
emix can still have wrong values from pa, and thus the value will jump
back and later come back to the right pos:
Here a video of what is happening:
http://omicron.homeip.net/filedump/mixer_gadget_bug.ogv
Thank you morluxus!
2016-10-28 11:41:00 +02:00
Michaël Bouchaud (yoz)
b2d67bd68a
Revert "mixer: lock up the slider for the case a drag is in progress"
...
This reverts commit eed35d3c4f
.
This is a bad workaround, I have fixed the issue so we don't need it
anymore.
2016-10-27 22:38:46 +02:00