platform/upstream/efl.git
6 years agoeo: Turn thread-validation off for unstable Tizen 5.0 apps which are violating thread... 91/181091/1
Hermet Park [Fri, 18 May 2018 06:51:43 +0000 (15:51 +0900)]
eo: Turn thread-validation off for unstable Tizen 5.0 apps which are violating thread-safety.

Eo has gotten more strict-check for thread violiation API calls.
Since Tizen 5.0, many apps(which violates EAPI thread safety rules) unexpectedly became unstable cause of thread-validation.
We disable this function for now but wish to remove this temporary code in the near future when apps are ready to go.

Change-Id: Ibbd99d3b26609fca23fd4c5bd029e67f63e3a830

6 years agoefl_ecore_input_device: unify efl_ecore_input_device in efl_input_device. 90/181090/1
Hermet Park [Thu, 26 Apr 2018 11:20:37 +0000 (20:20 +0900)]
efl_ecore_input_device: unify efl_ecore_input_device in efl_input_device.

Efl_Ecore_Input_Device was introduced wrongly in merging upstream efl.

First, conceptually, efl interface should not allow Ecore.
This is totally wrong in interface design.

Second, Efl_Ecore_Input_Device conceptually same with Efl_Input_Device.
We don't need both interfaces. Even their bodies are perfectly same.

Third, EFl_Ecore_Input_Device is not compatible with Efl_Input_Device,
Whole Events in efl will be passing through with Efl_Input_Device interface,
but their classes are different, Eo will fault in type checking,
Efl_Ecore_Input_Device(or Ecore_Device) won't be passed properly.

All in all, current Efl_Ecore_Input_Device just breaks system and useless.

Change-Id: I276761e67d598457087bd2e3e06f44e58161427f

6 years agoecore_con: update doc. 89/181089/2
Hermet Park [Wed, 2 May 2018 06:13:22 +0000 (15:13 +0900)]
ecore_con: update doc.

fix invalid parameter name in doc.

Change-Id: I5d9d27f0fcb412384210af667d6803efc6105fe5

6 years agoelm_spinner: fix wrong use of ev 34/181034/2
WooHyun Jung [Wed, 25 Apr 2018 11:12:05 +0000 (20:12 +0900)]
elm_spinner: fix wrong use of ev

Legacy ev should be gotten from efl_input_legacy_info_get.

@tizen_fix

Change-Id: I9c4d9ab2a61297f152fcc2eeeabf09ccc3251792
Signed-off-by: WooHyun Jung <wh0705.jung@samsung.com>
6 years agofocus: onscreen_is should not be checked for keeping compatiblity 33/181033/2
WooHyun Jung [Tue, 8 May 2018 06:49:58 +0000 (15:49 +0900)]
focus: onscreen_is should not be checked for keeping compatiblity

@tizen_fix

Change-Id: If81e7b3e49d6813f3d45237fd9f25c2511cc6cbd
Signed-off-by: WooHyun Jung <wh0705.jung@samsung.com>
6 years agoefl_ui_widget: fixed wrong character in _elm_widget_edje_class_get 49/181049/1
Jeonghyun Yun [Wed, 23 May 2018 01:45:44 +0000 (10:45 +0900)]
efl_ui_widget: fixed wrong character in _elm_widget_edje_class_get

@tizen_fix

Change-Id: I61bfdc2f331e227b0b7da33c4519a6c81c046cee
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agoelementry: add missing item class and add exception handling code for edjc_class... 48/181048/1
Jeonghyun Yun [Fri, 11 May 2018 02:56:57 +0000 (11:56 +0900)]
elementry: add missing item class and add exception handling code for edjc_class parse

@tizen_fix

Change-Id: I3341c98052d80e2cdbac5cd5468fa82ee70882bd
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agoelementary: add missing item class names and fix edje_class parse rule for legacy 47/181047/1
Youngbok Shin [Fri, 4 May 2018 06:41:35 +0000 (15:41 +0900)]
elementary: add missing item class names and fix edje_class parse rule for legacy

@tizen_fix

Change-Id: I480cd5a4bac02ba11d806cef25bcdc2d92d74f7a

6 years agoelementary widget: fix missing legacy type for Gesture_Layer 46/181046/1
Youngbok Shin [Mon, 30 Apr 2018 07:52:14 +0000 (16:52 +0900)]
elementary widget: fix missing legacy type for Gesture_Layer

There is a missing legacy type in the table: Elm.Gesture_Layer => Elm_Gesture_Layer

@tizen_fix

Change-Id: I34f002fc037c1453494659518a101087704357d0

6 years agoelm_interface_scrollable: fix wrong use of animator_del 32/181032/1
WooHyun Jung [Wed, 9 May 2018 15:48:54 +0000 (00:48 +0900)]
elm_interface_scrollable: fix wrong use of animator_del

Change-Id: I7aadec676120a01a53e072952ee085d5b90b246b
Signed-off-by: WooHyun Jung <wh0705.jung@samsung.com>
6 years agoelm_panes : Add deprecated version for deprecated APIs 28/181028/2
JunsuChoi [Thu, 17 May 2018 06:37:22 +0000 (15:37 +0900)]
elm_panes : Add deprecated version for deprecated APIs

   Deprecated APIs since 5.0
   elm_panes_content_left_unset
   elm_panes_content_right_unset

Change-Id: I5dee4f4c4be280b15a996fe4f2af12acad64180c

6 years agoefl_access: Support legacy API for elm_atspi_text 27/181027/2
JunsuChoi [Wed, 9 May 2018 10:10:28 +0000 (19:10 +0900)]
efl_access: Support legacy API for elm_atspi_text

Change-Id: Id65cec0f250b8105ad8278763c75d57ea03c5498

6 years agoelm_conform: fix condition for recalculating vkbd area. 29/181029/1
Hosang Kim [Mon, 4 Apr 2016 09:37:27 +0000 (18:37 +0900)]
elm_conform: fix condition for recalculating vkbd area.

Vkbd geometry is not (0, 0, 0, 0), when vkbd is hidden in Wayland.

@tizen_fix

Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: Icc481af1580d735480d69410391b8072fdbf46da

6 years agoelm_conform: support different thing in Tizen 3.0 24/181024/1
Hosang Kim [Mon, 9 May 2016 10:34:22 +0000 (19:34 +0900)]
elm_conform: support different thing in Tizen 3.0

In Tizen 2.4, virtual keyboard size is 0 when virtual keyboard is off.
But it is different in Tizen 3.0. So I added one condition before
calculating keyboard size.

Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: Id76b80bead0bfaf88d681bff45eda325e8818e98

6 years agoelm_focus: Restore legacy focus 98/180998/3
YeongJong Lee [Thu, 7 Jun 2018 04:16:13 +0000 (13:16 +0900)]
elm_focus: Restore legacy focus

@tizen-fix

Change-Id: I3b270f4998386a39818635f8cc8f47011d2059ea

6 years agoeo: _efl_unref correctly
Marcel Hollerbach [Wed, 6 Jun 2018 19:20:11 +0000 (14:20 -0500)]
eo: _efl_unref correctly

Summary:
this function calls _efl_ref in the beginning, so _efl_unref them in the
end. This fixes bugs where wrong evas_object_del is called to often,
which would lead to the internal refcount rising instead of getting to
0.

Reviewers: cedric, zmike, stefan_schmidt, q66

Reviewed By: zmike

Subscribers: cedric, #committers, zmike

Tags: #efl

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

6 years agoecore: Use poller instead of animator for mem stats
Derek Foreman [Wed, 6 Jun 2018 17:40:56 +0000 (12:40 -0500)]
ecore: Use poller instead of animator for mem stats

Summary:
Animators shouldn't be used as a general purpose timer mechanism,
we could use a timer, but a poller seems to make more sense as
it limits the impact of the instrumentation on the code it's
instrumenting.

Reviewers: stephenmhouston, zmike

Reviewed By: stephenmhouston, zmike

Subscribers: stephenmhouston, cedric, #committers, zmike

Tags: #efl

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

6 years agoevas engines: do not immediately free native surface when unsetting it
Mike Blumenkrantz [Tue, 5 Jun 2018 17:13:08 +0000 (12:13 -0500)]
evas engines: do not immediately free native surface when unsetting it

Summary:
this is a longstanding issue which was exposed by recent patches to standardize
object lifecycles. when a native surface is used by multiple images, unsetting
the surface from one image must not destroy the native surface or else the
remaining images

fix T6970

@fix

Reviewers: ManMower

Reviewed By: ManMower

Subscribers: cedric, #committers

Tags: #efl

Maniphest Tasks: T6970

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

6 years agoeo: make noref also a special count
Marcel Hollerbach [Tue, 5 Jun 2018 14:56:09 +0000 (10:56 -0400)]
eo: make noref also a special count

Summary:
this brings down the first frame time from 2.0 sec. to something at 0.7
sec.

ref T6983

Reviewers: zmike

Reviewed By: zmike

Subscribers: YOhoho, cedric, #committers, zmike

Tags: #efl

Maniphest Tasks: T6983

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

6 years agoRevert "evas canvas: remove unused goto tag."
Hermet Park [Tue, 5 Jun 2018 12:36:22 +0000 (21:36 +0900)]
Revert "evas canvas: remove unused goto tag."

This reverts commit b2f85bb9ed69a4f2baf303b8d58ef7ea44493ea6.

this is a subsquent patch for the previous revert:
77684dc53a5bdaf59fa70917c5f6680825484204

ps. JackDaniel saved efl world from a guy who broke the system and ran away...

6 years agoRevert "evas: fix a map rendering problem."
Hermet Park [Tue, 5 Jun 2018 11:58:35 +0000 (20:58 +0900)]
Revert "evas: fix a map rendering problem."

This reverts commit 9fcd03952ee51d34871794cb95585f3e589a3bb9.

Just noticed from ManMower, this caused a side-effect that drops
enlightenment performance. I need to check it seriously then
decide again how this patch to be.

6 years agoelementary widget: fix to trigger object signal emit properly.
Hermet Park [Tue, 5 Jun 2018 11:22:04 +0000 (20:22 +0900)]
elementary widget: fix to trigger object signal emit properly.

This is more generic way to trigger signals for all derived classes of layout.

This fixes the dayselector item signal emit issue as well.

@fix T6981

6 years agoTest/Genlist: set back selection to item in show/bring test
Daniel Zaoui [Tue, 5 Jun 2018 07:16:27 +0000 (10:16 +0300)]
Test/Genlist: set back selection to item in show/bring test

For some unknown reason, the selected_set has been removed from the
test.

Since no response has been given in D5499, I assume it has been removed
by mistake so I put it back.

6 years agoelm_label: remove needless variable
YeongJong Lee [Mon, 4 Jun 2018 11:12:50 +0000 (20:12 +0900)]
elm_label: remove needless variable

Reviewers: Hermet

Subscribers: cedric, #committers, zmike

Tags: #efl

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

6 years agoelementary: fix wrong signal emission
YeongJong Lee [Mon, 4 Jun 2018 08:48:06 +0000 (17:48 +0900)]
elementary: fix wrong signal emission

Summary:
When _icon_signal_emit is called, "icon" part always exist. so, it only make
"visible" signal.
this fixes that issue

Test Plan:
elm_object_content_unset(button);
elm_object_content_unset(radio);
elm_object_content_unset(check);
elm_object_content_unset(progressbar);

Reviewers: Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #committers, zmike

Tags: #efl

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

6 years agoecore_imf: turn off autocapital mode in password layout
Jihoon Kim [Mon, 4 Jun 2018 01:47:55 +0000 (10:47 +0900)]
ecore_imf: turn off autocapital mode in password layout

Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoelm_table/grid: remove non-widgets from focus elements.
YeongJong Lee [Thu, 31 May 2018 12:04:55 +0000 (12:04 +0000)]
elm_table/grid: remove non-widgets from focus elements.

ref 5a3ee984a1229c069c84e71a109a7d39437d5cc0
Differential Revision: https://phab.enlightenment.org/D6236

6 years agoee_wayland: remove needless variable
YeongJong Lee [Fri, 1 Jun 2018 14:13:14 +0000 (09:13 -0500)]
ee_wayland: remove needless variable

Reviewers: ManMower, zmike

Reviewed By: ManMower

Subscribers: cedric, #committers

Tags: #efl

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

6 years agoelm_hoversel: inherit elm_button
YeongJong Lee [Fri, 1 Jun 2018 02:36:01 +0000 (11:36 +0900)]
elm_hoversel: inherit elm_button

Summary:
elm_hoversel is legacy widget. it should inherit legacy Elm_Button instead of
Efl.Ui.Button.
this patch also fixes icon signal emit bug.

fixes T6971

Test Plan:
1. elementary_test -to hoversel
2. check that ther is icon (sky) on "Icon + Lebel" hoversel

Reviewers: Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #committers, JackDanielZ, zmike

Tags: #efl

Maniphest Tasks: T6971

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

6 years agomigration: modify elementary-tizen code to match with upstream code 58/180858/1
Wonki Kim [Tue, 5 Jun 2018 03:36:07 +0000 (12:36 +0900)]
migration: modify elementary-tizen code to match with upstream code

Change-Id: Ide74c1e2eeff990bf2a1899febcb2db56ebccab0
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoRevert "migration: turn off tizen only elementary" 57/180857/1
Wonki Kim [Mon, 4 Jun 2018 08:06:05 +0000 (17:06 +0900)]
Revert "migration: turn off tizen only elementary"

This reverts commit 43802272a9da1632cae7b0002e1d09eac1f10083.

Change-Id: I729ef9f285fb10c60287494046a51702fee4e8b1

6 years agomigration: update elementary-tizen automake script
Wonki Kim [Mon, 4 Jun 2018 08:23:20 +0000 (17:23 +0900)]
migration: update elementary-tizen automake script

Change-Id: Ic85a4477b6e90cc249d93067aa29646e17b62715
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoecore_input_device: Modify efl_add by efl_add_ref
Wonki Kim [Mon, 4 Jun 2018 07:24:24 +0000 (16:24 +0900)]
ecore_input_device: Modify efl_add by efl_add_ref

@tizen_fix

Change-Id: I8ae012abe9101c99a3c8a7adf83a1028406ede35
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agogl_common: fix invalid memory access
Mike Blumenkrantz [Thu, 31 May 2018 18:11:09 +0000 (13:11 -0500)]
gl_common: fix invalid memory access

Summary:
code was added which ignores the comment explicitly warning not to
do what was done here

ref 9e01cf2698d5b24f440d696fd57d469cdc5a6b5f

ref T6970

==4829== Invalid read of size 1
==4829==    at 0x246D8F06: evas_gl_common_image_update (evas_gl_image.c:907)
==4829==    by 0x246DAA7B: evas_gl_common_image_draw (evas_gl_image.c:1417)
==4829==    by 0x246A2AB6: eng_image_draw (evas_engine.c:1240)
==4829==    by 0x6A87842: _draw_image (evas_object_image.c:1403)
==4829==    by 0x6A8A1BF: _evas_image_render (evas_object_image.c:2171)
==4829==    by 0x6A890C1: evas_object_image_render (evas_object_image.c:1868)
==4829==    by 0x6B09C82: evas_render_mapped (evas_render.c:2292)
==4829==    by 0x6B0CE90: evas_render_updates_internal_loop (evas_render.c:3079)
==4829==    by 0x6B0EACA: evas_render_updates_internal (evas_render.c:3522)
==4829==    by 0x6B1087C: evas_render_updates_internal_wait (evas_render.c:3946)
==4829==    by 0x6B10A4D: _evas_canvas_render_updates (evas_render.c:3971)
==4829==    by 0x6A7A234: evas_canvas_render_updates (evas_canvas.eo.c:212)
==4829==    by 0x6A7BBD4: evas_render_updates (evas_canvas.eo.c:758)
==4829==    by 0x808A7D8: ecore_evas_render (ecore_evas.c:177)
==4829==    by 0x808AA58: _ecore_evas_idle_enter (ecore_evas.c:284)
==4829==    by 0x5CC1E46: _ecore_call_task_cb (ecore_private.h:442)
==4829==    by 0x5CC1EAE: _ecore_factorized_idle_process (ecore_idler.c:35)
==4829==    by 0xBFA4DD4: _event_callback_call (eo_base_class.c:1663)
==4829==    by 0xBFA50A6: _efl_object_event_callback_call (eo_base_class.c:1747)
==4829==    by 0xBFA514C: efl_event_callback_call (eo_base_class.c:1750)
==4829==    by 0x5CC661B: _ecore_main_loop_iterate_internal (ecore_main.c:2352)
==4829==    by 0x5CC3F65: _ecore_main_loop_begin (ecore_main.c:1175)
==4829==    by 0x5CCC856: _efl_loop_begin (efl_loop.c:83)
==4829==    by 0x5CCEF6D: efl_loop_begin (efl_loop.eo.c:28)
==4829==    by 0x5CC40DF: ecore_main_loop_begin (ecore_main.c:1248)
==4829==    by 0x5480EE: main (e_main.c:1090)
==4829==  Address 0x2bfc30f8 is 328 bytes inside a block of size 560 free'd
==4829==    at 0x4C30D18: free (vg_replace_malloc.c:530)
==4829==    by 0x540AE91: _eina_freeq_free_do (eina_freeq.c:118)
==4829==    by 0x540B7B0: eina_freeq_ptr_add (eina_freeq.c:372)
==4829==    by 0x6BCD23C: _evas_common_rgba_image_delete (evas_image_main.c:555)
==4829==    by 0x6B41538: _evas_cache_image_entry_delete (evas_cache_image.c:205)
==4829==    by 0x6B43503: evas_cache_image_drop (evas_cache_image.c:945)
==4829==    by 0x6B43F4F: evas_cache_image_size_set (evas_cache_image.c:1166)
==4829==    by 0x246D6548: evas_gl_common_image_alloc_ensure (evas_gl_image.c:17)
==4829==    by 0x246D8EA8: evas_gl_common_image_update (evas_gl_image.c:869)
==4829==    by 0x246DAA7B: evas_gl_common_image_draw (evas_gl_image.c:1417)
==4829==    by 0x246A2AB6: eng_image_draw (evas_engine.c:1240)
==4829==    by 0x6A87842: _draw_image (evas_object_image.c:1403)
==4829==    by 0x6A8A1BF: _evas_image_render (evas_object_image.c:2171)
==4829==    by 0x6A890C1: evas_object_image_render (evas_object_image.c:1868)
==4829==    by 0x6B09C82: evas_render_mapped (evas_render.c:2292)
==4829==    by 0x6B0CE90: evas_render_updates_internal_loop (evas_render.c:3079)
==4829==    by 0x6B0EACA: evas_render_updates_internal (evas_render.c:3522)
==4829==    by 0x6B1087C: evas_render_updates_internal_wait (evas_render.c:3946)
==4829==    by 0x6B10A4D: _evas_canvas_render_updates (evas_render.c:3971)
==4829==    by 0x6A7A234: evas_canvas_render_updates (evas_canvas.eo.c:212)
==4829==    by 0x6A7BBD4: evas_render_updates (evas_canvas.eo.c:758)
==4829==    by 0x808A7D8: ecore_evas_render (ecore_evas.c:177)
==4829==    by 0x808AA58: _ecore_evas_idle_enter (ecore_evas.c:284)
==4829==    by 0x5CC1E46: _ecore_call_task_cb (ecore_private.h:442)
==4829==    by 0x5CC1EAE: _ecore_factorized_idle_process (ecore_idler.c:35)
==4829==    by 0xBFA4DD4: _event_callback_call (eo_base_class.c:1663)
==4829==    by 0xBFA50A6: _efl_object_event_callback_call (eo_base_class.c:1747)
==4829==    by 0xBFA514C: efl_event_callback_call (eo_base_class.c:1750)
==4829==    by 0x5CC661B: _ecore_main_loop_iterate_internal (ecore_main.c:2352)
==4829==    by 0x5CC3F65: _ecore_main_loop_begin (ecore_main.c:1175)
==4829==    by 0x5CCC856: _efl_loop_begin (efl_loop.c:83)
==4829==    by 0x5CCEF6D: efl_loop_begin (efl_loop.eo.c:28)
==4829==    by 0x5CC40DF: ecore_main_loop_begin (ecore_main.c:1248)
==4829==    by 0x5480EE: main (e_main.c:1090)
==4829==  Block was alloc'd at
==4829==    at 0x4C31A1E: calloc (vg_replace_malloc.c:711)
==4829==    by 0x6BCCF2F: _evas_common_rgba_image_new (evas_image_main.c:509)
==4829==    by 0x6B41588: _evas_cache_image_entry_new (evas_cache_image.c:261)
==4829==    by 0x6B44861: evas_cache_image_empty (evas_cache_image.c:1447)
==4829==    by 0x246D845B: evas_gl_common_image_native_disable (evas_gl_image.c:624)
==4829==    by 0x253F3C09: eng_image_native_set (evas_engine.c:1234)
==4829==    by 0x6A86204: _evas_image_native_surface_set (evas_object_image.c:1021)
==4829==    by 0x6A7E110: evas_object_image_native_surface_set (evas_image_legacy.c:509)
==4829==    by 0x6A8609A: _on_image_native_surface_del (evas_object_image.c:998)
==4829==    by 0x6A55190: _eo_evas_object_cb (evas_callbacks.c:184)
==4829==    by 0xBFA4EB7: _event_callback_call (eo_base_class.c:1686)
==4829==    by 0xBFA51F8: _efl_object_event_callback_legacy_call (eo_base_class.c:1759)
==4829==    by 0xBFA529E: efl_event_callback_legacy_call (eo_base_class.c:1762)
==4829==    by 0x6A968ED: _efl_canvas_object_efl_object_event_callback_legacy_call (evas_object_main.c:1229)
==4829==    by 0xBFA529E: efl_event_callback_legacy_call (eo_base_class.c:1762)
==4829==    by 0x6A55C3D: evas_object_event_callback_call (evas_callbacks.c:413)
==4829==    by 0x6A96D3E: _efl_canvas_object_efl_object_invalidate (evas_object_main.c:1279)
==4829==    by 0xBFA7BAB: efl_invalidate (efl_object.eo.c:72)
==4829==    by 0xBFA0A09: _efl_invalidate (eo_base_class.c:170)
==4829==    by 0xBFA2737: _efl_object_parent_set (eo_base_class.c:734)
==4829==    by 0xBFA6BDA: efl_parent_set (efl_object.eo.c:12)
==4829==    by 0xBFA2537: efl_del (eo_base_class.c:686)
==4829==    by 0x6A96082: evas_object_del (evas_object_main.c:1041)
==4829==    by 0x2C9D519F: _bar_icon_preview_del (bar.c:762)
==4829==    by 0x6A55190: _eo_evas_object_cb (evas_callbacks.c:184)
==4829==    by 0xBFA4EB7: _event_callback_call (eo_base_class.c:1686)
==4829==    by 0xBFA51F8: _efl_object_event_callback_legacy_call (eo_base_class.c:1759)
==4829==    by 0xBFA529E: efl_event_callback_legacy_call (eo_base_class.c:1762)
==4829==    by 0x6A968ED: _efl_canvas_object_efl_object_event_callback_legacy_call (evas_object_main.c:1229)
==4829==    by 0xBFA529E: efl_event_callback_legacy_call (eo_base_class.c:1762)
==4829==    by 0x6A55C3D: evas_object_event_callback_call (evas_callbacks.c:413)
==4829==    by 0x6A96D3E: _efl_canvas_object_efl_object_invalidate (evas_object_main.c:1279)
==4829==    by 0xBFA7BAB: efl_invalidate (efl_object.eo.c:72)
==4829==    by 0x7BE9326: _efl_access_object_efl_object_invalidate (efl_access_object.c:634)
==4829==    by 0xBFA7BAB: efl_invalidate (efl_object.eo.c:72)
==4829==    by 0xBFA0A09: _efl_invalidate (eo_base_class.c:170)
==4829==    by 0xBFA2737: _efl_object_parent_set (eo_base_class.c:734)
==4829==    by 0xBFA6BDA: efl_parent_set (efl_object.eo.c:12)
==4829==    by 0xBFA2537: efl_del (eo_base_class.c:686)
==4829==    by 0x6A96082: evas_object_del (evas_object_main.c:1041)
==4829==    by 0x7CD5F2C: _efl_ui_widget_efl_canvas_group_group_del (efl_ui_widget.c:855)
==4829==    by 0x6AAD303: efl_canvas_group_del (evas_object_smart.c:1862)
==4829==    by 0x7AFF104: _elm_box_efl_canvas_group_group_del (elm_box.c:362)
==4829==    by 0x6AAD303: efl_canvas_group_del (evas_object_smart.c:1862)
==4829==    by 0x6AABB79: evas_object_smart_del (evas_object_smart.c:1288)
==4829==    by 0x6A97179: _efl_canvas_object_efl_object_invalidate (evas_object_main.c:1336)
==4829==    by 0xBFA7BAB: efl_invalidate (efl_object.eo.c:72)
==4829==    by 0x7BE9326: _efl_access_object_efl_object_invalidate (efl_access_object.c:634)
==4829==    by 0xBFA7BAB: efl_invalidate (efl_object.eo.c:72)
==4829==    by 0xBFA0A09: _efl_invalidate (eo_base_class.c:170)
==4829==    by 0xBFA2737: _efl_object_parent_set (eo_base_class.c:734)
==4829==    by 0xBFA6BDA: efl_parent_set (efl_object.eo.c:12)
==4829==    by 0xBFA2537: efl_del (eo_base_class.c:686)
==4829==    by 0x6A96082: evas_object_del (evas_object_main.c:1041)
==4829==    by 0x2C9D41DA: _bar_icon_preview_hide (bar.c:450)
==4829==    by 0x5CFE14C: _ecore_call_task_cb (ecore_private.h:442)
==4829==    by 0x5CFE5C4: _ecore_timer_legacy_tick (ecore_timer.c:160)
==4829==    by 0xBFA4DD4: _event_callback_call (eo_base_class.c:1663)
==4829==    by 0xBFA50A6: _efl_object_event_callback_call (eo_base_class.c:1747)
==4829==    by 0xBFA514C: efl_event_callback_call (eo_base_class.c:1750)
==4829==    by 0x5CFF880: _efl_loop_timer_expired_call (ecore_timer.c:634)
==4829==    by 0x5CFF6AF: _efl_loop_timer_expired_timers_call (ecore_timer.c:587)
==4829==    by 0x5CC6522: _ecore_main_loop_iterate_internal (ecore_main.c:2317)
==4829==    by 0x5CC3F65: _ecore_main_loop_begin (ecore_main.c:1175)
==4829==    by 0x5CCC856: _efl_loop_begin (efl_loop.c:83)
==4829==    by 0x5CCEF6D: efl_loop_begin (efl_loop.eo.c:28)
==4829==    by 0x5CC40DF: ecore_main_loop_begin (ecore_main.c:1248)
==4829==    by 0x5480EE: main (e_main.c:1090)

Reviewers: ManMower

Reviewed By: ManMower

Subscribers: cedric, #committers

Tags: #efl

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

6 years agoelm_tooltip: use window as parent instead of NULL for elm_theme_object_set
YeongJong Lee [Thu, 31 May 2018 13:46:12 +0000 (09:46 -0400)]
elm_tooltip: use window as parent instead of NULL for elm_theme_object_set

Summary:
see 421217b15019966a093ed49a34837f9535e00827

If parent is NULL, is_legacy in _elm_theme_set is always true. and it will use
"efl/xxx" for mmap_set. this patch avoid this case.

fixes T6921

Test Plan:
1. elementary_test -to tooltip
2. check that "Hello", "Big Icon Tooltip", "Insanel Big Icon Tooltip" is working

Reviewers: zmike

Subscribers: cedric, ManMower, #committers

Tags: #efl

Maniphest Tasks: T6921

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

6 years agoelm_win: fix widget type name for backward compatibility
YeongJong Lee [Thu, 31 May 2018 12:39:34 +0000 (21:39 +0900)]
elm_win: fix widget type name for backward compatibility

Summary:
It should use legacy class in elm_win_add.

this patch fixes T6898, T6899

Test Plan: make check

Reviewers: zmike, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #committers

Tags: #efl

Maniphest Tasks: T6899, T6898

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

6 years agoDo not consider the Evas_Vg API as BETA anymore
Xavi Artigas [Wed, 30 May 2018 11:33:01 +0000 (07:33 -0400)]
Do not consider the Evas_Vg API as BETA anymore

Summary:
It has been widely used for quite some time now.
Fixes T6889

Test Plan:
Manually built the evas-vg-simple.c and evas-vg-batman.c examples after
removing the manual define of EFL_BETA_API_SUPPORT and EFL_EO_API_SUPPORT
that they have at the top.

Reviewers: ajwillia.ms, zmike

Reviewed By: zmike

Subscribers: cedric, #committers

Tags: #efl

Maniphest Tasks: T6889

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

Change-Id: I6ade2d86773f14a6a48ccee7e9d3f9d3a3e6eba3

6 years agoelementary genlist: optimize data.
Hermet Park [Wed, 30 May 2018 04:44:34 +0000 (13:44 +0900)]
elementary genlist: optimize data.

6 years agoevas canvas: remove unused goto tag.
Hermet Park [Wed, 30 May 2018 04:41:21 +0000 (13:41 +0900)]
evas canvas: remove unused goto tag.

6 years agoelementary: packing data properly.
Hermet Park [Wed, 30 May 2018 04:37:35 +0000 (13:37 +0900)]
elementary: packing data properly.

6 years agoevas_object_box: adjust to recent EFL_EVENT_DEL changes
Marcel Hollerbach [Tue, 29 May 2018 16:24:55 +0000 (12:24 -0400)]
evas_object_box: adjust to recent EFL_EVENT_DEL changes

Summary:
the same change as the one for evas table, just for box.

Depends on D6228

Reviewers: cedric, zmike, stefan_schmidt

Reviewed By: zmike

Subscribers: #committers

Tags: #efl

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

6 years agoevas_focus: adjust to recent EFL_EVENT_DEL changes
Marcel Hollerbach [Tue, 29 May 2018 16:24:53 +0000 (12:24 -0400)]
evas_focus: adjust to recent EFL_EVENT_DEL changes

Summary:
when focus events have been emitted the smart parent was persistent, now
its not anymore, lets restore this behaviour

Depends on D6227

Reviewers: cedric, zmike, stefan_schmidt

Subscribers: #committers

Tags: #efl

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

6 years agoevas_clip: fix current EFL_EVENT_DEL event changes
Marcel Hollerbach [Tue, 29 May 2018 16:24:44 +0000 (12:24 -0400)]
evas_clip: fix current EFL_EVENT_DEL event changes

Summary:
Before the parent was persistent when the intersept function and events
for clipper changes have been called. Lets get back to this behaviour.

Depends on D6226

Reviewers: cedric, zmike, stefan_schmidt

Reviewed By: zmike

Subscribers: #committers

Tags: #efl

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

6 years agoevas: be less error prone
Marcel Hollerbach [Tue, 29 May 2018 16:24:36 +0000 (12:24 -0400)]
evas: be less error prone

Summary:
Dont spin infinitly when the refcount accidently is already < 0.

Depends on D6225

Reviewers: zmike, cedric, stefan_schmidt, #committers

Reviewed By: zmike, #committers

Subscribers: cedric, #committers, zmike

Tags: #efl

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

6 years agoevas_object_table: adjust to recent EFL_EVENT_DEL changes
Marcel Hollerbach [Tue, 29 May 2018 16:24:31 +0000 (12:24 -0400)]
evas_object_table: adjust to recent EFL_EVENT_DEL changes

Summary:
EFL_EVENT_DEL is wrong here, as the callback uses a parent, which is
gone at the time of EFL_EVENT_DEL.

Reviewers: zmike, cedric, stefan_schmidt

Reviewed By: zmike

Subscribers: cedric, #committers, zmike

Tags: #efl

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

6 years agotests: make statically-defined eldbus bus names unique
Mike Blumenkrantz [Tue, 29 May 2018 11:25:32 +0000 (13:25 +0200)]
tests: make statically-defined eldbus bus names unique

Summary:
if not unique, these bus names will collide if run from separate
connections resulting in test failure

fix T6848
Depends on D6203

Reviewers: stefan_schmidt, cedric

Reviewed By: cedric

Subscribers: cedric, #committers

Tags: #efl

Maniphest Tasks: T6848

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

6 years agotests: use eldbus in dbus test naming instead of enlightenment
Mike Blumenkrantz [Tue, 29 May 2018 11:25:26 +0000 (13:25 +0200)]
tests: use eldbus in dbus test naming instead of enlightenment

Summary:
these tests are for eldbus; enlightenment has its own dbus namespace and
should not be mentioned here to avoid confusion
Depends on D6202

Reviewers: stefan_schmidt, cedric

Reviewed By: cedric

Subscribers: cedric, #committers

Tags: #efl

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

6 years agotests: print dbus errors on fail in eldbus_test_eldbus_message
Mike Blumenkrantz [Tue, 29 May 2018 11:25:06 +0000 (13:25 +0200)]
tests: print dbus errors on fail in eldbus_test_eldbus_message

Summary: Depends on D6200

Reviewers: stefan_schmidt, cedric

Reviewed By: cedric

Subscribers: cedric, #committers

Tags: #efl

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

6 years agotests: print error messages when eldbus tests fail to acquire requested name
Mike Blumenkrantz [Tue, 29 May 2018 11:24:44 +0000 (13:24 +0200)]
tests: print error messages when eldbus tests fail to acquire requested name

Summary: Depends on D6199

Reviewers: stefan_schmidt, cedric

Reviewed By: cedric

Subscribers: cedric, #committers

Tags: #efl

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

6 years agotests: reduce duration of all timers in eldbus tests
Mike Blumenkrantz [Tue, 29 May 2018 11:24:35 +0000 (13:24 +0200)]
tests: reduce duration of all timers in eldbus tests

Summary:
these values seem to assume that network latency or some other form
of delay exists in dbus communications. dbus is a local socket protocol,
so such lengthy timers do nothing but waste runtime

ref T6952
Depends on D6198

Reviewers: stefan_schmidt, cedric

Reviewed By: cedric

Subscribers: cedric, #committers

Tags: #efl

Maniphest Tasks: T6952

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

6 years agotests: always use session bus for eldbus tests
Mike Blumenkrantz [Tue, 29 May 2018 11:24:27 +0000 (13:24 +0200)]
tests: always use session bus for eldbus tests

Summary:
1eeb3cbdf7369686980135707c953e766a67d16c causes all tests to run
inside a dbus session, so use this bus to avoid possible issues with
security policies

ref T6838
Depends on D6197

Reviewers: stefan_schmidt, cedric

Reviewed By: cedric

Subscribers: cedric, #committers

Tags: #efl

Maniphest Tasks: T6838

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

6 years agotests: fix eldbus_test_eldbus_name_owner_changed test
Mike Blumenkrantz [Tue, 29 May 2018 11:24:15 +0000 (13:24 +0200)]
tests: fix eldbus_test_eldbus_name_owner_changed test

Summary:
this is supposed to check an fdo dbus spec implementation, so the test
should exit with success after verifying it instead of waiting for a timeout

ref T6952
Depends on D6196

Reviewers: stefan_schmidt, cedric

Reviewed By: cedric

Subscribers: cedric, #committers

Tags: #efl

Maniphest Tasks: T6952

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

6 years agotests: remove eldbus_test_eldbus_main_loop
Mike Blumenkrantz [Tue, 29 May 2018 11:23:27 +0000 (13:23 +0200)]
tests: remove eldbus_test_eldbus_main_loop

Summary:
this test has no relation to eldbus

ref T6952

Reviewers: stefan_schmidt, cedric

Reviewed By: cedric

Subscribers: cedric, #committers

Tags: #efl

Maniphest Tasks: T6952

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

6 years agoevas render: remove compile warnings.
Hermet Park [Tue, 29 May 2018 07:25:54 +0000 (16:25 +0900)]
evas render: remove compile warnings.

Some bunch of code is unused when RENDCACHE is disabled.
Migrated them into RENDCACHE scope. No logical changes actually.

6 years agoedje: a new testcase for what was happening before
Marcel Hollerbach [Tue, 29 May 2018 04:39:15 +0000 (21:39 -0700)]
edje: a new testcase for what was happening before

Summary:
this checks explicitly that the lifecycle is alive.

Depends on D6223

Reviewers: cedric, zmike, JackDanielZ

Subscribers: cedric, #committers, zmike

Tags: #efl

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

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
6 years agoeo: do not return efl_invalidated true when its not true
Marcel Hollerbach [Tue, 29 May 2018 04:38:51 +0000 (21:38 -0700)]
eo: do not return efl_invalidated true when its not true

Summary:
the object is invalidated AFTER the parent is lost, (thats what the doc
says). Returning invalidated as true when the parent is still present is
thus not correctly.

Depends on D6222

Reviewers: cedric, zmike, JackDanielZ

Subscribers: cedric, #committers, zmike

Tags: #efl

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

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
6 years agoedje: fix lifecycle of swallowed children
Marcel Hollerbach [Tue, 29 May 2018 04:38:40 +0000 (21:38 -0700)]
edje: fix lifecycle of swallowed children

Summary:
a swallowed child is per doc not deleted when the edje is deleted.
After the call to invalidate is finished all children will loose theire
parents and also be invalidated. However, in the efl_invalidate call,
the event EVAS_CALLBACK_DEL is issued, so this is the right spot. As in
legacy the swallows are in place when the EVAS_CALLBACK_DEL event is
issued.

Reviewers: cedric, raster, JackDanielZ, zmike

Subscribers: cedric, #committers, zmike

Tags: #efl

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

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
6 years agoevas gl: update example code for better user understanding.
Hermet Park [Tue, 29 May 2018 02:21:15 +0000 (11:21 +0900)]
evas gl: update example code for better user understanding.

6 years agoelementary: Modify key action logic for image.zoomable
Wonki Kim [Mon, 28 May 2018 12:32:12 +0000 (21:32 +0900)]
elementary: Modify key action logic for image.zoomable

Summary:
  1. remove prior/next action
  prior/next key action doesn't look suitable for image.zooamble.
  It is not able to support bi-directional interaction.

  2. remove logic that refers to step_size the logic has been removed
  by applying this commit because api related with step_size has been removed
  since the new scrollable interface introduced.

another patch may follow after discussing on community

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, #committers, zmike

Tags: #efl

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

6 years agoefl_part: remove unnecessary default_xxx_part_get
YeongJong Lee [Mon, 28 May 2018 08:32:46 +0000 (17:32 +0900)]
efl_part: remove unnecessary default_xxx_part_get

Summary:
They can call default_xxx_part_get of layout.

ref 6e49db0739c38a378c48c6c880f5b41c986ee1e9

Test Plan:
elementary_test -to button
elementary_test -to 'efl.ui.button'
elementary_test -to 'efl.ui.popup'
elementary_test -to 'progressbar'
elementary_test -to 'slider'

Reviewers: Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #committers, herb, zmike

Tags: #efl

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

6 years agobuild: make sure new eo header is distributed in tarball
Stefan Schmidt [Mon, 28 May 2018 07:36:46 +0000 (09:36 +0200)]
build: make sure new eo header is distributed in tarball

In commit 8a513a522e90253ce7ec85e92c7bc58dfb22a2bc thsi new header was
added, but never made sure it lands into the distribution tarball.

6 years agoelementary textpath: use job for deferred drawing task.
Hermet Park [Mon, 28 May 2018 06:37:57 +0000 (15:37 +0900)]
elementary textpath: use job for deferred drawing task.

textpath performed drawing task multiple times unnecesarily.
It should be performed only one time after all setting up.

6 years agoelementary ui_textpath: remove autofit api.
Hermet Park [Mon, 28 May 2018 06:21:22 +0000 (15:21 +0900)]
elementary ui_textpath: remove autofit api.

Toggling this option is unlikely happened by user because with autofit=false,
it doesn't gurantee readable visual text.

We don't need this stupid api yet. So remove it.

6 years agoelementary textpath: update Evas map when text is updated
Youngbok Shin [Mon, 28 May 2018 05:48:41 +0000 (14:48 +0900)]
elementary textpath: update Evas map when text is updated

Summary:
Evas map was not updated when text was updated.
@fix

Test Plan:
1. Run the following test case.
  elementary_test -to "efl.ui.textpath"
2. Toggle short text.
3. See a long line from the end of text which is wrong.
  If you change angle, Evas map will be updated properly.
  But, it should be updated when text is updated.

Reviewers: raster, cedric, thiepha, Hermet

Reviewed By: Hermet

Subscribers: Hermet, #committers, zmike

Tags: #efl

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

6 years agoefl_ui_popup: use "elm.swallow.content" name instead of "default" for scroller
YeongJong Lee [Mon, 28 May 2018 03:57:00 +0000 (12:57 +0900)]
efl_ui_popup: use "elm.swallow.content" name instead of "default" for scroller

Summary:
efl_part don't support legacy aliases.

ref 495edbd9958ff077e44a62bf83f1a9032875f423

Test Plan:
1. elementary_test -to 'efl.ui.popup.alert.text'
2. elementary_test -to 'efl.ui.popup.alert.scroll'

Reviewers: Jaehyun_Cho, herb

Reviewed By: Jaehyun_Cho

Subscribers: stefan_schmidt, cedric, #committers, zmike

Tags: #efl

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

6 years agoefl ui win - fix legacy theme support correctly
Carsten Haitzler (Rasterman) [Sun, 27 May 2018 10:48:48 +0000 (19:48 +0900)]
efl ui win - fix legacy theme support correctly

this fixes T6918. during development legacy theme support was b roken.
473e657120ffd9626b6ee8832c75f2f66c9a5351 broke it.

6 years agoeet - check for null edd's and don't decode junk data
Carsten Haitzler (Rasterman) [Sun, 27 May 2018 08:10:19 +0000 (17:10 +0900)]
eet - check for null edd's and don't decode junk data

in the process of fixing a bug in elm config i found the eet will
decode junk data with a null edd. check for these where it was missing
and return null so it's easier to see a problem. not really a fix as
it's invalid use of the api, but it's nicer to debug...

6 years agoelm config - fix derived save crash
Carsten Haitzler (Rasterman) [Sun, 27 May 2018 08:00:09 +0000 (17:00 +0900)]
elm config - fix derived save crash

derived shutdown nuked the edd's and eet still decoded something...
that was junk. oddly. this fixes T6879.

6 years agoRevert "ecore-evas-x: set draw_block until the window receives a configure event"
Carsten Haitzler (Rasterman) [Sat, 26 May 2018 19:52:03 +0000 (04:52 +0900)]
Revert "ecore-evas-x: set draw_block until the window receives a configure event"

This reverts commit 7b80038fa7b54cff27b463382283211727aaf104.

JackDanielz asked nicely, but this hasn't been reverted. As this
totally breaks enlightenment (it's black) and this happens on
everythng I've tested (1 laptop, desktop and Xephyr) I'm calling this
patch a dud.

Now... what kind of review is going on here? This hasn't been tested.
What kind of review doesn't build + run things?

for the reasons of poor review and massive horribler fully complete
desktop like breakage ... this gets reverted as master should not be
broken like this.

6 years agoecore_con: efl_net_socket_ssl_adopted_get is EFL_NET_SOCKET_SSL_PROTECTED.
Cedric BAIL [Fri, 25 May 2018 17:40:56 +0000 (10:40 -0700)]
ecore_con: efl_net_socket_ssl_adopted_get is EFL_NET_SOCKET_SSL_PROTECTED.

6 years agoelm_spinner: Spinner value adjust when round enabled.
Woochan Lee [Fri, 25 May 2018 17:28:39 +0000 (10:28 -0700)]
elm_spinner: Spinner value adjust when round enabled.

Summary:
The round value was not being applied when input the value as an internal entry.

@fix

Test Plan: elementary_test -> spinner sample.

Reviewers: cedric, woohyun, Jaehyun_Cho

Reviewed By: cedric

Subscribers: cedric

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

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoecore-evas-x: set draw_block until the window receives a configure event
Mike Blumenkrantz [Fri, 25 May 2018 17:28:29 +0000 (10:28 -0700)]
ecore-evas-x: set draw_block until the window receives a configure event

Summary:
drawing a non-override window before receiving a configure event results
in an unsized window, breaking spec. it also prevents ecore-evas resize
callbacks from triggering, yielding undefined returns from functions which
attempt to get the geometry of the ecore-evas

fix T6907

Reviewers: cedric, raster

Reviewed By: cedric

Subscribers: #committers, vtorri

Tags: #efl

Maniphest Tasks: T6907

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

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoeina: Improve eina_array function documentation
Bryce Harrington [Fri, 25 May 2018 17:19:20 +0000 (10:19 -0700)]
eina: Improve eina_array function documentation

Summary:
Define return values when errors occur.  Eliminate use of the term
'vector' to avoid confusion with eina_vector.  Cleanup grammar
throughout.

Reviewers: cedric, Hermet

Reviewed By: Hermet

Subscribers: #committers, zmike

Tags: #efl

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

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoRevert "efl_ui_win: simplify checking theme version when adding frame"
Mike Blumenkrantz [Fri, 25 May 2018 17:14:36 +0000 (10:14 -0700)]
Revert "efl_ui_win: simplify checking theme version when adding frame"

Summary:
This reverts commit f37b96a1de80c6f65306c96c6ebcdc69bafdbfa1.

as pointed out in D5957, this would break use of theme_set during the
efl_add constructor once this is implemented in the future

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: #committers

Tags: #efl

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

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoelm_notify: remove allow_events_set call in destructor
Mike Blumenkrantz [Fri, 25 May 2018 17:09:46 +0000 (10:09 -0700)]
elm_notify: remove allow_events_set call in destructor

Summary:
4976f1fc5276835940610b72ca4fa48776fc9410 erroneously flipped the
bool flag on this call, accidentally creating another object during
deletion which is illegal now as the notify object is now unparented
at this point which will result in a CRI error

this call was never required in the first place as the corresponding
layout object would have been deleted automatically due to widget parenting

@fix

Reviewers: cedric

Tags: #efl

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

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoedje: don't give a wrong Edje data when an Edje object has group parts
Youngbok Shin [Fri, 25 May 2018 17:09:13 +0000 (10:09 -0700)]
edje: don't give a wrong Edje data when an Edje object has group parts

Summary:
_edje_part_fetch() function gets an Edje which has the requested Edje_Real_Part.
Basically, it gets main Edje of the given object.
But, if a requested part is in a GROUP part, it gets the Edje of GROUP part.
It shouldn't be passed to _edje_efl_text_text_get() function directly.
@fix

Test Plan: N/A

Reviewers: herdsman, raster, cedric, woohyun

Reviewed By: cedric

Subscribers: #committers, zmike

Tags: #efl

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

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoelementary widget: Do super's efl_gfx_color_set to apply color to widget itself
Youngbok Shin [Fri, 25 May 2018 17:08:21 +0000 (10:08 -0700)]
elementary widget: Do super's efl_gfx_color_set to apply color to widget itself

Summary:
The efl_gfx_color interface was not applied properly.
The implementation code of evas_object_smart_color_set was moved
to efl_gfx_color_set implementation code. But, these two functions are not same.
In efl_gfx_color_set impl, it has to call super's color set to apply
the given color values to widget object itself.

This bug caused color_set/get test failure and the following bug.
1. elm_image_add
2. evas_object_color_set
3. elm_image_file_set
4. show. See the given color is not applied. It was applied in the past.

Test Plan: color_set/get to elm_image object is included in test suite.

Reviewers: raster, cedric, herdsman, woohyun

Reviewed By: cedric

Subscribers: #committers, zmike

Tags: #efl

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

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoecore_con : Fix class check to check inner_socket class
JunsuChoi [Fri, 25 May 2018 17:07:02 +0000 (10:07 -0700)]
ecore_con : Fix class check to check inner_socket class

Summary:
cl->socket is a Efl.Net.Socket_Simple. it is not inherit the Efl.Loop.fd class.
and The target of the class check have to be the inner_socket.
But inner_socket is Efl.Net.Socket_Ssl. Efl.Net.Socket_Ssl class is not inherit FD class.
Efl.Net.Socket_Tcp is inherit Efl.Loop.fd class. So, Need to add Efl.Net.Socket_Tcp to inheritance.
(The server side is a similar hierarchy. (ssl -> tcp -> ip -> fd))

Test Plan: N/A

Reviewers: cedric, jypark, myoungwoon, zmike, barbieri

Reviewed By: cedric

Subscribers: #committers, bowonryu, zmike

Tags: #efl

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

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoelm_interface_scrollable: change return value for post events.
Hosang Kim [Fri, 25 May 2018 17:04:49 +0000 (10:04 -0700)]
elm_interface_scrollable: change return value for post events.

Summary:
1. Scroller in scroller case, callback process should continue.
     If child scroller does not scroll, parent scroller should be checked whether scroll or not.
     So returning EINA_TRUE is necessary.
2. down.dragged flag is always EINA_FALSE, so scroll is never unlocked.
@fix

Test Plan:
precondition
  elementary_config -> scrolling -> Set Scroll Smooth Amount to 0
elementary_test -> pagescroller

Reviewers: woohyun, zmike, singh.amitesh, cedric

Reviewed By: cedric

Subscribers: #committers, cedric, zmike

Tags: #efl

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

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoefl_mono: Fix efl_add_internal_end call.
Lauro Moura [Fri, 25 May 2018 17:01:06 +0000 (10:01 -0700)]
efl_mono: Fix efl_add_internal_end call.

Summary:
It was missing setting the 'is_ref' parameter to 1 to mirror the
internal_start call.

Test Plan: make check

Reviewers: cedric

Subscribers: #committers, zmike

Tags: #efl

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

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoeo_cxx: Fix do_eo_add after lifecycle branch.
Lauro Moura [Fri, 25 May 2018 17:00:40 +0000 (10:00 -0700)]
eo_cxx: Fix do_eo_add after lifecycle branch.

Summary:
Also changed the previously failing tests to use ck_assert_int_eqinstead
of fail_if for better reporting.

Test Plan: make check

Reviewers: cedric, felipealmeida

Reviewed By: cedric

Subscribers: #committers, zmike

Tags: #efl

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

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoelementary textpath: improves text rendering quality of curved text
Youngbok Shin [Fri, 25 May 2018 16:59:01 +0000 (09:59 -0700)]
elementary textpath: improves text rendering quality of curved text

Summary:
There was wrong logic for calculating # of slices, dt, dist of each segment.
It caused bad rendering quality by putting too much slices on small text.

In addition, textpath didn't care about smoothness of curve's slope changing.
The patch fixes to check differences of previous points and next points for Evas Map.
So, textpath can show more smoothly curved text.

Also, it fixes "autofit" bug when text is much huge than given circle's size.

@tix

Test Plan:
- I'll attach screenshots for comparing rendering quality.
- To see "autofit" bug.
1. Run the following command.
   ELM_ACCEL=gl ELM_SCALE=2.0 elementary_test -to "efl.ui.textpath"

2. Toggle "autofit" check box.
3. See the bug case. Textpath can't show all text properly.

Reviewers: raster, cedric, thiepha

Subscribers: #committers, zmike

Tags: #efl

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

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoelementary: fetch the model explicitely.
Cedric BAIL [Fri, 25 May 2018 15:33:50 +0000 (08:33 -0700)]
elementary: fetch the model explicitely.

T6939

6 years agoefl_ui_win: fix wrong comparison in icon_object_set
WooHyun Jung [Fri, 25 May 2018 07:42:52 +0000 (16:42 +0900)]
efl_ui_win: fix wrong comparison in icon_object_set

@fix

6 years agoelementary: prevent model from being invalidated when their parent model get destroyed.
Cedric BAIL [Thu, 24 May 2018 22:54:00 +0000 (15:54 -0700)]
elementary: prevent model from being invalidated when their parent model get destroyed.

6 years agoelementary: ctxpopup is using legacy Elm.List which use legacy Elm.Object.Item, fix...
Cedric BAIL [Thu, 24 May 2018 21:48:03 +0000 (14:48 -0700)]
elementary: ctxpopup is using legacy Elm.List which use legacy Elm.Object.Item, fix accordingly.

6 years agoelementary: fix elm_list items lifecycle.
Cedric BAIL [Thu, 24 May 2018 06:37:09 +0000 (23:37 -0700)]
elementary: fix elm_list items lifecycle.

Elm.List.Item lifecycle where an exception in Efl. They were trying to prevent the death of
there parent, to avoid dealing with safely walking on items list. This has been on the todo
list for years and is now fixed by this patch.

6 years agoevas: make smart object deletion more robust to bad child behavior.
Cedric BAIL [Thu, 24 May 2018 06:12:02 +0000 (23:12 -0700)]
evas: make smart object deletion more robust to bad child behavior.

6 years agoelementary: refactor filesector target cleanup to not leave function handler behind.
Cedric BAIL [Thu, 24 May 2018 03:24:21 +0000 (20:24 -0700)]
elementary: refactor filesector target cleanup to not leave function handler behind.

6 years agoelementary: make sure to use the model that generated the event to fetch information...
Cedric BAIL [Thu, 24 May 2018 03:23:48 +0000 (20:23 -0700)]
elementary: make sure to use the model that generated the event to fetch information from.

6 years agoelementary: make sure fileselector button model has a parent and self destruct properly.
Cedric BAIL [Thu, 24 May 2018 03:19:31 +0000 (20:19 -0700)]
elementary: make sure fileselector button model has a parent and self destruct properly.

6 years agoeio: enforce eio model to have a parent that provide main loop access.
Cedric BAIL [Thu, 24 May 2018 03:18:18 +0000 (20:18 -0700)]
eio: enforce eio model to have a parent that provide main loop access.

6 years agoecore: during shutdown their is no need to delay anything.
Cedric BAIL [Thu, 24 May 2018 02:37:20 +0000 (19:37 -0700)]
ecore: during shutdown their is no need to delay anything.

6 years agoeo: an object is invalidated if it is invalidated or if any parent is invalidated.
Cedric BAIL [Thu, 24 May 2018 02:35:03 +0000 (19:35 -0700)]
eo: an object is invalidated if it is invalidated or if any parent is invalidated.

6 years agoecore_con: disconnect from the server as soon as it request it.
Cedric BAIL [Thu, 24 May 2018 01:03:56 +0000 (18:03 -0700)]
ecore_con: disconnect from the server as soon as it request it.

Ecore_Event can still be in flight while the client get freed by the server.
We are protected agaist that and keep the client partially alive until the event
are processed, but we need to disconnect from the server as soon as possible
as we might outlive the server.

6 years agoevas: disable del hook when pushed inside the hash.
Cedric BAIL [Wed, 23 May 2018 19:15:26 +0000 (12:15 -0700)]
evas: disable del hook when pushed inside the hash.

This is necessary in case of cycling init/shutdown as the hash will
destroy the Event, but the hook will instantly reinsert it.

6 years agoeo: match raise of error level in tests.
Cedric BAIL [Tue, 22 May 2018 23:15:28 +0000 (16:15 -0700)]
eo: match raise of error level in tests.

6 years agoeo: we are actually testing internal function too here.
Cedric BAIL [Tue, 22 May 2018 23:15:02 +0000 (16:15 -0700)]
eo: we are actually testing internal function too here.

6 years agoeo: add infrastructure to test critical Eina Error.
Cedric BAIL [Tue, 22 May 2018 23:14:20 +0000 (16:14 -0700)]
eo: add infrastructure to test critical Eina Error.

6 years agoeo: improve tests suite debugging by always displaying the error message before abort.
Cedric BAIL [Tue, 22 May 2018 23:13:53 +0000 (16:13 -0700)]
eo: improve tests suite debugging by always displaying the error message before abort.