platform/upstream/efl.git
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>
7 years agoedje: add part_text_valign property for internal usage 18/115318/6
Youngbok Shin [Fri, 17 Feb 2017 09:08:32 +0000 (18:08 +0900)]
edje: add part_text_valign property for internal usage

There is a need of changing vertical align using API from EFL C# dev team.

@tizen_feature

Change-Id: Ib9376ce4088624654cc96f169a3058f5d4d532be

7 years agoecore_drm: close given fd when there is no matching ecore_drm_evdev device 48/131648/2
Sung-Jin Park [Tue, 30 May 2017 08:45:57 +0000 (17:45 +0900)]
ecore_drm: close given fd when there is no matching ecore_drm_evdev device

Change-Id: I153891f2ae6d9cbee34144b21e405627c1dc22fc
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
7 years agoeina: Fix broken link in doc to introduce integer hash algorithms 54/131554/1
Jeeyong Um [Tue, 30 May 2017 04:37:18 +0000 (13:37 +0900)]
eina: Fix broken link in doc to introduce integer hash algorithms

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

7 years ago[EvasGL] update wl_egl_window in wayland egl backend. 83/131083/2
Wonsik, Jung [Thu, 25 May 2017 09:46:30 +0000 (18:46 +0900)]
[EvasGL] update wl_egl_window in wayland egl backend.

wl_egl_window is created in evas_wayland egl backend.
So, wl_egl_window value of _Evas_Engine_Info_Wayland_Egl is needed to update with this value.

Change-Id: I5076cd95ed90c951729d09ed03d5dd6efa93bf9e

7 years agoecore_anim : Add safety code to ecore_anim 16/131216/2 accepted/tizen/unified/20170531.082540 submit/tizen/20170526.054713
jiin.moon [Fri, 26 May 2017 02:19:31 +0000 (11:19 +0900)]
ecore_anim : Add safety code to ecore_anim

Change-Id: I76ce644bc2166597eb49a19a8403115d51527dd5

7 years ago[evas_render] Downstream "evas render - drop eo overhead by using ptrs 14/129614/2
Joogab Yun [Wed, 17 May 2017 07:24:37 +0000 (16:24 +0900)]
[evas_render] Downstream "evas render - drop eo overhead by using ptrs
we already have" [commit id : 51638afbebc225b5a550eb87a0e74c53d866ed2e]

    evas render - drop eo overhead by using ptrs we already have

    several calls, specifically evas_object_change_reset,
    evas_object_cur_prev, and evas_object_clip_changes_clean that are
    called directly or indirectly as part of evas render on at least
every
    active object if not more, were doing full eo obj lookups when their
    calling functions already all had the eo protected data looked up.
    tha's silly and just adds overhead we don't need. my test dropped
    _eo_obj_pointer_get overhead in perf profiles from 4.48% to 2.65%.
see:

       4.48%  libeo.so.1.18.99            [.] _eo_obj_pointer_get
       4.23%  libevas.so.1.18.99          [.]
evas_render_updates_internal
       2.61%  libevas.so.1.18.99          [.]
evas_render_updates_internal_loop
       1.68%  libeo.so.1.18.99            [.] efl_data_scope_get
       1.57%  libc-2.24.so                [.] _int_malloc
       1.42%  libevas.so.1.18.99          [.]
evas_object_smart_changed_get
       1.09%  libevas.so.1.18.99          [.]
evas_object_clip_recalc.part.37
       1.08%  libpthread-2.24.so          [.] pthread_getspecific
       1.05%  libevas.so.1.18.99          [.]
efl_canvas_object_class_get
       1.01%  libevas.so.1.18.99          [.] evas_object_cur_prev
       0.99%  libeo.so.1.18.99            [.]
_efl_object_event_callback_legacy_call
       0.87%  libevas.so.1.18.99          [.]
_evas_render_phase1_object_ctx_render_cache_append
       0.82%  libpthread-2.24.so          [.] pthread_mutex_lock
       0.81%  libevas.so.1.18.99          [.]
_evas_render_phase1_object_process
       0.79%  libc-2.24.so                [.] _int_free

    vs now the improved:

       4.82%  libevas.so.1.18.99          [.]
evas_render_updates_internal
       3.44%  libevas.so.1.18.99          [.]
evas_render_updates_internal_loop
       2.65%  libeo.so.1.18.99            [.] _eo_obj_pointer_get
       2.22%  libc-2.24.so                [.] _int_malloc
       1.46%  libevas.so.1.18.99          [.]
evas_object_smart_changed_get
       1.04%  libeo.so.1.18.99            [.]
_efl_object_event_callback_legacy_call
       1.03%  libevas.so.1.18.99          [.]
_evas_render_phase1_object_ctx_render_cache_append
       0.97%  libeina.so.1.18.99          [.]
eina_chained_mempool_malloc
       0.93%  libevas.so.1.18.99          [.]
evas_object_clip_recalc.part.37
       0.92%  libpthread-2.24.so          [.] pthread_mutex_lock
       0.91%  libevas.so.1.18.99          [.]
_evas_render_phase1_object_process
       0.84%  libc-2.24.so                [.] _int_free
       0.84%  libevas.so.1.18.99          [.] evas_object_cur_prev
       0.83%  libeina.so.1.18.99          [.] eina_chained_mempool_free
       0.80%  libeo.so.1.18.99            [.] efl_data_scope_get

    of course other things "increase their percentage" as oe overhead
now
    dropped, and things seem to move around a bit, but it does make
sense
    to do this with no downsides i can see as we already are accessing
the
    protected data ptr in the parent func.

Change-Id: Iee7740df896537df047fac9fb0d33b450be9759f

7 years ago[evas_native_tbm] memory is mapped but not unmapped properly leads to 63/130763/2
Joogab Yun [Tue, 23 May 2017 23:55:47 +0000 (08:55 +0900)]
[evas_native_tbm] memory is mapped but not unmapped properly leads to
quick low memory
(_evas_common_rgba_image_surface_mmap/_evas_common_rgba_image_surface_munmap)

because setting NULL to image.date at _native_free_cb() before proper unmamp

Change-Id: Ia5cdaa8bc49698b87f3e77ee879dfde979240d59

7 years ago[evas_tbmbuf] changed to not use wl_event_queue 99/130899/2
Joogab Yun [Wed, 24 May 2017 09:23:54 +0000 (18:23 +0900)]
[evas_tbmbuf] changed to not use wl_event_queue

Change-Id: I1923dfecffac7a9050d6751e8528e9310396eff3

7 years agoevas_events: fix build error 18/130818/1
Hosang Kim [Wed, 24 May 2017 05:55:52 +0000 (14:55 +0900)]
evas_events: fix build error

Change-Id: Ib40958220b0c2ee27e11a08214456fde6c57926b

7 years agoevas_events: add missing device information 45/130145/2
Hosang Kim [Fri, 19 May 2017 08:20:11 +0000 (17:20 +0900)]
evas_events: add missing device information

Change-Id: I5de5f4ed5ca53d78f6d3903374c371a7b2fcfdad

7 years agoecore_wayland: free drag source when drag leave event comes. 85/130585/3
Taehyub Kim [Tue, 23 May 2017 04:29:35 +0000 (13:29 +0900)]
ecore_wayland: free drag source when drag leave event comes.

This is relate to triggering ECORE_WL_EVENT_DATA_SOURCE_CANCELLED.

Change-Id: I8af837114a8a9973a3563d1d16aaae91131939d1

7 years agoecore_wayland: set a role property while creating cursor surface (2) 13/130413/1
Doyoun Kang [Mon, 22 May 2017 08:15:11 +0000 (17:15 +0900)]
ecore_wayland: set a role property while creating cursor surface (2)

Change-Id: I981167e20413dfae5ee17fbd337ad1cc730e9620

7 years agoecore_wayland: set a role property while creating cursor surface 05/130405/1
Doyoun Kang [Mon, 22 May 2017 08:04:17 +0000 (17:04 +0900)]
ecore_wayland: set a role property while creating cursor surface

Change-Id: I73ccd65dca9c30de82c085ef5538ed2ba8d686f2

7 years ago[evas_gl_thread] code cleanup : removed unuse code 93/130293/2
Joogab Yun [Sun, 21 May 2017 23:58:32 +0000 (08:58 +0900)]
[evas_gl_thread] code cleanup : removed unuse code

Change-Id: I61dbde80d76a3d4d7588e1d090e7a5848ad810d9

7 years agoRevert "Revert "ecore_evas: Changes the animator source to custom"" 16/129316/2
jiin.moon [Tue, 16 May 2017 04:34:27 +0000 (13:34 +0900)]
Revert "Revert "ecore_evas: Changes the animator source to custom""

This reverts commit 67d0bb47886274544af301bb4221cf8fdc2167ef.

Change-Id: If8a949a4a7a3c1ec550dae05aa163a14bf8a6b2b

7 years agoRevert "Revert "Revert "[evas_gl_thread] default enable EVAS_GL_RENDER_THREAD and""" 37/130237/1 accepted/tizen/unified/20170519.200908 submit/tizen/20170519.132143 tizen_4.0.m1_release
SangHyeon Lee [Fri, 19 May 2017 13:05:34 +0000 (22:05 +0900)]
Revert "Revert "Revert "[evas_gl_thread] default enable EVAS_GL_RENDER_THREAD and"""

This reverts commit 065a378fb86215c94731247e07ac592677d0e5ad.

Change-Id: Ide5ecd38249dad821a6d68170500352a75cb5296
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
7 years agoecore_wl_dnd: fix double free exception. 24/130224/1
Hosang Kim [Fri, 19 May 2017 12:42:25 +0000 (21:42 +0900)]
ecore_wl_dnd: fix double free exception.

Change-Id: Ia909be41f7b3752949be4dd16862f5fcef105d1f

7 years agoecore_drm_evdev: add missing break 21/130221/2
Hosang Kim [Fri, 19 May 2017 12:32:00 +0000 (21:32 +0900)]
ecore_drm_evdev: add missing break

Change-Id: I9b6ff3f7d21f28a9ab5ebb248eae9690a8cf6c44

7 years agoevas_gl: fix glGetObjectPtrLabel prototype. 66/128266/2
Daekwang Ryu [Mon, 8 May 2017 08:26:56 +0000 (17:26 +0900)]
evas_gl: fix glGetObjectPtrLabel prototype.

Change-Id: I7e3e9b33476f6c9a472f6fe0ba72a546d3144eaf

7 years agoRevert "Revert "ecore_drm: support a palm event using a libinput aux_data event"" 73/129573/1
Sung-Jin Park [Wed, 17 May 2017 04:39:52 +0000 (13:39 +0900)]
Revert "Revert "ecore_drm: support a palm event using a libinput aux_data event""

This reverts commit de9276613f0ce0dc54f90ded7c0f87db3b782952.

Change-Id: Id86b7787f6791bc6ec19da0e904bd95aa5764b7e

7 years agoRevert "ecore_drm: support a palm event using a libinput aux_data event" 81/129381/1
Sung-Jin Park [Tue, 16 May 2017 07:56:18 +0000 (16:56 +0900)]
Revert "ecore_drm: support a palm event using a libinput aux_data event"

This reverts commit 2abc2973523ef8dd4922849bd451f454912d31ea.

Change-Id: I6115c97815ea5e2689caa527aa6820b91d6184d9

7 years agoecore_drm: support a palm event using a libinput aux_data event 40/129140/2
JengHyun Kang [Mon, 15 May 2017 06:56:51 +0000 (15:56 +0900)]
ecore_drm: support a palm event using a libinput aux_data event

Change-Id: Ifa8464f25521b3f5adc8ba1755ed72cc44fe92f7

7 years agoecore_input: add ECORE_AXIS_LABEL_TOUCH_PALM enum 58/129158/2
Sung-Jin Park [Mon, 15 May 2017 08:02:49 +0000 (17:02 +0900)]
ecore_input: add ECORE_AXIS_LABEL_TOUCH_PALM enum

Change-Id: I03af80dea3a7d7e9610ccde6848609f822a32f7f
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
7 years ago[evas_gl_thread] change mode of glTexImage2D to 'finish mode' in case of GLES1.1 64/128664/2
Joogab Yun [Thu, 11 May 2017 03:57:54 +0000 (12:57 +0900)]
[evas_gl_thread] change mode of glTexImage2D to 'finish mode' in case of GLES1.1

Change-Id: Iafa9a886b3d5abbf9b41bea1c57ec50f0645de94

7 years ago[evas_engine] add stride_get in case of tbm surface 12/128412/2
Joogab Yun [Wed, 10 May 2017 02:08:21 +0000 (11:08 +0900)]
[evas_engine] add stride_get in case of tbm surface

Change-Id: I6963a338c5f7a51a4a2929bcf780687dfd6f39a1

7 years agoRevert "[evas_gl_thread] change mode of glTexImage2D to finish for GLES1.1" 63/128663/2
Joogab Yun [Thu, 11 May 2017 01:43:22 +0000 (10:43 +0900)]
Revert "[evas_gl_thread] change mode of glTexImage2D to finish for GLES1.1"

This reverts commit 76cb3476759840ce6ee91c6028e0539fb46ab0d4.

Change-Id: Iec7521cc4d65b9ae65968893bfc9034b3999ca53

7 years agoRevert "Revert "[evas_gl_thread] default enable EVAS_GL_RENDER_THREAD and"" 40/129040/1
Taehyub Kim [Fri, 12 May 2017 12:23:57 +0000 (21:23 +0900)]
Revert "Revert "[evas_gl_thread] default enable EVAS_GL_RENDER_THREAD and""

This reverts commit 7be48db65396c636ad2ec897afe99c2cea4148fd.

Change-Id: I0bd97feabbb967842b2087461433c1a21de6bd4f

7 years agoRevert "Revert "Revert "Revert "ecore_wayland: free mime types after finish set_selec... 39/129039/1
Taehyub Kim [Fri, 12 May 2017 12:23:12 +0000 (21:23 +0900)]
Revert "Revert "Revert "Revert "ecore_wayland: free mime types after finish set_selection""""

This reverts commit ae6b422adf28397b2c3d3c155461c9ceeb0ca4e4.

Change-Id: Iab21106d1b9b8ae3a4c54e8f7d10439fe676c83e

7 years agoRevert "Revert "Revert "Revert "[Ecore] Memory leak fixed in Ecore Wayland"""" 38/129038/1
Taehyub Kim [Fri, 12 May 2017 12:22:46 +0000 (21:22 +0900)]
Revert "Revert "Revert "Revert "[Ecore] Memory leak fixed in Ecore Wayland""""

This reverts commit e42e0350306099988b285df334efcc9430ac0ac9.

Change-Id: Iaa1c3e97b6c43a9979a2c83341482be257a4b54d

7 years agoRevert "Revert "Revert "[Ecore] Memory leak fixed in Ecore Wayland""" 36/129036/1 accepted/tizen/unified/20170512.170308 submit/tizen/20170512.122151
Taehyub Kim [Fri, 12 May 2017 12:18:29 +0000 (21:18 +0900)]
Revert "Revert "Revert "[Ecore] Memory leak fixed in Ecore Wayland"""

This reverts commit ee4d6eea9bd409c552b861d86309cfe85a789069.

Change-Id: I76c933d5449c523bf47192508b8a78d919d8a8af

7 years agoRevert "Revert "Revert "ecore_wayland: free mime types after finish set_selection""" 35/129035/1
Taehyub Kim [Fri, 12 May 2017 12:18:07 +0000 (21:18 +0900)]
Revert "Revert "Revert "ecore_wayland: free mime types after finish set_selection"""

This reverts commit 00fb6311109e1276fb82d2f7775f8b59b90e51d2.

Change-Id: I006f9ac333bcb086f5849331f164884719cca212

7 years agoRevert "[evas_gl_thread] default enable EVAS_GL_RENDER_THREAD and" 34/129034/1
Taehyub Kim [Fri, 12 May 2017 12:15:45 +0000 (21:15 +0900)]
Revert "[evas_gl_thread] default enable EVAS_GL_RENDER_THREAD and"

This reverts commit b94bc59a5e3127cc207e4c8a56056d5e06e641c2.

Change-Id: Id5e66b37459cb610c1b6590c82b189257478b4fd

7 years agoRevert "evas: consider clipper when handling mouse event" 33/129033/1
Taehyub Kim [Fri, 12 May 2017 12:12:27 +0000 (21:12 +0900)]
Revert "evas: consider clipper when handling mouse event"

This reverts commit 36cf654e126d7328d54b61b103fe84236d9a5a4c.

Change-Id: I5c55eff7ccd0b81fbb523158722f3a8d622a3290

7 years agoevas: Fix can't open tiff file on loader 65/128465/2
jiin.moon [Wed, 10 May 2017 06:10:17 +0000 (15:10 +0900)]
evas: Fix can't open tiff file on loader

Refs: v1.19.0-423-gc89bf7b
Author:     jiin.moon <jiin.moon@samsung.com>
AuthorDate: Mon May 8 15:20:01 2017 +0200
Commit:     Stefan Schmidt <stefan@osg.samsung.com>
CommitDate: Mon May 8 15:20:01 2017 +0200

    evas: Fix can't open tiff file on loader

    Summary:
    Evas can't open tiff file because of no implement in client read api.
    I wrote codes simply for open.

    Test Plan: self

    Reviewers: jpeg, cedric, jypark

    Subscribers: stefan_schmidt

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

Change-Id: Iae59a0a918a0e123bdce457df4207e341a55ef4d

7 years ago[evas_gl_thread] default enable EVAS_GL_RENDER_THREAD and 85/127785/4
Joogab Yun [Tue, 2 May 2017 01:26:01 +0000 (10:26 +0900)]
[evas_gl_thread] default enable EVAS_GL_RENDER_THREAD and
EVAS_GL_EVGL_RENDER_THREAD at wayland_egl backend

from now, wayland_egl backend and evas gl work as threads.

Change-Id: Idfa5296c96d8c8b511d4fe75b3b5be3346bbeeef

7 years agoRevert "Revert "ecore_wayland: free mime types after finish set_selection"" 41/128441/1
Minchul Lee [Wed, 10 May 2017 04:58:45 +0000 (13:58 +0900)]
Revert "Revert "ecore_wayland: free mime types after finish set_selection""

This reverts commit bcc4a4b5fe9ad9d47f76dc505c569423e78a46f4.

Change-Id: I7cb97ac23a3d9ba46c78afb3d5658a85dc3c3bb7

7 years agoRevert "Revert "[Ecore] Memory leak fixed in Ecore Wayland"" 39/128439/1
Minchul Lee [Wed, 10 May 2017 04:58:19 +0000 (13:58 +0900)]
Revert "Revert "[Ecore] Memory leak fixed in Ecore Wayland""

This reverts commit 1ccf6046ed469d18aa4816e1fb2422a8e8d98e89.

Change-Id: I1e8b9d8898e75128c5ec8ca90f2d03f74939b400

7 years agoedje: fix more - checking the return value of a function eina_mempool_malloc 08/128408/3 accepted/tizen/unified/20170510.183305 submit/tizen/20170510.073036
Minchul Lee [Wed, 10 May 2017 01:58:36 +0000 (10:58 +0900)]
edje: fix more - checking the return value of a function eina_mempool_malloc

Change-Id: I336470e252d346837bb7a1c3419456d7f532b08f
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
7 years agoedje: checking the return value of a function eina_mempool_malloc 59/128259/4
Minchul Lee [Mon, 8 May 2017 08:10:37 +0000 (17:10 +0900)]
edje: checking the return value of a function eina_mempool_malloc

Change-Id: I1602b08f6d370c6a756300182ec8fb0aa8a5a70e
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
7 years agodocs: Fix broken edje tutorial (swallow 2) 62/128262/1
Jeeyong Um [Mon, 8 May 2017 08:19:39 +0000 (17:19 +0900)]
docs: Fix broken edje tutorial (swallow 2)

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

7 years agoecore_evas_wl: add NULL check 96/127896/2
Boram Park [Tue, 2 May 2017 07:42:31 +0000 (16:42 +0900)]
ecore_evas_wl: add NULL check

Change-Id: Iad73216f709b311e0bbd549ce6e91cd85f3a0cb1

7 years agoecore_wl: remove unreachable code 94/127894/2
Boram Park [Tue, 2 May 2017 07:40:17 +0000 (16:40 +0900)]
ecore_wl: remove unreachable code

Change-Id: I36ef103a7036efcffeb63886e4674cdbe9095fa2

7 years agoecore_drm: free the new-allocated memory when failed 93/127893/2
Boram Park [Tue, 2 May 2017 07:39:21 +0000 (16:39 +0900)]
ecore_drm: free the new-allocated memory when failed

Change-Id: I0c446cf19291a23dc272498a4111b4f65a29da11

7 years agoevas textblock: fix dereferenced after free issue for ellipsis item 31/128131/1
Youngbok Shin [Mon, 8 May 2017 01:00:38 +0000 (10:00 +0900)]
evas textblock: fix dereferenced after free issue for ellipsis item

Change-Id: I31d6fa6afb8cfba015ff2e024cc933b9ecb02081

7 years agoevas: change alloca->malloc for avoid stack overflow 80/126880/2
sunghyun kim [Tue, 25 Apr 2017 05:31:17 +0000 (14:31 +0900)]
evas: change alloca->malloc for avoid stack overflow

when texture upload using memcpy case, sometimes crash happens in enlightenment.
it may be memory corruption problem when alloac is failed because of Stack overflow
so i replace alloca to malloc for avoid stack overflow

Change-Id: I20ad80df73d9e63d832acfdf4a281743841b6b46

7 years ago[evas_gl_thread] change mode of glTexImage2D to finish for GLES1.1 74/127674/2
Joogab Yun [Fri, 28 Apr 2017 08:20:15 +0000 (17:20 +0900)]
[evas_gl_thread] change mode of glTexImage2D to finish for GLES1.1

Change-Id: I23c0454645b134ab9041075fe4fde604f62c9749

7 years agoRevert "[Ecore] Memory leak fixed in Ecore Wayland" 95/127695/1
Minchul Lee [Fri, 28 Apr 2017 09:17:18 +0000 (18:17 +0900)]
Revert "[Ecore] Memory leak fixed in Ecore Wayland"

This reverts commit 08c45aa4a87fba4c1b32ecc14a09acdf2dcaa280.

Change-Id: I53ad4f9d84e963b0bbc6834cf7bac039bb04da61

7 years agoRevert "ecore_wayland: free mime types after finish set_selection" 93/127693/1
Minchul Lee [Fri, 28 Apr 2017 09:16:03 +0000 (18:16 +0900)]
Revert "ecore_wayland: free mime types after finish set_selection"

This reverts commit 51cdd3e7812970cb92e65553905a8ffc1118789d.

Change-Id: If95102db358657e4c967769c0893b56a46460227

7 years agoevas font: Append global font path when Evas initializes Fontconfig 85/127685/2
Youngbok Shin [Fri, 28 Apr 2017 09:01:10 +0000 (18:01 +0900)]
evas font: Append global font path when Evas initializes Fontconfig

@tizen_fix

Change-Id: Ib7e218bbe0b0e74c304760c2fb9bdb376a58d36a

7 years agoedje: fix clipper loop issue caused by clipper object for fade ellipsis 04/127204/4
Youngbok Shin [Thu, 27 Apr 2017 08:00:51 +0000 (17:00 +0900)]
edje: fix clipper loop issue caused by clipper object for fade ellipsis

@tizen_fix
Change-Id: Idc984a01b763e3f63b64b88a7261d20b488f01aa

7 years agoecore_wayland: free mime types after finish set_selection 97/127597/1
Minchul Lee [Thu, 27 Apr 2017 05:39:31 +0000 (14:39 +0900)]
ecore_wayland: free mime types after finish set_selection

When copy operation, device tried to access the mime types
which is already freed. Thus, crash happend. To deliver
them to DATA READY handler, duplicate them and free later.

Change-Id: I9b40a9070d9cc03fb2c3df57586b062d6db8afe6
Signed-off-by: Minchul Lee <slotus.lee@samsung.com>
7 years agoRevert "ecore_evas: Changes the animator source to custom" 94/127494/1 accepted/tizen/unified/20170428.032629 submit/tizen/20170427.080035
jiin.moon [Thu, 27 Apr 2017 12:01:26 +0000 (21:01 +0900)]
Revert "ecore_evas: Changes the animator source to custom"

This reverts commit 30cd575bbc7571e258888d00b72a2682b543a261.

Change-Id: Id425bbd57f8f22b652cb0f5a51badd724d72c9d1