Jaeun Choi [Wed, 30 Nov 2016 02:37:26 +0000 (11:37 +0900)]
evas: bug fix in bmp loader
when the DIB header is BITMAPINFOHEADER (size 40),
a bitmap file has alpha channel only if the compression method is BI_ALPHABITFIELDS (= 6).
the original code enabled alpha channel when the compression method was BI_RGB (= 0),
which made an opaque bmp image loaded as a transparent one.
@fix
Change-Id: Id175c82294c064d0d87c7f8fa9ccafcda8f84611
Vyacheslav Reutskiy [Wed, 23 Nov 2016 14:06:43 +0000 (16:06 +0200)]
ecore_file: get stat from correct file
Change-Id: Ic9fcffe8a3e73a58df1e0c0874b00aba1626334a
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
Vyacheslav Reutskiy [Wed, 23 Nov 2016 13:58:45 +0000 (15:58 +0200)]
ecore_file: use win api for delete folder
The RemoveDirectory on Windows guarantee that given folder will be
delete.
Change-Id: Ic1c625afe8f1f292d800b9f554d9b36c0d549a1a
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
Vyacheslav Reutskiy [Wed, 23 Nov 2016 13:43:40 +0000 (15:43 +0200)]
eina_file_win32: close handler in case of error
Func _eina_file_win32_first_file try to find the first file in directory
but if any file not found the file handler stay open, and func will
return error. But in this case while handle is open impossible to do
any actions. For example call eina_file_ls for empty folder, func will
return error and fold folder open. And if we try to remove this folder
Windows only mark it to delete, and remove it after the process is
complete.
Solution: close handler in error case.
Change-Id: I178d99e2a29ef8021b35ec1e17068021363ac1f4
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
Vitalii Vorobiov [Fri, 25 Nov 2016 13:00:49 +0000 (15:00 +0200)]
Edje_Edit: use specific function to get file's name correctly on Win and Linux
Because '\' is dir path for linux, but '/' is dir path for Window,
so better use specific function for getting file's name depending on specific
system
Change-Id: I34f999eaa2aabbe60994bce82a804457002b2879
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
Vyacheslav Reutskiy [Wed, 23 Nov 2016 14:18:40 +0000 (16:18 +0200)]
ecore_file: update docs for ecore_file_rmdir
Change-Id: I9ba626ab06246032ffd98f3fc1dcbcd5baca5aae
Signed-off-by: Vyacheslav Reutskiy <v.reutskiy@samsung.com>
sunghyun kim [Wed, 30 Nov 2016 04:44:04 +0000 (13:44 +0900)]
evas_object_image: fixed issue about x,y value when image drawing
Change-Id: I02943ae616766deacbd4352ff927f690e324a175
Youngbok Shin [Tue, 29 Nov 2016 05:39:01 +0000 (14:39 +0900)]
edje entry: fix crash issue due to improper callback handling
Summary:
If there were multiple elm_entry objects and some of them were deleted,
the callback function would cause crash problem.
The callback function only for specific data should be deleted when
a entry object is deleted.
@fix
Test Plan: N/A
Reviewers: raster, cedric, herdsman, woohyun, subodh6129
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D4435
Change-Id: I3892f3bf506232640f53cacab649f748825d91e8
Youngbok Shin [Wed, 30 Nov 2016 05:06:18 +0000 (14:06 +0900)]
Revert "Fix crash issue due to improper callback handling"
This reverts commit
babd7e0d14aa32bd5797566ec90d0a381577abeb.
Change-Id: I7eb4a356c9297ade5944586ac4d0c771651f7ddf
Artem Popov [Wed, 16 Nov 2016 23:30:29 +0000 (15:30 -0800)]
eet: add NULL-check to eet_connection_empty API to avoid segfault
@fix
Summary:
Only eet_connection_empty hasn't checking on NULL and try to read from field of object.
Add NULL-check for connection and return result of empty connection.
Reviewers: jpeg, cedric, myoungwoon
Subscribers: t.naumenko, NikaWhite
Differential Revision: https://phab.enlightenment.org/D4399
Change-Id: Ia080d4bb4b38a61377381977a159cb0e260055ea
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Artem Popov [Thu, 24 Nov 2016 03:13:36 +0000 (12:13 +0900)]
Edje: add checking on NULL 3-rd parameter in edje_object_part_external_param_type_get()
@fix
Summary: add checking on NULL 3-rd parameter (param) before strcmp to avoid segfault
Reviewers: cedric, jpeg, NikaWhite, myoungwoon, Hermet
Reviewed By: Hermet
Subscribers: Hermet, t.naumenko
Differential Revision: https://phab.enlightenment.org/D4424
Change-Id: I604f6bc4f5ba3175b8179ff71bca0fe4405b8b20
MyungJoo Ham [Wed, 7 Dec 2016 08:46:45 +0000 (17:46 +0900)]
Restrict product-wise condition for product build only
Do not make different binaries per profile.
(But let's not mind what TV-Production does)
Change-Id: Ic1706b117ecf0362e1b19d1d575d7b5821bad3cb
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Cedric BAIL [Tue, 28 Apr 2015 21:40:58 +0000 (23:40 +0200)]
evas: do not cast uint64x1_t to int in evas_common_convert_argb_premul
Summary:
In GCC 5.1 arm_neon header for aarch64 was changed. It is not possible anymore to silently cast uint64x1_t to int.
So replace cast with proper getter function to avoid following error:
lib/evas/common/evas_convert_color.c:50:18: error: incompatible types when assigning to type 'DATA32 {aka unsigned int}' from type 'uint64x1_t'
nas += vpaddl_u32(vpaddl_u16(vpaddl_u8(cmp)));
Reviewers: raster, cedric, devilhorns
Subscribers: cedric
Projects: #efl
Differential Revision: https://phab.enlightenment.org/D2443
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Conflicts:
src/lib/evas/common/evas_convert_color.c
Change-Id: I068c77c387e396120fa34cce87cbda2d3dbfd7af
Thiep Ha [Wed, 14 Dec 2016 23:11:43 +0000 (08:11 +0900)]
edje_calc: add null checking for strdup
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4488
Change-Id: Ib483d21811f374d165b3cebecc0f7c4cb7642851
Thiep Ha [Wed, 14 Dec 2016 08:59:40 +0000 (17:59 +0900)]
edje_calc: remove redundant checking
We check amin > ZERO && amax > ZERO, so no need to do it them again.
Change-Id: I0ef4f2ca56f14b5356182f4e94b10bd5bb704654
Joogab Yun [Thu, 8 Dec 2016 05:32:25 +0000 (14:32 +0900)]
[evas_gl] Evas GL Render Threading Patch
Change-Id: Ifefc491ec2b927130c6ac04c13cf32a0d1231922
Joogab Yun [Wed, 23 Nov 2016 03:47:21 +0000 (12:47 +0900)]
[gl_tbm] implement gl_tbm
Change-Id: I77c4d404d18b1dfda72a9517585e23412a3d96c2
Prateek Thakur [Thu, 8 Dec 2016 11:05:49 +0000 (16:35 +0530)]
edje - delete obj - null out freed items in structs/data
Summary: This patch is from upstream.
commit
c2e26a51215d379a6926b0ca44f3d4d664d84bb4
Author: Carsten Haitzler (Rasterman) <raster@rasterman.com>
Date: Wed Apr 13 19:59:00 2016 +0900
edje - delete obj - null out freed items in structs/data
i just got a segv freeing ian invalid ptr... it SEEMS as if something
has tried to free and edje object twice... but i can't be sure as
valgrind can't catch this. it's a one-off, so ensure after free, we
NULL out things we freed to avoid this.
@fix
Change-Id: I201d34850e3cf5f3981236065f04abb197aebbaa
Signed-off-by: Prateek Thakur <prateek.th@samsung.com>
Jihoon Kim [Mon, 5 Dec 2016 02:18:11 +0000 (11:18 +0900)]
ecore_imf: fix memory leak issue in example code
ecore_imf_context_event_callback_add () register a callback function to a given context event. ecore_imf_context_event_callback_del () must be called
to unregister callback function registered to a given context event.
Change-Id: Ica5f8aa9690b68183c1d1285c7ddf3a7f2ede496
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Taehyub Kim [Wed, 30 Nov 2016 06:36:09 +0000 (15:36 +0900)]
Revert "ecore: early destruction of animator allow for tick end to always be triggered."
This reverts commit
427d8c21f9de1192b5aa845e35aa9deb5883426d.
Youngbok Shin [Mon, 28 Nov 2016 12:27:27 +0000 (21:27 +0900)]
Fix crash issue due to improper callback handling
@tizen_fix
Change-Id: I618d798424470c2901f05b58f49f2fde7208f2b1
sunghyun kim [Mon, 28 Nov 2016 02:31:12 +0000 (11:31 +0900)]
[Extn_GL] fix rotation issue after change resize logic
fix rotation issue and minor issue about profile set
Change-Id: I36c86a1e964d925d1a0852f8f0a78359d84eaf9c
Duna Oh [Fri, 18 Nov 2016 03:32:42 +0000 (12:32 +0900)]
ecore_wl: add ecore_wl_window_input_get() EAPI
Change-Id: Ie043a4386a893e270471ee5adcbbd65fec4b155e
Signed-off-by: Duna Oh <duna.oh@samsung.com>
subhransu mohanty [Mon, 28 Nov 2016 06:48:52 +0000 (15:48 +0900)]
ector/gl: added antialiasing support for ector gl backend.
Change-Id: I49e32fb4e0fb3d6fc75fe50a5c51286539013314
JengHyun Kang [Wed, 23 Nov 2016 08:25:17 +0000 (17:25 +0900)]
ecore_wayland: Send device events and build devices list if the window is not exist
Change-Id: I937df89aacc8bc6eeeeae17a508c21b00f403e4a
Jaehwan Kim [Fri, 25 Nov 2016 04:17:56 +0000 (13:17 +0900)]
edje_pick: add base_scale value to target edj from origin edj
Change-Id: Ic001d1f8ffbecf41caa74f3444bcf4761414677b
JinYong Park [Mon, 31 Oct 2016 08:29:01 +0000 (17:29 +0900)]
edje_entry: Add edje_object_part_text_select_disable_set
Change-Id: I8eeee540667033d0495777b299d7951fb341c1e9
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
Jee-Yong Um [Tue, 22 Nov 2016 00:46:15 +0000 (09:46 +0900)]
fix doxygen warnings
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I35131958bde982d3f615bca83d849d7d40350fa4
subhransu mohanty [Tue, 22 Nov 2016 12:30:42 +0000 (21:30 +0900)]
evas/engine: enable native gl drawing for ector backend
Change-Id: Ic8fa4464cbfa959c17a476554be759945302b924
subhransu mohanty [Tue, 22 Nov 2016 12:30:09 +0000 (21:30 +0900)]
ector/gl: Added the native gl backend in ector
Change-Id: I266ce620efe77ec06f7aa9e37d45e6d243c55b87
subhransu mohanty [Tue, 22 Nov 2016 12:26:49 +0000 (21:26 +0900)]
static_lib: Added triangulator library.
The Library breaks down shape in to list for triangles for opengl drawing.
Feature:
- shape outline triangulation using triangle strips.
- shape filling triangulation using curve flattning and triangle fans.
Change-Id: I80db50b8415d0a3a44b01599ee3e024da4e7a630
Youngbok Shin [Tue, 22 Nov 2016 11:24:30 +0000 (20:24 +0900)]
evas textblock: fix to keep calculated size properly when calculation is skipped
When textblock object's calculations skipped formatted.w could be 0.
It causes abnormal size calculation from Edje.
@tizen_fix
Change-Id: I50d2d40e6dc40a796a047cd33db941d027fce003
Youngbok Shin [Thu, 24 Nov 2016 05:52:32 +0000 (14:52 +0900)]
edje: clean up newly added tag strings
@tizen_fix
Change-Id: I8cf8a3d666ef7d0bd747970bdb9a1a26501fb49b
Youngbok Shin [Tue, 22 Nov 2016 11:16:44 +0000 (20:16 +0900)]
edje: remove FIXME code according to patch for textblock
_formatted_get() function should return calculated size everytime.
There is a bug in Evas Textblock. The bug will be removed.
@tizen_fix
Change-Id: Icb2f1524fdb5791c7eb0da3124f127ffd45ccecf
Youngbok Shin [Tue, 22 Nov 2016 11:12:36 +0000 (20:12 +0900)]
edje: fix to get minimum width even if given width is 0
The patch also fix to calculate maximum width properly in some cases.
It adds missing comment for Tizen only patches.
@tizen_fix
Change-Id: Iec1f6b76be3652031790de0bc24a135e8084c5fe
subhransu mohanty [Tue, 22 Nov 2016 12:24:38 +0000 (21:24 +0900)]
evas/gl: Added support for stencil buffer creation while creating gl Surface.
Reviewers: jpeg, cedric
Reviewed By: jpeg, cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D4404
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: Id250d434fa3798471d8d9c3e73fb5a29b7db0bb3
Wonki Kim [Mon, 21 Nov 2016 04:26:59 +0000 (13:26 +0900)]
evas: Add shutdown logic on thread creation failure
Summary:
In case of thread creation failure, shutdown logic will be stuck.
To prevent stuck, set exit variables to make thread_shutdown working
even if init fails.
Also modify init logics to return init result to a caller.
Reviewers: jypark, woohyun, cedric, jpeg
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D4411
Change-Id: I7793d4903515c686b28f13f21454d1b6a28eba11
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
jiin.moon [Tue, 22 Nov 2016 06:36:48 +0000 (15:36 +0900)]
evas: Redraw dirty images without updates
Refs: v1.18.0-rc-1592-g55e8842
Author: Jean-Philippe Andre <jp.andre@samsung.com>
AuthorDate: Mon Nov 21 16:58:29 2016 +0900
Commit: Jean-Philippe Andre <jp.andre@samsung.com>
CommitDate: Tue Nov 22 14:32:37 2016 +0900
evas: Redraw dirty images without updates
The proper way to use the pixel_get callback and dirty flag
is to also specify which exact region has been updated
with data_update_add.
Unfortunately many apps and even GLView are relying on
invalid behaviour that forced full redraw of the image
even though data_update_add was never called.
This amends
c1a080f5e4e3ef01cfb792ef3eb9c9e59ba4d3f3
There is no dirty flag equivalent in EO as there is no
pixel_get callback defined (yet). One problem is that the GL
API is not defined, and may prove hard to define for bindings...
Change-Id: I1447c87bb33e7a0fdef2e865d3c7c61f3f1304b8
Jean-Philippe Andre [Wed, 2 Nov 2016 11:04:46 +0000 (20:04 +0900)]
evas: Add some safety code to evas_clip
I'm trying to fix a crash that seems to happens in some very odd
circumstances under stress testing. I have absolutely no idea
what is going wrong... So let's just add some extra safety.
This is a backport of
d0333561be1e74bf617f9a4059ba64bfea495a28
Change-Id: I3e6547dc48d2516f689d0671b3aa2559aa1919dd
Youngbok Shin [Tue, 22 Nov 2016 06:40:01 +0000 (15:40 +0900)]
evas text: Replace the replacement character to 0x00A0 which is empty character
@tizen_fix
Change-Id: I45f685f413aba803166a10d1d90de6463e8772b6
sunghyun kim [Tue, 22 Nov 2016 05:15:12 +0000 (14:15 +0900)]
[Extn_GL] fix resize problem when plug object is updated
when plug object is updated, object don't need to change size
Change-Id: Ie382674bc06698f931eb58bf4c038cccfc194242
sunghyun kim [Fri, 18 Nov 2016 02:03:41 +0000 (18:03 -0800)]
Revert "[ecore_evas_extn] Enable GL in indicator"
This reverts commit
d509c9919b408907e4f16a9a33fc73d6a0c3705d.
Change-Id: I1d0280ee973a4be37173f648add9e5d98f274d5e
sunghyun kim [Mon, 14 Nov 2016 06:54:45 +0000 (15:54 +0900)]
[ecore_evas_extn] Enable GL in indicator
Change-Id: Ief90607679fba0fd82d48eb00543700778fcf5da
Youngbok Shin [Thu, 10 Nov 2016 09:26:12 +0000 (18:26 +0900)]
edje entry: ignore a mouse up event which is holded by other object
It prevents updating cursor while srolling a elm_entry or other object.
@tizen_fix
Change-Id: Ice221d9eba8d6b94dd1e43170c9e6682cf989e56
Jaehwan Kim [Tue, 22 Nov 2016 08:16:54 +0000 (17:16 +0900)]
edje_edit: fix segmentation fault(Array index is out of bound)
@fix
Change-Id: I11e3cbc9470e5511ff7c656aeb519fe0b22b828e
JinYong Park [Fri, 18 Nov 2016 07:13:59 +0000 (16:13 +0900)]
edje_entry: fix "command do nothing when capslock on"
@tizen_fix
Change-Id: Iefe2973d15a6e34e5e9db65f0f7cf3870d58d92e
Signed-off-by: Jinyong Park <j4939.park@samsung.com>
sunghyun kim [Mon, 21 Nov 2016 05:51:55 +0000 (14:51 +0900)]
[Extn_GL] fix resize bug
if cliend is added, socket need to send size to plug.
Change-Id: I33e818b0327a6e1409e22bc1bd2172e963e5c2dd
sunghyun kim [Thu, 17 Nov 2016 04:16:06 +0000 (13:16 +0900)]
[ecore_evas_extn] bug fix in ecore_evas_extn
Change-Id: I335bf62d9b9b50ca58899d5241f9a64e448defb4
Wonsik, Jung [Thu, 17 Nov 2016 13:29:31 +0000 (22:29 +0900)]
[EvasGL] Fix to 3D memory leak.
If evas_gl_make_current is called with NULL,
and evgl_surface_destroy and evgl_context_destroy is called,
3D memory leak occurs.
Because rsc->current_ctx is NULL in evas_gl_make_current
and texture and framebuffer can not be free in destroy funnctions.
To fix that, one value is added to EVGL_resource.
This value is kept with current_ctx, when evas_gl_make_current is called with NULL.
Change-Id: Iabb7685d0c5e932b0e08e716225bf15f58696d0b
SubodhKumar [Fri, 4 Nov 2016 10:03:24 +0000 (15:33 +0530)]
Edje entry: Do not update anchors outside viewport.
Summary:
Do not update anchors outside viewport.
Problem is that when entry contains large number of anchors,
scrolling and launch performance is degraded due to lots of objects
being created and maintained, so to enhance the performance of
entry with anchors, anchors is not updated outside the viewport.
Test Plan:
Should have large number of anchors in entry
Observe the launch and scrolling performance.
Reviewers: tasn, raster, herdsman
Subscribers: thiepha, raster, cedric, jpeg
Tags: efl
Differential Revision: https://phab.enlightenment.org/D3543
Change-Id: I49cf544f3caad9a0e3cf5a9157906a7347eb5af1
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
SubodhKumar [Fri, 4 Nov 2016 09:24:01 +0000 (14:54 +0530)]
Edje entry: Do not update cursor for non editable entry.
Summary: Do not update cursor for non editable entry.
If entry is not editable there must not be any need to query
tb cursor geometry and run other codes related to it.
This may improve some performance of non-editable entry.
Test Plan: NA
Reviewers: tasn, herdsman, thiepha
Subscribers: shilpasingh, cedric, jpeg
Projects: efl
Differential Revision: https://phab.enlightenment.org/D3532
Change-Id: I11d5c083a91fc223f1813c63bbcafd30b65be37f
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
Jean Guyomarc'h [Sat, 12 Nov 2016 09:42:45 +0000 (10:42 +0100)]
eet: return 0 instead of NULL when the return type is int
Change-Id: Icaaf1571b34f9adced3abf3f0e855402e63acd33
Signed-off-by: Artem Popov <artem.popov@samsung.com>
Taehyub Kim [Thu, 17 Nov 2016 06:24:16 +0000 (15:24 +0900)]
ecore_wayland: prevent overwriting read file descriptor
Change-Id: Idc013685698ebfdd27cc2efbfad8c37be017c2b8
sunghyun kim [Fri, 18 Nov 2016 02:03:41 +0000 (18:03 -0800)]
Revert "[ecore_evas_extn] Enable GL in indicator"
This reverts commit
d509c9919b408907e4f16a9a33fc73d6a0c3705d.
Change-Id: I1d0280ee973a4be37173f648add9e5d98f274d5e
Artem Popov [Fri, 11 Nov 2016 17:57:38 +0000 (09:57 -0800)]
eet: add to basic eet_image EAPIs checking on NULL
@fix
Summary: to avoid segfaults with NULL raw data, add checking on NULL to basic eet_image APIS
Reviewers: NikaWhite, cedric, myoungwoon, jpeg
Reviewed By: jpeg
Subscribers: t.naumenko, jpeg
Differential Revision: https://phab.enlightenment.org/D4386
Change-Id: I8a1bdf9df1864e271c33a71361da57fb3ed84374
Signed-off-by: Artem Popov <artem.popov@samsung.com>
Artem Popov [Mon, 7 Nov 2016 22:42:51 +0000 (14:42 -0800)]
Eina: add NULL check to eina_module_symbol_global_set API @fix
Summary: Add checking on NULL like in other API in module, to avoid segmentation fault
Reviewers: NikaWhite, cedric
Reviewed By: cedric
Subscribers: myoungwoon, jpeg
Differential Revision: https://phab.enlightenment.org/D4383
Change-Id: Icc405c0a3f3e9bf6309d611d8e2f51ef640942ea
Signed-off-by: Artem Popov <artem.popov@samsung.com>
Youngbok Shin [Thu, 10 Nov 2016 09:26:12 +0000 (18:26 +0900)]
edje entry: ignore a mouse up event which is holded by other object
It prevents updating cursor while srolling a elm_entry or other object.
@tizen_fix
Change-Id: Ice221d9eba8d6b94dd1e43170c9e6682cf989e56
Jee-Yong Um [Wed, 2 Nov 2016 06:36:07 +0000 (15:36 +0900)]
eina_value: adjust defgroup to fix documentation
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I94d475a9ec995b0f40b28eb8970ae839263a989c
Cedric BAIL [Wed, 13 Jul 2016 22:09:03 +0000 (15:09 -0700)]
ecore: early destruction of animator allow for tick end to always be triggered.
T4043
Change-Id: If6a0f50d4d90b31305e00dafebbbd2250d00ec2f
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
Subhransu Mohanty [Fri, 11 Nov 2016 08:12:56 +0000 (17:12 +0900)]
edje: added NULL check.
svac warning: WGID 150623
Change-Id: Ic8857953e8f4ab2634d10dfe6309c5dca3e8acd2
Joogab Yun [Fri, 4 Nov 2016 02:35:49 +0000 (11:35 +0900)]
[evas_gl] support partial rendering
If eglSetDamageRegionKHR has already been called on <surface>
since the most recent frame boundary, an EGL_BAD_ACCESS error is generated
Change-Id: I0d02c3cdff855fd355c448027dcf20aafb1c559b
Changyeon Lee [Fri, 4 Nov 2016 06:26:41 +0000 (15:26 +0900)]
evas_tbmbuf: set proxy of wl_tbm to event queue when waiting buffer
wayland-tbm-server send frame buffer to client when entering hwc
by sending event to proxy of wl_tbm and wl_tbm_queue.
so client need to handle event of wl_tbm and wl_tbm_queue when waiting buffers.
Change-Id: I674a273575aa3c9b2e4da01378fc5223bb160a67
MinJeong Kim [Wed, 16 Nov 2016 07:44:18 +0000 (16:44 +0900)]
ecore_wayland/ecore_evas: update aux hint supported list when supported_get is called
Change-Id: I878e962d80cc44c6eefc787e4e05a5cc9e84cf1a
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
Youngbok Shin [Tue, 15 Nov 2016 10:40:51 +0000 (19:40 +0900)]
Revert "edje entry: keep cursor position on mouse down and move"
This reverts commit
4ba1e50975ff4b69dd9e575dc1cc266bda5f5504.
Change-Id: Ic0821f18ed97ba010eb76db7db8caef0df90cc2d
Jee-Yong Um [Mon, 14 Nov 2016 10:33:32 +0000 (19:33 +0900)]
edje: add missing since_tizen tag
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I848803cd6abfc8d32cf0fe0ed9e5f1409d6c04e1
Vyacheslav Reutskiy [Mon, 31 Oct 2016 11:16:36 +0000 (13:16 +0200)]
edje_edit: generate to source code base_scale if it different from 1.0
Fixes T4767
Change-Id: I659388cd3904e7e439d7bc370ce0158fd17f55f1
sunghyun kim [Mon, 14 Nov 2016 06:54:45 +0000 (15:54 +0900)]
[ecore_evas_extn] Enable GL in indicator
Change-Id: Ief90607679fba0fd82d48eb00543700778fcf5da
Youngbok Shin [Thu, 1 Sep 2016 11:45:36 +0000 (20:45 +0900)]
Edje calc: Fix textblock size calculation logic
Summary:
In singleline textblock, using "text.min: 1 0" and min, max width,
Edje allows to use expandable text with ellipsis. It shows ellipsis
when only text's width reach the max width.
But, Edje couldn't support same feature on multiline textblock.
Edje dose not use max height or text.max properly if ellipsis is enabled.
This feature is very useful to make a layout with dynamically aligned text.
@fix
Reviewers: cedric, tasn, woohyun, raster, herdsman
Subscribers: z-wony, eagleeye, jpeg
Differential Revision: https://phab.enlightenment.org/D3595
Change-Id: I0b63ffe07c01c0b6a5fec1df712c99d5dba709e4
Youngbok Shin [Thu, 10 Nov 2016 09:26:12 +0000 (18:26 +0900)]
edje entry: ignore a mouse up event which is holded by other object
It prevents updating cursor while srolling a elm_entry or other object.
@tizen_fix
Change-Id: Ice221d9eba8d6b94dd1e43170c9e6682cf989e56
Youngbok Shin [Mon, 14 Nov 2016 01:54:53 +0000 (10:54 +0900)]
Canvas.text: fix segfault with ellipsis cases
The specific handling for (0.0 <= ellip < 1) doesn't support multi-line cases.
One of the main reasons is that we haven't had the chance to define the wanted
behavior for multi-line.
This is a temporary hack to fix a segfault. The behavior is still undefined,
though.
Fixes T3885.
Change-Id: Icccea39a145f36cda34edca922bdbc7da0e731da
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: Ie479f9c2763eca56effc57ad7d3409fad7f0830e
SubodhKumar [Fri, 4 Nov 2016 08:22:58 +0000 (13:52 +0530)]
edje entry: do not create object if theme source is not available.
Summary:
Object not created if theme source is not available.
In many case we dont need or define all the
theme sources for entry, even if the sources are
null, edje object is being created.
Test Plan: NA
Reviewers: tasn, herdsman, cedric
Reviewed By: cedric
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D3199
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: I11f4517d8a872d8053ca0164f40088e6d6d47c56
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
SubodhKumar [Fri, 4 Nov 2016 10:26:02 +0000 (15:56 +0530)]
Edje entry: Fix memory leak.
Summary:
Fix memory leak
If user or extra cursor is used, these should be free on
shutdown.
@fix
Test Plan: NA
Reviewers: tasn, herdsman
Subscribers: shilpasingh, cedric, jpeg
Projects: efl
Differential Revision: https://phab.enlightenment.org/D3550
Change-Id: I6e47fec4d6ad53bc3943c90dfe1805a75cceb2fa
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
SubodhKumar [Fri, 28 Oct 2016 12:52:43 +0000 (18:22 +0530)]
Edje entry: Add link press effect
Summary:
Add link press effect
Custom tag (linked_pressed) has to be supplied in entry tb style
with color value for press effect to be applied on link text.
Reviewers: tasn
Subscribers: shilpasingh, cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3629
Change-Id: I2084a2bde237ea7a0a09fdc93b4f93a5a7b31143
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
Youngbok Shin [Fri, 7 Oct 2016 07:29:28 +0000 (16:29 +0900)]
evas: Apply the last character's advance for width calculation
@tizen_fix
Change-Id: I6729c05478efea3993f003e9cf3fb66ceb1d2bd9
sunghyun kim [Fri, 11 Nov 2016 11:03:53 +0000 (20:03 +0900)]
[evas-gl] fix texture offset for uploading
Change-Id: I19076e86f732341d37f4dd66f80d3eabec2bf11d
Andrii Kroitor [Wed, 9 Nov 2016 08:52:33 +0000 (10:52 +0200)]
Fix efl compilation with and without physics
Change-Id: I5d4ba1778b468365276f94ffb890cb431991df26
SubodhKumar [Wed, 9 Nov 2016 09:03:40 +0000 (14:33 +0530)]
[efl] Fix warnings
Change-Id: I84a90168ff64d12c80af211d1995f4c3c76bb3b7
Signed-off-by: SubodhKumar <s7158.kumar@samsung.com>
Andrii Kroitor [Mon, 17 Oct 2016 15:51:59 +0000 (18:51 +0300)]
edje_edit: refactor eet file usage
Summary:
Move opening for read/write/read-write and error message to internal method
Reuse eet file from Edje instead of opening it again in read-only mode
Add wrapper for eet_close to skip closing if internal file was used
Reviewers: NikaWhite
Subscribers: cedric, jpeg, #eflete
Differential Revision: https://phab.enlightenment.org/D4353
Change-Id: Iac9cdd57ce5878dba4765de94bf83ae1314c2962
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
Subhransu Mohanty [Fri, 11 Nov 2016 02:27:53 +0000 (11:27 +0900)]
edje : test for text availabilty before handling marquee
Svace ID : WGID 144214
Change-Id: I7d7dbd9e7fd03839e4fa5b0118eef9030e426719
Youngbok Shin [Wed, 9 Nov 2016 09:10:19 +0000 (18:10 +0900)]
edje entry: only change cursor position in mouse up
Change-Id: Iadf9326ce6470834fbfb2adcf583a3cd12bd5977
sunghyun kim [Thu, 10 Nov 2016 02:04:13 +0000 (11:04 +0900)]
[ecore_evas_extn] fixed build error after add gl backend
don't need check build require about ecore-wayland
Change-Id: Ife48dec49c216810548bd2bdbaa0d0691fd134c3
Jaeun Choi [Tue, 8 Nov 2016 05:58:02 +0000 (14:58 +0900)]
evas: Fix masking with window rotation, take 2
The first patch did not work for maps. This explains why the
original code was so weird. But it actually made sense.
After struggling a bit I realized that we really just need
to shuffle around the pixel position on the window to map that
of the position in the canvas (unrotate it).
Note that compatibility with GLSL-ES (for OpenGL ES) implies
we can not use an array initializer like:
vec2 pos[4] = vec2[4](a,b,c,d);
So the code could probably be optimized. But at least this works.
This patch also avoids calling glGetUniformLocation again and
again.
Change-Id: I90de310eb82d478ba66809d2c0b3e73facd2c3b6
Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
Jongmin Lee [Thu, 3 Nov 2016 05:03:00 +0000 (14:03 +0900)]
[eina_log] redirect critical error to normal error in order to avoid abort on errors in dlog
Change-Id: Ie04b26d1749c43e2b708f193db98e35b452b574a
Jaeun Choi [Tue, 8 Nov 2016 05:56:01 +0000 (14:56 +0900)]
Revert "evas: fixed GL image masking"
This reverts commit
22cb791df87504b920dfb56c97e321a270840fc9.
This patch did not work with mapped images.
Change-Id: I0ee5396369e540a04ec9d2fffd8bef9a6aa2d139
Mykyta Biliavskyi [Fri, 4 Nov 2016 09:06:11 +0000 (11:06 +0200)]
Evas events: fix for works with pipes on windows.
Evil implementation of pipe() function uses sockets. Windows functions
"write", "read" and "close" doesn't works with sockets. In this commit
added macros, that replace "read" with "recv", "write" with "send" and
"close" with "closesocket".
@fix
Change-Id: Ic566c7b994cd23a8244f91835f85029c2d59991c
Signed-off-by: Mykyta Biliavskyi <m.biliavskyi@samsung.com>
Joogab Yun [Wed, 9 Nov 2016 10:17:15 +0000 (19:17 +0900)]
[evas_sw] add tbm_surface_internal_ref/unref
Change-Id: Ib0b1948bd512656d01132e0e37b06ea8931913f3
Shinwoo Kim [Tue, 1 Nov 2016 09:35:39 +0000 (18:35 +0900)]
[edje][text marquee] enhancement
(1) assign NULL to animator variable, if the animator is not necessary any more.
(2) stop text marquee at start point.
(3) do not marquee, if the text is shorter than its view port.
Change-Id: Id13e762e2a2622dbe543d3f60ab49e6d250a6141
sunghyun kim [Wed, 2 Nov 2016 10:03:10 +0000 (19:03 +0900)]
ecore_evas_extn: Add gl backend for ecore_evas_extn
Add gl backend for ecore_evas_extn
if Application set environmental variable "ECORE_EVAS_EXTN_SOCKET_ENGINE=wayland_egl", ecore_evas_extn use gl backend.
other case ( set nothing or buffer), ecore_evas_extn use buffer backend
currently, default is buffer backend
Change-Id: Ia62dde22c81085009b89fa5c791d7c9744b4423b
Sangjin Lee [Mon, 31 Oct 2016 01:08:55 +0000 (10:08 +0900)]
software-tbm: redesign for evas-drm
- Add wayland-buffer for native surface
- Use cserve2
- use libtbm directly
Change-Id: I2c480ad255c23e4ae863f283b91288700106fd81
Vitalii Vorobiov [Fri, 28 Oct 2016 12:56:28 +0000 (15:56 +0300)]
Edje_Edit: save files name instead of full path on sound add
Since file will be inside of edj file, there is no need in having full path to
the place from where it was imported
@fix
Change-Id: I8513928103d74267cb2d1b9080384506d41f2a74
Signed-off-by: Vitalii Vorobiov <vi.vorobiov@samsung.com>
DaeKwang Ryu [Thu, 3 Nov 2016 08:39:00 +0000 (17:39 +0900)]
Remove error log
Change-Id: I2c1691084d417a63cbb5b35a6bd44544ef7e2b0f
Joogab Yun [Thu, 3 Nov 2016 06:44:38 +0000 (15:44 +0900)]
[evas_sw] bug fix lib path
Change-Id: Ida1ee61aa23d1b76dad480ed228686eda5f14a5a
Jean-Philippe Andre [Fri, 12 Aug 2016 02:09:16 +0000 (11:09 +0900)]
evas: Fix shader for text masking
Fixes T4338
@fix
Change-Id: I0996d717e591657c059bda440301cd8a362d05f8
Jaeun Choi [Tue, 1 Nov 2016 06:03:18 +0000 (15:03 +0900)]
evas: fixed GL image masking
GL image masking was broken on window rotation.
This patch fixes the bug by simplifying masking code:
handling the mask image as general images and pushing 6 vertices
instead of pushing the geometry of it.
@fix
Change-Id: Ib9c809927e7d5c1ae72f69b62a2a35c7d4cefbb3
sunghyun kim [Tue, 1 Nov 2016 08:10:51 +0000 (01:10 -0700)]
Revert "ecore_evas_extn : Add GL backend in ecore_evas_extn"
This reverts commit
2120e6d0742e53800994a7e4c606c5b2f17fd4f7.
Change-Id: I06408cb09f131bf8439daff09e27beb123d5837c
Joogab Yun [Fri, 28 Oct 2016 05:29:09 +0000 (14:29 +0900)]
[evas_sw] Fix loading of libary path
Change-Id: I7dbe81a9936cd7c58361a941a5dcf7a58911ceb1
Youngbok Shin [Tue, 1 Nov 2016 04:57:36 +0000 (13:57 +0900)]
edje: prevent crash when a edje object does not load a file
@tizen_fix
Change-Id: I94db2c0108a7054f9eb1dc95f133aa87a9016986
sunghyun kim [Tue, 25 Oct 2016 04:56:52 +0000 (13:56 +0900)]
ecore_evas_extn : Add GL backend in ecore_evas_extn
Change-Id: I1f03c5f7969485cc9a5f499ee96cff52583aa530
Subhransu Mohanty [Wed, 19 Oct 2016 10:52:27 +0000 (19:52 +0900)]
evas/engine: refactor the ector surface caching for gl backend
Change-Id: I14c0b5ac0940471479e35e01b2542ddd13a0c69d