platform/upstream/efl.git
7 years agoedje/entry: fix to get start position of selection from surrounding_cb
Youngbok Shin [Tue, 27 Dec 2016 06:21:56 +0000 (15:21 +0900)]
edje/entry: fix to get start position of selection from surrounding_cb

The cursor position when a entry has selection should be same from
_edje_entry_imf_retrieve_surrounding_cb and
_edje_entry_imf_event_delete_surrounding_cb functions.

@tizen_fix

Change-Id: Id3ea75e3ab574e1e99220ed826f3bfb0a02bb5a4

7 years agoEvas GL: Skip FBO creation when direct_mem_opt is set, unless direct fallback is...
Minkyoung Kim [Tue, 27 Dec 2016 08:15:30 +0000 (17:15 +0900)]
Evas GL: Skip FBO creation when direct_mem_opt is set, unless direct fallback is set.

Summary:
When direct_mem_opt is set, FBO should not be created, unless
the render target for direct rendering is FBO.
There are cases where evas_gl_make_current is called outside
on pixel callback in webkit, and since they use direct_mem_opt,
FBO is repeatedly created/destroyed during switch from direct to indirect.
This should fix it.

[Model] Tizen3.0
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] Webkit UI has a few second black screen on first time.
[Cause & Measure] Internal make current didn't work properly.
[Checking Method] Run email app and compose new mail.

[Team] UI System
[Developer] Minkyoung Kim
[Solution company] Samsung
[Change Type] Self Test

Change-Id: Ic37772b5ccf05c345d880714604ee21fd890ad4d

7 years agoRevert "evas_events: Fix to update clip area with more patch."
wonki kim [Wed, 28 Dec 2016 01:06:20 +0000 (17:06 -0800)]
Revert "evas_events: Fix to update clip area with more patch."

This reverts commit 25cdb5d702976c3c920fc64ac06df9e4a2799191.

Change-Id: I0fe6bd257d5255e806ae55515602b39a8d02bb30

7 years agoRevert "Evas_Render: upstream performance improvements port, so object map works...
wonki kim [Wed, 28 Dec 2016 01:06:17 +0000 (17:06 -0800)]
Revert "Evas_Render: upstream performance improvements port, so object map works now"

This reverts commit 60b2fe175ede63b944c4540470f657543ef0340c.

Change-Id: I3e7a2ff3c8efbf5cfc60bdf0cab5cbee0c9d239c

7 years agoEcore_Input : Modify public structure member order
Wonki Kim [Tue, 27 Dec 2016 02:56:08 +0000 (11:56 +0900)]
Ecore_Input : Modify public structure member order

If public structure is changed, application which has been alread built
doesn't access to the member of structure properly unless developer
built it again with the new header.

the commit(1c0707d8f297df00f703e16141de5a30d128ab31) changed Ecore_Iput
header then, I guess that make something wrong.

this commit modify public structure member order to keep ABI compet.

Change-Id: Ic9ddbd8ab9c1af1737e184a3545929870b6c7b46
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years agoevas_events: Fix to update clip area with more patch.
Hosang Kim [Tue, 27 Dec 2016 10:23:22 +0000 (19:23 +0900)]
evas_events: Fix to update clip area with more patch.

This patch fixes that image, which is clipped by precise image clipper
and covered by other object, does not receive mouse event.

This patch is a part of upstream commit
f6b3c31561276a6c7afc8fb56ae2e5363772782c.
(evas event handling3 - fix yet more corner cases for clipped objects)

addition:
evas event handling2 - fix incorrect object reporting
(25d77bc1d24d9fd539c681fa58db976c1ca65051)

evas event handling4- fix more corner cases where bounding is bad
(e57084d5c5b8b55a4823952ba43c61a15457e369)

Change-Id: I517fd3ac78dd08ef664cb0e1f97b83d0a2c6c40d

7 years agoIf there is situation when server is closed prior to client, the client pointer point...
Prince Kumar Dubey [Mon, 11 Jul 2016 13:29:04 +0000 (22:29 +0900)]
If there is situation when server is closed prior to client, the client pointer pointing to server must be reset and check must be there during client deletion

Summary: During mobile product testing, we got a crash with callstack which suggest server is getting deleted prior to client. On valgrind analysis we found invalid write operation with same callstack. callstack is pasted in comment section.

Test Plan: create a situation where server got deleted prior to client.

Reviewers: raster, cedric

Subscribers: govi, rajeshps, jpeg

Differential Revision: https://phab.enlightenment.org/D4152
Change-Id: I725b299b327311b8bbdaf75f79cef58c484c1d2c

7 years ago[evas_gl] GL program is setup without checking the previous one and
Joogab Yun [Tue, 27 Dec 2016 01:48:57 +0000 (10:48 +0900)]
[evas_gl] GL program is setup without checking the previous one and
          without updating current state in efl (i.e.  gc->state.current.prog).
          So when shader_array_flush is called, there is a state inconsistency
          between GL and efl. Eventually it ends up in using wrong GL program

Change-Id: I140f9661e92232425cfb3e71a0e67380a5bef142

7 years agoRevert "evas_events: Fix to update clip area."
Jee-Yong Um [Fri, 23 Dec 2016 11:43:16 +0000 (20:43 +0900)]
Revert "evas_events: Fix to update clip area."

This reverts commit c76101eef4baa375e0e63e3471aa3615f7e223cd.

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

7 years ago[evas_gl] change merge mode from MERGE_SMART to MERGE_BOUNDING
Joogab Yun [Tue, 27 Dec 2016 01:43:41 +0000 (10:43 +0900)]
[evas_gl] change merge mode from MERGE_SMART to MERGE_BOUNDING
       - partial rendering issue happend
       - My Files -> Device storage -> repeat scroll -> sometimes blink

Change-Id: Ib7f62b38caf3e363b5b25453a9bfd03aa83c8a79

7 years agoedje: skip complex calculation for height with zero width
Youngbok Shin [Mon, 26 Dec 2016 11:04:23 +0000 (20:04 +0900)]
edje: skip complex calculation for height with zero width

Getting formatted size from Evas Textblock with zero width
to get only its height is very wasteful in performance aspect.
The patch only ignore formatted size in the above cases.

It'll reduce about 100ms when launching a application which is
consisted with elm_toolbar, elm_naviframe and elm_layout.

@tizen_fix

Change-Id: I1c7fb14a7fc7c1fa2093e624b2af8cb1a98dfcdb

7 years agoedje entry: keep cursor position on mouse down and move
Youngbok Shin [Thu, 10 Nov 2016 07:21:05 +0000 (16:21 +0900)]
edje entry: keep cursor position on mouse down and move

When elm_entry takes focus by a mouse click event,
elm_entry needs to get new cursor position which is changed by mouse down/move/up.
But, elm_entry takes focus before updating the cursor of edje_entry.
It causes an issue about showing proper region.

So, the internal API will be used when elm_entry takes focus.

@tizen_fix

Change-Id: I951c79ed96cd96a4e3c71dbeafe5c51ae432d0af

7 years agoecore_wl_dnd: Change buffer size to get big size of text than before.
Woochan Lee [Mon, 26 Dec 2016 06:25:25 +0000 (15:25 +0900)]
ecore_wl_dnd: Change buffer size to get big size of text than before.

The value(102441) was requested by web team. the previous max buffer size was (PATH_MAX = 4096).
There was no limitation In X environment, we should changed this to get text without limitation to
maintain backward compatibility.

@tizen_fix

Change-Id: I2f463ddac9d506c0b2046ec446784055d891c822

7 years agoevas_events: add more NULL check logic to source mouse event.
Hosang Kim [Mon, 26 Dec 2016 06:40:52 +0000 (15:40 +0900)]
evas_events: add more NULL check logic to source mouse event.

@fix
Change-Id: Iaffad086e1817b74a48dcf7fde337fc37dae7c92

7 years agoethumb: rewrite slave input/output
Andrii Kroitor [Thu, 22 Dec 2016 11:15:42 +0000 (13:15 +0200)]
ethumb: rewrite slave input/output

Using stdio instead of low-level read and write because low-level API has
different behaviour on Linux and Windows.

Change-Id: Ibc202ffc3005b29efd3e4eb6a3b9d0c68e8501bd
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoecore_exe: do not try to send 0 bytes
Andrii Kroitor [Thu, 22 Dec 2016 16:49:27 +0000 (18:49 +0200)]
ecore_exe: do not try to send 0 bytes

Summary: This action is meaningless when communicating with child process.

Reviewers: barbieri

Reviewed By: barbieri

Subscribers: jpeg, vtorri, cedric, raster

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

Change-Id: Ia78ab9e33081ab766df75212f005b6bff4a0851a
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoecore_exe_win32: fix typo in input poll thread
Andrii Kroitor [Thu, 22 Dec 2016 12:38:26 +0000 (14:38 +0200)]
ecore_exe_win32: fix typo in input poll thread

Change-Id: Iefbb54961e0fa45d2990a743659ffcb0c2fb7cc9
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoecore_exe: fix send on Windows
Andrii Kroitor [Thu, 22 Dec 2016 12:10:10 +0000 (14:10 +0200)]
ecore_exe: fix send on Windows

Check for bytes written only if more than 0 bytes were sent.
I don't know why some efl code is trying to send 0 bytes, but that works on
Linux and therefore should be fixed on Windows.

 Conflicts:
src/lib/ecore/ecore_exe_win32.c

Change-Id: I80903a5ad5be4e6fd3314ed90e81a9b5ca6bcde3
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoecore: fix wait for stdin on Windows
Andrii Kroitor [Wed, 21 Dec 2016 13:08:58 +0000 (15:08 +0200)]
ecore: fix wait for stdin on Windows

We can't directly wait on stdin handle because it is signaled imediatly even
if there is no new data on input stream.

Change-Id: Iec44c2944b2f638f4dd7b2fb184861f3913910fb
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoecore_exe is broken on Windows
Andrii Kroitor [Thu, 22 Dec 2016 02:10:42 +0000 (11:10 +0900)]
ecore_exe is broken on Windows

Summary:
T4938

diff from @raster
Aaaargh! There is no other way to get code from diff on phab..

Reviewers: vtorri

Subscribers: vtorri, i.furs, cedric, jpeg, raster

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

 Conflicts:
src/lib/ecore/ecore_exe_private.h
src/lib/ecore/ecore_exe_win32.c

Change-Id: I922742bde863b06660f3c62660aa8bb53672901b
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoedje_calc: fix interpolate calculation of map colors
Vitalii Vorobiov [Mon, 13 Jun 2016 12:31:48 +0000 (15:31 +0300)]
edje_calc: fix interpolate calculation of map colors

There were a problem when while swithcing between states
(because of program running in transition),
there is SIGSEV appearing when first state has
only one point color, and next state more than one.

Basically it looks like this:
....
part {
   name: "rectangle";
   type: RECT;
   description { state: "default" 0.0;
      map {
         on: 1;
         color: 3 255 90 0 255;
      }
   }
   description { state: "moved" 0.0;
      map {
         on: 1;
         color: 0 0 0 255 255;
         color: 1 255 0 0 255;
         color: 2 255 90 0 255;
         color: 3 41 68 59 255;
      }
   }
}
<and program that change 'rectangle' state with transition>
....

@fix

Change-Id: I078f692cf1e8f959fed68dbf79b38357f6882764
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
7 years agoecore_exe_win32: fix ecore_exe_send
Vyacheslav Reutskiy [Fri, 2 Dec 2016 09:48:14 +0000 (11:48 +0200)]
ecore_exe_win32: fix ecore_exe_send

Write to the child pipe corect data size.
@fix

Change-Id: I96dad8066e5d63a30eaeb466f4799af568458859
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoEvas_Render: upstream performance improvements port, so object map works now
Vitalii Vorobiov [Thu, 22 Dec 2016 10:01:38 +0000 (12:01 +0200)]
Evas_Render: upstream performance improvements port, so object map works now

Based on commits that improve render performance from upstream EFL.
This commit is important for map on Windows, because if there are
objects with map.on: 1, it caused app window to be re-rendered over and
over, so it leads to high CPU load and lots of events didn't worked (so
combobox, scroller, etc turns out to be broken). This is very important
commit that won't recalculate entire canvas every time if mapped object
is already calculated.
Source code was taken (fully or just partially) from lots of render-related
commits of upstream efl:

> Carsten Haitzler <raster@rasterman.com>
Commits are: ac10a00a606e865869cb85aa496f2ed4470478038dd20ad8,
26189dc97bdcb0b8a4aac60ad7c6fca6ecc556c7c844d9ae6a462f925fa3815e,
4dee873ae3489d5f
> Jean-Philippe ANDRÉ <jp.andre@samsung.com>
Commits are: f00f4662f50b0fedbff8dcfe4d1c53d981ed0de0f00f4662ac5ca928
> Hermet Park <hermet@hermet.pe.kr>
Commit: 8233770e
> Cedric BAIL <cedric@osg.samsung.com>
Commit: ee16c647
> Jean Guyomarc'h <jean@guyomarch.bzh>
Commit: 5b0ddfec

Change-Id: Ifd632d05900ab7766dd66bd5148b5eb469131ec0
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
7 years ago[evas_gl] fix reference counting
Joogab Yun [Fri, 23 Dec 2016 12:29:37 +0000 (21:29 +0900)]
[evas_gl] fix reference counting

     -  if using elm_image_orient_set in genlist then 3D memory is increased
        so, crash happend

sample code:
{
Elm_Genlist_Item_Class *itc = elm_genlist_item_class_new();
itc->item_style = strdup("full");
itc->func.content_get = _content_get_cb;
}

static Evas_Object *_content_get_cb(void *data, Evas_Object *obj, const
char *part)
{
if (strcmp(part, "elm.swallow.content"))
return NULL;

int i = (int)(intptr_t)data;

Evas_Object *img = elm_image_add(obj);
elm_image_file_set(img, img_path[i%6], NULL);
elm_image_preload_disabled_set(img, EINA_TRUE);
elm_image_orient_set(img, ELM_IMAGE_ORIENT_90);
evas_object_size_hint_min_set(img, 500, 500);

return img;
}

Change-Id: I12d0b734650066e851ea612ed68971e08b83fdd4

7 years agoRevert "edje_cc: add svg file name '.png' if it use as image"
Viacheslav Reutskyi [Fri, 23 Dec 2016 12:23:19 +0000 (04:23 -0800)]
Revert "edje_cc: add svg file name '.png' if it use as image"

This reverts commit ff56fa1c2ae214c86822bfc32e3ec56d73e95a54.

Change-Id: I91a219b2ebfa81c6f318da03db8e665e4666632d

7 years agoedje_pick: set the correct file name for copied sample
Vyacheslav Reutskiy [Tue, 9 Aug 2016 11:22:39 +0000 (14:22 +0300)]
edje_pick: set the correct file name for copied sample

@fix

Change-Id: Iffbae1949e1838d69ec7e8b6b0e1d2787dc2532e
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoedje_cc: add svg file name '.png' if it use as image
Vyacheslav Reutskiy [Thu, 22 Dec 2016 16:08:27 +0000 (18:08 +0200)]
edje_cc: add svg file name '.png' if it use as image

This path add notify for user in case when svg use in image section. It
need for clear understanding why vertor image scale like bitmap. And
add to file name new extension '.png'

 Conflicts:
src/bin/edje/edje_cc_out.c

Change-Id: Ic7074990ee29bc5fdc249c98b2457839a2af0fde
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoedje_data: add the missed vector data.
Jaehwan Kim [Fri, 23 Dec 2016 04:11:14 +0000 (13:11 +0900)]
edje_data: add the missed vector data.

Change-Id: Iba4f9222d2943d28860535dc8087a25b693d3075

7 years agoedje_pick: add vector resources into the output file.
Jaehwan Kim [Fri, 23 Dec 2016 04:10:14 +0000 (13:10 +0900)]
edje_pick: add vector resources into the output file.

Change-Id: I585e0773efd8f82c18a2ad25fd63408b0d274173

7 years agoedje_pick: include the resources that is only used.
Jaehwan Kim [Thu, 22 Dec 2016 01:16:32 +0000 (10:16 +0900)]
edje_pick: include the resources that is only used.

When it pick any groups, it just includes the resources that is used
in those groups.

Change-Id: I981063926ee93563825b49c288b03139b9e6b1e1

7 years agoedje_cc: calculate and save the parts count in "edje/file"
Vyacheslav Reutskiy [Wed, 21 Dec 2016 11:57:41 +0000 (13:57 +0200)]
edje_cc: calculate and save the parts count in "edje/file"

 Conflicts:
src/bin/edje/edje_cc_handlers.c

Change-Id: I31fe1e7ad32c2dffb58b9959f621d20e5558bd08
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoedje_pick: fix calculation of index for parent and depended groups
Vyacheslav Reutskiy [Wed, 21 Dec 2016 09:05:22 +0000 (11:05 +0200)]
edje_pick: fix calculation of index for parent and depended groups

 Conflicts:
src/bin/edje/edje_pick.c

Change-Id: Ie1ad3db12535a50f0d84ec12bd1b59ae60bc5766
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years ago[Extn_GL] Fix build error in other OS
sunghyun kim [Thu, 22 Dec 2016 06:38:15 +0000 (15:38 +0900)]
[Extn_GL] Fix build error in other OS

fix build error in other OS ( such as MacOS, Window ..)

Extn_GL can't use without wayland_egl and tizen-remote-surface-client.
so add build define and check this in extn_gl feature.

Change-Id: I28b4b53e91b9f20f1e6f722900749427ade4f28e

7 years agoEdje_Edit: replace eet_read_direct by eet_read function.
Mykyta Biliavskyi [Thu, 22 Dec 2016 09:18:19 +0000 (11:18 +0200)]
Edje_Edit: replace eet_read_direct by eet_read function.

eet_read_direct function doesn't works with ciphered data, but it is
possible that edje file was ciphered. In this case data, that returned
by eet_read_direct always will be NULL.

Change-Id: I0efee8ce1fefe12efa2ac91a71cf2b59018ef5f4
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
7 years ago1. Evas GL: Direct rendering render to map fix
Joogab Yun [Thu, 22 Dec 2016 06:30:41 +0000 (15:30 +0900)]
1. Evas GL: Direct rendering render to map fix
    if target buffer is not window surface then do FBO rendering
2. Evas GL: Disable direct rendering if there is a map
    The engine itself (gl_generic) will detect whether the target
    surface (canvas where to draw the gl stuff) is the window
    backbuffer or not.
    Direct rendering should also be disabled even if direct override
    flag is set.

Change-Id: Iae31395f3247c9c9fa8a4359594585af95829777

7 years agoevas_events: add NULL check logic to source mouse event.
Hosang Kim [Thu, 22 Dec 2016 05:10:04 +0000 (14:10 +0900)]
evas_events: add NULL check logic to source mouse event.

When the proxy's source is updated, the proxy's event list will be
updated, too. But there is no way now. So add defensive code for
protecting segment fault.

@fix
Change-Id: Iaf0b6d8c519c4c478c2b16b923066c59ba69f7e2

7 years agoecore_wayland: insert ecore_wl_display output sync in ecore_wl_dpi_get()
JEONGHYUN YUN [Thu, 22 Dec 2016 02:17:01 +0000 (11:17 +0900)]
ecore_wayland: insert ecore_wl_display output sync in ecore_wl_dpi_get()

insert _ecore_wl_display_output_sync logic in ecore_wl_dpi_get()
for recieving correct dpi value in some case

@tizen_fix

Change-Id: I7885551cb356b283d04e47d0ac84bde4d0fde51a
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
7 years agoEcore_win32: do not handle WM_SYSKEY* events.
Mykyta Biliavskyi [Tue, 20 Dec 2016 06:35:32 +0000 (08:35 +0200)]
Ecore_win32: do not handle WM_SYSKEY* events.

Summary:
In case if WM_SYSKEYDOWN or WM_SYSKEYUP events are handled in
DefWindowProc - system doesn't init event for a system shortcuts.
For example any EFL application on Windows couldn't be closed by
Alt+F4 combination.

@fix

Test Plan:
Launch Elemenatry_test app.
           Try to close by Alt+F4 combination.

Reviewers: vtorri, raster

Reviewed By: raster

Subscribers: an.kroitor, bowonryu, cedric, jpeg, #eflete

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

Change-Id: If56057c1e2f37e7ac6a4d2db016e40762a8f8f34
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
7 years ago[EvasGL] Add env to enable PreRotation
Wonsik, Jung [Wed, 21 Dec 2016 02:15:22 +0000 (11:15 +0900)]
[EvasGL] Add env to enable PreRotation

For DDK does not support PreRotation, add ENV to enable Prerotation.

Change-Id: Ibcd15977ed7bb486b164039b83d1a16da6918b00

7 years agoRevert "eldbus: change to idle_enterer from idler"
Shinwoo Kim [Wed, 21 Dec 2016 00:54:18 +0000 (09:54 +0900)]
Revert "eldbus: change to idle_enterer from idler"

This reverts commit eee1a1d4a0ed83f43508dbe0e23fa2f5cafa0a33.

Change-Id: I35f1fc1056ac78de23b8537688d30fd2cdcb2f0e
Reason: request of profile team

7 years agoRevert "eldbus: quick fix to solve GEM usage issue"
Shinwoo Kim [Wed, 21 Dec 2016 00:52:34 +0000 (09:52 +0900)]
Revert "eldbus: quick fix to solve GEM usage issue"

This reverts commit eeccf061bb9627f21d75bd7a340c3319bec259f0.

Change-Id: If247254e489b4ae88ddd5de252db803b89fe69ef
Reason: request of profile team

7 years agoedje: fix text marquee issues
Youngbok Shin [Tue, 20 Dec 2016 11:37:01 +0000 (20:37 +0900)]
edje: fix text marquee issues

Fixed
- RTL text/textblock marquee start position was wrong.
- Internal clipper for marquee was created in a job callback.
  It could cause text flickering issue at the outside of part size.

Change-Id: I481be30e3ff5b98893996cc3afb0b98ecba258d6

7 years agoevas_events: Fix to update clip area.
Jaehyun Cho [Tue, 20 Dec 2016 12:21:05 +0000 (21:21 +0900)]
evas_events: Fix to update clip area.

This patch fixes that image, which is clipped by precise image clipper
and covered by other object, does not receive mouse event.

This patch is a part of upstream commit f6b3c31561276a6c7afc8fb56ae2e5363772782c.
(evas event handling3 - fix yet more corner cases for clipped objects)

Change-Id: I231fde137a2aae3331747b1bbe661a75a65716e2

7 years ago[evas gl] fix bug when application use evas_object_image_save() in gl backend
sunghyun kim [Tue, 20 Dec 2016 11:55:15 +0000 (20:55 +0900)]
[evas gl] fix bug when application use evas_object_image_save() in gl backend

Usally, evas_object_image_save() in gl backend need to rotate image_data for save.
but if application call evas_object_image_save() after elm_image_orient_set(),
it can make strange calculation by img_object for save().
so it need to be deleted after save image file.

Change-Id: I1ddf7bf3e7a49888f2ca48e499305f808cafe297

7 years ago[EvasGL] wrap glGetString. support up to GLES 3.1
DaeKwang Ryu [Tue, 20 Dec 2016 11:04:31 +0000 (20:04 +0900)]
[EvasGL] wrap glGetString. support up to GLES 3.1

EvasGL supports up to GLES 3.1

Change-Id: I518aa0373bfa00427c447e5db12bc02743d4c759

7 years ago[EvasGL] add some GLES extensions.
DaeKwang Ryu [Tue, 20 Dec 2016 10:56:27 +0000 (19:56 +0900)]
[EvasGL] add some GLES extensions.

verified with CTS on TM2.

Change-Id: I605d2b52b1708cb5423e3129eeadacd51d95d942

7 years ago[EvasGL] update evas_gl.h with latest GLES3 header
DaeKwang Ryu [Tue, 20 Dec 2016 10:53:54 +0000 (19:53 +0900)]
[EvasGL] update evas_gl.h with latest GLES3 header

Khronos GLES 3 header was updated.
GLhalf is added.

Change-Id: I03c408f52b6e30be4fe577ac4a13054cfa458a72

7 years ago[EvasGL] add GLES 3.1 macros which were missed
DaeKwang Ryu [Tue, 20 Dec 2016 10:52:04 +0000 (19:52 +0900)]
[EvasGL] add GLES 3.1 macros which were missed

GLES 3.1 macros were missed.

Change-Id: I9eafa54f3aee02e0d51ba3f86f30bd34a76a0536

7 years agoedje: convert data structure for text/size class to public
Jee-Yong Um [Tue, 20 Dec 2016 09:52:04 +0000 (18:52 +0900)]
edje: convert data structure for text/size class to public

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

7 years agoevas render2 region - handle if src region is empty correctly on add
Carsten Haitzler (Rasterman) [Mon, 11 Jul 2016 13:16:06 +0000 (22:16 +0900)]
evas render2 region - handle if src region is empty correctly on add

fix coverity CID 1313542

Change-Id: I6726d1695e905d74457fab1b59399ebda8245bf6
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
7 years agoEvas render2: Fix always false comparisons.
Tom Hacohen [Tue, 8 Dec 2015 11:35:25 +0000 (11:35 +0000)]
Evas render2: Fix always false comparisons.

This looks like a classic copy and paste error. It didn't make any sense
before, and it seems like no one was going to take a look at it.
This looks correct. If this breaks something (is render2 even used),
someone should remove those lines. I wasn't entirely sure if I should
just remove them, or correct them, as some of the code looked redundant
anyway.

Change-Id: I805473d988bd2b76b0f77e2f6247fb39a0eae879
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
7 years ago[Extn_GL] add release request in update callback
sunghyun kim [Tue, 20 Dec 2016 03:57:36 +0000 (12:57 +0900)]
[Extn_GL] add release request in update callback

Change-Id: Ic18a9c588dbd6dac0826a324c4f8146335b90c76

7 years ago[EvasGL] Fix build error for PreRotation
Wonsik, Jung [Tue, 20 Dec 2016 05:18:59 +0000 (14:18 +0900)]
[EvasGL] Fix build error for PreRotation

Fix build error for PreRotation

Change-Id: I41d848a730621ec2e67d33185b3d4cf6a56ba993

7 years ago[EvasGL] Add Pre-Rotation enum type
huiyu.eun [Tue, 20 Dec 2016 02:40:11 +0000 (11:40 +0900)]
[EvasGL] Add Pre-Rotation enum type

[Problem] EFL Integration FAILED in VD.
[Solve] Add Pre-Rotation enum types.

Change-Id: If0feb8a55b3f84d5edd6c465db7ec8393cefe7df
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
7 years agoedje_entry: Show item object when it is inside viewport.
SubodhKumar [Mon, 19 Dec 2016 10:14:30 +0000 (15:44 +0530)]
edje_entry: Show item object when it is inside viewport.

@tizen_fix

Change-Id: I5f55b74204ac5fbeb1b5b0b243103ffe19406e3a

7 years agoedje: handle case when strdup would be NULL.
Cedric BAIL [Fri, 16 Dec 2016 23:15:17 +0000 (15:15 -0800)]
edje: handle case when strdup would be NULL.

alternate solution to D4488. Would be better to have a buffer and recycle it.

Change-Id: I599239762d49cd0f459610891f60f4eb3ba2cbe6

7 years agoedje_pick: copy images from image sets
Vyacheslav Reutskiy [Fri, 16 Dec 2016 13:30:20 +0000 (15:30 +0200)]
edje_pick: copy images from image sets

@fix

Change-Id: I903b52e3153f2504e16831aecc857b965140d6fc
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years agoedje_pick: use separate Eina_List vars for different EINA_LIST_FOREACH
Vyacheslav Reutskiy [Fri, 16 Dec 2016 13:27:53 +0000 (15:27 +0200)]
edje_pick: use separate Eina_List vars for different EINA_LIST_FOREACH

Change-Id: Ia897aa7a282cfd922bdd3893e4a31e8f175a3825
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
7 years ago[EvasGL] add to check opengles 1.1
Wonsik, Jung [Fri, 16 Dec 2016 11:23:57 +0000 (20:23 +0900)]
[EvasGL] add to check opengles 1.1

When evas gl runs with Opengles 1.1,
depth and stencil buffer should be created, not depth_stencil buffer.

Change-Id: I5f8ac7c9cac68c1d044cf72e1028154e1be0cd77

7 years agoedje_calc: give +1 width from calculated width of formatted_get
Youngbok Shin [Fri, 16 Dec 2016 04:12:59 +0000 (13:12 +0900)]
edje_calc: give +1 width from calculated width of formatted_get

When Edje resizes Textblock object with the width from formatted_get(),
Textblock object will be shrunken on its width and expanded on its height.
It can cause text cutoff issues in multiline Textblock.

@tizen_fix

Change-Id: Id45e9f43c6e1bea488f9b39b1e28377f660d72d9

7 years agoevas: Try to fix masks of masks inside proxies
Jean-Philippe Andre [Thu, 15 Dec 2016 03:09:44 +0000 (12:09 +0900)]
evas: Try to fix masks of masks inside proxies

Yeah it's another fun bit of evas_render.

Issue #1:
Here's the situation:

1. A container (genlist) has a mask, M0.
2. An item I0 inside this container uses a proxy P0 as render object
   rather than the item directly (eg. for zooming in/out).
3. An element E0 inside this item has another mask, M1.

Theory:
1. The proxy surface for P0 is rendered, and M1 is applied to
   the element E0.
2. The proxy P0 is rendered on the canvas, with M0 applied.

Practice:
1. The element E0 is prepared for rendering, this triggers
   a mask subrender for M1.
2. M1 is rendered with M0 as a prev mask, then kept in cache and
   not redrawn (no geometry change, etc...)
3. When P0's surface is rendered, M1's surface is the result of M1+M0.
4. When P0 is drawn on screen, we can see the effect of M1+M0 as
   P0's geometry might be different from the item's I0.

Solution:
Discard prev masks and force a mask redraw when we're inside a
proxy. Ideally we should detect if the prev mask belongs to the
insides of the proxy or not.

Issue #2:
Somehow evas_render_mapped() messed up the rendering of a simple
mask in some rare situation. As a workaround, we can directly call
the object render function (masks are image objects anyway). This
issue could cause the disappearance of some text in a genlist.

Extras:
Remove use_mapped_ctx flag. Always assume it as true, always pass
a proper context to mapped_render. This simplifies the logic a bit.
Also avoid context free/new when we can just change two values.

This is a backport of (first tested on this tizen branch):
3e0f3822f144b254c9d541a32c0d789036453da4
1c21cdfdbb782d389818871d1697ece1098e85c2
2bed30b3984b4e73d64b99fe05d6574001173497
489815457b9e7baeadb0d8050dc25434c77d0fe9

Change-Id: I9ee857f0625a43d281eb945c2f354dd63cc0b9cd

7 years agoeldbus: quick fix to solve GEM usage issue
Shinwoo Kim [Fri, 16 Dec 2016 01:10:33 +0000 (10:10 +0900)]
eldbus: quick fix to solve GEM usage issue

Change-Id: Ib4e62b0a5d384f187fab04c85282f46cb620570b

7 years ago[ecore_evas_wayland_shm] bug fixed - wayland_tbm_client_create_surface_queue /
Joogab Yun [Fri, 16 Dec 2016 02:05:31 +0000 (11:05 +0900)]
[ecore_evas_wayland_shm] bug fixed - wayland_tbm_client_create_surface_queue /
destroy_queue

Change-Id: I26ea5b3e7affe6ec3a899b68ce5516f782723dfc

7 years ago[EvasGL] Fix to OpenGLES 1.1 rendering issue.
Wonsik, Jung [Thu, 15 Dec 2016 12:10:22 +0000 (21:10 +0900)]
[EvasGL] Fix to OpenGLES 1.1 rendering issue.

If the DDK driver supports depth_stencil buffer,
evas gl can not use GL_UNSIGNED_INT_24_8_OES.
Because OES_depth_texture is supported since OpenGLES 2.0.
So, if application want to use OpenGLES 1.1,
Evas GL should use depth and stencil buffer

Change-Id: I5fe7c01ee5a37fd0f670192e187e5b233f8aa5d6

7 years agoFix generate ecore key events on windows.
Mykyta Biliavskyi [Wed, 14 Dec 2016 13:40:49 +0000 (15:40 +0200)]
Fix generate ecore key events on windows.

If Ctrl+number combination pressed/unpressed function
_ecore_win32_event_keystroke_get return NULL. It happens because
ToUnicode WinAPI func fails to prepare unicode string for given scancode
and the keyboard state.
This commit add exception for  the case with digits keys. In case if
there no translate
string, but the digit key processed - will be created a normal event as
usual.

Change-Id: Ia99feffdbc2263cc7922b9e79d836704209cfbd8
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
7 years agoedje_pick: export aliases and entire dependency list
Vitalii Vorobiov [Fri, 9 Dec 2016 09:52:33 +0000 (11:52 +0200)]
edje_pick: export aliases and entire dependency list

A lot of cases were missed, cases that are making resulting edj file
useless.
> Now export all aliases
> If group "1" source of group "2" which is source of group "3", it will
> be imported as well!

@fix

Change-Id: I37015a463f8bf787d8e056e9febdeea51a8e8489
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
7 years agoedje_pick: use correct id's for exported groups
Vitalii Vorobiov [Fri, 9 Dec 2016 09:50:43 +0000 (11:50 +0200)]
edje_pick: use correct id's for exported groups

@fix

Change-Id: Id74583aae022ea909e52a4a188ec8dad19cd77c6
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
7 years agoedje_pick: don't copy dependencies group if they in the import list
Vyacheslav Reutskiy [Tue, 9 Aug 2016 07:17:31 +0000 (10:17 +0300)]
edje_pick: don't copy dependencies group if they in the import list

If a dependence group in the import list - don't copy it as dependence,
it make group duplicate and make a recurcive load.

@fix
Fixes T4313

Change-Id: I85e4357b9859ee4223d7d57e1446daf73c1d3da5
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
7 years ago[ecore_evas_wayland_shm] change to static wayland_tbm_client, tbm_queue
Joogab Yun [Thu, 15 Dec 2016 04:22:23 +0000 (13:22 +0900)]
[ecore_evas_wayland_shm] change to static wayland_tbm_client, tbm_queue

Change-Id: I6486b41d0b4e41814deab1e64274e275291b9854

7 years agoecore_audio: fix potentional null point deref.
Wonki Kim [Tue, 13 Dec 2016 06:39:05 +0000 (15:39 +0900)]
ecore_audio: fix potentional null point deref.

It couldn't avoid invalid memory access, if module is not loaded.
check module pointer is not null to fix.

Change-Id: Ib1e3aef98e7d294311e18e9807b673386c2ae46e
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
7 years ago[evas_gl] fixed issue about src, dst value when using tbm_surface
Joogab Yun [Wed, 14 Dec 2016 04:05:14 +0000 (13:05 +0900)]
[evas_gl] fixed issue about src, dst value when using tbm_surface
          and need mm_evas_render patch also

Change-Id: Ie8fe1f9d33305a9114b44854614e4e14489a4ed4

7 years ago[ecore_evas_wayland_shm] wayland_tbm_client_create_surface_queue / destroy_queue
Joogab Yun [Tue, 13 Dec 2016 09:40:17 +0000 (18:40 +0900)]
[ecore_evas_wayland_shm] wayland_tbm_client_create_surface_queue / destroy_queue

Change-Id: I000a063802746c17eed826197c4deedb71b88bfa

7 years agoecore_wayland: added new window type DIALOG,DOCK and SPLASH
MinJeong Kim [Tue, 13 Dec 2016 03:32:54 +0000 (12:32 +0900)]
ecore_wayland: added new window type DIALOG,DOCK and SPLASH

Change-Id: Ie51e5d668121a43af68abb85e5f7f167a98a84e4
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
7 years agoecore-animator allow for animator to skip queued animator ticks
Carsten Haitzler (Rasterman) [Fri, 28 Oct 2016 04:58:56 +0000 (13:58 +0900)]
ecore-animator allow for animator to skip queued animator ticks

set ECORE_ANIMATOR_SKIP to skip queued animtor ticks if multiple are
in the pipeline. optional and not on by default. i would think its not
a good idea to skip these animator ticks and skipping/deferring is a
job higher up.

@feature

Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: Ib942ff1de9a908a16cc7c00a53690f67c225ec2b

7 years agoEdje: remove a unreachable code from edje_text.c
Youngbok Shin [Thu, 8 Dec 2016 04:31:04 +0000 (13:31 +0900)]
Edje: remove a unreachable code from edje_text.c

Summary:
If "text" is NULL, it is set as empty string in the above code.
So, the removed line is unreachable.

Test Plan: N/A

Reviewers: raster, cedric, herdsman, woohyun, jpeg, Hermet

Reviewed By: Hermet

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

Change-Id: I4cbea3cf0cbf4a7800040fba11697b02baf5fd7b

7 years agolibunibreak: Fix for Hangul word wrap
Youngbok Shin [Mon, 12 Dec 2016 05:25:14 +0000 (14:25 +0900)]
libunibreak: Fix for Hangul word wrap

Word wrap is not supported for Hangul characters.
To make it work for Hangul, use english alphabet tables instead of Hangul.

@tizen_fix

Change-Id: I73129da2a462e136342ff11663b95d1df922d38e

7 years agoevas_events: fix searching logic to find objects can receive events.
Hosang Kim [Sat, 10 Dec 2016 12:01:33 +0000 (21:01 +0900)]
evas_events: fix searching logic to find objects can receive events.

1. _evas_event_object_list_raw_in_get() API is designed to search objects
list from last. But sometimes it is not working.
2. If proxy source is set, event_passes_through is not checked.
event_passes_through is respected regardless of proxy source.

refer to:
https://phab.enlightenment.org/rEFL30d98fa1bd3be621897d6240f26801b2a53c427d
Change-Id: I1dffc30e3920441a8065d61437abaa7013da61d0

7 years ago[EvasGL] Add PreRotation
Wonsik, Jung [Wed, 30 Nov 2016 07:51:10 +0000 (16:51 +0900)]
[EvasGL] Add PreRotation

Add PreRotation feature for Evas GL's direct rendering

Change-Id: I72e840a6c6095fa6d8c456bcedf3feeb281cb993

7 years agoedje: fix build fail
Jee-Yong Um [Mon, 12 Dec 2016 03:57:35 +0000 (12:57 +0900)]
edje: fix build fail

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

7 years agoefl_canvas_proxy: fix the parameter of EINA_COW_WRITE
Hosang Kim [Fri, 9 Dec 2016 08:07:59 +0000 (17:07 +0900)]
efl_canvas_proxy: fix the parameter of EINA_COW_WRITE

EINA_COW_WRITE_BEGIN and EINA_COW_WRITE_END's parameters must be same.
But 'Read' paramter is different. So wrong variable's value is changed.
@fix

Change-Id: I3358fdcb4116fca4b1ddd6fc392cf7e75386eae3

7 years agoeo_gdb.py: now it supported eo_resolve to get _Eo_Class pointer
WooHyun Jung [Mon, 12 Dec 2016 01:35:08 +0000 (10:35 +0900)]
eo_gdb.py: now it supported eo_resolve to get _Eo_Class pointer

Change-Id: I468c8f24b7baae613971c75cbc633e87564f6d12

7 years agoedje: get color from applied color class
Jee-Yong Um [Thu, 24 Nov 2016 09:54:42 +0000 (18:54 +0900)]
edje: get color from applied color class

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

7 years agoecore-buffer: support NV12 format
Sangjin Lee [Sat, 10 Dec 2016 07:24:16 +0000 (16:24 +0900)]
ecore-buffer: support NV12 format

To support the NV12 format ecore_buffer, change ecore_buffer backend interface
and change destory protocol

Change-Id: I7125a4b689b914fe06f3e7e3913f49ceef3910c0

7 years agoevas render: Gurantee the cache validation of source objects.
Hermet Park [Fri, 9 Dec 2016 08:02:59 +0000 (17:02 +0900)]
evas render: Gurantee the cache validation of source objects.

This workaround code forcely make few object's state is up to date.
In a rare case, some source objects won't be updated properly.
It seems a rendering context bug or a side effect by a potential context corruption of the smart objects.

Change-Id: If114374adc267476964871bcaf5bebc8fa5e8af1

7 years ago[evas wayland_shm] Use absolute library path
Joogab Yun [Fri, 9 Dec 2016 05:09:24 +0000 (14:09 +0900)]
[evas wayland_shm] Use absolute library path

Change-Id: I4437618487fcfb1a2cc77ade555402b87e04880a

7 years agoeldbus: change to idle_enterer from idler
Jean-Philippe Andre [Tue, 6 Dec 2016 02:27:37 +0000 (11:27 +0900)]
eldbus: change to idle_enterer from idler

Summary:
This patch set changes eldbus to use idle_enterer from idler.
If an application does not give idle time, then the eldbus cannot have chance to work.

Reviewers: raster, cedric

Subscribers: jpeg

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

Change-Id: I83719dd9b97002beb998bc4db2d789254c3a2c74

7 years ago[evas_gl] support yuv and nv format
Joogab Yun [Thu, 1 Dec 2016 04:56:15 +0000 (13:56 +0900)]
[evas_gl]  support yuv and nv format

Change-Id: I320d9b449dafd06ec6c0f46fae9bfbbe4167580d

7 years agoevas textblock: fixed ascent/descent calculation
Minwoo, Lee [Thu, 8 Dec 2016 07:44:43 +0000 (16:44 +0900)]
evas textblock: fixed ascent/descent calculation

This patch is from upstream (c196422e634fc7dda6d0f168278305073007985f)

Summary:
    If textblock has linegap and multi language, ascent/descent calculation is
    incorrect.
    In _layout_format_ascent_descent_adjust(), descent is accumulated.
    (for example, for a line gap of 50, the first line gap is more than 100)

Test Plan:
    Textblock has "linegap=50" and multi language (ex.
            "This is a test suite for line gap -
            ഈ ലൈൻ വിടവ് ടെസ്റ്റ് ടെസ്റ്റ് ടെസ്റ്റ് ടെസ്റ്റ് ഒരു പരീക്ഷണ വെയര് ")
    Added test suite in evas_test_textblock.c file.

Reviewers: tasn

Subscribers: subodh6129, cedric

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

Signed-off-by: Minwoo, Lee <minwoo47.lee@samsung.com>
Change-Id: Ice4b409f3afe594067bc40bbf93cfd8fff43e1dc

7 years agoecore_wayland: modify receiving logic to get once for stabilizing
Taehyub Kim [Thu, 8 Dec 2016 08:08:59 +0000 (17:08 +0900)]
ecore_wayland: modify receiving logic to get once for stabilizing

Change-Id: Ieb3545f557e257f467279dedd1b22f24be61232d

7 years agoector/gl: rafactor gl_surface code to ecto_gl_engine
subhransu mohanty [Thu, 8 Dec 2016 06:10:01 +0000 (15:10 +0900)]
ector/gl: rafactor gl_surface code to ecto_gl_engine

Change-Id: I18c5b3977997e43e3e0d900773b4312429c78ee1

7 years agoector: move gradient table gen and draw utility function to ector_util.
subhransu mohanty [Thu, 8 Dec 2016 06:06:09 +0000 (15:06 +0900)]
ector: move gradient table gen and draw utility function to ector_util.

Change-Id: I50765dfe1bd58bde17c746c7b8e6d995e5660576

7 years agoefl - threads and signals - make efl work on "insane" os's with signals
Jee-Yong Um [Wed, 7 Dec 2016 04:38:51 +0000 (13:38 +0900)]
efl - threads and signals - make efl work on "insane" os's with signals

==========================================================================
commit aeeda1f77d1b21b15e916852baac06bb530618e2
Author: Carsten Haitzler (Rasterman) <raster@rasterman.com>
Date:   Mon Jul 4 23:47:25 2016 +0900

    efl - threads and signals - make efl work on "insane" os's with signals

    so. on linux signals are delivered to the main process thread/loop.
    thats' where signal handlers are set up and always run. this is sane.
    it's predicatble. but of course this is not the same in bsd land.
    there "just send the signal to any old thread and call the signal
    handler there" seems to tbe the order of the day. this explains why
    wer are losing sigchld signals in edje_cc - it's heavily threaded and
    bsd is just randombly picking a thread to call it on.

    this fixes that. in theory. i hope. i can't test, but putting it in to
    share

    @fix
==========================================================================

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

7 years ago[ecore_evas_wayland_shm] wayland_tbm_client_init / deinit
Joogab Yun [Wed, 7 Dec 2016 10:53:17 +0000 (19:53 +0900)]
[ecore_evas_wayland_shm] wayland_tbm_client_init / deinit

Change-Id: I91cabd1d6334fb230e1d3af443d3fbccd082a075

7 years agoRevert "Evas: include efl_vg_container.eo.legacy.h to avoid implicit declaration...
Hermet Park [Wed, 7 Dec 2016 12:04:21 +0000 (21:04 +0900)]
Revert "Evas: include efl_vg_container.eo.legacy.h to avoid implicit declaration for evas_vg_container_child* @fix"

This reverts commit 06bfd6a82f0d745c9f86df236af11e9a71e4a098.

That broke compilation.

Change-Id: I0b3e7766c2c0e2ee290c81c1ad8713ea00a06f02

7 years agoefreet_desktop: fix potential error in efreet_desktop_cache_create
Sungtaek Hong [Wed, 7 Dec 2016 09:53:26 +0000 (18:53 +0900)]
efreet_desktop: fix potential error in efreet_desktop_cache_create

 - old_file_ids is freed but not set as NULL.
   If it goes to error code, old_file_ids will be freed again.

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

Change-Id: I22b24dc1480e8dce17e2588febfc2fd885970475
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>
7 years agoEvas: include efl_vg_container.eo.legacy.h to avoid implicit declaration for evas_vg_...
Artem Popov [Wed, 7 Dec 2016 05:21:12 +0000 (14:21 +0900)]
Evas: include efl_vg_container.eo.legacy.h to avoid implicit declaration for evas_vg_container_child* @fix

Summary: Due to implicit declaration, evas_vg_container_child_get casts to int and on 64-bit can return wrong pointer

Reviewers: cedric, NikaWhite, myoungwoon, jpeg, an.kroitor, Hermet

Reviewed By: Hermet

Subscribers: t.naumenko

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

Change-Id: I52332d1c88a7d689e574ea9018136cac8b50e015
Signed-off-by: Artem Popov <artem.popov@samsung.com>
7 years agoevas/engine: keep the default surface size updated in gl.
subhransu mohanty [Wed, 7 Dec 2016 07:21:30 +0000 (16:21 +0900)]
evas/engine: keep the default surface size updated in gl.

Change-Id: I92d6a4dfb02cf942473723858e6112da2ca02476

7 years agoedje: force update anchors when a API is called to get list of anchors
Youngbok Shin [Wed, 7 Dec 2016 05:16:28 +0000 (14:16 +0900)]
edje: force update anchors when a API is called to get list of anchors

When anchors were not in the view port, they were not created,
and didn't have any geometry information. Because of this feature,
edje_object_part_text_anchor_geometry_get() gave unexpected result.
i.e. empty list.

Now, some APIs will force the updating of anchors to get
the correct information.

@tizen_fix

Change-Id: I2238192191046b31dd8dc18f5ec7c15e75fb7d6e

7 years agoresolve possible memory leak
Jongmin Lee [Tue, 6 Dec 2016 00:46:58 +0000 (09:46 +0900)]
resolve possible memory leak

Change-Id: I5b47ab959027969dcf5c0a831f2dcef9d546b201

7 years agoemile_image: fix possible segmentation fault in AGRY88
Sungtaek Hong [Tue, 6 Dec 2016 13:28:35 +0000 (22:28 +0900)]
emile_image: fix possible segmentation fault in AGRY88

 - ptrag is set NULL and is allocated only when prop is rotated.
   but *ptrag = 0xFF00 | ptr[0]; without checking rotation.

Change-Id: Iba00edc526588c074ad9629a808df03c512642c7
Signed-off-by: Sungtaek Hong <sth253.hong@samsung.com>