platform/upstream/efl.git
7 years agoedje_edit: refactor eet file usage
Andrii Kroitor [Mon, 17 Oct 2016 15:51:59 +0000 (18:51 +0300)]
edje_edit: refactor eet file usage

Summary:
Move opening for read/write/read-write and error message to internal method
Reuse eet file from Edje instead of opening it again in read-only mode
Add wrapper for eet_close to skip closing if internal file was used

Reviewers: NikaWhite

Subscribers: cedric, jpeg, #eflete

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

Change-Id: Iac9cdd57ce5878dba4765de94bf83ae1314c2962
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
7 years agoedje : test for text availabilty before handling marquee
Subhransu Mohanty [Fri, 11 Nov 2016 02:27:53 +0000 (11:27 +0900)]
edje : test for text availabilty before handling marquee
Svace ID : WGID 144214

Change-Id: I7d7dbd9e7fd03839e4fa5b0118eef9030e426719

7 years agoedje entry: only change cursor position in mouse up
Youngbok Shin [Wed, 9 Nov 2016 09:10:19 +0000 (18:10 +0900)]
edje entry: only change cursor position in mouse up

Change-Id: Iadf9326ce6470834fbfb2adcf583a3cd12bd5977

7 years ago[ecore_evas_extn] fixed build error after add gl backend
sunghyun kim [Thu, 10 Nov 2016 02:04:13 +0000 (11:04 +0900)]
[ecore_evas_extn] fixed build error after add gl backend

don't need check build require about ecore-wayland

Change-Id: Ife48dec49c216810548bd2bdbaa0d0691fd134c3

7 years agoevas: Fix masking with window rotation, take 2
Jaeun Choi [Tue, 8 Nov 2016 05:58:02 +0000 (14:58 +0900)]
evas: Fix masking with window rotation, take 2

The first patch did not work for maps. This explains why the
original code was so weird. But it actually made sense.

After struggling a bit I realized that we really just need
to shuffle around the pixel position on the window to map that
of the position in the canvas (unrotate it).

Note that compatibility with GLSL-ES (for OpenGL ES) implies
we can not use an array initializer like:
  vec2 pos[4] = vec2[4](a,b,c,d);
So the code could probably be optimized. But at least this works.

This patch also avoids calling glGetUniformLocation again and
again.

Change-Id: I90de310eb82d478ba66809d2c0b3e73facd2c3b6
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
7 years ago[eina_log] redirect critical error to normal error in order to avoid abort on errors...
Jongmin Lee [Thu, 3 Nov 2016 05:03:00 +0000 (14:03 +0900)]
[eina_log] redirect critical error to normal error in order to avoid abort on errors in dlog

Change-Id: Ie04b26d1749c43e2b708f193db98e35b452b574a

7 years agoRevert "evas: fixed GL image masking"
Jaeun Choi [Tue, 8 Nov 2016 05:56:01 +0000 (14:56 +0900)]
Revert "evas: fixed GL image masking"

This reverts commit 22cb791df87504b920dfb56c97e321a270840fc9.

This patch did not work with mapped images.

Change-Id: I0ee5396369e540a04ec9d2fffd8bef9a6aa2d139

7 years agoEvas events: fix for works with pipes on windows.
Mykyta Biliavskyi [Fri, 4 Nov 2016 09:06:11 +0000 (11:06 +0200)]
Evas events: fix for works with pipes on windows.

Evil implementation of pipe() function uses sockets. Windows functions
"write", "read" and "close" doesn't works with sockets. In this commit
added macros, that replace "read" with "recv", "write" with "send" and
"close" with "closesocket".

@fix

Change-Id: Ic566c7b994cd23a8244f91835f85029c2d59991c
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
7 years ago[evas_sw] add tbm_surface_internal_ref/unref 01/98301/1
Joogab Yun [Wed, 9 Nov 2016 10:17:15 +0000 (19:17 +0900)]
[evas_sw] add tbm_surface_internal_ref/unref

Change-Id: Ib0b1948bd512656d01132e0e37b06ea8931913f3

7 years ago[edje][text marquee] enhancement
Shinwoo Kim [Tue, 1 Nov 2016 09:35:39 +0000 (18:35 +0900)]
[edje][text marquee] enhancement

(1) assign NULL to animator variable, if the animator is not necessary any more.
(2) stop text marquee at start point.
(3) do not marquee, if the text is shorter than its view port.

Change-Id: Id13e762e2a2622dbe543d3f60ab49e6d250a6141

7 years agoecore_evas_extn: Add gl backend for ecore_evas_extn 49/95149/2
sunghyun kim [Wed, 2 Nov 2016 10:03:10 +0000 (19:03 +0900)]
ecore_evas_extn: Add gl backend for ecore_evas_extn

Add gl backend for ecore_evas_extn
if Application set environmental variable "ECORE_EVAS_EXTN_SOCKET_ENGINE=wayland_egl", ecore_evas_extn use gl backend.
other case ( set nothing or buffer), ecore_evas_extn use buffer backend

currently, default is buffer backend

Change-Id: Ia62dde22c81085009b89fa5c791d7c9744b4423b

7 years agosoftware-tbm: redesign for evas-drm 91/94791/3
Sangjin Lee [Mon, 31 Oct 2016 01:08:55 +0000 (10:08 +0900)]
software-tbm: redesign for evas-drm

- Add wayland-buffer for native surface
- Use cserve2
- use libtbm directly

Change-Id: I2c480ad255c23e4ae863f283b91288700106fd81

7 years agoEdje_Edit: save files name instead of full path on sound add 88/94388/3
Vitalii Vorobiov [Fri, 28 Oct 2016 12:56:28 +0000 (15:56 +0300)]
Edje_Edit: save files name instead of full path on sound add

Since file will be inside of edj file, there is no need in having full path to
the place from where it was imported

@fix

Change-Id: I8513928103d74267cb2d1b9080384506d41f2a74
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
7 years agoRemove error log 42/95442/1
DaeKwang Ryu [Thu, 3 Nov 2016 08:39:00 +0000 (17:39 +0900)]
Remove error log

Change-Id: I2c1691084d417a63cbb5b35a6bd44544ef7e2b0f

7 years ago[evas_sw] bug fix lib path 06/95406/1
Joogab Yun [Thu, 3 Nov 2016 06:44:38 +0000 (15:44 +0900)]
[evas_sw] bug fix lib path

Change-Id: Ida1ee61aa23d1b76dad480ed228686eda5f14a5a

7 years agoevas: Fix shader for text masking 60/84160/4
Jean-Philippe Andre [Fri, 12 Aug 2016 02:09:16 +0000 (11:09 +0900)]
evas: Fix shader for text masking

Fixes T4338

@fix

Change-Id: I0996d717e591657c059bda440301cd8a362d05f8

7 years agoevas: fixed GL image masking 79/94779/2 submit/tizen_3.0/20161102.045635
Jaeun Choi [Tue, 1 Nov 2016 06:03:18 +0000 (15:03 +0900)]
evas: fixed GL image masking

GL image masking was broken on window rotation.
This patch fixes the bug by simplifying masking code:
handling the mask image as general images and pushing 6 vertices
instead of pushing the geometry of it.

@fix

Change-Id: Ib9c809927e7d5c1ae72f69b62a2a35c7d4cefbb3

7 years agoRevert "ecore_evas_extn : Add GL backend in ecore_evas_extn" 94/94794/2 accepted/tizen/common/20161102.121557 accepted/tizen/ivi/20161102.072518 accepted/tizen/mobile/20161102.072411 accepted/tizen/tv/20161102.072427 accepted/tizen/wearable/20161102.072448 submit/tizen/20161101.093908
sunghyun kim [Tue, 1 Nov 2016 08:10:51 +0000 (01:10 -0700)]
Revert "ecore_evas_extn : Add GL backend in ecore_evas_extn"

This reverts commit 2120e6d0742e53800994a7e4c606c5b2f17fd4f7.

Change-Id: I06408cb09f131bf8439daff09e27beb123d5837c

7 years ago[evas_sw] Fix loading of libary path 91/94291/2
Joogab Yun [Fri, 28 Oct 2016 05:29:09 +0000 (14:29 +0900)]
[evas_sw] Fix loading of  libary path

Change-Id: I7dbe81a9936cd7c58361a941a5dcf7a58911ceb1

7 years agoedje: prevent crash when a edje object does not load a file 42/94742/1
Youngbok Shin [Tue, 1 Nov 2016 04:57:36 +0000 (13:57 +0900)]
edje: prevent crash when a edje object does not load a file

@tizen_fix

Change-Id: I94db2c0108a7054f9eb1dc95f133aa87a9016986

7 years agoecore_evas_extn : Add GL backend in ecore_evas_extn 94/93594/6 submit/tizen/20161101.043805 submit/tizen/20161101.045014
sunghyun kim [Tue, 25 Oct 2016 04:56:52 +0000 (13:56 +0900)]
ecore_evas_extn : Add GL backend in ecore_evas_extn

Change-Id: I1f03c5f7969485cc9a5f499ee96cff52583aa530

7 years agoevas/engine: refactor the ector surface caching for gl backend 81/94481/4
Subhransu Mohanty [Wed, 19 Oct 2016 10:52:27 +0000 (19:52 +0900)]
evas/engine: refactor the ector surface caching for gl backend

Change-Id: I14c0b5ac0940471479e35e01b2542ddd13a0c69d

7 years agoedje: Add color class parent-child relationship with APIs 79/93579/5
Youngbok Shin [Tue, 25 Oct 2016 04:16:24 +0000 (13:16 +0900)]
edje: Add color class parent-child relationship with APIs

It adds the following APIs
  void edje_object_color_class_parent_set(Evas_Object *obj, Evas_Object *parent)
  void edje_object_color_class_parent_unset(Evas_Object *obj)

If there is a color_class parent object, the color of object will be
follow parent object's color_class.
@tizen_feature

Change-Id: Ia89a26dab596a7dcfcf120dfffcc9787509292c2

7 years agoedje: update color_class/text_class logic for textblock 12/92912/6
Youngbok Shin [Wed, 19 Oct 2016 09:56:59 +0000 (18:56 +0900)]
edje: update color_class/text_class logic for textblock

@tizen_fix

Change-Id: Id20225abb2e50b799f7e2201d961649fa96c829d

7 years agoecore_wayland: Add tizen_keyrouter's listener functions 76/92876/3
JengHyun Kang [Wed, 19 Oct 2016 08:06:36 +0000 (17:06 +0900)]
ecore_wayland: Add tizen_keyrouter's listener functions

Change-Id: I0c523ea9865be17e9af40b6b484e4c73965878d7

7 years agoevas/engine: handle ector surface creation failure 69/94269/2
Subhransu Mohanty [Fri, 28 Oct 2016 02:20:20 +0000 (11:20 +0900)]
evas/engine: handle ector surface creation failure

Change-Id: Ie338360669513021a837ba38ae93b35510f7340c

7 years ago[evas_swbackend_tbm] apply tbm stride 11/93811/2
Joogab Yun [Wed, 26 Oct 2016 05:12:14 +0000 (14:12 +0900)]
[evas_swbackend_tbm] apply tbm stride

Change-Id: Iffcc0bbed40ef509b3f55bcf7f73f76bc87f9423

7 years agoRemove redundant ector.pc 50/94050/1
Jaehyun Cho [Thu, 27 Oct 2016 04:15:18 +0000 (13:15 +0900)]
Remove redundant ector.pc

ector.pc should be generaged from ector.pc.in.

Change-Id: I9d629ed5e3d0f00837bb648ccce160cda995fcc9

7 years agoevas/engine: check for surface creation failure 59/93359/2 accepted/tizen/3.0/ivi/20161028.151409 accepted/tizen/3.0/mobile/20161028.143303 accepted/tizen/3.0/tv/20161028.143558 accepted/tizen/3.0/wearable/20161028.150902 accepted/tizen/common/20161026.134705 accepted/tizen/ivi/20161026.133741 accepted/tizen/mobile/20161026.133504 accepted/tizen/tv/20161026.133634 accepted/tizen/wearable/20161026.133709 submit/tizen/20161026.101032 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.092423 submit/tizen_3.0_common/20161104.104000
Subhransu Mohanty [Mon, 24 Oct 2016 01:39:02 +0000 (10:39 +0900)]
evas/engine: check for surface creation failure

Change-Id: Ie81f479876bed27dafcbe4d34622e80a25a5b9e9

7 years agoedje: fix cached edje modification issue 05/93605/3
Jee-Yong Um [Tue, 25 Oct 2016 04:28:03 +0000 (13:28 +0900)]
edje: fix cached edje modification issue

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I21f2f3a9992ff13988e19fbf5d9461f299920b03

7 years ago[evas_gl] change a max_memcpy_size 512 to 256 97/93797/1
Joogab Yun [Wed, 26 Oct 2016 04:10:47 +0000 (13:10 +0900)]
[evas_gl] change a max_memcpy_size 512 to 256

Change-Id: I9a1c87c8a524c51fc39039397d91c4ad5dd08d2d

7 years agoEdje_Edit: use correct description array accessing 61/93761/1 submit/tizen/20161026.040418 submit/tizen/20161026.063315
Vitalii Vorobiov [Tue, 25 Oct 2016 15:22:50 +0000 (18:22 +0300)]
Edje_Edit: use correct description array accessing

its a loop with j, but not with i
kinda a little typo

@fix

Change-Id: Ia026363b48db5ff3179e57fa46cb49b79145d775
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
7 years agogl-drm : fix uninitialized data issue 51/93551/2
sunghyun kim [Tue, 25 Oct 2016 01:48:35 +0000 (10:48 +0900)]
gl-drm : fix uninitialized data issue

fix uninitilized data issue

Change-Id: I2daff5d7d550d5237d6d1ac6419ba80fbe154718

7 years agogl-drm : fixed uninitialized data when use eglGetConfigAttrib() 52/93552/1
sunghyun kim [Tue, 25 Oct 2016 01:53:13 +0000 (10:53 +0900)]
gl-drm : fixed uninitialized data when use eglGetConfigAttrib()

fixed uninitialized data when use eglGetConfigAttrib()

Change-Id: If43674a299a240baf08d76538b5589d6add73182

7 years agoedje entry: revert tizen only fixes for _surrounding_cb function 16/93216/1
Youngbok Shin [Fri, 21 Oct 2016 05:09:13 +0000 (14:09 +0900)]
edje entry: revert tizen only fixes for _surrounding_cb function

@tizen_fix

Change-Id: Id8a27bce480484ca68fc16f483014cef98148b07

7 years agoedje_edit: avoid generate '(null)' value for image.normal 78/92678/2
Vyacheslav Reutskiy [Tue, 18 Oct 2016 05:49:07 +0000 (08:49 +0300)]
edje_edit: avoid generate '(null)' value for image.normal

Change-Id: I4b53afb0375d4fa7a0c3b88ff05b0c368543f96d
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoedje_edit: add correct tweens generation for inherit state 77/92677/2
Vyacheslav Reutskiy [Mon, 17 Oct 2016 14:25:43 +0000 (17:25 +0300)]
edje_edit: add correct tweens generation for inherit state

Change-Id: I639de7b040687e4f21852b4d0c4580f807e5f0e6
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoeina tmp get - support other tmp dir env vars and dont use xdg runtime 33/92933/2
Carsten Haitzler (Rasterman) [Fri, 8 Apr 2016 02:03:44 +0000 (11:03 +0900)]
eina tmp get - support other tmp dir env vars and dont use xdg runtime

xdg runtime dir is NOT a tmp dir in the normal sense. it's not world
writable nor world readable. only for the user.  using
eina_environment_tmp_get() would imply that it is a regular tmp dir,
not a per-user private only runtime dir. that is something else
entirely.

@fix

Change-Id: I4fa9e50f9d731c8297f5b0f16314f5193b17e2af

7 years agoEina: Fix eina_file_mk[ds]temp when a path is passed 90/91990/3
Jean-Philippe Andre [Tue, 19 Jan 2016 02:50:54 +0000 (11:50 +0900)]
Eina: Fix eina_file_mk[ds]temp when a path is passed

If the template is a path, mkstemp and mkdtemp would fail
miserably as they would try to create a file inside
/run/user/1000//path/to/file.XXXXXX even if the path did not
exist.

This patch fixes that by creating temp files inside the sys temp
dir iif the templatename is just a basic name without path
separator.

@fix

Change-Id: I7d8503f8a15e9a03e92f33271dca280b966f70de
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
7 years agoeina: fix missing header 20/93020/1
Jean Guyomarc'h [Fri, 16 Oct 2015 13:14:22 +0000 (15:14 +0200)]
eina: fix missing header

This caused functions from eina_util to be undefined at compile time.
The compiler would make implicit casts of return values into ints,
which had major side effects (e.g. segfault edje_cc)

@fix

Change-Id: Ib64f6647d1f20049b504ba19e9f5138ae980ad32
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoevas: Force shaders pipe flush when using dynamic images (TBM) 60/92960/3 accepted/tizen/common/20161020.173508 accepted/tizen/ivi/20161020.130323 accepted/tizen/mobile/20161020.130155 accepted/tizen/tv/20161020.130242 accepted/tizen/wearable/20161020.130302 submit/tizen/20161020.095955
Jean-Philippe Andre [Wed, 19 Oct 2016 12:51:50 +0000 (21:51 +0900)]
evas: Force shaders pipe flush when using dynamic images (TBM)

This prevents a rare issue where an SVG resource would not show up
in some circumstance. The case was 100% reproducible but very
rare nonetheless.

Change-Id: I37939fdcedaef2e6fc573c26939e2238bec267af

7 years agowayland_shm: Add swap mode fallback when buffer age changes 97/92797/3
Wonki Kim [Tue, 11 Oct 2016 12:17:41 +0000 (21:17 +0900)]
wayland_shm: Add swap mode fallback when buffer age changes

This copies the behaviour in opengl_x11 engine, where the buffer
age needs to be continuously the same to be taken into account.
If the age varies, then we fallback to a full redraw.

Apparently this fixes issues on actual devices. I tested this
patch in weston (I didn't have issues before and buffer age is 1).

This commit is cherry-pick of the upstream commit.
https://git.enlightenment.org/core/efl.git/commit/?id=62ca4486ea30fd63a5589ea7af373a5cb9982031

TIZEN_ONLY tag has been removed

Change-Id: If479243d5f8bce5bd41142e833e04602e6152326
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agoevas/engine: don't store output as surface_cache data. 57/92857/1
Subhransu Mohanty [Wed, 19 Oct 2016 06:02:01 +0000 (15:02 +0900)]
evas/engine: don't store output as surface_cache data.

Change-Id: Ibb851a31d1a1533a580525583b87dc083206a21b

7 years agoecore_wl: Add values for indicating a position configured by server. 80/92780/2 accepted/tizen/common/20161019.145824 accepted/tizen/ivi/20161019.141820 accepted/tizen/mobile/20161019.141621 accepted/tizen/tv/20161019.141706 accepted/tizen/wearable/20161019.141743 submit/tizen/20161019.092255
Seunghun Lee [Tue, 18 Oct 2016 12:35:56 +0000 (21:35 +0900)]
ecore_wl: Add values for indicating a position configured by server.

These values will be updated when a position of client is changed by server,
and it will be used to compare with arguments of ecore_wl_window_position_set().
The reason why this is needed is to avoid set a undesirable position
if client try to set position again before receiving changed message from
server for first one.

Change-Id: Iab25e1830250005c33dc72459c3d2ad152a5b4f1

7 years agoevas textblock: fix build warning from textblock 73/92773/2
Youngbok Shin [Tue, 18 Oct 2016 12:19:43 +0000 (21:19 +0900)]
evas textblock: fix build warning from textblock

@tizen_fix

Change-Id: I7d988c6bf565ea9cd9b374881ca14ea94bd01017

7 years agoecore_wayland: added code to handle the window style 40/92740/2
Doyoun Kang [Tue, 18 Oct 2016 10:57:39 +0000 (19:57 +0900)]
ecore_wayland: added code to handle the window style

Change-Id: I0d9247c3e1ed9b3e16ea309988139e68659c8cff

7 years agoevas: Modify logic to properly invalidate buffer 33/92433/3
Wonki Kim [Tue, 11 Oct 2016 12:17:41 +0000 (21:17 +0900)]
evas: Modify logic to properly invalidate buffer

when buffer size is growing, there is a chance not to invalidate
back buffer properly, this commit remove the case.

Change-Id: I06778e8abf654c0aef60885f9326aa6f2334b447
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agoecore_wl: fix svace issue. 31/92431/2
Hosang Kim [Mon, 17 Oct 2016 04:03:10 +0000 (13:03 +0900)]
ecore_wl: fix svace issue.

The variable name is wrong in ecore_wl_window_keygrab_list_unset API.
Change-Id: I24a9b3328ffbf07a081b0b8c9fdb15549c7ced52

7 years agoedje_edit: new API for generate source code for color classes 10/92010/3
Vyacheslav Reutskiy [Wed, 12 Oct 2016 12:00:05 +0000 (15:00 +0300)]
edje_edit: new API for generate source code for color classes

Extend edje edit deberate source API. Add two new API.
 - edje_edit_object_color_class_list_get return a list of used color classes for
   given object
 - edje_edit_color_classes_source_generate is generate code for given
   color classes list

Change-Id: I4a5f876ba75b3e1922f09512596ce2638312fd2d
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoedje_edit: add API for get source code of global block data 09/92009/3
Vyacheslav Reutskiy [Tue, 11 Oct 2016 12:50:10 +0000 (15:50 +0300)]
edje_edit: add API for get source code of global block data

This API is annex for edje_edit_object_source_generate. Together this
API's provide a mechanism for generate source for custom groups from
a edj file or more.

Change-Id: I75787336b30d4d0fd94ad727a73e3ebed1001223
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoedje_edit: add API for generate group source code without 'collection' 08/92008/3
Vyacheslav Reutskiy [Tue, 11 Oct 2016 11:38:34 +0000 (14:38 +0300)]
edje_edit: add API for generate group source code without 'collection'

Change-Id: I1b48b753de6d0a913a58c700aabb529e0ef6d9b0
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoedje_edit: proper work with part id's on part restack and del for map fields 07/92007/3
Vitalii Vorobiov [Tue, 11 Oct 2016 11:54:24 +0000 (14:54 +0300)]
edje_edit: proper work with part id's on part restack and del for map fields

@fix

Change-Id: I6cb218d833047dc21ea8eb0a29e1c322bf278a9f
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoEdje_Edit: add forgotten part_item_index API into header 06/92006/3
Vitalii Vorobiov [Mon, 3 Oct 2016 17:07:13 +0000 (20:07 +0300)]
Edje_Edit: add forgotten part_item_index API into header

It was already implemented but looks like forgotten to be added into
Edje_Edit header, so we got banch of unused and unavailable API

@fix

Change-Id: I59ce22c7bca0d10ec4d7f38bcfe39cdfc132b27b
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoevas/map: do nothing when same map is set again 30/91730/2
Subhransu Mohanty [Tue, 11 Oct 2016 06:01:52 +0000 (15:01 +0900)]
evas/map: do nothing when same map is set again

Change-Id: I5ef2c7450e00de27cd96cb09db9d8fc518c6b5d2

7 years agoecore_wl_input: fix rotary event timestamp. 39/92239/1
Hosang Kim [Fri, 14 Oct 2016 05:55:24 +0000 (14:55 +0900)]
ecore_wl_input: fix rotary event timestamp.

ecore_time_get()'s return value is second unit.
But we need millisecond uniti of value.

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

7 years agoedje: introduction of text marquee with new ellipsis grammar 29/86329/18
Shinwoo Kim [Wed, 31 Aug 2016 12:56:18 +0000 (21:56 +0900)]
edje: introduction of text marquee with new ellipsis grammar

[fixed issue]
 - issue coming with clipper deletion when device is rotated.
 - issue coming with horizontal scrolling.
 - issue coming with textblock on RTL status.
 - issue coming with textblock clipper when device is rotated.

[enhanced]
 - use HEAD, TAIL for ellipsis direction.
 - add slide speed factor (px/sec).
 - change to marquee from slide.
 - remove slide speed factor, adding repeat limit factor.
 - handle start point with scrolling.
 - set default ellipsis marquee repeat limit to -1.
 - reset ellipsis marquee repeat count to handle state changing.
 - remove "ellipsis.on", using EDJE_TEXT_ELLIPSIS_MODE_NONE.
 - use "ellipsize", separated from "ellipsis".
 - check if last description is using ellipsis.
 - enhance readability.

Conflicts:
        src/bin/edje/edje_cc_handlers.c
        src/lib/edje/edje_calc.c
        src/lib/edje/edje_data.c

Change-Id: Iee6d3b815e5929c06578dee47106291632200879

7 years agoecore_wl: send mouse_in/out event when gets touch events. 56/91756/3
Duna Oh [Tue, 11 Oct 2016 07:38:57 +0000 (16:38 +0900)]
ecore_wl: send mouse_in/out event when gets touch events.

Change-Id: I30524d509194a15c5794ff5b45ab56d8ed984da5
Signed-off-by: Duna Oh <duna.oh@samsung.com>
7 years agoedje_calc: add rounding pixel calculation for transition. 99/91899/1
Hosang Kim [Tue, 11 Oct 2016 12:11:14 +0000 (21:11 +0900)]
edje_calc: add rounding pixel calculation for transition.

Summary: when transition animation is working, sometimes one pixels loss occurs.

Reviewers: cedric, woohyun, jpeg, raster

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D4341
Change-Id: I4985ad1f65cb521b510732bac7ed8cc20ffdc011

7 years agoKeep Tizen build option naming rule 71/91871/1 accepted/tizen/common/20161013.161055 accepted/tizen/ivi/20161013.035107 accepted/tizen/mobile/20161013.034943 accepted/tizen/tv/20161013.035007 accepted/tizen/wearable/20161013.035040 submit/tizen/20161012.131550 submit/tizen/20161013.015447 submit/tizen_common/20161013.071727
Shinwoo Kim [Wed, 12 Oct 2016 04:08:27 +0000 (13:08 +0900)]
Keep Tizen build option naming rule

Change-Id: I9ac111771caed93004fd9d98829b5ad388fc8819

7 years agoecore_imf: fix issue magic check does not work after deletion 38/91838/2
Jihoon Kim [Tue, 11 Oct 2016 23:31:49 +0000 (08:31 +0900)]
ecore_imf: fix issue magic check does not work after deletion

gcc O2 optimization makes to skip ECORE_MAGIC_SET(ctx, ECORE_MAGIC_NONE) before free()
in ecore_imf_context_del().
It's essential for magic check, so no optimization attribute is used to prevent for skipping.

Change-Id: I15dc96c12adb6b2f7f55063d2d0068c619fd0c42
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoecore_drm: Change vsprintf to vsnprintf 77/91777/2
JengHyun Kang [Tue, 11 Oct 2016 09:08:13 +0000 (18:08 +0900)]
ecore_drm: Change vsprintf to vsnprintf

Change-Id: I0476090e83b363cb4215bce05442f128495b9bf7

7 years ago evas: Fix no update issue if visiblity of smart object has change 10/91810/1
Ji-Youn Park [Tue, 11 Oct 2016 12:18:49 +0000 (20:48 +0830)]
evas: Fix no update issue if visiblity of smart object has change

    Summary: If child has change about visibility, can't check it correctly.

    Reviewers: jypark, cedric, jpeg, Hermet

    Reviewed By: Hermet

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

    opensource_commit 846c14a3925e22b0eec7a7864b6cd8875211e611
    Author: jiin.moon <jiin.moon@samsung.com>
    Date:   Tue Oct 11 21:08:29 2016 +0900

Change-Id: I7c2ae19327300c4f40b8eb0cc2e0b2fa6bdc72ba

7 years ago evas: Fix not update issue with TBM surface 92/91792/1
Ji-Youn Park [Tue, 11 Oct 2016 09:50:01 +0000 (18:20 +0830)]
evas: Fix not update issue with TBM surface

    Summary:
    If the pixels of image object has updates
    via native_suface_set api with TBM surface,
    does not update on screen(no rendering)

    opensource_commit c1a080f5e4e3ef01cfb792ef3eb9c9e59ba4d3f3
    Author: jiin.moon <jiin.moon@samsung.com>
    Date:   Tue Oct 11 08:58:52 2016 +0830

    Reviewers: jpeg, cedric

Change-Id: Iece958dfd027eea41c6b08f11200dc99940b5770

7 years agoEvas textblock: add ellipsis_disabled_set/get APIs 39/91739/4
Youngbok Shin [Tue, 11 Oct 2016 06:37:34 +0000 (15:37 +0900)]
Evas textblock: add ellipsis_disabled_set/get APIs

The patch is reviewing in the following link.
   https://phab.enlightenment.org/D3780

@tizen_feature

Change-Id: I7ea53d0810185280f671ce2ef503ed0d892beddc

7 years agoecore wayland: fix build break 42/91742/3
Youngbok Shin [Tue, 11 Oct 2016 06:46:29 +0000 (15:46 +0900)]
ecore wayland: fix build break

Change-Id: I4475369e017244928311d0b4ed367ca1774b870d

7 years ago[evas_sw] I change the location getting the tbm surface 03/91703/3
Joogab Yun [Tue, 11 Oct 2016 02:23:59 +0000 (11:23 +0900)]
[evas_sw] I change the location getting the tbm surface
         and tbm_surface_internal_ref()

Change-Id: I23c9bd4786c072bb704f396c8be98d53913b40e9

7 years agoecore_wl: add ecore_wl_window_keygrab_list_set/unset API. 76/76976/13
Hosang Kim [Tue, 28 Jun 2016 07:13:37 +0000 (16:13 +0900)]
ecore_wl: add ecore_wl_window_keygrab_list_set/unset API.

Using this API, several keys are grabbed at once.

Change-Id: I5983c5b19f9cfb9c7208d07ff87a2c0aed95fc16
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
7 years agoecore_wl: support 'tizen_clipboard' interface 93/89393/5 submit/tizen/20161011.025405
MinJeong Kim [Fri, 23 Sep 2016 08:07:03 +0000 (17:07 +0900)]
ecore_wl: support 'tizen_clipboard' interface

Change-Id: I50416388ed14db7cfa7330cfeb7a2ea3c8973d36
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoecore_evas_wayland: Updating for evas by deiconify state will be enabled by 'ECORE_EV... 26/89326/3
Seunghun Lee [Fri, 23 Sep 2016 00:24:31 +0000 (09:24 +0900)]
ecore_evas_wayland: Updating for evas by deiconify state will be enabled by 'ECORE_EVAS_DEICONIFY_RENDER_UPDATE' env.

Change-Id: I8b81c1232094da3f66d3efe0fba5381bc9e9d1c9

7 years agoRevert "Revert "evas text: fixed the text cut issue when an effect is applied"" 01/91401/1
Shinwoo Kim [Fri, 7 Oct 2016 08:32:59 +0000 (17:32 +0900)]
Revert "Revert "evas text: fixed the text cut issue when an effect is applied""

This reverts commit e025d96deaf256574358377f3a93025f150d137d.

Change-Id: I8b3e7add6a9cd6e09d746cc483e18e8524e9ee2c

7 years agoRevert "Revert "efl/interface: refactored svg_path() api as well as added arc animation"" 00/91400/1
Shinwoo Kim [Fri, 7 Oct 2016 08:31:59 +0000 (17:31 +0900)]
Revert "Revert "efl/interface: refactored svg_path() api as well as added arc animation""

This reverts commit 7b1f471fe87455e9f9b673aee9e82cb0edadeb89.

Change-Id: I34a121ad2bf346c5fd90b60aaa7beda5d022fee6

7 years agoRevert "Revert "evas: backported vg api renaming patch"" 99/91399/1
Shinwoo Kim [Fri, 7 Oct 2016 08:31:00 +0000 (17:31 +0900)]
Revert "Revert "evas: backported vg api renaming patch""

This reverts commit 24fd293d0cdcadf6bf54947fffa3e24184562885.

Change-Id: Ie0a0369db84e3fd9712110ea9502510cc1bde0f8

7 years agoRevert "Revert "evas/engine: changed the default ector engine to native engine. To... 97/91397/1
Shinwoo Kim [Fri, 7 Oct 2016 08:30:15 +0000 (17:30 +0900)]
Revert "Revert "evas/engine: changed the default ector engine to native engine. To change the engine to cairo use ECTOR_BACKEND=cairo""

This reverts commit f620fe2f1328001d73435910978309f4a0a3b145.

Change-Id: I80c652a9ceea5ebeb7ed56f60b71792f5a949405

7 years agoRevert "mark deprecated APIs with EINA_DEPRECATED" 86/91386/1 accepted/tizen/common/20161007.173244 accepted/tizen/ivi/20161007.104111 accepted/tizen/mobile/20161007.104148 accepted/tizen/tv/20161007.104136 accepted/tizen/wearable/20161007.104124 submit/tizen/20161007.082451
Shinwoo Kim [Fri, 7 Oct 2016 08:02:07 +0000 (17:02 +0900)]
Revert "mark deprecated APIs with EINA_DEPRECATED"

This reverts commit b4f33abfca566643ce8a60c9ccd8d7d60586991d.

Conflicts:
src/lib/edje/Edje_Legacy.h
src/lib/eina/eina_unicode.h
src/lib/evas/Evas_Common.h

Change-Id: I230cc09ea57f8994a427efa74ed84db8597726d7

7 years agoRevert "evas/engine: changed the default ector engine to native engine. To change... 84/91384/1
Shinwoo Kim [Fri, 7 Oct 2016 07:58:11 +0000 (16:58 +0900)]
Revert "evas/engine: changed the default ector engine to native engine. To change the engine to cairo use ECTOR_BACKEND=cairo"

This reverts commit 30669b268bd460ec338485f2f87e5e741c4abac7.

Change-Id: I7724b4164114a90807bea2ec57e7dd36266d607c

7 years agoRevert "evas: backported vg api renaming patch" 83/91383/1
Shinwoo Kim [Fri, 7 Oct 2016 07:57:15 +0000 (16:57 +0900)]
Revert "evas: backported vg api renaming patch"

This reverts commit 1777c46a57342451e71bc4bfd8f7a5a1e643f309.

Change-Id: I85499c40a0fabc254e1e4d77a249be2e4b52f5dd

7 years agoRevert "efl/interface: refactored svg_path() api as well as added arc animation" 81/91381/1
Shinwoo Kim [Fri, 7 Oct 2016 07:56:20 +0000 (16:56 +0900)]
Revert "efl/interface: refactored svg_path() api as well as added arc animation"

This reverts commit 72473754653d1ef61a4822211fb7f0b27d360a28.

Change-Id: If6fc6ce807cfc344a2e83949378b647e191c4a5e

7 years agoRevert "evas text: fixed the text cut issue when an effect is applied" 80/91380/1
Shinwoo Kim [Fri, 7 Oct 2016 07:53:43 +0000 (16:53 +0900)]
Revert "evas text: fixed the text cut issue when an effect is applied"

This reverts commit e0ef2fb722d8e256709f7f0f2cc097c4bfc97add.

Change-Id: I5afec6d9d79da05e435bf82f4217a77a3812a443

7 years agoevas text: fixed the text cut issue when an effect is applied 59/91259/2
Youngbok Shin [Thu, 6 Oct 2016 11:41:06 +0000 (20:41 +0900)]
evas text: fixed the text cut issue when an effect is applied

It is caused by missing left, right style pad values.

@tizen_fix

Change-Id: I5e76ddb1f9873994e28680e74be461619fb14150

7 years agoefl/interface: refactored svg_path() api as well as added arc animation 32/89832/3
Subhransu Mohanty [Tue, 27 Sep 2016 06:48:29 +0000 (15:48 +0900)]
efl/interface: refactored svg_path() api as well as added arc animation

Summary: Change-Id: Ib29112fa2d0c6107ed8df75f7f6ee96d0fbe94a4

Test Plan:

Reviewers:

Change-Id: I5c227f55ce7c10484ff2f326993bf2e3ee7f1bc4
Subscribers:

7 years agoevas: backported vg api renaming patch 74/91174/2
Subhransu Mohanty [Thu, 6 Oct 2016 06:37:54 +0000 (15:37 +0900)]
evas: backported vg api renaming patch

Change-Id: I7008cd8be3cf0b4d69f51e875c291405e3df24e9

7 years agoevas/engine: changed the default ector engine to native engine. To change the engine... 73/91173/1
Subhransu Mohanty [Thu, 6 Oct 2016 06:31:03 +0000 (15:31 +0900)]
evas/engine: changed the default ector engine to native engine. To change the engine to cairo use ECTOR_BACKEND=cairo

Change-Id: I4034a257b030ae625f2a82bef886447dcf7b2c73

7 years agoecore_file/ipc: clean up documentation 82/91082/1 accepted/tizen/3.0/ivi/20161011.043919 accepted/tizen/3.0/mobile/20161015.033256 accepted/tizen/3.0/tv/20161016.004328 accepted/tizen/3.0/wearable/20161015.082854 accepted/tizen/common/20161006.154032 accepted/tizen/ivi/20161006.233149 accepted/tizen/mobile/20161006.233020 accepted/tizen/tv/20161006.233053 accepted/tizen/wearable/20161006.233121 submit/tizen/20161006.113349 submit/tizen_3.0_ivi/20161010.000001 submit/tizen_3.0_mobile/20161015.000002 submit/tizen_3.0_tv/20161015.000001 submit/tizen_3.0_wearable/20161015.000002
Jee-Yong Um [Wed, 5 Oct 2016 13:46:59 +0000 (22:46 +0900)]
ecore_file/ipc: clean up documentation

========================================================================
commit 3b4293ffa334303ccd2de0422d56a21873afcba0
Author: Jee-Yong Um <conr2d@gmail.com>
Date:   Tue Oct 4 21:08:17 2016 +0900

    ecore_file/ipc: clean up documentation

    Summary:
    move comment from c source to header and adjust ingroup relationship

    Reviewers: cedric, jpeg, Hermet

    Reviewed By: Hermet

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

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: Iddccfe0764a8b40a9e00843822c81894eaeac5e5

7 years agoedje: Fix UI mirroring for GROUP parts 35/90735/2
Minwoo, Lee [Tue, 4 Oct 2016 06:09:11 +0000 (15:09 +0900)]
edje: Fix UI mirroring for GROUP parts

GROUP parts were not mirrored with the rest of the edje object,
this commits fixes that.

This commit is from opensource.
(2781eef823ea32abbfb3360ffdb60bf6ba3a460c)

Change-Id: I95c5ca6f8868d8523875e469ac70046a35f77b2b

7 years agoevas: Avoid proxy subrender if size is 0 32/90632/2
Jean-Philippe Andre [Tue, 19 Jul 2016 05:36:41 +0000 (14:36 +0900)]
evas: Avoid proxy subrender if size is 0

See also D4159. This is an alternative to the proposed patch.

Fixes T3949 (I hope!)

Change-Id: Id227b4bbb5886b42a5c8b80be4fed8aa74b48d4a
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
7 years agoedje: introduce size_class attribute 09/90609/2
Jee-Yong Um [Tue, 8 Dec 2015 03:15:48 +0000 (12:15 +0900)]
edje: introduce size_class attribute

Edje_Part can change its min or max size in code level with
size_class.

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

PS: Manual commit, arc refused to work...

@feature

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
Change-Id: I423a88c3eccb2f2564597133b33dc417903cb102

7 years agoecore_drm: swap dx and dy axis from relative pointer motion event 67/89367/8
Duna Oh [Fri, 23 Sep 2016 07:38:56 +0000 (16:38 +0900)]
ecore_drm: swap dx and dy axis from relative pointer motion event

Since user gives mouse input events accoring to canvas coordinates,
when canvas is rotated, we swap x, y axis and inverse them according to rotation angle.

Change-Id: Ie88bdba9d1aa02dcd841fe82d64b2ef5dbd4f70c
Signed-off-by: Duna Oh <duna.oh@samsung.com>
7 years agoefl: tag @since_tizen info 50/90450/2
Jee-Yong Um [Fri, 30 Sep 2016 06:22:13 +0000 (15:22 +0900)]
efl: tag @since_tizen info

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I468c0efe6f1f810fc645b22cf6401b8052ba19bb

7 years agoecore_drm: Set a libinput's log handler 42/89942/3
JengHyun Kang [Tue, 27 Sep 2016 14:19:50 +0000 (23:19 +0900)]
ecore_drm: Set a libinput's log handler

Change-Id: Ic53c7afbf579f0b38fa17cd971f218ed451a1e2b

7 years agotext/entry: add more key controls for os x 33/90433/2
Thiep Ha [Fri, 30 Sep 2016 04:31:30 +0000 (13:31 +0900)]
text/entry: add more key controls for os x

In OS X, cmd-c,v, ... keys are used instead of ctrl-c,v...,
this patch adapts these key handlings.

Change-Id: Ia751eedf5f2180692f64ae2d43e262345f89ce4e
Author: Thiep Ha <thiepha@gmail.com>
Date:   Fri Sep 23 17:51:37 2016 +0900

7 years agoecore_cocoa: quit application with key 32/90432/2
Thiep Ha [Fri, 23 Sep 2016 08:49:34 +0000 (17:49 +0900)]
ecore_cocoa: quit application with key

In OS X, cmd-q is used to quit application,
this patch adds that feature.

Change-Id: I898370f4e0c5d518603fc29f3c6e7e72a51d9485

7 years agoeolian: allow to set @internal to setter/getter independently 19/90419/2
Jee-Yong Um [Fri, 30 Sep 2016 02:51:19 +0000 (11:51 +0900)]
eolian: allow to set @internal to setter/getter independently

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I87202ba21f0975f3b1b5a205847ad65442d92699

7 years agoevas-gl : use tex_sub_2d() in evas_gl_common_texture_upload 27/90427/1
sunghyun kim [Fri, 30 Sep 2016 03:57:04 +0000 (12:57 +0900)]
evas-gl : use tex_sub_2d() in evas_gl_common_texture_upload

Change-Id: I71e9a7e6a92a93afc15b791bb648999109f5deb1

7 years agoeolian: add @internal qualifier 98/90098/2
Jee-Yong Um [Wed, 28 Sep 2016 09:28:19 +0000 (18:28 +0900)]
eolian: add @internal qualifier

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I094eb95760dcb578751946e93d851b9456024eb8

7 years agoedje: separate color_class hash recursive finder 79/89679/2
Jee-Yong Um [Mon, 26 Sep 2016 09:54:53 +0000 (18:54 +0900)]
edje: separate color_class hash recursive finder

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I68801d0d022db27dfac03483d66bb26d5e15abe1

7 years ago[evas_gl] prevent a texture from become null when using dynamic hint 15/90215/2
Joogab Yun [Thu, 29 Sep 2016 04:29:28 +0000 (13:29 +0900)]
[evas_gl] prevent a texture from become null when using dynamic hint
set.
          and add debug log

Change-Id: Iea04129650c14a853b487bdebfe804c788311d66

7 years agoedje: add edje_object_color_class_clear() 76/90076/2
Jee-Yong Um [Wed, 28 Sep 2016 07:50:37 +0000 (16:50 +0900)]
edje: add edje_object_color_class_clear()

===============================================================
commit c963a0f9cb3009b7ad1a5cdc623b0d7c9f8d3e4f
Author: Jee-Yong Um <conr2d@gmail.com>
Date:   Mon Jan 4 15:10:58 2016 -0800

    edje: add edje_object_color_class_clear()

    Summary: clear all color classes defined in edje object

    Reviewers: raster, jpeg

    Subscribers: woohyun, cedric, kimcinoo

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
===============================================================

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: Ifae7a3b2672ed416a6707ac70e2b81c975caf421

7 years agoefl: adjust documentation defgroups 11/89011/5
Jee-Yong Um [Wed, 21 Sep 2016 11:19:17 +0000 (20:19 +0900)]
efl: adjust documentation defgroups

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: Id96702e2d0ab39ae15c73f500884a87947da5c45

7 years agoedje_cc: don't warn when image attributes are missing in inherit_only group 66/90066/1
Youngbok Shin [Wed, 28 Sep 2016 06:49:23 +0000 (15:49 +0900)]
edje_cc: don't warn when image attributes are missing in inherit_only group

Summary:
The inherit_only groups could be used for template of other groups.
So, even if it has image part, it dose not need to have image attributes.
@fix

Test Plan: N/A

Reviewers: cedric, conr2d, jpeg, raster

Reviewed By: raster

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

Change-Id: I1568c3600a0e3b5270acb3d0e376769a1b96d9c7

7 years agoedje_edit: add null checking 27/88627/2
Jaehwan Kim [Tue, 20 Sep 2016 04:46:29 +0000 (13:46 +0900)]
edje_edit: add null checking

Conflicts:
src/lib/edje/edje_edit.c

Change-Id: I2450dfe70cfcb14e2da751bca86158fa7e83bac9