Commit Graph

12175 Commits

Author SHA1 Message Date
Carsten Haitzler 3c4e25360e e auth - move all auth to child process only (e_ckpasswd).
this should fix T6211 ensuring no drivers can cause a segfault at exit
time. this also happens to remove the enlightenment_sys -z option for
openbsd and unifies all the passwd checking into the single
enlightenment_ckpasswd binary util (that has ifdefs for openbsd,
freebsd and linux pam in it).

this simplifies code removing a mess of auth being done in multiple
places, removes special fork vs run 1 exe or a different exe in
different cases making it more maintainable. yes - this requires
enlightenment_ckpasswd to be setuid root, but it already was when it
was built.

@fix
2018-03-02 11:14:20 -05:00
Mike Blumenkrantz 553b8063a5 always unset pass_events on desktop editor when it is shown
fixes some cases where the editor could not be interacted with after
it was hidden during gadget placement
2018-03-02 11:13:49 -05:00
Mike Blumenkrantz c43113381c do not add gadget editor pointer site to editor del_list
the pointer site will never exist at the time when the editor is
destroyed
2018-03-02 11:13:42 -05:00
Thanatermesis c35aaefc1f Fix for window borders to accept edje icons
If you have edje icons installed in your system (efreet smartly searches
the candidate icon based in your Icon= entry), they works correctly in
the menus, bar, etc... but doesn't works in the window borders icon,
this is because the code try's to add it without dealing with the .edj
extensions, probably attempting to load multiple image types and
returning some errors/warning, resulting in an empty icon in the window
borders

Fixes T6723
2018-03-02 11:13:34 -05:00
Mike Blumenkrantz 2e0e3a356b process comp object hide/show signals immediately during intercept
for objects without animations, it's important to instantly perform
state transitions in order to preserve intended visibility behaviors of
these objects and avoid race conditions due to asynchronous signal
processing

fix T6722
2018-03-02 11:13:21 -05:00
Mike Blumenkrantz 0c0d002f94 disable bounce for gadget bar scrollers
fix T6721
2018-03-02 11:12:58 -05:00
Mike Blumenkrantz 7b55e20ace print notifications to stderr if a notification handler doesn't exist 2018-01-30 10:52:43 -05:00
Mike Blumenkrantz a95e49fe6b further protect against crashes when xwayland crashes 2018-01-30 10:52:34 -05:00
Mike Blumenkrantz a0985dc6c0 don't do x11 window grab for fps counter when running in wayland mode
this crashes older efl
2018-01-30 10:52:15 -05:00
Mike Blumenkrantz 58e81cdd25 fix notification crashes when a callback isn't specified 2018-01-30 10:52:09 -05:00
Mike Blumenkrantz 9bd0b71f46 add menu item for reporting bugs
fix T6633
2018-01-30 10:52:00 -05:00
Mike Blumenkrantz 22dd7fef86 use normal emotion function to determine playability of e_thumb files
ref 82f1b8a1c1
ref D4779
2018-01-30 10:51:25 -05:00
Mike Blumenkrantz 110835d212 clamp large windows to desk's useful geometry if smart placement fails
in the case where a window does not place with the smart placement algorithm,
clamp position to the top-left available position within the useful geometry
so that the titlebar will always be visible
2018-01-30 10:51:19 -05:00
Mike Blumenkrantz b1eff9a96b block gadget site layouts on moving gadgets which are not on the pointer site
these will be recalculated correctly once the move operation terminates

fix T6623
2018-01-30 10:51:12 -05:00
Mike Blumenkrantz cafe1976fb clear visible gadget popups when triggering a gadget action 2018-01-30 10:50:59 -05:00
Mike Blumenkrantz ba11728905 consider gadget ctxpopups as normal popups for callback purposes 2018-01-30 10:50:52 -05:00
Mike Blumenkrantz acf6198252 sort gadgets alphabetically in gadget editor 2018-01-30 10:50:42 -05:00
Carsten Haitzler ef98964bc9 init anim - fix sudden vanish of init splash in some cases
this seems to happen to @manmower in T6619. it may just be timing
changes that changed the start loop time to be at init of ecore maybe ...
but it was doing a forced hide and not a clean "done"
that animates/fades. so fix this along with deferring show until the
first render pre.

this fixes T6619
2018-01-30 10:49:57 -05:00
Mike Blumenkrantz cd74104405 add a lot of null checks to wayland egl init
fix T6617
2018-01-30 10:49:36 -05:00
Mike Blumenkrantz 92d7f40486 unset E_Client->changes.pos when attempting to maximize a new re_manage client
a remaining client from before a restart which is maximized does not need its
position adjusted; this will cause it to go offscreen when unmaximized

ref T6414
2018-01-30 10:49:22 -05:00
Mike Blumenkrantz 083e1a34b4 use e_zone_desk_useful_geometry_get() for all client maximize geometry fetching
fix T6414
2018-01-30 10:49:14 -05:00
Mike Blumenkrantz 8d8c9f69e0 print error when failing to unlink efm/eeze mount point after unmount
CID 1382955
2018-01-30 10:47:56 -05:00
Mike Blumenkrantz 96a67811a1 protect against null deref when emitting efm/eeze error messages
CID 1382954
2018-01-30 10:47:50 -05:00
Mike Blumenkrantz 31e5559658 refactor E_Storage finding for efm/eeze volumes in backend
CID 1382951
2018-01-30 10:47:41 -05:00
Ross Vandegrift 67ad5c81a5 clean up .desktop files and misc typos
Summary:
Drop deprecated Encoding key from desktop files

The Encoding key is no longer required, all desktop files are assumed to
be UTF-8 encoded.  See details at:
https://standards.freedesktop.org/desktop-entry-spec/1.1/apc.html

Fix various typos and misspellings

lintian, Debian's package checker, uses strings to check for common typos
in compiled binaries.  This change fixes the ones it identified in 0.22.1.

Reviewers: zmike!

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5585
2018-01-30 10:46:25 -05:00
Derek Foreman 661ffe5233 Fix potential NULL pointer dereference
CID 1382953
2018-01-30 10:46:15 -05:00
Al Poole 4f5598c62d build: fix meson build on FreeBSD.
Summary: -Dsystemd=false and -Ddevice-udev=false with this.

Reviewers: raster, zmike!

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5648

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2018-01-30 10:45:32 -05:00
Carsten Haitzler bb2ff3639e e come client - actually set placed more generally...
previous fix... was not general enough. put this outside the if that
only places if props change or size pos hints need fetching.

@fix
2018-01-30 10:44:28 -05:00
Marcel Hollerbach e23ac1044b build: enable -lintl if we find it
otherwise translations are not working
2018-01-30 10:44:03 -05:00
Carsten Haitzler 23a91a4498 e client - fix initial placement of override redirect windows in x....
several override redirect windows are being forcibly re-placed by e.
they should not be. ever. this affects scim's IM panel i see and
chromium's menus. it probably affects more than this. this fixes both
of these cases for sure. probably more.

@fix
2018-01-30 10:42:44 -05:00
Carsten Haitzler e276b75b5d fix mouse hangs after unblank
this fixes T5883
2017-11-20 10:42:03 -05:00
Mike Blumenkrantz 3fc4e337e7 always emit E_EVENT_COMP_OBJECT_ADD events
fix T6322
2017-11-08 09:56:48 -05:00
Mike Blumenkrantz 2a1c23ed4b avoid performing client rescales during shutdown 2017-11-08 09:56:41 -05:00
Mike Blumenkrantz bbabdb11b2 requeue client for render if show animation completes and damages exist
attempt to catch clients which have a render queued prior to the image
becoming visible
2017-11-08 09:56:34 -05:00
Mike Blumenkrantz 29ad9c85d9 add field width limits to all fscanf params in e_intlc.
fix T6316
2017-11-08 09:56:23 -05:00
Carsten Haitzler b78cbb40ad hits: silence warnings about possible null string for strcmp 2017-11-08 09:55:55 -05:00
Carsten Haitzler 24257c718a e sys - frix warning for less noise
though act will not be set unless mnt is also true... this means less
noise from compiler wanrings so we can focus on real errors.
2017-11-08 09:55:48 -05:00
Mike Blumenkrantz e4cf048112 make wl_pointer cursor handling state-based to correctly handle cursor visuals
this fixes a lot of corner cases such as apps which set their cursor before
receiving pointer.enter events
2017-11-08 09:54:42 -05:00
Mike Blumenkrantz 88888e66ba show internal pointer cursor whenever resetting to internal cursor
don't rely on efl internals for this
2017-11-08 09:54:34 -05:00
Mike Blumenkrantz 3ddd090173 fix non-pam build with meson 2017-11-01 14:04:06 -04:00
Mike Blumenkrantz 577f62e9b1 pass key downs through xkbcommon
bad copy/paste in 984a1facd9
2017-11-01 13:20:19 -04:00
Mike Blumenkrantz b5320b6246 explicitly free client animation agent object during fullscreen operation
ensure that animations do not persist after fullscreen state has been set
2017-10-31 12:04:48 -04:00
Mike Blumenkrantz 0f216c7e95 handle more mouse buttons under wayland
this was incorrectly referenced from weston's x11 compositor, which directly
uses xcb events and sends them as wl_pointer events. efl translates all input
events to use the same button scheme numbering, coincidentally enabling the use
of this code for all backends
2017-10-30 10:51:20 -04:00
Mike Blumenkrantz 47df20207d block wl modal window destructor from intercepting xwl modal windows
failing to pass these to the xwl destructor breaks the xserver

ref T5593
2017-10-30 10:29:39 -04:00
Mike Blumenkrantz ac49e6de22 unset xwayland client changes.pos flag during xwl->wl switch if client is unplaced
fixes some initial client positioning issues
2017-10-30 10:29:39 -04:00
Carsten Haitzler 4f8e3acfcf nvidia driver workaround atexit handlers for pam auth
this works around an apparently atexit() handler in nvidia drivers
that if you fork() a parent and do NOT exec() then the child process
will end up messing with the parent processes access to the nvidia
devices/display/whatever i believe via an atexit() handler because
moving from exit() to _exit() solves the issue. fixes T6197

@fix
2017-10-30 13:11:06 +09:00
Carsten Haitzler 3daf3ac456 e main - xdg runtime dir fixup - dont overwrite same buffer
this path i never saw triggered before on linux because xdg runtime
dir is set... but if it isn't... dont mess up the runtime dir path

@fix
2017-10-28 23:43:50 +09:00
Mike Blumenkrantz 3d701839b6 send wl pointer leave for deleted clients if viable 2017-10-27 13:21:03 -04:00
Mike Blumenkrantz bbb3ec1fc5 unset client's mouse-in state on mouse out even while fullscreen or deleted
the state should always be updated regardless of these attributes
2017-10-27 13:21:03 -04:00
Carsten Haitzler 32be41d505 ptr grab/ungrab for blank/unblank - log stages and work done for debug
looking to get more info for what is going on...
2017-10-26 10:50:37 +09:00