platform/upstream/efl.git
7 years agoecore: fixed wrong codes regarding ecore_anim_vsync 85/123085/2
jiin.moon [Wed, 8 Feb 2017 04:35:57 +0000 (13:35 +0900)]
ecore: fixed wrong codes regarding ecore_anim_vsync

1)If tick is 0, it means animator is pause.
  But prev codes would be detected as error.

2)Svace issue
  Remove wrong condition

Change-Id: Ic7210ef93b759f04bc1a6e6ff73c2841400a5776

7 years agoecore_wayland: To use vsync as custom source of animator 78/123078/2
jiin.moon [Fri, 13 Jan 2017 04:05:54 +0000 (13:05 +0900)]
ecore_wayland: To use vsync as custom source of animator

If user does not call "ecore_animator_source_set(ECORE_ANIMATOR_SOURCE_CUSTOM)",
animator would be working by timer.
it means this patch does not effect without setting by user.

I will check more regarding resource leak

Change-Id: I679dc43c6657d80ac5bdc424945c44fd0c050e6a

7 years agoevas/software_generic: Round up merged rect to tile size 95/123195/1
Joogab Yun [Thu, 23 Feb 2017 03:53:33 +0000 (12:53 +0900)]
evas/software_generic: Round up merged rect to tile size

Summary:
For some drivers, there is a limitation for partial rects that only
multiples of tile size width/height are allowed.
Currently, rects are merged based on the current rotation, so when
the rects are calculated based on 0 rotation it does not meet the above
requirement.
Add a rect rounding up routine after _merge_rects such that the rect
is rounded up to tile size based on 0 rotation.

Change-Id: I0ac0208e383332158dc7c3fa9fa5012e37bcf797

7 years ago[evas_gl] GL_TEXTURE_EXTERNAL_OES also applies smooth flag. 89/123189/1
Joogab Yun [Mon, 20 Feb 2017 04:43:52 +0000 (13:43 +0900)]
[evas_gl] GL_TEXTURE_EXTERNAL_OES also applies smooth flag.
          -> su - owner
          -> camera_test -> 1 -> 2 -> 3 -> 0 -> 0
          then front image quality is low (176x144)

Change-Id: Iabba83411119657bac38ed0a78d6a4f371fcb7a5

7 years ago ecore_evas_wayland: add fake damage code when app set manual rotation set 20/123020/2
Jiyoun Park [Mon, 13 Mar 2017 02:29:08 +0000 (11:29 +0900)]
   ecore_evas_wayland: add fake damage code when app set manual rotation set

   Server has responsibility to show frame even though app not call render
   ,when app turns on manual rotation render feature.
   until server add the code, client create fake damage.

Change-Id: I708acbba41f4d40bb206bbb1979ad1472c95e8cf

7 years ago ecore_evas_extn: add shared lock mode to the ecore_extn. 19/123019/2
Jiyoun Park [Mon, 6 Mar 2017 04:33:10 +0000 (13:33 +0900)]
   ecore_evas_extn: add shared lock mode to the ecore_extn.

   Currently, ecore_evas_extn only use exclusive lock.
   so if there are many ecore_extn_plugs , there is competition among the ecore_extn_plugs.
   since the ecore_extn_plugs dont need to use exclusive lock, add the shred lock mode.

   opensource_commit a6c0e9b06718230d9bfebf8a4eb0fab812ee7458
   Author: Jiyoun Park <jy0703.park@samsung.com>
   Date:   Mon Mar 6 12:39:53 2017 +0900

Change-Id: I34c52e97a0a1314b5b9ac1eeb201063740f92eb0

7 years ago ecore_evas_wayland: fix bug ee's width and height were updated wrong place. 16/123016/2
Jiyoun Park [Fri, 3 Mar 2017 02:11:05 +0000 (11:11 +0900)]
   ecore_evas_wayland: fix bug ee's width and height were updated wrong place.

   ecore evas manages the width and height using the ee->w/h and ee->req.w/h.
   but sometimes only ee->req value can be updated.

   opensource_commit fb730c1fd747539875a91bc35b51c51df56709d9
   Author: Jiyoun Park <jy0703.park@samsung.com>
   Date:   Fri Mar 3 10:27:00 2017 +0900

Change-Id: I05d104fd3a2a916e876dc1b9ec64e1ff5d533573

7 years ago ecore_evas_wayland_common: fix bug that window is not rotated when app request... 14/123014/2
Jiyoun Park [Mon, 20 Feb 2017 03:22:06 +0000 (12:22 +0900)]
ecore_evas_wayland_common: fix bug that window is not rotated when app request rotate.

    In landscape mode, width & height of evas are different with ecore's.
    so diff is checked differently according to the  portrait & landscape mode.

   opensource_commit 78feb9decb91533775056a10f05647da7fb067dd
   Author: Jiyoun Park <jy0703.park@samsung.com>
   Date:   Mon Feb 20 10:28:27 2017 +0900

Change-Id: I8348833c5f60390ddcbdcf01053f49ca8246877f

7 years agoecore_evas_wayland: rerender the ecore_evas when app already finish rotation. 13/123013/2
Jiyoun Park [Sat, 18 Feb 2017 13:09:15 +0000 (22:09 +0900)]
ecore_evas_wayland: rerender the ecore_evas when app already finish rotation.

1. app call the ecore_evas_rotation_with_resize_set.
2. display server call the roation change callback

display server wait the rotation done message and flush event.
but client already finished the rendering.
so we add the rerender code to the ecore_evas_wayland client code.
but display server should not wait frame commit like usual nopending case.

Change-Id: Ided6f38652b56880f63f2aa588af852ad4e7145d

7 years agoecore_evas_wayland: send rotate done message when disapay server's callback is called. 11/123011/2
Jiyoun Park [Sat, 18 Feb 2017 09:19:42 +0000 (18:19 +0900)]
ecore_evas_wayland: send rotate done message when disapay server's callback is called.

Currently, if app turns on the feature "app will control the roation" like camera,
there is problem which negotiate the rotation protocol with display server.

if app turns on "app will control the roation" feature
1. when app rotate the canvas using the elm_win_rotation_with_resize_set api,
efl client will not send rotation done message to display server.
2. when display server call the _ecore_wl_window_cb_angle_change,
efl client sends fake rotation done message.

Change-Id: If82de0b96f7dafc605be5d28aa2e33a377324dad

7 years agoecore_evas: remove useless pending_mode set code 10/123010/2
Jiyoun Park [Mon, 13 Feb 2017 02:25:45 +0000 (11:25 +0900)]
ecore_evas: remove useless pending_mode set code

this code is redundant.

Change-Id: I6e7b17bd889a408836d0a71f0e3d9a2f05c23be7

7 years agoecore_evas: Pend the rotation until app set the rotation. 09/123009/2
Jiyoun Park [Sun, 12 Feb 2017 06:54:22 +0000 (15:54 +0900)]
ecore_evas: Pend the rotation until app set the rotation.

Currently, camera use the elm_win_rotation_with_resize_set.
it rotate the canvas, and chage the win size also.
The reason why they use this api is to use the object rotation effect during the rotation.

If window server send rotation event during the rotation, or efl client deal with the rotation
during the app's rotation effect, it cause flickering.

Before, X backend , landscape rotation
1. set the available rotation set only 0
2. window server didn't send rotation effect
3. apps listen the devicd rotation callback
4. apps set elm_win_rotation_with_resize_set 90 or 270
5. efl client set the X property related with rotation
6. window server deals with the rotation by app side.

But now window server don't want to support this api , becuase client rotation causes the whole of rotation policy.
Opensource side, server need to support this situation, but we need to time to discuss.
to support compatibility, add this code until we find the final solution.

this concept is
1. app set pending rotation using aux_hint (it means app will deal with the rotation)
2. efl client doesn't deal with server's rotation
3. do the rotation job by app just like the server's rotation.

Change-Id: Iabe401a0277acc3a9e873a5745fc45c94f6c2c64

7 years agoevas_image_main: fix memory leak 08/123008/2
Jiyoun Park [Fri, 6 Jan 2017 06:45:27 +0000 (15:45 +0900)]
evas_image_main: fix memory leak

In gl engine, image objects try to unload image's pixel data after creating or updating the texture.
but image entry's reference is still 1, it is added to the pending_unloads list,
and it is cleaned when evas render function.

If elm image use preload feature, preload_done flag is true, so this image data cannot be removed from
pending_unloads list, it cause memory leak.

I think it is better to free image's pixel data in evas_cache_image_unload_data,
(not add to the pending_unloads list)
but it it complicated to modify.

so I'll remove the code to check preload_done flag in  evas_common_rgba_pending_unloads_cleanup function.
this flag check was added because of gl preloading, but now gl preloading feature is disabled.
this flag is related with https://phab.enlightenment.org/D2823

I tested photocam, but crash doesn't occur anymore, even though removing flag check.

Change-Id: I0996cd5a35979535030c782a3b70afeb1c79365a

7 years agoeina_bt_log: fix memory leak in eina_btlog 56/122956/3
Sungtaek Hong [Tue, 4 Apr 2017 05:34:10 +0000 (14:34 +0900)]
eina_bt_log: fix memory leak in eina_btlog

@tizen_fix

Change-Id: Iebe3949bc2cd74ebb0c772389b8a468cc09bf87e
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
7 years agoecore_drm: add a space following the efl coding rule 96/122996/1
JengHyun Kang [Tue, 4 Apr 2017 07:01:07 +0000 (16:01 +0900)]
ecore_drm: add a space following the efl coding rule

Change-Id: If9862c39afdbc64c642e7b42133a36519bf219ca

7 years agoecore_drm: Get touch slots using slot not seat_slot 95/122995/1
JengHyun Kang [Mon, 6 Mar 2017 04:17:48 +0000 (13:17 +0900)]
ecore_drm: Get touch slots using slot not seat_slot

Change-Id: I32fc3187ff4becb1947129cbef791ea0aed3b2a8

7 years agoecore_wayland: fix bug - make sure to request set_geometry_hint when tizen_rotation... 17/122917/2
Duna Oh [Wed, 22 Mar 2017 05:54:06 +0000 (14:54 +0900)]
ecore_wayland: fix bug - make sure to request set_geometry_hint when tizen_rotation resource is created

Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I7e69507d44854ee325e72b7d483460fb3c9559ab

7 years agoecore_drm: Check a integer value's higher boundary 30/122930/1
JengHyun Kang [Thu, 16 Feb 2017 09:01:22 +0000 (18:01 +0900)]
ecore_drm: Check a integer value's higher boundary

Change-Id: Ied5d5cbc5e07342b342428aa4ed1e14ef9449b51

7 years agoecore_drm: Fix a devices_num value's boundary check 29/122929/1
JengHyun Kang [Thu, 16 Feb 2017 06:18:17 +0000 (15:18 +0900)]
ecore_drm: Fix a devices_num value's boundary check

Change-Id: I064bbada3d980d59d71177f6ce67c9dbaa1155b7

7 years ago[Ecore] Set locale before doing float conversion 23/122823/1
Godly T.Alias [Mon, 3 Apr 2017 10:22:09 +0000 (15:52 +0530)]
[Ecore] Set locale before doing float conversion

In some locale float representation will be different
and atof will return improper values

Change-Id: I95990576a9c990dedec1abea01d3586e8ff432ba
Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in>
7 years agoecore_wl_window: do not clear opaque region when alpha value is changed 98/122798/2
MinJeong Kim [Fri, 3 Feb 2017 08:38:30 +0000 (17:38 +0900)]
ecore_wl_window: do not clear opaque region when alpha value is changed

Even though the surface has alpha value, surface can set its opaque
region.

Change-Id: I9045d1f61571096e4262dce70f69c96b0e6d529a
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoecore_wl: add api to set data only mode for using clipboard 97/122797/1
MinJeong Kim [Mon, 27 Feb 2017 12:52:21 +0000 (21:52 +0900)]
ecore_wl: add api to set data only mode for using clipboard

Change-Id: I9a560954ede7408da28ea53969a43d9a957280f4
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoecore: not install systemd module. 37/121537/3
Shinwoo Kim [Fri, 17 Mar 2017 09:09:12 +0000 (18:09 +0900)]
ecore: not install systemd module.

The systemd module is not used on the Tizen platform.
Moreover, the dbus connection is created on launchpad side while it prepares an application
before the application gets proper SMACK label. And this could be a security problem.

Change-Id: I6f68ffedd2d7c422447e594d381f062ae146d3fe

7 years agoevas_gl: fix to generate GL Error 96/120996/2
Daekwang Ryu [Fri, 13 Jan 2017 08:45:28 +0000 (17:45 +0900)]
evas_gl: fix to generate GL Error

When tex_target is 0, it generate GL Error.
So we call glBindTexture with GL_TEXTURE_2D.

Change-Id: Ic32c4fdb5703876330d6602d8b2b28353c343026

7 years agoEvas GL: Reset current surface for all contexts to null when surface is destroyed 94/120294/4
Dongyeon Kim [Mon, 11 Jan 2016 01:11:58 +0000 (10:11 +0900)]
Evas GL: Reset current surface for all contexts to null when surface is destroyed

When evas gl surface is destroyed, not only the current surface for the current context
should be set to NULL, but current surface for all contexts should be reset.

Change-Id: I165a2614f600b935ba6a0c937e25a559d7d98767

7 years agoEina_Xattr: fix memory corruption 41/120741/1
Artem Popov [Thu, 23 Mar 2017 14:27:22 +0000 (16:27 +0200)]
Eina_Xattr: fix memory corruption

Summary:
There should be reallocation +1 (for last '\0') and also
checking >0, not !=0, because of getxattr can return -1 in case of error
@fix

Reviewers: cedric, raster, NikaWhite, jpeg

Reviewed By: NikaWhite

Subscribers: myoungwoon

Tags: #efl

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

Change-Id: I13a7d90675a9a1068440cdd5669d0e8678edb396
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agoedje: fix crash issue when Edje tries to clean up fade object 01/120401/1
Youngbok Shin [Wed, 22 Mar 2017 05:36:38 +0000 (14:36 +0900)]
edje: fix crash issue when Edje tries to clean up fade object

@tizen_fix

Change-Id: Ib7a54a42826300ff74c5eac4760a10ed0942a5e4

7 years ago[Evas GL Thread 2] evas: (GL thread) Added GL thread renderer logics 55/119755/2
Joogab Yun [Mon, 20 Mar 2017 04:42:59 +0000 (13:42 +0900)]
[Evas GL Thread 2] evas: (GL thread) Added GL thread renderer logics
based of SW thread renderer.

Change-Id: Id4eb8c3e10e8e2ca2c170f985118c4fa072e72ab

7 years ago[evas_gl_thread] If DIRECT rendering flag is on, evas gl thread 97/118997/2
Joogab Yun [Wed, 15 Mar 2017 05:29:00 +0000 (14:29 +0900)]
[evas_gl_thread] If DIRECT rendering flag is on, evas gl thread
rendering is forced disable

Change-Id: Ic9a853c90872814751c52b510b40253cb4b5b0d1

7 years agoefl.spec: split ecore package for efl building block. 89/119789/4
Bowon Ryu [Mon, 20 Mar 2017 06:26:44 +0000 (15:26 +0900)]
efl.spec: split ecore package for efl building block.

Change-Id: I8df9b78402e8619664d8672f5e194f87d44e1b78
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
7 years agodocs: Change the group name of Edje.Object 10/119810/1
Jeeyong Um [Mon, 20 Mar 2017 06:56:02 +0000 (15:56 +0900)]
docs: Change the group name of Edje.Object

Signed-Off-By: Jeeyong Um <jc9.um@samsung.com>
Change-Id: Ife2a9074881b2fc93354447d667fb382b94e3d17

7 years agoecore_animator: improve comparision check for stopping animator. 40/118440/3 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170315.125023 accepted/tizen/ivi/20170315.222048 accepted/tizen/mobile/20170315.221929 accepted/tizen/tv/20170315.221957 accepted/tizen/unified/20170316.015249 accepted/tizen/wearable/20170315.222022 submit/tizen/20170315.094151
Umesh Tanwar [Fri, 10 Mar 2017 10:01:30 +0000 (15:31 +0530)]
ecore_animator: improve comparision check for stopping animator.

Summary:
Time cmparision does not ensure the corrctness of posotion.
It is beacuse of double number calculation. Double number calculation
are not convertable.for example:
   1/39 = 0.02564102564;
   but 0.02564102564 * 39 = 0.99999999996 != 1;

The addition check for pos ensure the pos to be reached at its correct
position. this ensures the last call with pos == 1.0.

there is a check on pos at gengrid side for pos == 1 which resets animation running flag.. is not getting reset. There can be more such widgets where decisions are made on the value of pos.

@fix

Change-Id: I44681bde2ac4a7e3c08363f823cd9ba5296ba8f5

7 years agodocs: Fix typos and some wrong expressions in Ecore_Drm, Ecore_Evas, Ecore_File,... 74/116574/2
Myoungwoon Roy, Kim [Sat, 25 Feb 2017 07:43:31 +0000 (16:43 +0900)]
docs: Fix typos and some wrong expressions in Ecore_Drm, Ecore_Evas, Ecore_File, Ecore_IMF, and Ecore_IMF_Evas API reference doxygen.

Change-Id: I37476b0c411abbd2a83c7ce6ef728255b8bc09d0

7 years agodocs: Fix typos and some wrong expressions in Ecore API reference doxygen. 11/115811/5
Myoungwoon Roy, Kim [Tue, 21 Feb 2017 09:35:00 +0000 (18:35 +0900)]
docs: Fix typos and some wrong expressions in Ecore API reference doxygen.

Change-Id: I56a13a062fa662f956b4d69563f3e38fd50811e9

7 years ago[evas_gl_thread_egl] seperate eglGetProcAddress into a gl thread 67/118567/2
Joogab Yun [Mon, 13 Mar 2017 07:06:53 +0000 (16:06 +0900)]
[evas_gl_thread_egl] seperate eglGetProcAddress into a gl thread

eglGetProcAddress is returned as null, for the gles1.1 extension
ex) like eglGetProcAddress("glIsRenderbufferOES")

Change-Id: I0a60f1241bd6d5f73b1b341c7d524224501ede49

7 years agoEvas GL:Bind texture to correct one. 79/117379/2
Joogab Yun [Mon, 6 Mar 2017 02:05:48 +0000 (11:05 +0900)]
Evas GL:Bind texture to correct one.

add missed patch. refer "36ad63213aab7b4209da308e0f2ba6388015e7f0"

Change-Id: Idec4eda09f84ea3dbc53e044e7bd1131e1af5643

7 years agoecore_input: Remove warning message 26/117726/1 accepted/tizen/common/20170309.175613 accepted/tizen/ivi/20170310.031702 accepted/tizen/mobile/20170310.031358 accepted/tizen/tv/20170310.031515 accepted/tizen/unified/20170310.080710 accepted/tizen/wearable/20170310.031619 submit/tizen/20170309.095236 submit/tizen_unified/20170310.011402
Shinwoo Kim [Tue, 7 Mar 2017 07:59:43 +0000 (16:59 +0900)]
ecore_input: Remove warning message

ecore_input_joystick_init/shutdown are deprecated, and these are internal functions.
The deprecated declaration makes warning message because ecore_event_init/shutdown uses those internally.

@tizen_fix

Change-Id: Ie904bdd72d75627a99aceb6d43d26ed55834847b

7 years agoecore_input: take care of ABI break 63/117663/1
Shinwoo Kim [Fri, 24 Feb 2017 04:18:52 +0000 (13:18 +0900)]
ecore_input: take care of ABI break

Upstream EFL does not have ECORE_EVENT_JOYSTICK_BUTTON_PLAY But Tizen has it.
We have to take care of ABI break even though it is not used anywhere.

Change-Id: I451e4ff692253968eb4f3d2db5f17f88b76fb315

7 years agoecore_input: deprecate joystick_init/shutdown API 62/117662/1
Shinwoo Kim [Thu, 23 Feb 2017 08:52:46 +0000 (17:52 +0900)]
ecore_input: deprecate joystick_init/shutdown API

These APIs is deprecated.
The ecore_input_joystick_init/shutdown is called by default in ecore_event_init/shutdown.

Change-Id: Id2f32398ff32cb37b3c1a18cc75318ddf02c7ec5

7 years agoecore_input: disable joystick on Windows/MacOS 61/117661/1
Shinwoo Kim [Thu, 23 Feb 2017 09:36:52 +0000 (18:36 +0900)]
ecore_input: disable joystick on Windows/MacOS

Change-Id: Ieb27e643f27817f8590404e86ff6a480b62c6ce7

7 years agoEeze build ordering. 60/117660/1
Benjamin Jacobs [Tue, 14 Jun 2016 09:15:49 +0000 (18:15 +0900)]
Eeze build ordering.

Summary: Fixes a libtool relinking issue due to the wrong build ordering.

Reviewers: cedric

Subscribers: jpeg

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

Change-Id: Iefa306eb91515df66758cdcf317a074bf6666f58

7 years agoecore_input: add API to set/get deadzone of joystick event for an axis. 59/117659/1
Shinwoo Kim [Wed, 15 Feb 2017 04:00:13 +0000 (13:00 +0900)]
ecore_input: add API to set/get deadzone of joystick event for an axis.

Summary:
The axis type joystick event could occur without user's control if joystick is too sensitive.
The deadzone prevents this unnecessary event. The default value is 200.
The event value for an axis is a signed integer between -32767 and +32767.

Test Plan: Using example

Reviewers: raster, cedric, jpeg

Reviewed By: jpeg

Subscribers: stefan_schmidt

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

Change-Id: I9de3ae597610482386d5584c2b8d0c26d8de0b5c

7 years agoecore_input: support Xbox One joystick 58/117658/1
Shinwoo Kim [Wed, 1 Feb 2017 07:33:52 +0000 (16:33 +0900)]
ecore_input: support Xbox One joystick

Add joystick mapper for Microsoft X-Box One pad (Covert Forces)

Change-Id: I4c8610bb76968ec3dfad347c7f266c76734a443c

7 years agoecore_input: support PS4 joystick 57/117657/1
Shinwoo Kim [Wed, 25 Jan 2017 13:31:03 +0000 (22:31 +0900)]
ecore_input: support PS4 joystick

Add joystick mapper for Sony Computer Entertainment Wireless Controller

Change-Id: Ic9a81f7404411c3aa1d4e964bbf62b032636d0d2

7 years agoecore-input: Check return fo ecore_main_fd_handler_fd_get 56/117656/1
Chris Michael [Thu, 30 Jun 2016 14:47:56 +0000 (10:47 -0400)]
ecore-input: Check return fo ecore_main_fd_handler_fd_get

This patch fixes 2 coverity Error handling issues.
ecore_main_fd_handler_fd_get can return a negative fd on error so we
should be checking that return before trying to make use of the fd.

Fixes Coverity CID1356632 and CID1356624

@fix

Change-Id: I2930c305ad6f9a3606807498aff490b218c0efe6
Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
7 years agoEcore_Input: define data type for joysticks 55/117655/1
Shinwoo Kim [Mon, 13 Jun 2016 10:41:38 +0000 (19:41 +0900)]
Ecore_Input: define data type for joysticks

Summary: This adds support for joysticks for ecore_input

Reviewers: cedric, devilhorns, Sergeant_Whitespace, raster, thiepha, zmike, jpeg

Reviewed By: thiepha, zmike, jpeg

Subscribers: thiepha, stefan_schmidt, zmike, singh.amitesh, Sergeant_Whitespace, jgerecke, cedric, seoz

Tags: #efl

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

Change-Id: Iba40a1a4be0e0d830c3d09cb719179f4b27b9190

7 years agoRevert "[ecore_input] initial version of ecore joystick event" 54/117654/1
Shinwoo Kim [Wed, 22 Feb 2017 09:05:29 +0000 (18:05 +0900)]
Revert "[ecore_input] initial version of ecore joystick event"

This reverts commit 863df65c10b1d0f1e62ad45ba8ab3afaf2273537.

Change-Id: Id9af2efdd1d12ef6aaa5b84d9dd0f571bf9b3d43

7 years agoRevert "ecore_input: dont try to build a joystick feature on window os." 53/117653/1
Shinwoo Kim [Wed, 22 Feb 2017 09:01:24 +0000 (18:01 +0900)]
Revert "ecore_input: dont try to build a joystick feature on window os."

This reverts commit d3230a87b3e99d7843a23f96d2ae00c7a5cca46b.

Change-Id: I9128f73a739fa18c2b4ce6785e8329c4a7e533b8

7 years agoRevert "ecore_input: disable joystick feature in Mac OS" 44/117644/1
Shinwoo Kim [Wed, 22 Feb 2017 09:00:53 +0000 (18:00 +0900)]
Revert "ecore_input: disable joystick feature in Mac OS"

This reverts commit bf13290fbcdc603f532cb2b01685e9f8a77e77e9.

Change-Id: I4c58c6031fbc7d20814664b9877592101fbdb126

7 years agoRevert "[ecore_input] add ECORE_EVENT_JOYSTICK_BUTTON_PLAY" 43/117643/1
Shinwoo Kim [Wed, 22 Feb 2017 08:59:53 +0000 (17:59 +0900)]
Revert "[ecore_input] add ECORE_EVENT_JOYSTICK_BUTTON_PLAY"

This reverts commit 88c8ae2360d9a00b92f894552c7e2492ad1b264b.

Change-Id: I0e383028cbe9d6269576ef7e743dad65c52f94c9

7 years ago[EvasGL] Fix the bug as EvasGL can not find the config. 36/117436/2
Wonsik, Jung [Mon, 6 Mar 2017 05:56:06 +0000 (14:56 +0900)]
[EvasGL] Fix the bug as EvasGL can not find the config.

If the EvasGL's capability values are as the below, evas gl can not find the cfg.
Because depth, stencil and msaa values are reset by window's cfg unlimited.
So, this patch is that the reset work runs only once.

[Index] [Color Format]  [------Depth Bits------]      [----Stencil Bits---]     [---Depth_Stencil---]  [Samples]
  0      GL_RGB                            0                          0                          0      0
  1      GL_RGB                            0          GL_STENCIL_INDEX8                          0      0
  2      GL_RGB                            0                          0       GL_DEPTH_STENCIL_OES      0
  3      GL_RGB         GL_DEPTH_COMPONENT16                          0                          0      0
  4      GL_RGB     GL_DEPTH_COMPONENT24_OES                          0                          0      0
  5     GL_RGBA                            0                          0                          0      0
  6     GL_RGBA                            0          GL_STENCIL_INDEX8                          0      0
  7     GL_RGBA                            0                          0       GL_DEPTH_STENCIL_OES      0
  8     GL_RGBA         GL_DEPTH_COMPONENT16                          0                          0      0
  9     GL_RGBA     GL_DEPTH_COMPONENT24_OES                          0                          0      0
 10      GL_RGB                            0                          0                          0      2
 11     GL_RGBA                            0                          0                          0      2
 12      GL_RGB                            0                          0                          0      4
 13     GL_RGBA                            0                          0                          0      4
 14      GL_RGB                            0                          0                          0      8
 15     GL_RGBA                            0                          0                          0      8

Change-Id: I0cbbc6d7b5167884246f88eeef0958f163552c08

7 years ago[Ecore] Memory leak fixed in Ecore Wayland 57/117457/1
ayush.sriv [Sun, 5 Mar 2017 11:32:01 +0000 (17:02 +0530)]
[Ecore] Memory leak fixed in Ecore Wayland

Change-Id: I51fb6d380add79e55cb5acaf7f3b750c72a96d43
Signed-off-by: ayush.sriv <ayush.sriv@samsung.com>
7 years agoevas: clean up GL images for emojis when GL context is free'd in shutdown process 10/116710/1
Youngbok Shin [Sun, 26 Feb 2017 04:34:38 +0000 (13:34 +0900)]
evas: clean up GL images for emojis when GL context is free'd in shutdown process

If GL context is free'd before processing font shutdown,
textures for emoji glyph's GL images will be free'd without clean up its GL images.
It causes eina mempool infinite loop issue when emoji's GL images are free'd
in shutdown process.
So, the patch will make a list for emoji's GL images in context and clean up them
when the context is free'd. Just like font textures in context.

@tizen_fix

Change-Id: I3904f9aff74888e227a4f2143c4ff607ebb82415
(cherry picked from commit cecaf12a3bea725b53041126031c58035d76dfd1)

7 years agoEvasGL: For depth&stencil&msaa, use renderbuffer instead of texture 35/116135/1 accepted/tizen/common/20170223.182518 accepted/tizen/ivi/20170224.064518 accepted/tizen/mobile/20170224.064322 accepted/tizen/tv/20170224.064353 accepted/tizen/unified/20170309.035253 accepted/tizen/wearable/20170224.064446 submit/tizen/20170223.104121 submit/tizen_unified/20170308.100412
Daekwang Ryu [Thu, 23 Feb 2017 04:43:17 +0000 (13:43 +0900)]
EvasGL: For depth&stencil&msaa, use renderbuffer instead of texture

glFramebufferTexture2DMultisampleEXT() supports color attachment only.
so depth&stencil attachment should be bound via renderbuffer not texture.

According to http://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_multisampled_render_to_texture.txt
In order to allow the use of multisampled depth and stencil buffers
when performing multisampled rendering to a texture, the extension
also adds the command RenderbufferStorageMultisampleEXT.
target, textarget, texture, and level correspond to the same
parameters for FramebufferTexture2D and have the same restrictions.
attachment must be COLOR_ATTACHMENT0.

Change-Id: I776a62027fb1987704d3c82b28d9452dd2cf427a

7 years agoevas gl: Partially fix MSAA for GLES 3 drivers 34/116134/1
Daekwang Ryu [Thu, 23 Feb 2017 04:41:08 +0000 (13:41 +0900)]
evas gl: Partially fix MSAA for GLES 3 drivers

MSAA (multisampled_render_to_texture) support was implemented with
GLES 2 in mind, but for GLES 3 it comes as a core feature, not as
an extension. Also it relies on renderbuffers, not textures. GL
is awesome.

Note: MSAA still doesn't work!

Change-Id: I51d1588d2bdae49af31802735c0bd29fcb7acc1f

7 years agoRevert "evas textblock: +1 to formatted width from Textblock" 93/115893/2
Youngbok Shin [Wed, 22 Feb 2017 01:49:33 +0000 (10:49 +0900)]
Revert "evas textblock: +1 to formatted width from Textblock"

This reverts commit b609c40cbbfc5b9e864fb43875c691fa65eaa445.

This patch is replaced by 05eabd43deec80fef58fc6132418867662bba069.
There was a problem to handle x_bear value.

Change-Id: If0b185fb230a020588374e2987887685af12e50b

7 years agoEvas font: fix width calc in last_up_to_pos 83/115783/1
Daniel Hirt [Wed, 23 Mar 2016 09:53:53 +0000 (11:53 +0200)]
Evas font: fix width calc in last_up_to_pos

Width calculations should consider the x_bear. This has been leading to
inconsistent results between wrapping calculation during layout and the
final formatted size.

Also, we should stop our walk only when exceeding 'x', so changed "<="
to "<".

@fix

Change-Id: I697843f0a9832688c349760f3fc9e9c32ca1f715

7 years agoextn engine: move socket creation from ecore_con to ecore_evas extn engine 30/115630/4 submit/tizen/20170222.011740
Thiep Ha [Mon, 20 Feb 2017 03:16:41 +0000 (12:16 +0900)]
extn engine: move socket creation from ecore_con to ecore_evas extn engine

Since the socket creation in ecore_con makes the circular dependency,
it needs to move to ecore_evas extn engine.
This also sastifies the requirement from security team:
two applications cannot directly connect to the other using socket,
the only exception is using ELM_WIN_SOCKET_IMAGE.

@tizen_feature

Change-Id: Ie1815b44d4f7afc7bfecdb07cf8dadf0e5318427

7 years agoFix typos and some wrong expressions in Eina API reference doxygen. 97/115397/4
Myoungwoon Roy, Kim [Sat, 18 Feb 2017 04:34:03 +0000 (13:34 +0900)]
Fix typos and some wrong expressions in Eina API reference doxygen.

Conflicts:
src/lib/eina/eina_matrix.h

Change-Id: I42f825f751208ceafd0942536bfcc40b189a5ef4

7 years agoFix typos and some wrong expressions in Edje and Eet API reference doxygen. 07/115107/3
Myoungwoon Roy, Kim [Thu, 16 Feb 2017 08:52:29 +0000 (17:52 +0900)]
Fix typos and some wrong expressions in Edje and Eet API reference doxygen.

Change-Id: I94d4b406345346dbbabad90e5daeef43ce0681a2

7 years agoevas, edje: Apply align according to paragraph_direction 36/115236/2 submit/tizen/20170221.045909
Youngbok Shin [Thu, 16 Feb 2017 04:49:33 +0000 (13:49 +0900)]
evas, edje: Apply align according to paragraph_direction

It is a patch to keep backward compat with Tizen 2.4.
This feature should be replaced by align=locale feature.
Please, check the following upstream patch.
https://phab.enlightenment.org/D4664

@tizen_feature

Change-Id: I6d672ffbf133891279d55e5454e7f1e47c97e313

7 years agoevas: clear the previous engine's data for color emoticon 67/115567/1
Youngbok Shin [Mon, 20 Feb 2017 09:12:35 +0000 (18:12 +0900)]
evas: clear the previous engine's data for color emoticon

Changing rendering engine in a running process could cause crash issues.
The image data for emoticons should be saved seperately or
should be refreshed when different engine is loaded.

@tizen_fix

Change-Id: I4ba98118cac8c69bdf722416443cd2141686bc5b
(cherry picked from commit 617a8c8793d1fff6ff3eb2bfb551e41c8b153c0b)

7 years agoevas: add EVAS_BIDI_DIRECTION_ANY_RTL for evas_object_paragraph_direction_set API 34/115234/2
Youngbok Shin [Thu, 16 Feb 2017 04:24:52 +0000 (13:24 +0900)]
evas: add EVAS_BIDI_DIRECTION_ANY_RTL for evas_object_paragraph_direction_set API

The original patch is uploaded to EFL upstream.
Please, check the following link.
https://phab.enlightenment.org/D4663

@tizen_feature

Change-Id: I4c63be1d8323ed4fe12e18079e821b39d89ca47f
(cherry picked from commit 33abef086cb33862931f1394646f0eb028f75c9b)

7 years agoFix typos and some wrong expressions in API reference doxygen. 22/114422/7
Myoungwoon Roy, Kim [Mon, 13 Feb 2017 08:48:59 +0000 (17:48 +0900)]
Fix typos and some wrong expressions in API reference doxygen.

Change-Id: I26618f15b6ed0589f3538b860612ccfc3b63f31f

7 years ago[evas_tbmbuf] reset all tbm_buffer_info->age when changed total surface 30/115230/1
Joogab Yun [Fri, 17 Feb 2017 03:59:45 +0000 (12:59 +0900)]
[evas_tbmbuf] reset all tbm_buffer_info->age when changed total surface
number

Change-Id: I2bd21c44dd417823eca90a81575c426bf3c62e5a

7 years ago[evas_gl] calculate flip flag before rotating 12/114812/2
Joogab Yun [Wed, 15 Feb 2017 07:03:31 +0000 (16:03 +0900)]
[evas_gl] calculate flip flag before rotating

Change-Id: Ib87ec907cac0ea3c3a776c43d4b1dac1221ce474

7 years agoevas_gl: Check bounds of num_fbo_fmts 88/115088/1
Daekwang Ryu [Thu, 16 Feb 2017 07:54:47 +0000 (16:54 +0900)]
evas_gl: Check bounds of num_fbo_fmts

Valid range of num_fbo_fmts is 0 ~ 100.
Max value comes from caps.fbo_fmts length.

Change-Id: I40349c5a412809ebb3bb9cebe0e12bde454a6eaf

7 years agoremove test/debug executables in binary 03/115003/1
Jongmin Lee [Wed, 18 Jan 2017 06:29:03 +0000 (15:29 +0900)]
remove test/debug executables in binary

Change-Id: Ic75ca8b4fbe5b2a64d635b2dad4e18e4076bbc07

7 years agoevas: fix crash issue due to wrongly created new line 86/114886/2
Youngbok Shin [Wed, 15 Feb 2017 10:55:52 +0000 (19:55 +0900)]
evas: fix crash issue due to wrongly created new line

A line's min text pos could have previous invisible (visually deleted) item's text pos.
Because of this, Textblock could create empty new line. When Textblock's cursor tried to move
on the empty line, process will be crashed.

@tizen_fix

Change-Id: Id32f4d950839646ce7eda4804d7335762a4d6065

7 years agoFix typos, cacologique statements in API reference doxygen of ecore's audio, avahi... 03/114103/3
Myoungwoon Roy, Kim [Fri, 10 Feb 2017 04:10:15 +0000 (13:10 +0900)]
Fix typos, cacologique statements in API reference doxygen of ecore's audio, avahi, buffer, and con

Change-Id: Id5a3d71475adbcc8eb932cef2b38851e6586c61f

7 years agoecore_wl_window: Fix not to update x/y in ecore_wl_window_move() 74/114874/2
Jaehyun Cho [Wed, 15 Feb 2017 10:03:55 +0000 (19:03 +0900)]
ecore_wl_window: Fix not to update x/y in ecore_wl_window_move()

Since Wayland handles moving surfaces by itself so window geometry
should not be updated with specific x/y in ecore_wl_window_move().
Otherwise, window geometry x/y can be updated as 0 incorrectly by
elm_win_move_resize_start().

Change-Id: Ic3ecd9b9f0d5a847c91670295978ae60117080a3

7 years agoecore_wl: add codes to request set_geometry_hint when setting geometry hints accordin... 77/114477/2
Duna Oh [Mon, 13 Feb 2017 11:04:27 +0000 (20:04 +0900)]
ecore_wl: add codes to request set_geometry_hint when setting geometry hints according to the angle

Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: Icba756ac6e0ebec734c686032662f8b3c6958e2a

7 years ago[evas_tbmbuf] fixed svace issue about ALLOC_SIZE_MISMATCH 37/114437/1
Joogab Yun [Mon, 13 Feb 2017 09:34:43 +0000 (18:34 +0900)]
[evas_tbmbuf] fixed svace issue about ALLOC_SIZE_MISMATCH
              (WGID:175040 WID:20231917)

Change-Id: I3440a0116e13f3000407043b2ad3b76b9bf7bd63

7 years agoFix typos, cacologique statements in API reference doxygen of Ecore_Getopt and Ecore_... 25/113825/2
Myoungwoon Roy, Kim [Thu, 9 Feb 2017 04:23:01 +0000 (13:23 +0900)]
Fix typos, cacologique statements in API reference doxygen of Ecore_Getopt and Ecore_Legacy

Change-Id: I7f2602833740b8ea90cb0cc3a2ae51ccc36e4cb8

7 years agoFix typos, cacologigue statements in API reference doxygen of Ecore_Common 08/113608/3
Myoungwoon Roy, Kim [Wed, 8 Feb 2017 06:48:45 +0000 (15:48 +0900)]
Fix typos, cacologigue statements in API reference doxygen of Ecore_Common

Change-Id: I654bd07cff192453627deef6154e8461570ff606

7 years ago[evas_gl_thread] change mode of glBindBuffer to finish 29/113929/2
Joogab Yun [Thu, 9 Feb 2017 09:32:20 +0000 (18:32 +0900)]
[evas_gl_thread] change mode of glBindBuffer to finish

Change-Id: I655e6f82238d069fc053d737ab01b4c0a396f2f4

7 years ago[evas_thread_render] evas: (GL thread) Added GL thread renderer logics 67/113867/3
Joogab Yun [Thu, 9 Feb 2017 06:55:04 +0000 (15:55 +0900)]
[evas_thread_render] evas: (GL thread) Added GL thread renderer logics
based of SW thread renderer

Change-Id: I5979a6da431cceeb5e5ae1863b5eca70a2e3b445

7 years ago[wayland_shm] recalculate the buffer_age 44/113144/2
Joogab Yun [Mon, 6 Feb 2017 03:42:51 +0000 (12:42 +0900)]
[wayland_shm] recalculate the buffer_age

Change-Id: Ifaa105937a86184bdfbd898285e613dac739b702

7 years agoecore_imf: Add ecore_imf_context_keyboard_mode_get API 31/113331/4
InHong Han [Tue, 7 Feb 2017 05:49:02 +0000 (14:49 +0900)]
ecore_imf: Add ecore_imf_context_keyboard_mode_get API

Because, there is no way to get keyboard mode manually.
Change-Id: I12cbdc52cbf650648b63c5864167343ba64fe635

7 years agoFix typo, cacologique expession in API reference doxygen documents. 19/113319/1
Myoungwoon Roy, Kim [Tue, 7 Feb 2017 06:24:54 +0000 (15:24 +0900)]
Fix typo, cacologique expession in API reference doxygen documents.

Change-Id: I219335d3ea4f87868704e9178a65490381e32f86

7 years agoecore_buffer: refernece tbm_surface when alloc with tbm_surface 40/113240/3
Changyeon Lee [Fri, 3 Feb 2017 10:07:05 +0000 (19:07 +0900)]
ecore_buffer: refernece tbm_surface when alloc with tbm_surface

Change-Id: I625471815045e0dffdf916e25d608c97214aa5a9

7 years agouse tdm_layer_commit instead of tdm_output_commit 41/112741/1
Boram Park [Mon, 26 Dec 2016 05:41:10 +0000 (14:41 +0900)]
use tdm_layer_commit instead of tdm_output_commit

Change-Id: I9655184fcbf5807b58b07f118d9c4dde20f44c24

7 years agoevas textblock: Fix RTL + LTR word wrap issue caused by wrong line start pos 09/112609/1
Youngbok Shin [Wed, 1 Feb 2017 10:49:41 +0000 (19:49 +0900)]
evas textblock: Fix RTL + LTR word wrap issue caused by wrong line start pos

@tizen_fix

Change-Id: I0bf6f796bfdb5162d94e0aa2009cd8100ec641ea

7 years agoadd eclipse project filename to gitignore 82/112482/1
Minchul Lee [Wed, 1 Feb 2017 06:51:42 +0000 (15:51 +0900)]
add eclipse project filename to gitignore

Change-Id: I5b15b8a0273b47adfcfaf051eb248cb3ff2317c4
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
7 years agoecore_audio : fix to write as much as requested length 31/111831/1
Seungbae Shin [Fri, 20 Jan 2017 09:29:58 +0000 (18:29 +0900)]
ecore_audio : fix to write as much as requested length

Change-Id: I7e7ee2333313ea3a2189dc5a633f6e229d91d0a0
(cherry picked from commit 13086f7f7a0422d6a3386394eee9ec31a2439395)

7 years agoecore_wl: call tizen_policy_set_parent if parent doesn't have xdg_surface 95/111695/4
Duna Oh [Mon, 23 Jan 2017 11:36:28 +0000 (20:36 +0900)]
ecore_wl: call tizen_policy_set_parent if parent doesn't have xdg_surface

Isf-input-panel doesn't have a xdg_surface.
So, if isf subwindows request set_parent with isf-input-panel, ecore_wl calls
tizen_policy_set_parent instead.

Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I426d85f30f0bfe36864e88b81e7b397eeefd4f54

7 years agoedje_cc_parse: Compile EDC file whose path contains space character. 71/111371/2
Jaehyun Cho [Mon, 2 Jan 2017 10:25:45 +0000 (19:25 +0900)]
edje_cc_parse: Compile EDC file whose path contains space character.

Previously, edje_cc could not compile EDC file whose path contains space
character since edje_cc interpreted the EDC file as separate 2 inputs.
(i.e. "input file.edc" was interpreted as "input" and "file.edc")

This patch enables edje_cc to interpret above case correctly.

This patch also contains the following patch in upstream.
8cf38539a167ee9919f093708fd6f8b52b8b5911
(edje_cc_parse: Fix not to convert macros to a single string)

Change-Id: I5b800ccf166ef4df5d189ad60b52a7b5a0a89c7c

7 years agoevas_inline : Add safety checks 67/110867/2
Aditya Raj [Wed, 18 Jan 2017 09:27:32 +0000 (14:57 +0530)]
evas_inline : Add safety checks

Summary : Add NULL check in evas_object_was_visible and  evas_object_is_visible APIs to avoid segfault

@fix

Change-Id: I23e7dbe1d280bc4a466cc722af7e4abb588479c2
Signed-off-by: Aditya Raj <aditya1.raj@samsung.com>
7 years agoeet: add NULL check to eet_connection_empty API to avoid segfault 57/98657/2
Prateek Thakur [Fri, 18 Nov 2016 06:16:31 +0000 (11:46 +0530)]
eet: add NULL check to eet_connection_empty API to avoid segfault

Summary: porting of patch from upstream

commit 0b6e04d94fc3ff6447b6fbf0fcdbdd8b6958e621
Author: Artem Popov <artem.popov@samsung.com>
Date:   Wed Nov 16 15:30:29 2016 -0800

    eet: add NULL-check to eet_connection_empty API to avoid segfault

    @fix

    Summary:
    Only eet_connection_empty hasn't checking on NULL and try to read from field of object.
    Add NULL-check for connection and return result of empty connection.

    Reviewers: jpeg, cedric, myoungwoon

    Subscribers: t.naumenko, NikaWhite

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: I90113cfa41635f35a6c6ef6d1e1497841f484ce7
Signed-off-by: Prateek Thakur <prateek.th@samsung.com>
7 years agoepp: fix memory corruption when using #warning and #error 36/96836/2
Jean Guyomarc'h [Wed, 5 Oct 2016 10:00:38 +0000 (12:00 +0200)]
epp: fix memory corruption when using #warning and #error

The epp instructions #warning and #error would led to a segmentation
fault (invalid free) because the malloced buffer's base pointer was
moved.

@fix

Signed-off-by: Pankaj Mittal <m.pankaj@samsung.com>
Change-Id: I694688fedd6249c0ae34df31ebb8f9670aed847e

7 years agoEvas Text :Safety check to avoid crash 63/108963/3
Awadhesh Singh [Fri, 6 Jan 2017 09:29:09 +0000 (14:59 +0530)]
Evas Text :Safety check to avoid crash

In many case eo_data_scope_get() will return NULL
Such as object is already free , invalid obj_id reference.
Added safety check to avoid crash

Change-Id: Ic509b63df19e3f1d5d8a6ed7a1985821fe835488
Signed-off-by: Awadhesh Singh <awadhesh1.s@samsung.com>
(cherry picked from commit cd1adb59dad9df70f6e57858f8b750b5d87336a2)

7 years agoevas: don't reinit fontconfig to destroy _fcConfig 45/110945/1
Youngbok Shin [Wed, 18 Jan 2017 09:35:08 +0000 (18:35 +0900)]
evas: don't reinit fontconfig to destroy _fcConfig

FcInitReinitialize() function will destroy previous default(or current) _fcConfig.
If fontconfig is used outside of Evas, it can cause some crash issues.

@tizen_fix

Change-Id: Ied340277155832c802e5ce1f8f66a6c8be5ae115
(cherry picked from commit 0bc545d5555d30cfcb024ac52ad2e1f29457d3b7)

7 years agoecore_evas_wayland_common: do not check visible state when it's raised/lowered 23/110823/3
MinJeong Kim [Wed, 18 Jan 2017 07:01:34 +0000 (16:01 +0900)]
ecore_evas_wayland_common: do not check visible state when it's raised/lowered

Change-Id: Ib7260ac65b1420ffb609587f5c10f447b121d8fd
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoecore_evas engine: correct the min, max value when rotate device 35/110935/1
Thiep Ha [Wed, 18 Jan 2017 23:50:44 +0000 (08:50 +0900)]
ecore_evas engine: correct the min, max value when rotate device

When rotate device, the min, max is incorrectly set:
- It is set after the size calculation, so the calculation uses
previous min value.
- The w and h are switched in function parameters, but they are switched
again before calling engine function. This makes wrong w, h value.
This patch correct it.

@tizen_fix

Change-Id: I1307358480e707efdf82a68fc4cdd4b9fbd98c8b

7 years ago[Extn_GL] Add changed_buffer for tizen remote surface 72/110672/1 accepted/tizen/common/20170119.171610 accepted/tizen/ivi/20170118.223256 accepted/tizen/mobile/20170118.223145 accepted/tizen/tv/20170118.223212 accepted/tizen/wearable/20170118.223233 submit/tizen/20170118.061743
sunghyun kim [Mon, 16 Jan 2017 06:57:01 +0000 (15:57 +0900)]
[Extn_GL] Add changed_buffer for tizen remote surface

buffer_update callback will be deprecated next version
so add changed buffer and upgrade version 2 -> 3

Change-Id: Ia89723f823df91ad0ec7e3879ce82270d11c2c54

7 years agoevas text: add "width" which includes advance 55/110655/2
Youngbok Shin [Tue, 17 Jan 2017 07:52:37 +0000 (16:52 +0900)]
evas text: add "width" which includes advance

The advance value didn't consider bigger width cases.

@tizen_fix

Change-Id: Id1edc93efc303e60bf85bed6847cb9c4c0ec1725
(cherry picked from commit fffe0924acb4ac03269e399ee66d853010084588)

7 years agoevas text: remove duplicated code which can cause smaller ellipsis position 31/110631/2
Youngbok Shin [Tue, 17 Jan 2017 07:18:33 +0000 (16:18 +0900)]
evas text: remove duplicated code which can cause smaller ellipsis position

@tizen_fix

Change-Id: I8a1fa5389a87e454b8c7c5fb5d8948c70fcde4b4
(cherry picked from commit e5b24963f20cf6594202080d9a8ffead1cca53cb)

7 years agoevas textblock: +1 to formatted width from Textblock 30/110630/2
Youngbok Shin [Tue, 17 Jan 2017 06:43:54 +0000 (15:43 +0900)]
evas textblock: +1 to formatted width from Textblock

Because, formatted width is always smaller than the given size,
Edje can't use formatted size as a Textblock part's size directly.
If formatted size is used directly, you will see narrower/taller Textblock part.
It replace the following patch.

commit bbf5d78d385784f2e2dfdc0830808967a919d054
"edje_calc: give +1 width from calculated width of formatted_get"

@tizen_fix

Change-Id: I16532d6fdf94277b54b69629cca0f365cdc85538
(cherry picked from commit b609c40cbbfc5b9e864fb43875c691fa65eaa445)

7 years agoRevert "edje_calc: give +1 width from calculated width of formatted_get" 29/110629/1
Youngbok Shin [Tue, 17 Jan 2017 05:55:24 +0000 (14:55 +0900)]
Revert "edje_calc: give +1 width from calculated width of formatted_get"

This reverts commit bbf5d78d385784f2e2dfdc0830808967a919d054.

There was a side effect when "text.min: 0 1" is used.

Change-Id: I5edede90aabe2f9346829008f6189d7b5c038ea7
(cherry picked from commit f54f1bbf4a719fec7704137a388ce58a5a41020b)

7 years agoRevert "Revert "edje_calc: round the scaled value when it is casted to int type."" 98/110598/2
Jaehwan Kim [Tue, 17 Jan 2017 06:36:49 +0000 (15:36 +0900)]
Revert "Revert "edje_calc: round the scaled value when it is casted to int type.""

This reverts commit d941d18076a51ba6a7a4ec45461699dba22bd27b.

Change-Id: Ide96edcd224dd064e1fbb378f0910d4e07f77653