Cedric BAIL
e46369a569
ecore_con: it is best to call the super destructor and not touch the object anymore after.
...
Differential Revision: https://phab.enlightenment.org/D6082
2018-05-24 16:02:18 -07:00
Cedric BAIL
67e48c679d
ecore_con: correct a typo wrongly calling super destructor instead of super invalidate.
...
Differential Revision: https://phab.enlightenment.org/D6081
2018-05-24 16:02:18 -07:00
Cedric BAIL
7ca25cae0f
ecore: correct lifecycle of object used by Ecore_Con legacy.
...
Differential Revision: https://phab.enlightenment.org/D6080
2018-05-24 16:02:18 -07:00
Cedric BAIL
56fb2cf377
eo: improve error message by pointing to the class that is creating trouble.
...
Differential Revision: https://phab.enlightenment.org/D6079
2018-05-24 16:02:18 -07:00
Cedric BAIL
bb66aa37ca
eo: preventing infinite loop by safely iterating over children during destructor.
...
Differential Revision: https://phab.enlightenment.org/D6078
2018-05-24 16:02:18 -07:00
Cedric BAIL
93893def9f
ecore: properly handle shutdown of Efl.Loop children by using invalidate.
...
Differential Revision: https://phab.enlightenment.org/D6077
2018-05-24 16:02:18 -07:00
Cedric BAIL
23281bc54a
ecore: disable signal during shutdown.
...
Differential Revision: https://phab.enlightenment.org/D6076
2018-05-24 16:02:18 -07:00
Cedric BAIL
2160fe0d4d
eo: invalidate at the end of efl_invalidate only and prevent infinite recursion with an invalidating phase.
...
Differential Revision: https://phab.enlightenment.org/D6075
2018-05-24 16:02:18 -07:00
Cedric BAIL
266dabc096
ecore: force close during invalidate of Efl.Io.Buffered_Stream.
...
Differential Revision: https://phab.enlightenment.org/D6074
2018-05-24 16:02:18 -07:00
Cedric BAIL
0ac6e47697
elementary: use invalidate instead of overriding del for widget items.
...
Differential Revision: https://phab.enlightenment.org/D6073
2018-05-24 16:02:18 -07:00
Cedric BAIL
95f8bf2ebd
elementary: rely on inheritance instead of faking efl_del behavior.
...
Differential Revision: https://phab.enlightenment.org/D6072
2018-05-24 16:02:18 -07:00
Cedric BAIL
b265c5c887
elementary: make del_pre not return a bool and force rely on Eo ref counting.
...
Differential Revision: https://phab.enlightenment.org/D6071
2018-05-24 16:02:18 -07:00
Cedric BAIL
a669fb820a
elementary: prevent death of list item using Eo ref counting.
...
Differential Revision: https://phab.enlightenment.org/D6070
2018-05-24 16:02:18 -07:00
Cedric BAIL
ad009667b5
elementary: remove now useless walking in item.
...
Differential Revision: https://phab.enlightenment.org/D6069
2018-05-24 16:02:18 -07:00
Cedric BAIL
4b30a7df8e
elementary: use Eo ref counting to prevent death of genlist items.
...
Differential Revision: https://phab.enlightenment.org/D6068
2018-05-24 16:02:18 -07:00
Cedric BAIL
2a51465593
elementary: use Eo ref counting to prevent death of gengrid items.
...
Differential Revision: https://phab.enlightenment.org/D6067
2018-05-24 16:02:18 -07:00
Mike Blumenkrantz
6932f0fdd6
elm_list: prevent list item operations during item deletion
...
ref T6880
Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
Differential Revision: https://phab.enlightenment.org/D6066
2018-05-24 16:02:17 -07:00
Mike Blumenkrantz
499beb9162
elm_list: fix crash in item deletion
...
this is still broken
ref T6881
Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
Differential Revision: https://phab.enlightenment.org/D6065
2018-05-24 16:02:17 -07:00
Cedric BAIL
ccb5642eb9
Revert "efl_add_ref - fis to use efl_add properly with a parent."
...
This reverts commit 2fb5cc3ad0
.
Most of this change where wrong as they didn't affect the destruction
of the object. efl_add_ref allow for manual handling of the lifecycle
of the object and make sure it is still alive during destructor. efl_add
will not allow you to access an object after invalidate also efl.parent.get
will always return NULL once the object is invalidated.
Differential Revision: https://phab.enlightenment.org/D6062
2018-05-24 16:02:17 -07:00
Cedric Bail
36f8a70041
eo: to avoid mistake in timing, efl_invalidate should always be triggered before any destructor code.
...
Differential Revision: https://phab.enlightenment.org/D6061
2018-05-24 16:02:17 -07:00
Marcel Hollerbach
0090384ef5
elm_ctxpopup: prevent a giant load of errors
...
Summary:
i) There have been 2 sorts of errors, first the items have been deleted
after the list was deleted, thus the list items have already been
destructed. which lead to the error as the popup items destroyed the list
items on destruction as well.
ii) sd->box was attached to the ctxpopup when getting into group_del the
box has already been destroyed by the cleanup logic.
Subscribers: cedric, zmike
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6166
Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
2018-05-24 16:02:17 -07:00
WooHyun Jung
ea1760380e
elm_main: call _elm_config_shutdown() after loop_iterate()
...
In _elm_config_shutdown(), _elm_config is freed.
So, if some ecore events call efl_ui_xxx API which refers _elm_config,
there can be crashes.
@fix
2018-05-24 15:30:29 +09:00
Cedric BAIL
9dce56687b
eina: path get actually allocate memory and can't be pure.
2018-05-23 21:33:04 -07:00
Marcel Hollerbach
d5fd76c190
efl_ui_focus_composition: track the deletion state of child objects
...
Reviewers: cedric, zmike
Reviewed By: cedric
Subscribers: #committers, cedric, zmike
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6186
Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
2018-05-23 21:16:01 -07:00
Lauro Moura
54f1e56b34
efl_mono: Generate support for accessors in .eos
...
Summary: Depends on D6190
Reviewers: felipealmeida, vitor.sousa
Reviewed By: vitor.sousa
Subscribers: cedric, #committers, zmike
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6191
2018-05-23 18:59:26 -03:00
Lauro Moura
cfafd01bbe
efl_mono: Initial support for Accessors.
...
Summary:
Plain conversion to IEnumerable, which is the base of LINQ
Depends on D6189
Reviewers: felipealmeida, vitor.sousa
Reviewed By: vitor.sousa
Subscribers: cedric, #committers, zmike
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6190
2018-05-23 18:59:26 -03:00
Lauro Moura
2bbaada66e
efl_mono: Reject the promise when it's disposed.
...
Summary:
As futures are tied to a given promises and are usually handled in
a 'attach and forget' scheme, we can't cancel them as it would cancel
the whole chain.
Reviewers: felipealmeida, vitor.sousa
Reviewed By: vitor.sousa
Subscribers: cedric, #committers, zmike
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6189
2018-05-23 18:59:26 -03:00
Mike Blumenkrantz
b7530726c8
ecore-evas-buffer: defer resize callback until pre-render
...
Summary:
this mimics other engines, all of which have the same mechanics due
to display server interactions. it also avoids unnecessary recalcs before
pre-render if the canvas size was changing repeatedly
fix T6924
ref D6019
Reviewers: cedric, JackDanielZ
Reviewed By: JackDanielZ
Subscribers: #committers, JackDanielZ
Tags: #efl
Maniphest Tasks: T6924
Differential Revision: https://phab.enlightenment.org/D6145
2018-05-23 17:35:18 -04:00
Daniel Kolesa
0f57eb8610
efl: merge namespace conflict related renaming progress
...
This is a batch of changes renaming classes/types/etc to prevent
namespace related conflcits in our tree, with the ultimate goal
being enabling more static analysis on your eo files.
This is accomplished mostly by flattening the namespaces.
2018-05-23 17:34:09 +02:00
Lauro Moura
c4572d3f79
efl_mono: Fix events after Event_Description rename.
2018-05-23 17:33:47 +02:00
Xavi Artigas
e5ef9057b5
efl: rename Efl.Ui.Zoom.Mode -> Efl.Ui.Zoom_Mode
2018-05-23 17:33:47 +02:00
Xavi Artigas
61b409015e
efl: rename Efl.Ui.Widget.Orientation_Mode -> Efl.Ui.Widget_Orientation_Mode
2018-05-23 17:33:47 +02:00
Xavi Artigas
e31b3213ec
efl: rename Efl.Ui.Text.Change_Info -> Efl.Ui.Text_Change_Info
2018-05-23 17:33:47 +02:00
Xavi Artigas
4ab7e3fda0
efl: rename Efl.Ui.Tab_Page.* -> Efl.Ui.Tab_Page_*
2018-05-23 17:33:47 +02:00
Xavi Artigas
a7d29f7185
efl: rename Efl.Ui.Stack.Event_* -> Efl.Ui.Stack_Event_*
2018-05-23 17:33:47 +02:00
Xavi Artigas
ee27519432
efl: rename Efl.Ui.Slider.Indicator_Visible_Mode -> Efl.Ui.Slider_Indicator_Visible_Mode
2018-05-23 17:33:47 +02:00
Xavi Artigas
a0d4d3b140
efl: rename Efl.Ui.Pager.Loop -> Efl.Ui.Pager_Loop
2018-05-23 17:33:47 +02:00
Xavi Artigas
1e8b7cc405
efl: rename Efl.Ui.Focus.Composition.Adapter -> Efl.Ui.Focus.Composition_Adapter
2018-05-23 17:33:47 +02:00
Xavi Artigas
cd349762c6
efl: rename Efl.Ui.Drag.Dir -> Efl.Ui.Drag_Dir
2018-05-23 17:33:47 +02:00
Xavi Artigas
761aaa269d
efl: rename Efl.Ui.*_Legacy.Part -> Efl.Ui.*_Legacy_Part
2018-05-23 17:33:47 +02:00
Xavi Artigas
d808147e6f
efl: rename Efl.Text.Bidirectional_Type -> Efl.Text_Bidirectional_Type
2018-05-23 17:33:47 +02:00
Xavi Artigas
0f47f53f57
efl: rename Efl.Task.* -> Efl.Task_*
2018-05-23 17:33:47 +02:00
Xavi Artigas
0e848ccf2d
efl: rename Efl.Selection.* -> Efl.Selection_*
2018-05-23 17:33:47 +02:00
Xavi Artigas
f78c5f3e6c
efl: rename Efl.Observable.Tuple -> Efl.Observable_Tuple
2018-05-23 17:33:47 +02:00
Xavi Artigas
f477d4ad36
efl: rename Efl.Net.*.* -> Efl.Net.*_*
2018-05-23 17:33:47 +02:00
Xavi Artigas
92bf45bf7c
efl: rename Efl.Input.Device.Type -> Efl.Input.Device_Type
2018-05-23 17:33:47 +02:00
Xavi Artigas
88e92a63ed
efl: rename Efl.Gfx.*.* -> Efl.Gfx.*_*
2018-05-23 17:33:47 +02:00
Xavi Artigas
8e0e1b702e
efl: rename Efl.Gfx.Color_Class.Layer -> Efl.Gfx.Color_Class_Layer
2018-05-23 17:33:47 +02:00
Xavi Artigas
4396687b6c
efl: rename Efl.Exe.* -> Efl.Exe_*
2018-05-23 17:33:47 +02:00
Xavi Artigas
029f0769a5
efl: rename Efl.Event.Description -> Efl.Event_Description
2018-05-23 17:33:47 +02:00