Thiep Ha [Thu, 7 Jul 2016 02:05:29 +0000 (11:05 +0900)]
evas_gl_cocoa: add parameter for context_resize to fix build break
The evas_gl_common_context_resize API is changed but
it is not updated for gl_cocoa engine.
This patch updates it to fix build break.
@tizen_fix
Change-Id: Iee6c6d326a8479cc714e4ee21cd2fb14abaaa1b8
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
Thiep Ha [Thu, 7 Jul 2016 01:51:56 +0000 (10:51 +0900)]
evas_gl_cocoa: fix segmentation fault at program exit
From
8fb153cf8cab550121136aeb2710fc2d9f42fadc Mon Sep 17 00:00:00 2001
From: Jean Guyomarc'h <jean.guyomarch@gmail.com>
Date: Sat, 2 Apr 2016 22:19:29 +0200
Subject: [PATCH] evas_gl_cocoa: fix segmentation fault at program exit
Programs crashed on a segmentation fault when the last window was
closed. The eng_output_idle_flush() function was removed... but
since gl_cocoa does not properly use *_generic modules, the
output_idle_flush() function called by the render engine was
garbage (hence the segfault).
Change-Id: Idc7ef41fd2933ebb4cea75c9f592d5637b636cba
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
Thiep Ha [Wed, 6 Jul 2016 00:55:23 +0000 (09:55 +0900)]
ecore_input: disable joystick feature in Mac OS
Joystick input makes build break in MacOS, so we disable it.
Change-Id: If145f7f54e681a5597089cef272c35e969e61f5b
Signed-off-by: Thiep Ha <thiep.ha@samsung.com>
JengHyun Kang [Thu, 30 Jun 2016 10:51:21 +0000 (19:51 +0900)]
ecore_wayland: Initialize touch axis information
Change-Id: Icb006a8868fe9129b24334e113dea50f450e308a
Ji-Youn Park [Fri, 1 Jul 2016 02:41:43 +0000 (11:11 +0830)]
evas_type: add EVAS_DISPLAY_MODE_INHERIT to Evas_Display_Mode for backward compatibility
Change-Id: I06c97b57f9c6e0c555b780911015fd389f045e63
Youngbok Shin [Mon, 4 Jul 2016 11:39:23 +0000 (20:39 +0900)]
evas: Revert the patch for applying font style
It caused an issue for BreezeSans/Medium Condensed style.
Font should be modified before applying the feature.
@tizen_fix
Change-Id: I7bea1695a51916750f0e1835490914af16bfabdf
Youngbok Shin [Tue, 5 Jul 2016 02:43:05 +0000 (11:43 +0900)]
evas: enable harfbuzz
Change-Id: Idead7dc7745c7a608b7d7862346852d1054d61e4
kim hosang [Mon, 4 Jul 2016 07:04:11 +0000 (00:04 -0700)]
Revert "edje: add fixed automatically for optimizing edje calc speed."
This reverts commit
eccf071dd53721d1a4d8e81b1851a0135ccacc03.
Change-Id: I36aad155920d86a7294709f6776e9ab94b485383
WooHyun Jung [Mon, 4 Jul 2016 00:53:23 +0000 (09:53 +0900)]
edje_recc: set edje_recc's own absolue path
Change-Id: I129f2005d01449171d918e4aeea38ee8fa17cdea
Jean-Philippe Andre [Tue, 28 Jun 2016 10:20:37 +0000 (19:20 +0900)]
evas: Use proper type for stringshares
Change-Id: I0453767f3756f47456f6e5d73cfedf9e0520318f
Jean-Philippe Andre [Tue, 28 Jun 2016 10:17:24 +0000 (19:17 +0900)]
evas: Fix double stringshare_del
A stringshare for font "style" was not properly duplicated,
resulting in lots of invalid stringshare pointers.
Ping @id213sin (commit
2ce33e73a7d48d4b54a075c07f12c0162).
Change-Id: Ie87e42b9f3d5fd365d000798c9493a660a240954
Shinwoo Kim [Fri, 1 Jul 2016 06:34:17 +0000 (15:34 +0900)]
[ttrace] add more check points
Change-Id: Ie2842456697eaed52a81f83d8203230c5672d9cd
Shinwoo Kim [Thu, 30 Jun 2016 02:31:51 +0000 (11:31 +0900)]
[TV] eina: disable ttrace to be called
Change-Id: Ia4bbf665a21ee90aefdcf9909ddc79dfd546a9f3
Duna Oh [Mon, 30 May 2016 06:42:42 +0000 (15:42 +0900)]
ecore_wl: tizen_input_device uses device's clas variable of the Ecore_Device_Class type
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I569e1efe677d07dc3593ac047cc4092b8fbf3e17
Subhransu Mohanty [Thu, 30 Jun 2016 07:19:43 +0000 (16:19 +0900)]
efl/interface : keep a copy the locale returned by stelocale.
Change-Id: Ia06b1aac3fe0ebecc145462a0f428c2c64f4eb0a
Srivardhan Hebbar [Wed, 21 Oct 2015 21:04:43 +0000 (14:04 -0700)]
eina: add API for converting strbuf to lowercase.
==============================================================
eina: add API for converting strbuf to lowercase.
Summary:
This API would be used in efl_network_websocket.
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric
Differential Revision: https://phab.enlightenment.org/D3200
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
==============================================================
Change-Id: I18506fe6756a00775b7c510266296a240aad665a
Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Hosang Kim [Thu, 17 Mar 2016 18:12:34 +0000 (11:12 -0700)]
edje: add fixed automatically for optimizing edje calc speed.
Summary:
Applications usually use edje syntax like as,
```
part { name :"bg";
type: SWALLOW;
description {
state: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 0.0 0.0;
align: 0.0 0.0;
min: 100 100;
}
}
```
But edje does not calculate it exactly without "fixed: 1 1".
So edje calculation is repeated until 4000 x 4000, it is waste of time.
Reviewers: woohyun, raster, Hermet, id213sin, cedric
Reviewed By: cedric
Subscribers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3801
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Change-Id: I36a0983fe5af1916d7b904c5c82d988f12c94784
JengHyun Kang [Wed, 29 Jun 2016 08:33:04 +0000 (17:33 +0900)]
ecore-wayland: Prevent duplicated mouse up events.
Change-Id: Ibb3d6ee20ee1f7413e8e1d7f34ccc8b29f913b44
Youngbok Shin [Thu, 23 Jun 2016 17:11:39 +0000 (10:11 -0700)]
edje: replace 4000x4000 min size limitarion with loop count restriction.
Summary:
4000x4000 min size limitation was added to prevent infinite
calculation loop. But, it can ruin calculation of some proper Edjes.
Normally, properly generated Edje runs the calculation loop below 10 times.
So, "255" could be proper limitation for calculation loop.
It also make better performance for broken Edje.
Test Plan: N/A
Reviewers: raster, Hermet, woohyun, cedric
Reviewed By: cedric
Subscribers: jpeg, z-wony, Blackmole
Differential Revision: https://phab.enlightenment.org/D4075
Change-Id: I17d7697e8aa211efcc8c2a29ac63ab148cb0afab
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Seunghun Lee [Thu, 30 Jun 2016 04:13:44 +0000 (13:13 +0900)]
ecore_wayland: Add API ecore_wl_window_geometry_get() and use it on event handler of configure.
The geometry of ecore_wl_window can be reconfigured by both of server and client.
Before, we passed its geometry as a Ecore Event in order to notify ecore_evas,
But in this case we cannot gaurantee coherence.
Thus, it would be better to give the geometry by the API on event handler.
Change-Id: Iad4ff888ab7c79ef446a083bbfe4cd362c0cb551
sunghyun kim [Fri, 24 Jun 2016 08:00:14 +0000 (17:00 +0900)]
[evas_gl] add partial_render_debug mode for debug
if EVAS_GL_PARTIAL_DEBUG is set, add sky blue color rectangle before draw object.
it is for debug.
Change-Id: I5dad4970927d57ad191343fb2d9402a9c2e5cf18
Youngbok Shin [Tue, 28 Jun 2016 01:49:37 +0000 (10:49 +0900)]
evas: add pattern "style" when evas query fonts via fontconfig
Summary:
Some fonts can have weird style and weight value.
If a font has a style name as "medium" and a weight value as "semi-bold",
Evas can't load the font using "font=Somefont:style=Medium".
It only can be load with "font=Somefont:style=SemiBold" or
"font=Somefont:weight=SemiBold".
On the other hand, it could be loaded when I tested the following commands.
fc-match -s ":family=Somefont:style=Medium" or
fc-match -s ":family=Somefont:weight=SemiBold"
Evas also should load font based on font's style name.
@fix
Test Plan: N/A
Reviewers: tasn, herdsman, cedric, woohyun, raster
Reviewed By: raster
Subscribers: Blackmole, z-wony, jpeg
Differential Revision: https://phab.enlightenment.org/D4108
Change-Id: Ibd9f53cb62568e2ee6e1e627f75607936396e6ff
Bowon Ryu [Wed, 29 Jun 2016 08:17:34 +0000 (17:17 +0900)]
ecore_win32: add ecore_win32_window_icon_set() api.
to switch application window icon on runtime,
we added this api.
this is necessary for tizen sdk ui tools.
Change-Id: I942dbb1786f0da2274299fa6ec939c807129820b
Bowon Ryu [Wed, 29 Jun 2016 07:43:00 +0000 (16:43 +0900)]
Revert "ethumb: disable a partial code complation on windows os."
This reverts commit
4686f8d95d64af1467ddbe4e289ade511441c835.
We fixed the fundamental problem of edje_cc complation.
So we don't need this change anymore.
Change-Id: Iab13fe0d2f13d775b379f6122a9c44d3f7b63388
Bowon Ryu [Wed, 29 Jun 2016 07:32:57 +0000 (16:32 +0900)]
eina: fix a crash on edje compilation on windows.
it doesn't gurantee tmp folder on windows. rather than that, we get a
tmp folder via environment values.
this change could be overwritten with the latest upstream code.
Change-Id: Idb23130dffcc65b8bc59fcdf114e96015c3ff7b8
Bowon Ryu [Wed, 29 Jun 2016 07:40:30 +0000 (16:40 +0900)]
evil: add missing files.
We've synced with upstream evil lib for windows hosting,
but missed some files that should have added.
Change-Id: I4ffef14da3de882d53f3879a9f4e3ad1a2d197c9
Bowon Ryu [Tue, 28 Jun 2016 10:55:21 +0000 (19:55 +0900)]
ethumb: disable a partial code complation on windows os.
It occurs a crash on windows os compilation.
Sorry, we have no idea so disabled it anyway, it doesn't necessary.
Change-Id: I834e332e9a9f8c525bc3678daa53305536d555f7
Bowon Ryu [Tue, 28 Jun 2016 10:46:51 +0000 (19:46 +0900)]
Fix compilation error on windows os.
Since the windows platform doesn't have dlfcn.h, it failed to compile on it.
Instead we ignore the header inclusion on Windows os.
Acutally, This change come up with upstream partial migration about Evil.
Change-Id: If3498ee7bacb8b59ff0e135ddcca872bd439c956
Bowon Ryu [Tue, 28 Jun 2016 11:42:36 +0000 (20:42 +0900)]
Revert "Revert "ecore_evas: fix to build tbm configurable.""
This reverts commit
d4b12be216e08d1b7a1a674d0401138245556a20.
fixed the wrong change.
Change-Id: I507ffae7df224e6d7506f6337afcc6879df45500
Bowon Ryu [Tue, 28 Jun 2016 11:27:14 +0000 (20:27 +0900)]
Revert "ecore_evas: fix to build tbm configurable."
This reverts commit
406af68abb1f764c87e9e903db088acc7a0d8980.
this break gbs build. :(
Change-Id: I30d2eb70418497e4c4bbda6144341ac7447d2bd3
Bowon Ryu [Tue, 28 Jun 2016 10:26:00 +0000 (19:26 +0900)]
ecore_input: dont try to build a joystick feature on window os.
this broke the compilation on windows os.
Change-Id: Ia0f93967ed4b9b456f4de43934a098a9316841cb
Bowon Ryu [Tue, 28 Jun 2016 10:13:29 +0000 (19:13 +0900)]
eet/cipher: cast unused file properly.
This occured a compilation error on window os.
Now it's fixed.
Change-Id: Ib4cac594562f0290a79328c88d2021a51a07dacc
Bowon Ryu [Tue, 28 Jun 2016 06:50:33 +0000 (15:50 +0900)]
fixed window os compliation.
uint is temporarly used in output_copy().
but This interface will be removed.
Define this temporarily.
Change-Id: I43ac664cc6595187c321462c0b2c7d874693f77e
Bowon Ryu [Mon, 27 Jun 2016 11:45:30 +0000 (20:45 +0900)]
ecore_evas: fix to build tbm configurable.
Hosting efl for sdk doesn't require tbm.
ecore_evas_tbm breaks the build on hosting environment
because it necessarily includes tbm source files.
so make it configurable to avoid build those files
on hosting environment.
Change-Id: I9ef923ef22dbef37bbaa90fd455ec047be2ee9ff
huiyu.eun [Thu, 23 Jun 2016 02:41:30 +0000 (11:41 +0900)]
evas: Avoid glTexSubImage2D() COW problem
[Problem] If you try to update image while rendering that image, Copy On Write occur. So performace goes bad.
[Cause] Every images use 9-glTexSubImage2D(). glTexSubImage2D() takes more time than glTexImage2D.
[Solution]Change texture uploading policy.
1. If (image > atlas size), Do not call glTexSubImage2D.
glTexImage2D is enough. (Maybe edge 1-pixels are not clear than before.)
2. If (image < atlas_size) && (image > memcpy_size), Do 9-glTexSubImage2D.
3. If (image < atlas_size) && (image < memcpy_size),
Do memcpy from the image data and borders to new memory.
Then do 1-glTexSubImage2D. (This will be reduce probablity of COW.)
[Team] Graphics
Change-Id: I663f2d3ec3c39995d9b7fd17b1dad170ce00a506
Signed-off-by: huiyu.eun <huiyu.eun@samsung.com>
Shinwoo Kim [Mon, 20 Apr 2015 02:53:16 +0000 (11:53 +0900)]
[ecore_input] initial version of ecore joystick event
Conflicts:
src/lib/ecore_input/Ecore_Input.h
src/lib/ecore_input/ecore_input.c
Change-Id: Ibabaa70deac03b34bc20e08afb315071041c10c0
jiin.moon [Mon, 27 Jun 2016 11:55:40 +0000 (20:55 +0900)]
evas: filters folder should be included in evas pkg
Signed-off-by: jiin.moon <jiin.moon@samsung.com>
Change-Id: I18625bba0efe2bd4866ad3734d9dd170ffea3cad
Joogab Yun [Mon, 27 Jun 2016 23:27:32 +0000 (08:27 +0900)]
[evas_tbm] perform native buffer surface video rendering at evas object
render level
- Now origin size mode (when image size is smaller than evas object
size) is supported
Change-Id: Ib28710b3e102b2a26cef1bbb598089e0b84bce9b
Hosang Kim [Mon, 27 Jun 2016 12:28:42 +0000 (21:28 +0900)]
evas: do not unref if there is no clipper
check if there is a clipper set before accessing it. This fixes crashes
of the drm engine.
Author: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Change-Id: I0dd09b8b42975ebc0bf69f2656f341babbe35de8
Hosang Kim [Mon, 27 Jun 2016 11:03:11 +0000 (20:03 +0900)]
ecore_wl: fix ecore_wl_window_keygrab_set API
In order to grab keys, we need wl.keyrouter, input and xkb.keymap.
So fix waiting logic, we don't use five times loop but infinite loop.
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: I604523b9f986ca703616184a7df3d63ecb614612
Boram Park [Thu, 23 Jun 2016 04:36:14 +0000 (13:36 +0900)]
move the position of read_events to _ecore_wl_cb_awake.
wl_display_read_events can make threads blocked. So, when a thread is
awake from polling, we'd better call wl_display_read_events ASAP to
unblock other threads. And also, this is much easyer way to make sure
calling either read_events or cancel_events.
Change-Id: I587a56b4a3914bcd9e4750b07d9d5febba9d2c41
Hermet Park [Fri, 24 Jun 2016 10:04:32 +0000 (19:04 +0900)]
commit
56074fd579a6bd0395948464cc15cb9f5818450e
Author: Hermet Park <hermet@hermet.pe.kr>
Date: Fri Jun 24 18:51:38 2016 +0900
evas canvas: fix a proxy+map rendering issue.
This fix is wrt the non-updation of the proxy object.
If a source of a proxy object has mapped objects among its children,
Rendering frame won't be correct while they were keeping changing.
The reason is, evas_object_smart_changed_get() couldn't figure those changes
out correctly because of cached-clip visibility.
Cached-clip of smart member can't be used for map surface updation,
because cached-clip includes the visiblity status out of the smart object.
So, loose the criteria to make it rendering smart members in map.
Change-Id: I8d0f71e1766595ab4b0e31464e885364ba2db519
Hermet Park [Fri, 24 Jun 2016 10:03:09 +0000 (19:03 +0900)]
commit
05d81d3c63d22e9b99e842f9de50c209ab0b48eb
Author: Hermet Park <hermet@hermet.pe.kr>
Date: Fri Jun 24 11:33:04 2016 +0900
evas/canvas: rewrite a previous patch,
ed444b698b63e0086812062abb9e3065360eb0b2
Reviwed further, I found out the origin shouldn't be accumulated with
previous clippers origin. I forgot this function is recursive
function.
Change-Id: Ic66a9d8e2fc48f0af4f016067176c671409eb1e5
Joogab Yun [Wed, 22 Jun 2016 11:28:56 +0000 (20:28 +0900)]
[evas_tbm] fixed rotation when using tbm_surface
Change-Id: Iff73938313d147ef1b6eefaf16378a139fefe661
Hermet Park [Thu, 23 Jun 2016 15:53:05 +0000 (00:53 +0900)]
commit
ed444b698b63e0086812062abb9e3065360eb0b2
Author: Hermet Park <hermet@hermet.pe.kr>
Date: Fri Jun 24 00:48:34 2016 +0900
evas canvas: fix broken proxy clipping.
Origin of clipper's clipper won't be transformed to derivative space.
So it needs to transform the coordinate additionally.
Change-Id: I12e439d0a5ea6cf0eeebda1ba4791f6ed6a0dc99
Shinwoo Kim [Wed, 22 Jun 2016 05:03:38 +0000 (14:03 +0900)]
[spec] exclude eeze_scanner
Change-Id: I4f572bb4e6f5f9834b380f4b8f0da27485d76d16
Duna Oh [Wed, 22 Jun 2016 10:55:16 +0000 (19:55 +0900)]
ecore_wl: replace last_device_name_kbd only when device has a keyboard class
Change-Id: I759b3a0ea45e2a1ed97c04802c9f063349383196
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Seunghun Lee [Mon, 20 Jun 2016 12:15:33 +0000 (21:15 +0900)]
ecore-evas-wayland: Send a message of rotation change done before render flush.
compositor will accept a frame after receiving a message of rotation change done.
Change-Id: If16f53c2baa8ec6d701de1acfc104f8a1f47310f
Youngbok Shin [Tue, 21 Jun 2016 02:02:10 +0000 (11:02 +0900)]
Edje, Elementary: Remove <password=off> tag when password mode is disabled
Summary:
When edje_password_show_last option is enabled, the edje_entry uses <password=off>
for showing last character. But, when password mode is disabled by the elm_entry,
<password=off> is remained in the text. It can cause some problems.
Because, there is no way to control password mode by API for the edje_entry.
The elm_entry can't remove <password=off> tag before getting text from the edje_entry.
So, the patch adds edje_object_part_text_hide_visible_password() function and
the elm_entry will use this when elm_layout_theme_apply() is called.
@fix
Test Plan:
1. Run "elementary_test".
2. Show "Entry Password" demo. (Newly added by this patch)
3. Password mode is enabled. Put some text.
4. Click "Show Password" check box to disable password mode.
5. Put more text.
6. Click "Hide Password" check box to enable password mode again.
7. See a character among the text is visible. (without this patch)
Reviewers: tasn, herdsman, cedric, jpeg, thiepha, raster
Reviewed By: raster
Subscribers: Blackmole, z-wony, woohyun
Differential Revision: https://phab.enlightenment.org/D3988
* It includes a code for applying ON_HOLD flag for "Return" key event.
The code is merged into it by my mistake. But, it also should be merged to fix issues.
Change-Id: I6e962172dd166f053984806d80b81d06992ec5ce
Doyoun Kang [Tue, 21 Jun 2016 00:53:18 +0000 (09:53 +0900)]
ecore_wayland: added protocol and funtion for getting active angle
Change-Id: I465ccb630d39561db03870e7251eb36207c098a2
Wonsik, Jung [Mon, 20 Jun 2016 07:43:04 +0000 (16:43 +0900)]
[EvasGL] code clean up
Change-Id: Iccbc34c7d9c1cd3de1335553789f3fce8a8953a9
Joogab Yun [Mon, 20 Jun 2016 05:23:48 +0000 (14:23 +0900)]
[tbm_backend] add temporarily tbm_bufmgr_init for eglGetDisplay
Change-Id: I4e3386872d9536fcbb5cdf956727be5a52390594
Seunghun Lee [Fri, 17 Jun 2016 07:06:22 +0000 (16:06 +0900)]
ecore_evas_wl: add canvas damage for redrawing at the time to uniconify.
Change-Id: I3a7bfd298475033293fd4975653ed72f342ac851
Seunghun Lee [Fri, 13 May 2016 12:34:11 +0000 (21:34 +0900)]
evas: wayland_shm: Add implementation for interface of buffer_flusher.
the engine of evas wayland_shm will destroy its own shm buffer by buffer_flusher.
Change-Id: Ife54954c9186366b23b7c91b6bb3179925c7ac4f
Ji-Youn Park [Fri, 17 Jun 2016 10:17:55 +0000 (18:47 +0830)]
evas_image_load_bmp: fix bug that image is not decoded, if image is not perfact.
Change-Id: I1fa42a771f3119f913f18047dfa228bce5f9b137
Wonsik, Jung [Fri, 17 Jun 2016 00:26:28 +0000 (09:26 +0900)]
[Evas GL Common] remove commented code.
Remove commmented code in evas_gl_context.c
Consider that for EFL version upgrade.
Change-Id: Id748a77d8a3e19fcd938ae329690caba9f3ca5aa
Hosang Kim [Wed, 15 Jun 2016 09:53:40 +0000 (18:53 +0900)]
ecore_wl_input: fix key repeat logic.
In Tizen, Unfocused App can receive key event.
So repeat timer should not be deleted,
when _ecore_wl_input_cb_keyboard_leave is called.
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: Ia9ebe8a93361eef4ce166b4732fbd46beaac6df7
sunghyun kim [Wed, 30 Mar 2016 02:46:54 +0000 (11:46 +0900)]
[tbm_backend] implement tbm backend (gl_tbm and software_tbm)
1. dumy engine for Create Tbm backend
2. [Ecore_Evas_TBM] Add ecore_evas_tbm and evas_tbm_backend
3. [tbm_backend] remove bufmgr
- remove bufmgr in tbm backend
- redesign ext API
4. [tbm_backend] implement software tbm backend
5. add acquire/release pixel api & delete image fuction
6. [tbm_backend] implement tbm backend (gl_tbm and software_tbm)
Change-Id: If141e2d85e33cd5257a51108338c7afa8f0e3994
Thiep Ha [Thu, 26 Nov 2015 07:52:48 +0000 (09:52 +0200)]
edje entry: return correct selection
Summary:
In entry, when selection_get function is called, selection is not
always returned the current selection.
Scenario:
- In select mode, entry has selection (e.g, by double click).
- When selection handler is moved, set the cursor the current coordinate
with edje_object_part_text_cursor_pos_set() API.
- Edje emits "selection,changed" signal.
- Elementary gets current selection and stores it.
- Elementary does not get selection as visual selection (e.g, text is
highlighted with "entry test", but the selection returned
from edje is "entry").
- If we copy and then paste to the entry, the pasted text is not same as
selected text.
Reason:
- In _edje_entry_cursor_coord_set function, if entry has selection, we only
emit "selection,changed" signal without freeing en->selection.
- When _edje_entry_selection_get is called, we check the en->selection,
since it is existed, we just return it which is not updated one.
This patch clears en->selection, so that it is updated at _selection_get,
and the updated selection is returned to caller.
@fix
Test Plan:
In mobile profile, open entry
- Right click, choose select, double click -> selection handlers are shown.
- Drag selection handlers to change selection.
- Right click, do copy.
- Right click, do paste.
- See the pasted text is not same as selection.
Reviewers: raster, tasn, herdsman
Subscribers: seoz, JackDanielZ, cedric
Differential Revision: https://phab.enlightenment.org/D2746
Change-Id: I62e7bd9c8af9ae9048a3ff2d4f4c6912e1b33692
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
NakGyeong Kim [Wed, 8 Jun 2016 04:41:22 +0000 (13:41 +0900)]
ecore_wl_input: Add option for key conversion
Signed-off-by: NakGyeong Kim <nakkyong.kim@samsung.com>
Change-Id: Idad899845c4d90f4f2efbbc3682f10085cdc76f8
Duna Oh [Mon, 13 Jun 2016 12:56:47 +0000 (21:56 +0900)]
ecore_wl_input: add last_device_name_kbd for repeating key events
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I0c15587e930ac4c5c66354a6343c5d72368c2656
Joogab Yun [Fri, 10 Jun 2016 06:29:44 +0000 (15:29 +0900)]
[evas] bugfix - color format of native tbm surface
- sdk camera test
- If a other flag setup before the SHD_EXTERNAL
then color format problem happens
Change-Id: Id31de742e2a7527486c3816d2b6153c8fede12af
Jiwon Kim [Fri, 10 Jun 2016 07:40:01 +0000 (16:40 +0900)]
efreet : Remove launching efreed on Tizen
efreetd is used for freedesktop environment
But, Tizen is consisted of another environment
and desktop managing(based on freedesktop standard) does not needed to efreetd
Therefore, efreetd can be removed on Tizen.
But, libefreet is still left beause a few functions use libefreet in elementary.
- src/lib/efreet/efreet_cache.c: skip daemon launching sequence in efreet_cache_init()
- packaging/efl.spec: exclude installing efreed
@tizen_fix
Change-Id: I50f892e7121ae33532e8138d4dfc52741ca38986
Signed-off-by: Jiwon Kim <jiwon177.kim@samsung.com>
JeongHyun Kang [Fri, 10 Jun 2016 08:31:10 +0000 (17:31 +0900)]
Change a xkb state if chached keymap is changed
Change-Id: I94e04c79dd99db6fcdaa3a943aaa7e0bf1e76c0d
Doyoun Kang [Fri, 10 Jun 2016 01:07:48 +0000 (10:07 +0900)]
ecore_wayland: added the utility window type
Change-Id: I7472ba323f4492ccbf49bf470c470e9a4dc70817
Hosang Kim [Wed, 8 Jun 2016 09:40:36 +0000 (18:40 +0900)]
ecore_wl_input: fix key repeat condition.
Key repeat will be operated when window is unfocused.
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: I636c3a973ef340a312454a84f7de4eca5bb8eb8b
JeongHyun Kang [Thu, 9 Jun 2016 22:35:05 +0000 (07:35 +0900)]
ecore_wl_input: Fix memory leaks
Change-Id: Ideff36a5923afb7d7df68573c46f85b8b159a880
Junghwan Choi [Thu, 9 Jun 2016 12:33:57 +0000 (21:33 +0900)]
ecore_wl : add wl_log_set_handler_client
Change-Id: I7e4d26db0181153d5cffcadaf90ca2a4d6d5d154
Signed-off-by: Junghwan Choi <jhhh.choi@samsung.com>
Junkyeong Kim [Thu, 9 Jun 2016 09:50:58 +0000 (18:50 +0900)]
ecore_drm: do not use eeze udev for output and make output list only main output
Change-Id: Icff557766a616c69739c7ac8d26925404a7c019e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Wonki Kim [Wed, 8 Jun 2016 08:46:55 +0000 (17:46 +0900)]
efl_gfx_shape: Improve coordinate cacluation of vector graphic
Improvements have been already applied in Tizen 2.4 to resolve
the problem that the renderer don't draw a circle properly,
when a radius of the circle is odd.
Then this commit will resolve the same problem in Tizen 3.0.
Change-Id: Ibf856375c97ea811d4946fad0a1fad6d1f818451
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Joogab Yun [Wed, 8 Jun 2016 08:19:12 +0000 (17:19 +0900)]
[evas] use EVAS_GL_WAYLAND_Y_INVERTED_WL attribute of
eglQueryWaylandBufferWL
- 'yinvert=0' in YaGL of emulator, so we need check
EGL_WAYLAND_Y_INVERTED_WL attribute to query orientation of
wl_buffer
Change-Id: I98abbe72c882d83a4bf90081f5feb2462027fb7c
Prudhvi Raj, Vasireddi [Sun, 29 May 2016 15:08:59 +0000 (00:08 +0900)]
[Evas] Avoid setting AFILL flag for gl_drm based surface
Change-Id: Ifa79de5893e7b63fcdae5e4eebd24b511ccd5d21
Signed-off-by: Prudhvi Raj Vasireddi <prudhvi.raj@samsung.com>
Seungjin Park [Thu, 2 Jun 2016 11:16:40 +0000 (20:16 +0900)]
make input_region into NULL after destroyed
Signed-off-by: Seungjin Park <sj8808.park@samsung.com>
Change-Id: I23e31a690ee7b773e38bbd55fe94a8b8d97b43a7
JeongHyun Kang [Thu, 2 Jun 2016 11:02:05 +0000 (20:02 +0900)]
Call a release request if a device is removed
Change-Id: I00ab477fdebb799a3554daee3ed18544613973dc
JEONGHYUN YUN [Tue, 31 May 2016 01:20:24 +0000 (10:20 +0900)]
evas_object_key_grab exclusive option logic is changed.
- added is_active property in Evas_Key_Grab
- Evas key down and key up events transferred to active grabs only.
- If evas grabs has a exclusive grab, other grabs will be deactivated.
- If a exclusive grab is ungrabbed, remained grabs will be activated.
Signed-off-by: JEONGHYUN YUN <jh0506.yun@samsung.com>
Change-Id: I36ff752cc86262a0cfeb92d4f849bb3ae5b881d4
Boram Park [Wed, 1 Jun 2016 00:47:25 +0000 (09:47 +0900)]
set pending_flip before calling tdm_output_commit
The commit handler can be called in tdm_output_commit.
Change-Id: I1de00b2877d08bad0456463ea28acf02b047cf57
Duna Oh [Fri, 27 May 2016 08:10:12 +0000 (17:10 +0900)]
evas_device: fix build warning - use parentheses around assignment used as truth value
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I674d8c437c053782cc4d9170851bb8e58408a7c1
Duna Oh [Fri, 27 May 2016 08:03:52 +0000 (17:03 +0900)]
ecore_wl_input: fix build warning of incompatible pointer type
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: Ie079a31786a675e530da900da543154fbc975890
Duna Oh [Fri, 27 May 2016 05:52:46 +0000 (14:52 +0900)]
ecore_wl_input: use release as a destructor since wl_seat ver. is upgraded to 4
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I8f23ac19cba976bfb83b578ccac569b098cd8d3f
JunsuChoi [Mon, 23 May 2016 07:05:33 +0000 (16:05 +0900)]
wayland egl : Remove build warning for unused variable
Remove unused variable. and EINA_UNUSED macro was inserted after unused parameter.
Change-Id: Ic0ee6f5e0c62a87b0b8eeb1d539b7676b6ce51ff
JunsuChoi [Fri, 20 May 2016 08:19:00 +0000 (17:19 +0900)]
evas_engines_gl_drm : Remove build warning
- Remove unused variable.
- Some variables were type casted into void* for arithmetic warning.
- Changed type of 'last' variable type in _evas_outbuf_cb_pageflip() function.
Because, That is only used as 'struct gbm_bo' type.
Change-Id: Ic660edb8d5d1ea096bd3830736f57db85ed2b105
JunsuChoi [Fri, 20 May 2016 06:36:18 +0000 (15:36 +0900)]
evas_engines_drm : Remove build warning for unused parameter
EINA_UNUSED macro was inserted after unused parameter.
Change-Id: Ice5b9222dc7c566c78f8e27e5befabbc52c8d678
JunsuChoi [Tue, 10 May 2016 05:42:52 +0000 (14:42 +0900)]
evas_object_vg : Fix build warning for uninitialized variable.
initialized two variable
Change-Id: I9d1d48fbae1f1df3c6ed9de38b3b8ef36d5a59d1
JunsuChoi [Tue, 10 May 2016 07:28:39 +0000 (16:28 +0900)]
ecore_drm : Fix build warning for unused parameter and function.
Instead of some unused parameters (void)variable_name line
and remove unused function.
Change-Id: Iddf588aa35c7284539de1a88d27b717094b010bb
JunsuChoi [Tue, 17 May 2016 01:42:44 +0000 (10:42 +0900)]
Ecore Wayland : Remove build warning
Remove build warning from ecore_wl_input.c, _window.c
I did remove unused variable and add EINA_UNUSED for unused parameter.
Also, I added type casting for 'uintptr' type
Change-Id: I8a53efbd1712debc3331627d8e2da4bcb4176c0c
JunsuChoi [Fri, 20 May 2016 06:25:52 +0000 (15:25 +0900)]
ecore_input_evas : Remove build warning for unused parameter
EINA_UNUSED macro was inserted after unused parameter.
Change-Id: Id8ba8ec955f6dc4e9f7de89aa736d9d6dbdb5c60
Joogab Yun [Thu, 26 May 2016 00:30:39 +0000 (09:30 +0900)]
[evas] bugfix - color format of native tbm surface
there is color format bug in camera test, so change shader code
and DDK modification is necessary
Change-Id: I547199174aa063453baefaa1c4b48ff8926f6b79
MinJeong Kim [Tue, 24 May 2016 07:20:25 +0000 (16:20 +0900)]
ecore-wayland: fixed wrong variable for NULL check
Change-Id: I8d01cfbc0e331951c3e84077d0708eb9a5e3d71c
Junho Jung [Mon, 23 May 2016 10:53:30 +0000 (19:53 +0900)]
[Event] Fix worng data type calc in keyboard_repeat_setup.
- repeat's member is double type. but input data is int type.
Change-Id: I6eda2f8530aa9df8149342f8fa204369a04cbb8b
Duna Oh [Mon, 23 May 2016 05:05:10 +0000 (14:05 +0900)]
Evas Device: fix segv in evas_device_cleanup
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I4194399a60ee9c99b9c884d8559dcb29608c4127
Woochan Lee [Thu, 19 May 2016 10:18:12 +0000 (03:18 -0700)]
Merge "ecore_wl: Considering screen height size, when calc dpi." into tizen
sunghyun kim [Thu, 19 May 2016 05:57:53 +0000 (22:57 -0700)]
Merge "[wayland_egl] delete evas_engine_info_set in ecore_evas_wl_hide" into tizen
Woochan Lee [Thu, 19 May 2016 05:38:07 +0000 (14:38 +0900)]
ecore_wl: Considering screen height size, when calc dpi.
Change-Id: I7ba6b5961d23369c443f62c2c4d73645e32a9c5a
Doyoun Kang [Thu, 19 May 2016 03:06:01 +0000 (12:06 +0900)]
ecore_wayland: fixed resource leak
Change-Id: I6966ec74582b710ea3b4f7f0c3f60cc03af998ec
Doyoun Kang [Thu, 19 May 2016 03:01:12 +0000 (12:01 +0900)]
ecore_evas: remove build warning
Change-Id: I2d703a88cc13ac53c9b4ffaf6742bd8ed4939add
Duna Oh [Thu, 19 May 2016 01:58:36 +0000 (10:58 +0900)]
Evas Device: use EINA_LIST_FOREACH_SAFE instead of EINA_LIST_FREE
evas_device_del does eina_list_remove, and EINA_LIST_FREE does the same thing.
It can causes memory leak and possible crash. (reported by valgrind)
Signed-off-by: Duna Oh <duna.oh@samsung.com>
Change-Id: I2166f1eb4672ffe65dd961d608557018ade1cae0
Jihoon Kim [Thu, 19 May 2016 01:03:51 +0000 (18:03 -0700)]
Merge "ecore_imf: Add multiline hint in input hint" into tizen
Hosang Kim [Wed, 18 May 2016 05:53:21 +0000 (14:53 +0900)]
ecore_wl_input: add logic for waiting until "wl input" is ready
Sometimes wl input is not ready, because it is async process to create
wl input.
Signed-off-by: Hosang Kim <hosang12.kim@samsung.com>
Change-Id: I8869fb51f178425830dc1ff3825c60e2b7920b68
Jihoon Kim [Wed, 18 May 2016 06:20:05 +0000 (15:20 +0900)]
ecore_imf: Add multiline hint in input hint
@feature
Change-Id: I6d20ba7315fed8d17be212a1c03f63ce674afce2
Youngbok Shin [Wed, 18 May 2016 04:29:18 +0000 (21:29 -0700)]
Merge "Evas text: fix RTL text ellipsis issues" into tizen