platform/upstream/efl.git
7 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

7 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>
7 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

7 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

7 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>
7 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

7 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>
7 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>
7 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

7 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

7 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

7 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

7 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

7 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>
7 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

7 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

7 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

7 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

7 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

7 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>
7 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>
7 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

7 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

7 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

7 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

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

Change-Id: I35cf63b3ec6707e40894d64de966afef92ebf805

7 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

7 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

7 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

7 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

7 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

7 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)

7 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>
7 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)

7 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)

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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>
7 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>
7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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>
7 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>
7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 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

7 years agoecore_imf: add new device subclasses 06/145406/1
Jihoon Kim [Tue, 22 Aug 2017 08:06:12 +0000 (17:06 +0900)]
ecore_imf: add new device subclasses

Change-Id: I72d6bf10d38dd644fbb170cc16979be3037ee991
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoecore_wl: handle EINVAL to leave log and client be aborted 53/144853/5
Juyeon Lee [Fri, 18 Aug 2017 05:42:02 +0000 (14:42 +0900)]
ecore_wl: handle EINVAL to leave log and client be aborted

Change-Id: I20ef84d87897978bdaeac9e92201d93c49179ea6

7 years agoevas: Fix to use fontconfig when there is a global_font_path 80/144980/1
Youngbok Shin [Sun, 20 Aug 2017 05:08:40 +0000 (14:08 +0900)]
evas: Fix to use fontconfig when there is a global_font_path

@tizen_fix

Change-Id: I6ef2bcca72efbece8b3491a1c46526c6e3242350

7 years agoedje: move Text, Textblock object based on its original position in smart move 02/144902/3
Youngbok Shin [Fri, 18 Aug 2017 08:49:58 +0000 (17:49 +0900)]
edje: move Text, Textblock object based on its original position in smart move

@tizen_fix

Change-Id: I07871d49e9384bc3067e6036c0762352e02044b5

7 years agoevas_gl: fix evas_gl_current_context_get() 19/144819/2
Daekwang Ryu [Wed, 29 Mar 2017 08:06:12 +0000 (17:06 +0900)]
evas_gl: fix evas_gl_current_context_get()

evas_gl_current_context_get() function should return
the context of evas_gl_common_current_context_get()
becuase CONTEXT_RESTORE feature was added.
CONTEXT_RESTORE makes app call evas_gl_make_current() only once
without evas_gl context switching.

Change-Id: Ic4cc77f419d1e40ecd0a3eb0d6e7022488d64cdc

7 years ago[evas sw tbm] add null check for ns 50/144650/1
Joogab Yun [Thu, 17 Aug 2017 09:45:56 +0000 (18:45 +0900)]
[evas sw tbm] add null check for ns

Change-Id: Iee29b6d97fbedb20c9235e9a6fe09bb91b7297ee

7 years ago[NativeTBMSurface] Seperated by colorspace. 20/144620/2
Wonsik, Jung [Wed, 8 Mar 2017 05:18:36 +0000 (14:18 +0900)]
[NativeTBMSurface] Seperated by colorspace.

To create RGBA_Image for NativeTBMSurface, the related code is seperated by tbm format.
So, Getting format internal function is added and seperated the code.

Change-Id: I8f3d5c07fa1b0e5b6dc722ab0e083267cacc2bd4

7 years ago[NativeTBMSurface] Add _evas_native_tbm_init/shutdown 19/144619/2
Wonsik, Jung [Wed, 8 Mar 2017 01:27:55 +0000 (10:27 +0900)]
[NativeTBMSurface] Add _evas_native_tbm_init/shutdown

Add _evas_native_tbm_inti/shutdown to evas_native_tbm.c
In addition, one more patch is added to fix stride mismatch
and allocate image data for converting from yuv to rgb.
This patchset are  oriented by JP's and Minkyung patch
---------------------------------------------------------------------------------
Author: Jean-Philippe Andre <jp.andre@samsung.com>  2016-03-09 16:18:34
Committer: Jean-Philippe Andre <jp.andre@samsung.com>  2016-03-15 11:11:59
    Evas engines: Add internal functions for native images
----------------------------------------------------------------------------------
Author: Minkyoung Kim <mer.kim@samsung.com>  2016-03-31 15:55:15
Committer: Jean-Philippe Andre <jp.andre@samsung.com>  2016-04-01 12:09:06
    evas : remove native.func.data variable and data argument of native calblacks.
-----------------------------------------------------------------------------------

Change-Id: Ic75402b307cb5548ba3ebe5e387c281b23d83307

7 years agoevas: fix emoji merge issues caused by wrong handling of INHERITED script 67/144567/1
Youngbok Shin [Thu, 17 Aug 2017 07:08:11 +0000 (16:08 +0900)]
evas: fix emoji merge issues caused by wrong handling of INHERITED script

INHERITED script has to be handled to follow current script, not initial script.

@tizen_fix

Change-Id: Ia5da1ec2221c218418e388959df63661fbe393af

7 years ago[evas_gl_common] fixed SVACE issues 18/144218/1 accepted/tizen/4.0/unified/20170828.222402 accepted/tizen/unified/20170821.051109 submit/tizen/20170816.060215 submit/tizen_4.0/20170828.100005
Joogab Yun [Wed, 16 Aug 2017 02:33:30 +0000 (11:33 +0900)]
[evas_gl_common] fixed SVACE issues

WGID : 260203, 265054, 265312

Change-Id: Ic448a4eecc9084db029b98b2269f8599f4671d0e

7 years agoecore_evas_wl: do set_buffer_transform in gl side 02/144202/1
Boram Park [Wed, 16 Aug 2017 00:56:38 +0000 (09:56 +0900)]
ecore_evas_wl: do set_buffer_transform in gl side

This reverts commit dd95f864b622ca58bb8cd1e7bdcb6bd11acae886.

Change-Id: If729fac095696f37df222d3e3dfeda164a8ebef6

7 years agono rendering if manual_render is set 10/144010/2
Boram Park [Mon, 14 Aug 2017 08:26:21 +0000 (17:26 +0900)]
no rendering if manual_render is set

Change-Id: Id468d6d7b6fd6019f5dc02bd5f96671241be2b52

7 years ago[evasgl] change swap mode when rect size not match tile size 18/143718/2
sunghyun kim [Fri, 11 Aug 2017 05:16:32 +0000 (14:16 +0900)]
[evasgl] change swap mode when rect size not match tile size

Change-Id: I609a0bab36f0781de0048844516405a53a7990c8

7 years agoApply ASLR to executable files. 27/143827/2
Bowon Ryu [Fri, 11 Aug 2017 11:32:41 +0000 (20:32 +0900)]
Apply ASLR to executable files.

Change-Id: I774ea8fd31924ff349190a26f5984beeeae48fc7
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
7 years agoEdje_Edit: first part of vector API implementation 46/137446/3
Vitalii Vorobiov [Wed, 11 Jan 2017 13:10:35 +0000 (15:10 +0200)]
Edje_Edit: first part of vector API implementation

edje_edit_vector_del
edje_edit_vector_usage_list_get
edje_edit_vector_id_get
edje_edit_vectors_list_get

edje_edit_state_vector_get
edje_edit_state_vector_set

Change-Id: Ie649dd3e02bf2379ad5c01037aca2c3ba79a7b59
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
7 years agoEdje_Edit: some API for RUN_PLUGIN programs 45/137445/3
Vitalii Vorobiov [Thu, 23 Mar 2017 11:07:25 +0000 (13:07 +0200)]
Edje_Edit: some API for RUN_PLUGIN programs

Such as:
> Get list of plugins in loaded edje
> Set plugin name for RUN_PLUGIN action of certain program
> Get plugin name of RUN_PLUGIN action of certain program

Change-Id: Ic07add96908e3ef5d1003bc2f1bc317d020c7730
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
7 years ago[evas_gl] evas: Fix support for image_data_get on snapshot 95/143195/5
Joogab Yun [Wed, 9 Aug 2017 04:15:38 +0000 (13:15 +0900)]
[evas_gl] evas: Fix support for image_data_get on snapshot

after the evas_object_orient_set(), get the buffer that was rotated image when evas_object_data_get()

Change-Id: I5082c5e2d724ede78ae0303bebcd4c0cf57c7408

7 years agocommon3d: correct converting number to float 22/143722/1
Thiep Ha [Fri, 11 Aug 2017 05:17:58 +0000 (14:17 +0900)]
common3d: correct converting number to float

Change-Id: Ia2e0a78bb579dc2002b5af3b6c8bc07069dbc697

7 years agoevas/canvas: fix an incorrect sizing of smart object bounding box. 08/143708/1
Hermet Park [Tue, 2 Feb 2016 12:14:43 +0000 (21:14 +0900)]
evas/canvas: fix an incorrect sizing of smart object bounding box.

height of the children b-box should be arranged by parent y-pos.

Signed-Off-By: KeuckDo Bang <keuckdo.bang@samsung.com>
Signed-Off-By: MinKyu Kim <imetjade.kim@samsung.com>
@fix

Change-Id: I5d26b66e1d1762a7b9606c13e5dba19f3a6211c8

7 years ago[evas_gl_core] changed log level from ERR to DBG 31/143231/2
Joogab Yun [Wed, 9 Aug 2017 06:30:46 +0000 (15:30 +0900)]
[evas_gl_core] changed log level from ERR to DBG

Change-Id: I270269e83a140bd298713d3f28c1bf69df93f48d

7 years agoevas bmp loader - fix warnings about same type handled twice 10/143310/2
Carsten Haitzler (Rasterman) [Fri, 28 Jul 2017 11:39:44 +0000 (20:39 +0900)]
evas bmp loader - fix warnings about same type handled twice

so a type we handle earlir inan if we re-handle as invalid later. this
wouldnt lead to a crash or bugs as the if's would ned to be evaluated
in order normally, but it's good to get it right.

found by PVS studio

Change-Id: I03b0315fbb938d34b4221f44376dd77ca294cf36

7 years agoecore_wl: add socket errno to be shutdown 20/143620/1
Juyeon Lee [Thu, 10 Aug 2017 13:16:43 +0000 (22:16 +0900)]
ecore_wl: add socket errno to be shutdown

Change-Id: I797074f01dd11296c7281a5870dec9cb4d56953a

7 years agoecore_audio_pulse_ml: Check memory allocation fail 25/143125/2
Jaehyun Cho [Tue, 8 Aug 2017 13:05:43 +0000 (22:05 +0900)]
ecore_audio_pulse_ml: Check memory allocation fail

Change-Id: I2aad5a79f6774f5daaed476e929c6385211253a3

7 years agoevas_smart: Fix evas_smart_callback_description_find 43/138743/2
Jean-Philippe Andre [Wed, 12 Jul 2017 08:19:28 +0000 (17:19 +0900)]
evas_smart: Fix evas_smart_callback_description_find

bsearch was returnign a cb** not a cb*

Fixes T4540

Change-Id: Ib10628bfd79d9e990d3d591a829869b9d5fa9d3c

7 years agoecore_wl: shutdown a process if disconnected from server 42/143342/2 accepted/tizen/unified/20170810.172531 submit/tizen/20170810.044648
Juyeon Lee [Wed, 9 Aug 2017 09:59:51 +0000 (18:59 +0900)]
ecore_wl: shutdown a process if disconnected from server

Change-Id: Ia804f72f3138b89d122397273ec4f841e2801112

7 years agoecore glib support - if we are not the main ctx owner loop to acquire 65/143265/2
Carsten Haitzler (Rasterman) [Wed, 9 Aug 2017 07:18:10 +0000 (16:18 +0900)]
ecore glib support - if we are not the main ctx owner loop to acquire

the code didn't try acquire every loop if we were not, so it wouldnt
wake up if someone stole context (and then gave it up). found by roy!

@fix

Change-Id: Iff3eb1161d0c689e3fc3efa91bf89751629ce4e0

7 years ago emotion webcam: fix check for v4l2 video capture device capability 25/143225/1
Jiyoun Park [Wed, 9 Aug 2017 06:24:18 +0000 (15:24 +0900)]
emotion webcam: fix check for v4l2 video capture device capability

    The negation should be uses after checking the capability bit with the &.
    Better use parenthesis  to make this work.

    Thankls to the sparse sematic parser for spotting this.

Change-Id: I223d0c44b4b2abe0e5ac631a3d9d1eb1b3cd08b7