Commit Graph

21815 Commits

Author SHA1 Message Date
Simon Lees 39e6605bf1
21.4 Release 2016-11-29 11:29:54 +10:30
Al Poole 617ef1887e Add temperature support for DragonFly BSD.
Reviewers: zmike!

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D4432
2016-11-28 10:59:50 -05:00
Romain Naour 157ab70673 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:59:49 -05:00
Mike Blumenkrantz 1e85ec4174 prevent divide by zero when calculating gadget aspect sizing 2016-11-28 10:59:48 -05:00
Mike Blumenkrantz e6efe45227 revise internal window session recovery blocking to compile with older efl
this is an important fix which should be active where available

ref 9673df56ee
2016-11-28 10:59:01 -05:00
Mike Blumenkrantz 37eb433a41 make fake mouse-out upon focus-out conditional on pending pointer warp
in the case where warping would not occur and a mouse-based focus policy was
not in use, this would break mouse eventing on wayland when a window lost focus
but the cursor remained inside the window

ref 3e6d6b348f
2016-11-22 11:33:50 -05:00
Mike Blumenkrantz 7c38e4edb4 clarify some wl surface checks to require elm wins
these should not apply to role-less surfaces
2016-11-22 11:33:40 -05:00
Mike Blumenkrantz a95d5ebd40 require an elm win to apply auto-visibility for internal wins in wl surface commit
other internal surfaces could be things like cursors, and these should not be made visible
before setting a role
2016-11-22 11:33:08 -05:00
Mike Blumenkrantz b4a3dc1f88 make confirm dialogs autoselect the confirm option
esc is already used for cancel, having an easier confirm makes sense (tm)
2016-11-18 11:46:37 -05:00
Mike Blumenkrantz 084aeebaa7 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 11:46:35 -05:00
Mike Blumenkrantz 2c7e448fb2 disable bindings during desklock
hopefully nobody noticed this before now...
2016-11-18 11:46:32 -05:00
Chris Michael bd66d3e1bb fix missing definition of DRM_FORMAT_XRGB8888
As we do not compile-time link with libdrm inside Ecore_Drm2 anymore,
we need to include relivant bits of drm_fourcc header here in order to
define DRM_FORMAT_XRGB8888 else we fail to compile Enlightenment Wayland

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-18 11:46:27 -05:00
Carsten Haitzler 117e30310d 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-18 11:46:23 -05:00
Mike Blumenkrantz c4339eb273 focus confirmation option in efm delete dialog
fix T4797
2016-11-18 11:46:19 -05:00
Mike Blumenkrantz 1c27386047 only unset cur_mouse_action on client menu delete for the right action
ref 50198ecdde

this still needs improving....
2016-11-18 11:46:14 -05:00
Mike Blumenkrantz 25ae14416c send orientation signal to bryce scroller theme 2016-11-18 11:46:05 -05:00
Mike Blumenkrantz d0419e937c unset cur_mouse_action upon deleting client menu
fix T4522
2016-11-18 11:46:01 -05:00
Mike Blumenkrantz bc5023326e keep bryce starting size unscaled 2016-11-18 11:45:54 -05:00
Mike Blumenkrantz 1acfb78e9b handle e_scale correctly in bryces 2016-11-18 11:45:52 -05:00
Mike Blumenkrantz a0fc71752d unalias internal wl client pixmaps in elm win hide trap callback
this seems to be the best place to remove the alias since it is initially
added in the corresponding show callback
2016-11-18 11:45:40 -05:00
Mike Blumenkrantz 638c3dfbe1 always free wl pixmap buffer list on non-cache image clear
this is only used when the pixmap is freed, after which point accessing
the list guarantees a crash
2016-11-18 11:45:37 -05:00
Mike Blumenkrantz 2108bee616 remove wl client pixmap aliasing on del
not sure why I added this but it was wrong
2016-11-18 11:45:35 -05:00
Mike Blumenkrantz e11aa970d3 unset wl client surface pointer on surface destroy
leaving this around after this point is dangerous and has a high probability
of crashing
2016-11-18 11:45:31 -05:00
Mike Blumenkrantz 8155b456fe reset initial internal wl client states when hiding (but not deleting)
ensure that these windows are not able to be shown again until commits occur
2016-11-18 11:45:24 -05:00
Mike Blumenkrantz 9b17e1079d break out repeated code from _e_place_desk_region_smart_area_calc() into separate function
no functional changes
2016-11-18 11:44:44 -05:00
Mike Blumenkrantz 5972d0369a break out e_place_desk_region_smart() area calcs into separate function
no functional changes
2016-11-18 11:44:41 -05:00
Mike Blumenkrantz 99a9312b52 clamp e_place calcs to zone geometry
fixes some cases where windows would place wrong due to placement code
checking offscreen coords
2016-11-18 11:44:39 -05:00
Mike Blumenkrantz 4c5528a018 use only zone coords when moving bryce to its zone during editing
prevent coords from accidentally resulting in offscreen placement

fix T4826
2016-11-18 11:44:25 -05:00
Mike Blumenkrantz efd0136d22 force bryce repositioning onto target zone during startup
ensure that subsequent operations do not accidentally the bryce's zone

fix T4784
2016-11-18 11:44:21 -05:00
maxerba ffc2706b49 Updating italian translation 2016-11-18 11:43:45 -05:00
Derek Foreman f3282a3748 Stop passing dimensions to _e_comp_wl_surface_state_init
The dimensions we passed were frequently wrong anyway, so let's stop
doing that.
2016-11-18 11:43:36 -05:00
Derek Foreman f856b20db5 Fix wayland opaque regions
Similar set of changes to the recent input region changes.  They may not
have been quite so broken to begin with, but it's probably less confusing
to treat both types of region the same way.
2016-11-18 11:43:31 -05:00
Derek Foreman d95e3a77e8 Fix massive wayland input region brokenness
It was impossible to set an empty input region.

Input regions were being clipped to the size of whatever buffer was
previously attached when they should really be clipped at commit
time to whatever buffer was attached in the commit.

The intersection operation created round off errors and
e_comp_object_input_area_set is clipping anyway, so we can simplify this
and retain precision.
2016-11-18 11:43:29 -05:00
Derek Foreman 805eb55628 Increase area of tilers for regions
We don't have any idea at this point what the region will be used for,
and tilers clip to their area on ingress.  If we're going to use tilers
for wayland regions we need to make them huge and clip them later.
2016-11-18 11:43:21 -05:00
Mike Blumenkrantz b858cf7b73 move bryces to E_LAYER_DESKTOP_TOP when not above windows
moderately sure this won't conflict with anything important...

fix T4819
2016-11-18 11:43:10 -05:00
Mike Blumenkrantz 0bf3a3d365 add special case for returning pixmap argb of unusable wl cursor pixmaps
this is usually called before the surface commits, so ensure that the
most likely case is returned as the default until the commit occurs

fixes black rect flickerings around the cursor
2016-11-18 11:43:06 -05:00
Mike Blumenkrantz 249cbe1d46 add more parens for previous pixmap commit 2016-11-18 11:43:00 -05:00
Mike Blumenkrantz 070eb16a17 avoid crash when calling e_pixmap_image_exists on wl pixmaps without buffers 2016-11-18 11:42:56 -05:00
Mike Blumenkrantz 1cbb0b2152 determine wl pixmap argb solely based on image_argb flag
the existence of a buffer does not mean that the pixmap can stop being
argb

fixes random black rects
2016-11-18 11:42:52 -05:00
Mike Blumenkrantz 9a0965ff02 return correct values from bryce post event callbacks
I referenced elm scrollable for this when writing it. past me was a moron
for using reference code instead of reading the underlying implementation.

fixes scrolling
2016-11-18 11:42:48 -05:00
Carsten Haitzler a27a03a989 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-18 11:42:38 -05:00
Mike Blumenkrantz ad1b8f224f force gadget site recalc from style object if gadget's hints change
ensure that these intermediate objects trigger recalcs as expected

fix T4809
2016-11-18 11:40:42 -05:00
Mike Blumenkrantz ef2112c7db feed mouse-up when dropping a gadget site before enabling events on the site
prevents unintentional activation of gadget actions during moves
2016-11-18 11:36:58 -05:00
Mike Blumenkrantz 6ec652a4ff add bool return for e_exec_phony_del() to return deletion success
CID 1181927
2016-11-18 11:36:46 -05:00
Al Poole c6a8a52c0d efm - fix popup if file is a fifo
this fixes T4815

@fix
2016-11-18 11:36:39 -05:00
Stephen okra Houston e0699c0640 Time Gadget: Change the calendar month on mouse wheel. 2016-11-18 11:36:23 -05:00
Mike Blumenkrantz b3db41fad7 do not return early from _bryce_position()
this causes the returned coords to be garbage values, likely leading to
the bryce being positioned or animating off to the upper-right corner
of the universe that exists beyond the canvas
2016-11-18 11:36:07 -05:00
Mike Blumenkrantz cb2ab91ea5 do not apply efx anchoring to move effects if a resize effect is not active
this is useless without an animator

fix T4810
2016-11-18 11:35:36 -05:00
Chris Michael d7527eb7a2 check if a client is internal or not before deleting
This fixes a crash where mousing back into internal windows would
cause a crash (from efl wayland mouse pointers).

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-11-18 11:34:00 -05:00
Mike Blumenkrantz 1205dff03c attempt to recalc gadgets which overflow their container 2016-11-18 11:33:49 -05:00