platform/upstream/efl.git
7 years agoedje_entry: Add edje_object_part_text_select_disable_set
JinYong Park [Mon, 31 Oct 2016 08:29:01 +0000 (17:29 +0900)]
edje_entry: Add edje_object_part_text_select_disable_set

Change-Id: I8eeee540667033d0495777b299d7951fb341c1e9
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
7 years agofix doxygen warnings
Jee-Yong Um [Tue, 22 Nov 2016 00:46:15 +0000 (09:46 +0900)]
fix doxygen warnings

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

7 years agoevas/engine: enable native gl drawing for ector backend
subhransu mohanty [Tue, 22 Nov 2016 12:30:42 +0000 (21:30 +0900)]
evas/engine: enable native gl drawing for ector backend

Change-Id: Ic8fa4464cbfa959c17a476554be759945302b924

7 years agoector/gl: Added the native gl backend in ector
subhransu mohanty [Tue, 22 Nov 2016 12:30:09 +0000 (21:30 +0900)]
ector/gl: Added the native gl backend in ector

Change-Id: I266ce620efe77ec06f7aa9e37d45e6d243c55b87

7 years agostatic_lib: Added triangulator library.
subhransu mohanty [Tue, 22 Nov 2016 12:26:49 +0000 (21:26 +0900)]
static_lib: Added  triangulator library.

The Library breaks down shape in to list for triangles for opengl drawing.

Feature:
- shape outline triangulation using triangle strips.
- shape filling triangulation using curve flattning and  triangle fans.

Change-Id: I80db50b8415d0a3a44b01599ee3e024da4e7a630

7 years agoevas textblock: fix to keep calculated size properly when calculation is skipped
Youngbok Shin [Tue, 22 Nov 2016 11:24:30 +0000 (20:24 +0900)]
evas textblock: fix to keep calculated size properly when calculation is skipped

When textblock object's calculations skipped formatted.w could be 0.
It causes abnormal size calculation from Edje.

@tizen_fix

Change-Id: I50d2d40e6dc40a796a047cd33db941d027fce003

7 years agoedje: clean up newly added tag strings
Youngbok Shin [Thu, 24 Nov 2016 05:52:32 +0000 (14:52 +0900)]
edje: clean up newly added tag strings

@tizen_fix

Change-Id: I8cf8a3d666ef7d0bd747970bdb9a1a26501fb49b

7 years agoedje: remove FIXME code according to patch for textblock
Youngbok Shin [Tue, 22 Nov 2016 11:16:44 +0000 (20:16 +0900)]
edje: remove FIXME code according to patch for textblock

_formatted_get() function should return calculated size everytime.
There is a bug in Evas Textblock. The bug will be removed.

@tizen_fix

Change-Id: Icb2f1524fdb5791c7eb0da3124f127ffd45ccecf

7 years agoedje: fix to get minimum width even if given width is 0
Youngbok Shin [Tue, 22 Nov 2016 11:12:36 +0000 (20:12 +0900)]
edje: fix to get minimum width even if given width is 0

The patch also fix to calculate maximum width properly in some cases.
It adds missing comment for Tizen only patches.

@tizen_fix

Change-Id: Iec1f6b76be3652031790de0bc24a135e8084c5fe

7 years agoevas/gl: Added support for stencil buffer creation while creating gl Surface.
subhransu mohanty [Tue, 22 Nov 2016 12:24:38 +0000 (21:24 +0900)]
evas/gl: Added support for stencil buffer creation while creating gl Surface.

Reviewers: jpeg, cedric

Reviewed By: jpeg, cedric

Subscribers: cedric, jpeg

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

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

7 years agoevas: Add shutdown logic on thread creation failure
Wonki Kim [Mon, 21 Nov 2016 04:26:59 +0000 (13:26 +0900)]
evas: Add shutdown logic on thread creation failure

Summary:
In case of thread creation failure, shutdown logic will be stuck.
To prevent stuck, set exit variables to make thread_shutdown working
even if init fails.

Also modify init logics to return init result to a caller.

Reviewers: jypark, woohyun, cedric, jpeg

Subscribers: cedric

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

Change-Id: I7793d4903515c686b28f13f21454d1b6a28eba11
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agoevas: Redraw dirty images without updates
jiin.moon [Tue, 22 Nov 2016 06:36:48 +0000 (15:36 +0900)]
evas: Redraw dirty images without updates

Refs: v1.18.0-rc-1592-g55e8842
Author:     Jean-Philippe Andre <jp.andre@samsung.com>
AuthorDate: Mon Nov 21 16:58:29 2016 +0900
Commit:     Jean-Philippe Andre <jp.andre@samsung.com>
CommitDate: Tue Nov 22 14:32:37 2016 +0900

    evas: Redraw dirty images without updates

    The proper way to use the pixel_get callback and dirty flag
    is to also specify which exact region has been updated
    with data_update_add.

    Unfortunately many apps and even GLView are relying on
    invalid behaviour that forced full redraw of the image
    even though data_update_add was never called.

    This amends c1a080f5e4e3ef01cfb792ef3eb9c9e59ba4d3f3

    There is no dirty flag equivalent in EO as there is no
    pixel_get callback defined (yet). One problem is that the GL
    API is not defined, and may prove hard to define for bindings...

Change-Id: I1447c87bb33e7a0fdef2e865d3c7c61f3f1304b8

7 years agoevas: Add some safety code to evas_clip
Jean-Philippe Andre [Wed, 2 Nov 2016 11:04:46 +0000 (20:04 +0900)]
evas: Add some safety code to evas_clip

I'm trying to fix a crash that seems to happens in some very odd
circumstances under stress testing. I have absolutely no idea
what is going wrong... So let's just add some extra safety.

This is a backport of d0333561be1e74bf617f9a4059ba64bfea495a28

Change-Id: I3e6547dc48d2516f689d0671b3aa2559aa1919dd

7 years agoevas text: Replace the replacement character to 0x00A0 which is empty character
Youngbok Shin [Tue, 22 Nov 2016 06:40:01 +0000 (15:40 +0900)]
evas text: Replace the replacement character to 0x00A0 which is empty character

@tizen_fix

Change-Id: I45f685f413aba803166a10d1d90de6463e8772b6

7 years ago[Extn_GL] fix resize problem when plug object is updated
sunghyun kim [Tue, 22 Nov 2016 05:15:12 +0000 (14:15 +0900)]
[Extn_GL] fix resize problem when plug object is updated

when plug object is updated, object don't need to change size

Change-Id: Ie382674bc06698f931eb58bf4c038cccfc194242

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