Commit Graph

9669 Commits

Author SHA1 Message Date
nirajkr fcfeba5097 gengrid : Implementation for gengrid item focus support
Summary:
Implemented the following API to support gengrid item_focus
          1. _elm_gengrid_focus_highlight_geometry_get
          2. _elm_gengrid_focused_item_get
          3. _item_focus_up
          4. _item_focus_down
          5. _item_focus_right
          6. _item_focus_down
          7. _item_focus_set_hook
          8. _item_focus_get_hook
          9. _item_focused
          10. _item_unfocused
          11. Changes in the smart_event, pan_calculation, smart_on_focus to support item focus

Reviewers: seoz, woohyun, singh.amitesh, raster

CC: raster

Differential Revision: https://phab.enlightenment.org/D550
2014-03-21 17:00:46 +09:00
Carsten Haitzler ae26fa446f fix scrollbar to be clickable even if vieport is tiny compared to content
@fix
2014-03-21 12:20:43 +09:00
Daniel Juyung Seo aa94a311f5 test_dnd: Fixed memory leak. Free item's data on item deletion.
This fixes coverity CID 1193246:  Resource leak  (RESOURCE_LEAK).
2014-03-21 02:35:29 +09:00
Daniel Juyung Seo fadcf243ce access: Fixed memory leak.
This fixes coverity CID 1193244:  Resource leak  (RESOURCE_LEAK).

@fix
2014-03-21 02:33:22 +09:00
Daniel Juyung Seo 8f7c12fef7 index: Set variable to NULL after free.
Then NULL check for this variable is not valid.
This fixes coverity CID 1193250:  Use after free  (USE_AFTER_FREE).

@fix
2014-03-21 00:55:31 +09:00
Daniel Juyung Seo 51237d9606 atspi_object: Added missing comma.
This fixes coverity CID 1193238:  Missing comma in a string array
initialization  (MISSING_COMMA)

@fix
2014-03-21 00:49:52 +09:00
Daniel Juyung Seo a31c16d243 diskselector: Compare correct variables.
It was comparing the same variable.
Fixed coverity CID 1193236:  Pointless string comparison
(CONSTANT_EXPRESSION_RESULT)

@fix
2014-03-21 00:46:47 +09:00
Ryuan Choi 7fdf597440 test_web: Improve fullscreen test case.
Improved fullscreen api tests not to show other widgets when web page requires fullscreen.
2014-03-20 23:30:53 +09:00
Daniel Zaoui fc7bf80916 Eolian: Integration of Datetime 2014-03-20 15:19:50 +02:00
Daniel Zaoui bb7822e7e2 Eolian: Integration of Ctx Popup 2014-03-20 15:19:50 +02:00
Daniel Zaoui ba2a255b8c Eolian: Integration of Conformant 2014-03-20 15:19:49 +02:00
Daniel Zaoui 9a240dfedc Eolian: Integration of Color Selector 2014-03-20 15:19:49 +02:00
Daniel Zaoui ee1003af32 Eolian: Integration of Clock 2014-03-20 15:19:49 +02:00
Daniel Zaoui f1ff0f58bf Eolian: Integration of Check 2014-03-20 15:19:49 +02:00
Daniel Zaoui ede5646e76 Eolian: Integration of Calendar 2014-03-20 15:19:49 +02:00
Daniel Zaoui 558c884001 Eolian: Integration of Button 2014-03-20 15:19:49 +02:00
Daniel Zaoui 9e0ffc26cd Eolian: Integration of Bubble 2014-03-20 15:19:49 +02:00
Daniel Zaoui a9fe9693c0 Eolian: Integration of Box 2014-03-20 15:19:49 +02:00
Bora Hwang 5bbf7d9af5 clear up the documentation of tooltip
Summary: Since explanations of tooltip's APIs are scattered in header or source code, these needs to be cleared up.

Reviewers: seoz, Hermet, woohyun, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D644
2014-03-20 20:12:02 +09:00
Thiep Ha 197458d0f6 [Elm_Entry] Update selection handlers position and its visibility when scrolling
Summary:
Selection handlers' position are not updated when entry is scrolled.
You can check on elementary_test -> Entry 3 (or Entry 4 which is scrollable) -> Select some text -> Scroll entry and see.
This patch is submitted to fix this bug. It update selection handlers' position when entry is scrolled and hide them if needed.
@fix

Reviewers: raster

Differential Revision: https://phab.enlightenment.org/D640
2014-03-20 19:33:42 +09:00
Jaeun Choi ad17bb42fe config: add a field in key binding data structure
Summary:
This patch adds a field "no_string" in key binding data structure.
It is necessary for checking "string" field in evas key down event.

Test Plan: None

Reviewers: Hermet, raster

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D641
2014-03-20 18:42:20 +09:00
Daniel Juyung Seo e1fbcd35fe list: Focus a selected item. 2014-03-20 14:54:54 +09:00
Daniel Zaoui 8a7cb67506 Eolian: Integration of Bg 2014-03-20 07:33:56 +02:00
Daniel Zaoui 11cf9cb7c5 Eolian: Integration of Atspi Object 2014-03-20 07:33:56 +02:00
Daniel Zaoui 0c9ba65349 Eolian: Integration of Atspi Window Interface 2014-03-20 07:33:55 +02:00
Daniel Zaoui a0395146e8 Eolian: Integration of Atspi Component Interface 2014-03-20 07:33:55 +02:00
Daniel Zaoui 9f507a5c75 Eolian: Integration of App Server View 2014-03-20 07:33:55 +02:00
Daniel Zaoui aec543acdf Eolian: Integration of App Server 2014-03-20 07:33:55 +02:00
Daniel Zaoui a48022e63e Fix logically dead code.
CID 1193237

Before Eolian, a Eina_List ** was used and checking ret value was
mandatory. Now that we have a normal Eina_List *, we don't need to check
that anymore.
2014-03-20 07:33:55 +02:00
WooHyun Jung ef0d15b4c4 elm_win: Fix wrong animation of focus highlight.
When focus is changed, focus highlight animation should be started
from the original position of focus highlight object. Not from the
previous focused object's position.
2014-03-20 14:14:20 +09:00
Daniel Juyung Seo cfec6b6266 list: better structure packing for list smart data. 2014-03-20 13:48:49 +09:00
WooHyun Jung aeebc942af elm_widget: Restore removed codes while eolian work. 2014-03-20 12:55:28 +09:00
Daniel Juyung Seo 13e4e1d7d0 cnp: Fixed cnp build warning by adding ifdef to cnp_debug.
This looks better.
Special thanks to barbieri for the suggestion.
2014-03-20 04:08:52 +09:00
Daniel Juyung Seo 90024102fd elm_widget: Call widget APIs only for widgets.
'cur' object can be non-widget object when calling
elm_widget_focus_direction_get and elm_widget_parent_get.
2014-03-20 04:04:12 +09:00
Daniel Juyung Seo ba25b75c3e test_list: Added focus/selection API test for list focus test case.
Added two buttons.
1. focus 3rd list item by elm_object_item_focus_set() API after 1.5 seconds.
2. select 3rd list item by elm_list_item_selected_set() API after 1.5 seconds.
2014-03-20 04:02:23 +09:00
Daniel Juyung Seo aa04d79e2e test_list: Used frame for focus option box. 2014-03-20 03:46:17 +09:00
Daniel Juyung Seo 4e30fa3b6f toolbar: Fixed wrong parameter for elm_widget_sub_object_del.
Remove the icon from the sub object list for a widget not for an edje object.
2014-03-20 02:13:41 +09:00
Daniel Juyung Seo 77dfd41b76 scroller: Fixed wrong widget call to non-widget object.
content can be a non-widget object.
2014-03-20 02:13:03 +09:00
Daniel Juyung Seo fc2f1d58d7 cnp: Fixed build warning.
elm_cnp.c: In function '_x11_dnd_leave':
elm_cnp.c:1547:69: warning: unused parameter 'ev' [-Wunused-parameter]
2014-03-20 02:10:08 +09:00
Tom Hacohen 5964d0872e Eolian helper: Update to regenerate if generator is updated.
This is a sync from efl.git 6a66af39cb
2014-03-19 09:43:07 +00:00
Thiep Ha a71fc8cbb8 [Elm_Dnd] Fix type matching of drag and drop target objects in X11.
Summary:
Type matching for drag and drop targets does not consider drop target objects' types.

For example, we have drag object which provides image type and drop target object which only accepts text type.
For current code, in _x11_dnd_drop function, we only check savedtypes.types with _x11_atoms.
As result, we allows the image to be dropped into text. You can refer to the test in D617.

This path fixes this issue by matching drag object's type with drop targets' types to find suitable one.
@fix

Reviewers: raster, JackDanielZ, seoz, woohyun

Differential Revision: https://phab.enlightenment.org/D628
2014-03-19 16:26:46 +09:00
Daniel Zaoui b518a649bb Eolian: fix dependency for .eo.c/h files.
When Eolian generator is updated, the .eo.c/h files of Elementary must be
regenerated.
2014-03-19 08:34:16 +02:00
Daniel Zaoui 966227a602 Eolian: Integration of App Client View 2014-03-19 07:04:35 +02:00
Daniel Zaoui dd39b373d3 Eolian: Integration of App Client 2014-03-19 07:04:34 +02:00
Daniel Zaoui 45dc4cd461 Eolian: Fix ctor/dtor generation 2014-03-19 07:04:34 +02:00
Daniel Zaoui c9c4286ea6 Eolian: Integration of Actionslider 2014-03-19 07:04:34 +02:00
Daniel Zaoui cbae1d7cba Eolian: Integration of Access 2014-03-19 07:04:34 +02:00
Flavio Ceolin b364f7d9ba list: Avoiding the same item receive focus twice
When the item was activated by double click it received the focus twice
and the second is after had emitted the activated signal.
2014-03-18 17:43:14 -03:00
Flavio Ceolin 6c996a057d list: Fixing the focus on keyboard movement
Problem introduced on: fb13ad2
2014-03-18 17:15:36 -03:00
Daniel Juyung Seo 9dd3112f15 genlist: Fixed annoying autoscrolling bug in genlist item focus.
Now, genlist does not autoscroll to last focused/selected item when the genlist
is focused. It tries to find the nearest visible item instead of the
last focused/selected item.
2014-03-19 00:48:07 +09:00