platform/upstream/efl.git
6 years ago[eldbus-service] add parameters and return type description for doxygen (opensource... 34/157734/2
JinYong Park [Thu, 26 Oct 2017 04:50:21 +0000 (13:50 +0900)]
[eldbus-service] add parameters and return type description for doxygen (opensource merged)

Summary : Add omitted descriptions for doxygen warning

Test Plan : API Doxygen Revision

Change-Id: I64e67bf8ec6062249345d278305c55b77977eec5
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years ago[eldbus signal handler] add param, return type description for doxygen (opensource... 32/157732/1
JinYong Park [Thu, 26 Oct 2017 04:47:29 +0000 (13:47 +0900)]
[eldbus signal handler] add param, return type description for doxygen (opensource merged)

Summary : Add omitted description to eldbus signal handler for doxygen warning

Test Plan : API Doxygen Revision

Change-Id: I839408dcf6e350de6fd740229b27cbd83f336e98
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agoeina_ustringshare: Add description of return to resolve doxygen warning 24/157724/1
Jaehyun Cho [Thu, 26 Oct 2017 02:47:45 +0000 (11:47 +0900)]
eina_ustringshare: Add description of return to resolve doxygen warning

Change-Id: I1994dbb3bf628c67c43763c8521fcfe7c5179308

6 years agoeina_stringshare: Fix doxygen warning 23/157723/1
Jaehyun Cho [Thu, 26 Oct 2017 02:42:07 +0000 (11:42 +0900)]
eina_stringshare: Fix doxygen warning

Change-Id: Id2f9e8b16d7e1dd581b71df6842f1b467e535634

6 years agoeina_str: Fix doxygen warning 22/157722/1
Jaehyun Cho [Thu, 26 Oct 2017 02:39:00 +0000 (11:39 +0900)]
eina_str: Fix doxygen warning

Change-Id: I4cac2b3836f8d0fb05d76b039af66b41fca0c19f

6 years agoeina_strbuf: Fix doxygen warning 21/157721/1
Jaehyun Cho [Thu, 26 Oct 2017 02:24:08 +0000 (11:24 +0900)]
eina_strbuf: Fix doxygen warning

Change-Id: I82b15f1352f6a7925d7cde0dfb91c3d835a35dd7

6 years agoeina_module: Add description of parameter to resolve doxygen warning 20/157720/1
Jaehyun Cho [Thu, 26 Oct 2017 02:19:11 +0000 (11:19 +0900)]
eina_module: Add description of parameter to resolve doxygen warning

Change-Id: I545b68e86976d4e2479fbf87ff5a8b38b9905c13

6 years agoeina_matrix: Fix doxygen warnings 60/157660/4
Jaehyun Cho [Wed, 25 Oct 2017 12:35:27 +0000 (21:35 +0900)]
eina_matrix: Fix doxygen warnings

Change-Id: I7e697bae24170422d6253f91ce089d9485bd0e64

6 years agodoxygen: remove reference warnings. 56/157656/2
Jee-Yong Um [Wed, 21 Dec 2016 00:06:20 +0000 (16:06 -0800)]
doxygen: remove reference warnings.

Reviewers: cedric, jpeg

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

Change-Id: Ib395f8f0bfba2bcbb6493d4a16c8411a5e6f2e3c
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoeina: document matrix3 API routines. 49/157649/2
Bryce Harrington [Fri, 13 Oct 2017 18:47:56 +0000 (11:47 -0700)]
eina: document matrix3 API routines.

Summary: This adds missing doxygen documentation for eight matrix3 operations.

Reviewers: cedric

Subscribers: cedric, jpeg

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

Change-Id: I03fa59ce2bf569b2500bec8d6cd48d467773242b
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoeina: document matrix3 multiplication routines 45/157645/2
Bryce Harrington [Mon, 18 Sep 2017 17:35:38 +0000 (10:35 -0700)]
eina: document matrix3 multiplication routines

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Change-Id: I995fdd822a8020aae236996509ab009d612abe57
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
6 years agoEcore_Evas: Fix a typo for documentation comment 54/157654/2
Wonki Kim [Wed, 25 Oct 2017 11:48:32 +0000 (20:48 +0900)]
Ecore_Evas: Fix a typo for documentation comment

'@if' block should be ended with '@endif'
This patch fix the typo error.

Change-Id: I079146ceadbb03fa8886d3b68f6968f748f6d0f3
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoEcore_Con: Add missing information for documentation 53/157653/3
Wonki Kim [Wed, 25 Oct 2017 12:01:59 +0000 (21:01 +0900)]
Ecore_Con: Add missing information for documentation

Information for parameters is missing.
This patch append the information.

Change-Id: I6fe9e4ad84232f35829e2ea6bd671dc4c65cdb30
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoEcore_Evas: Add missing documentation comment 52/157652/1
Wonki Kim [Wed, 25 Oct 2017 12:06:04 +0000 (21:06 +0900)]
Ecore_Evas: Add missing documentation comment

There isn't any comment for ecore_evas_gl_tbm_new.
This patch append the information.

Change-Id: I0b71c8b2fc1523978ded2e4bf72081cd419015f0
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years ago[eina_log] add parameter description on "eina_log_level_check"'s annotation (opensour... 40/157640/2
JinYong Park [Wed, 25 Oct 2017 11:39:14 +0000 (20:39 +0900)]
[eina_log] add parameter description on "eina_log_level_check"'s annotation (opensource merged)

Summary : In eina_log_level_check's annotation, parameter description is missing,
so warning is occurred on doxygen

Test Plan : API Doxygen Revision

https://phab.enlightenment.org/D5375

Change-Id: I97f798dfa9e2f34f333ba64739663b0e94c06c70
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years ago[eina_file] fix space location in annotation (upstream merged) 39/157639/1
JinYong Park [Wed, 25 Oct 2017 11:37:46 +0000 (20:37 +0900)]
[eina_file] fix space location in annotation (upstream merged)

Summary : Space character is located in wrong position, so it occur doxygen warning

Test Plan : API Doxygen Revision

https://phab.enlightenment.org/D5374

Change-Id: I6c48470dde3e3b95c6f2ec309cbf82c2458a6938
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agoEnhance documentation 00/157100/1 accepted/tizen/unified/20171027.152001 submit/tizen/20171025.103743 submit/tizen/20171026.050851
Shinwoo Kim [Mon, 23 Oct 2017 10:09:10 +0000 (19:09 +0900)]
Enhance documentation

- evas_canvas.eo

Change-Id: I517b88ad1eb7654b83e1085b9b8d117c81e1c319

6 years agoedje: add missing documentation. 97/156997/2
Bowon Ryu [Mon, 23 Oct 2017 05:36:43 +0000 (14:36 +0900)]
edje: add missing documentation.

Summary: This adds missing doxgen documentation for Edje_Common.h

Test Plan: API Doxygen Revision

Reviewers: cedric, jpeg, myoungwoon

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

Change-Id: I58da66dd2e469223517d815dad82eb1d04b8e243
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoeet: add missing documentation. 44/156844/2
Bowon Ryu [Fri, 20 Oct 2017 06:48:30 +0000 (15:48 +0900)]
eet: add missing documentation.

Summary: This adds missing doxgen documentation for eet.

Test Plan: API Doxygen Revision

Reviewers: cedric, jpeg, myoungwoon

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

Change-Id: I1a9943ef30889f417895854a350614e0159084e2
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoeolian: fix incorrect doxygen param generation 95/156695/2
JinYong Park [Thu, 19 Oct 2017 12:07:33 +0000 (21:07 +0900)]
eolian: fix incorrect doxygen param generation

The first param on methods was skipped for some reason.

@fix

it is opensource patch

https://phab.enlightenment.org/rEFL1a34d89d20c3b90b103481a501764eec522d35aa

Change-Id: If3d5d8b05d901a99e2338b6a775ede49b01cea2c
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agoedje_object : fix doxygen warning 24/156624/1
JunsuChoi [Thu, 19 Oct 2017 07:14:41 +0000 (16:14 +0900)]
edje_object : fix doxygen warning

Change-Id: I080d56e8b3d3b8022c52ce328bab51cbc0dd75f2

6 years agofix doxygen warning about double quotation 71/156471/2 accepted/tizen/unified/20171025.075203 submit/tizen/20171020.120936
JinYong Park [Wed, 18 Oct 2017 11:48:27 +0000 (20:48 +0900)]
fix doxygen warning about double quotation

Change-Id: I1330590219cd9218faabfbbfbda9e20559586397
Signed-off-by: Jinyong Park<j4939.park@samsung.com>
6 years agoeina: add missing documentation for quad. 07/156307/2
Bowon Ryu [Wed, 18 Oct 2017 03:07:27 +0000 (12:07 +0900)]
eina: add missing documentation for quad.

Summary: This adds missing doxgen documentation for eina_quad.

Test Plan: API Doxygen Revision

Reviewers: cedric, jpeg, myoungwoon

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

Change-Id: Ic75927dad1e9e5efaec7f43a39840ef6b13a53bd
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoeina: add missing documentation for rectangle. 02/156302/2
Bowon Ryu [Tue, 17 Oct 2017 17:56:12 +0000 (10:56 -0700)]
eina: add missing documentation for rectangle.

Summary: This adds missing doxgen documentation for eina_rectangle.

Test Plan: API Doxygen Revision

Reviewers: cedric, jpeg, myoungwoon

Reviewed By: cedric

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

Change-Id: Iee180c3d42ec1d272f2b45269df6a3edc7699a10
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoeina: fix doxygen typo for eina_thread. 00/156300/3
Bowon Ryu [Tue, 17 Oct 2017 17:54:15 +0000 (10:54 -0700)]
eina: fix doxygen typo for eina_thread.

Summary: fix typo.

Test Plan: API Doxygen Revision

Reviewers: cedric, jpeg, myoungwoon

Reviewed By: cedric

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

Change-Id: I11cb4dc5961aee665e95750e68a9ea695ac7785e
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoeina: rename parameter for doxygen 30/156030/2
Bowon Ryu [Tue, 17 Oct 2017 04:14:39 +0000 (13:14 +0900)]
eina: rename parameter for doxygen

Summary:
Some parameter's name are different in annotations and statements,
so it occurs doxygen warning.
To fix it, rename that parameters.

Test Plan: API Doxygen Revision

Reviewers: raster, cedric, jpeg, myoungwoon, Jaehyun_Cho

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

Change-Id: Idd3f6f9ab4dc2aedd14735dfa4bfaacb3d863bc8
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoecore: remove doxygen warning messages 80/156280/2
Taehyub Kim [Wed, 18 Oct 2017 01:55:10 +0000 (10:55 +0900)]
ecore: remove doxygen warning messages

Change-Id: If48d5ef1f08b309b28b0fc6da60f1846d44a8be8

6 years agoevas: Fix missing case when check the event area 57/151757/2
jiin.moon [Fri, 22 Sep 2017 00:55:09 +0000 (09:55 +0900)]
evas: Fix missing case when check the event area

This patch inclues two commits

1) Fix missing case when check the event area
this commit from upstream patch
commit 4f8fe4889f7446664a13d9bbd6da76bcbbc98501
======================================================================
Summary:
If the object is outside the parent geometry because of map,
this object would be ignored in determining object is in the event area.

  Please refer to below case
  1) There are some button in the box object
  2) A button has map with 90 degree.
     It would be placed outside the box geometry
  3) If you press the button part outside the box,
     the button event does not work.

    Test Plan: sample code

    Reviewers: jpeg, cedric

    Differential Revision: https://phab.enlightenment.org/D5180
=======================================================================

2) evas: conside clipper when handling mouse evetn
This commit was reverted commit from tizne branch because side-effect.
commit 36cf654e126d7328d54b61b103fe84236d9a5a4c
Now the side-effect issue is fixed by 1) commit.
=======================================================================
Summary:
when an object is clipped,
mouse event area should be clipped as well.

this commit comes from upstream patches
f6b3c31561276a6c7afc8fb56ae2e5363772782c: basic logic for clipper
afbe8ade6b7f99d5158be931a13971bb0681509f: added logic for mapped objects
========================================================================

Change-Id: I4c65d5c28783629e71b0a840d5d11f4fe7a683b2

6 years agoeina_lock : remove typepo space in include 65/156065/2
SangHyeon Jade Lee [Tue, 17 Oct 2017 05:45:20 +0000 (14:45 +0900)]
eina_lock : remove typepo space in include

Change-Id: I8a92170ddf4e697ee8338bd88e787819724742c9
Signed-off-by: SangHyeon Jade Lee <dltkdgus1764@gmail.com>
6 years agoedje_cc: fix a memory leak issue when edje_cc writes images 25/156025/2
Youngbok Shin [Tue, 17 Oct 2017 04:07:03 +0000 (13:07 +0900)]
edje_cc: fix a memory leak issue when edje_cc writes images

Summary:
If there is no given pathes for image files as parameter of edje_cc,
"img_dirs" will be NULL. Then, a local variable "load_err" is always
EVAS_LOAD_ERROR_NONE. Because of this, the "if" condition just after
EINA_LIST_FOREACH() will fail. It causes memory leak from "iw".
@fix

Test Plan: N/A

Reviewers: raster, cedric, jpeg, woohyun

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Change-Id: I7d82df3258c227c9880fac6d81199782f45bc436

6 years agoEdje_Common: changed edje_audio ingroup tag to edje 35/156035/1
Taehyub Kim [Tue, 17 Oct 2017 04:43:59 +0000 (13:43 +0900)]
Edje_Common: changed edje_audio ingroup tag to edje

Change-Id: I7f1408d0f37a68451f2742cc684deb6cd5c697b5

6 years agoeolian gen: generate documentation for first object param if present 87/155787/2
SangHyeon Jade Lee [Mon, 16 Oct 2017 07:03:33 +0000 (16:03 +0900)]
eolian gen: generate documentation for first object param if present

eolian gen: generate documentation for first object param if present
This prevents doxygen from emitting warnings.

This commit is ported form upstream patch
rEFL5699466dbabc8a1b2bd6b46a49cb268c5db415e1

Change-Id: Ieb90d2367335b1eb4f62f904f15ec6d6cf3268a7
Author:     Daniel Kolesa <d.kolesa@osg.samsung.com>
Signed-off-by: SangHyeon Jade Lee <dltkdgus1764@gmail.com>
6 years agoeina: Remove texts for eina_model 79/154679/3
Myoungwoon Roy, Kim [Wed, 11 Oct 2017 05:02:06 +0000 (14:02 +0900)]
eina: Remove texts for eina_model
eio: Fix Eio_Group typo

Summary:
Since eina_model was dropped some year ago,
Remove eina_model related stuff.
Since there is no Eio_Group more,
Chage Eio_Group typo to Eio

Change-Id: I37bb193b9254f8bfd8fde22c39d684ddfbd79116

6 years ago[Ecore_File] rename parameter for doxygen 94/155694/2
JinYong Park [Mon, 16 Oct 2017 02:58:16 +0000 (11:58 +0900)]
[Ecore_File] rename parameter for doxygen

Summary :

Some parameter's name are different in annotations and statements,
so it occurs doxygen warning.
To fix it, rename that parameters.

Test Plan : API Doxygen Revision

https://phab.enlightenment.org/D5313

Change-Id: I371bea0d3d3b6e66602385452d8555159bdcb44f
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years ago[Ecore_Ipc] rename parameters and annotations for doxygen 93/155693/1
JinYong Park [Mon, 16 Oct 2017 02:55:46 +0000 (11:55 +0900)]
[Ecore_Ipc] rename parameters and annotations for doxygen

Summary :

Some parameters' name are different in annotations and statements,
so it occurs doxygen warning.
To fix it, change it appropriately.

Test Plan : API Doxygen Revision

https://phab.enlightenment.org/D5316

Change-Id: I1321cc02a064b65c40417209466014afd179295f
Signed-off-by: JinYong Park <j4939.park@samsung.com>
6 years agoecore_glib: marking active only if there are events to handle 12/155612/6
Boram Park [Sun, 15 Oct 2017 10:02:57 +0000 (19:02 +0900)]
ecore_glib: marking active only if there are events to handle

If select() returns 0, we expact rfds doesn't contains any fds. But even if
select() returns 0, rfds sometimes contains a wayland fd. It makes wrong
behavior.

Once exit from select(), _ecore_main_awake_handler_call() should be called here
to call wl_display_cancel_read() or wl_display_read_events().
If not, deadlock can occur when g_main_context_dispatch calls a user callback
and a user callback calls wl_display_roundtrip which make read_count +2 in one
thread. Moreover, if the main thread sleeps to wait for the some events in
g_main_context_dispatch() or _ecore_idle_enterer_call() function, and if another
thread calls prepare_read(), deadlock also can occur in main thread because main
thread has slept to wait for something and it can't call read_event() or
cancel_event().

Change-Id: Ia786ba2b7c525611be7d0ab9036581e812ce3a2f

6 years agoevas_gl: add extensions for CTS 95/151595/4 submit/tizen/20171012.121301 submit/tizen/20171012.123430
Daekwang Ryu [Wed, 6 Sep 2017 06:57:03 +0000 (15:57 +0900)]
evas_gl: add extensions for CTS

shader_nultisample_interpolation and sample_shading
are added for VK-GL-CTS.

Change-Id: I6d0c2393138299fbc856d2824dad20e4380db034

6 years agoevas_gl: fix glGetFramebufferAttachmentParameteriv wrapper 94/151594/4
Daekwang Ryu [Thu, 21 Sep 2017 08:01:58 +0000 (17:01 +0900)]
evas_gl: fix glGetFramebufferAttachmentParameteriv wrapper

Change-Id: I6fd1a047310e0c692a20760200d9c19a1097d301

6 years agoevas_gl: add missed wrapper functions in GLES 3.0 93/151593/4
Daekwang Ryu [Thu, 21 Sep 2017 07:54:17 +0000 (16:54 +0900)]
evas_gl: add missed wrapper functions in GLES 3.0

Evas have to wrap below 3 functions.
glFramebufferTestureLayer, glInvalidateFramebuffer,
glInvalidateSubFramebuffer.

Change-Id: I43fccb00e82a276a9c9bc7c87c8d5b99dc7c4d58

6 years agoedje cc mo encoding leak - ensure data is freed when setting up encoding 31/154531/1
Carsten Haitzler (Rasterman) [Fri, 8 Jul 2016 09:53:11 +0000 (18:53 +0900)]
edje cc mo encoding leak - ensure data is freed when setting up encoding

this should fix CID 1306604

Change-Id: Ia5520234f5c9db082c54801d59c4ce3315f5f687

6 years agoedje_signal: reduce member count when deleted edje_signal_callback is found 19/139119/5
Sungtaek Hong [Mon, 17 Jul 2017 10:28:55 +0000 (19:28 +0900)]
edje_signal: reduce member count when deleted edje_signal_callback is found

    Summary:
     - when deleted callback is found _edje_signal_callback_move_last() is called
       in order to pack match array.
     - during _edje_signal_callback_move_last() index skips when another deleted
       callback is found, but does not reduce members_count.
     - this duplicates a remaining callback and calls the callback twice.

    Test Plan:
    1. add multiple edje_signal_callback by edje_object_signal_callback_add()
                  which have the same source, signal, func but different data.
               2. delete first and last callback by
                  edje_object_signal_callback_del/edje_object_signal_callback_del_full.
               3. emit edje_signal.
               4. observe one callback is called twice.

    Reviewers: SanghyeonLee, conr2d, jpeg

    Subscribers: cedric, jpeg

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

Change-Id: Ie6c8f2f05c7c4bdeb1ed692960588ab0b7244bfb
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
6 years agoecore file - use eina_file_mkstmp to solve umask complaint 58/153458/4
Sungtaek Hong [Thu, 28 Sep 2017 11:22:34 +0000 (20:22 +0900)]
ecore file - use eina_file_mkstmp to solve umask complaint

from upstream c65782b15c0af7c25c5506cdf79cbbfa39604fec

Change-Id: Ief258e897eb7004e4facec4422549b6e1562b834

6 years agoevas font: check returned value of FcPatternGet function 06/154406/2
Youngbok Shin [Fri, 29 Sep 2017 06:16:21 +0000 (15:16 +0900)]
evas font: check returned value of FcPatternGet function

Summary:
Evas should add font when only FcPatternGet function gives matched result.
@fix

Test Plan: N/A

Reviewers: raster, cedric, herdsman, jpeg

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

Change-Id: I19bfbfb6a041b896a675b177d65f8cce32f1f3b3

6 years agoedje_cc: Remove unused variable 'got_hash' 79/154479/1
Jean-Philippe Andre [Tue, 9 Aug 2016 01:56:29 +0000 (10:56 +0900)]
edje_cc: Remove unused variable 'got_hash'

got_hash will always be zero at the point where it's read.

Fixes CID 1261439

Change-Id: I921b66487e22b9badbfd8b071eca735e17ea9006

6 years agoedje entry: fill content info when text is deleted by imf event 71/154471/1
Youngbok Shin [Fri, 29 Sep 2017 06:29:31 +0000 (15:29 +0900)]
edje entry: fill content info when text is deleted by imf event

Summary:
There was missing info when text is deleted by _edje_entry_imf_event_delete_surrounding_cb().
@fix

Test Plan: N/A

Reviewers: kimcinoo, raster, cedric, jpeg, herdsman

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

Change-Id: I79a147326d52f7658f0dbf521a9c652378fbc5c1

6 years agoector: remove unused value 95/154295/1
Thiep Ha [Tue, 10 Oct 2017 04:19:03 +0000 (13:19 +0900)]
ector: remove unused value

The stored value of v_last is overwritten in another place,
its stored valued is not used.

Change-Id: Idfd3599cf37c95defe402c9fa9f53399f1537e41

6 years agoedje: remove redundant fetch code in file.set method 48/154248/1
Jee-Yong Um [Tue, 15 Mar 2016 18:39:47 +0000 (11:39 -0700)]
edje: remove redundant fetch code in file.set method

Summary:
Edje data structure is passed as a parameter, but in file.set method
_edje_fetch() is called one more time unnecessarily.

Reviewers: cedric, jpeg

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

Change-Id: I87ea885f9f47881b7ea17c4f39839c8f72e5becb
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoedje: Fix issue of null pointer dereference 39/154239/1
Chris Michael [Mon, 11 Jul 2016 15:19:01 +0000 (11:19 -0400)]
edje: Fix issue of null pointer dereference

Coverity reports that 'text' here is a null pointer dereference so
check for valid 'text' variable before trying to use it.

Fixes Coverity CID1267490

@fix

Change-Id: I432c1f52b7f719e0e631e69abaacb4447f50de45
Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoedje: fix memory leak for ninepatch image searching 86/153286/1
Youngbok Shin [Thu, 28 Sep 2017 07:36:53 +0000 (16:36 +0900)]
edje: fix memory leak for ninepatch image searching

@tizen_fix

Change-Id: I880b938f8103f2fb5d852c4004e0d55be3820e18

6 years agoevas_canvas: modified since tizen tag for changed function 53/153253/1
Taehyub Kim [Thu, 28 Sep 2017 06:06:17 +0000 (15:06 +0900)]
evas_canvas: modified since tizen tag for changed function

Change-Id: I6b58893e1ad0b73b4f50854165eecd95c61d10a2

6 years agoedje: Add missing fields in ellipsize 59/153159/2
Youngbok Shin [Thu, 28 Sep 2017 04:35:45 +0000 (13:35 +0900)]
edje: Add missing fields in ellipsize

@tizen_fix

Change-Id: I98713c773fd8f1333eff6630ee6bc856b5d56a8e

6 years agoevas: Handle cursor per cluster for ARABIC script 83/151583/2
Youngbok Shin [Thu, 21 Sep 2017 08:06:21 +0000 (17:06 +0900)]
evas: Handle cursor per cluster for ARABIC script

@tizen_fix

Change-Id: Iac90173069e91f78798c247953733524b3d71f75

6 years agodisable cserve 31/152331/2
Jongmin Lee [Tue, 26 Sep 2017 00:38:03 +0000 (09:38 +0900)]
disable cserve

Change-Id: I35cf63b3ec6707e40894d64de966afef92ebf805

6 years agoeina_file: Ensure populate is safe to call 17/151517/2 accepted/tizen/unified/20170929.081243 submit/tizen/20170928.042726
jiin.moon [Wed, 20 Sep 2017 10:41:48 +0000 (19:41 +0900)]
eina_file: Ensure populate is safe to call
Fix map_populate on the global map

This patch includes two commits

1) [PATCH] eina file: Ensure populate is safe to call
   (commit 05c051405e89ef595f117f637dbbb0104262c218)
 This makes sure that the call to madvise is safe. On Linux it's not too
 much of an issue as checks are made inside madvise, and the worst that
 can happen is an error is returned (EINVAL). Not great.

 But if MAP_POPULATE is not present, as is the case on *BSD, then the
 internal function _eina_file_map_populate() is used for the populate
 rule. In that case actual data is read and we should make sure not to
 trigger a segfault or bus error.

 Also, this makes sure that in case of HugeTLB we actually populate all
 pages, rather than one page out of 8 (we were jumping by 16Mb instead of
 2Mb).

 Note: Can we get the size of a HugeTLB at runtime? We're assuming 2Mb
 which might very well not be the case!
 See: https://wiki.debian.org/Hugepages

 Tested by disabling MAP_POPULATE and observing crashes :)

 @fix

2) [PATCH] eina file: Fix map_populate on the global map
   (commit b2ea60691e45674a4e283e0535634bdd699544ea)
 If eina_file_map_all() is called, the map isn't added to the internal
 hash "rmap" and so _eina_file_map_rule_apply() would never be called.

 @fix

Change-Id: Ib074aff31e3498fb7fca7c5ca792d5bdf8e8bd17

6 years agoefl.spec : change macro for tv profile 38/139938/2
jiin.moon [Fri, 21 Jul 2017 06:03:10 +0000 (15:03 +0900)]
efl.spec : change macro for tv profile

Change-Id: If6366d10248b9f490760cbce6361bcfa1a096452

6 years ago[evas_gl] change rotate_image_data() like sw backend 32/152032/3
Joogab Yun [Mon, 25 Sep 2017 01:18:47 +0000 (10:18 +0900)]
[evas_gl] change rotate_image_data() like sw backend

Change-Id: I269663c6674a908a49df8584f553b9b766cb015d

6 years agorevise comments for TIZEN_ONLY codes 93/147893/2
Jongmin Lee [Wed, 6 Sep 2017 03:23:40 +0000 (12:23 +0900)]
revise comments for TIZEN_ONLY codes

Change-Id: I18651337f2a41c50c0cd7be999e4a5d09a5c9407

6 years agoevas_object: add ingroup tags for size hint properties 42/152242/1
Taehyub Kim [Mon, 25 Sep 2017 10:06:51 +0000 (19:06 +0900)]
evas_object: add ingroup tags for size hint properties

Change-Id: If36e20fcf20bf03088f78813c384064ada15aa13

6 years agoecore_evas_tbm: set tbm_surface_queue to prop window of ecore_evas 53/152153/2
Changyeon Lee [Wed, 20 Sep 2017 05:31:22 +0000 (14:31 +0900)]
ecore_evas_tbm: set tbm_surface_queue to prop window of ecore_evas

Change-Id: Ic8cd57a5f7764a4452bd7d2b47facb5c51c6f88a
(cherry picked from commit 08b5203e592db07e896df0f11edff93ecb85d03c)

6 years agoecore_evas: add ecore_evas_input_event_register_with_multi2 63/152163/2
Sung-Jin Park [Mon, 25 Sep 2017 07:22:49 +0000 (16:22 +0900)]
ecore_evas: add ecore_evas_input_event_register_with_multi2

ecore_evas_input_event_register_with_multi2() will do the same thing as
ecore_evas_input_event_register_with_multi() does except that the former
registers callback(s) that don't consider rotation angle of the given ee.

Change-Id: I0bca07efc329ef77d5964a8bf0ade8e58440edc2
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
6 years agoecore_evas_tbm_ext: fix not to call evas_event_feed_mouse_in 56/152156/2
Sung-Jin Park [Thu, 21 Sep 2017 01:41:17 +0000 (10:41 +0900)]
ecore_evas_tbm_ext: fix not to call evas_event_feed_mouse_in

Change-Id: Iebde62d1c20e6764c931bbad40cd94babb16dcee
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
(cherry picked from commit 84452066e85f43226c6fa9e5ef7babfb8025e07d)

6 years agoecore_evas: fixed crash when free ecore_evas_tbm_extn 55/152155/1
Changyeon Lee [Wed, 20 Sep 2017 10:42:59 +0000 (19:42 +0900)]
ecore_evas: fixed crash when free ecore_evas_tbm_extn

Change-Id: I02fe26ce17bcc250a30bd7e18547d4781460d099
(cherry picked from commit 9682b2a8ad6e3a5e4d2c11232d1ba305bd4e7167)

6 years agoevas_gl: remove a same condition 11/151511/1
Daekwang Ryu [Wed, 16 Aug 2017 03:12:52 +0000 (12:12 +0900)]
evas_gl: remove a same condition

GL_DRAW_FRAMEBUFFER_BINDING and GL_FRAMEBUFFER_BINDING are same.

Change-Id: I436e84b77d379eba899aed51d98cb39237167a78

6 years agoedje: Add interfaces to control each ellipsize features independently 61/149561/8 accepted/tizen/unified/20170921.072301 submit/tizen/20170920.082902
Youngbok Shin [Tue, 12 Sep 2017 12:19:55 +0000 (21:19 +0900)]
edje: Add interfaces to control each ellipsize features independently

It deprecates "text.ellipsize.mode" property. But, Edje still support that, too.
It adds the following new properties.

text {
   ellipsize {
      /* Following new properties replace text.ellipsize.mode property.
       * mode: FADE_MARQUEE; can be represent like the following example. */
      normal {
         /* Default is OFF. It supports ON and OFF.
          * Now, it can be combined with marquee ALWAYS and fade. */
         mode: OFF;
      }
      fade {
         /* Default is OFF. It supports ON and OFF. */
         mode: ON;
      }
      marquee {
         /* Default is OFF. It supports ON, OFF and ALWAYS.
          * With ALWAYS mode, marquee will work even if the given text is short.
          * And it also work with ellipsize.normal. */
         mode: ON;
      }
   }
}

@tizen_feature

Change-Id: I4cab23a01e4bc38789a3281baa52b71dfe2b8e78

6 years ago[EvasGL] modify the AFILL policy for tbm/wl_buffer of tizen 89/134489/4
Wonsik, Jung [Mon, 19 Jun 2017 02:10:04 +0000 (11:10 +0900)]
[EvasGL] modify the AFILL policy for tbm/wl_buffer of tizen

For the case of glDRM engine,
If texture does not have alpha flag in gl_drm backend,
AFILL is applied to texture

Change-Id: Iaab8b3926fb5df1b1a8dd6b63f93b94f87b07503

6 years agoUpdate since version tag of ecore_imf_context_input_panel_position_set() 71/149971/1 submit/tizen/20170915.074959
InHong Han [Thu, 14 Sep 2017 00:46:36 +0000 (09:46 +0900)]
Update since version tag of ecore_imf_context_input_panel_position_set()

Change-Id: I65311eced41a1c1b5763c599f85a8857befb58a6

6 years agoecore_thread: do not override the data field of a thread 80/149880/2
Marcel Hollerbach [Thu, 2 Mar 2017 17:32:40 +0000 (18:32 +0100)]
ecore_thread: do not override the data field of a thread

otherwise a currently executed ecore_thread is going to pass a complete
wrong data to its callbacks.

fix T5175
fix T5173

Upstream: 097f9cfe5fa601deaca1ed4c72c6311b4b893386

Change-Id: I427d6440c265e358cd0268f24e1c4f27bf23c4f0

6 years agoevas textblock: support ZWJ, ZWNJ, LRM, RLM in escaped form 81/149481/1
Youngbok Shin [Mon, 11 Sep 2017 05:53:04 +0000 (08:53 +0300)]
evas textblock: support ZWJ, ZWNJ, LRM, RLM in escaped form

Summary:
The patch supports the following escaped string from Evas Textblock.
These unicodes are frequently used.
ZWNJ U+200C - &zwnj;
ZWJ  U+200D - &zwj;
LRM  U+200E - &lrm;
RLM  U+200F - &rlm;
@feature

Test Plan: N/A

Reviewers: raster, cedric, herdsman, jpeg, woohyun

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

Change-Id: I782ec01a4b21906c64727a9792706c108c5199be

6 years agoevas: don't search other fonts only for INHERITED script unicodes 80/149480/1
Youngbok Shin [Mon, 11 Sep 2017 05:52:03 +0000 (08:52 +0300)]
evas: don't search other fonts only for INHERITED script unicodes

Summary:
INHERITED script unicodes are only meaningful when it comes
after the previous unicode from same font.
Even if there is no glyph for the INHERTED script unicode from current font,
don't search other font for loading the unicdoe as first unicode
of next item. It will be meaningless.
@fix

Test Plan:
Check the following Emoji sequence with an emoji font
which does not have variation selector glyphs.
{ 0x1F3F3, 0xFE0F, 0x200D, 0x1F308 }

Reviewers: raster, cedric, herdsman, jpeg, woohyun

Reviewed By: herdsman

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

Change-Id: Id67be086ac4d471be04721835be5bae328d0fefd

6 years agoedje: apply x/y offset to run marquee with short text 71/148071/9
Youngbok Shin [Wed, 6 Sep 2017 12:02:35 +0000 (21:02 +0900)]
edje: apply x/y offset to run marquee with short text

It only modify internal logic for marquee.
Currently, there is no way to run marquee with short text.
It needs additional patches to add new interface for that needs.

@tizen_fix

Change-Id: I50e91410b9b009ab70ba565d25e201a85583d37c

6 years agoecore_imf: Add TIZEN_ONLY in ecore_imf_context_del 39/149039/1
Jihoon Kim [Mon, 11 Sep 2017 10:19:11 +0000 (19:19 +0900)]
ecore_imf: Add TIZEN_ONLY in ecore_imf_context_del

Change-Id: I7ee206ad829a1441f9b39119de7b8ec391373af6
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoecore_imf: change @since version of keyboard mode enum 07/148907/1
Jihoon Kim [Mon, 11 Sep 2017 06:28:41 +0000 (15:28 +0900)]
ecore_imf: change @since version of keyboard mode enum

Change-Id: Id09fadaa68644a5fa05494110f778cfff81d5a01
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years ago[evas_gl_thread_gl] fixed svace issue 91/148791/1
Joogab Yun [Mon, 11 Sep 2017 01:30:03 +0000 (10:30 +0900)]
[evas_gl_thread_gl] fixed svace issue

WGID : 266441

Change-Id: I15eceb3d192c8ae5f9b46c73e998f6ed7175c464

6 years ago[evas_gl_x11] fixed build error 80/148780/1
Joogab Yun [Mon, 11 Sep 2017 00:51:07 +0000 (09:51 +0900)]
[evas_gl_x11] fixed build error

Change-Id: Id3ef0eff65851a0466e33355c6d0f21ab0fc685d

6 years agoevas/gl_x11: fix compile error 77/147977/2
Daekwang Ryu [Wed, 6 Sep 2017 06:57:27 +0000 (15:57 +0900)]
evas/gl_x11: fix compile error

fix gl_x11 engine for emulator.
caps variable is for FBO. So removed.

Change-Id: I99eea896dea3b381c8f3d347b0af0bbfc073f467

6 years agoevas_engine: Fix build error without GL_GLES 12/147912/2
Jaehyun Cho [Wed, 6 Sep 2017 04:50:09 +0000 (13:50 +0900)]
evas_engine: Fix build error without GL_GLES

Change-Id: I4e365b5745e1c75342649bab1c10e10358198da8

6 years agoevas_gl_thread_glx: Fix build error with GL COCOA 09/147909/2
Jaehyun Cho [Wed, 6 Sep 2017 04:47:58 +0000 (13:47 +0900)]
evas_gl_thread_glx: Fix build error with GL COCOA

Change-Id: Ia045e080cfa581670d7b8653ad93cc2c4eeeaeb0

6 years agoEcore_Input: Fix build error without function declaration on Win/Mac 90/147890/2
Jaehyun Cho [Wed, 6 Sep 2017 03:20:31 +0000 (12:20 +0900)]
Ecore_Input: Fix build error without function declaration on Win/Mac

Change-Id: Ic49ec28533361e6374ca4f87ce75f1d717b2dca3

6 years agoecore_input: Fix build error on Windows and MacOS 59/147859/2
Jaehyun Cho [Wed, 6 Sep 2017 02:36:14 +0000 (11:36 +0900)]
ecore_input: Fix build error on Windows and MacOS

Change-Id: I34a708b1b7c94e024e0abd1d58a58ea703b44d3c

6 years agoevas_language_utils: Fix build error without NLS 54/147854/2
Jaehyun Cho [Wed, 6 Sep 2017 02:19:28 +0000 (11:19 +0900)]
evas_language_utils: Fix build error without NLS

Change-Id: I96b24a081db5a8a56d74d20174ee625e8da0f97f

6 years agoUpdate EVAS_EVENT_FLAG_ON_HOLD description 01/147901/2
Myoungwoon Roy, Kim [Wed, 6 Sep 2017 01:55:54 +0000 (10:55 +0900)]
Update EVAS_EVENT_FLAG_ON_HOLD description
Summary: Update EVAS_EVENT_FLAG_ON_HOLD description to use touch event cancel.

Change-Id: Ib27cb0585c96820c198d8ca1bcd61be99bae2f96

6 years ago[evas_gl_x11] fixed build error 37/147937/1
Joogab Yun [Wed, 6 Sep 2017 06:01:16 +0000 (15:01 +0900)]
[evas_gl_x11] fixed build error

Change-Id: I4e6da22cf88cf93d6531df0353b34651e4ee0adf

6 years ago[evas_gl] fixed image corruption issue 46/147146/4 accepted/tizen/unified/20170907.060504 submit/tizen/20170906.050545
Joogab Yun [Fri, 1 Sep 2017 07:01:19 +0000 (16:01 +0900)]
[evas_gl] fixed image corruption issue

repeating evas_object_image_orient_set() and evas_object_imgae_data_get() breaks the
image.
so I modify the image rotated part like sw backend.

Change-Id: I0439037ef8480b7eae58018cb5517724a12b6877

6 years agoevas: proceed glyph iterator to handle next index properly 43/147443/1
Youngbok Shin [Mon, 4 Sep 2017 07:18:05 +0000 (10:18 +0300)]
evas: proceed glyph iterator to handle next index properly

Summary:
When harfbuzz is enabled, _content_create_ot() function will be used
for shaping. If evas_common_font_int_cache_glyph_get() failed in some reason,
it never proceed gl_itr until the end.
It can cause weird rendering result. Because, all of gl_itr after the failure
can't have proper x_bear, y_bear and width.
@fix

Test Plan: N/A

Reviewers: raster, cedric, herdsman, jpeg

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

Change-Id: Ib22ac45832e845f58c0bdcee41671503923efcd5

6 years ago[ecore_evas_extn] fixed svace issue 55/146455/4
Joogab Yun [Tue, 29 Aug 2017 01:59:17 +0000 (10:59 +0900)]
[ecore_evas_extn] fixed svace issue

WID:1120587 After having been compared to NULL value at
ecore_evas_extn.c:2729, pointer 'ee' is dereferenced at
ecore_evas_extn.c:2750.

Change-Id: Ib0a9863d38eef9af2b13cb45d8cfec81ffabf205

6 years agoecore_evas: do not rotate evas input axis in drm engine 14/146614/3
JengHyun Kang [Tue, 29 Aug 2017 12:19:55 +0000 (21:19 +0900)]
ecore_evas: do not rotate evas input axis in drm engine

Change-Id: I6f1a487ca863fef249482ed5d8815157347f07d5

6 years ago[evas_gl_thread] fixed svace issue 18/146518/2
Joogab Yun [Tue, 29 Aug 2017 07:43:27 +0000 (16:43 +0900)]
[evas_gl_thread] fixed svace issue

Change-Id: I4388b8c6ab636741e3b8b00f3ac13e9f516b6750
WGID: 25206 - suspicious pointer arithmetic

6 years ago[evas_gl] changed preload to async call at gl backend 72/146372/4
Joogab Yun [Fri, 25 Aug 2017 06:48:08 +0000 (15:48 +0900)]
[evas_gl] changed preload to async call at gl backend

changed evas_gl_common_texture_new to async call after the preload is
done

Change-Id: I86debb35947e3555db3c5da1433eb22d5c4a1109

6 years agoevas font: do floating point division for calculating more accurately 67/146867/1
Youngbok Shin [Wed, 30 Aug 2017 18:40:26 +0000 (11:40 -0700)]
evas font: do floating point division for calculating more accurately

Summary:
Assigning a result of integral division to a double type variable is
not useful for next division calculation. For more accurate calculation,
it needs to be casted to double before doing division.
It does not fix some bugs. It was reported by a code quality advisor.

Test Plan: N/A

Reviewers: raster, cedric, jpeg, herdsman, eunue

Reviewed By: cedric

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

Change-Id: I0d43ee1887822e65c9ca8d1e74002336f2a4a9d0
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoedje_calc: fix valign issue when slide_roll style. 19/146719/2 accepted/tizen/unified/20170901.030044 submit/tizen/20170831.022019
Bowon Ryu [Wed, 30 Aug 2017 07:31:46 +0000 (16:31 +0900)]
edje_calc: fix valign issue when slide_roll style.

Change-Id: I8c07aa7c6c2d7496c2d8f5c36b08b74092aae136
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
6 years agoecore_wl: add ecore_wl_window_video_has 32/146232/1 accepted/tizen/4.0/unified/20170901.203250 accepted/tizen/unified/20170829.140237 submit/tizen/20170828.222438 submit/tizen_4.0/20170830.022557 submit/tizen_4.0/20170901.042111
Boram Park [Fri, 25 Aug 2017 09:52:51 +0000 (18:52 +0900)]
ecore_wl: add ecore_wl_window_video_has

Change-Id: I84c84e001faa4a7a993cf98b160ed8635e47d944

6 years agoecore_wl: fix svace issue 65/146165/2
Juyeon Lee [Fri, 25 Aug 2017 07:13:15 +0000 (16:13 +0900)]
ecore_wl: fix svace issue

Change-Id: Ic4bbeae50dcc2d1a6138acb1925a037a2b4fedac

6 years ago[evas_gl] evas: returns the image.data with orient applied 72/145972/2
Joogab Yun [Thu, 24 Aug 2017 09:05:09 +0000 (18:05 +0900)]
[evas_gl] evas: returns the image.data with orient applied

after the evas_object_orient_set(), it should have a rotated buffer that was rotated
image when evas_object_data_get()

Change-Id: I06491f46e0aac9c92ffcc46c3042850ef6fb4f17

6 years agoRevert " [evas_gl] evas : save the orient value when doing image_data_get()" 71/145971/1
Joogab Yun [Thu, 24 Aug 2017 09:29:27 +0000 (18:29 +0900)]
Revert "    [evas_gl] evas : save the orient value when doing image_data_get()"

Change-Id: I39bb6cdf082a48de33825be9f9ceb247ad166443

6 years agoRevert "ecore_wayland: free drag source when drag leave event comes." 86/145886/2 accepted/tizen/unified/20170825.043921 submit/tizen/20170824.100259
Taehyub Kim [Thu, 24 Aug 2017 06:45:23 +0000 (06:45 +0000)]
Revert "ecore_wayland: free drag source when drag leave event comes."

This reverts commit 9e68ea3b48614707d663d8df00059d7303393dc7.

Change-Id: I717b6f692fb368d66bcf643e5fc8df7f9e0f0457

6 years ago[evasgl] reduce shader list for performance 09/145409/3
sunghyun kim [Tue, 22 Aug 2017 08:01:49 +0000 (17:01 +0900)]
[evasgl] reduce shader list for performance

In most cases, application use a few shaders.
for booting performance, evas need to reduce shader in precompile time.
even if application need new shader, they will be compiled and saved in runtime.
because they will be saved shared file, other appication need not compile shader if it is already compiled by other app.

Change-Id: I3f9ba892f4a0809b5e2f8426eec6a39ea7b88350

6 years agono calling render function when output transformed 42/145642/1
Boram Park [Wed, 23 Aug 2017 06:59:19 +0000 (15:59 +0900)]
no calling render function when output transformed

If manual_render is set, client shouldn't render objects without app's
request.

Change-Id: I166ae9051a004883075fe0aabfaa930d6a2b3a0d

6 years agoRevert "no rendering if manual_render is set" 96/145596/1
Boram Park [Wed, 23 Aug 2017 04:52:53 +0000 (13:52 +0900)]
Revert "no rendering if manual_render is set"

This reverts commit b75aa45c9d31d9ed1cdb986c858e0bcae2eeacb1.

Change-Id: I1ce854950f09f3e20c6c54d3531f696ad8a73fe1

6 years ago [evas_gl] evas : save the orient value when doing image_data_get() 79/145379/2
Joogab Yun [Tue, 22 Aug 2017 07:08:22 +0000 (16:08 +0900)]
[evas_gl] evas : save the orient value when doing image_data_get()

    1. evas_object_orient_set(image1, 90)
    2. buffer = evas_object_image_data_get(image1);
    3. evas_object_image_data_set(image2, buffer);

    we need an orient value of image1 for image2,
    so we keep orient value of image1 at image_data_get()

Change-Id: I9daab94ba9de55690bf70bf8172b0593af21a3de

6 years agoRevert "[evas_gl] evas: Fix support for image_data_get on snapshot" 77/145377/2
Joogab Yun [Tue, 22 Aug 2017 02:47:52 +0000 (11:47 +0900)]
Revert "[evas_gl] evas: Fix support for image_data_get on snapshot"

Change-Id: Ie017277377729a4cfacf5637bf71d3a3787c532d