Jiyoun Park
6d4ebf9bc6
ecore_evas_wayland: fix bug ecore_evas cannot update the evas when rotation
...
usecase:
show -> rotation -> hide -> show
ecore_evas_wayland didn't check the rotation.
when ee is landscapemode, it cannot update the right area of evas.
2017-07-26 15:28:02 +09:00
Andy Williams
77db870b61
elm_code: Fix missing middle button selection paste
...
Resolves task T5520
@fix
2017-07-25 23:54:21 +01:00
Derek Foreman
69c6cbfdf1
elput: Close fds when asked to
...
Our close callback tells logind we're done with a device, but it should
also actually close the fd it's passed, or we end up leaking piles of
fds on VC switch.
see weston commit 8f5acc2f3a29c3831af4ddd6bed57f703c98dc77
and subsequent regression in commit 72dea06d7952e3ce8dd8057f7106186da4fa2678
and pending fix in https://patchwork.freedesktop.org/patch/168992/
2017-07-25 16:59:11 -05:00
Sungtaek Hong
a5fc50c186
edje_cc: fix wrong comment about lazEDC norequired.
...
Summary: - norequired; stands for required: 0
Reviewers: conr2d, jpeg
Reviewed By: jpeg
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D5036
2017-07-25 14:44:40 +09:00
Jean-Philippe Andre
d4b2eb1e7f
elm: Move calls to efl_destructor(efl_super()) to the end
...
When destroying any object, its parent class destructor should
be called after the subclass destructor has been called. Only
some extremely limited work may be done after the super call.
This commit makes sure that all efl_destructor() overrides in
elementary are doing operations in the right order.
Also, remove a return void.
2017-07-25 14:43:12 +09:00
Marcel Hollerbach
dd883a7064
elm_widget: only emit events when there is really a changed manager
...
A manager change to NULL is to be used as "this object is not registered
anymore" call, which will happen quite regular during shutdown.
2017-07-24 23:40:38 +02:00
Marcel Hollerbach
6f0b79fe4b
elm_widget: call the events after eval outself with new manager/parent
...
otherwise we might end up with a node_get error, since the widget where
the event is called on is still registered in the wrong manager
2017-07-24 23:40:38 +02:00
Marcel Hollerbach
b49df7128a
elm_widget: only set focus.manager if we are really registering
...
otherwise we might set focus.manager even if we are not registered
2017-07-24 23:40:38 +02:00
Marcel Hollerbach
47ce995637
elm_widget: give feedback if registration was successfull or not
...
with this we can whipe out the focus.manager field in elm.widget so for
the case that something goes wrong we only get the error message where
actually something went wrong, and not the whole bunch of follow ups
where the code assumes its registered but it isnt.
2017-07-24 23:40:38 +02:00
Derek Foreman
27f88b534a
elput: Fix multiple open/close of drm devices
...
When I added the code to probe drm devices to ensure they're
modeset capable (ref 414d406b3b
)
I didn't realize elput didn't allow us to open and close more than
one drm device at startup without blowing up libinput.
This is a somewhat dirty hack to rough that in.
The problem is that open/close the device during startup will
result in an async "gone" callback from logind, which then kicks
off an input shutdown. We need to try harder to only do that
shutdown when it makes sense.
2017-07-24 16:06:52 -05:00
Mike Blumenkrantz
aae4d21b63
ecore-wl2: handle null offer drags more effectively
...
this is valid and refers to an offer with no types; a leave event
with no enter is a protocol error, however
fix T5770
@fix
2017-07-24 08:30:05 -04:00
Mike Blumenkrantz
451a93d9d2
Revert "ecore wl2 - dnd - handle NULL drags... shouldnt happen but does"
...
This reverts commit 85e5858466
.
please do not randomly add null checks for the purpose of quickly closing tickets.
2017-07-24 08:29:45 -04:00
Carsten Haitzler
85e5858466
ecore wl2 - dnd - handle NULL drags... shouldnt happen but does
...
this should fix T5770
@fix
2017-07-24 18:53:33 +09:00
Carsten Haitzler
fd9e6b305d
efl net server udp - report erro on alloc failure
...
unwind nicely and complain
2017-07-24 17:44:22 +09:00
Carsten Haitzler
143709faba
ecore con proxy helper - complain when realloc fails
...
so you know why things might be failing... complain about out of
memory errors.
2017-07-24 17:35:13 +09:00
Carsten Haitzler
fe6dc2000d
ecore exe - pisix - handle malloc fails
...
handle malloc fails better
@fix
2017-07-24 16:59:53 +09:00
Carsten Haitzler
829d0bc3f9
ecore win32 exe handling - check realloc and malloc returns
...
handle out of memory errors better
@fix
2017-07-24 16:57:22 +09:00
Carsten Haitzler
b47cbdcb65
ecore_exe - handle realloc failures by complaining and rolling back
...
@fix
2017-07-24 14:10:17 +09:00
Carsten Haitzler
132c047c4d
embryo_cc - be sensible about realloc returns so analysers are happy
...
assingto tmp var then assign to real one after a check to analysers
dont complain.
2017-07-24 13:46:30 +09:00
Carsten Haitzler
8786449704
efreetd cache create - fix reallocs to bail on out of memory cleanly
2017-07-24 13:37:57 +09:00
Carsten Haitzler
8e311db414
edje_cc - make svg loader (still beta) handle out of memory nicely
...
print ERR and abort.
2017-07-24 13:26:28 +09:00
Carsten Haitzler
92fb46fb50
edje convert - make realloc fatal and complain about it
...
cleaner error handling
2017-07-24 13:09:26 +09:00
Amitesh Singh
4b4564c857
edje_cc out: fix div by 0 correctly
2017-07-24 09:50:05 +09:00
Andy Williams
292e9e9ecf
elm_code: Fix crash with long lines
...
Also fixes issue where widget would sometimes blank when scrolling
@fix
2017-07-23 21:30:35 +01:00
Carsten Haitzler
83a249baa1
edje_cc out - fix theoretical div by 0
...
fixes CID 1371125
2017-07-23 19:48:16 +09:00
Carsten Haitzler
d62f7d72e6
edje_cc out ... fix theoretical div by zero...
...
if files size was 0... which would basically make a lot fail before...
it could be a divide by zero. fix and just assume minimum size of 1.
fix CID 1371127
2017-07-23 19:46:17 +09:00
Carsten Haitzler
17d33c7138
efl ui grid - handle invalid 0x0 fully if the grid size fails to do it
...
if efl_pack_grid_size_set is overridden and somehow allows 0x0 to
still happen then handle this caase and skip the layout.
fix CID 1374317
2017-07-23 19:42:06 +09:00
Carsten Haitzler
a91d0b2ea4
edje_cc out ... check more iui list element ptrs to help coverity
...
fix CID 1374482 ... and others i hope.
2017-07-23 19:36:41 +09:00
Carsten Haitzler
4df92f88d0
edje_cc out - double check list element ptr to make coverity happy
...
fix CID 1374483
2017-07-23 19:33:58 +09:00
Carsten Haitzler
3826f21a29
evas seat focus add - handle other case where layer may be null
...
fix CID 1377522
2017-07-23 19:30:31 +09:00
Carsten Haitzler
bb7e8456c4
eina debug timer - handle fail wakeup write with error complaint
...
fix CID 1377528
2017-07-23 19:26:56 +09:00
Carsten Haitzler
144f5f73e0
add comment about poll high/medium/low implementation of events
...
not brilliant as it stands. :(
2017-07-23 19:18:55 +09:00
Carsten Haitzler
8a80005f25
ecore main - fix division to remain a double/float as expected
...
1/60 != 1.0/60.0 ... the first is an integer which is 0... the second
is 0.016666666 .... a float/double. fix CID 1377532
2017-07-23 19:12:32 +09:00
Carsten Haitzler
758e7d3562
eina debug - don't try and collect stats on more than a million threads
...
sanity check... just in case.
2017-07-23 19:09:11 +09:00
Carsten Haitzler
b2809026bb
elm cnp - check if selbuf is null or not and skip copying if null
...
this should fix CID 1377536
2017-07-23 18:56:43 +09:00
Carsten Haitzler
b3b0411a05
evas callbacks - check if obj->events is valid because it's cow alloced
...
it COULD be null and we do have other checks for it being not-null and
we dont check if the alloc fails... so check. this SHOULD fix
CID 1377547
2017-07-23 18:53:46 +09:00
Carsten Haitzler
6a65cb2f3c
eina debug - add comments to cpu debug using locks to pause sysmon
...
this is intended so leave comments saying so. coverity doesn't like it
with CID 1377549
2017-07-23 18:43:58 +09:00
Carsten Haitzler
c69f9d2837
eina debug - check return value of syscall for errors
...
this should fix CID 1377550
2017-07-23 18:40:04 +09:00
Carsten Haitzler
4095165385
efl canvas image - dbug ingo get - dont get if no root dbg info supplied
...
if root dbg info is null we'll leak and not have anything useful
stored somewhere for fetching anyway.
this should fix CID 1365656
2017-07-23 18:36:44 +09:00
Carsten Haitzler
60d2bd233b
evas module load add comments pointing out this is intentional ptr loss
2017-07-23 18:29:57 +09:00
Carsten Haitzler
fceb86c865
efreetd cache - fix leak of strbuf when error conditions abort save
...
fix CID 1374951
2017-07-23 18:11:26 +09:00
Carsten Haitzler
91878f72f1
efreetd cache - handle queue case leaking strbuf
...
fix CID 1374954
2017-07-23 18:09:39 +09:00
Carsten Haitzler
8f67f2f2d3
ecore_audio headers conflict with app have ifdefs
...
Ecore_Audio.h had #ifdef HAVE_PULSE ... and that is just so wrong as
this is something an ap[p may or may not set in its config.h ... but
this certainly hase no place in our public headers. the api's there
should always be there... symbols always... just imtplementation may
be empty ... though ecore_audio doesnt build at all without pulse...
so it's moot.
so fix this build issue i found when fixing e build issues with meson
changes etc.
@fix
2017-07-22 17:59:11 +09:00
Carsten Haitzler
a311de5fe5
efl_wl - also add xkbcommon as it's actually used
2017-07-22 10:39:12 +09:00
Derek Foreman
414d406b3b
ecore_drm2: Ensure device we find can mode set
...
Some systems have dri devices that can't mode set, and if they're first in
the directory they'll get picked by our code and things fall apart later.
So, open the potential device and ensure it has basic functionality before
selecting it.
This is a little inefficient as it gets the device via elput twice before
it can be used - this will be addressed later as the changes are a little
more invasive to optimize.
2017-07-21 16:46:00 -05:00
Derek Foreman
57e826db69
ecore_drm2: Open elput manager before drm device
...
We're going to need to access the device as part of the find process,
so we need a manager.
2017-07-21 16:46:00 -05:00
Jean-Philippe Andre
dcf751bd3d
hover: Return valid slot for main_menu_submenu
...
Fixes T5760
2017-07-21 16:18:36 -04:00
Mike Blumenkrantz
337f3796d6
ecore-evas-wayland: destroy frame callback on hide
...
ensure cursor surfaces can render again after being hidden
#TheDisappointer
@fix
2017-07-21 16:17:54 -04:00
Mike Blumenkrantz
89e0d387dd
eldbus: print full filename when codegen write fails
2017-07-21 16:17:54 -04:00
Mike Blumenkrantz
93bac8ce4a
wayland: stop creating 1x1 surfaces on init
...
fix T5226
#IGot99TicketsBut1x1AintOne
2017-07-21 16:17:54 -04:00