Commit Graph

10040 Commits

Author SHA1 Message Date
Tom Hacohen d616bc4828 box: Adjusted to Eo2. 2014-04-10 09:34:59 +01:00
Tom Hacohen 7623c27feb atspi bridge: Adjusted to Eo2. 2014-04-10 09:34:59 +01:00
Tom Hacohen 6a334fb4d5 atspi object: Adjusted to Eo2. 2014-04-10 09:34:59 +01:00
Tom Hacohen 8e0c7f6cb1 app client view: Adjusted to Eo2. 2014-04-10 09:34:59 +01:00
Tom Hacohen 1c2d0aaa51 app client: Adjusted to Eo2. 2014-04-10 09:34:59 +01:00
Tom Hacohen 7a7c299cc7 app server view: Adjusted to Eo2. 2014-04-10 09:34:59 +01:00
Tom Hacohen 2b27363ae7 app server: Adjusted to Eo2. 2014-04-10 09:34:59 +01:00
Tom Hacohen a5495e3bee actionslider: Adjusted to Eo2. 2014-04-10 09:34:59 +01:00
Tom Hacohen 45695cda3f popup: Adjusted to Eo2. 2014-04-10 09:34:59 +01:00
Tom Hacohen 3e442beffb player: Adjusted to Eo2. 2014-04-10 09:34:59 +01:00
Tom Hacohen 9c6576d1c6 naviframe: Adjusted to Eo2. 2014-04-10 09:34:59 +01:00
Tom Hacohen 5a1d105c5e multibuttonentry: Adjusted to Eo2. 2014-04-10 09:34:59 +01:00
Tom Hacohen 4a3a802a5d hoversel: Adjusted to Eo2. 2014-04-10 09:34:59 +01:00
Tom Hacohen 83fc130dd4 fileselector entry: Adjusted to Eo2. 2014-04-10 09:34:59 +01:00
Tom Hacohen 978223b0a1 fileselector button: Adjusted to Eo2. 2014-04-10 09:34:59 +01:00
Tom Hacohen a7ac744f37 fileselector: Adjusted to Eo2. 2014-04-10 09:34:59 +01:00
Tom Hacohen 2d802ca794 Ctxpopup: Adjusted to Eo2. 2014-04-10 09:34:58 +01:00
Jaeun Choi 624b278c44 scroller: apply key binding
Summary: This patch applies key binding to elm_scroller.

Test Plan: elementary_test > Scroller > check key events

Reviewers: Hermet, raster

Differential Revision: https://phab.enlightenment.org/D711
2014-04-10 17:10:00 +09:00
Carsten Haitzler b546eec851 fix new access of uninitted memory isue on eo move 2014-04-10 17:03:27 +09:00
Jean-Philippe Andre 04e7ebb083 Makefile: Add @EVIL_LIBS@ for access_output
Thanks Adrien for the report and fix.
2014-04-10 16:07:05 +09:00
Carsten Haitzler df206b852b elm cnip - fix new cnp problem where invalid mem ref done 2014-04-10 15:06:35 +09:00
Tom Hacohen 794f95d7c8 layout: expose a typedef that needs to be public (Content_Alias).
This typedef is used in publicly exposed APIs.
2014-04-10 03:41:52 +01:00
Thiep Ha c1853c5ae0 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
2014-04-10 11:20:50 +09:00
Jaeun Choi df2b76dcc1 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
2014-04-10 11:14:59 +09:00
Ryuan Choi c8d412d07f 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;
2014-04-10 00:52:37 +09:00
Bogdan Devichev ac038d7982 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
2014-04-09 19:04:55 +09:00
Mike Blumenkrantz 8fba6f77e9 genlist event_block_rect needs a smart parent to reduce BITCH 2014-04-08 16:23:07 -04:00
Daniel Juyung Seo 5cc573f361 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
2014-04-07 04:13:01 +09:00
Daniel Juyung Seo 42483955ca 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.
2014-04-07 04:12:41 +09:00
Daniel Juyung Seo a80edec90c 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.
2014-04-07 03:10:21 +09:00
Daniel Juyung Seo 9607969c6a test_list: Removed wrong box packing from list focus example. 2014-04-07 00:58:22 +09:00
Amitesh Singh 68b3bc3583 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
2014-04-06 00:10:55 +09:00
Daniel Juyung Seo 04205fd513 gengrid: Fixed wrong formatting. 2014-04-05 01:18:26 +09:00
wonguk.jeong c2e8ef52ad 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
2014-04-04 12:18:48 +09:00
Amitesh Singh 1479664ec0 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
2014-04-04 12:04:04 +09:00
wonguk.jeong 173df1d361 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
2014-04-04 11:47:40 +09:00
Tom Hacohen 84fab21e21 Interface scrollable: Added missing dep. 2014-04-03 17:58:59 +01:00
Tom Hacohen b11b56ea43 Elm interface scrollable: Put .eo.h include after needed deps. 2014-04-03 15:53:58 +01:00
Tom Hacohen 2357e563c1 Elm widget: Put typedef needed by include before the include. 2014-04-03 13:34:31 +01:00
Amitesh Singh 13d69bcd9d Gengrid: fix segv in _elm_gengrid_item_edge_check.
Reviewers: raster, seoz

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D695
2014-04-03 21:06:36 +09:00
Carsten Haitzler dea994be94 fix eina log err for mirro set
this fixes T1104
2014-04-03 19:34:43 +09:00
nirajkr 5fca06cdb7 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
2014-04-03 19:19:45 +09:00
Rajesh PS 69bdc47081 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
2014-04-03 19:16:14 +09:00
Amitesh Singh 73b16ef210 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
2014-04-03 19:11:57 +09:00
nirajkr e839950126 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
2014-04-03 19:10:53 +09:00
Thiep Ha 58b6b6596a [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
2014-04-03 19:08:07 +09:00
Amitesh Singh 81ff09a877 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
2014-04-03 18:39:30 +09:00
Amitesh Singh d28e8010b7 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
2014-04-03 18:31:47 +09:00
Daniel Zaoui 8c86eecb4b Fix Uninitialized scalar variable reported by Coverity.
Fixes Coverity CID1195446
2014-04-03 12:08:38 +03:00
Carsten Haitzler cac144658d fix elm notify (and popup) after win position fixes 2014-04-03 17:31:23 +09:00