platform/upstream/elementary.git
10 years agocheck, colorselector, calendar, diskselector: apply key binding
Jaeun Choi [Tue, 1 Apr 2014 02:10:25 +0000 (11:10 +0900)]
check, colorselector, calendar, diskselector: apply key binding

Summary:
apply key binding to 4 widgets
this revision is only for reviewing
I'll send 4 seperate patches after review is done.

Test Plan: None

Reviewers: Hermet, seoz, raster

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

10 years agoelm - cursor - don't get window id if event area obj is not a window
Carsten Haitzler (Rasterman) [Tue, 1 Apr 2014 01:06:14 +0000 (10:06 +0900)]
elm - cursor - don't get window id if event area obj is not a window

10 years ago[Elm_Dnd] Correct drag position when rotation
Thiep Ha [Tue, 1 Apr 2014 00:39:16 +0000 (09:39 +0900)]
[Elm_Dnd] Correct drag position when rotation

Summary:
When window is rotated, the drag position is not updated.
It makes dnd cannot find out correct dropable objects.
This patch updates the drag position when window is rotated, so that dnd can find correct dropable objects.
@fix

P/S: This patch is originated from JackDanielZ (Daniel Zaoui). I update it to conform with lastest code.

Reviewers: JackDanielZ, raster

Reviewed By: JackDanielZ

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

10 years agoelm widget - dont get focus if object is not an elm widget
Carsten Haitzler (Rasterman) [Tue, 1 Apr 2014 00:25:21 +0000 (09:25 +0900)]
elm widget - dont get focus if object is not an elm widget

this islences lots of missing method complaints from eo (yes - we
wantmixed elm + non elm widgets to work, thus this has to be handled)

10 years agoWorkaround broken popup on Terminology
Iván Briano [Mon, 31 Mar 2014 17:50:53 +0000 (14:50 -0300)]
Workaround broken popup on Terminology

As the comment in the code explains, when ctxpopup is shown, it's giving
focus to the inner list, which immediately decides to select the first
of its items, calling, in the process, its selection callback. This has
the very unfortunate, annoying and uselessly broken effect of making the
popup never showing up, and instead triggering the first action in it.

Since this behavior of "select first item on focus" seems to be the path
taken in other places, I'm letting the people that know what they want
to do about that figure out how to fix it properly.

10 years agoMap: fix params names
Daniel Zaoui [Mon, 31 Mar 2014 13:36:22 +0000 (16:36 +0300)]
Map: fix params names

10 years agoEolian: Integration of List
Daniel Zaoui [Mon, 31 Mar 2014 12:59:55 +0000 (15:59 +0300)]
Eolian: Integration of List

10 years agoRevert "Revert "key binding: define Elm_Action function as having a return type of...
ChunEon Park [Mon, 31 Mar 2014 12:28:05 +0000 (21:28 +0900)]
Revert "Revert "key binding: define Elm_Action function as having a return type of Eina_Bool""

This reverts commit 0c32a3fcf13f0c43747c478f012df259e987c156.

now this can be pushed since second merge window for 1.10 is open

10 years agofix left over soft cursors in elm
Carsten Haitzler (Rasterman) [Mon, 31 Mar 2014 11:39:16 +0000 (20:39 +0900)]
fix left over soft cursors in elm

@fix - this fixes T893

10 years agoEolian: Integration of Naviframe
Daniel Zaoui [Sun, 30 Mar 2014 08:51:39 +0000 (11:51 +0300)]
Eolian: Integration of Naviframe

10 years agoEolian: Integration of Multi Button Entry
Daniel Zaoui [Sun, 30 Mar 2014 07:57:14 +0000 (10:57 +0300)]
Eolian: Integration of Multi Button Entry

10 years agoEolian: Integration of Flip Selector
Daniel Zaoui [Sun, 30 Mar 2014 07:34:05 +0000 (10:34 +0300)]
Eolian: Integration of Flip Selector

10 years agoEolian: Integration of File Selector
Daniel Zaoui [Sun, 30 Mar 2014 07:15:55 +0000 (10:15 +0300)]
Eolian: Integration of File Selector

10 years agoEolian: Integration of File Selector Entry
Daniel Zaoui [Sun, 30 Mar 2014 06:48:21 +0000 (09:48 +0300)]
Eolian: Integration of File Selector Entry

10 years agoEolian: Integration of File Selector Button
Daniel Zaoui [Sun, 30 Mar 2014 05:34:10 +0000 (08:34 +0300)]
Eolian: Integration of File Selector Button

10 years agoEolian: Integration of File Selector Interface
Daniel Zaoui [Sun, 30 Mar 2014 04:56:50 +0000 (07:56 +0300)]
Eolian: Integration of File Selector Interface

10 years agoEolian: Integration of Win
Daniel Zaoui [Thu, 27 Mar 2014 13:15:52 +0000 (15:15 +0200)]
Eolian: Integration of Win

10 years agoEolian: Integration of Widget Access Object
Daniel Zaoui [Thu, 27 Mar 2014 11:17:39 +0000 (13:17 +0200)]
Eolian: Integration of Widget Access Object

10 years agoEolian: Integration of Web
Daniel Zaoui [Thu, 27 Mar 2014 10:57:07 +0000 (12:57 +0200)]
Eolian: Integration of Web

10 years agoEolian: Integration of Video
Daniel Zaoui [Thu, 27 Mar 2014 08:21:26 +0000 (10:21 +0200)]
Eolian: Integration of Video

10 years agoEolian: Integration of Toolbar
Daniel Zaoui [Thu, 27 Mar 2014 08:15:16 +0000 (10:15 +0200)]
Eolian: Integration of Toolbar

10 years agoEolian: Integration of Thumb
Daniel Zaoui [Thu, 27 Mar 2014 07:14:54 +0000 (09:14 +0200)]
Eolian: Integration of Thumb

10 years agoEolian: Integration of Table
Daniel Zaoui [Wed, 26 Mar 2014 15:37:22 +0000 (17:37 +0200)]
Eolian: Integration of Table

10 years agoEolian: Integration of Systray
Daniel Zaoui [Wed, 26 Mar 2014 13:20:50 +0000 (15:20 +0200)]
Eolian: Integration of Systray

10 years agoEolian: Integration of Spinner
Daniel Zaoui [Wed, 26 Mar 2014 13:12:34 +0000 (15:12 +0200)]
Eolian: Integration of Spinner

10 years agoEolian: Integration of Slideshow
Daniel Zaoui [Wed, 26 Mar 2014 09:53:31 +0000 (11:53 +0200)]
Eolian: Integration of Slideshow

10 years agoEolian: Integration of Slider
Daniel Zaoui [Wed, 26 Mar 2014 09:46:20 +0000 (11:46 +0200)]
Eolian: Integration of Slider

10 years agoEolian: Integration of Separator
Daniel Zaoui [Wed, 26 Mar 2014 09:30:53 +0000 (11:30 +0200)]
Eolian: Integration of Separator

10 years agoEolian: Integration of Segment Control
Daniel Zaoui [Wed, 26 Mar 2014 09:04:37 +0000 (11:04 +0200)]
Eolian: Integration of Segment Control

10 years agoEolian: Integration of Scroller
Daniel Zaoui [Wed, 26 Mar 2014 08:54:49 +0000 (10:54 +0200)]
Eolian: Integration of Scroller

10 years agoEolian: Integration of Route
Daniel Zaoui [Wed, 26 Mar 2014 08:19:34 +0000 (10:19 +0200)]
Eolian: Integration of Route

10 years agoEolian: Integration of Radio
Daniel Zaoui [Wed, 26 Mar 2014 07:50:10 +0000 (09:50 +0200)]
Eolian: Integration of Radio

10 years agoEolian: Integration of Progressbar
Daniel Zaoui [Wed, 26 Mar 2014 07:36:41 +0000 (09:36 +0200)]
Eolian: Integration of Progressbar

10 years agoEolian: Integration of Prefs
Daniel Zaoui [Tue, 25 Mar 2014 12:27:37 +0000 (14:27 +0200)]
Eolian: Integration of Prefs

10 years agoEolian: Integration of Popup
Daniel Zaoui [Tue, 25 Mar 2014 12:00:33 +0000 (14:00 +0200)]
Eolian: Integration of Popup

10 years agoEolian: Integration of Plug
Daniel Zaoui [Tue, 25 Mar 2014 11:45:35 +0000 (13:45 +0200)]
Eolian: Integration of Plug

10 years agoEolian: Integration of Player
Daniel Zaoui [Tue, 25 Mar 2014 11:33:53 +0000 (13:33 +0200)]
Eolian: Integration of Player

10 years agoEolian: Integration of Photo
Daniel Zaoui [Tue, 25 Mar 2014 11:11:57 +0000 (13:11 +0200)]
Eolian: Integration of Photo

10 years agoEolian: Integration of Photocam and Photocam Pan
Daniel Zaoui [Tue, 25 Mar 2014 08:49:47 +0000 (10:49 +0200)]
Eolian: Integration of Photocam and Photocam Pan

10 years agoEolian: Integration of Panes
Daniel Zaoui [Tue, 25 Mar 2014 06:37:43 +0000 (08:37 +0200)]
Eolian: Integration of Panes

10 years agoEolian: Integration of Notify
Daniel Zaoui [Tue, 25 Mar 2014 06:25:02 +0000 (08:25 +0200)]
Eolian: Integration of Notify

10 years agoEolian: Integration of MapBuf
Daniel Zaoui [Tue, 25 Mar 2014 06:15:53 +0000 (08:15 +0200)]
Eolian: Integration of MapBuf

10 years agogenlist no longer randomly selects items (or scrolls to them after selecting) v1.10.0+tech+preview v1.10.0-tech-preview
zmike [Mon, 31 Mar 2014 03:19:00 +0000 (23:19 -0400)]
genlist no longer randomly selects items (or scrolls to them after selecting)

this item focus thing is a giant bug nightmare and needed to be developed/tested much more thoroughly in a branch before being committed to master.

10 years agofix documentation typo/spelling
Carsten Haitzler (Rasterman) [Sun, 30 Mar 2014 05:01:23 +0000 (14:01 +0900)]
fix documentation typo/spelling

10 years agoefm theme bg swallow now stacks correctly
Mike Blumenkrantz [Fri, 28 Mar 2014 16:03:14 +0000 (12:03 -0400)]
efm theme bg swallow now stacks correctly

fix T792

10 years agolabel: Remove unused setting of foundflag before return.
Stefan Schmidt [Fri, 28 Mar 2014 14:46:12 +0000 (15:46 +0100)]
label: Remove unused setting of foundflag before return.

We are never going to check on foundflag here because we return
right after setting it. Clear the code up a bit by not setting it
at all.

Found by Clang scan-build

10 years agowin - fix reset to 0 0 geom when window resizes. should stay at cur pos
Carsten Haitzler (Rasterman) [Fri, 28 Mar 2014 11:08:19 +0000 (20:08 +0900)]
win - fix reset to 0 0 geom when window resizes. should stay at cur pos

this is a side-effect of the fix to track actual position properly

10 years agosilence complaints getting top widget if object is not an elm widget
Carsten Haitzler (Rasterman) [Fri, 28 Mar 2014 09:22:49 +0000 (18:22 +0900)]
silence complaints getting top widget if object is not an elm widget

10 years agoremove duplicate strcmp
Carsten Haitzler (Rasterman) [Fri, 28 Mar 2014 07:35:52 +0000 (16:35 +0900)]
remove duplicate strcmp

10 years agowin - reduce code duplication and move accel prefernce into single func
Carsten Haitzler (Rasterman) [Fri, 28 Mar 2014 07:28:31 +0000 (16:28 +0900)]
win - reduce code duplication and move accel prefernce into single func

10 years agofix my theme version fix to not version extns/overlays
Carsten Haitzler (Rasterman) [Fri, 28 Mar 2014 07:17:38 +0000 (16:17 +0900)]
fix my theme version fix to not version extns/overlays

10 years agoelm win - fix wrong resizing of focus highlight obj.
WooHyun Jung [Fri, 28 Mar 2014 05:17:02 +0000 (14:17 +0900)]
elm win - fix wrong resizing of focus highlight obj.

When focus highlight animation is enabled, focus highlight can be
resized only by animator inside edje. So, if there is no animation
by some reasons, focus highlight just keeps its original.
@fix

10 years agospinner: crash issue on deletion fix
ChunEon Park [Fri, 28 Mar 2014 02:52:21 +0000 (11:52 +0900)]
spinner: crash issue on deletion fix

Summary:
Issue: longpress timer callback if it gets called after widget deletion,  crash happens.
Solution: delete the long press timer in smart del function.
Signed-off by: Kumar Navneet (k.navneet@samsung.com)
Signed-off by: Shilpa Singh (shilpa.singh@samsung.com)

Test Plan: When we tap inc/dec fast and delete the widget immediately, crash might happen.

Reviewers: raster, seoz, Hermet

Reviewed By: Hermet

CC: govi, rajeshps
Differential Revision: https://phab.enlightenment.org/D669

@fix

10 years agoRevert "key binding: define Elm_Action function as having a return type of Eina_Bool"
ChunEon Park [Thu, 27 Mar 2014 10:26:45 +0000 (19:26 +0900)]
Revert "key binding: define Elm_Action function as having a return type of Eina_Bool"

This reverts commit f8d46bfca2a9285b45ec76062cd85b69dc86a7db.

don't push any change except bug fix in window merge step 2

this patch will be pushed again.

10 years agoelementary - added missed @since
ChunEon Park [Thu, 27 Mar 2014 06:43:02 +0000 (15:43 +0900)]
elementary - added missed @since

10 years agokey binding: define Elm_Action function as having a return type of Eina_Bool
Jaeun Choi [Wed, 26 Mar 2014 23:56:37 +0000 (08:56 +0900)]
key binding: define Elm_Action function as having a return type of Eina_Bool

Summary:
This patch makes func of Elm_Action struct return a Eina_Bool value.
The function had a return type of void,
so could not check if the function succeeds or fails.

Test Plan: None

Reviewers: Hermet

Reviewed By: Hermet

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

10 years agogeneral "bugfix" via feature - add version numbering for elm theme
Carsten Haitzler (Rasterman) [Wed, 26 Mar 2014 09:06:08 +0000 (18:06 +0900)]
general "bugfix" via feature - add version numbering for elm theme

this now has elm themes have a version number. we start at 110 (just
matches efl/elm 1.10 that this will be released in) and this means
theme files that do not claim a recent enough version (or claim no
version at all) will not load/be used. default should/would always
provide this so you always will fall back.

10 years agoelm win - fix tracking of current position to properly store it in win obj
Carsten Haitzler (Rasterman) [Wed, 26 Mar 2014 08:08:24 +0000 (17:08 +0900)]
elm win - fix tracking of current position to properly store it in win obj

@fix of win tracking bug

10 years agotoolbar - fixed to use elm apis for elm objects
ChunEon Park [Tue, 25 Mar 2014 06:55:53 +0000 (15:55 +0900)]
toolbar - fixed to use elm apis for elm objects

10 years agoELM_GLView: added glview_manygears example to elementary_test
Sung W. Park [Tue, 25 Mar 2014 15:26:46 +0000 (00:26 +0900)]
ELM_GLView: added glview_manygears example to elementary_test

Added a more complex glview example to the elementary test.

- the gears lighting matches the original glx gears example.
- Added a background image to show that Glview works well with existing
  ELM winsets.
- Added 5 gears and buttons to increase/decrease gear teeth

10 years agofix config to upgrade bindings from system config if not there
Carsten Haitzler (Rasterman) [Tue, 25 Mar 2014 06:33:08 +0000 (15:33 +0900)]
fix config to upgrade bindings from system config if not there

10 years agofix segv in toolbar item focus (new feature)
Carsten Haitzler (Rasterman) [Tue, 25 Mar 2014 06:02:13 +0000 (15:02 +0900)]
fix segv in toolbar item focus (new feature)

10 years agocode cleanup - don't repeat profile loading code if possible
Carsten Haitzler (Rasterman) [Tue, 25 Mar 2014 05:55:22 +0000 (14:55 +0900)]
code cleanup - don't repeat profile loading code if possible

10 years agocomp edc now uses edje 1.10 features to simplify programs
Mike Blumenkrantz [Mon, 24 Mar 2014 15:00:28 +0000 (11:00 -0400)]
comp edc now uses edje 1.10 features to simplify programs

this is a nice example of how program.sequencing and program.targets can make life a little easier

10 years agoadd test cb to listen to all signals on layout obj
Carsten Haitzler (Rasterman) [Mon, 24 Mar 2014 10:40:30 +0000 (19:40 +0900)]
add test cb to listen to all signals on layout obj

10 years agoprefs: Add EVIL_LIBS to build to avoid problems with missing regex.h under mingw
Stefan Schmidt [Mon, 24 Mar 2014 10:35:27 +0000 (11:35 +0100)]
prefs: Add EVIL_LIBS to build to avoid problems with missing regex.h under mingw

Thanks to Adrien Nader to pointing this out.

In the longer term we need to re-factor some parts of the elm build system to
better reflect a build under mingw to avoid spreading @EVIL_LIBS@ and such
everywhere. But for now this is a good fix

@fix

10 years agoRevert "adding focus direction for gengrid"
Carsten Haitzler (Rasterman) [Mon, 24 Mar 2014 08:59:50 +0000 (17:59 +0900)]
Revert "adding focus direction for gengrid"

This reverts commit 4fe82cc740eda0c6b50ee09aedcf173aac1e775d.

10 years agoEolian: Integration of Panel
Daniel Zaoui [Mon, 24 Mar 2014 08:38:01 +0000 (10:38 +0200)]
Eolian: Integration of Panel

10 years agolist: Add item loop feature
Hosang Kim [Mon, 24 Mar 2014 08:35:07 +0000 (17:35 +0900)]
list: Add item loop feature

Summary:
If item loop feature is enabled, item is moved infinitely.

1. add new widget api - item_loop_enabled
2. add smart event using new config - elm_list.c
3. add demo - test_list.c/list_focus

Reviewers: seoz, woohyun, raster, jaehwan, Hermet

CC: singh.amitesh, c
Differential Revision: https://phab.enlightenment.org/D619

10 years agoformat fixup.
Carsten Haitzler (Rasterman) [Mon, 24 Mar 2014 08:00:17 +0000 (17:00 +0900)]
format fixup.

10 years agowarning--
Carsten Haitzler (Rasterman) [Mon, 24 Mar 2014 07:46:51 +0000 (16:46 +0900)]
warning--

10 years agoEolian: Integration of Menu
Daniel Zaoui [Mon, 24 Mar 2014 07:09:40 +0000 (09:09 +0200)]
Eolian: Integration of Menu

10 years agowarning--
Carsten Haitzler (Rasterman) [Mon, 24 Mar 2014 07:40:04 +0000 (16:40 +0900)]
warning--

10 years agoadding focus direction for gengrid
m.zielonka [Mon, 24 Mar 2014 07:38:27 +0000 (16:38 +0900)]
adding focus direction for gengrid

Summary:
It is implementation of focus_direction method for gengrid widget.

We need it in our project. We must service focus by
directions and we want to use gengrid widget. Additionally we must
support changing focus by keyboard (TV remote).
Unfortunately gengrid hasn't default implementation to present its
sub-objects as candidates for focus direction.

Our solution can search for focusable sub-objects (from realized items)
and change then focused and last selected variables in gengrid. If this
candidate wins then object will receive focus.

Reviewers: cedric, raster

CC: raster, seoz
Differential Revision: https://phab.enlightenment.org/D449

10 years agodatetime: clip sub components into global clipper
Wonguk Jeong [Mon, 24 Mar 2014 06:59:35 +0000 (15:59 +0900)]
datetime: clip sub components into global clipper

Summary:
Sub components(fields, disable clippers) were shown even if datetime object has no size (0, 0).
To resolve the problem, I made a global clipper,

@fix

Test Plan:
1. create datetime object.
2. evas_object_show without size.
--> datetime object shouldn't be shown

Reviewers: raster, seoz, woohyun, Hermet

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

10 years agopanel: check _elm_config_key_binding_call return value
Jaeun Choi [Mon, 24 Mar 2014 06:57:43 +0000 (15:57 +0900)]
panel: check _elm_config_key_binding_call return value

Summary:
If _elm_config_key_binding_call fails, return smart_event.
@fix

Test Plan: None

Reviewers: seoz, Hermet, raster

Reviewed By: raster

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

10 years agotoolbar: Check disabled status of an item in nearest visible item.
Amitesh Singh [Mon, 24 Mar 2014 06:49:51 +0000 (15:49 +0900)]
toolbar: Check disabled status of an item in nearest visible item.

Summary:
Also
- corrected the code for getting the toolbar item from the list.
- added a test for it.

Test Plan: elementary_test -> "Toolbar Focus"

Reviewers: seoz

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

10 years agoEolian: Integration of Map and Map_Pan
Daniel Zaoui [Sun, 23 Mar 2014 14:45:00 +0000 (16:45 +0200)]
Eolian: Integration of Map and Map_Pan

10 years agoatspi: move component interface implementation to separate file.
Lukasz Stanislawski [Mon, 24 Mar 2014 06:19:06 +0000 (15:19 +0900)]
atspi: move component interface implementation to separate file.

Summary: After eolian integration component interface declaration was moved to separate  ".eo" file. However its implemetation was not. This patch adds new "elm_interface_atspi_compoment.c" with interface implementation.

Reviewers: raster, seoz, JackDanielZ

Reviewed By: JackDanielZ

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

10 years agofix hoversel colorclasses
Carsten Haitzler (Rasterman) [Mon, 24 Mar 2014 05:41:17 +0000 (14:41 +0900)]
fix hoversel colorclasses

10 years agofix button color classes/colors after colorclass intro
Carsten Haitzler (Rasterman) [Mon, 24 Mar 2014 05:29:45 +0000 (14:29 +0900)]
fix button color classes/colors after colorclass intro

10 years agogengrid: Check disabled status of an item in nearest visible item.
Daniel Juyung Seo [Sun, 23 Mar 2014 17:10:59 +0000 (02:10 +0900)]
gengrid: Check disabled status of an item in nearest visible item.

10 years agogenlist: Check disabled status of an item in nearest visible item.
Daniel Juyung Seo [Sun, 23 Mar 2014 17:07:41 +0000 (02:07 +0900)]
genlist: Check disabled status of an item in nearest visible item.

Also added a test for it.

10 years agolist: Check disabled status of an item in nearest visible item.
Daniel Juyung Seo [Sun, 23 Mar 2014 16:51:37 +0000 (01:51 +0900)]
list: Check disabled status of an item in nearest visible item.

Also added a test for it.

10 years agomailmap: Updated mailmap for Amitesh.
Daniel Juyung Seo [Sun, 23 Mar 2014 16:37:40 +0000 (01:37 +0900)]
mailmap: Updated mailmap for Amitesh.

10 years agogenlist: removed printf from commit. b72db5c19
Amitesh Singh [Sun, 23 Mar 2014 16:20:46 +0000 (01:20 +0900)]
genlist: removed printf from commit. b72db5c19

Reviewers: seoz

Reviewed By: seoz

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

10 years agogenlist: Fixed item multi/single selection routine to skip disabled item
Daniel Juyung Seo [Sun, 23 Mar 2014 15:49:06 +0000 (00:49 +0900)]
genlist: Fixed item multi/single selection routine to skip disabled item
correctly.

@fix

10 years agolist: Fixed item multi/single selection routine to skip disabled item correctly.
Daniel Juyung Seo [Sun, 23 Mar 2014 15:46:43 +0000 (00:46 +0900)]
list: Fixed item multi/single selection routine to skip disabled item correctly.

@fix

10 years agotest_genlist: Added focus move policy option to genlist focus test.
Daniel Juyung Seo [Sun, 23 Mar 2014 14:32:43 +0000 (23:32 +0900)]
test_genlist: Added focus move policy option to genlist focus test.

And removed unnecessary void * casting.

10 years agotoolbar: implemented widget item focus feature.
Amitesh Singh [Sun, 23 Mar 2014 15:22:32 +0000 (00:22 +0900)]
toolbar: implemented widget item focus feature.

Summary:
1. Added "item,focused" and "item,unfocused" smart callbacks.
2. Added _elm_toolbar_focus_highlight_geometry_get().
3. Implemented elm_object_item_focus_set() and elm_object_item_focus_get().
4. Implemented elm_object_focused_item_get()
5. Ported _elm_toolbar_nearest_visible_item_get from cc827fef6.
6. Added Test Case "Toolbar Focus".

@feature

Test Plan: elementary_test->Toolbar Item Focus

Reviewers: seoz, woohyun, raster

CC: nirajkr, raster
Differential Revision: https://phab.enlightenment.org/D555

10 years agogenlist no longer crashes if a selected item is deleted during deselect_all
zmike [Sun, 23 Mar 2014 14:37:47 +0000 (10:37 -0400)]
genlist no longer crashes if a selected item is deleted during deselect_all

10 years agolist/genlist/gengrid: Internal refactoring of item_focused/unfocused
Daniel Juyung Seo [Sun, 23 Mar 2014 14:29:16 +0000 (23:29 +0900)]
list/genlist/gengrid: Internal refactoring of item_focused/unfocused
codes.

- Added a check for focus highlight enable status before calling focus
signal to edje.
- Used obj instead of WIDGET(it) because that is used many times.

10 years agolist: Removed unnecessary check in focused_item_get.
Daniel Juyung Seo [Sun, 23 Mar 2014 14:28:22 +0000 (23:28 +0900)]
list: Removed unnecessary check in focused_item_get.

focused_item is NULL if the list is unfocused so do not need to check if
the list is focused. Just return focused_item.

10 years agoEolian: Integration of Label
Daniel Zaoui [Sun, 23 Mar 2014 12:42:31 +0000 (14:42 +0200)]
Eolian: Integration of Label

10 years agoEolian: Integration of Inwin
Daniel Zaoui [Sun, 23 Mar 2014 12:33:03 +0000 (14:33 +0200)]
Eolian: Integration of Inwin

10 years agotest_list: Made the list focus window bigger for a better testing.
Daniel Juyung Seo [Sun, 23 Mar 2014 12:37:47 +0000 (21:37 +0900)]
test_list: Made the list focus window bigger for a better testing.

10 years agogenlist: Fixed focus object hidden bug on re-focus.
Daniel Juyung Seo [Sun, 23 Mar 2014 12:32:05 +0000 (21:32 +0900)]
genlist: Fixed focus object hidden bug on re-focus.

On smart_on_focus, genlist calls elm_object_item_focus_set. That API
internally calls _elm_widget_focus_highlight_start() but we need to call
this function once again because of the weird focus behavior.

Condition: enable focus highlight and focus highlight animation.
The first _elm_widget_focus_highlight_start() triggers
_elm_win_focus_highlight_simple_setup, and second call triggers
_elm_win_focus_highlight_anim_setup. But the first call does not show
the focus highlight object properly.

Reproduction scenario:
1. elementary_test -> genlist focus
2. click an item
3. scroll the genlist and move the focused item away from the viewport.
4. move the mouse pointer to another window
5. move the mouse pointer to the genlist window back again.
6. focus highlight object is now shown correctly.

By the way, this bug will be hidden when the focus highlight never
scrolls away. I will add this feature soon.

10 years agogengrid: Fixed annoying gengrid scrolling issue when focus is back to gengrid.
Daniel Juyung Seo [Sun, 23 Mar 2014 12:25:40 +0000 (21:25 +0900)]
gengrid: Fixed annoying gengrid scrolling issue when focus is back to gengrid.

This patch is a gengrid version of genlist patch cc827fef6.

Now, gengrid does not autoscroll to last focused/selected item when the gengrid
is focused. It tries to find the nearest visible item instead of the
last focused/selected item.

10 years agoEolian: Integration of Index
Daniel Zaoui [Sun, 23 Mar 2014 11:49:26 +0000 (13:49 +0200)]
Eolian: Integration of Index

10 years agoEolian: Integration of Icon
Daniel Zaoui [Sun, 23 Mar 2014 11:35:23 +0000 (13:35 +0200)]
Eolian: Integration of Icon