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
Carsten Haitzler
fbb514e009
e winlist/at tab - understand stacks and filter accordingly
2016-12-19 17:58:23 +09:00
Carsten Haitzler
c6fa2f6457
tasks - add stack "hiding" support and only show top stack item
...
this makes tasks behave like you'd expect with a stack - only show the
top one and track properly. tasks was simple and easiest to do first
as it has little fluff other than the tasks logic itself. other
elements of e next...
2016-12-16 18:59:56 +09:00
Chris Michael
72a2758b5a
fix comparison between signed and unsigned int expressions in
...
xkbswitch module
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-15 10:19:57 -05:00
Chris Michael
a11492784d
fix formatting
...
NB: No functional changes
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-15 10:19:21 -05:00
Chris Michael
3a714c6e04
add missing EINA_UNUSED for unused function parameters
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-12-15 10:17:19 -05:00
Stephen 'Okra' Houston
27c8413700
Luncher: Pass the e_comp client to the preview add callback.
2016-12-14 10:27:48 -06:00
Stephen 'Okra' Houston
d7f22721a2
Luncher: Add preview windows to the popup on exec if they are already visible.
2016-12-14 10:23:25 -06:00
Stephen 'Okra' Houston
49c3b1ab9b
Luncher: Be aware when a ctxpopup has been dismissed but not yet deleted.
2016-12-13 14:05:17 -06:00
Stephen 'Okra' Houston
f5f9bd5338
Luncher: Fix leaking caused by luncher.
2016-12-13 13:40:02 -06:00
Stephen 'Okra' Houston
396f0fe8b1
Luncher: Make sure to delete preview when icon is deleted.
...
This fixes https://phab.enlightenment.org/T4916
2016-12-13 09:49:56 -06:00
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
Michaël Bouchaud (yoz)
b65cb5df92
mixer: add volume control to e_client menu
...
Add a button to the window menu, when clicked this one make a new window to
control the volume of the app.
@features
2016-10-27 22:34:17 +02:00
Michaël Bouchaud (yoz)
307f0831ce
mixer: use the new e_client api to export volume control by app.
...
We use the pulseaudio backend to export volume control by app.
This commit introduce 3 news shortcuts to control the volume with the current
focused window.
@features
2016-10-27 21:54:40 +02:00
Michaël Bouchaud (yoz)
1943cee080
mixer: fix the volume conversion calc into pulseaudio backend
...
a get and a set don't give the same result
@fix
2016-10-27 21:54:39 +02:00
Mike Blumenkrantz
989675f310
force min size on wireless popup during show
...
box+list inside a ctxpopup may result in an unreliable min size at the time
of show, so force the size wanted at this time in order to avoid positioning
errors
2016-10-25 11:30:23 -04:00
Joshua McBeth
ec37884a31
add dbus message 'org.enlightenment.wm.Window.SendToDesktop'
...
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2016-10-25 10:45:59 -04:00
Mike Blumenkrantz
491b18b920
set ON_HOLD flag when triggering gadget mouse buttion actions
...
allow detection that this event is being consumed
2016-10-17 12:42:28 -04:00
Marcel Hollerbach
838dde02ee
mixer: we changed that name when we merged the mixer in
2016-10-11 14:16:53 +02:00
Marcel Hollerbach
f0ef2198c5
wizard: make page 065 translatable
...
we should use here the translation for plural or singular, everything
else makes it hard to translate
This commit also adds the file to POTFILES so it gets recognized by the
pot file
2016-10-11 14:16:52 +02:00
Mike Blumenkrantz
ad3d0bd8c5
split wl_desktop_shell into separate files per shell
...
this should make it easier to selectively disable shells, and it will
definitely simplify future shell additions
2016-10-10 11:30:52 -04:00
Mike Blumenkrantz
9d63a1db3e
do not show wireless gadget popups if desklock is active
...
this gadget may be allowed on lockscreen, but configuration should be disabled
2016-09-28 10:43:00 -04:00
Mike Blumenkrantz
ab56bc4662
remove (wrong) setting of layer for time's clock gadget popup
...
e_gadget_util_ctxpopup_place() already handles this correctly
2016-09-28 10:41:21 -04:00
Mike Blumenkrantz
90fcc55f1e
add e_util_open(), unify all callers of enlightenment_open
...
ref adbba1042b
2016-09-27 11:19:00 -04:00
Derek Foreman
e4da5ba56a
Auto generate wayland protocol
...
Replaces any checked-in wayland protocol files with auto-generation.
In some cases this means renaming include files that didn't use "standard"
names, or adding missing xml files. Any source edits are simple search and
replace, there should be no functional changes.
2016-09-26 15:23:50 -05:00
Stephen Houston
5b2f952c85
Introduce pager gadget using new gadget api.
2016-09-23 10:17:54 -04:00
Derek Foreman
22a99c5b5a
NULL out xwayland fd handlers after deleting them
...
This fixes a valgrind error that can happen when we accidentally
free these again later because they still had non-NULL values.
2016-09-21 16:45:57 -05:00
Marcel Hollerbach
eed35d3c4f
mixer: lock up the slider for the case a drag is in progress
...
if you click on the slider in the gadget the slider jumps a back to the
old volume and then to the new volume, this is because a pulseaudio
update is sent while the last changed event was called, but not the
drag_stop callback.
2016-09-14 10:43:17 +02:00
Derek Foreman
def99a337f
Fix error print when wl_wl fails to start
...
Probably copypastad from wl_drm, very confusing.
2016-09-13 10:34:35 -05:00
Marcel Hollerbach
f97f8f61ac
ibar: multiply size with scale
...
This fixes T4544.
2016-09-10 10:17:59 +02:00
Derek Foreman
dc2bad0fcd
bump ecore_drm2 dependency, update to latest beta API
2016-09-08 11:51:36 -05:00
Mike Blumenkrantz
4e7c505536
add event handler for evry event type, not #define value
...
fix T4007
2016-09-08 10:27:05 -04:00
Chris Michael
adfa905e09
add missing EINA_UNUSED for function parameter
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-09-07 09:03:10 -04:00
Chris Michael
ebfa4a97cd
Remove unused variables from ibar_resize_handle function
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-09-07 08:57:41 -04:00
Marcel Hollerbach
1a3086b2c2
mixer: introduce emix_max_volume_get
...
This lets the module decide what its maximum value is.
Everything over 100% is considered overloading. And is protected by the
mixer and the gadget.
2016-09-07 11:05:11 +02:00
Marcel Hollerbach
1da2bbcd9c
mixer: introduce Barrier checks
...
in this barrier checks the module checks that the user is explicit going
over the value of 100%
2016-09-07 11:05:11 +02:00
Marcel Hollerbach
686dc747d6
tiling: be more accurate on the description
...
As user reported, this could be a bit missleading.
fixes T4499
2016-09-06 16:43:23 +02:00
Marcel Hollerbach
f5e4403164
tiling: place popup on the current active zone
...
Otherwise the popup will be where you are not looking at.
This patch adds a new function to e_comp_object where you can pass the
zone where you want to place the e_comp_object on.
ref T4499
2016-09-06 16:31:13 +02:00
Flavio Ceolin
5df7963ad1
emix: when in alsa mode only operate on master
2016-09-06 11:54:51 +02:00
Marcel Hollerbach
50030dc693
ibar: try to get a better min size
...
There are two cases, on a shelf and on the desktop.
If on a shelf we are using the height setting of the self, since max.w
max.h are only set after a few calcuations, and the gadget does not get
moved on a shelf which does not fade out, so the first min size
calculation must be correct.
If we are on the desktop max.w and max.h are not always 0.
There were some cases when none of this conditions are met. So this
patch enforces a mimum size of 40x40 pixels.
2016-09-02 17:14:58 +02:00
Mike Blumenkrantz
b2dee35f41
another case of stringshare misuse re:efreet_mime_type_get()
...
ref 1cb47b1411
2016-08-26 10:23:30 -04:00
Mike Blumenkrantz
1cb47b1411
use stringshare_add() for evry files plugin mime types
...
the return of this function is not guaranteed to be stringshared
2016-08-26 10:17:05 -04:00
Mike Blumenkrantz
287e9637a8
delete previous wireless popup when activating editor from connection list
...
fixes case where newly-created popup would be deleted upon show, breaking
interactions
2016-08-19 12:15:31 -04:00
Mike Blumenkrantz
9a9e892825
clean up some string leaks in wireless gadget popups
2016-08-19 12:15:31 -04:00
maxerba
a1407ca224
Updating italian translation
2016-08-18 12:12:03 +02:00
Mike Blumenkrantz
54d446b05e
add xwayland compat for efl 1.19+
2016-08-15 10:51:57 -04:00
Mike Blumenkrantz
b2d8803b95
improve quickaccess relaunch help dialog text
...
fix T4216
2016-08-08 11:23:58 -04:00
Marcel Hollerbach
a484ee1df3
xwayland: show the dialog after ecore_wl2 is in sync
...
otherwise ecore_wl2 could produce crashes.
2016-08-04 16:38:51 +02:00
Chris Michael
35febc367d
add key_up and key_down methods to sreen interface
...
This patch adds new methods to the screen interface that we can use
inside wl_drm to determine if a key event is eaten or not. This fixes
an issue where VT-Switching would not work if an application was on
the screen (E-Wayland).
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-07-27 13:31:13 -04:00
Chris Michael
0122bc167c
wl_fb: Check that e_comp_wl_init does not fail.
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-07-26 13:00:33 -04:00
Chris Michael
42aa6be359
e ibar - fix "old man" fat finger typo ;)
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-07-25 09:27:52 -04:00
Carsten Haitzler
504706d45a
e ibar - fix devilhorns fix to use the right widght and hight for separator
2016-07-25 22:21:47 +09:00
Chris Michael
b1f608c5e6
use proper variables to set size_hint_max on ibar
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-07-25 09:05:40 -04:00
Chris Michael
b107dc1cdc
remove unused variables from _ibar_resize_handle
...
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-07-25 08:44:12 -04:00
Carsten Haitzler
3fc195cd9f
e ibar/ibox port to elm box - fix assumption on resize
...
so... when ibar/ibox were ported to elm box they assumed elm box would
resize itself. this was wrong as it only should have set min size
hints. this has been fixed by 96fbea9daecf7040ac63203c4823722fa6d5d73f
and this addresses T3031. this requires we fix enlightenment too.
@fix
2016-07-25 19:13:29 +09:00
Carsten Haitzler
bd43f07046
e temp module - kill tempget process not terminate to ensure death
...
it seems on openbsd sigterm doesnt kill things... sigkill does so move
to that. fixes T4121
@fix
2016-07-20 18:12:04 +09:00
Mike Blumenkrantz
54fa1a0ca4
adjust xdg-shell window menu coords by client's coords
...
the coords passed in this method are relative to the window geometry
2016-07-19 14:15:21 -04:00
Carsten Haitzler
c72113eca8
e ibar/ibox fix starrting/started signal emittion
...
i found this didn't emit signals correctly and multiple times when not
needed. this fixes that.
@fix
2016-07-18 15:50:23 +09:00
Al Poole
382fe30688
fwin: prevent segv when the vaarg abi messup with unused parameter.
...
Quite a hack overall, but if you don't need those parameter, just put
nothing and it will work.
@fix T4112
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-07-15 09:17:44 -07:00
Mike Blumenkrantz
5546c2a425
set unmax flag for xdg shell unmaximize
...
ref b5576dbb8c
2016-07-13 11:26:16 -04:00
Mike Blumenkrantz
4773dd7039
match wl_wl output sizing in wl_x11 when running in an existing wm session
...
global sizing policy++
2016-07-12 12:51:00 -04:00
Mike Blumenkrantz
c6ef590e9e
set x11 randr iface for wl_x11 based on wm presence, not composited state
...
fixes usage in non-composited x11 environments (eg. openbox)
2016-07-12 12:51:00 -04:00
Chidambar Zinnoury
b80f0bfef7
e desks config: Group all flip-related settings to their own tab.
2016-07-05 22:15:57 +02:00
Chidambar Zinnoury
5eb12b6972
e desks config: Bring some flip settings back.
...
These were inadvertently removed by e1369a24bd
.
@fix
2016-07-05 22:15:57 +02:00
Mariusz Bialonczyk
5dd4a7eddf
modules/temperature: cosmetics: typo fix (celcius -> celsius)
...
Reviewers: zmike!
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D4129
2016-07-05 11:45:00 -04:00
Derek Foreman
1f44a593c2
Track whether a surface is an xdg one
2016-06-29 16:19:20 -05:00
Derek Foreman
7b470c402e
Set up attributes properly for wl_shell transient windows
...
This fixes Qt sub-windows.
2016-06-29 13:20:45 -05:00
Mike Blumenkrantz
033217c8e1
destroy evry's focus-out timer if focus-in occurs before timer triggers
...
fixes dismissal during comp input regrabs
2016-06-29 10:02:47 -04:00
Marcel Hollerbach
4f0e3bce84
emix: update sink of sink_input when changed
...
this fixes none changing sinks in the app.
2016-06-25 17:12:35 +02:00
Marcel Hollerbach
4bc61cfbd3
music-player: add spotify
2016-06-25 01:11:57 +02:00
Derek Foreman
bdf1017f90
Don't send configure to wl_shell popups
...
This confuses Qt badly, and rightly so, because we shouldn't be
doing it.
2016-06-23 11:26:57 -05:00
Derek Foreman
453e6adc33
Use e_client_util_is_popup for checking wayland clients
...
All the different popup types are tested by the helper function,
the current wayland tests were missing some.
2016-06-23 11:22:47 -05:00
Mike Blumenkrantz
9a50f6b218
disallow pager window drags for popups and ignored windows
2016-06-23 12:13:24 -04:00
Derek Foreman
11796c8b88
Update some wl_shell window handling logic
...
Our xdg_shell implementation has received some fixes that are also
applicable to wl_shell. Qt still uses wl_shell, so we do have a test
case, and do need to keep it up to date.
This copies some window attributes, clamping logic, and diagnostic prints
from the xdg_shell implementation.
2016-06-21 12:33:49 -05:00
Mike Blumenkrantz
0f022976e0
use pending wl maximize value to determine maximize flag in xdg configure
...
fixes some cases where fast configures would break maximizing
2016-06-20 16:04:10 -04:00
Mike Blumenkrantz
a93aadfe01
replace wireless connection error #warning with notification
...
this needs a more robust infrastructure than I'm prepared to write at
the moment, but errors do need to be seen
2016-06-20 12:37:28 -04:00
Derek Foreman
4bd97bfd5c
Fix eo object use after deletion in evry
...
On window hide the focus out callback is triggering and causing a new
timer to be set up. This timer fires when the window no longer exists.
Remove the focus_out callback when we hide the window.
2016-06-17 16:40:20 -05:00
Mike Blumenkrantz
6fd2d4487f
force unset override and do reshadow on evry when switching to normal win mode
...
fixes window movement and close animations
2016-06-17 17:19:02 -04:00
Derek Foreman
b6819e5a77
Fix wl_shell popup livelock
...
Trying to put wl_shell popups in the popup layer results in stacking
problems later and a never ending loop.
Just don't.
fix T3433
2016-06-16 14:37:15 -05:00
Derek Foreman
4f8dd3f1e5
Fix wl_shell clamping rules
...
The current clamping logic clamps submenus so that they're contained
within their parent instead of adjacent to them.
2016-06-15 16:39:08 -05:00
Derek Foreman
2463ce8b43
Fix crash in wl_shell surface destroy
...
wl_shell doesn't set up shell.data, but this destructor is shared
with xdg_shell which does.
2016-06-15 15:19:32 -05:00
Al Poole
4f1f29ae35
fix openbsd battery calc on amd64
2016-06-09 11:15:09 -04:00
Mike Blumenkrantz
e95098fedb
add tooltip for unloadable teamwork links, make ctrl suppress tw activation
...
fix T2995
2016-06-02 13:08:52 -04:00
Mike Blumenkrantz
ffbf4235dd
Revert "eo_del -> eo_unref in xwayland"
...
This reverts commit 1eddd375d8
.
2016-06-01 09:57:17 -04:00
Hannes Janetzek
b3561d7641
just a small patch to make sure evry_hide does not get called synchronously from an Evry_Action
2016-05-31 11:42:27 -04:00
Chris Michael
0d2b6b047c
port enlightenment to use drm2
...
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
2016-05-27 09:53:41 -04:00
Mike Blumenkrantz
b40857b9f0
use current zone for shelf config dialog
...
fix T3683
2016-05-24 11:59:56 -04:00
Mike Blumenkrantz
b6b89256e1
use correct indexing for x11 teamwork server atom array
...
CID 1355933
2016-05-23 11:34:32 -04:00
Mike Blumenkrantz
361bcd9bcd
upgrade teamwork module to use teamwork v2: teamwork++
...
use display protocol and add wayland support
2016-05-20 15:06:09 -04:00
Mike Blumenkrantz
c53a6efc8d
add client util function for detecting popups, block popups in ibar/tasks
...
mainly a wayland issue where popup menus would cause the tasks gadget to
grow and shrink uncontrollably
2016-05-18 14:43:21 -04:00
Mike Blumenkrantz
1eddd375d8
eo_del -> eo_unref in xwayland
2016-05-18 13:26:59 -04:00
Derek Foreman
da23b852e7
Disable wayland dmabuf for the X11 backend
...
This is just too hard to get right and nobody will notice its
absence, so let's not bother for now (or ever, I hope)
2016-05-18 12:05:34 -05:00
Derek Foreman
6b0c55dd96
Track parent compositor dmabuf capabilities on wayland on wayland
...
When running as a wayland compositor connected to another wayland
compositor, we don't want to advertise dmabuf capabilities if the
parent compositor doesn't support them.
If it does, we'll want to proxy dmabuf requests to it instead of handling
them ourselves.
Expose this as new bools in e_comp_wl.
2016-05-18 12:05:34 -05:00
Mike Blumenkrantz
366193f2d2
remove pulse sinks/sources from list before running cbs which access the list
...
this guarantees a crash any time the default sink gets removed since it will
always re-set the about-to-be-deleted default sink as the default sink
fix T3277 probably
2016-05-17 15:05:18 -04:00
Carsten Haitzler
59e2eb40f8
warnings - silence some theoreitcal wranings in build
...
a bunch of "potentially uninitialized variable" warnings fixed.
2016-05-15 23:14:15 +09:00
Marcel Hollerbach
1aea5ab079
e_xkb: reconfig when we have set a new set of layouts
...
When in the config dialog a new set of layouts is created, this set has
to be told to the displayserver. Like at the startup of e, so calling
e_xkb_reconfig().
fix T3072
2016-05-12 21:02:40 +02:00
Marcel Hollerbach
ce6d2285f1
e_xkb: split up e_xkb_update
...
before the function had the semantics that -1 flushes the set of layouts
back to the displayservice. Now its done with e_xkb_reconfig.
2016-05-12 20:54:22 +02:00