efl/src/lib/edje
Marcel Hollerbach d1e1adf0bc edje: fix edje_part_helpers refcounting
Summary:
the reference from efl_reuse was forgotten & the parent relation was not
correctlty setted, which led to the fact that NOREF was never emitted.
This caused that thte object never really was destructed probebly, and
thus the del_interceptor_cb was not executed, and the object simply
leaked.

The test checks that those properties are correctly set, additionally a
error is printed in the efl code when a part has not the expected
reference properties. This also enforces errors when users are doing
wrong things with objects returned by efl_part.

Reviewers: ManMower, zmike

Reviewed By: zmike

Subscribers: cedric, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6254
2018-06-10 17:01:33 +02:00
..
Edje.h all: Simplify definition of EAPI 2018-01-18 18:04:03 +09:00
Edje.hh cxx: Modify how to generate C++ headers and allow cyclic dependencies 2017-01-18 22:47:04 -02:00
Edje_Common.h edje: Add beta api for seat_data_get 2018-05-08 12:26:36 -05:00
Edje_Edit.h all: Simplify definition of EAPI 2018-01-18 18:04:03 +09:00
Edje_Eo.h edje: rename Edje.Object to Efl.Canvas.Layout 2017-12-06 13:12:29 +09:00
Edje_Legacy.h elm_entry: add elm_entry_prediction_hint_hash_set/del API 2018-05-23 11:27:34 +09:00
edje_box_layout.c efl: Use Eina.Size2D for size hint combined min 2017-09-18 16:33:33 +09:00
edje_cache.c edje: code refactoring for readibility. 2018-06-07 17:53:12 +09:00
edje_calc.c Efl.Gfx.Image* (From Efl.Image*) 2018-04-24 09:03:40 -07:00
edje_callbacks.c edje: Pass extra signal data to program_run 2018-05-08 12:26:13 -05:00
edje_convert.c edje: add efl_version property 2017-06-14 14:24:08 -07:00
edje_convert.h edje: add required attribute in Edje_Part 2016-07-15 16:34:34 +09:00
edje_data.c edje: code refactoring for readibility. 2018-06-07 17:53:12 +09:00
edje_edit.c edje: code refactoring for readibility. 2018-06-07 17:53:12 +09:00
edje_edit.eo edje: rename Edje.Object to Efl.Canvas.Layout 2017-12-06 13:12:29 +09:00
edje_embryo.c edje: code refactoring for readibility. 2018-06-07 17:53:12 +09:00
edje_entry.c elm_entry: add elm_entry_prediction_hint_hash_set/del API 2018-05-23 11:27:34 +09:00
edje_external.c edje: Remove external_object_get from EO 2017-05-30 13:54:34 +09:00
edje_global.eo edje: Hide edje_global from the rest of the world 2017-11-08 20:02:31 +09:00
edje_legacy.c edje: fix backward compatibility issue caused by legacy cursor funcs 2018-05-02 19:48:46 +03:00
edje_load.c Efl.Gfx.Image* (From Efl.Image*) 2018-04-24 09:03:40 -07:00
edje_lua.c efl: Use Eina.Size2D for size hint combined min 2017-09-18 16:33:33 +09:00
edje_lua2.c edje_lua2: add null check 2018-04-23 13:39:36 -07:00
edje_lua_script_only.c
edje_main.c edje: properly handle lifecycle of edje global object.x 2018-05-24 16:02:18 -07:00
edje_match.c
edje_message_queue.c edje: code refactoring for readibility. 2018-06-07 17:53:12 +09:00
edje_misc.c
edje_module.c efl: remove _MSC_VER (Visual Studio macro) usage in source code 2018-01-04 12:59:47 -08:00
edje_multisense.c Revert "efl_add_ref - fis to use efl_add properly with a parent." 2018-05-24 16:02:17 -07:00
edje_part.c Efl.Gfx.Entity (from Efl.Gfx) 2018-04-24 09:03:32 -07:00
edje_part_box.c Efl.Gfx.Entity (from Efl.Gfx) 2018-04-24 09:03:32 -07:00
edje_part_external.c Efl.Gfx.Entity (from Efl.Gfx) 2018-04-24 09:03:32 -07:00
edje_part_helper.h edje: fix edje_part_helpers refcounting 2018-06-10 17:01:33 +02:00
edje_part_invalid.c Efl.Text_* (from Efl.Text.*) 2018-04-24 09:03:49 -07:00
edje_part_swallow.c Efl.Gfx.Entity (from Efl.Gfx) 2018-04-24 09:03:32 -07:00
edje_part_table.c Efl.Gfx.Entity (from Efl.Gfx) 2018-04-24 09:03:32 -07:00
edje_part_text.c Efl.Text_* (from Efl.Text.*) 2018-04-24 09:03:49 -07:00
edje_private.h edje: code refactoring for readibility. 2018-06-07 17:53:12 +09:00
edje_program.c edje: Send seat name to all seat emitted events 2018-05-08 13:25:46 -05:00
edje_signal.c edje: Move signal APIs to an interface 2017-08-04 11:52:16 +09:00
edje_smart.c edje: fix lifecycle of swallowed children 2018-05-28 21:50:12 -07:00
edje_text.c Efl.Gfx.Entity (from Efl.Gfx) 2018-04-24 09:03:32 -07:00
edje_textblock.c edje: Fix to support translation for textblock part 2018-05-15 12:44:29 -04:00
edje_textblock_styles.c edje: Dont append font source if fonts are not embedded in edje 2018-04-16 11:23:23 -07:00
edje_types.eot Efl.Canvas.Layout_Part* (from Efl.Canvas.Layout.Part*) 2018-04-24 09:03:37 -07:00
edje_util.c edje: don't give a wrong Edje data when an Edje object has group parts 2018-05-25 10:09:15 -07:00
edje_var.c edje: code refactoring for readibility. 2018-06-07 17:53:12 +09:00
efl_canvas_layout.eo efl: major rewrite of efl_part. 2018-05-24 16:02:18 -07:00
efl_canvas_layout_part.eo Efl.Canvas.Layout_Part* (from Efl.Canvas.Layout.Part*) 2018-04-24 09:03:37 -07:00
efl_canvas_layout_part_box.eo Efl.Pack_* (from Efl.Pack.*) 2018-04-24 09:03:48 -07:00
efl_canvas_layout_part_external.eo eolian: second batch of unused import removals 2018-05-13 18:13:12 +02:00
efl_canvas_layout_part_invalid.eo eolian: second batch of unused import removals 2018-05-13 18:13:12 +02:00
efl_canvas_layout_part_swallow.eo Efl.Canvas.Layout_Part* (from Efl.Canvas.Layout.Part*) 2018-04-24 09:03:37 -07:00
efl_canvas_layout_part_table.eo Efl.Pack_* (from Efl.Pack.*) 2018-04-24 09:03:48 -07:00
efl_canvas_layout_part_text.eo Efl.Text_* (from Efl.Text.*) 2018-04-24 09:03:49 -07:00
efl_layout_calc.eo efl: Add missing event types 2018-05-19 01:42:26 +02:00
efl_layout_group.eo eolian: first batch of unused import removals 2018-05-13 17:28:47 +02:00
efl_layout_signal.eo edje: rename intf Efl.Canvas.Layout.Signal to Efl.Layout.Signal 2017-12-05 16:18:32 +09:00