platform/upstream/elementary.git
10 years agotest application server: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 16:25:38 +0000 (17:25 +0100)]
test application server: Adjusted to Eo2.

10 years agowin: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 16:23:03 +0000 (17:23 +0100)]
win: Adjusted to Eo2.

10 years agowidget: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 16:21:05 +0000 (17:21 +0100)]
widget: Adjusted to Eo2.

10 years agoweb: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 16:13:49 +0000 (17:13 +0100)]
web: Adjusted to Eo2.

10 years agovideo: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 16:13:10 +0000 (17:13 +0100)]
video: Adjusted to Eo2.

10 years agotoolbar: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 16:12:41 +0000 (17:12 +0100)]
toolbar: Adjusted to Eo2.

10 years agothumb: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 16:00:37 +0000 (17:00 +0100)]
thumb: Adjusted to Eo2.

10 years agotable: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:56:23 +0000 (16:56 +0100)]
table: Adjusted to Eo2.

10 years agospinner: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:55:07 +0000 (16:55 +0100)]
spinner: Adjusted to Eo2.

10 years agoslideshow: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:53:52 +0000 (16:53 +0100)]
slideshow: Adjusted to Eo2.

10 years agoslider: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:53:19 +0000 (16:53 +0100)]
slider: Adjusted to Eo2.

10 years agoseparator: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:51:55 +0000 (16:51 +0100)]
separator: Adjusted to Eo2.

10 years agosegment control: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:51:11 +0000 (16:51 +0100)]
segment control: Adjusted to Eo2.

10 years agoscroller: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:50:15 +0000 (16:50 +0100)]
scroller: Adjusted to Eo2.

10 years agoroute: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:46:01 +0000 (16:46 +0100)]
route: Adjusted to Eo2.

10 years agoradio: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:45:35 +0000 (16:45 +0100)]
radio: Adjusted to Eo2.

10 years agoprogressbar: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:44:14 +0000 (16:44 +0100)]
progressbar: Adjusted to Eo2.

10 years agoprefs: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:42:49 +0000 (16:42 +0100)]
prefs: Adjusted to Eo2.

10 years agoplug: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:41:59 +0000 (16:41 +0100)]
plug: Adjusted to Eo2.

10 years agophotocam: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:41:05 +0000 (16:41 +0100)]
photocam: Adjusted to Eo2.

10 years agophoto: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:39:38 +0000 (16:39 +0100)]
photo: Adjusted to Eo2.

10 years agopanes: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:38:49 +0000 (16:38 +0100)]
panes: Adjusted to Eo2.

10 years agonotify: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:36:36 +0000 (16:36 +0100)]
notify: Adjusted to Eo2.

10 years agomenu: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:35:37 +0000 (16:35 +0100)]
menu: Adjusted to Eo2.

10 years agomapbuf: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:34:29 +0000 (16:34 +0100)]
mapbuf: Adjusted to Eo2.

10 years agomap: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:33:52 +0000 (16:33 +0100)]
map: Adjusted to Eo2.

10 years agolist: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:32:21 +0000 (16:32 +0100)]
list: Adjusted to Eo2.

10 years agolayout: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:30:35 +0000 (16:30 +0100)]
layout: Adjusted to Eo2.

10 years agolabel: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:27:05 +0000 (16:27 +0100)]
label: Adjusted to Eo2.

10 years agoinwin: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:25:28 +0000 (16:25 +0100)]
inwin: Adjusted to Eo2.

10 years agointerface scrollable: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:23:51 +0000 (16:23 +0100)]
interface scrollable: Adjusted to Eo2.

10 years agointerface atspi component: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:20:32 +0000 (16:20 +0100)]
interface atspi component: Adjusted to Eo2.

10 years agoindex: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:18:15 +0000 (16:18 +0100)]
index: Adjusted to Eo2.

10 years agoimage: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:17:22 +0000 (16:17 +0100)]
image: Adjusted to Eo2.

10 years agoicon: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:15:48 +0000 (16:15 +0100)]
icon: Adjusted to Eo2.

10 years agohover: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:13:46 +0000 (16:13 +0100)]
hover: Adjusted to Eo2.

10 years agogrid: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:10:56 +0000 (16:10 +0100)]
grid: Adjusted to Eo2.

10 years agoglview: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:10:15 +0000 (16:10 +0100)]
glview: Adjusted to Eo2.

10 years agogenlist: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:09:35 +0000 (16:09 +0100)]
genlist: Adjusted to Eo2.

10 years agogengrid: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:07:36 +0000 (16:07 +0100)]
gengrid: Adjusted to Eo2.

10 years agoframe: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:06:01 +0000 (16:06 +0100)]
frame: Adjusted to Eo2.

10 years agoflipselector: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:05:07 +0000 (16:05 +0100)]
flipselector: Adjusted to Eo2.

10 years agoflip: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:04:11 +0000 (16:04 +0100)]
flip: Adjusted to Eo2.

10 years agoentry: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 15:02:32 +0000 (16:02 +0100)]
entry: Adjusted to Eo2.

10 years agodiskselector: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 14:10:04 +0000 (15:10 +0100)]
diskselector: Adjusted to Eo2.

10 years agodbus menu: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 14:05:31 +0000 (15:05 +0100)]
dbus menu: Adjusted to Eo2.

10 years agodayselector: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 14:03:20 +0000 (15:03 +0100)]
dayselector: Adjusted to Eo2.

10 years agodatetime: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:57:11 +0000 (14:57 +0100)]
datetime: Adjusted to Eo2.

10 years agoconformant: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:55:57 +0000 (14:55 +0100)]
conformant: Adjusted to Eo2.

10 years agocolorselector: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:55:07 +0000 (14:55 +0100)]
colorselector: Adjusted to Eo2.

10 years agocnp: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:54:14 +0000 (14:54 +0100)]
cnp: Adjusted to Eo2.

10 years agoclock: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:51:21 +0000 (14:51 +0100)]
clock: Adjusted to Eo2.

10 years agocheck: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:50:21 +0000 (14:50 +0100)]
check: Adjusted to Eo2.

10 years agocalendar: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:49:09 +0000 (14:49 +0100)]
calendar: Adjusted to Eo2.

10 years agobutton: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:48:15 +0000 (14:48 +0100)]
button: Adjusted to Eo2.

10 years agobubble: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:47:03 +0000 (14:47 +0100)]
bubble: Adjusted to Eo2.

10 years agobox: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:46:22 +0000 (14:46 +0100)]
box: Adjusted to Eo2.

10 years agoatspi bridge: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:45:21 +0000 (14:45 +0100)]
atspi bridge: Adjusted to Eo2.

10 years agoatspi object: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:35:15 +0000 (14:35 +0100)]
atspi object: Adjusted to Eo2.

10 years agoapp client view: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:28:24 +0000 (14:28 +0100)]
app client view: Adjusted to Eo2.

10 years agoapp client: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:26:23 +0000 (14:26 +0100)]
app client: Adjusted to Eo2.

10 years agoapp server view: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:24:13 +0000 (14:24 +0100)]
app server view: Adjusted to Eo2.

10 years agoapp server: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:21:40 +0000 (14:21 +0100)]
app server: Adjusted to Eo2.

10 years agoactionslider: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:09:52 +0000 (14:09 +0100)]
actionslider: Adjusted to Eo2.

10 years agopopup: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:08:39 +0000 (14:08 +0100)]
popup: Adjusted to Eo2.

10 years agoplayer: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:05:41 +0000 (14:05 +0100)]
player: Adjusted to Eo2.

10 years agonaviframe: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:04:32 +0000 (14:04 +0100)]
naviframe: Adjusted to Eo2.

10 years agomultibuttonentry: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:02:23 +0000 (14:02 +0100)]
multibuttonentry: Adjusted to Eo2.

10 years agohoversel: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 13:00:20 +0000 (14:00 +0100)]
hoversel: Adjusted to Eo2.

10 years agofileselector entry: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 12:58:26 +0000 (13:58 +0100)]
fileselector entry: Adjusted to Eo2.

10 years agofileselector button: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 12:55:13 +0000 (13:55 +0100)]
fileselector button: Adjusted to Eo2.

10 years agofileselector: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 12:53:04 +0000 (13:53 +0100)]
fileselector: Adjusted to Eo2.

10 years agoCtxpopup: Adjusted to Eo2.
Tom Hacohen [Thu, 3 Apr 2014 12:46:17 +0000 (13:46 +0100)]
Ctxpopup: Adjusted to Eo2.

10 years agolayout: expose a typedef that needs to be public (Content_Alias).
Tom Hacohen [Thu, 3 Apr 2014 14:43:26 +0000 (15:43 +0100)]
layout: expose a typedef that needs to be public (Content_Alias).

This typedef is used in publicly exposed APIs.

10 years agodnd: Skip drag window when drag starts
Thiep Ha [Thu, 10 Apr 2014 02:20:50 +0000 (11:20 +0900)]
dnd: Skip drag window when drag starts

Summary:
Currently, when drag starts, drag window is not skipped. It makes ecore_x cannot find dropable window in some cases.

Issue: Dropable window is not found if we drop inside the initialized area of drag window.
(Example: in Dnd Types of elementary test, try to start dragging at right edge of left label and drop to left edge of right label. The drop is failed).
Reason: Ecore_x considers drag window when it tries to find dropable window at specific position. Therefore, it cannot find dropable window.
Resolve: Skip drag window.
@fix

Reviewers: raster, JackDanielZ, seoz

CC: woohyun, seoz
Differential Revision: https://phab.enlightenment.org/D710

10 years agonaviframe: apply key binding
Jaeun Choi [Thu, 10 Apr 2014 02:14:59 +0000 (11:14 +0900)]
naviframe: apply key binding

Summary: This patch applies key binding to elc_naviframe.

Test Plan: elementary_test > Naviframe > check key events

Reviewers: Hermet

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

10 years agofleselector_button: Implement some missing interfaces of Elm_Interface_Fileselector
Ryuan Choi [Wed, 9 Apr 2014 15:49:10 +0000 (00:49 +0900)]
fleselector_button: Implement some missing interfaces of Elm_Interface_Fileselector

Implemented below.
- Elm_Interface_Fileselector::selected_paths::get;
- Elm_Interface_Fileselector::thumbnail_size;
- Elm_Interface_Fileselector::selected;
- Elm_Interface_Fileselector::hidden_visible;
- Elm_Interface_Fileselector::sort_method;
- Elm_Interface_Fileselector::multi_select;
- Elm_Interface_Fileselector::mode;

10 years agoelementary: when modal win appears another wins are blocked
Bogdan Devichev [Wed, 9 Apr 2014 10:04:55 +0000 (19:04 +0900)]
elementary: when modal win appears another wins are blocked

Summary:
In win.edc add blocker for its content and programs for it. Add
Eina_Bool blocked and was_enabled to _Elm_Menu_Item for correctly blocking
and unblocking of main_menu. They used for saving state which was before modal
win was apeared. Add callbacks and private functions in menu.c for blocking and
unblocking menu. Add integer modal_count to Elm_Win_Smart_Data for creating
enum of modal wins. Add changes in win.c for blocking content, in_focus callback
and menu while modal win is exist.

Reviewers: cedric, seoz, raster

Reviewed By: raster

CC: reutskiy.v.v, raster
Differential Revision: https://phab.enlightenment.org/D607

10 years agogenlist event_block_rect needs a smart parent to reduce BITCH
Mike Blumenkrantz [Tue, 8 Apr 2014 20:23:07 +0000 (16:23 -0400)]
genlist event_block_rect needs a smart parent to reduce BITCH

10 years agolist: Fixed _elm_list_item_content_focus_set in case the first content
Daniel Juyung Seo [Sun, 6 Apr 2014 19:13:01 +0000 (04:13 +0900)]
list: Fixed _elm_list_item_content_focus_set in case the first content
is focused.

The function should return true when the first content of an item is
focused.

@fix

10 years agolist: Refactor direction key event handling routine in list.
Daniel Juyung Seo [Sun, 6 Apr 2014 19:01:32 +0000 (04:01 +0900)]
list: Refactor direction key event handling routine in list.

- Added internal function _elm_list_elm_widget_event_direction.
- Simplified cascaded if statements.
- Note: focus_on_selection feature is still broken.

10 years agolist: Fixed _elm_list_item_content_focus_set misbehavior.
Daniel Juyung Seo [Sun, 6 Apr 2014 18:08:20 +0000 (03:08 +0900)]
list: Fixed _elm_list_item_content_focus_set misbehavior.

- Moved a check for direction at the start of the function based on the
horizontal mode configuration.
- Removed unnecessary focus set to edje object. In this case, that item
will get the focus automatically by elm widget item focus
infrastructure.

But this focus_on_selection feature is still broken. I need to fix them
more.

10 years agotest_list: Removed wrong box packing from list focus example.
Daniel Juyung Seo [Sun, 6 Apr 2014 15:58:22 +0000 (00:58 +0900)]
test_list: Removed wrong box packing from list focus example.

10 years agofocus: Renamed the config APIs _item_focus_on_selection_get/set to _item_select_on_fo...
Amitesh Singh [Sat, 5 Apr 2014 15:10:55 +0000 (00:10 +0900)]
focus: Renamed the config APIs _item_focus_on_selection_get/set to _item_select_on_focus_disabled_set/get()

Summary: - List: On Enter/Space/KP_Enter key press, focused item gets selected.

Test Plan: elementary_test->List Focus

Reviewers: seoz, raster

Reviewed By: seoz

CC: seoz
Differential Revision: https://phab.enlightenment.org/D704

10 years agogengrid: Fixed wrong formatting.
Daniel Juyung Seo [Fri, 4 Apr 2014 16:18:26 +0000 (01:18 +0900)]
gengrid: Fixed wrong formatting.

10 years agoplug: fix SEGV of elementary_test during reconnecting
wonguk.jeong [Fri, 4 Apr 2014 03:18:48 +0000 (12:18 +0900)]
plug: fix SEGV of elementary_test during reconnecting

Summary:
problem:
1. open window socket
2. open window plug
3. close window socket
4. open window socket
5. SEGV

there was invalid timer deletion due to dangling pointer.

@fix

Test Plan: elementary_test -> open window socket -> open window plug -> close window socket -> open window socket ->SEGV

Reviewers: raster, seoz

Reviewed By: raster

CC: seoz
Differential Revision: https://phab.enlightenment.org/D699

10 years agolist/genlist/gengrid/toolbar: Fix - _nearest_visible_item_get() should always return...
Amitesh Singh [Fri, 4 Apr 2014 03:04:04 +0000 (12:04 +0900)]
list/genlist/gengrid/toolbar: Fix - _nearest_visible_item_get() should always return an item.

Test Plan:
Bug:
- elementary_test->genlist/list/toolbar/gengrid Focus
- Resize the window to a state when no item is fully visible. only partially visible.
- Move Focus from outer widgets (Up/Down/Left/right buttons) to list/genlist/gengrid/toolbar.
- Focus goes away (size - 0). Reason: _nearest_visible_item_get returns NULL.

@fix

Reviewers: seoz, raster, woohyun

Reviewed By: raster

CC: seoz, nirajkr, anand.km
Differential Revision: https://phab.enlightenment.org/D696

10 years agomap: remove memory leak
wonguk.jeong [Fri, 4 Apr 2014 02:47:39 +0000 (11:47 +0900)]
map: remove memory leak

Summary:
1. Name of sources from external module was not free'd. (there was type mismatch between external module and internal impl.)
2. after eina_module_list_free(), eina_array_free() was not invoked.
3. alloc'd but not free'd

@fix

Test Plan: valgrind

Reviewers: raster, cedric, seoz, bluezery, woohyun

CC: seoz
Differential Revision: https://phab.enlightenment.org/D661

10 years agoInterface scrollable: Added missing dep.
Tom Hacohen [Thu, 3 Apr 2014 16:58:59 +0000 (17:58 +0100)]
Interface scrollable: Added missing dep.

10 years agoElm interface scrollable: Put .eo.h include after needed deps.
Tom Hacohen [Thu, 3 Apr 2014 14:53:58 +0000 (15:53 +0100)]
Elm interface scrollable: Put .eo.h include after needed deps.

10 years agoElm widget: Put typedef needed by include before the include.
Tom Hacohen [Thu, 3 Apr 2014 12:34:31 +0000 (13:34 +0100)]
Elm widget: Put typedef needed by include before the include.

10 years agoGengrid: fix segv in _elm_gengrid_item_edge_check.
Amitesh Singh [Thu, 3 Apr 2014 12:06:36 +0000 (21:06 +0900)]
Gengrid: fix segv in _elm_gengrid_item_edge_check.

Reviewers: raster, seoz

Reviewed By: raster

CC: seoz
Differential Revision: https://phab.enlightenment.org/D695

10 years agofix eina log err for mirro set
Carsten Haitzler (Rasterman) [Thu, 3 Apr 2014 10:34:43 +0000 (19:34 +0900)]
fix eina log err for mirro set

this fixes T1104

10 years agogengrid: Fixed the focus animation in horizontal mode
nirajkr [Thu, 3 Apr 2014 10:19:45 +0000 (19:19 +0900)]
gengrid: Fixed the focus animation in horizontal mode

Summary:
Fixed the focus animation in horizontal mode. Earlier focus was moving
         out of the view port in horizontal mode
         @fix

Reviewers: seoz, raster

CC: seoz, singh.amitesh
Differential Revision: https://phab.enlightenment.org/D693

10 years agoelm_map: Fixed a leak when ecore_file_download_full fails
Rajesh PS [Thu, 3 Apr 2014 10:16:14 +0000 (19:16 +0900)]
elm_map: Fixed a leak when ecore_file_download_full fails

Summary:
The url variable used for ecore_file_download_full api was not being freed when the api failed

@fix

Test Plan: elementary_test->map

Reviewers: seoz, daniel, raster

Reviewed By: raster

CC: govi
Differential Revision: https://phab.enlightenment.org/D692

10 years agofocus: Added optional focus feature - item focus on selection.
Amitesh Singh [Thu, 3 Apr 2014 10:11:57 +0000 (19:11 +0900)]
focus: Added optional focus feature - item focus on selection.

Summary:
Currenly focus and selection happens together. This patch makes item focus
on selection optional by configuration and API.

- configuration: "item_focus_on_selection".
- API: elm_config_item_focus_on_selection_get/set.
- Implemented item_focus_on_selection feature in elm list.
@feature

Test Plan: elementary_test->List focus

Reviewers: raster, seoz, woohyun

CC: seoz
Differential Revision: https://phab.enlightenment.org/D676

10 years agofocus: Avoid un-necessary focus animation call
nirajkr [Thu, 3 Apr 2014 10:10:53 +0000 (19:10 +0900)]
focus: Avoid un-necessary focus animation call

Summary: Avoid un-necessary focus animation call if the source and target have same co-ordinate

Reviewers: seoz, woohyun, raster

CC: seoz, singh.amitesh
Differential Revision: https://phab.enlightenment.org/D679

10 years ago[Elm_Dnd] Fix segmentation fault when deleting object with same registered drop callbacks
Thiep Ha [Thu, 3 Apr 2014 10:08:07 +0000 (19:08 +0900)]
[Elm_Dnd] Fix segmentation fault when deleting object with same registered drop callbacks

Summary:
In case we register two or more of same drop callbacks for one object, when that object is deleted, segmentation fault happens.

Test case: Register only same callbacks more than two times for one object. Delete that object (manual or auto). Segmentation fault happens.
Reason: When object is deleted, we remove all drop callbacks registered with the object. The _all_drops_targets_cbs_del and elm_drop_target_del are used to do that and they operates on the same cbs_list. If elm_drop_target_del remove the current and the next callbacks in cbs_list, the segmentation fault will happen at _all_drops_targets_cbs_del.
Fix: Check and use updated cbs_list.

@fix

Reviewers: JackDanielZ, raster, seoz

Reviewed By: JackDanielZ

CC: woohyun
Differential Revision: https://phab.enlightenment.org/D691

10 years agotest_gengrid: Added more test cases to reveal bugs in horizontal mode.
Amitesh Singh [Thu, 3 Apr 2014 09:39:30 +0000 (18:39 +0900)]
test_gengrid: Added more test cases to reveal bugs in horizontal mode.

Summary:
- Added focus highlight, focus animation & horizontal mode option to enable/disable.
- Removed unnecessary frame and label from test code.

Test Plan: elementary_test -to "Gengrid Focus"

Reviewers: seoz, raster

CC: seoz, nirajkr
Differential Revision: https://phab.enlightenment.org/D683

10 years agogengrid: Added feature to move focus out of gengrid if focus is on edge items.
Amitesh Singh [Thu, 3 Apr 2014 09:31:47 +0000 (18:31 +0900)]
gengrid: Added feature to move focus out of gengrid if focus is on edge items.

Summary:
Earlier, Focus can only move out of gengrid from first or last item.
Now, Focus can move out of gengrid if focus is on edge items.
@feature

Test Plan: elementary_test->Gengrid Focus

Reviewers: raster, seoz

CC: seoz, nirajkr
Differential Revision: https://phab.enlightenment.org/D682