platform/upstream/efl.git
6 years agoedje: Calculate text.fit for multiline Textblock properly 46/168946/2
Youngbok Shin [Thu, 1 Feb 2018 09:43:38 +0000 (18:43 +0900)]
edje: Calculate text.fit for multiline Textblock properly

@tizen_fix

Change-Id: Ic86448da2e5ddf3e2a11030c9cd74ed677474737

6 years agoevas_object_textblock: add null checks for EAPIs 68/169468/2
WooHyun Jung [Wed, 7 Feb 2018 05:19:46 +0000 (14:19 +0900)]
evas_object_textblock: add null checks for EAPIs

Change-Id: I7381778078b7f73f5ed68361e82f123164f73a34

6 years agoecore_evas_wl: add damage only when rendering
Boram Park [Fri, 8 Dec 2017 08:23:16 +0000 (17:23 +0900)]
ecore_evas_wl: add damage only when rendering

Change-Id: I464887cc43a0053b1d3c89f4a0fd6224cd517c35

6 years agoevas textblock: Add missing initialization code for ellipsis
Youngbok Shin [Tue, 6 Feb 2018 10:42:33 +0000 (19:42 +0900)]
evas textblock: Add missing initialization code for ellipsis

The ellipsis variable in main structure was added for internal API.
- evas_object_textblock_ellipsis_set()

@tizen_fix

Change-Id: I3a43280fbc970db52c5802ee705fa662abe667dc

6 years agoevas: add null checks to handle when e->engine.func is not set yet 93/169293/1
WooHyun Jung [Mon, 5 Feb 2018 13:19:44 +0000 (22:19 +0900)]
evas: add null checks to handle when e->engine.func is not set yet

Change-Id: I7de1c0767079722629dedd4f7476cec60f8ebf0b

6 years agoefl_ui_clock: Disabled ticker feature. 49/169249/2
Woochan Lee [Mon, 5 Feb 2018 07:12:17 +0000 (16:12 +0900)]
efl_ui_clock: Disabled ticker feature.

This is not Tizen datetime feature.

Change-Id: Ib5960b4e8f73a76711c97c3bb9107e922d62672a

6 years ago ecore_evas: disable ecore_evas_render_sync feature until stable state 60/169260/3
Jiyoun Park [Mon, 5 Feb 2018 08:09:29 +0000 (17:09 +0900)]
   ecore_evas: disable ecore_evas_render_sync feature until stable state

   upstream's default value of ecore_evas_render_sync is 1.
   so render sync featur turned on automatically.
   until we reach the stable state, turn off this feature like Tizen 4.0.
   we will trun on this feature after enought test.

Change-Id: Ie10f0c5396cc695a41dc75f18ee16467fe159efc

6 years agoefl_ui_win: added code to set the window title while using precreated_win_obj in... 20/168820/3
jiin.moon [Wed, 31 Jan 2018 07:27:47 +0000 (16:27 +0900)]
efl_ui_win: added code to set the window title while using precreated_win_obj in elm_win_add

original commit : 029c879ec13ec19266e0c0862476ae16931f8820

Change-Id: I1e2cd0f46ce4da3d0acb8060c505fb3f289565a2

6 years ago efl_ui_win: added resize,end signal for mouse up 24/168824/2
jiin.moon [Wed, 31 Jan 2018 07:59:02 +0000 (16:59 +0900)]
 efl_ui_win: added resize,end signal for mouse up

 To notify of end of resize without mouse in/out event, added
 elm,action,resize,end signal handler/emitter

 original commit : 18a31c9fbdff6140aa89b0604bca3c2fe771f793

Change-Id: I3249bac260fef0b9d28131314daa1194d5db89a4

6 years ago evas render: Gurantee the cache validation of source objects. 19/167019/2
jiin.moon [Mon, 15 Jan 2018 05:19:21 +0000 (14:19 +0900)]
 evas render: Gurantee the cache validation of source objects.

  This workaround code forcely make few object's state is up to date.
  In a rare case, some source objects won't be updated properly.
  It seems a rendering context bug or a side effect by a potential context corruption of the smart ob~

  commit from e640383904295e6a1665d7c1ef8a44d2c7a1b223

Change-Id: I0a82a41d1331c98491fb35e9ceb3239bf39f546d

6 years agoelementary: Fix to send a proper window type value to the server 30/168830/3
Wonki Kim [Wed, 31 Jan 2018 07:52:33 +0000 (16:52 +0900)]
elementary: Fix to send a proper window type value to the server

Change-Id: I563b662abd51e76e8887134ccfb7edd36c10b0e9
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoecore_wl2: Set default type to keep backward compat
Wonki Kim [Fri, 2 Feb 2018 07:56:29 +0000 (16:56 +0900)]
ecore_wl2: Set default type to keep backward compat

Change-Id: I236067864e6d15184fe69454cc672f5ff3200f8d
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoelm: use Dbus securely
Shinwoo Kim [Fri, 2 Feb 2018 10:11:18 +0000 (19:11 +0900)]
elm: use Dbus securely

The Efl.Access.Attribute is using key and value.
The value could be NULL. If the value is NULL, then following error occurs.

*error:
arguments to dbus_message_iter_append_basic() were incorrect,
assertion "_dbus_check_is_valid_utf8 (*string_p)" failed
in file ../../dbus/dbus-message.c line 2712.
This is normally a bug in some application using the D-Bus library.
Array or variant type requires that type string be written, but end_dict_entry
was written.
The overall signature expected here was 'a{ss}' and we are on byte 3 of that
signature.

Change-Id: I474362b3c364e7f97a88515c0c20d35c796c4c50

6 years agoelm: fix typo - do not send role changed signal 47/169047/1
Shinwoo Kim [Fri, 2 Feb 2018 05:03:15 +0000 (14:03 +0900)]
elm: fix typo - do not send role changed signal

Change-Id: Iab7a14a0bebd67d9de48205fe5f7d481a71bf785

6 years ago[Accessibility][elm_toolbar]: In navigation style, selected item not read as selected... 35/169035/3
Shilpa Singh [Fri, 2 Feb 2018 03:15:38 +0000 (12:15 +0900)]
[Accessibility][elm_toolbar]: In navigation style, selected item not read as selected issue fix.

Change-Id: I4112c8ce5433f77d0a840f008a2dd3202e1e47bb

6 years agoFixes endless recursion in accessible attribute api 25/168925/3
Lukasz Wlazly [Thu, 1 Feb 2018 06:54:39 +0000 (15:54 +0900)]
Fixes endless recursion in accessible attribute api

Change-Id: I66c88168c6712b86c65a88fe5d551eccb098e768

6 years agoelm: fix infinite call of description_get 39/169039/2
Shinwoo Kim [Fri, 2 Feb 2018 04:22:51 +0000 (13:22 +0900)]
elm: fix infinite call of description_get

Change-Id: I85c3ae99cc07d800c2e20da0350e0f9a167c2924

6 years agoecore_wl2: add function to set window size by client. 34/168934/3
Hosang Kim [Thu, 1 Feb 2018 08:00:05 +0000 (17:00 +0900)]
ecore_wl2: add function to set window size by client.

Change-Id: I5b69389b97c84d9592f6c64fa799035c923e714f

6 years agoecore_wl2: add a touch device for a touch cancel event 57/168957/4
JengHyun Kang [Thu, 1 Feb 2018 10:57:29 +0000 (19:57 +0900)]
ecore_wl2: add a touch device for a touch cancel event

Change-Id: I87fdaafe4b8c98c36145562cad0d605345fe6c21

6 years agoefl_ui_image_zoomable: add null checking 22/168922/2
Taehyub Kim [Thu, 1 Feb 2018 06:02:43 +0000 (15:02 +0900)]
efl_ui_image_zoomable: add null checking

Change-Id: Iadc973cff684b54dbfff37041fd3600a13aed937

6 years agoecore_event: Check for the valid type 74/168874/3
Myoungwoon Roy, Kim [Wed, 31 Jan 2018 09:53:09 +0000 (18:53 +0900)]
ecore_event: Check for the valid type

Summary:
This patch checks for the valid types.
As mentioned API reference documentation, user must know its type before hand.
The type should be chedked like previous efl version and ecore_event_type_flush_internal()

Test Plan: Execute a ecore test suite.

Reviewers: cedric, raster, jpeg, stefan_schmidt, Jaehyun_Cho

Subscribers: cedric

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

Change-Id: I43ea4c10ad7b332b6a5b959cbb7afe5fa7c3b6fc

6 years agoFix: Remove spaces. 24/168924/1
Myoungwoon Roy, Kim [Thu, 1 Feb 2018 06:32:30 +0000 (15:32 +0900)]
Fix: Remove spaces.

Change-Id: Id7746f252076cf8e97703ff34634b6f4532a8467

6 years agoecore_main: Check for the valid flag 73/168873/2
Myoungwoon Roy, Kim [Wed, 31 Jan 2018 09:04:09 +0000 (18:04 +0900)]
ecore_main: Check for the valid flag

Summary:
This patch checks for the valid Ecore_Fd_Handler_Flags.
The flags should be checked like previous verion because
There are no default handlings in case of out of Ecore_Fd_Handler enum values in other funcs.

Test Plan: Execute a test case

Reviewers: cedric, raster, jpeg, stefan, Jaehyun_Cho

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

Change-Id: I11476f4d6c445fb071de0017fa6f2f9f63acce31

6 years agoUse ERR instead of CRI if *DATA_GET* returns NULL 21/168921/2
Shinwoo Kim [Thu, 1 Feb 2018 05:37:12 +0000 (14:37 +0900)]
Use ERR instead of CRI if *DATA_GET* returns NULL

Change-Id: Ie16a5416e05fbc8a81a0f626c7efb8bb8ec1d650

6 years agoevas_gl : bugfixed - it could not get the symbol. 03/168903/2
Joogab Yun [Thu, 1 Feb 2018 02:27:57 +0000 (11:27 +0900)]
evas_gl : bugfixed - it could not get the symbol.

Change-Id: I43cafc15b71e2a3b2814abd129ea57bee4a07226

6 years ago[atspi][elm_widget] add checking atspi mode in highlight grab/clear function. 33/168833/2
JunsuChoi [Wed, 31 Jan 2018 08:38:28 +0000 (17:38 +0900)]
[atspi][elm_widget] add checking atspi mode in highlight grab/clear function.

   highlight grab/clear use only be available in atspi mode.

Change-Id: Ie8dfedf536f9bb2043bd209b2c6d6e3fc0195a45

6 years agoFix embedding after stoping and restarting at-spi 29/168829/2
Radoslaw Cybulski [Wed, 31 Jan 2018 08:14:08 +0000 (17:14 +0900)]
Fix embedding after stoping and restarting at-spi

   Restarting at-spi doesnt remove __widget_proxy property from
   smart object. As a result, when proxy is queried for children,
   it will return previous at-spi object, which is already
   defuncted. This patch adds checking for defunct flag on object
   and reinitialization, if such object is found in __widget_proxy.

Change-Id: I38babc6ade2c7cfcd35d816bf7589cdf4940732a

6 years agoatspi: Use bottom up approach for PAGE_TAB 06/168806/2
Shinwoo Kim [Wed, 31 Jan 2018 05:46:07 +0000 (14:46 +0900)]
atspi: Use bottom up approach for PAGE_TAB

   The naviframe item is elm_layout, and its atspi role is ELM_ATSPI_ROLE_PAGE_TAB.
   The screen-reader could ask an object at point by using the naviframe item as a
   root object. In this case, elementary did not us bottom up approach.
   For the consistency, and to make it work better, This patch set is using the
   bottom up approach for the naviframe item.

Change-Id: Ic90e60f68af37ff32a455da7616a7c29a4de6b61

6 years agoefl_ui_image: add missing null check 58/168758/2
Jaeun Choi [Tue, 30 Jan 2018 11:07:24 +0000 (20:07 +0900)]
efl_ui_image: add missing null check

Change-Id: I6eccbf26e7008c6fc9c5d7fdb9941b4949b39586

6 years agoefl_ui_panes: Handle NULL object case 57/168757/3
Jaehyun Cho [Tue, 30 Jan 2018 10:28:19 +0000 (19:28 +0900)]
efl_ui_panes: Handle NULL object case

Change-Id: Ib64e194acd6f360d652c334bb99ab55060863c40

6 years agoelm_panes_legacy: Fix description of functions 56/168756/2
Jaehyun Cho [Tue, 30 Jan 2018 09:53:33 +0000 (18:53 +0900)]
elm_panes_legacy: Fix description of functions

Change-Id: I50ee33a95750302e7848860ee1bc5937d693de50

6 years agoecore_timer: Check for the valid callback func 71/168771/1
Myoungwoon Roy, Kim [Tue, 30 Jan 2018 05:43:11 +0000 (14:43 +0900)]
ecore_timer: Check for the valid callback func

Summary:
This patch checks whether the callback function is valid or not.
Callback function must be set up for the class.

Test Plan: Execute test suite

Reviewers: cedric, raster, stefan, Jaehyun_Cho

Subscribers: jpeg

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

Change-Id: I5ee3991cc01b696a47c52ee4ea6ccf22556350c4

6 years agogenlist : apply focus bg hide when list is scrolled 99/168699/1
SangHyeon Lee [Tue, 30 Jan 2018 07:26:21 +0000 (16:26 +0900)]
genlist : apply focus bg hide when list is scrolled

Change-Id: I88fe404c4de789b50c4ca355674314560996af1f
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agogenlist: update focus_bg when min size is recalced 95/168695/1
SangHyeon Lee [Tue, 30 Jan 2018 07:17:34 +0000 (16:17 +0900)]
genlist: update focus_bg when min size is recalced

Change-Id: I603d6c7ef8eaa63d85806e410c4a02f8d475f739
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agoecore: add a ref/unref APIs for ecore_device 87/168587/3
JengHyun Kang [Mon, 29 Jan 2018 10:59:25 +0000 (19:59 +0900)]
ecore: add a ref/unref APIs for ecore_device

Change-Id: Ia1bb16123b8e6afffca6a82fd5eabeadcdfdae5f

6 years agoecore_wl2: generate Ecore_Device_Add/Del events 39/168239/7
JengHyun Kang [Thu, 25 Jan 2018 06:41:31 +0000 (15:41 +0900)]
ecore_wl2: generate Ecore_Device_Add/Del events

Change-Id: I2cd40d865276e8a12891a5419211c7fdc965e952

6 years agoefl_ui_clock: To support clock module. 37/168637/3
Woochan Lee [Tue, 30 Jan 2018 04:19:52 +0000 (13:19 +0900)]
efl_ui_clock: To support clock module.

efl_ui_clock_private.h, elm_datetime.h needs in module.
Disable Upstream only codes.

Change-Id: I93327a2ce09ec0fee7a18bd210d901c1d4106c58

6 years agoecore_wl2_window: zxdg_surface's parent should have zxdg_surface 96/168596/2
Juyeon Lee [Mon, 29 Jan 2018 11:52:11 +0000 (20:52 +0900)]
ecore_wl2_window: zxdg_surface's parent should have zxdg_surface

even child is normal window, it could have parent without zxdg_surface
   (such as ECORE_WL2_WINDOW_TYPE_NONE, ECORE_WL2_WINDOW_TYPE_DND window)

Change-Id: I305405f57fca89d46e14466bb58f2627bddf7a18

6 years agoelm: quick fix to solve build break 99/168599/2
Shinwoo Kim [Mon, 29 Jan 2018 13:08:40 +0000 (22:08 +0900)]
elm: quick fix to solve build break

There is a build break on application side if the application does not define
EFL_EO_API_SUPPORT.

Change-Id: If39a0ea152c922362cc8c766889dbc2748a15af5

6 years agoUse efl_text_markup_set/get for elm_layout_text_set/get 99/168499/2
Shinwoo Kim [Mon, 29 Jan 2018 05:56:02 +0000 (14:56 +0900)]
Use efl_text_markup_set/get for elm_layout_text_set/get

This patch set has following upstream commit.

(1) commit 429e19563d15a02d3417ff8fffca994ce6685249

    elm: make elm_layout_text_set use efl_text_markup_set

    The elm_layout_text_get is using efl_text_markup_get by following commit.

        commit c07a40c745c5df1b1f6f0bbf666b233d8d072ca7
        elm: make elm_object_text_get return markup info as well.

        This commit solves following issue

        https://phab.enlightenment.org/T6642

        If I set object text as below
        elm_object_text_set(btn, "Some<br>text");
        then elm_object_text_get(btn) returns "Some text" not "Some<br>text".

    So using efl_text_markup_set makes sense.

(2) commit c07a40c745c5df1b1f6f0bbf666b233d8d072ca7

    elm: make elm_object_text_get return markup info as well.

    This commit solves following issue

    https://phab.enlightenment.org/T6642

    If I set object text as below
    elm_object_text_set(btn, "Some<br>text");
    then elm_object_text_get(btn) returns "Some text" not "Some<br>text".

Change-Id: I84ee20c6e30a201c0fbf22d7779ffb9187d1d07e

6 years agoelm: remove incorrect information from doc 98/168498/2
Shinwoo Kim [Mon, 29 Jan 2018 05:53:12 +0000 (14:53 +0900)]
elm: remove incorrect information from doc

Some public APIs have '@internal' keyword.

Change-Id: Id823bcbbbbf0bfbb5c3953e07a154103efdf4bc2

6 years agopopup: disable line wrap set to elm_label 76/168576/1
JinYong Park [Mon, 29 Jan 2018 09:54:31 +0000 (18:54 +0900)]
popup: disable line wrap set to elm_label

line wrap of label in popup is controlled by edc.
So it is not useful, but it cause size calc problem

@tizen_fix

Change-Id: I1e4f0d1af4c268ff77ceedd881fd436a36a3e67b
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agoatspi : Remove focus_region_show in access_highlight_grab 42/168542/2
JunsuChoi [Mon, 29 Jan 2018 07:40:00 +0000 (16:40 +0900)]
atspi : Remove focus_region_show in access_highlight_grab

   dont need focus_region_show when object is highlighted by highlight_grab
   region_show function is replaced by _accessible_highlight_region_show()

Change-Id: I6a0fee6a182ddf7db9eafb9d07ae30ac9a022ef0

6 years agoatspi : Do not send signal, if current object and highlight object are same 29/168529/2
JunsuChoi [Mon, 29 Jan 2018 07:26:16 +0000 (16:26 +0900)]
atspi : Do not send signal, if current object and highlight object are same

Change-Id: I227549edca84400faa5ec23c71886625643635f9

6 years agoedje/elementary: add missing APIs for color_class
Youngbok Shin [Mon, 29 Jan 2018 08:36:21 +0000 (17:36 +0900)]
edje/elementary: add missing APIs for color_class

@tizen_fix

Change-Id: I683e253d8710e8f98188cf213f0ba4585b2478b4

6 years agoelm: add undefined internal symbol 29/168429/3
Shinwoo Kim [Fri, 26 Jan 2018 12:15:09 +0000 (21:15 +0900)]
elm: add undefined internal symbol

And fix typo in efl_access_relation_set_relation_append

Change-Id: Ia4b7385a6d628e778fea28acf37df655577501c9

6 years ago[atspi] change accessible name to const char* - it is same with accessible description 25/168425/1
JunsuChoi [Fri, 26 Jan 2018 11:05:54 +0000 (20:05 +0900)]
[atspi] change accessible name to const char* - it is same with accessible description

   Please refer to following review

   https://phab.enlightenment.org/D4378

Change-Id: I1509fa566358688b668b246b9fd3f0046864db53

6 years agoelm: fix improper atspi_relationship related usage 34/168234/3
Shinwoo Kim [Thu, 25 Jan 2018 06:16:12 +0000 (15:16 +0900)]
elm: fix improper atspi_relationship related usage

This is a migration issue.

Change-Id: Id5e36b65d71e4e6d09c6c404d64015bd0db650cd

6 years agoelementary layout: add missing legacy internal APIs for handling valign
Youngbok Shin [Fri, 26 Jan 2018 04:21:55 +0000 (13:21 +0900)]
elementary layout: add missing legacy internal APIs for handling valign

It was made for C#.

@tizen_fix

Change-Id: Ic43165513cbba71fb02fb68cb72d8ccab993be92

6 years agoecore_con: Check for the valid port number 92/168192/4
Myoungwoon Roy, Kim [Thu, 25 Jan 2018 02:04:25 +0000 (11:04 +0900)]
ecore_con: Check for the valid port number

This patch checks whether the port number is valid or not.
The valid port number is an unsigned 16-bit integer, so 1-65535.
0 is reserved already.

  https://phab.enlightenment.org/D5761

Change-Id: I84c4a6786a45d04f479aa94bc5b3ce0d3162fd2d

6 years agoedje: apply proper textblock style which is created for "per object" color_class...
Youngbok Shin [Thu, 25 Jan 2018 11:30:57 +0000 (20:30 +0900)]
edje: apply proper textblock style which is created for "per object" color_class feature.

@tizen_fix

Change-Id: I9aad6e52d4a4bfabeae585d5420cbca4c25f6e7c

6 years agoeolian_gen: remove reference to elm_entry because it is not installed 07/168207/3
Sungtaek Hong [Wed, 24 Jan 2018 09:51:25 +0000 (18:51 +0900)]
eolian_gen: remove reference to elm_entry because it is not installed

Summary:
elm_entry.eo is not installed to system directory like
         "/usr/local/share/eolian/include/elementary-1", and
         eolian_gen tries to refer elm_entry.eo which results in failure.

Test Plan:
Create any eo class file which inherits Efl.Ui.Layout.
           eolian_gen eo_file.eo
           observe eolian_gen finishes

Reviewers: jpeg, herdsman, woohyun, Jaehyun_Cho, cedric

Subscribers: conr2d, id213sin, JongminLee

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

Change-Id: I00e2e6b082f97e30a3063beba67dc7357a1b1ce4

6 years agoelemenatry: fix crash issue when it failed to parse klass name for color_class
Youngbok Shin [Thu, 25 Jan 2018 11:26:13 +0000 (20:26 +0900)]
elemenatry: fix crash issue when it failed to parse klass name for color_class

It changed to parse new klass names and legacy klass names properly.
For example, Efl.Ui.Button and Elm_Button will be button as its klass prefix for color_class.

@tizen_fix

Change-Id: I92833e2e616900bcc02b4c499ba8e59651292d0d

6 years agoefl_ui_win: Fix to notify wayland once indicator mode changed
Wonki Kim [Thu, 25 Jan 2018 11:20:25 +0000 (20:20 +0900)]
efl_ui_win: Fix to notify wayland once indicator mode changed

this code block has not been merged from tizen branch.

Change-Id: I12eeafd09ce0d4a4a90e03cb0f5eec31a82bcdc9
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoecore-buffer: Add ecore_buffer tbm module and merge with the latest ecore-buffer... 40/168240/2
Gwanglim Lee [Thu, 25 Jan 2018 06:42:50 +0000 (15:42 +0900)]
ecore-buffer: Add ecore_buffer tbm module and merge with the latest ecore-buffer codes on the tizen 5.0

Change-Id: I5f068af45867f56ddb4e842d9b1cc3e94b5b21a8

6 years agoecore_con + extn: request E compositor to create socket 36/168236/1
Thiep Ha [Thu, 25 Jan 2018 06:27:44 +0000 (15:27 +0900)]
ecore_con + extn: request E compositor to create socket

In Tizen, the security does not allow 1 application to create
socket and other applications to connect to that socket.
All sockets should be created by system daemon or service.
Therefore, we request the E compositor to create sockets for us.
Besides, this patches also change the location of sockets to
avoid smack errors.

ref 4d81d8f1ef043853f05494005ab4c46ffe2a4599 and
    c173e3d4e4dcea93f7589b9360ea99d448e08301
@tizen_feature

Change-Id: I584c51632053e8e9f576ec69b8c4026f930c2be6

6 years agoelm: fix reculsive infinite call problem 97/168197/3
Shinwoo Kim [Thu, 25 Jan 2018 02:50:41 +0000 (11:50 +0900)]
elm: fix reculsive infinite call problem

Change-Id: I2f028e2787529a6056d099c77e63b3edf2075ff4

6 years agoefl_ui_win: fix a api break of elm_win_window_id_get against tizen branch 99/168199/2
Wonki Kim [Thu, 25 Jan 2018 02:52:37 +0000 (11:52 +0900)]
efl_ui_win: fix a api break of elm_win_window_id_get against tizen branch

elm_win_window_id_get returns a result of ecore_wl_window_surface_id_get in tizen branch
however, the api returns a result of ecore_wl2_window_id_get in upstream code.

the window manager team has been working on fixing related packages
to match up with new api, so that this patch will be revert soon.

Change-Id: Ibf25f7fb9670be84a5058a1747a0fbe1da010013
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoelm_genlist: add updating content logic when language is changed. 11/167711/3
SangHyeon Lee [Fri, 19 Jan 2018 08:34:21 +0000 (17:34 +0900)]
elm_genlist: add updating content logic when language is changed.

when language is changed, genlist content's text is not translated.
So I added elm_genlist_item_fields_update with
ELM_GENLIST_ITEM_FIELD_CONTENT.

@tizen_fix

Change-Id: Ie68de2a242e7b02eb4a877b19804846df9b345da
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agogenlist: fix unlimited circular function calls on content viewport geometry get and... 77/168077/2
SangHyeon Lee [Wed, 24 Jan 2018 05:05:42 +0000 (14:05 +0900)]
genlist: fix unlimited circular function calls on content viewport geometry get and group calc

Change-Id: Ie60d83b2920e97aefe7395a5a7ec7913ea6a77fe
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agoelm_priv: change wearable profile variable type char to int 76/168076/2
SangHyeon Lee [Wed, 24 Jan 2018 05:00:14 +0000 (14:00 +0900)]
elm_priv: change wearable profile variable type char to int

To identify unsigned value of wearable profile,
change variable type to int.

Change-Id: I00806d1dbe70c2bb8bd5b0e435dd816cad0bf80f
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agoelm: remove duplicated smart callback description 07/168107/2
Shinwoo Kim [Wed, 24 Jan 2018 07:04:57 +0000 (16:04 +0900)]
elm: remove duplicated smart callback description

Change-Id: I74d61d35d20d2a0e08026db4cd31c4645a9c2a4d

6 years agoecore_wl2: fix build warnings 20/167920/3
JengHyun Kang [Tue, 23 Jan 2018 04:36:26 +0000 (13:36 +0900)]
ecore_wl2: fix build warnings

Change-Id: I9930a3b53e8b028e68846ccc072e6d3e03e8392d

6 years agoRevert "elementary: remove elementary-theme package" 63/168063/1
Wonki Kim [Wed, 24 Jan 2018 03:59:06 +0000 (12:59 +0900)]
Revert "elementary: remove elementary-theme package"

this package has been excluded from a binary image.

This reverts commit 699e11e600953585d6f2798449cd6c75b159ce89.

Change-Id: Icdad5652d31a9b49185f0085a5088564b33338df

6 years agoelm_widget_item: add at-spi name setter 33/167733/14
JunsuChoi [Fri, 19 Jan 2018 10:43:07 +0000 (19:43 +0900)]
elm_widget_item: add at-spi name setter

   @tizen_feature
   +
   -------------------------------------------
   atspi: add i18n support for name and description

      Add new API to set atspi translation domain for name and description properties.
      If translation domain is not set name and a description strings
      will be used in its literal form.

      @tizen_feature
   -------------------------------------------

Change-Id: Ib668a8236cd49c2e4c354bfd535222ab9f64a99d

6 years agoecore-wl2: add wl_compositor_get from Ecore_Wl2_Display 36/168036/2
Wonsik, Jung [Tue, 23 Jan 2018 15:26:14 +0000 (00:26 +0900)]
ecore-wl2: add wl_compositor_get from Ecore_Wl2_Display

Add wl_compositor_get from Ecore_Wl2_Display to create wl_compositor_surface.
It is used for external cursor.

Change-Id: I2262f21d687283471e5cd715f6bcc9a35681d1d7

6 years agoelementary: remove elementary-theme package
Youngbok Shin [Tue, 23 Jan 2018 11:20:58 +0000 (20:20 +0900)]
elementary: remove elementary-theme package

default.edj will be removed from Tizen binary.

@tizen_fix

Change-Id: I83dc39115c149f05c86901fd9512779b234816ea

6 years agoevas : add sym_tbm_surface_internal_ref and sym_tbm_surface_internal_unref 06/168006/2
Joogab Yun [Tue, 23 Jan 2018 10:36:18 +0000 (19:36 +0900)]
evas : add sym_tbm_surface_internal_ref and sym_tbm_surface_internal_unref

Change-Id: I530dbbb85655f68fbf8f996f26a93f1a0638ec5d

6 years agoecore: support a Ecore_Device 73/167573/11
JengHyun Kang [Tue, 16 Jan 2018 04:12:57 +0000 (13:12 +0900)]
ecore: support a Ecore_Device

Change-Id: I63ad58b537f804867acb77f9a530b7e02005dce2

6 years agogenlist: fix genlist unshown bug 23/167923/2
SangHyeon Lee [Tue, 23 Jan 2018 04:52:27 +0000 (13:52 +0900)]
genlist: fix genlist unshown bug

Change-Id: Id2a0b7d1a3b5ca4c9aa7edde6de3e17d6ff7387f
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agogenlist: fix changed function exception handling 77/167877/2
SangHyeon Lee [Mon, 22 Jan 2018 13:34:16 +0000 (22:34 +0900)]
genlist: fix changed function exception handling

Change-Id: If1abca7ddb35e97cbd7bd459216e1ea4785e4419
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agoelm: Fix typo checking ecore_evas for efl_access_component_extents 75/167875/2
Shinwoo Kim [Mon, 22 Jan 2018 13:14:26 +0000 (22:14 +0900)]
elm: Fix typo checking ecore_evas for efl_access_component_extents

Change-Id: I17a41fab0e93aeadba5fefefda156c04e05dc70c

6 years agoecore_main: Check for null ptr deref 47/167847/3
Myoungwoon Roy, Kim [Mon, 22 Jan 2018 09:50:26 +0000 (18:50 +0900)]
ecore_main: Check for null ptr deref

This patch fixes a tentative crash owing to dereference of fd_handler.

Change-Id: I136473869f4babfec95039609609306a2feb4692

6 years agoelementary config: Fix to use ELEMENTARY_BASE_DIR for configure path
Youngbok Shin [Mon, 22 Jan 2018 11:51:18 +0000 (20:51 +0900)]
elementary config: Fix to use ELEMENTARY_BASE_DIR for configure path

I think it is a mistake from upstream authors.
A hard coded path, ".elementary", must be replcaed with ELEMENTARY_BASE_DIR macro.
I uploaded an upstream patch.
https://phab.enlightenment.org/D5755

@tizen_fix

6 years agoefl_ui_multibuttonentry : role changed ROLE_PANEL to ROLE_FILLER 94/167694/4
JunsuChoi [Fri, 19 Jan 2018 08:02:10 +0000 (17:02 +0900)]
efl_ui_multibuttonentry : role changed ROLE_PANEL to ROLE_FILLER

Change-Id: I6adfdd066917b8a4880c4ddba4902e7599fd02f2

6 years agoatspi : remove warning and support HIGHLIGHTED state. 35/167535/6
JunsuChoi [Thu, 18 Jan 2018 06:22:13 +0000 (15:22 +0900)]
atspi : remove warning and support HIGHLIGHTED state.

Change-Id: I193349d5909955a219f610b65e9d80c8505229f6

6 years agoecore_evas: Fix typo 60/167860/2
Jaehyun Cho [Mon, 22 Jan 2018 11:12:02 +0000 (20:12 +0900)]
ecore_evas: Fix typo

Fix typo of ba2914b44b64c928fd3abf10b8604d5d4b136e2f

Change-Id: I5b92b15e65fb5f42d8998993a02efb06b3fa8fe0

6 years agogenlist & scrl_ifce : apply tizen only feature - pan_pos_adjust and align 16/167216/7
SangHyeon Lee [Tue, 16 Jan 2018 07:45:00 +0000 (16:45 +0900)]
genlist & scrl_ifce : apply tizen only feature - pan_pos_adjust and align

@tizen_fix

Change-Id: Ib3f0ef814edc3f0c7c061c4db5b52ffc7aa0e113
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agogenlist: fix genlist extra ops 50/167850/1
SangHyeon Lee [Mon, 22 Jan 2018 09:59:45 +0000 (18:59 +0900)]
genlist: fix genlist extra ops

Change-Id: I12ae6ffd82cd3bf8a3932d75332d980b28fcd37a

6 years agogengrid & scroll_ifce : update tizen only feature - custom_pan_pos, wanted_region 44/167044/9
SangHyeon Lee [Mon, 15 Jan 2018 06:25:34 +0000 (15:25 +0900)]
gengrid & scroll_ifce : update tizen only feature - custom_pan_pos, wanted_region

@tizen_fix

Change-Id: Ic51bfae912f1bcf34a285b23cee1c4e003a292b6
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agoecore_evas: Check for null ptr deref 88/167788/4
Myoungwoon Roy, Kim [Mon, 22 Jan 2018 05:44:09 +0000 (14:44 +0900)]
ecore_evas: Check for null ptr deref

This patch fixes a tentative crash owing to ptr deference.
Unlike ecore_evas_object_cursor_set and ecore_evas_object_cursor_device_set,
ecore_evas_cursor_set uses Ecore_Evas *ee before calling internal function which
internally checks null ptr dereference of Ecore_Evas *ee.

Change-Id: I555fc1e5c4c1c0ff3e6418996b7e144eb42f0b7f

6 years agoecore_anim: Check for null ptr deref 77/167777/4
Myoungwoon Roy, Kim [Mon, 22 Jan 2018 04:16:24 +0000 (13:16 +0900)]
ecore_anim: Check for null ptr deref

This patch fixes a tentative crash owing to null ptr dereference.

Change-Id: I2c7e618e319aff5323247d332b33738398875257

6 years agoelementary: Add missed type for legacy. 23/167823/1
Woochan Lee [Mon, 22 Jan 2018 08:03:57 +0000 (17:03 +0900)]
elementary: Add missed type for legacy.

Summary:
We've been missed type of class name.

Add legacy class name to maintain compatibility.

Reviewers: jpeg, woohyun, Jaehyun_Cho

Subscribers: cedric, jpeg

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

Change-Id: I27cec817c0032fa068904213ae45c4f3fb0d490f

6 years agoRevert "[EXTN_GL] Add gl-backend in ecore_evas_extn"
Wonki Kim [Mon, 22 Jan 2018 06:56:05 +0000 (15:56 +0900)]
Revert "[EXTN_GL] Add gl-backend in ecore_evas_extn"

This reverts commit f755812ca929c0cd71dfa4071f9e8c4f9bdd2ab6.

6 years agoctxpopup: fix build warning 02/167802/4
JinYong Park [Mon, 22 Jan 2018 06:37:38 +0000 (15:37 +0900)]
ctxpopup: fix build warning

@tizen_fix

Change-Id: I2c6f67b25cf07e2a01208683cea7154a54413bae
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agoselection: remove elm_cnp.c 08/167808/2
Thiep Ha [Mon, 22 Jan 2018 07:20:19 +0000 (16:20 +0900)]
selection: remove elm_cnp.c

elm_cnp.c had been removed in upstream, but it is not removed in tizen.
It is a bug in migration.

Change-Id: I63cde8d1efa0b2b68c9366a615ab1c3321f2c12d

6 years agoelementary: replace all HAVE_ELEMENTARY_WAYLAND to HAVE_ELEMENTARY_WL2
Youngbok Shin [Mon, 22 Jan 2018 06:29:35 +0000 (15:29 +0900)]
elementary: replace all HAVE_ELEMENTARY_WAYLAND to HAVE_ELEMENTARY_WL2

The WAYLAND macro was replaced with WL2 from upstream EFL.
The WAYLAND macro was used in Tizen only code. It should be replcaed with WL2, too.

@tizen_fix

6 years agoedje, elementary: fix warning messages from Tizen only code
Youngbok Shin [Mon, 22 Jan 2018 04:49:45 +0000 (13:49 +0900)]
edje, elementary: fix warning messages from Tizen only code

It fixes warning messages from the following widgets of elemenatry.
- elc_ctxpopup
- elc_popup
- elm_atspi_bridge
- elm_conform
- elm_widget

The authors who wrote the Tizen only code must revisit the widgets
to fix additional warning messages.
For next Tizen migration (6.0 or next?),
It must be considered as sepereated patches by seperated authors.

@tizen_fix

6 years agoRevert "elementary: Add missed type for legacy." 65/167765/1
WooHyun Jung [Mon, 22 Jan 2018 01:53:20 +0000 (10:53 +0900)]
Revert "elementary: Add missed type for legacy."

This reverts commit 2e71f63b2e28ff6282454e71f971116a67156aa8.

Change-Id: I0cff4d48d409a95ac68d8f524ca51dee81529e8f

6 years agoupdate Makefile.am of elementary-tizen for the consistency with elementary 52/167752/1
Jongmin Lee [Sun, 21 Jan 2018 23:14:23 +0000 (08:14 +0900)]
update Makefile.am of elementary-tizen for the consistency with elementary

Change-Id: Ib74b1d0ebb003a88b38ca93f24eedbeb49b24782

6 years agointerface_scrollable: Remove redundant code block
Wonki Kim [Mon, 27 Feb 2017 10:27:08 +0000 (19:27 +0900)]
interface_scrollable: Remove redundant code block

wanted-updates logics is paired working with wanted-set logic.
but there are coordinates mirroring logics on the both side.
It is useless to reverse value which is reversed.

@tizen_fix

Change-Id: If3909559def5280677116b2a00036875b54cbbd7
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agointerface_scrollable: update pan position once pan size is changed
Wonki Kim [Wed, 8 Feb 2017 09:31:06 +0000 (18:31 +0900)]
interface_scrollable: update pan position once pan size is changed

Becase bar is closely related with pan and content,
we have to update bar position and size on some event
such as position or size of pan is changed or size of content is
changed.

However bar related things are not updated,
even if pan changed callback is invoked by pan related changing.

This behavior makes invalid drag value and wrong drag value makes
scroller had a bad position.

@tizen_fix

Change-Id: I7f013fd9a05a7f139548c4e05dd1dfc088af8b4e
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agointerface_scrollable: Add "content,resize" callback to keep backward compat
Wonki Kim [Tue, 18 Jul 2017 11:15:21 +0000 (20:15 +0900)]
interface_scrollable: Add "content,resize" callback to keep backward compat

There was a "content,resize" callback before tizen 3.0.
Even if it was a tizen only code block, there could be a backward compat issue
without the callback.

This commit emits the callback after whole procedure for content resizing.finished.

@tizen_feature

Change-Id: I0eccf8ebc8c704e1403056c0078bd6625d612265
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agointerface_scrollable: Fix scroller to keep its page when changing lang
Wonki Kim [Thu, 18 Jan 2018 14:24:48 +0000 (23:24 +0900)]
interface_scrollable: Fix scroller to keep its page when changing lang

When mirrored mode is changed, scroller goes to the logical current page
by reverting the current wanted x position

However, that reverting logic doesn't take place when lang changed from rtl to ltr
This commit modifies mirrored_set api to keep its current page even if lang changed

@tizen_fix

Change-Id: I1fc75c796bac8644d1325b88b293ce09809e3025
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agointerface_scrollable: Modify logics to make scroller stable on tizen
Wonki Kim [Thu, 17 Nov 2016 06:05:57 +0000 (15:05 +0900)]
interface_scrollable: Modify logics to make scroller stable on tizen

This patch is for a tizen feature that makes scoller stable on tizen

@tizen_feature

Change-Id: I672ecf5f39c61facd1445a174d5061ddece96d16
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years ago[genlist] enable item align feature for wearable profile
Hosang Kim [Mon, 25 Apr 2016 09:34:02 +0000 (18:34 +0900)]
[genlist] enable item align feature for wearable profile

Change-Id: I76fc335ea8c33391f91190cbeadf9ee29de2ec96
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
6 years agoAdd overscroll effect
Wonki Kim [Thu, 18 Jan 2018 08:20:34 +0000 (17:20 +0900)]
Add overscroll effect

Change-Id: I064f44166ee0ebcf8c7cd06a0fa389946f41531e
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoelm_plug: Add plug message feature
Wonki Kim [Wed, 17 Jan 2018 11:13:48 +0000 (20:13 +0900)]
elm_plug: Add plug message feature

Change-Id: I453905c5b46311c38eb8ab0972f654ac820c5671
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoelementary: Add missed type for legacy. 91/167691/1
Woochan Lee [Fri, 19 Jan 2018 07:51:59 +0000 (16:51 +0900)]
elementary: Add missed type for legacy.

Summary:
We've been missed type of class name.

Add legacy class name to maintain compatibility.

Reviewers: jpeg, woohyun, Jaehyun_Cho

Subscribers: cedric, jpeg

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

Change-Id: I69146f9427b55fd7dd91b30bee4017cb13fd36c2

6 years agoelm_genlist : Synchronize accessibility code(2) 57/167657/1
JunsuChoi [Fri, 19 Jan 2018 05:12:44 +0000 (14:12 +0900)]
elm_genlist : Synchronize accessibility code(2)

   add children_get function to get contents of item.
   +
   ------------------------------------------------------
   [ATSPI][elm_genlist] Remove ", header" from the atspi name.

      Remove the code to add ", header" to name when genlist's item is group type.
      "header" read out screen reader side.
   ------------------------------------------------------

Change-Id: I6669c72a49a3967831796e39142ce03fd25cd9cb