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>
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>
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>
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>
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>
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>
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>
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>
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:
ac10a00a,
606e8658,
69cb85aa,
496f2ed4,
47047803,
8dd20ad8,
26189dc9,
7bdcb0b8,
a4aac60a,
d7c6fca6,
ecc556c7,
c844d9ae,
6a462f92,
5fa3815e,
4dee873a,
e3489d5f
> Jean-Philippe ANDRÉ <jp.andre@samsung.com>
Commits are:
f00f4662,
f50b0fed,
bff8dcfe,
4d1c53d9,
81ed0de0,
f00f4662,
ac5ca928
> 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>
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
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
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>
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>
Jaehwan Kim [Fri, 23 Dec 2016 04:11:14 +0000 (13:11 +0900)]
edje_data: add the missed vector data.
Change-Id: Iba4f9222d2943d28860535dc8087a25b693d3075
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
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
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>
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>
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
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>
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
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
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>
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>
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
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
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
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
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
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
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
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
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
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
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
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>
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>
sunghyun kim [Tue, 20 Dec 2016 03:57:36 +0000 (12:57 +0900)]
[Extn_GL] add release request in update callback
Change-Id: Ic18a9c588dbd6dac0826a324c4f8146335b90c76
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
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>
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
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
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>
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>
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
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
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
Shinwoo Kim [Fri, 16 Dec 2016 01:10:33 +0000 (10:10 +0900)]
eldbus: quick fix to solve GEM usage issue
Change-Id: Ib4e62b0a5d384f187fab04c85282f46cb620570b
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
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
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>
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>
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>
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>
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
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>
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
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
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>
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
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
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
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
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
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
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
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
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
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
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
Joogab Yun [Fri, 9 Dec 2016 05:09:24 +0000 (14:09 +0900)]
[evas wayland_shm] Use absolute library path
Change-Id: I4437618487fcfb1a2cc77ade555402b87e04880a
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
Joogab Yun [Thu, 1 Dec 2016 04:56:15 +0000 (13:56 +0900)]
[evas_gl] support yuv and nv format
Change-Id: I320d9b449dafd06ec6c0f46fae9bfbbe4167580d
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
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
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
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
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
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
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
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>
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>
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
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
Jongmin Lee [Tue, 6 Dec 2016 00:46:58 +0000 (09:46 +0900)]
resolve possible memory leak
Change-Id: I5b47ab959027969dcf5c0a831f2dcef9d546b201
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>
Wonki Kim [Tue, 6 Dec 2016 02:24:28 +0000 (11:24 +0900)]
edje_entry: Support multibyte on result of retrieve_surrounding_cb
Summary:
to make a result of retrieve_surrounding_cb secure,
callback result string will be replaced by star('*') when entry is password mode.
however, if plain_text was multibyte,
too many stars are displayed than it's actual length.
Reviewers: jihoon, id213sin, woohyun, herdsman
Subscribers: herdsman, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4427
Change-Id: Id321bf7c7db987a3795c4f33d80554f36e6bb06b
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Jaehyun Cho [Tue, 6 Dec 2016 09:51:14 +0000 (18:51 +0900)]
eolian: Fix to unregister eina log domain if it was registered.
Change-Id: Ida96460870702ba3c78124e49a5f61cfdaa3bbd9
Hermet Park [Tue, 6 Dec 2016 10:31:41 +0000 (19:31 +0900)]
ector gl: return the function as soon as possible.
This resolves a memory leak(new_pts) in an exceptional case.
Change-Id: Ib3884330ee325364cb2acc73ca1a86585781d934
Hermet Park [Tue, 6 Dec 2016 10:20:08 +0000 (19:20 +0900)]
cherry-pick from upstream
http://git.enlightenment.org/core/efl.git/commit/?id=
8be045612bc4901ba5322ae589796b23867fc4a4
commit
8be045612bc4901ba5322ae589796b23867fc4a4
Author: Hermet Park <hermet@hermet.pe.kr>
Date: Tue Dec 6 19:18:09 2016 +0900
static_libs triangulator: prevent null pointer(ptr) access.
Change-Id: Ia004f1e5c1518590d77b44f7198464ce0aa841fb
Jaehyun Cho [Tue, 6 Dec 2016 05:42:37 +0000 (14:42 +0900)]
cpphash: Fix not to access freed pointer.
Change-Id: I32220740355e9397f5a880a7d0de884c18de066e
sunghyun kim [Tue, 29 Nov 2016 07:50:33 +0000 (16:50 +0900)]
[Extn_GL] avoid error if ecore_evas_wayland_egl_new is failed
Change-Id: Icbd2ce18f868af2a3c2540fff97f3e249e4581bd
sunghyun kim [Thu, 1 Dec 2016 08:44:36 +0000 (17:44 +0900)]
[Extn_GL] add alpha set in extn gl backend
Change-Id: Ie335d0399e74bb95dd5f51b0f46158260d5eeedd
Hermet Park [Mon, 5 Dec 2016 08:33:15 +0000 (17:33 +0900)]
cherrypick from upstream.
http://git.enlightenment.org/core/efl.git/commit/?id=
1e6246df24f84eebda95c9d18f90ead3f803789e
commit
1e6246df24f84eebda95c9d18f90ead3f803789e
Author: Hermet Park <hermet@hermet.pe.kr>
Date: Mon Dec 5 18:03:01 2016 +0900
evas textblock: fix a rendering issue.
It's a rare case but a possible scenario that textblock is not updated
properly in case of textblock rendering via proxy/map.
If the textblock state turned out with an invisible state,
its relayouting won't be up to date. But actually, it could be rendered
by map/proxy. In that case textblock text layouting would be incorrect.
Additionally, removed evas event freeze state there because map/proxy won't
be drawn under the event freeze state always.
@fix
Change-Id: I588d3fa73e6b83b916e73bd9b993f5f5f782e1ff
Jiyoun Park [Mon, 5 Dec 2016 08:21:22 +0000 (17:21 +0900)]
Revert "edje_calc: round the scaled value when it is casted to int type."
This reverts commit
b6c4e0bd4dc1920453fcd701b9527c9447e75f61.
elm-demo tizen->file selector menu didn't work after adding this patch.
need to check relation between this patch and elm-demo -> file selector menu
Change-Id: Ic3894231296f3ff909e551ea7d8fa0414426191b
Jaehwan Kim [Tue, 29 Nov 2016 05:03:20 +0000 (14:03 +0900)]
edje_calc: round the scaled value when it is casted to int type.
It rounds the value for the more precious calculation when the scaled
value is casted to int type.
Change-Id: I91e9695bc38e0261795c6d83f8f46dfc7d5db988
Youngbok Shin [Fri, 2 Dec 2016 09:22:58 +0000 (18:22 +0900)]
edje: fix mistyped code for _color_class_parent_set()
It caused issue for applying a color to a entry's cursor.
@tizen_fix
Change-Id: I16ed2963cc13c6befd2686c956119036677f8627
Youngbok Shin [Fri, 2 Dec 2016 09:11:46 +0000 (18:11 +0900)]
edje: Clear color_class members for all descriptions
All textblock's styles of the given part have to be removed
from class member hashes.
@tizen_fix
Change-Id: I1417e6b5919907a16307bdccd3a99fcce72ed231
subhransu mohanty [Fri, 2 Dec 2016 06:35:16 +0000 (15:35 +0900)]
evas/engine: updated ector_begin() engine function signature.
Change-Id: Ib274f8c7321d4a3408e4eda55d2ecc0e9bf75b58
Jiwon Kim [Fri, 2 Dec 2016 06:30:17 +0000 (15:30 +0900)]
ecore_audio: Add 'TIZEN_ONLY' comment
In commit (ecore_audio: Add tizen ecore_audio module),
'TIZEN_ONLY' comment was missed.
:
e182090493d623212cd0ee7d55ae4ebd679eff42
@tizen_only
Change-Id: I05340e62cd6775321fe7953566eb75ffa63c27c4
Signed-off-by: Jiwon Kim <jiwon177.kim@samsung.com>