platform/upstream/efl.git
7 years agoedje entry: ignore a mouse up event which is holded by other object
Youngbok Shin [Thu, 10 Nov 2016 09:26:12 +0000 (18:26 +0900)]
edje entry: ignore a mouse up event which is holded by other object

It prevents updating cursor while srolling a elm_entry or other object.

@tizen_fix

Change-Id: Ice221d9eba8d6b94dd1e43170c9e6682cf989e56

7 years agoedje_edit: fix segmentation fault(Array index is out of bound)
Jaehwan Kim [Tue, 22 Nov 2016 08:16:54 +0000 (17:16 +0900)]
edje_edit: fix segmentation fault(Array index is out of bound)

@fix

Change-Id: I11e3cbc9470e5511ff7c656aeb519fe0b22b828e

7 years agoedje_entry: fix "command do nothing when capslock on"
JinYong Park [Fri, 18 Nov 2016 07:13:59 +0000 (16:13 +0900)]
edje_entry: fix "command do nothing when capslock on"

@tizen_fix

Change-Id: Iefe2973d15a6e34e5e9db65f0f7cf3870d58d92e
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years ago[Extn_GL] fix resize bug
sunghyun kim [Mon, 21 Nov 2016 05:51:55 +0000 (14:51 +0900)]
[Extn_GL] fix resize bug

if cliend is added, socket need to send size to plug.

Change-Id: I33e818b0327a6e1409e22bc1bd2172e963e5c2dd

7 years ago[ecore_evas_extn] bug fix in ecore_evas_extn
sunghyun kim [Thu, 17 Nov 2016 04:16:06 +0000 (13:16 +0900)]
[ecore_evas_extn] bug fix in ecore_evas_extn

Change-Id: I335bf62d9b9b50ca58899d5241f9a64e448defb4

7 years ago[EvasGL] Fix to 3D memory leak.
Wonsik, Jung [Thu, 17 Nov 2016 13:29:31 +0000 (22:29 +0900)]
[EvasGL] Fix to 3D memory leak.

If evas_gl_make_current is called with NULL,
and evgl_surface_destroy and evgl_context_destroy is called,
3D memory leak occurs.
Because rsc->current_ctx is NULL in evas_gl_make_current
and texture and framebuffer can not be free in destroy funnctions.
To fix that, one value is added to EVGL_resource.
This value is kept with current_ctx, when evas_gl_make_current is called with NULL.

Change-Id: Iabb7685d0c5e932b0e08e716225bf15f58696d0b

7 years agoEdje entry: Do not update anchors outside viewport.
SubodhKumar [Fri, 4 Nov 2016 10:03:24 +0000 (15:33 +0530)]
Edje entry: Do not update anchors outside viewport.

Summary:
Do not update anchors outside viewport.

Problem is that when entry contains large number of anchors,
scrolling and launch performance is degraded due to lots of objects
being created and maintained, so to enhance the performance of
entry with anchors, anchors is not updated outside the viewport.

Test Plan:

    Should have large number of anchors in entry
    Observe the launch and scrolling performance.

Reviewers: tasn, raster, herdsman

Subscribers: thiepha, raster, cedric, jpeg

Tags: efl

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

Change-Id: I49cf544f3caad9a0e3cf5a9157906a7347eb5af1
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
7 years agoEdje entry: Do not update cursor for non editable entry.
SubodhKumar [Fri, 4 Nov 2016 09:24:01 +0000 (14:54 +0530)]
Edje entry: Do not update cursor for non editable entry.
Summary: Do not update cursor for non editable entry.
If entry is not editable there must not be any need to query
tb cursor geometry and run other codes related to it.
This may improve some performance of non-editable entry.
Test Plan: NA
Reviewers: tasn, herdsman, thiepha
Subscribers: shilpasingh, cedric, jpeg
Projects: efl
Differential Revision: https://phab.enlightenment.org/D3532
Change-Id: I11d5c083a91fc223f1813c63bbcafd30b65be37f
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
7 years agoeet: return 0 instead of NULL when the return type is int
Jean Guyomarc'h [Sat, 12 Nov 2016 09:42:45 +0000 (10:42 +0100)]
eet: return 0 instead of NULL when the return type is int

Change-Id: Icaaf1571b34f9adced3abf3f0e855402e63acd33
Signed-off-by: Artem Popov <artem.popov@samsung.com>
7 years agoecore_wayland: prevent overwriting read file descriptor
Taehyub Kim [Thu, 17 Nov 2016 06:24:16 +0000 (15:24 +0900)]
ecore_wayland: prevent overwriting read file descriptor

Change-Id: Idc013685698ebfdd27cc2efbfad8c37be017c2b8

7 years agoRevert "[ecore_evas_extn] Enable GL in indicator"
sunghyun kim [Fri, 18 Nov 2016 02:03:41 +0000 (18:03 -0800)]
Revert "[ecore_evas_extn] Enable GL in indicator"

This reverts commit d509c9919b408907e4f16a9a33fc73d6a0c3705d.

Change-Id: I1d0280ee973a4be37173f648add9e5d98f274d5e

7 years agoeet: add to basic eet_image EAPIs checking on NULL
Artem Popov [Fri, 11 Nov 2016 17:57:38 +0000 (09:57 -0800)]
eet: add to basic eet_image EAPIs checking on NULL
@fix

Summary: to avoid segfaults with NULL raw data, add checking on NULL to basic eet_image APIS

Reviewers: NikaWhite, cedric, myoungwoon, jpeg

Reviewed By: jpeg

Subscribers: t.naumenko, jpeg

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

Change-Id: I8a1bdf9df1864e271c33a71361da57fb3ed84374
Signed-off-by: Artem Popov <artem.popov@samsung.com>
7 years agoEina: add NULL check to eina_module_symbol_global_set API @fix
Artem Popov [Mon, 7 Nov 2016 22:42:51 +0000 (14:42 -0800)]
Eina: add NULL check to eina_module_symbol_global_set API @fix

Summary: Add checking on NULL like in other API in module, to avoid segmentation fault

Reviewers: NikaWhite, cedric

Reviewed By: cedric

Subscribers: myoungwoon, jpeg

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

Change-Id: Icc405c0a3f3e9bf6309d611d8e2f51ef640942ea
Signed-off-by: Artem Popov <artem.popov@samsung.com>
7 years agoedje entry: ignore a mouse up event which is holded by other object
Youngbok Shin [Thu, 10 Nov 2016 09:26:12 +0000 (18:26 +0900)]
edje entry: ignore a mouse up event which is holded by other object

It prevents updating cursor while srolling a elm_entry or other object.

@tizen_fix

Change-Id: Ice221d9eba8d6b94dd1e43170c9e6682cf989e56

7 years agoeina_value: adjust defgroup to fix documentation 23/95023/2
Jee-Yong Um [Wed, 2 Nov 2016 06:36:07 +0000 (15:36 +0900)]
eina_value: adjust defgroup to fix documentation

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

7 years agoecore: early destruction of animator allow for tick end to always be triggered. 28/91228/2
Cedric BAIL [Wed, 13 Jul 2016 22:09:03 +0000 (15:09 -0700)]
ecore: early destruction of animator allow for tick end to always be triggered.

T4043

Change-Id: If6a0f50d4d90b31305e00dafebbbd2250d00ec2f
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
7 years agoedje: added NULL check.
Subhransu Mohanty [Fri, 11 Nov 2016 08:12:56 +0000 (17:12 +0900)]
edje: added NULL check.
svac warning: WGID 150623

Change-Id: Ic8857953e8f4ab2634d10dfe6309c5dca3e8acd2

7 years ago[evas_gl] support partial rendering 33/95833/2
Joogab Yun [Fri, 4 Nov 2016 02:35:49 +0000 (11:35 +0900)]
[evas_gl] support partial rendering
          If eglSetDamageRegionKHR has already been called on <surface>
          since the most recent frame boundary, an EGL_BAD_ACCESS error is generated

Change-Id: I0d02c3cdff855fd355c448027dcf20aafb1c559b

7 years agoevas_tbmbuf: set proxy of wl_tbm to event queue when waiting buffer 27/96227/3
Changyeon Lee [Fri, 4 Nov 2016 06:26:41 +0000 (15:26 +0900)]
evas_tbmbuf: set proxy of wl_tbm to event queue when waiting buffer

wayland-tbm-server send frame buffer to client when entering hwc
by sending event to proxy of wl_tbm and wl_tbm_queue.
so client need to handle event of wl_tbm and wl_tbm_queue when waiting buffers.

Change-Id: I674a273575aa3c9b2e4da01378fc5223bb160a67

7 years agoecore_wayland/ecore_evas: update aux hint supported list when supported_get is called
MinJeong Kim [Wed, 16 Nov 2016 07:44:18 +0000 (16:44 +0900)]
ecore_wayland/ecore_evas: update aux hint supported list when supported_get is called

Change-Id: I878e962d80cc44c6eefc787e4e05a5cc9e84cf1a
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoRevert "edje entry: keep cursor position on mouse down and move"
Youngbok Shin [Tue, 15 Nov 2016 10:40:51 +0000 (19:40 +0900)]
Revert "edje entry: keep cursor position on mouse down and move"

This reverts commit 4ba1e50975ff4b69dd9e575dc1cc266bda5f5504.

Change-Id: Ic0821f18ed97ba010eb76db7db8caef0df90cc2d

7 years agoedje: add missing since_tizen tag 15/97515/2
Jee-Yong Um [Mon, 14 Nov 2016 10:33:32 +0000 (19:33 +0900)]
edje: add missing since_tizen tag

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

7 years agoedje_edit: generate to source code base_scale if it different from 1.0
Vyacheslav Reutskiy [Mon, 31 Oct 2016 11:16:36 +0000 (13:16 +0200)]
edje_edit: generate to source code base_scale if it different from 1.0

Fixes T4767

Change-Id: I659388cd3904e7e439d7bc370ce0158fd17f55f1

7 years ago[ecore_evas_extn] Enable GL in indicator
sunghyun kim [Mon, 14 Nov 2016 06:54:45 +0000 (15:54 +0900)]
[ecore_evas_extn] Enable GL in indicator

Change-Id: Ief90607679fba0fd82d48eb00543700778fcf5da

7 years agoEdje calc: Fix textblock size calculation logic
Youngbok Shin [Thu, 1 Sep 2016 11:45:36 +0000 (20:45 +0900)]
Edje calc: Fix textblock size calculation logic

Summary:
In singleline textblock, using "text.min: 1 0" and min, max width,
Edje allows to use expandable text with ellipsis. It shows ellipsis
when only text's width reach the max width.
But, Edje couldn't support same feature on multiline textblock.
Edje dose not use max height or text.max properly if ellipsis is enabled.
This feature is very useful to make a layout with dynamically aligned text.
@fix

Reviewers: cedric, tasn, woohyun, raster, herdsman

Subscribers: z-wony, eagleeye, jpeg

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

Change-Id: I0b63ffe07c01c0b6a5fec1df712c99d5dba709e4

7 years agoedje entry: ignore a mouse up event which is holded by other object
Youngbok Shin [Thu, 10 Nov 2016 09:26:12 +0000 (18:26 +0900)]
edje entry: ignore a mouse up event which is holded by other object

It prevents updating cursor while srolling a elm_entry or other object.

@tizen_fix

Change-Id: Ice221d9eba8d6b94dd1e43170c9e6682cf989e56

7 years agoCanvas.text: fix segfault with ellipsis cases
Youngbok Shin [Mon, 14 Nov 2016 01:54:53 +0000 (10:54 +0900)]
Canvas.text: fix segfault with ellipsis cases

The specific handling for (0.0 <= ellip < 1) doesn't support multi-line cases.
One of the main reasons is that we haven't had the chance to define the wanted
behavior for multi-line.
This is a temporary hack to fix a segfault. The behavior is still undefined,
though.

Fixes T3885.

Change-Id: Icccea39a145f36cda34edca922bdbc7da0e731da

7 years agoedje entry: keep cursor position on mouse down and move
Youngbok Shin [Thu, 10 Nov 2016 07:21:05 +0000 (16:21 +0900)]
edje entry: keep cursor position on mouse down and move

When elm_entry takes focus by a mouse click event,
elm_entry needs to get new cursor position which is changed by mouse down/move/up.
But, elm_entry takes focus before updating the cursor of edje_entry.
It causes an issue about showing proper region.

So, the internal API will be used when elm_entry takes focus.

@tizen_fix

Change-Id: Ie479f9c2763eca56effc57ad7d3409fad7f0830e

7 years agoedje entry: do not create object if theme source is not available.
SubodhKumar [Fri, 4 Nov 2016 08:22:58 +0000 (13:52 +0530)]
edje entry: do not create object if theme source is not available.

Summary:
Object not created if theme source is not available.

In many case we dont need or define all the
theme sources for entry, even if the sources are
null, edje object is being created.

Test Plan: NA

Reviewers: tasn, herdsman, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: I11f4517d8a872d8053ca0164f40088e6d6d47c56
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
7 years agoEdje entry: Fix memory leak.
SubodhKumar [Fri, 4 Nov 2016 10:26:02 +0000 (15:56 +0530)]
Edje entry: Fix memory leak.

Summary:
Fix memory leak

If user or extra cursor is used, these should be free on
shutdown.

@fix

Test Plan: NA

Reviewers: tasn, herdsman

Subscribers: shilpasingh, cedric, jpeg

Projects: efl

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

Change-Id: I6e47fec4d6ad53bc3943c90dfe1805a75cceb2fa
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
7 years agoEdje entry: Add link press effect
SubodhKumar [Fri, 28 Oct 2016 12:52:43 +0000 (18:22 +0530)]
Edje entry: Add link press effect

Summary:
Add link press effect

Custom tag (linked_pressed) has to be supplied in entry tb style
with color value for press effect to be applied on link text.

Reviewers: tasn

Subscribers: shilpasingh, cedric, jpeg

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

Change-Id: I2084a2bde237ea7a0a09fdc93b4f93a5a7b31143
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
7 years agoevas: Apply the last character's advance for width calculation
Youngbok Shin [Fri, 7 Oct 2016 07:29:28 +0000 (16:29 +0900)]
evas: Apply the last character's advance for width calculation

@tizen_fix

Change-Id: I6729c05478efea3993f003e9cf3fb66ceb1d2bd9

7 years ago[evas-gl] fix texture offset for uploading
sunghyun kim [Fri, 11 Nov 2016 11:03:53 +0000 (20:03 +0900)]
[evas-gl] fix texture offset for uploading

Change-Id: I19076e86f732341d37f4dd66f80d3eabec2bf11d

7 years agoFix efl compilation with and without physics
Andrii Kroitor [Wed, 9 Nov 2016 08:52:33 +0000 (10:52 +0200)]
Fix efl compilation with and without physics

Change-Id: I5d4ba1778b468365276f94ffb890cb431991df26

7 years ago[efl] Fix warnings
SubodhKumar [Wed, 9 Nov 2016 09:03:40 +0000 (14:33 +0530)]
[efl] Fix warnings

Change-Id: I84a90168ff64d12c80af211d1995f4c3c76bb3b7
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
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