platform/upstream/efl.git
6 years agoefl_ui_win: add "focused" and "unfocused" signals emission 14/176614/2
YeongJong Lee [Mon, 16 Apr 2018 08:19:11 +0000 (17:19 +0900)]
efl_ui_win: add "focused" and "unfocused" signals emission

Summary:
Win is root of focus manager. it means Win is logical node and "focused" and
"unfocused" signals in Win aren't handled by focus manager.
Win needs to emit the signals itself.

Reported by eagleeye, jsuya

Test Plan:
1. elementary_test -to 'window states'
2. Check that "WIN FOCUS: focused" and "WIN FOCUS: unfocused" printed.

Reviewers: bu5hm4n

Reviewed By: bu5hm4n

Subscribers: jsuya, cedric, eagleeye

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

Change-Id: I8dfbd5eaa6f467623bebec6dc2bf51d1f611c314

6 years agoedje_cc_handlers: fix parsing min/max value. 05/176605/2
Hosang Kim [Wed, 18 Apr 2018 09:46:58 +0000 (18:46 +0900)]
edje_cc_handlers: fix parsing min/max value.

@tizen_fix

Change-Id: I8d14841da826b4a5c7fb76a0d93069d48bb193ab
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agoelm_toolbar: lookup_order implements
Bowon Ryu [Thu, 12 Apr 2018 14:02:33 +0000 (23:02 +0900)]
elm_toolbar: lookup_order implements

@tizen_fix

Change-Id: I4e8f461f65d0e222d375275816f89e6d208e8d28
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoelm_icon: lookup_order implements
Bowon Ryu [Thu, 12 Apr 2018 10:16:32 +0000 (19:16 +0900)]
elm_icon: lookup_order implements

@tizen_fix

Change-Id: I65dbdd39c8b12ec258737a6f987919fd3dadc3be
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoecore_win32: can change the app icon at runtime in Windows.
Bowon Ryu [Fri, 13 Apr 2018 07:01:22 +0000 (16:01 +0900)]
ecore_win32: can change the app icon at runtime in Windows.

this patch for windows hosting.

@tizen_fix

Change-Id: Ice63a911ff906eb4cd51239a1b1ad9c0879d91c9
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoevas_gl: remove unreachable code
Daekwang Ryu [Wed, 11 Apr 2018 04:19:45 +0000 (13:19 +0900)]
evas_gl: remove unreachable code

Change-Id: I03d1c940b616a9fa499c592ad274c6247f52353a

6 years ago elm_win: Pend the rotation until app set the rotation.
Jiyoun Park [Fri, 13 Apr 2018 06:27:18 +0000 (15:27 +0900)]
   elm_win: Pend the rotation until app set the rotation.

   Currently, camera use the elm_win_rotation_with_resize_set.
   it rotate the canvas, and chage the win size also.
   The reason why they use this api is to use the object rotation effect during the rotation.

   If window server send rotation event during the rotation, or efl client deal with the rotation
   during the app's rotation effect, it cause flickering.

   Before, X backend , landscape rotation
   1. set the available rotation set only 0
   2. window server didn't send rotation effect
   3. apps listen the devicd rotation callback
   4. apps set elm_win_rotation_with_resize_set 90 or 270
   5. efl client set the X property related with rotation
   6. window server deals with the rotation by app side.

   But now window server don't want to support this api , becuase client rotation causes the whole of rotation policy.
   Opensource side, server need to support this situation, but we need to time to discuss.
   to support compatibility, add this code until we find the final solution.

   this concept is
   1. app set pending rotation using aux_hint (it means app will deal with the rotation)
   2. efl client doesn't deal with server's rotation
   3. do the rotation job by app just like the server's rotation.

   Change-Id: Ic1edecbdc729f9202be0977215bb770275f9cb74

Change-Id: I23d411e5856971985767be358fff56b81489b5b2

6 years agoEfl_promise: fix missing va_end after va_start used
SangHyeon Lee [Fri, 13 Apr 2018 04:10:37 +0000 (13:10 +0900)]
Efl_promise: fix missing va_end after va_start used

Change-Id: Ie5c219bec42059c3898cf3885238aa1f23dc4974
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agoecore_wl2: support a tizen_keyrouter event_surface event
JengHyun Kang [Wed, 4 Apr 2018 07:47:01 +0000 (16:47 +0900)]
ecore_wl2: support a tizen_keyrouter event_surface event

Change-Id: Ia4fca9e1650fd0f3f90b2b26b7e3b8fe343f0b9b

6 years agoecore_wl2: check window's alpha or transparent value in ecore_wl2_window_opaque_regio...
Doyoun Kang [Thu, 12 Apr 2018 06:42:50 +0000 (15:42 +0900)]
ecore_wl2: check window's alpha or transparent value in ecore_wl2_window_opaque_region_set

Change-Id: I5b86811a574d0e0f5b3af033a925c345af78e38d

6 years agoecore_wl2_input: delete unnecessary code.
Hosang Kim [Wed, 11 Apr 2018 09:08:41 +0000 (18:08 +0900)]
ecore_wl2_input: delete unnecessary code.

Change-Id: Id516c3ee947e34c050041dcefac2a527859526b4

6 years agoefl_ui_win: fix passing null pointer issue.
Hosang Kim [Wed, 11 Apr 2018 06:19:44 +0000 (15:19 +0900)]
efl_ui_win: fix passing null pointer issue.

Change-Id: I7dbe8898e364708452e6474448376c3bea645d02

6 years agoecore_wl2: modify code for ecore_wl2_window_alpha_set
Doyoun Kang [Wed, 11 Apr 2018 08:48:00 +0000 (17:48 +0900)]
ecore_wl2: modify code for ecore_wl2_window_alpha_set

Change-Id: I4d30f7ba7963e0bf999cc907747249842bc4f1f2

6 years agoecore_evas_wayland: handle 0x0 content problem
Shinwoo Kim [Tue, 10 Apr 2018 11:38:47 +0000 (20:38 +0900)]
ecore_evas_wayland: handle 0x0 content problem

Someone could NOT use elementary and use ecore_evas only. In this case, content
size which is defined by elementary is 0x0. If content size is 0x0, then frame
size is equal to window size. But the frame size is defined by elementary as
well. So if there is not a content, then the frame size should be 0.

Change-Id: Idb41799c84ee7a9879bb67ed3a86afed9318ae16

6 years agoevas : add missed patch about rotation, ratio and flip for tbm_surface of video
Joogab Yun [Wed, 11 Apr 2018 02:06:04 +0000 (11:06 +0900)]
evas : add missed patch about rotation, ratio and flip for tbm_surface of video

Change-Id: I0a59cd1df7523711274dd4dee821ecc0fd85ed66

6 years agoecore_wl2: add code to use tizen_policy's aux hint protocol
Doyoun Kang [Wed, 11 Apr 2018 01:02:58 +0000 (10:02 +0900)]
ecore_wl2: add code to use tizen_policy's aux hint protocol

Change-Id: Ibb41fb3e69e96b6cfe22ae826de61fc19d867751

6 years agoevas: add null check
JunsuChoi [Tue, 10 Apr 2018 06:16:28 +0000 (15:16 +0900)]
evas: add null check

Summary:
this commit add null check.
In EVAS_OBJECT_DATA_SAFE_GET, if eo_obj is null, obj can also be null.
and In _efl_canvas_output_async_block() can return null.

Test Plan: N/A

Reviewers: woohyun, kimcinoo, cedric

Subscribers: cedric

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

Change-Id: Id0e4cc4cbcab80655a387964b5f90a516eb2d3ba

6 years agoecore_fb: fix divided by zero
JunsuChoi [Tue, 10 Apr 2018 06:22:54 +0000 (15:22 +0900)]
ecore_fb: fix divided by zero

Summary:
w and h must not be zero.
because of the divide_by_zero exception occurs on line 649 and 653.

Test Plan: N/A

Reviewers: woohyun, kimcinoo, cedric

Subscribers: cedric

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

Change-Id: I15226d204255ff0e94f464d4486fb322d0647157

6 years agoatspi : fix memory leak
JunsuChoi [Mon, 9 Apr 2018 10:36:09 +0000 (19:36 +0900)]
atspi : fix memory leak

   If return at check iter_entry, it occured memory leak form ret

Change-Id: I596346bba33ba3af3426aa2a45d1f8e7c533bdd2

6 years ago[atspi] Add null check for free
JunsuChoi [Fri, 6 Apr 2018 05:21:27 +0000 (14:21 +0900)]
[atspi] Add null check for free

   if value plug_id is not null, eina_str_split_full can return null
   so, split value need to check for null

Change-Id: I9bbe0db45ea6ef5df98f2b13468e5590c1e5ce6a

6 years agoedje_util: apply Tizen's color_class feature _edje_color_class_recursive_find in...
Jeonghyun Yun [Tue, 3 Apr 2018 01:24:08 +0000 (10:24 +0900)]
edje_util: apply Tizen's color_class feature _edje_color_class_recursive_find in color_class_get

@tizen_fix

Change-Id: I612768216ab99889f09c6b6b6a53e38224d7a432
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
6 years agoevas : apply wayland-egl-tizen
Joogab Yun [Tue, 27 Mar 2018 07:16:50 +0000 (16:16 +0900)]
evas : apply wayland-egl-tizen

Change-Id: Ifcc01de1b48a030a9eaf0d31f1aee8c1152e05ff

6 years agoevas : fixed covertiy issues, resource leak and Uninitialized scalar
Joogab Yun [Mon, 9 Apr 2018 02:14:03 +0000 (11:14 +0900)]
evas : fixed covertiy issues, resource leak and Uninitialized scalar
variable
      (CID : 83275, 113958)

Change-Id: I64477e6d833dfb6b6107b80cf9646552630b575f

6 years agocbhm_helper: fix the memory leak
Taehyub Kim [Thu, 5 Apr 2018 12:08:44 +0000 (21:08 +0900)]
cbhm_helper: fix the memory leak

Change-Id: Ida7f1fce683d927259814d38248a82c0f72ffb48

6 years agoelc_popup: fix the memory leak
Taehyub Kim [Thu, 5 Apr 2018 11:07:59 +0000 (20:07 +0900)]
elc_popup: fix the memory leak

Change-Id: I5e08ac83dc8750e40465969f2a71bf7bd1c9e13f

6 years agoecore_buffer: Add preferred engine "tbm" for buffer.
Seunghun Lee [Fri, 6 Apr 2018 05:13:16 +0000 (14:13 +0900)]
ecore_buffer: Add preferred engine "tbm" for buffer.

Change-Id: Iee988a4df7188f92296ab067a3080ff3f55d5ee3

6 years agoecore_buffer: fix coverity issues
Seunghun Lee [Thu, 5 Apr 2018 01:43:44 +0000 (10:43 +0900)]
ecore_buffer: fix coverity issues

CID: 113926 113686 113713 114064 113785 113667 113660

Change-Id: I48ae86d74ffec2c57a0397da04d4fb3fdc4b0007

6 years agoFix ASan build with edje_cc on aarch64
Dmitriy Evgenevich Gonzha [Mon, 2 Oct 2017 13:32:32 +0000 (16:32 +0300)]
Fix ASan build with edje_cc on aarch64

On EFL theme build we have too many embryo_cc processes.
With ASan environment It leads to build error because of
OOM error.
Such case with unlimited embryo_cc is already fixed in
current EFL git:

From: "Carsten Haitzler (Rasterman)" <raster@rasterman.com>
Date: Mon, 13 Jun 2016 14:11:20 +0900
Subject: [PATCH] edje_cc - limit embryo_cc instances in bg to something
 sensible

so compiling current efl theme seems to spawn 178 instances of
embryo_cc in the background (then collect results). this is a bit
excessive and may be a source of issues. this may be causing T3874
perhaps due to embryo_cc's not launching (fork failing or something
else) and we don't check if fork fails. so try limit to 8 embryo_cc's
in the bg which is more reasonable than the currently "unlimited"
which leads to 178 currently...

i hope this fixes T3874

@fix

Change-Id: Ib799ca82719458b613105bbc43214b038f404827
Signed-off-by: Dmitriy Evgenevich Gonzha <d.gonzha@samsung.com>
6 years agoedje_entry: fix wrong merge with upstream code
WooHyun Jung [Thu, 5 Apr 2018 07:25:52 +0000 (16:25 +0900)]
edje_entry: fix wrong merge with upstream code

Change-Id: I1bdb1a6c07dec4b73dd581e0ffa588aa7ca17284

6 years agoelm_entry: free unused memory
WooHyun Jung [Thu, 5 Apr 2018 05:08:21 +0000 (14:08 +0900)]
elm_entry: free unused memory

Change-Id: I9e7ad3e7f2f0abfc6003412ddbd4de15ae8154e3

6 years agoecore_evas_wl: remove uselesss function
Boram Park [Wed, 4 Apr 2018 23:48:54 +0000 (08:48 +0900)]
ecore_evas_wl: remove uselesss function

Change-Id: I9d7ee1691867f2618c610d2645a1cfd8ddc2c45b

6 years agoresolve possible memory leak
Jongmin Lee [Tue, 3 Apr 2018 23:44:39 +0000 (08:44 +0900)]
resolve possible memory leak

Change-Id: I1464b3849e53e41c465e269fdc03ebcf268e45c2

6 years agogenlist : fix indentation error
SangHyeon Lee [Thu, 5 Apr 2018 03:30:54 +0000 (12:30 +0900)]
genlist : fix indentation error

fix the indentation error detected by coverity 113858

Change-Id: Ib42c56a8055c14c36c74cb9eeb63342324b56643
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agoecore_buffer: check null before referencing object.
Seunghun Lee [Wed, 4 Apr 2018 11:26:03 +0000 (20:26 +0900)]
ecore_buffer: check null before referencing object.

Change-Id: I0593d8f89dc2b95c7ab29c5b37832adbbde9a547
WGID: 342308

6 years agoecore_buffer: Fix the error passing null argument.
Seunghun Lee [Wed, 4 Apr 2018 11:20:38 +0000 (20:20 +0900)]
ecore_buffer: Fix the error passing null argument.

Change-Id: Ie6a526421d8d0dfd4680bb73c6ac24e420380442
WGID: 342158

6 years agofix svace issues: dereferenced null check
JengHyun Kang [Wed, 4 Apr 2018 09:34:48 +0000 (18:34 +0900)]
fix svace issues: dereferenced null check

Change-Id: I0665fe690c8a4eece64723b8b22bd2fb2e2ae75d

6 years agoecore_event_message_filter: add logic to delete event_filter from defered delete
JunSeok, Kim [Wed, 4 Apr 2018 08:14:07 +0000 (17:14 +0900)]
ecore_event_message_filter: add logic to delete event_filter from defered delete

Enlightenment crash occured during calling ecore_event_filters_del in
callback function.
It caused by ecore_event_filter remaining in filters list.
So, add remove logic in filters_delete remove loop.

Change-Id: Ia2c5c877fc091e06e4c2a3a96df86fca1fe8c6cd

6 years agoAtspi: enhance finding next and prev item on screen's edge
JunsuChoi [Tue, 3 Apr 2018 10:18:17 +0000 (19:18 +0900)]
Atspi: enhance finding next and prev item on screen's edge

1) The content of list is checked that is screen out when genlist's content_pos_set is called.
   Therefore, the content of the item is excluded from check that is screen out.

2) the content_pos_set of genlist differs by 1 pixel from the final call when scrolled up and down.
   If the item size is 360x360 on a 360x360 size screen, scrolling upward (0,360) to (0, 0)
   will be called until the y coordinate of the highlight object in content_pos_set is 1.
   But downward is not same. if scrolling downward (0,0) to (0,360)
   will be called y coordinate of highlight object in final called content_pos_set is 360.
   This part can be modified according to the content_pos_set call convention.

3) delta_y means the direction of the scroll. However, old_y and y do not have the proper orientation
   when content_pos_set is called twice. Therefore, we use delta_y_backup temporarily.

[dlogutil]

When scroll up

E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 0, hy = 0, y = 0
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = -45, hy = 0, y = 45
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 0, hy = -45, y = 45
...
...

E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = -1, hy = -358, y = 359
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 0, hy = -359, y = 359
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = -1, hy = -359, y = 360
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 0, hy = -359, y = 360

When scroll down

E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 0, hy = 0, y = 360
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 43, hy = 0, y = 317
...
...
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 2, hy = 357, y = 1
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 0, hy = 359, y = 1
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 1, hy = 359, y = 0
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 0, hy = 360, y = 0

Change-Id: I4cdd109336fc631ade84b3926050541ba93665d7

6 years agoEmit "elm,key,action,activate" signal
Shinwoo Kim [Tue, 3 Apr 2018 10:09:54 +0000 (19:09 +0900)]
Emit "elm,key,action,activate" signal

An widget could be activated by key event, or AT-client such as screen-reader.
User could want to get sound feedback for this kind of activation.
The "elm,key,action,activate" signal will work for this.

Change-Id: I8aa53a2ca93b0426f5d8f4a4d13897af851c9141

6 years agoatspi : Add eldbus arguments for GetDefaultLabelInfo
JunsuChoi [Tue, 3 Apr 2018 10:04:37 +0000 (19:04 +0900)]
atspi : Add eldbus arguments for GetDefaultLabelInfo

Change-Id: I96668b49190d9e989c99aa7fa0c4c8bbed4e318f

6 years agoatspi: do not emit HIGHLIGHTED signal if ecore evas is obscured
Shinwoo Kim [Tue, 3 Apr 2018 09:16:47 +0000 (18:16 +0900)]
atspi: do not emit HIGHLIGHTED signal if ecore evas is obscured

The obscured application could call elm_atspi_component_highlight_grab.
The elm_atspi_component_highlight_grab emits STATE_HIGHLIGHTED signal.
This makes another visible application loses its highlight.

Example:
The "power system popup" could launch the "touch sensitivity".
Before showing the "touch sensitivity",  the "wearable home" shows for a moment.
At this poisnt, the "wearable home" tries to grab highlight.

Change-Id: Ie5eacb70175e2c98de0c354ba23cbc3fb930e49f

6 years agoatspi : Add attributes support for the default label.
JunsuChoi [Tue, 3 Apr 2018 08:29:00 +0000 (17:29 +0900)]
atspi : Add attributes support for the default label.

   If "default_label" attribute is appended "enabled_without_window" from window,
   it works with default labels for some roles.
   and if "default_label" attribute is appended "disabled"
   from object that work default label, it don't work default label

Change-Id: Ia40757a299869a168e546343af32ec4247b720bb

6 years agoatspi: not accept redundant leaf object
Shinwoo Kim [Tue, 3 Apr 2018 07:10:20 +0000 (16:10 +0900)]
atspi: not accept redundant leaf object

An object which role is ELM_ATSPI_ROLE_REDUNDANT_OBJECT, has been acceptable
so far regardless its children. So it was possible to find its children.
But it does not make sense to accept ELM_ATSPI_ROLE_REDUNDANT_OBJECT object if
it does not have children.

There was an issue on Browser application because we accepted REDUNDANT leaf
object. There is a button which role is ELM_ATSPI_ROLE_REDUNDANT_OBJECT, this
button would be used for conveying focus event to embedded web page.
The button was accepted, so it was not possible grab an object on web page.

Please refer to following part of accessibility tree. It is not possible to
get Elm_Atspi_Ewk_Wrapper, if Elm_Button is accepted for "GetNavigableAtPoint"

Elm_Layout
     - Elm_Button [redundant object][0,148,1080,1604]
     - Elm_Atspi_Ewk_Wrapper [embedded][0,148,1080,1604]

Change-Id: I382ececdce1e0e849d9040d6a5f2ba29cfaccb99

6 years agoatspi: fix translation domain for naviframe item
Shinwoo Kim [Tue, 3 Apr 2018 05:26:43 +0000 (14:26 +0900)]
atspi: fix translation domain for naviframe item

The naviframe item have used its VIEW object for accessible name and
description. But the naviframe item did not care about the translation
domain. So there was a translation problem.

Change-Id: Id0decd8a988d9c39c259fb8c6b19a4cfd64e8383

6 years agoatspi: do not expose name of PASSWORD_TEXT
Shinwoo Kim [Tue, 3 Apr 2018 10:06:40 +0000 (19:06 +0900)]
atspi: do not expose name of PASSWORD_TEXT

The AT-client could get the name of PASSWORD_TEXT.
This could be fixed in _elm_entry_elm_interface_atspi_accessible_name_get,
but user defined accessible name should be accessible by the AT-client,
so _elm_widget_elm_interface_atspi_accessible_name_get is proper place.

Change-Id: I5b87dec7611ab24c79b3fa8831e2cabd4ff8a824

6 years agoatspi: use correct object for highlight_grabbing
Shinwoo Kim [Tue, 3 Apr 2018 06:59:30 +0000 (15:59 +0900)]
atspi: use correct object for highlight_grabbing

elm_object_accessibility_highlight_set is using VIEW object as a "target"
object for the ELM_WIDGET_ITEM_CLASS object. And the "target" object is used
for all highlight related lines in the elm_win including highlight_grabbing.

So when the elm_widget sets highlight_grabbing for the ELM_WIDGET_ITEM_CLASS
object, the VIEW object should be used.

Change-Id: Id7f5595193a140e6b3d8f2c9c5a94ed9a505d890

6 years agoatspi: fix name, description callback issue
Shinwoo Kim [Tue, 3 Apr 2018 06:23:21 +0000 (15:23 +0900)]
atspi: fix name, description callback issue

The accessible name, description callback did not work for the naviframe item.
Because the naviframe item has used VIEW object for its accessible object.
If user calls elm_atspi_accessible_name_cb_set(naviframe_item, cb, data),
then the callback cb should set to VIEW object, not naviframe item, because
atspi_accessible_name_get is using the VIEW object.

Change-Id: I0eba9b7a86256edb4eb82ff569869ad3e8490ddf

6 years agoresolve some functions missed return statement
Jongmin Lee [Tue, 3 Apr 2018 02:00:41 +0000 (11:00 +0900)]
resolve some functions missed return statement

Change-Id: I759be28099f3537050ea980aca65a01a7b965522

6 years agoexamples: Improve efl_mono and eolian_cxx build
Lauro Moura [Wed, 11 Apr 2018 23:03:32 +0000 (20:03 -0300)]
examples: Improve efl_mono and eolian_cxx build

The examples were either not build or using repeated rules due to
_EOLIAN_DEP_GEN not being set correctly was Makefile_Eolian_Helper.am
assumes it being inclueded from src/, while each example folder has its
own .am inside its folder.

6 years agoefl_mono: Add namespace on helpers.
Lauro Moura [Wed, 11 Apr 2018 01:50:05 +0000 (22:50 -0300)]
efl_mono: Add namespace on helpers.

Make it easier on finding where those functions are coming from.

6 years agoefl_mono: Proper support for @class methods.
Lauro Moura [Wed, 11 Apr 2018 01:30:40 +0000 (22:30 -0300)]
efl_mono: Proper support for @class methods.

Previously, class methods were implemented as regular instance methods.
This commits generates C# static methods for @class methods on the
*Concrete classes (and their childs).

6 years agoelm entry - fix wayland bug by not updating selection until after mse up
Carsten Haitzler (Rasterman) [Thu, 12 Apr 2018 19:16:25 +0000 (04:16 +0900)]
elm entry - fix wayland bug by not updating selection until after mse up

or update with a small delay after any change and check mouse button
mask to avoid some bizarre mouse up event that is stopping the
selection form continuing with a mouse up event... so this works
around that and still works.

6 years agoefl selection - fix another binary buffer treates as string bug
Carsten Haitzler (Rasterman) [Thu, 12 Apr 2018 17:42:00 +0000 (02:42 +0900)]
efl selection - fix another binary buffer treates as string bug

as per subject.

@fix

6 years agoefl selection - fix entry <-> plain text compy and paste in wl
Carsten Haitzler (Rasterman) [Thu, 12 Apr 2018 17:37:16 +0000 (02:37 +0900)]
efl selection - fix entry <-> plain text compy and paste in wl

efl didnt convert markup to plain text when pasting markup -> text.
this fixes that and enables middle mouse paste etc. etc.

@fix

Change-Id: Ica7787adcf85c19e423c358ce9f89d50c882d1ff

6 years agoefl selection manager - fix anoyther binary buffer treated as string bug
Carsten Haitzler (Rasterman) [Thu, 12 Apr 2018 14:59:03 +0000 (23:59 +0900)]
efl selection manager - fix anoyther binary buffer treated as string bug

yet another "binary buffer" (pointer + size) streated as a string with
strdup + strlen which is oh so wrong. this fixes up some cnp in
wayland with garbage at the end of strings

@fix

6 years agoefl selection manager - fix crashes when doing selections on non-x11
Carsten Haitzler (Rasterman) [Thu, 12 Apr 2018 14:31:39 +0000 (23:31 +0900)]
efl selection manager - fix crashes when doing selections on non-x11

elm was calling x calls when on wayland here... because it didnt check
the RUNTIME display system type for the window, relying on ifdefs
instead.

@fix

6 years agoeolian: correct line/column number during doc reference validation
Daniel Kolesa [Thu, 12 Apr 2018 13:22:33 +0000 (15:22 +0200)]
eolian: correct line/column number during doc reference validation

Eolian doc objects now bundle debug information necessary to
provide correct line/column numbers. It is not possible to get
this information cirectly from the text, as it's reformatted and
contains no extra whitespace or newlines beyond paragraph
separators.

Fixes T6701.

6 years agoefl_ui_frame: remove dulicated _content_aliases
YeongJong Lee [Thu, 12 Apr 2018 13:11:39 +0000 (22:11 +0900)]
efl_ui_frame: remove dulicated _content_aliases

Summary:
Frame inherits from layout. it can use same _content_aliases of Layout

ref 3114ee264bfe069ba1e45e311b80de31985da476

Reviewers: Jaehyun_Cho, woohyun, cedric

Reviewed By: Jaehyun_Cho

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

6 years agoevas - loading extension query - fix to not skip small extensions
Carsten Haitzler (Rasterman) [Thu, 12 Apr 2018 11:55:22 +0000 (20:55 +0900)]
evas - loading extension query - fix to not skip small extensions

since this can take an extension as well as a file path (extension
being .gif or .jpeg etc.) it would skip if passed a small extension
only (5 chars or less). fix and this fixes e's thumbnailing too for
some files.

@fix

6 years agoevas: apply fribidi bracket types to show paired bracket properly
Youngbok Shin [Thu, 12 Apr 2018 09:55:26 +0000 (12:55 +0300)]
evas: apply fribidi bracket types to show paired bracket properly

Summary:
The fribidi couldn't reorganize paired brackets (Ex. '(', ')')
when there is RTL + LTR text. According to TR9(http://www.unicode.org/reports/tr9/),
it has to be shown properly without LRM or RLM.

Also, from the fribidi 1.0.0, fribidi_get_par_embedding_levels() was deprecated.
It is replaced with fribidi_get_par_embedding_levels_ex() which is including
paired brankets rules from TR9.

@feature

Test Plan:
1. Create a elm_entry.
2. Set a text by calling text_set.
   elm_entry_entry_set(entry, "مرحبا Hello (40)");
3. Run and see the results.
   - Without this patch or fribidi 1.X.X, it will show text like this...
     "(Hello (40 مرحبا"

   - With this patch and fribidi >= 1.0.0
     "Hello (40) مرحبا"

Reviewers: raster, cedric, herdsman, woohyun

Reviewed By: herdsman

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

6 years agoefl_canvas_object: Change parameter name of property event_animation
Jaehyun Cho [Thu, 12 Apr 2018 02:39:59 +0000 (11:39 +0900)]
efl_canvas_object: Change parameter name of property event_animation

Change the parameter name of property event_animation from "event_type"
to "desc" to synchronize with other APIs.
(The parameter type is Efl.Event.Description)

6 years agoecore_wl2: Fix ecore_wl2_window_output_find
Derek Foreman [Tue, 27 Mar 2018 19:58:35 +0000 (14:58 -0500)]
ecore_wl2: Fix ecore_wl2_window_output_find

Window geometry x, y are the offset from the top left corner of the
buffer, and not screen co-ordinates, so has nothing to do with output
geometry and can't be used to determine which window we're on.

Now that we track surface enter/leave events we can just give the first
output in the list of outputs we know we're on.

6 years agotests: Fix compilation when timing is disabled.
Lauro Moura [Wed, 11 Apr 2018 02:20:05 +0000 (23:20 -0300)]
tests: Fix compilation when timing is disabled.

Reviewers: zmike, cedric

Reviewed By: zmike

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

6 years agoefl_ui_focus_manager_calc: call next after requesting a subchild
Marcel Hollerbach [Wed, 11 Apr 2018 13:35:57 +0000 (15:35 +0200)]
efl_ui_focus_manager_calc: call next after requesting a subchild

requesting subchild for subchild is not a good idea, as it really only
fetches for a subchild, and never calls next and escapes the children of
the passed node.

fix T6793

6 years agoefl_ui_focus: Add missing EINA_UNUSED for unused function parameters
Chris Michael [Wed, 11 Apr 2018 14:11:20 +0000 (10:11 -0400)]
efl_ui_focus: Add missing EINA_UNUSED for unused function parameters

6 years agoecore-evas: Remove unused variable
Chris Michael [Wed, 11 Apr 2018 14:04:47 +0000 (10:04 -0400)]
ecore-evas: Remove unused variable

6 years agoeolian: simplify class validation logic
Daniel Kolesa [Wed, 11 Apr 2018 12:58:41 +0000 (14:58 +0200)]
eolian: simplify class validation logic

6 years agoeolian: better/more robust class inheritance list replacement
Daniel Kolesa [Wed, 11 Apr 2018 12:31:03 +0000 (14:31 +0200)]
eolian: better/more robust class inheritance list replacement

6 years agotheme: button - fix the warning.
Amitesh Singh [Wed, 11 Apr 2018 11:03:41 +0000 (20:03 +0900)]
theme: button - fix the warning.

This fixed following warning

elementary/themes/edc/efl/button.edc:4:19: warning: `ICON' redefined

6 years agotheme: spin button - remove elm spin btn inheritance.
Amitesh Singh [Wed, 11 Apr 2018 10:52:09 +0000 (19:52 +0900)]
theme: spin button - remove elm spin btn inheritance.

6 years agotheme: panes - remove elm panes inheritance.
Amitesh Singh [Wed, 11 Apr 2018 10:31:42 +0000 (19:31 +0900)]
theme: panes - remove elm panes inheritance.

6 years agotheme: pointer - remove elm pointer inheritance.
Amitesh Singh [Wed, 11 Apr 2018 10:19:41 +0000 (19:19 +0900)]
theme: pointer - remove elm pointer inheritance.

6 years agothemes: tooltip - remove elm tooltip inheritance.
Amitesh Singh [Wed, 11 Apr 2018 10:07:11 +0000 (19:07 +0900)]
themes: tooltip - remove elm tooltip inheritance.

6 years agotheme: photocam: define theme based on new theme components.
Amitesh Singh [Wed, 11 Apr 2018 10:00:58 +0000 (19:00 +0900)]
theme: photocam: define theme based on new theme components.

6 years agotheme: popup - define popup alert theme based on new theme
Amitesh Singh [Wed, 11 Apr 2018 09:56:55 +0000 (18:56 +0900)]
theme: popup - define popup alert theme based on new theme

6 years agotheme: list - remove elm scroller, elm list item inheritance.
Amitesh Singh [Wed, 11 Apr 2018 09:33:24 +0000 (18:33 +0900)]
theme: list - remove elm scroller, elm list item inheritance.

6 years agotheme: text - use efl/scroller theme group instead.
Amitesh Singh [Wed, 11 Apr 2018 09:17:35 +0000 (18:17 +0900)]
theme: text - use efl/scroller theme group instead.

6 years agotheme: textpath - remove elm textpath inheritance.
Amitesh Singh [Wed, 11 Apr 2018 09:14:38 +0000 (18:14 +0900)]
theme: textpath - remove elm textpath inheritance.

6 years agotheme: video - remove elm video inheritance
Amitesh Singh [Wed, 11 Apr 2018 09:12:09 +0000 (18:12 +0900)]
theme: video - remove elm video inheritance

6 years agotheme: win - remove elm win inheritance
Amitesh Singh [Wed, 11 Apr 2018 09:10:57 +0000 (18:10 +0900)]
theme: win - remove elm win inheritance

6 years agotheme: slider - remove elm slider inheritance.
Amitesh Singh [Wed, 11 Apr 2018 09:09:32 +0000 (18:09 +0900)]
theme: slider - remove elm slider inheritance.

6 years agotheme: scroller - remove elm scroller inheritance
Amitesh Singh [Wed, 11 Apr 2018 09:08:08 +0000 (18:08 +0900)]
theme: scroller - remove elm scroller inheritance

6 years agothemes: cursor - remove elm cursor inheritance.
Amitesh Singh [Wed, 11 Apr 2018 09:01:50 +0000 (18:01 +0900)]
themes: cursor - remove elm cursor inheritance.

6 years agothemes: frame - remove elm frame inheritance.
Amitesh Singh [Wed, 11 Apr 2018 08:58:30 +0000 (17:58 +0900)]
themes: frame - remove elm frame inheritance.

6 years agotheme: focus - remove elm focus highlight inheritance.
Amitesh Singh [Wed, 11 Apr 2018 08:46:37 +0000 (17:46 +0900)]
theme: focus - remove elm focus highlight inheritance.

6 years agotheme: calendar - remove elm btn inheritance.
Amitesh Singh [Wed, 11 Apr 2018 08:42:19 +0000 (17:42 +0900)]
theme: calendar - remove elm btn inheritance.

6 years agotheme: border - remove elm border inheritance
Amitesh Singh [Wed, 11 Apr 2018 08:33:37 +0000 (17:33 +0900)]
theme: border - remove elm border inheritance

and add full edc theme.

6 years agotheme: bg - remove the elm bg inheritance
Amitesh Singh [Wed, 11 Apr 2018 03:47:03 +0000 (12:47 +0900)]
theme: bg - remove the elm bg inheritance

6 years agoDisable getuid feature to fix build error on arm environment
Wonki Kim [Fri, 13 Apr 2018 04:38:53 +0000 (13:38 +0900)]
Disable getuid feature to fix build error on arm environment

Change-Id: I97760b84e104503bc6d2b5ba7d8cf6e9df531b4d

6 years agoelc_popup: no need to make them focusable
Marcel Hollerbach [Wed, 11 Apr 2018 08:36:24 +0000 (10:36 +0200)]
elc_popup: no need to make them focusable

if they have content the content will be focusable, if there is no
content the rect of root_focus will be focused instead.

6 years agoefl_ui_focus_manager_root_focus: maintain focus state over state eval
Marcel Hollerbach [Wed, 11 Apr 2018 08:33:19 +0000 (10:33 +0200)]
efl_ui_focus_manager_root_focus: maintain focus state over state eval

the rect is unregistered and registered again, if it was focused, still
focus it.

6 years agoelm_suite: a new testcase for checking focus chains with redirects
Marcel Hollerbach [Tue, 10 Apr 2018 14:51:26 +0000 (16:51 +0200)]
elm_suite: a new testcase for checking focus chains with redirects

6 years agoecore ipc - fix send to skip data payload if null/0
Carsten Haitzler (Rasterman) [Wed, 11 Apr 2018 05:34:40 +0000 (14:34 +0900)]
ecore ipc - fix send to skip data payload if null/0

conversion to efl.nmet didnt deal with null/0 zised payloads properly
and tried to send them, resulting in lots of ERR complaints which were
not errors. fix that to not try and send such empty payloads

@fix

6 years agoecore_evas: remove dead code.
Cedric Bail [Tue, 10 Apr 2018 22:01:23 +0000 (15:01 -0700)]
ecore_evas: remove dead code.

6 years agoevas: we directly use the main loop, we do not need external integration anymore.
Cedric Bail [Tue, 10 Apr 2018 21:39:21 +0000 (14:39 -0700)]
evas: we directly use the main loop, we do not need external integration anymore.

6 years agoevas: protection during canvas shutdown.
Cedric Bail [Tue, 10 Apr 2018 21:02:48 +0000 (14:02 -0700)]
evas: protection during canvas shutdown.

6 years agoefl_canvas_animation_player: Reset map after animation is finished
Jaehyun Cho [Tue, 10 Apr 2018 13:03:26 +0000 (22:03 +0900)]
efl_canvas_animation_player: Reset map after animation is finished

Previously, beginning state of animation is applied after animation is
finished if final_state_keep_get() is false.

Now, map is reset (no animation is applied) after animation is finished
if final_state_keep_get() is false.

6 years agoefl_canvas_animation_player: Change Running_Event_Info to Event_Running
Jaehyun Cho [Tue, 10 Apr 2018 13:24:28 +0000 (22:24 +0900)]
efl_canvas_animation_player: Change Running_Event_Info to Event_Running

To synchronize other types of event info,
Efl_Canvas_Animation_Player_Running_Event_Info is changed to
Efl_Canvas_Animation_Player_Event_Running.

Remove unused struct.

6 years agoecore_file: switch from buf to tmpstr
Marcel Hollerbach [Tue, 10 Apr 2018 09:52:49 +0000 (11:52 +0200)]
ecore_file: switch from buf to tmpstr

before  c65782b15c0af7c25c5506cdf79cbbfa39604fec the acutal path has
been filled into buf, with eina_file_mkstemp the string is filled into
tmpstr, so that path should be chmoded instead of the template buf.

Thx to MatP for the report!

6 years agoelm_suite: fixup test suite
Marcel Hollerbach [Mon, 9 Apr 2018 23:46:30 +0000 (01:46 +0200)]
elm_suite: fixup test suite

the testcase was only added, but not executed, my bad!