platform/upstream/efl.git
6 years agoevas textblock: remove build warning for comparing integer and size_t variables 52/142052/2
Youngbok Shin [Wed, 2 Aug 2017 10:03:29 +0000 (19:03 +0900)]
evas textblock: remove build warning for comparing integer and size_t variables

@tizen_fix

Change-Id: I564a35e46979df603a350eca69f596ce1cd39e27

6 years ago[evas_gl] fixed svace issue 31/142031/2
Joogab Yun [Wed, 2 Aug 2017 08:46:34 +0000 (17:46 +0900)]
[evas_gl] fixed svace issue
WGID 266441, 269645

Change-Id: I7a370419e8c96e759a13352a7ef72eef2d76c143

6 years agoevas textblock: fixed to update ascent/descent for font instance 46/142046/2
Youngbok Shin [Wed, 2 Aug 2017 09:53:20 +0000 (18:53 +0900)]
evas textblock: fixed to update ascent/descent for font instance

There was a mistake from the following patch.
"evas textblock: fixed to calc ascent/descent values with considering main font"

@tizen_fix

Change-Id: I2c5af6002290288ff9acebe98a2a879ec6ac047f

6 years agoeldbus - make file local func added in fix static 52/141552/3
Carsten Haitzler (Rasterman) [Mon, 31 Jul 2017 23:29:37 +0000 (08:29 +0900)]
eldbus - make file local func added in fix static

better to keep the func local unless needed elsewhere too

Change-Id: I1812174c0450efee1d38b1e6b3a0df2203529ed6

6 years agoedje: add text marquee duration set/get APIs for internal usages 89/141789/2
Youngbok Shin [Tue, 1 Aug 2017 11:05:08 +0000 (20:05 +0900)]
edje: add text marquee duration set/get APIs for internal usages

It also add some missing comments for changes of ellipsize features.

@tizen_feature

Change-Id: I8e2df138833dbfb4d1b110325eb7c089f1105140

6 years ago[evas] fix svace issue 73/141573/1
Joogab Yun [Tue, 1 Aug 2017 05:00:54 +0000 (14:00 +0900)]
[evas] fix svace issue
WGID: 170018, 170891, 170892, 200149, 258324, 258326
258612, 258685, 259918, 265106

Change-Id: I68558eb8b773f4114d313b2bcde5443f4e20d266

6 years agoedje: add a NULL checking before assigning a initial value 60/141560/1
Youngbok Shin [Tue, 1 Aug 2017 04:47:13 +0000 (13:47 +0900)]
edje: add a NULL checking before assigning a initial value

@tizen_fix

Change-Id: Ie4548b9ff98f8c964aefd442af9ae85ead96d97f

6 years agoeldbus: check message serial before using 50/141550/2
Shinwoo Kim [Mon, 31 Jul 2017 06:50:48 +0000 (15:50 +0900)]
eldbus: check message serial before using

Summary:
Whatever the dbus_connection_send_with_reply returns, the serial value
should be checked, because if the seral value is invalid a process could be aborted.

There is backtrace as below.

The dbus_connection_send_with_reply could return TRUE
even though it has a problem. Please refer to following comment:

   /* Refuse to send fds on a connection that cannot handle
      them. Unfortunately we cannot return a proper error here, so
      the best we can do is return TRUE but leave *pending_return
      as NULL. */

Test Plan:
There is not a exact reproduce step. If the Tizen login manager is relaunched
repeatedly, then the dbus and other service processes are relaunched.
If a service process tries to use dbus when the dbus has problem as above,
then it could be possilbe to get above backtrace.

Reviewers: raster, zehortigoza

Subscribers: cedric, jpeg

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

@fix

Change-Id: I4a6769e4f7154d0f95db4234f4a87e1f62ab0ab6

6 years agoecore_imf: check return value of memory allocation 06/141506/2
Jihoon Kim [Tue, 1 Aug 2017 01:27:37 +0000 (10:27 +0900)]
ecore_imf: check return value of memory allocation

Change-Id: Id18c686d06d91c75a615b3ebaab99b9467190c0f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agowayland_shm: add safety check 42/141542/1
Sangjin Lee [Tue, 1 Aug 2017 04:18:12 +0000 (13:18 +0900)]
wayland_shm: add safety check

Change-Id: Ic2d1c6e4462b4dd8d50adbbf662cf2b253784398

6 years agoevas_gl: Fix build warnings 62/140962/3
huiyu.eun [Thu, 27 Jul 2017 07:09:15 +0000 (16:09 +0900)]
evas_gl: Fix build warnings

Change-Id: Ic487fdab4f80e917c2b52760c5bb22c0ede2cff2
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
6 years agoedje: send signals for ellipsize.marquee 59/141059/5
Youngbok Shin [Fri, 28 Jul 2017 03:05:08 +0000 (12:05 +0900)]
edje: send signals for ellipsize.marquee

It adds the following signals.

"text,ellipsize,marquee,loop" - When each loop is done.
"text,ellipsize,marquee,done" - When all loops are done.
"text,ellipsize,marquee,none" - When text is too short to slide.

@tizen_feature

Change-Id: Ib9205b0ddda42ed25cd6b252337137e22a2ff148

6 years ago[evas_gl_thread] remove build warning message 00/141300/2
Joogab Yun [Mon, 31 Jul 2017 02:16:04 +0000 (11:16 +0900)]
[evas_gl_thread] remove build warning message

Change-Id: Idae973352f03ad12f5927f9d4047d14181abf7c9

6 years ago[EvasEngine] Fix build warning 74/141274/1
Wonsik, Jung [Sun, 30 Jul 2017 00:24:15 +0000 (09:24 +0900)]
[EvasEngine] Fix build warning

Fix build warning for eng_image_native_set()

Change-Id: Ic5f730361d6a7c9456624e275f64b1dd31dd06e2

6 years ago[EvasGL] Add to unset PreRotation 57/140857/3
Wonsik, Jung [Thu, 27 Jul 2017 02:00:37 +0000 (11:00 +0900)]
[EvasGL] Add to unset PreRotation

If evasgl and the other objects  work together, then remove evasgl object,
the other object should work without prerotation.
Becase they have their own rotation code.

Change-Id: I04a861ed578e565a7a9fa8cacc635da5f271b733

6 years agoecore_drm: fix build warnings 45/141145/1
JengHyun Kang [Fri, 28 Jul 2017 08:44:38 +0000 (17:44 +0900)]
ecore_drm: fix build warnings

Change-Id: I3ae9c8722aaf028605f940c2c0a8bcaa063c5430

6 years ago[evasgl] fix warning in extn & tbm backend 00/140900/2
sunghyun kim [Thu, 27 Jul 2017 05:50:31 +0000 (14:50 +0900)]
[evasgl] fix warning in extn & tbm backend

fix warning in extn & tbm_backend

1. fixed pointer type in ecore_evs_tbmc.c
2. add EINA_UNUSED for unused value
3. fix resource_id initail value for fix warning
4. change ecore_evas_extn_socket_new_internal() for fix warning

Change-Id: I7ae91fcfd3a246614bca5a1fe0c9ea18a7578a3a

6 years ago[evas_gl] update shader when compiling new shader 82/139982/3
sunghyun kim [Fri, 21 Jul 2017 07:24:50 +0000 (16:24 +0900)]
[evas_gl] update shader when compiling new shader

if new shader is compiled, it will be saved after shutdown.
because of this, shader is compiled 2~3 times in some case.
so add some code for this problem.

1. close & reopen shader before checking shader file.
2. update shader file when application compile new shader

Change-Id: I93f0f5c46d99910b7b794dcfefba70d993b2905d

6 years agoecore_wayland: fix build warning 35/140935/2
Sangjin Lee [Thu, 27 Jul 2017 06:41:44 +0000 (15:41 +0900)]
ecore_wayland: fix build warning

Change-Id: I825a72b3d4f8681292546926bb5777f31f1b1c91

6 years agofix build warnings 34/140934/2
Sangjin Lee [Thu, 27 Jul 2017 07:15:53 +0000 (16:15 +0900)]
fix build warnings

Change-Id: I8fd17f70203dc79eea52562bf91a25171b336881

6 years agosoftware_tbm: disable swap_mode for fixing build warning 99/140899/1
Sangjin Lee [Thu, 27 Jul 2017 04:34:48 +0000 (13:34 +0900)]
software_tbm: disable swap_mode for fixing build warning

Change-Id: I14867b37599dfa2675f62f81d3971956d7bd3fcf

6 years agosoftware_tbm: fix uninitialized value 98/140898/1
Sangjin Lee [Thu, 27 Jul 2017 03:09:16 +0000 (12:09 +0900)]
software_tbm: fix uninitialized value

Change-Id: I24d0749e2d7212f3f60c6a963d40c2f4e54037c6

6 years agoevas_engines: fix build warnings 97/140897/1
Sangjin Lee [Thu, 27 Jul 2017 03:03:17 +0000 (12:03 +0900)]
evas_engines: fix build warnings

Change-Id: I8a5036f19793f39afa6f1fc4c0275b28cb939a8f

6 years agoecore_evas_extn: fix build warning 96/140896/1
Sangjin Lee [Thu, 27 Jul 2017 02:28:41 +0000 (11:28 +0900)]
ecore_evas_extn: fix build warning

remove the wayland-server.h

Change-Id: I7be330bda2a6be611ae363424e4a6728615763a5

6 years agoecore_buffer: remove the useless definition 95/140895/1
Sangjin Lee [Thu, 27 Jul 2017 02:05:02 +0000 (11:05 +0900)]
ecore_buffer: remove the useless definition

Change-Id: I430310688931184bd59c3dea00aaf0bd2a7a7d1d

6 years ago[EvasGL] Modify the libwayland-egl name. 18/140818/1 accepted/tizen/unified/20170728.195341 submit/tizen/20170727.055818
Wonsik, Jung [Wed, 26 Jul 2017 11:39:09 +0000 (20:39 +0900)]
[EvasGL] Modify the libwayland-egl name.

Modify the libwayland-egl name from libwayland-egl.so to libwayland-egl.so.1

Change-Id: I6851a03baa081d1c8700cb00912f6d49710b6f42

6 years agoecore_events: inarray should be flushed before return 01/140801/1
WooHyun Jung [Wed, 26 Jul 2017 09:57:37 +0000 (18:57 +0900)]
ecore_events: inarray should be flushed before return

@fix

Change-Id: I59ab3ecc71899bdbdc5a08b1584251831d6433c9

6 years ago ecore_evas_wayland: fix bug ecore_evas cannot update the evas when rotation 19/140719/1
Jiyoun Park [Wed, 26 Jul 2017 06:55:04 +0000 (15:55 +0900)]
   ecore_evas_wayland: fix bug ecore_evas cannot update the evas when rotation

   usecase:
   show -> rotation -> hide -> show
   ecore_evas_wayland didn't check the rotation.
   when ee is landscapemode, it cannot update the right area of evas.

Change-Id: Ic8f0bf2856b9a4f1d3012556d686e05ab05e2378

6 years agoevas textblock: support nagative value for linegap 81/140681/1
Youngbok Shin [Wed, 26 Jul 2017 05:01:44 +0000 (14:01 +0900)]
evas textblock: support nagative value for linegap

It was supported since Tizen 2.3.

@tizen_fix

Change-Id: I0645e5a1b03d821d965bd33d22592916abe8e04a

6 years agoevas textblock: fixed to calc ascent/descent values with considering main font 21/140021/4
Youngbok Shin [Fri, 21 Jul 2017 10:51:46 +0000 (19:51 +0900)]
evas textblock: fixed to calc ascent/descent values with considering main font

@tizen_fix

Change-Id: I9b87d046737e78ef55ba00e58d808db979e1805e

6 years agoedje: restore ellipsis state of TEXT part when marquee mode is NONE 35/140535/2
Youngbok Shin [Tue, 25 Jul 2017 08:43:15 +0000 (17:43 +0900)]
edje: restore ellipsis state of TEXT part when marquee mode is NONE

@tizen_fix

Change-Id: I7b5458a72b9dc9ebce531ffd5176aeabcfd033c5

6 years agoedje: fix to apply loop_delay even if there is no loop limit 98/140498/2
Youngbok Shin [Tue, 25 Jul 2017 07:17:45 +0000 (16:17 +0900)]
edje: fix to apply loop_delay even if there is no loop limit

@tizen_fix

Change-Id: I43803757d52f0a345a5f74df5587526a1dc7c98b

6 years agoedje: fix wrong speed calculation for text marquee's duration 89/140489/2
Youngbok Shin [Tue, 25 Jul 2017 06:57:41 +0000 (15:57 +0900)]
edje: fix wrong speed calculation for text marquee's duration

@tizen_fix

Change-Id: Ic3cbd2fa178ee6c65e0b22665fd3592a1e0ea0fd

6 years ago[evas_gl_thread] Refactoring evas gl thread 59/139659/5
Joogab Yun [Wed, 19 Jul 2017 10:45:45 +0000 (19:45 +0900)]
[evas_gl_thread]  Refactoring evas gl thread
1. combine the gl and evgl threads together
   : export EVAS_GL_RENDER_THREAD=1
2. Changed the pushing method of thread commands

    Now user can allocate a command buffer first, then enqueue it.
    It will be free automatically after callback is called.

    GL_TH_ST(command) *buf;
    void *thcmd_ref;
    buf = evas_gl_thread_cmd_create(EVAS_GL_THREAD_TYPE_GL,
                                    sizeof(GL_TH_ST(command)),
                                    &thcmd_ref);
    buf->xxx = xxxx; // Setup content
    evas_gl_thread_cmd_enqueue(thcmd_ref
                               GL_TH_CB(command),
                               EVAS_GL_THREAD_MODE_FINISH);
3. Refactoring Thread functions of EGL/GLX to the new form
4. Replace GL_TH and EVGL_TH to the new form
5. Refactoring EvasGL macro to attach thread funcs
6. Replace dlopen'ed symbols (glsym_XXX)
7. Replace functional threading codes to the new form
8. Enable direct rendering when evas gl thread is On

Change-Id: Ie88edd77f670b59ac5fae8ce9c34753c2bd36009

6 years agoecore: Fix memory leak and logic 70/140370/1
Jean-Philippe Andre [Tue, 14 Mar 2017 13:28:50 +0000 (22:28 +0900)]
ecore: Fix memory leak and logic

@cedric... how could this even happen??

Change-Id: I8669ada54d996ee7e2758bb286fd88f7c30998a2

6 years ago[evas] remove build warning message 91/140291/2
Joogab Yun [Mon, 24 Jul 2017 10:28:28 +0000 (19:28 +0900)]
[evas] remove build warning message

Change-Id: I12f654e82620f2a44fba4cc0e7aa841e054fca8d

6 years agoecore_drm_output: remove build warning 65/140265/1
Boram Park [Mon, 24 Jul 2017 08:49:14 +0000 (17:49 +0900)]
ecore_drm_output: remove build warning

Change-Id: I6d13ecdcb4997749c9466e995017b7652a969bf4

6 years ago ecore-x: add missing atom fetches! 85/140185/1
Jiyoun Park [Mon, 24 Jul 2017 06:18:09 +0000 (15:18 +0900)]
ecore-x: add missing atom fetches!

    ECORE_X_ATOM_E_ILLUME_SLIDING_WIN_STATE
    ECORE_X_ATOM_E_ILLUME_SLIDING_WIN_GEOMETRY

    all had no atom fetches! fix..

    @fix

Change-Id: I82942d293bc504b99fcb45c2e54846deefb3aa6a

6 years ago[evas_gl] Add lock to wait compiling shader 06/139206/7
sunghyun kim [Tue, 18 Jul 2017 02:57:49 +0000 (11:57 +0900)]
[evas_gl] Add lock to wait compiling shader

when application compile shader, shader files are created at the end.
so if other proceess try creating shader before shader file is created,
it also try again compile shader.
so add lock to wait compiling shader

Change-Id: Id9da72f226e180cc18fcaaa65d639676ccfe9114

7 years agoslider: Allow range limitations 96/139196/3
Hosang Kim [Tue, 11 Jul 2017 07:25:44 +0000 (16:25 +0900)]
slider: Allow range limitations

Summary:
When user drags slider, slider value cannot be changed by API.
However the necessity of above behavior has emerged.
Because sometimes applications want limitation of slider value.

Test Plan: elementary_test -> slider -> Limited

Reviewers: woohyun, cedric, SanghyeonLee, singh.amitesh, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

Change-Id: I57bd9152ec26d0f3d74c80c0baefa09b5224568d

7 years agoevas: Restore flag pre_render_done in render_mapped 95/139695/2
jiin.moon [Thu, 20 Jul 2017 06:39:55 +0000 (15:39 +0900)]
evas: Restore flag pre_render_done in render_mapped

Author:     Jean-Philippe Andre <jp.andre@samsung.com>
AuthorDate: Thu Jul 20 14:35:48 2017 +0900
Commit:     Jean-Philippe Andre <jp.andre@samsung.com>
CommitDate: Thu Jul 20 15:17:36 2017 +0900

    evas: Restore flag pre_render_done in render_mapped

    Some objects don't go through render_pre (unchanged, child
    of mapped parents), even though they will go through
    evas_render_mapped. Those were marked as pre_render_done
    inside evas_render_mapped since it seemed to fix some issues
    a long time ago.

    Unfortunately, if those objects are changed their flag may
    not be reset to false, which means they never go through
    render_pre, leading to render issues.

    I believe simply restoring the value of the pre_render_done
    flag should be good enough. I don't know why it is set to
    true inside evas_render_mapped but I also don't want to find
    out :)

    See 9ac13e4aec83ea6dadfa62e4253b1db4ffe167e8 (old)
    See 87e5e70a9d888ce93ed807bb0d39d1738241ad9b (older)

    Patch made with @jiin.moon

Change-Id: I18cba0e979bc7fe50952ff33b01b9bc4160087a5

7 years agoRevert "ecore_evas_wl: do set_buffer_transform in gl side" 58/139858/1 accepted/tizen/unified/20170721.201732 submit/tizen/20170721.005824
Boram Park [Fri, 21 Jul 2017 01:00:13 +0000 (10:00 +0900)]
Revert "ecore_evas_wl: do set_buffer_transform in gl side"

This reverts commit 787f71a5a41378a2f63904df61ae5b6f6b148e1e.

Change-Id: Ib37923559fa70865f48ffd08a91e584fc39dbfd7

7 years agoRevert "[evas_gl_thread] separates wl_egl_xxX API calls into threads." 57/139857/1
Boram Park [Fri, 21 Jul 2017 01:00:03 +0000 (10:00 +0900)]
Revert "[evas_gl_thread]  separates wl_egl_xxX API calls into threads."

This reverts commit 8c9470c0133a076f67535b5655a3d850e9e9a904.

Change-Id: I500e92388f550a18acd829bc831c81e1b585c7f1

7 years ago[evas_gl_thread] separates wl_egl_xxX API calls into threads. 94/139494/6
Joogab Yun [Tue, 27 Jun 2017 04:55:13 +0000 (13:55 +0900)]
[evas_gl_thread]  separates wl_egl_xxX API calls into threads.

Change-Id: I39401708477d682b4ca16735cc6e66e1f036da89

7 years ago[evas_gl] calculates texture sampling for orient (90 or 270) 82/139182/2
Joogab Yun [Tue, 18 Jul 2017 00:53:14 +0000 (09:53 +0900)]
[evas_gl] calculates texture sampling for orient (90 or 270)

Change-Id: I9744ab3379c64fc3c829885a17295b22f2b210a2

7 years agoecore_evas_wl: do set_buffer_transform in gl side 43/139443/1
Boram Park [Thu, 15 Jun 2017 07:11:46 +0000 (16:11 +0900)]
ecore_evas_wl: do set_buffer_transform in gl side

buffer-transform = window-rotation + output-transform

Change-Id: I276552bb1979a54f35398e24bddde4b0e049eac4

7 years agoecore_wl: change the compositor binding version 42/139442/1
Boram Park [Thu, 15 Jun 2017 07:09:45 +0000 (16:09 +0900)]
ecore_wl: change the compositor binding version

to use wl_surface_damage_buffer

Change-Id: I4791022e2b348989729a5ba5e8717d19d5b83edf

7 years agoEvas and Eolian : Freed string buffer 93/139093/2
jiin.moon [Mon, 17 Jul 2017 08:07:25 +0000 (17:07 +0900)]
Evas and Eolian : Freed string buffer
Summary : String buffer returned by eina_strbuf_new() is not freed in some cases

@Fix

Signed-off-by: Uma Devika <u.bodapati@samsung.com>
Reviewers: cedric, tasn, jpeg, raster, singh.amitesh

Subscribers: tanwar.umesh07, yashu21985, cedric, jpeg

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

Change-Id: Ic6a20827a912621d90a15367d4cb58ef16b0e01d

7 years agoevas_gl: FBO capa test for each version 16/137516/5
Daekwang Ryu [Thu, 22 Jun 2017 06:29:39 +0000 (15:29 +0900)]
evas_gl: FBO capa test for each version

Supporting extensions by each version is different.
So testing for each version is needed.

In GLES 3.1, MSAA texture is core.
But now renderer can't render MSAA texture.
texture() in GLSL can't use with MSAA texture and
binding point is different.
MSAA texture binding point is GL_TEXTURE_2D_MULTISAMPLE.

Change-Id: I8e7fe39c83272dcb44df10a6e847bd55b2879ccb

7 years agoedje_cc: Add copy item for proxy part 32/139232/2
jiin.moon [Mon, 17 Jul 2017 08:24:11 +0000 (17:24 +0900)]
edje_cc: Add copy item for proxy part

Refs: master, <origin/HEAD>, <origin/master>, v1.20.0-beta2-43-g4211822
Author:     jiin.moon <jiin.moon@samsung.com>
AuthorDate: Fri Jul 14 11:29:50 2017 +0900
Commit:     Jean-Philippe Andre <jp.andre@samsung.com>
CommitDate: Fri Jul 14 11:39:44 2017 +0900

    edje_cc: Add copy item for proxy part

    Summary:
    Although user use "inherit" in a state of proxy part,
    the inherit function does not copy the source_visible and
    the source_clip value of parent to the state.

    Test Plan: {F1751132}sample

    Reviewers: jpeg, cedric

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

    @fix

Change-Id: I35e7eafd558d1e41b6d49e70ab0ebf8f63e93ae5

7 years ago[evasgl] Delete checking checksum when copy old shader 92/138592/2
sunghyun kim [Thu, 13 Jul 2017 02:07:53 +0000 (11:07 +0900)]
[evasgl] Delete checking checksum when copy old shader

when application use runtime shader, it add runtime shader when application shutdown.
for add runtime shader, they copy old shader file to temp file  and modify,rename this.
but in this case, eet_open & checksum check is failed.
because temp file is empty (it didn't write checksum)

so delete checking checksum when copy old shader to temp file.

Change-Id: I4930bd14922429e4eb85ad41d5ffd0b7dbff6d75

7 years ago[EvasGL] Optimize precompiling shader list 58/137958/4
Wonsik, Jung [Mon, 10 Jul 2017 11:31:52 +0000 (20:31 +0900)]
[EvasGL] Optimize precompiling shader list

When Evas GL shader file is created at fist,
Many shaders is create/compiled, then program is created/attached/linked with the shaders.
In case of some devices, the glProgramLink() time is spent too much.
To opimize, base shaders are only included to the list.

Change-Id: Ibe04ffd30f2ae6d0a3b9b61d3370a9f924dc9825

7 years agoecore_wl: read events only when fd_handler has READ flag. 42/139142/3 accepted/tizen/unified/20170719.004634 submit/tizen/20170718.002809
Boram Park [Mon, 17 Jul 2017 12:00:47 +0000 (21:00 +0900)]
ecore_wl: read events only when fd_handler has READ flag.

fd_handler can be called when WRITE|ERROR flags are set. In these case, we
shouldn't call wl_display_read_event. Otherwise, the main thread will be
deadlock by wl_display_read_event because there is no event to read in
wayland fd.

Change-Id: Idfeeedf800028b9ee5e65debcf6f8a196aa0670a

7 years agoedje_load: fix mirroring bug with GROUP, BOX, or TABLE part 81/137681/2 accepted/tizen/unified/20170717.170202 submit/tizen/20170713.122748 submit/tizen/20170714.014828
anand.km [Fri, 7 Jul 2017 04:59:52 +0000 (10:29 +0530)]
edje_load: fix mirroring bug with GROUP, BOX, or TABLE part

Change-Id: Ic6c99f84d56facd631046a108c13e995b8d04abb

7 years agoevas_gl: remove core API symbols in EvasGL extensions 96/137096/2
Daekwang Ryu [Tue, 4 Jul 2017 10:11:05 +0000 (19:11 +0900)]
evas_gl: remove core API symbols in EvasGL extensions

In some cases, core API and extension API are different.
So getting the core API first does not guarantee the operation.

Change-Id: Idb23fc879064a13d4dfea03b39c561b2deb8e5f8

7 years agoecore_drm: set a screen rotation angle to ecore_drm_output 72/137172/2 accepted/tizen/unified/20170711.181154 submit/tizen/20170707.071852 submit/tizen/20170711.023244
JengHyun Kang [Tue, 4 Jul 2017 13:51:26 +0000 (22:51 +0900)]
ecore_drm: set a screen rotation angle to ecore_drm_output

  - change pointer device's width and height following rotation

Change-Id: I49bad62ca532e08d31c85ad9208099b3644b5469

7 years agoEdje_cc: support braces for description.proxy attribute. 69/136769/3
Mykyta Biliavskyi [Wed, 30 Dec 2015 07:03:30 +0000 (16:03 +0900)]
Edje_cc: support braces for description.proxy attribute.

Fix parsing Group.Parts.Part.Description.Proxy block in cases
when uses braces:

part { type: PROXY;
  description {
    ..
    proxy {
      source_clip:    1;
      source_visible: 1;
    }
      ..
  }
}

@fix

Change-Id: I81eec472f745c454ed5c635acab5cdc63f0e8940

7 years agoecore_imf: avoid crash during shutdown due to Ecore_Event queue. 28/118328/2
Cedric BAIL [Fri, 10 Mar 2017 00:11:19 +0000 (16:11 -0800)]
ecore_imf: avoid crash during shutdown due to Ecore_Event queue.

Change-Id: I7f461fa49d30ea300b6d03f3d09be1ac1beced2e
Signed-off-by: Jiwon Kim <jiwon177.kim@samsung.com>
7 years agoecore: add ecore_event_type_flush. 27/118327/2
Cedric BAIL [Thu, 9 Mar 2017 23:51:00 +0000 (15:51 -0800)]
ecore: add ecore_event_type_flush.

During shutdown it is possible that some event are still in ecore events
queue and get processed after the shutdown of the module that did emit them.
This would lead to crash in some case. The answer to this problem is to
normally manually track all ecore event in the queue and destroy them
before shutdown... Of course that make the API difficult to use and
basically nobody got it right.

This new API do actually as it says remove all the ecore event of a
certain type from ecore events queue. It is to be called on shutdown.

@fix

Change-Id: Ia50b5a153dd033d3448703fe13c6fd532e28b4f5
Signed-off-by: Jiwon Kim <jiwon177.kim@samsung.com>
7 years ago[EvasGL] Add more thread safety to wayland egl 04/136704/2
Wonsik, Jung [Wed, 12 Apr 2017 04:11:52 +0000 (13:11 +0900)]
[EvasGL] Add more thread safety to wayland egl

This patch is for thread safety to wayland egl backend
It is oriented by "Add more thread safety to gl_x11"(author:JPEG)

Change-Id: I121d3aa68ed110e9c5f4eb0a3dfb5ade0335fa2d

7 years agoedje: Add ellipsize feature and refactory fade_ellipsis, marquee features. 40/126340/42
Youngbok Shin [Fri, 21 Apr 2017 04:40:21 +0000 (13:40 +0900)]
edje: Add ellipsize feature and refactory fade_ellipsis, marquee features.

* example:
    description {
       text {
          ellipsize {
             mode: FADE_MARQUEE; // NONE(default), NORMAL, FADE, FADE_MARQUEE, MARQUEE
             align: END;         // END(default), START, LEFT, RIGHT, LOCALE
             marquee {
                type: ROLL;      // NORMAL(default), ROLL
                speed: 50;       // pixel per sec. It is a scalable variable when its part is scalable.
                // duration: 4.0;// sec per loop. The speed will be changed according to text's length.
                loop: 3;
                loop_delay: 2.0; // sec. delay before starting each loop
             }
          }
       }
    }

@tizen_fix

Change-Id: Iaa1d5d29ed4c2ddfc071c407ca6b7425eb4da199

7 years agowayland_shm: add condition check for shm_flusher 85/137185/2
Sangjin Lee [Tue, 4 Jul 2017 22:46:12 +0000 (07:46 +0900)]
wayland_shm: add condition check for shm_flusher

Change-Id: I09979ce5225a2a982ef86d43871a484e557cbd6d

7 years agoedje: remove MULTILINE hints from input_hint_get function 35/137135/1
Youngbok Shin [Tue, 4 Jul 2017 11:28:28 +0000 (20:28 +0900)]
edje: remove MULTILINE hints from input_hint_get function

Edje_Input_Hints does not have MULTILINE hints.
Also, set/get result should be kept.

@tizen_fix

Change-Id: Ifd96823e7b00f8492665bcec54cb5feb8a206bc0
(cherry picked from commit e7ee5c1a230c41d76bed6159dcff165b279785f1)

7 years agoecore_wl_input: fix a condition of delete ecore_device 73/136873/2
JengHyun Kang [Mon, 3 Jul 2017 08:31:16 +0000 (17:31 +0900)]
ecore_wl_input: fix a condition of delete ecore_device

Change-Id: I25eb476fed6f7442a588529b1c233a490dbc17f7

7 years agoeina: fix for escapable charachters not getting escaped if it comes after '\t' or... 85/136685/2
Prasoon Singh [Tue, 9 May 2017 17:37:12 +0000 (10:37 -0700)]
eina: fix for escapable charachters not getting escaped if it comes after '\t' or '\n'

Summary:
Escaping is not happening whenever any escapable characters is coming after
'\t' or '\n'. It will also fix invalid read of 1 byte which happens for string where
last charachter is '\t' or '\n' like "eina\t".

Test Plan:
Take a string like "eina\t ". Observe space which is followed by tab is not getting
escaped.

Signed-off-by: Prasoon Singh <prasoon.16@samsung.com>
Reviewers: shilpasingh, rajeshps, govi, cedric

Reviewed By: shilpasingh

Subscribers: cedric, jpeg

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

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

7 years agoedje: Add recursive flag for message_signal_process 80/134480/7
Jean-Philippe Andre [Mon, 29 May 2017 06:41:06 +0000 (15:41 +0900)]
edje: Add recursive flag for message_signal_process

Original patch by Jinwoo Shin:

If edje has multiple levels of child group,
edje_object_message_signal_process cannot process message on
child group. To cover that, it needs to add new API which
traverses its hierarchy and process messages.

@feature

Signed-off-by: jinwoo.shin <jw0227.shin@samsung.com>
Differential Revision: https://phab.enlightenment.org/D4914

Change-Id: I8d34087d7171cbda2378c1914d4db2e7670d53d8

7 years agoevas: change PACKAGE macro to elementary for getting "default:LTR" 77/136277/2
Youngbok Shin [Thu, 29 Jun 2017 02:29:56 +0000 (11:29 +0900)]
evas: change PACKAGE macro to elementary for getting "default:LTR"

In Tizen, Elementary package has translations of "default:LTR".
@tizen_fix

Change-Id: I93afca080d594ac64ada4bd16ba51db719a63a77

7 years agoevas textblock: add align=locale option to respect locale's direction 76/136276/2
Youngbok Shin [Tue, 13 Jun 2017 10:15:12 +0000 (13:15 +0300)]
evas textblock: add align=locale option to respect locale's direction

Summary:
There are many requests to add a new feature for handling horizontal align
according to current locale. For example, in RTL locale setting,
users want to see right aligned text for every list's item.
Even if some of list's items only contain LTR characters!
It is useful for the needs.
@feature

Test Plan: N/A

Reviewers: herdsman, tasn, woohyun, raster, cedric

Reviewed By: herdsman, raster

Subscribers: z-wony, jpeg

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

Change-Id: I23cff606706d421e1f5388875b4062ce112d2e2e

7 years agoedje entry: set imf context input hint with MULTILINE if current entry is multiline 60/136360/2
Youngbok Shin [Thu, 29 Jun 2017 07:59:39 +0000 (16:59 +0900)]
edje entry: set imf context input hint with MULTILINE if current entry is multiline

@tizen_fix

Change-Id: I52b6df29cdec81c0749b2b8b1503f71cedadbf4e

7 years agoedje: Add edje_object_part_text_prediction_hint_set 83/135783/2
Jihoon Kim [Mon, 26 Jun 2017 10:58:08 +0000 (19:58 +0900)]
edje: Add edje_object_part_text_prediction_hint_set

Change-Id: I67d0c8fb55e0ffda5426355308668337794ee449
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years ago evas: initalize orient property in file_set() 75/136175/2
Joogab Yun [Wed, 28 Jun 2017 06:13:00 +0000 (15:13 +0900)]
evas: initalize orient property in file_set()

    Summary:
    Someone calls evas_object_image_file_set() and set orient,
    and then re-set another file.
    At that time, there is a mismatch between Evas_Image_Data's
    cur->orient and engine's orient data.

    So, "file_set(a) -> orient_set(90) -> file_set(b) -> orient_set(90)"
    is not working now.

    Therefore, when a file_set() is finished, initialization is needed.

Change-Id: Icb0b393773f14b24949ad33188253e84669bd21c

7 years ago[evas_gl] The orient set behavior was different between gl-backend and 74/136174/2
Joogab Yun [Tue, 27 Jun 2017 09:36:38 +0000 (18:36 +0900)]
[evas_gl] The orient set behavior was different between gl-backend and
sw-backend.
 - Gl-backend is the rotation relative to the previous orientation
 - SW-backend is the rotation relative to the first orientation
 changes the behavior based on sw-backend

Change-Id: I050ef5dde7e1447a9ea06eada4cf07adfc4ded0c

7 years agowayland_shm: add implementation of tizen_shm_flusher 70/135870/2
Sangjin Lee [Tue, 27 Jun 2017 05:48:46 +0000 (14:48 +0900)]
wayland_shm: add implementation of tizen_shm_flusher

Change-Id: I164e29e94a1873002afd1de6159d43261b6f7905

7 years ago[evas_gl] The cache entry is deleted when set to orient. 19/133419/2
Joogab Yun [Fri, 24 Feb 2017 09:51:03 +0000 (18:51 +0900)]
[evas_gl] The cache entry is deleted when set to orient.
          so reloading the cache entry.

Change-Id: I36de13d40001e897128a59e9616cf09f3fcdb168

7 years agoecore_device: add new device subclasses 16/135816/1
Sung-Jin Park [Mon, 26 Jun 2017 23:00:47 +0000 (08:00 +0900)]
ecore_device: add new device subclasses

Change-Id: I94518ecb2b643da402d87843145fd3ffc526d759
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
7 years agoevas_device: add new device subclasses. 63/134863/2
Hosang Kim [Tue, 20 Jun 2017 07:11:26 +0000 (16:11 +0900)]
evas_device: add new device subclasses.

- EVAS_DEVICE_SUBCLASS_REMOCON
- EVAS_DEVICE_SUBCLASS_VIRTUAL_KEYBOARD

Change-Id: I7208b90cedeb7a6f36f1aed7c577fdd21def0fcb

7 years agoecore_anim: Fix don't call animator_cb 45/135445/4
jiin.moon [Thu, 22 Jun 2017 07:32:53 +0000 (16:32 +0900)]
ecore_anim: Fix don't call animator_cb

If the tick_queue_count has number less than zero, don't call the animator_cb.

Change-Id: I03648f3f89237075dd6b2d248c549afb6e33b975

7 years agoecore_drm : add code to check null pointer 83/134483/2 accepted/tizen/unified/20170630.083318 submit/tizen/20170622.051018
Doyoun Kang [Mon, 19 Jun 2017 01:49:00 +0000 (10:49 +0900)]
ecore_drm : add code to check null pointer

Change-Id: I6e2ac60d2c7b4614b626f0f8ff73dfefc1920aeb

7 years agoecore_imf: Removed wrong comments in doxygen 34/134234/5
InHong Han [Thu, 15 Jun 2017 10:10:12 +0000 (19:10 +0900)]
ecore_imf: Removed wrong comments in doxygen

Change-Id: Id8b00ae80fc974e77ca5ad04dab2dbe90c80a872

7 years agoecore_imf: Added ecore_imf_context_input_panel_position_set API 39/134039/5
InHong Han [Mon, 12 Jun 2017 04:36:33 +0000 (13:36 +0900)]
ecore_imf: Added ecore_imf_context_input_panel_position_set API

Change-Id: I30d444f72914e7ad6983287d33209f340bdf674b

7 years agoeldbus: Correctly read/write boolean to eina_value 15/134415/1
José Roberto de Souza [Wed, 27 Jan 2016 20:32:49 +0000 (18:32 -0200)]
eldbus: Correctly read/write boolean to eina_value

DBus bool type is a uint32_t not a uint8_t, just changing how read
and write, not chaging how it is stored in eina_value to save some
bytes of RAM.

This fix the stack overflow pointed out here: https://phab.enlightenment.org/T3089

@fix

Change-Id: Ib1dc0613613165d841342c3f0727080955e2f436

7 years ago[EvasGL] Add to check current eglDisplay when eglMakeCurrent is called 11/134011/2 accepted/tizen/unified/20170630.083054 submit/tizen/20170616.085651
Wonsik, Jung [Wed, 14 Jun 2017 08:02:19 +0000 (17:02 +0900)]
[EvasGL] Add to check current eglDisplay when eglMakeCurrent is called

Add to check current eglDisplay when eglMakeCurrent is called.
If eglWindow surface and eglContext is created twice,
same eglSurfaces and eglContexts are created in each backend  by Mali's core.
To fix that, add checking code with current eglDisplay.

Change-Id: I8f3e54d31dc8d08a6115f531e40d665cbc931635

7 years ago[EvasGL] Fix the bug when use prerotate 23/132823/3
huiyu.eun [Thu, 8 Jun 2017 01:54:40 +0000 (10:54 +0900)]
[EvasGL] Fix the bug when use prerotate

- Modify Environment Variable : EVAS_GL_PREROTATION_DISABLE
- When use prerotate, ob->rot is always zero

Change-Id: Ie059b65b42db681010308a99abf1f33ea0612f88
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years agoecore_evas_drm: transform the input event in ecore_drm side 85/133985/1
Boram Park [Wed, 14 Jun 2017 05:53:39 +0000 (14:53 +0900)]
ecore_evas_drm: transform the input event in ecore_drm side

Change-Id: I8d54850a684e1f87d9879714681ab62844ae2509

7 years agoedje: fix mistyped return value from edje_object_part_text_valign_get 75/133875/1
Youngbok Shin [Wed, 14 Jun 2017 00:29:13 +0000 (09:29 +0900)]
edje: fix mistyped return value from edje_object_part_text_valign_get

@tizen_fix

Change-Id: I9e7997da5e3329e066c4672b259c03c7ddcf4c65

7 years ago[evas_gl_engine] add orientation checking at image_stride_get() 13/133413/2
Joogab Yun [Mon, 12 Jun 2017 06:33:44 +0000 (15:33 +0900)]
[evas_gl_engine]  add orientation checking at image_stride_get()

Change-Id: I6ea901be0ba316f98dd1cc56ac697078c9a67cef

7 years ago[evas_sw] enable EVAS_WAYLAND_SHM_BUFFERS setting in evas_tbmbuf 96/133096/2
Joogab Yun [Fri, 9 Jun 2017 02:16:45 +0000 (11:16 +0900)]
[evas_sw] enable EVAS_WAYLAND_SHM_BUFFERS setting in evas_tbmbuf

you can change the default buffer count, but not yet support single buffer.
It support at least double buffers at evas_tbmbuf.

Change-Id: If8d22e9456ac02e914f14acd48a919a349b5160c

7 years agoevas - font dir fonts.alias - limit alias parse length 01/133101/1
Carsten Haitzler (Rasterman) [Thu, 8 Jun 2017 05:48:08 +0000 (14:48 +0900)]
evas - font dir fonts.alias - limit alias parse length

a rouge fonts.alias file in a font dir/path could contain long strings
that buffers dont have space for, so limit length of string.

@fix

Change-Id: I17888b0b8b824a5fde1b0fc089e08c4dd9c026b0

7 years agoedje_calc: fix calculation for vertically expandable textblock without max height 90/132090/3
Youngbok Shin [Thu, 1 Jun 2017 05:27:55 +0000 (14:27 +0900)]
edje_calc: fix calculation for vertically expandable textblock without max height

If there is no maximum height in description,
Then the following textblock should be vertically expandable without ellipsis.

part { name: "textblock";
   type: TEXTBLOCK;
   description {
      min: X X;
      text.min: 0 1;
   }
}

@tizen_fix

Change-Id: I19239732d309c3d1b32e68201a24a9038fca8643

7 years agoecore_evas_wayland: ignore the output transform event when iconified 91/132691/1 accepted/tizen/unified/20170608.185238 submit/tizen/20170608.120138
Boram Park [Wed, 7 Jun 2017 06:59:23 +0000 (15:59 +0900)]
ecore_evas_wayland: ignore the output transform event when iconified

App will be drawn when uniconified

Change-Id: I5f7f532c89d25bce8309db2ef002ad1fd36bbcb9

7 years ago[evas_gl_thread] check null about string value in 51/131451/2
Joogab Yun [Mon, 29 May 2017 08:51:07 +0000 (17:51 +0900)]
[evas_gl_thread] check null about string value  in
glShaderSource_evgl_api_thread_cmd()

fixed crash at
ES2-CTS.gtf.GL2Tests.shader_source.shadersource_invalidshaderhandle
testing

Change-Id: Ie94ec331338bec525207bef63390be75c493f2fc

7 years ago[evas_gl_thread] Enhanced consistency for evasgl threads. 44/130644/4
Joogab Yun [Tue, 23 May 2017 07:28:13 +0000 (16:28 +0900)]
[evas_gl_thread] Enhanced consistency for evasgl threads.

Change-Id: I00b846790a0534bf9ef9d085f5e19b22eea55ab4

7 years agoecore_imf: Added ecore_imf_context_mime_type_accept_set API 97/131497/6
InHong Han [Tue, 16 May 2017 10:58:32 +0000 (19:58 +0900)]
ecore_imf: Added ecore_imf_context_mime_type_accept_set API

Change-Id: Icf8980de2ea8ddaef4d1fad5a85d5c8da948f660

7 years agoevas: Fix don't redraw map_surface issue 05/131805/3 accepted/tizen/unified/20170605.150656 submit/tizen/20170602.044537
jiin.moon [Wed, 31 May 2017 00:28:36 +0000 (09:28 +0900)]
evas: Fix don't redraw map_surface issue

Refs: master, <origin/HEAD>, <origin/master>, v1.19.0-726-ge250a27
Author:     jiin.moon <jiin.moon@samsung.com>
AuthorDate: Tue May 30 19:25:37 2017 +0900
Commit:     Jean-Philippe Andre <jp.andre@samsung.com>
CommitDate: Tue May 30 19:25:37 2017 +0900

    evas: Fix don't redraw map_sufarce issue

    Summary:
    map_surface does not redraw in below case.

    1) parent and child are smart object and has map.
    3) drawing objects.
    4) apply new map to child object.

    Test Plan: sample code

    Reviewers: jpeg, cedric, jypark

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

Change-Id: I692ff9efe525ff5325a3001123da26ad08cafa45

7 years agoecore_device: propagate a ecore_device's subclass 55/130755/6
JengHyun Kang [Wed, 24 May 2017 01:06:49 +0000 (10:06 +0900)]
ecore_device: propagate a ecore_device's subclass

Change-Id: Ibbcaab69c50055cebfede968a213a29336333a24

7 years agoecore_drm: add a new api to transform touch 15/96015/16
JengHyun Kang [Tue, 30 May 2017 12:16:38 +0000 (21:16 +0900)]
ecore_drm: add a new api to transform touch

 - ecore_drm_device_touch_transformation_set()

 - add functions to calculate touch transform matrix

Change-Id: Ic9aaffe2e58125e64e5d3a98241b88ff7013a64d

7 years agoecore_drm: add a new api to rotate touch 59/93459/11
JengHyun Kang [Tue, 30 May 2017 03:49:33 +0000 (12:49 +0900)]
ecore_drm: add a new api to rotate touch

 - API: ecore_drm_device_touch_rotation_set()

Change-Id: I91a2c9214958dad90260f17b8e387ddee4201318

7 years ago[EvasTBM] Fix the bug when tbm surface is resized. 84/131084/3
Wonsik, Jung [Thu, 25 May 2017 09:49:56 +0000 (18:49 +0900)]
[EvasTBM] Fix the bug when tbm surface is resized.

When tbm surface is resized, tbm_surface_queue_reset should be called to reset tbm surface queue.

Change-Id: If6905f5a91a59bcd56ffc38bf2281ade8aa26296

7 years ago[EXTN_GL] skip iconify callback when extn typs is SHM 80/131980/1
sunghyun kim [Wed, 31 May 2017 11:16:23 +0000 (20:16 +0900)]
[EXTN_GL] skip iconify callback when extn typs is SHM

check extn type before check prop.window.
in 64bit emulator, it has some problem.

Change-Id: I157866466dbd10f6e48ffda4c0970b83b3b5bb6f

7 years agoecore_imf: Add commit content event callback 44/131944/2
Jihoon Kim [Wed, 31 May 2017 09:23:32 +0000 (18:23 +0900)]
ecore_imf: Add commit content event callback

COMMIT_CONTENT is called when the input method commits content such as an image.

Change-Id: Idf238dc9b27811999b1ee733eeba2318d57e54f1
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>