Marcel Hollerbach
c867ab64e0
elm_list: migrate to new focus system
2017-04-20 14:38:59 +02:00
Marcel Hollerbach
20a78af94f
fix .eo file breaks
2017-04-20 14:38:59 +02:00
Marcel Hollerbach
800390bcb0
focus_tests: fix the test suite
...
this brings back the working testsuite and fixes a bug in the
submanager.
2017-04-20 14:38:59 +02:00
Marcel Hollerbach
3dfc546a2f
efl_ui_focus_manager: the order contains nodes not focusables
2017-04-20 14:38:59 +02:00
Marcel Hollerbach
fb6c37f16f
elementary: introduce helper functions for the redirects
2017-04-20 14:38:59 +02:00
Marcel Hollerbach
74b4327746
update according to cedrics review comments
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
b056857093
focus: update object definition
...
Summary: This introduces a new focus system and the migration to this system.
Test Plan: run elementary_test
Reviewers: cedric
Differential Revision: https://phab.enlightenment.org/D4511
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
716ec352d1
elm_widget: add unfocusable to debug informations
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
5c48607460
efl_ui_focus_manager: make setting a order easier
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
eb88bbe63d
elm_box,grid,table: take the resize object as evas object
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
8c8570ba6a
efl_ui_focus_manager: if there is no normal item then just do nothing
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
bd5bf5e719
efl_ui_flip: migrate to new focus system
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
996a502495
elm_grid: migrate to new focus system
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
23fd22836d
efl_ui_focus_manager: there is the case that n can be NULL
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
a3c44fcf68
efl_ui_focus_manager_sub: do not update if parent is NULL
...
is is actually a dangerous case, and should NEVER happen
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
d481dd58ec
efl_ui_frame: migrate to new focus system
...
when collapsed the subtree is unfocusable
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
7c35606d06
elm_table: migrate to new focus system
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
7994fa3f68
elm_interface_scrollable: fix bringing in of items
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
073c72acce
elm_scroller: migrate to new focus system
...
the scrollable interface is doing most of the work, if we know that
something is already focused we just leave the action_move.
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
9b64e7316a
elm_widget: evalulate show flag and call focus on super
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
dfceeb78c3
elm_menu: mirgrate to the new focus
...
this just means the menu is registering a new manager, it is not really
doing anything, its just there so the children which are searching for
one are finiding one. Elm menu has not handled anything with keys in the
past and will later learn to do so.
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
1ecf648dd8
elm_hover: migrate to new focus system
...
the hover will set itself as redirect once it is visible. And unset
itself once it is hidden.
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
ef8aed0385
efl_ui_win: migrate to the new focus system
...
this means, focus requests are redirected to the new focus manager.
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
44e40c7c5e
elm_interface_scrollable: use the submanager to register the children
...
this adds the registered elements at the broder of the scrollable to the
parents manager. scroller and gengrid works for registering
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
c203087d3b
elm_box: set the correct order
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
f09dd5e3df
efl_ui_focus_manager: allow settings of subsets
...
those subsets will just be prepended.
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
5b3fd27931
efl_ui_focus_manager: handle logical end correctly.
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
6245e5a579
efl_ui_focus_manager: fix error message
2017-04-20 14:38:58 +02:00
Marcel Hollerbach
13982b2bd9
efl_ui_focus_manager: return the new candidate
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
a5c7006579
efl_ui_focus_manager: handle redirect objects in logical better
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
200ad8ab50
efl_ui_focus_manager: be more secure
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
924033e88a
efl_ui_focus_manager: fix sub manager logical handling
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
a4616bb6fe
efl_ui_focus_manager: better error messages
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
09824ec450
efl_ui_focus_manager_sub: focus the item in sub and main manager
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
d4bd5c9961
efl_ui_focus_manager: add log domain for focus movements
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
89cc2ca06a
efl_ui_focus_manager: restructure node struct
...
a redirect can happen for logical OR normal
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
0c1c2711f3
efl_ui_focus_manager: more debug information
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
6d1df04f24
efl_ui_focus_manager: do not depend on elm widget events
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
54145f488b
efl_ui_focus_manager: unset redirect when focusing new item
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
1424875f0a
efl_ui_focus_manager: make next and prev searching deadlock prove
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
8a216da3bb
efl_ui_focus_manager: unset redirect when destroyed
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
be251b0496
efl_ui_focus_manager: allow flushing of one single node
...
this gives a massive performance boost
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
0df0d9d358
efl_ui_focus_manager_sub: register the forwared itself
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
0f2657983f
efl_ui_focus_manager: handle redirect managers in a better way
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
b53f3edd15
elm_widget: update focus register work
...
now it trackes changes of the parent manager. And registers more
reliable.
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
67a697fedd
efl_ui_focus_manager: fix up tracking and returning of data
...
a logical parent should not be in the border elements. The child should
also be not deleted itself. If we do so correct deletion could fail.
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
d0859212a2
tests: update to recent changes
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
669db4841a
efl_ui_focus_manager_sub: update to recenent changes
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
7eb1df349c
efl_ui_focus_manager_sub: register children correctly
2017-04-20 14:38:57 +02:00
Marcel Hollerbach
4932ec5f63
elm_widget: add logical parent to interface
...
and evaluate all values correctly and emit the correct events
2017-04-20 14:38:57 +02:00