platform/upstream/efl.git
7 years agoedje: remove redundant fetch code in file.set method 48/154248/1
Jee-Yong Um [Tue, 15 Mar 2016 18:39:47 +0000 (11:39 -0700)]
edje: remove redundant fetch code in file.set method

Summary:
Edje data structure is passed as a parameter, but in file.set method
_edje_fetch() is called one more time unnecessarily.

Reviewers: cedric, jpeg

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

Change-Id: I87ea885f9f47881b7ea17c4f39839c8f72e5becb
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoedje: Fix issue of null pointer dereference 39/154239/1
Chris Michael [Mon, 11 Jul 2016 15:19:01 +0000 (11:19 -0400)]
edje: Fix issue of null pointer dereference

Coverity reports that 'text' here is a null pointer dereference so
check for valid 'text' variable before trying to use it.

Fixes Coverity CID1267490

@fix

Change-Id: I432c1f52b7f719e0e631e69abaacb4447f50de45
Signed-off-by: Chris Michael <cp.michael@samsung.com>
7 years agoedje: fix memory leak for ninepatch image searching 86/153286/1
Youngbok Shin [Thu, 28 Sep 2017 07:36:53 +0000 (16:36 +0900)]
edje: fix memory leak for ninepatch image searching

@tizen_fix

Change-Id: I880b938f8103f2fb5d852c4004e0d55be3820e18

7 years agoevas_canvas: modified since tizen tag for changed function 53/153253/1
Taehyub Kim [Thu, 28 Sep 2017 06:06:17 +0000 (15:06 +0900)]
evas_canvas: modified since tizen tag for changed function

Change-Id: I6b58893e1ad0b73b4f50854165eecd95c61d10a2

7 years agoedje: Add missing fields in ellipsize 59/153159/2
Youngbok Shin [Thu, 28 Sep 2017 04:35:45 +0000 (13:35 +0900)]
edje: Add missing fields in ellipsize

@tizen_fix

Change-Id: I98713c773fd8f1333eff6630ee6bc856b5d56a8e

7 years agoevas: Handle cursor per cluster for ARABIC script 83/151583/2
Youngbok Shin [Thu, 21 Sep 2017 08:06:21 +0000 (17:06 +0900)]
evas: Handle cursor per cluster for ARABIC script

@tizen_fix

Change-Id: Iac90173069e91f78798c247953733524b3d71f75

7 years agodisable cserve 31/152331/2
Jongmin Lee [Tue, 26 Sep 2017 00:38:03 +0000 (09:38 +0900)]
disable cserve

Change-Id: I35cf63b3ec6707e40894d64de966afef92ebf805

7 years agoeina_file: Ensure populate is safe to call 17/151517/2 accepted/tizen/unified/20170929.081243 submit/tizen/20170928.042726
jiin.moon [Wed, 20 Sep 2017 10:41:48 +0000 (19:41 +0900)]
eina_file: Ensure populate is safe to call
Fix map_populate on the global map

This patch includes two commits

1) [PATCH] eina file: Ensure populate is safe to call
   (commit 05c051405e89ef595f117f637dbbb0104262c218)
 This makes sure that the call to madvise is safe. On Linux it's not too
 much of an issue as checks are made inside madvise, and the worst that
 can happen is an error is returned (EINVAL). Not great.

 But if MAP_POPULATE is not present, as is the case on *BSD, then the
 internal function _eina_file_map_populate() is used for the populate
 rule. In that case actual data is read and we should make sure not to
 trigger a segfault or bus error.

 Also, this makes sure that in case of HugeTLB we actually populate all
 pages, rather than one page out of 8 (we were jumping by 16Mb instead of
 2Mb).

 Note: Can we get the size of a HugeTLB at runtime? We're assuming 2Mb
 which might very well not be the case!
 See: https://wiki.debian.org/Hugepages

 Tested by disabling MAP_POPULATE and observing crashes :)

 @fix

2) [PATCH] eina file: Fix map_populate on the global map
   (commit b2ea60691e45674a4e283e0535634bdd699544ea)
 If eina_file_map_all() is called, the map isn't added to the internal
 hash "rmap" and so _eina_file_map_rule_apply() would never be called.

 @fix

Change-Id: Ib074aff31e3498fb7fca7c5ca792d5bdf8e8bd17

7 years agoefl.spec : change macro for tv profile 38/139938/2
jiin.moon [Fri, 21 Jul 2017 06:03:10 +0000 (15:03 +0900)]
efl.spec : change macro for tv profile

Change-Id: If6366d10248b9f490760cbce6361bcfa1a096452

7 years ago[evas_gl] change rotate_image_data() like sw backend 32/152032/3
Joogab Yun [Mon, 25 Sep 2017 01:18:47 +0000 (10:18 +0900)]
[evas_gl] change rotate_image_data() like sw backend

Change-Id: I269663c6674a908a49df8584f553b9b766cb015d

7 years agorevise comments for TIZEN_ONLY codes 93/147893/2
Jongmin Lee [Wed, 6 Sep 2017 03:23:40 +0000 (12:23 +0900)]
revise comments for TIZEN_ONLY codes

Change-Id: I18651337f2a41c50c0cd7be999e4a5d09a5c9407

7 years agoevas_object: add ingroup tags for size hint properties 42/152242/1
Taehyub Kim [Mon, 25 Sep 2017 10:06:51 +0000 (19:06 +0900)]
evas_object: add ingroup tags for size hint properties

Change-Id: If36e20fcf20bf03088f78813c384064ada15aa13

7 years agoecore_evas_tbm: set tbm_surface_queue to prop window of ecore_evas 53/152153/2
Changyeon Lee [Wed, 20 Sep 2017 05:31:22 +0000 (14:31 +0900)]
ecore_evas_tbm: set tbm_surface_queue to prop window of ecore_evas

Change-Id: Ic8cd57a5f7764a4452bd7d2b47facb5c51c6f88a
(cherry picked from commit 08b5203e592db07e896df0f11edff93ecb85d03c)

7 years agoecore_evas: add ecore_evas_input_event_register_with_multi2 63/152163/2
Sung-Jin Park [Mon, 25 Sep 2017 07:22:49 +0000 (16:22 +0900)]
ecore_evas: add ecore_evas_input_event_register_with_multi2

ecore_evas_input_event_register_with_multi2() will do the same thing as
ecore_evas_input_event_register_with_multi() does except that the former
registers callback(s) that don't consider rotation angle of the given ee.

Change-Id: I0bca07efc329ef77d5964a8bf0ade8e58440edc2
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
7 years agoecore_evas_tbm_ext: fix not to call evas_event_feed_mouse_in 56/152156/2
Sung-Jin Park [Thu, 21 Sep 2017 01:41:17 +0000 (10:41 +0900)]
ecore_evas_tbm_ext: fix not to call evas_event_feed_mouse_in

Change-Id: Iebde62d1c20e6764c931bbad40cd94babb16dcee
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
(cherry picked from commit 84452066e85f43226c6fa9e5ef7babfb8025e07d)

7 years agoecore_evas: fixed crash when free ecore_evas_tbm_extn 55/152155/1
Changyeon Lee [Wed, 20 Sep 2017 10:42:59 +0000 (19:42 +0900)]
ecore_evas: fixed crash when free ecore_evas_tbm_extn

Change-Id: I02fe26ce17bcc250a30bd7e18547d4781460d099
(cherry picked from commit 9682b2a8ad6e3a5e4d2c11232d1ba305bd4e7167)

7 years agoevas_gl: remove a same condition 11/151511/1
Daekwang Ryu [Wed, 16 Aug 2017 03:12:52 +0000 (12:12 +0900)]
evas_gl: remove a same condition

GL_DRAW_FRAMEBUFFER_BINDING and GL_FRAMEBUFFER_BINDING are same.

Change-Id: I436e84b77d379eba899aed51d98cb39237167a78

7 years agoedje: Add interfaces to control each ellipsize features independently 61/149561/8 accepted/tizen/unified/20170921.072301 submit/tizen/20170920.082902
Youngbok Shin [Tue, 12 Sep 2017 12:19:55 +0000 (21:19 +0900)]
edje: Add interfaces to control each ellipsize features independently

It deprecates "text.ellipsize.mode" property. But, Edje still support that, too.
It adds the following new properties.

text {
   ellipsize {
      /* Following new properties replace text.ellipsize.mode property.
       * mode: FADE_MARQUEE; can be represent like the following example. */
      normal {
         /* Default is OFF. It supports ON and OFF.
          * Now, it can be combined with marquee ALWAYS and fade. */
         mode: OFF;
      }
      fade {
         /* Default is OFF. It supports ON and OFF. */
         mode: ON;
      }
      marquee {
         /* Default is OFF. It supports ON, OFF and ALWAYS.
          * With ALWAYS mode, marquee will work even if the given text is short.
          * And it also work with ellipsize.normal. */
         mode: ON;
      }
   }
}

@tizen_feature

Change-Id: I4cab23a01e4bc38789a3281baa52b71dfe2b8e78

7 years ago[EvasGL] modify the AFILL policy for tbm/wl_buffer of tizen 89/134489/4
Wonsik, Jung [Mon, 19 Jun 2017 02:10:04 +0000 (11:10 +0900)]
[EvasGL] modify the AFILL policy for tbm/wl_buffer of tizen

For the case of glDRM engine,
If texture does not have alpha flag in gl_drm backend,
AFILL is applied to texture

Change-Id: Iaab8b3926fb5df1b1a8dd6b63f93b94f87b07503

7 years agoUpdate since version tag of ecore_imf_context_input_panel_position_set() 71/149971/1 submit/tizen/20170915.074959
InHong Han [Thu, 14 Sep 2017 00:46:36 +0000 (09:46 +0900)]
Update since version tag of ecore_imf_context_input_panel_position_set()

Change-Id: I65311eced41a1c1b5763c599f85a8857befb58a6

7 years agoecore_thread: do not override the data field of a thread 80/149880/2
Marcel Hollerbach [Thu, 2 Mar 2017 17:32:40 +0000 (18:32 +0100)]
ecore_thread: do not override the data field of a thread

otherwise a currently executed ecore_thread is going to pass a complete
wrong data to its callbacks.

fix T5175
fix T5173

Upstream: 097f9cfe5fa601deaca1ed4c72c6311b4b893386

Change-Id: I427d6440c265e358cd0268f24e1c4f27bf23c4f0

7 years agoevas textblock: support ZWJ, ZWNJ, LRM, RLM in escaped form 81/149481/1
Youngbok Shin [Mon, 11 Sep 2017 05:53:04 +0000 (08:53 +0300)]
evas textblock: support ZWJ, ZWNJ, LRM, RLM in escaped form

Summary:
The patch supports the following escaped string from Evas Textblock.
These unicodes are frequently used.
ZWNJ U+200C - &zwnj;
ZWJ  U+200D - &zwj;
LRM  U+200E - &lrm;
RLM  U+200F - &rlm;
@feature

Test Plan: N/A

Reviewers: raster, cedric, herdsman, jpeg, woohyun

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

Change-Id: I782ec01a4b21906c64727a9792706c108c5199be

7 years agoevas: don't search other fonts only for INHERITED script unicodes 80/149480/1
Youngbok Shin [Mon, 11 Sep 2017 05:52:03 +0000 (08:52 +0300)]
evas: don't search other fonts only for INHERITED script unicodes

Summary:
INHERITED script unicodes are only meaningful when it comes
after the previous unicode from same font.
Even if there is no glyph for the INHERTED script unicode from current font,
don't search other font for loading the unicdoe as first unicode
of next item. It will be meaningless.
@fix

Test Plan:
Check the following Emoji sequence with an emoji font
which does not have variation selector glyphs.
{ 0x1F3F3, 0xFE0F, 0x200D, 0x1F308 }

Reviewers: raster, cedric, herdsman, jpeg, woohyun

Reviewed By: herdsman

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

Change-Id: Id67be086ac4d471be04721835be5bae328d0fefd

7 years agoedje: apply x/y offset to run marquee with short text 71/148071/9
Youngbok Shin [Wed, 6 Sep 2017 12:02:35 +0000 (21:02 +0900)]
edje: apply x/y offset to run marquee with short text

It only modify internal logic for marquee.
Currently, there is no way to run marquee with short text.
It needs additional patches to add new interface for that needs.

@tizen_fix

Change-Id: I50e91410b9b009ab70ba565d25e201a85583d37c

7 years agoecore_imf: Add TIZEN_ONLY in ecore_imf_context_del 39/149039/1
Jihoon Kim [Mon, 11 Sep 2017 10:19:11 +0000 (19:19 +0900)]
ecore_imf: Add TIZEN_ONLY in ecore_imf_context_del

Change-Id: I7ee206ad829a1441f9b39119de7b8ec391373af6
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoecore_imf: change @since version of keyboard mode enum 07/148907/1
Jihoon Kim [Mon, 11 Sep 2017 06:28:41 +0000 (15:28 +0900)]
ecore_imf: change @since version of keyboard mode enum

Change-Id: Id09fadaa68644a5fa05494110f778cfff81d5a01
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years ago[evas_gl_thread_gl] fixed svace issue 91/148791/1
Joogab Yun [Mon, 11 Sep 2017 01:30:03 +0000 (10:30 +0900)]
[evas_gl_thread_gl] fixed svace issue

WGID : 266441

Change-Id: I15eceb3d192c8ae5f9b46c73e998f6ed7175c464

7 years ago[evas_gl_x11] fixed build error 80/148780/1
Joogab Yun [Mon, 11 Sep 2017 00:51:07 +0000 (09:51 +0900)]
[evas_gl_x11] fixed build error

Change-Id: Id3ef0eff65851a0466e33355c6d0f21ab0fc685d

7 years agoevas/gl_x11: fix compile error 77/147977/2
Daekwang Ryu [Wed, 6 Sep 2017 06:57:27 +0000 (15:57 +0900)]
evas/gl_x11: fix compile error

fix gl_x11 engine for emulator.
caps variable is for FBO. So removed.

Change-Id: I99eea896dea3b381c8f3d347b0af0bbfc073f467

7 years agoevas_engine: Fix build error without GL_GLES 12/147912/2
Jaehyun Cho [Wed, 6 Sep 2017 04:50:09 +0000 (13:50 +0900)]
evas_engine: Fix build error without GL_GLES

Change-Id: I4e365b5745e1c75342649bab1c10e10358198da8

7 years agoevas_gl_thread_glx: Fix build error with GL COCOA 09/147909/2
Jaehyun Cho [Wed, 6 Sep 2017 04:47:58 +0000 (13:47 +0900)]
evas_gl_thread_glx: Fix build error with GL COCOA

Change-Id: Ia045e080cfa581670d7b8653ad93cc2c4eeeaeb0

7 years agoEcore_Input: Fix build error without function declaration on Win/Mac 90/147890/2
Jaehyun Cho [Wed, 6 Sep 2017 03:20:31 +0000 (12:20 +0900)]
Ecore_Input: Fix build error without function declaration on Win/Mac

Change-Id: Ic49ec28533361e6374ca4f87ce75f1d717b2dca3

7 years agoecore_input: Fix build error on Windows and MacOS 59/147859/2
Jaehyun Cho [Wed, 6 Sep 2017 02:36:14 +0000 (11:36 +0900)]
ecore_input: Fix build error on Windows and MacOS

Change-Id: I34a708b1b7c94e024e0abd1d58a58ea703b44d3c

7 years agoevas_language_utils: Fix build error without NLS 54/147854/2
Jaehyun Cho [Wed, 6 Sep 2017 02:19:28 +0000 (11:19 +0900)]
evas_language_utils: Fix build error without NLS

Change-Id: I96b24a081db5a8a56d74d20174ee625e8da0f97f

7 years agoUpdate EVAS_EVENT_FLAG_ON_HOLD description 01/147901/2
Myoungwoon Roy, Kim [Wed, 6 Sep 2017 01:55:54 +0000 (10:55 +0900)]
Update EVAS_EVENT_FLAG_ON_HOLD description
Summary: Update EVAS_EVENT_FLAG_ON_HOLD description to use touch event cancel.

Change-Id: Ib27cb0585c96820c198d8ca1bcd61be99bae2f96

7 years ago[evas_gl_x11] fixed build error 37/147937/1
Joogab Yun [Wed, 6 Sep 2017 06:01:16 +0000 (15:01 +0900)]
[evas_gl_x11] fixed build error

Change-Id: I4e6da22cf88cf93d6531df0353b34651e4ee0adf

7 years ago[evas_gl] fixed image corruption issue 46/147146/4 accepted/tizen/unified/20170907.060504 submit/tizen/20170906.050545
Joogab Yun [Fri, 1 Sep 2017 07:01:19 +0000 (16:01 +0900)]
[evas_gl] fixed image corruption issue

repeating evas_object_image_orient_set() and evas_object_imgae_data_get() breaks the
image.
so I modify the image rotated part like sw backend.

Change-Id: I0439037ef8480b7eae58018cb5517724a12b6877

7 years agoevas: proceed glyph iterator to handle next index properly 43/147443/1
Youngbok Shin [Mon, 4 Sep 2017 07:18:05 +0000 (10:18 +0300)]
evas: proceed glyph iterator to handle next index properly

Summary:
When harfbuzz is enabled, _content_create_ot() function will be used
for shaping. If evas_common_font_int_cache_glyph_get() failed in some reason,
it never proceed gl_itr until the end.
It can cause weird rendering result. Because, all of gl_itr after the failure
can't have proper x_bear, y_bear and width.
@fix

Test Plan: N/A

Reviewers: raster, cedric, herdsman, jpeg

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

Change-Id: Ib22ac45832e845f58c0bdcee41671503923efcd5

7 years ago[ecore_evas_extn] fixed svace issue 55/146455/4
Joogab Yun [Tue, 29 Aug 2017 01:59:17 +0000 (10:59 +0900)]
[ecore_evas_extn] fixed svace issue

WID:1120587 After having been compared to NULL value at
ecore_evas_extn.c:2729, pointer 'ee' is dereferenced at
ecore_evas_extn.c:2750.

Change-Id: Ib0a9863d38eef9af2b13cb45d8cfec81ffabf205

7 years agoecore_evas: do not rotate evas input axis in drm engine 14/146614/3
JengHyun Kang [Tue, 29 Aug 2017 12:19:55 +0000 (21:19 +0900)]
ecore_evas: do not rotate evas input axis in drm engine

Change-Id: I6f1a487ca863fef249482ed5d8815157347f07d5

7 years ago[evas_gl_thread] fixed svace issue 18/146518/2
Joogab Yun [Tue, 29 Aug 2017 07:43:27 +0000 (16:43 +0900)]
[evas_gl_thread] fixed svace issue

Change-Id: I4388b8c6ab636741e3b8b00f3ac13e9f516b6750
WGID: 25206 - suspicious pointer arithmetic

7 years ago[evas_gl] changed preload to async call at gl backend 72/146372/4
Joogab Yun [Fri, 25 Aug 2017 06:48:08 +0000 (15:48 +0900)]
[evas_gl] changed preload to async call at gl backend

changed evas_gl_common_texture_new to async call after the preload is
done

Change-Id: I86debb35947e3555db3c5da1433eb22d5c4a1109

7 years agoevas font: do floating point division for calculating more accurately 67/146867/1
Youngbok Shin [Wed, 30 Aug 2017 18:40:26 +0000 (11:40 -0700)]
evas font: do floating point division for calculating more accurately

Summary:
Assigning a result of integral division to a double type variable is
not useful for next division calculation. For more accurate calculation,
it needs to be casted to double before doing division.
It does not fix some bugs. It was reported by a code quality advisor.

Test Plan: N/A

Reviewers: raster, cedric, jpeg, herdsman, eunue

Reviewed By: cedric

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

Change-Id: I0d43ee1887822e65c9ca8d1e74002336f2a4a9d0
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoedje_calc: fix valign issue when slide_roll style. 19/146719/2 accepted/tizen/unified/20170901.030044 submit/tizen/20170831.022019
Bowon Ryu [Wed, 30 Aug 2017 07:31:46 +0000 (16:31 +0900)]
edje_calc: fix valign issue when slide_roll style.

Change-Id: I8c07aa7c6c2d7496c2d8f5c36b08b74092aae136
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
7 years agoecore_wl: add ecore_wl_window_video_has 32/146232/1 accepted/tizen/4.0/unified/20170901.203250 accepted/tizen/unified/20170829.140237 submit/tizen/20170828.222438 submit/tizen_4.0/20170830.022557 submit/tizen_4.0/20170901.042111
Boram Park [Fri, 25 Aug 2017 09:52:51 +0000 (18:52 +0900)]
ecore_wl: add ecore_wl_window_video_has

Change-Id: I84c84e001faa4a7a993cf98b160ed8635e47d944

7 years agoecore_wl: fix svace issue 65/146165/2
Juyeon Lee [Fri, 25 Aug 2017 07:13:15 +0000 (16:13 +0900)]
ecore_wl: fix svace issue

Change-Id: Ic4bbeae50dcc2d1a6138acb1925a037a2b4fedac

7 years ago[evas_gl] evas: returns the image.data with orient applied 72/145972/2
Joogab Yun [Thu, 24 Aug 2017 09:05:09 +0000 (18:05 +0900)]
[evas_gl] evas: returns the image.data with orient applied

after the evas_object_orient_set(), it should have a rotated buffer that was rotated
image when evas_object_data_get()

Change-Id: I06491f46e0aac9c92ffcc46c3042850ef6fb4f17

7 years agoRevert " [evas_gl] evas : save the orient value when doing image_data_get()" 71/145971/1
Joogab Yun [Thu, 24 Aug 2017 09:29:27 +0000 (18:29 +0900)]
Revert "    [evas_gl] evas : save the orient value when doing image_data_get()"

Change-Id: I39bb6cdf082a48de33825be9f9ceb247ad166443

7 years agoRevert "ecore_wayland: free drag source when drag leave event comes." 86/145886/2 accepted/tizen/unified/20170825.043921 submit/tizen/20170824.100259
Taehyub Kim [Thu, 24 Aug 2017 06:45:23 +0000 (06:45 +0000)]
Revert "ecore_wayland: free drag source when drag leave event comes."

This reverts commit 9e68ea3b48614707d663d8df00059d7303393dc7.

Change-Id: I717b6f692fb368d66bcf643e5fc8df7f9e0f0457

7 years ago[evasgl] reduce shader list for performance 09/145409/3
sunghyun kim [Tue, 22 Aug 2017 08:01:49 +0000 (17:01 +0900)]
[evasgl] reduce shader list for performance

In most cases, application use a few shaders.
for booting performance, evas need to reduce shader in precompile time.
even if application need new shader, they will be compiled and saved in runtime.
because they will be saved shared file, other appication need not compile shader if it is already compiled by other app.

Change-Id: I3f9ba892f4a0809b5e2f8426eec6a39ea7b88350

7 years agono calling render function when output transformed 42/145642/1
Boram Park [Wed, 23 Aug 2017 06:59:19 +0000 (15:59 +0900)]
no calling render function when output transformed

If manual_render is set, client shouldn't render objects without app's
request.

Change-Id: I166ae9051a004883075fe0aabfaa930d6a2b3a0d

7 years agoRevert "no rendering if manual_render is set" 96/145596/1
Boram Park [Wed, 23 Aug 2017 04:52:53 +0000 (13:52 +0900)]
Revert "no rendering if manual_render is set"

This reverts commit b75aa45c9d31d9ed1cdb986c858e0bcae2eeacb1.

Change-Id: I1ce854950f09f3e20c6c54d3531f696ad8a73fe1

7 years ago [evas_gl] evas : save the orient value when doing image_data_get() 79/145379/2
Joogab Yun [Tue, 22 Aug 2017 07:08:22 +0000 (16:08 +0900)]
[evas_gl] evas : save the orient value when doing image_data_get()

    1. evas_object_orient_set(image1, 90)
    2. buffer = evas_object_image_data_get(image1);
    3. evas_object_image_data_set(image2, buffer);

    we need an orient value of image1 for image2,
    so we keep orient value of image1 at image_data_get()

Change-Id: I9daab94ba9de55690bf70bf8172b0593af21a3de

7 years agoRevert "[evas_gl] evas: Fix support for image_data_get on snapshot" 77/145377/2
Joogab Yun [Tue, 22 Aug 2017 02:47:52 +0000 (11:47 +0900)]
Revert "[evas_gl] evas: Fix support for image_data_get on snapshot"

Change-Id: Ie017277377729a4cfacf5637bf71d3a3787c532d

7 years agoecore_imf: add new device subclasses 06/145406/1
Jihoon Kim [Tue, 22 Aug 2017 08:06:12 +0000 (17:06 +0900)]
ecore_imf: add new device subclasses

Change-Id: I72d6bf10d38dd644fbb170cc16979be3037ee991
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoecore_wl: handle EINVAL to leave log and client be aborted 53/144853/5
Juyeon Lee [Fri, 18 Aug 2017 05:42:02 +0000 (14:42 +0900)]
ecore_wl: handle EINVAL to leave log and client be aborted

Change-Id: I20ef84d87897978bdaeac9e92201d93c49179ea6

7 years agoevas: Fix to use fontconfig when there is a global_font_path 80/144980/1
Youngbok Shin [Sun, 20 Aug 2017 05:08:40 +0000 (14:08 +0900)]
evas: Fix to use fontconfig when there is a global_font_path

@tizen_fix

Change-Id: I6ef2bcca72efbece8b3491a1c46526c6e3242350

7 years agoedje: move Text, Textblock object based on its original position in smart move 02/144902/3
Youngbok Shin [Fri, 18 Aug 2017 08:49:58 +0000 (17:49 +0900)]
edje: move Text, Textblock object based on its original position in smart move

@tizen_fix

Change-Id: I07871d49e9384bc3067e6036c0762352e02044b5

7 years agoevas_gl: fix evas_gl_current_context_get() 19/144819/2
Daekwang Ryu [Wed, 29 Mar 2017 08:06:12 +0000 (17:06 +0900)]
evas_gl: fix evas_gl_current_context_get()

evas_gl_current_context_get() function should return
the context of evas_gl_common_current_context_get()
becuase CONTEXT_RESTORE feature was added.
CONTEXT_RESTORE makes app call evas_gl_make_current() only once
without evas_gl context switching.

Change-Id: Ic4cc77f419d1e40ecd0a3eb0d6e7022488d64cdc

7 years ago[evas sw tbm] add null check for ns 50/144650/1
Joogab Yun [Thu, 17 Aug 2017 09:45:56 +0000 (18:45 +0900)]
[evas sw tbm] add null check for ns

Change-Id: Iee29b6d97fbedb20c9235e9a6fe09bb91b7297ee

7 years ago[NativeTBMSurface] Seperated by colorspace. 20/144620/2
Wonsik, Jung [Wed, 8 Mar 2017 05:18:36 +0000 (14:18 +0900)]
[NativeTBMSurface] Seperated by colorspace.

To create RGBA_Image for NativeTBMSurface, the related code is seperated by tbm format.
So, Getting format internal function is added and seperated the code.

Change-Id: I8f3d5c07fa1b0e5b6dc722ab0e083267cacc2bd4

7 years ago[NativeTBMSurface] Add _evas_native_tbm_init/shutdown 19/144619/2
Wonsik, Jung [Wed, 8 Mar 2017 01:27:55 +0000 (10:27 +0900)]
[NativeTBMSurface] Add _evas_native_tbm_init/shutdown

Add _evas_native_tbm_inti/shutdown to evas_native_tbm.c
In addition, one more patch is added to fix stride mismatch
and allocate image data for converting from yuv to rgb.
This patchset are  oriented by JP's and Minkyung patch
---------------------------------------------------------------------------------
Author: Jean-Philippe Andre <jp.andre@samsung.com>  2016-03-09 16:18:34
Committer: Jean-Philippe Andre <jp.andre@samsung.com>  2016-03-15 11:11:59
    Evas engines: Add internal functions for native images
----------------------------------------------------------------------------------
Author: Minkyoung Kim <mer.kim@samsung.com>  2016-03-31 15:55:15
Committer: Jean-Philippe Andre <jp.andre@samsung.com>  2016-04-01 12:09:06
    evas : remove native.func.data variable and data argument of native calblacks.
-----------------------------------------------------------------------------------

Change-Id: Ic75402b307cb5548ba3ebe5e387c281b23d83307

7 years agoevas: fix emoji merge issues caused by wrong handling of INHERITED script 67/144567/1
Youngbok Shin [Thu, 17 Aug 2017 07:08:11 +0000 (16:08 +0900)]
evas: fix emoji merge issues caused by wrong handling of INHERITED script

INHERITED script has to be handled to follow current script, not initial script.

@tizen_fix

Change-Id: Ia5da1ec2221c218418e388959df63661fbe393af

7 years ago[evas_gl_common] fixed SVACE issues 18/144218/1 accepted/tizen/4.0/unified/20170828.222402 accepted/tizen/unified/20170821.051109 submit/tizen/20170816.060215 submit/tizen_4.0/20170828.100005
Joogab Yun [Wed, 16 Aug 2017 02:33:30 +0000 (11:33 +0900)]
[evas_gl_common] fixed SVACE issues

WGID : 260203, 265054, 265312

Change-Id: Ic448a4eecc9084db029b98b2269f8599f4671d0e

7 years agoecore_evas_wl: do set_buffer_transform in gl side 02/144202/1
Boram Park [Wed, 16 Aug 2017 00:56:38 +0000 (09:56 +0900)]
ecore_evas_wl: do set_buffer_transform in gl side

This reverts commit dd95f864b622ca58bb8cd1e7bdcb6bd11acae886.

Change-Id: If729fac095696f37df222d3e3dfeda164a8ebef6

7 years agono rendering if manual_render is set 10/144010/2
Boram Park [Mon, 14 Aug 2017 08:26:21 +0000 (17:26 +0900)]
no rendering if manual_render is set

Change-Id: Id468d6d7b6fd6019f5dc02bd5f96671241be2b52

7 years ago[evasgl] change swap mode when rect size not match tile size 18/143718/2
sunghyun kim [Fri, 11 Aug 2017 05:16:32 +0000 (14:16 +0900)]
[evasgl] change swap mode when rect size not match tile size

Change-Id: I609a0bab36f0781de0048844516405a53a7990c8

7 years agoApply ASLR to executable files. 27/143827/2
Bowon Ryu [Fri, 11 Aug 2017 11:32:41 +0000 (20:32 +0900)]
Apply ASLR to executable files.

Change-Id: I774ea8fd31924ff349190a26f5984beeeae48fc7
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
7 years agoEdje_Edit: first part of vector API implementation 46/137446/3
Vitalii Vorobiov [Wed, 11 Jan 2017 13:10:35 +0000 (15:10 +0200)]
Edje_Edit: first part of vector API implementation

edje_edit_vector_del
edje_edit_vector_usage_list_get
edje_edit_vector_id_get
edje_edit_vectors_list_get

edje_edit_state_vector_get
edje_edit_state_vector_set

Change-Id: Ie649dd3e02bf2379ad5c01037aca2c3ba79a7b59
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
7 years agoEdje_Edit: some API for RUN_PLUGIN programs 45/137445/3
Vitalii Vorobiov [Thu, 23 Mar 2017 11:07:25 +0000 (13:07 +0200)]
Edje_Edit: some API for RUN_PLUGIN programs

Such as:
> Get list of plugins in loaded edje
> Set plugin name for RUN_PLUGIN action of certain program
> Get plugin name of RUN_PLUGIN action of certain program

Change-Id: Ic07add96908e3ef5d1003bc2f1bc317d020c7730
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
7 years ago[evas_gl] evas: Fix support for image_data_get on snapshot 95/143195/5
Joogab Yun [Wed, 9 Aug 2017 04:15:38 +0000 (13:15 +0900)]
[evas_gl] evas: Fix support for image_data_get on snapshot

after the evas_object_orient_set(), get the buffer that was rotated image when evas_object_data_get()

Change-Id: I5082c5e2d724ede78ae0303bebcd4c0cf57c7408

7 years agocommon3d: correct converting number to float 22/143722/1
Thiep Ha [Fri, 11 Aug 2017 05:17:58 +0000 (14:17 +0900)]
common3d: correct converting number to float

Change-Id: Ia2e0a78bb579dc2002b5af3b6c8bc07069dbc697

7 years agoevas/canvas: fix an incorrect sizing of smart object bounding box. 08/143708/1
Hermet Park [Tue, 2 Feb 2016 12:14:43 +0000 (21:14 +0900)]
evas/canvas: fix an incorrect sizing of smart object bounding box.

height of the children b-box should be arranged by parent y-pos.

Signed-Off-By: KeuckDo Bang <keuckdo.bang@samsung.com>
Signed-Off-By: MinKyu Kim <imetjade.kim@samsung.com>
@fix

Change-Id: I5d26b66e1d1762a7b9606c13e5dba19f3a6211c8

7 years ago[evas_gl_core] changed log level from ERR to DBG 31/143231/2
Joogab Yun [Wed, 9 Aug 2017 06:30:46 +0000 (15:30 +0900)]
[evas_gl_core] changed log level from ERR to DBG

Change-Id: I270269e83a140bd298713d3f28c1bf69df93f48d

7 years agoevas bmp loader - fix warnings about same type handled twice 10/143310/2
Carsten Haitzler (Rasterman) [Fri, 28 Jul 2017 11:39:44 +0000 (20:39 +0900)]
evas bmp loader - fix warnings about same type handled twice

so a type we handle earlir inan if we re-handle as invalid later. this
wouldnt lead to a crash or bugs as the if's would ned to be evaluated
in order normally, but it's good to get it right.

found by PVS studio

Change-Id: I03b0315fbb938d34b4221f44376dd77ca294cf36

7 years agoecore_wl: add socket errno to be shutdown 20/143620/1
Juyeon Lee [Thu, 10 Aug 2017 13:16:43 +0000 (22:16 +0900)]
ecore_wl: add socket errno to be shutdown

Change-Id: I797074f01dd11296c7281a5870dec9cb4d56953a

7 years agoecore_audio_pulse_ml: Check memory allocation fail 25/143125/2
Jaehyun Cho [Tue, 8 Aug 2017 13:05:43 +0000 (22:05 +0900)]
ecore_audio_pulse_ml: Check memory allocation fail

Change-Id: I2aad5a79f6774f5daaed476e929c6385211253a3

7 years agoevas_smart: Fix evas_smart_callback_description_find 43/138743/2
Jean-Philippe Andre [Wed, 12 Jul 2017 08:19:28 +0000 (17:19 +0900)]
evas_smart: Fix evas_smart_callback_description_find

bsearch was returnign a cb** not a cb*

Fixes T4540

Change-Id: Ib10628bfd79d9e990d3d591a829869b9d5fa9d3c

7 years agoecore_wl: shutdown a process if disconnected from server 42/143342/2 accepted/tizen/unified/20170810.172531 submit/tizen/20170810.044648
Juyeon Lee [Wed, 9 Aug 2017 09:59:51 +0000 (18:59 +0900)]
ecore_wl: shutdown a process if disconnected from server

Change-Id: Ia804f72f3138b89d122397273ec4f841e2801112

7 years agoecore glib support - if we are not the main ctx owner loop to acquire 65/143265/2
Carsten Haitzler (Rasterman) [Wed, 9 Aug 2017 07:18:10 +0000 (16:18 +0900)]
ecore glib support - if we are not the main ctx owner loop to acquire

the code didn't try acquire every loop if we were not, so it wouldnt
wake up if someone stole context (and then gave it up). found by roy!

@fix

Change-Id: Iff3eb1161d0c689e3fc3efa91bf89751629ce4e0

7 years ago emotion webcam: fix check for v4l2 video capture device capability 25/143225/1
Jiyoun Park [Wed, 9 Aug 2017 06:24:18 +0000 (15:24 +0900)]
emotion webcam: fix check for v4l2 video capture device capability

    The negation should be uses after checking the capability bit with the &.
    Better use parenthesis  to make this work.

    Thankls to the sparse sematic parser for spotting this.

Change-Id: I223d0c44b4b2abe0e5ac631a3d9d1eb1b3cd08b7

7 years agoecore_fb_li: fix calloc fail error 72/143172/1
Jiyoun Park [Wed, 9 Aug 2017 01:49:13 +0000 (10:49 +0900)]
ecore_fb_li: fix calloc fail error

Change-Id: I974a10509975b32ec6b615717763709a6efa121b

7 years agoFix efl doxygen warnings 10/142910/3
Myoungwoon Roy, Kim [Tue, 8 Aug 2017 00:29:33 +0000 (09:29 +0900)]
Fix efl doxygen warnings

Summary:
This patch fixs efl doxygen warnings and updates the doxyfile.

Change-Id: I7c8cb3edb5889d2b85892a5cee54f10889033476

7 years agoedje_edit: fix wrong condition in edje_generate_source_state_map function 55/142855/2
Taehyub Kim [Mon, 7 Aug 2017 10:14:13 +0000 (19:14 +0900)]
edje_edit: fix wrong condition in edje_generate_source_state_map function

Change-Id: I9b2524589d1b040e8cfb2e7e4c34a3769dfa0349

7 years agoedje_cc: add null-checking code to the ninepatch_image_info_get 48/142648/2
Minchul Lee [Wed, 2 Aug 2017 08:07:52 +0000 (17:07 +0900)]
edje_cc: add null-checking code to the ninepatch_image_info_get

Change-Id: I26a0c076c025f6b44f06013bd29d50db0683db3d
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
7 years agoevas: Add safety code for smart object 27/142227/3
jiin.moon [Thu, 3 Aug 2017 05:55:49 +0000 (14:55 +0900)]
evas: Add safety code for smart object

If user use the smart object function with no smart object,
it should be retuned.

@tizen_only

Change-Id: I616fdc6a7fe4b6ae6d76a0d1aa1bec8b1929c5e8

7 years agoedje: fixed top-aligned issue when marquee is started 02/142602/2
Youngbok Shin [Fri, 4 Aug 2017 11:42:59 +0000 (20:42 +0900)]
edje: fixed top-aligned issue when marquee is started

@tizen_fix

Change-Id: Id2980186055f26ea173f4c326fe75472aca781a6

7 years agoedje: add text marquee speed set/get APIs for internal usages 42/142442/2
Youngbok Shin [Fri, 4 Aug 2017 03:00:18 +0000 (12:00 +0900)]
edje: add text marquee speed set/get APIs for internal usages

@tizen_feature

Change-Id: I358e20901097b190dc6f1fab92d5d39e7b4195f0

7 years ago[evas_tbmbuf] fixed svace issue 61/142161/2
Joogab Yun [Thu, 3 Aug 2017 01:30:41 +0000 (10:30 +0900)]
[evas_tbmbuf] fixed svace issue

Change-Id: I2f14be953cb0321ac777e85c720cd7a1011ab69c

7 years ago[evas_tbmbuf] changed to use only one tzsurf_flusher per wl_surf 78/142078/3
Joogab Yun [Wed, 2 Aug 2017 10:59:34 +0000 (19:59 +0900)]
[evas_tbmbuf] changed to use only one tzsurf_flusher per wl_surf

Change-Id: If69c1ed02d04778217bd34a99fe7cbee4249c84e

7 years ago[evasgl] fix warning in ecore_evas_tbm.c 60/142160/2
sunghyun kim [Thu, 3 Aug 2017 02:09:11 +0000 (11:09 +0900)]
[evasgl] fix warning in ecore_evas_tbm.c

ecore_evas_tbm_ext_new no need to use const type

Change-Id: I57fb4cdbc829e03744f085a713bef963d2899226

7 years ago[evasgl] Use gl call immediately related frambuffer without checking 94/140594/3
sunghyun kim [Tue, 25 Jul 2017 12:30:04 +0000 (21:30 +0900)]
[evasgl] Use gl call immediately related frambuffer without checking

A non-NULL return value for eglGetProcAddress() does not guarante
that a function is actually supported at runtime.
so if eglGetProcAddress() return NULL, it can be problem.
this issue is especially occuring in framebuffer call.

as a matter of fact, framebuffer is core api from gles 2.0,
so it can be used immediately without checking

Change-Id: Iaec4d0f24e1c9c0d947c593688d2c09691fbf2c2

7 years agogl_drm: stop trying to figure out buffer age if gl extension isn't present 94/141894/2
Derek Foreman [Fri, 22 Jan 2016 20:48:34 +0000 (14:48 -0600)]
gl_drm: stop trying to figure out buffer age if gl extension isn't present

If we don't have the right extension for age we probably don't have
partial updates either.  The code to get the age calculations right is
actually much nastier than this anyway since gbm can hand back buffers
in arbitrary order, and as many as it feels like.

Change-Id: I22ecdfcf18e5bff5b955fc51936431b7bb4d882c

7 years agoedje: remove build warnings caused by unused parameter or variable 53/142053/3 accepted/tizen/4.0/unified/20170816.011633 accepted/tizen/4.0/unified/20170816.014835 accepted/tizen/unified/20170804.025602 submit/tizen/20170803.051344 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Youngbok Shin [Wed, 2 Aug 2017 10:07:33 +0000 (19:07 +0900)]
edje: remove build warnings caused by unused parameter or variable

It is patch for text.ellipsize.

@tizen_fix

Change-Id: I79d2604599da4a71689f291cbf8dede8435c27e6

7 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

7 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

7 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

7 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

7 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

7 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