Commit Graph

9826 Commits

Author SHA1 Message Date
Daniel Zaoui 246e0f4934 Eolian: Integration of Player 2014-03-31 08:18:37 +03:00
Daniel Zaoui 8423df2f41 Eolian: Integration of Photo 2014-03-31 08:18:30 +03:00
Daniel Zaoui 0112a19293 Eolian: Integration of Photocam and Photocam Pan 2014-03-31 08:18:23 +03:00
Daniel Zaoui 308320ae7d Eolian: Integration of Panes 2014-03-31 08:18:15 +03:00
Daniel Zaoui 87ed15534a Eolian: Integration of Notify 2014-03-31 08:18:05 +03:00
Daniel Zaoui e080a8b856 Eolian: Integration of MapBuf 2014-03-31 08:15:21 +03:00
zmike de67ce137d 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.
2014-03-30 23:20:04 -04:00
Carsten Haitzler 1f792b4545 fix documentation typo/spelling 2014-03-30 14:01:23 +09:00
Mike Blumenkrantz 64e158d8b0 efm theme bg swallow now stacks correctly
fix T792
2014-03-28 12:04:05 -04:00
Stefan Schmidt cf607ab86b 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
2014-03-28 15:47:53 +01:00
Carsten Haitzler 52484daad8 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
2014-03-28 20:08:19 +09:00
Carsten Haitzler 7cdd1d52ea silence complaints getting top widget if object is not an elm widget 2014-03-28 18:22:49 +09:00
Carsten Haitzler b568824881 remove duplicate strcmp 2014-03-28 16:35:52 +09:00
Carsten Haitzler 67420680fe win - reduce code duplication and move accel prefernce into single func 2014-03-28 16:28:31 +09:00
Carsten Haitzler 4437778774 fix my theme version fix to not version extns/overlays 2014-03-28 16:17:38 +09:00
WooHyun Jung 75909f8654 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
2014-03-28 14:17:02 +09:00
ChunEon Park bd2d8a3cea 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
2014-03-28 11:52:49 +09:00
ChunEon Park f868f35c4c 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.
2014-03-27 19:26:45 +09:00
ChunEon Park f062cf54db elementary - added missed @since 2014-03-27 15:43:02 +09:00
Jaeun Choi 8024f3bd5a 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
2014-03-27 08:56:37 +09:00
Carsten Haitzler 559d81a871 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.
2014-03-26 18:06:08 +09:00
Carsten Haitzler 2c165a1d88 elm win - fix tracking of current position to properly store it in win obj
@fix of win tracking bug
2014-03-26 17:08:24 +09:00
ChunEon Park 0b9a8cfd66 toolbar - fixed to use elm apis for elm objects 2014-03-25 15:57:22 +09:00
Sung W. Park 65549dbffe 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
2014-03-26 00:39:49 +09:00
Carsten Haitzler 75d9be3b0a fix config to upgrade bindings from system config if not there 2014-03-25 15:33:08 +09:00
Carsten Haitzler fe621de2c1 fix segv in toolbar item focus (new feature) 2014-03-25 15:02:13 +09:00
Carsten Haitzler cb55731a90 code cleanup - don't repeat profile loading code if possible 2014-03-25 14:55:22 +09:00
Mike Blumenkrantz 1d958d1a29 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
2014-03-24 11:03:13 -04:00
Carsten Haitzler c263d9c4d6 add test cb to listen to all signals on layout obj 2014-03-24 19:53:18 +09:00
Stefan Schmidt 85ad567628 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
2014-03-24 11:43:21 +01:00
Carsten Haitzler 2291c37875 Revert "adding focus direction for gengrid"
This reverts commit 4fe82cc740eda0c6b50ee09aedcf173aac1e775d.
2014-03-24 18:02:03 +09:00
Daniel Zaoui 73c705639f Eolian: Integration of Panel 2014-03-24 10:41:14 +02:00
Hosang Kim 7b4a539e9e 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
2014-03-24 17:35:07 +09:00
Carsten Haitzler ce30683587 format fixup. 2014-03-24 17:00:33 +09:00
Carsten Haitzler 46bfe985d9 warning-- 2014-03-24 17:00:33 +09:00
Daniel Zaoui 0136cb376f Eolian: Integration of Menu 2014-03-24 09:58:23 +02:00
Carsten Haitzler fb5a5ab73c warning-- 2014-03-24 16:40:04 +09:00
m.zielonka 32751ac33b 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
2014-03-24 16:38:27 +09:00
Wonguk Jeong 160ece70e7 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
2014-03-24 15:59:35 +09:00
Jaeun Choi 06d6c64a3d 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
2014-03-24 15:57:43 +09:00
Amitesh Singh 35ead0992d 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
2014-03-24 15:55:46 +09:00
Daniel Zaoui 3788c314a5 Eolian: Integration of Map and Map_Pan 2014-03-24 08:50:04 +02:00
Lukasz Stanislawski 9814ddc4bc 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
2014-03-24 15:19:06 +09:00
Carsten Haitzler 391d52b7e5 fix hoversel colorclasses 2014-03-24 14:41:17 +09:00
Carsten Haitzler b03fe5b9d9 fix button color classes/colors after colorclass intro 2014-03-24 14:29:45 +09:00
Daniel Juyung Seo 4f29cd1d32 gengrid: Check disabled status of an item in nearest visible item. 2014-03-24 02:10:59 +09:00
Daniel Juyung Seo dcdd697c70 genlist: Check disabled status of an item in nearest visible item.
Also added a test for it.
2014-03-24 02:07:41 +09:00
Daniel Juyung Seo e79bbb2fb5 list: Check disabled status of an item in nearest visible item.
Also added a test for it.
2014-03-24 01:52:07 +09:00
Daniel Juyung Seo 9930b6ef43 mailmap: Updated mailmap for Amitesh. 2014-03-24 01:37:40 +09:00
Amitesh Singh d37c8dccb1 genlist: removed printf from commit. b72db5c19
Reviewers: seoz

Reviewed By: seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D652
2014-03-24 01:20:46 +09:00
Daniel Juyung Seo 1f319f3e2d genlist: Fixed item multi/single selection routine to skip disabled item
correctly.

@fix
2014-03-24 00:49:06 +09:00
Daniel Juyung Seo e5f9c254bd list: Fixed item multi/single selection routine to skip disabled item correctly.
@fix
2014-03-24 00:48:11 +09:00
Daniel Juyung Seo 813016d0e6 test_genlist: Added focus move policy option to genlist focus test.
And removed unnecessary void * casting.
2014-03-24 00:48:11 +09:00
Amitesh Singh ffa7f989d7 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
2014-03-24 00:22:32 +09:00
zmike ea088ab21f genlist no longer crashes if a selected item is deleted during deselect_all 2014-03-23 10:39:47 -04:00
Daniel Juyung Seo 7f0f50fbc6 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.
2014-03-23 23:29:16 +09:00
Daniel Juyung Seo 26f4d3fcd9 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.
2014-03-23 23:28:26 +09:00
Daniel Zaoui 7780b975ad Eolian: Integration of Label 2014-03-23 15:01:33 +02:00
Daniel Zaoui 3ba96095e6 Eolian: Integration of Inwin 2014-03-23 15:01:33 +02:00
Daniel Juyung Seo f3e7478a08 test_list: Made the list focus window bigger for a better testing. 2014-03-23 21:40:56 +09:00
Daniel Juyung Seo 32cd38f89d 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.
2014-03-23 21:37:55 +09:00
Daniel Juyung Seo 8fa5dad5f9 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.
2014-03-23 21:37:55 +09:00
Daniel Zaoui 5a9067953d Eolian: Integration of Index 2014-03-23 14:17:38 +02:00
Daniel Zaoui c7fae6f3f3 Eolian: Integration of Icon 2014-03-23 14:17:38 +02:00
Daniel Zaoui fceca47f28 Eolian: Integration of Image 2014-03-23 14:17:38 +02:00
Daniel Zaoui c48c2e2608 Eolian: Integration of Hoversel 2014-03-23 14:17:38 +02:00
Daniel Zaoui 5cb8eedddd Eolian: Integration of Grid 2014-03-23 14:17:38 +02:00
Daniel Zaoui 2fe064a1ec Eolian: Integration of GLView 2014-03-23 14:17:38 +02:00
Daniel Zaoui 809fbeda4d Eolian: Integration of Gesture Layer 2014-03-23 14:17:38 +02:00
Daniel Zaoui db2ab8c3e4 Eolian: Integration of Flip 2014-03-23 14:17:38 +02:00
Daniel Juyung Seo 1572444238 elm: Fixed shadow variable warnings during compilation.
elm_bubble.eo.c:110:14: warning: declaration of 'access' shadows a
global declaration [-Wshadow]

Special thanks to Jack DanielZ
2014-03-23 20:22:09 +09:00
Amitesh Singh fd4ad3747a test_list,test_gengrid,test_genlist: Added disabled items for better testing.
Test Plan: elementary_test->genlist focus, list focus, gengrid focus

Reviewers: seoz

Reviewed By: seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D651
2014-03-23 19:19:38 +09:00
Daniel Juyung Seo 0288e89f17 list: Fixed annoying list scrolling issue when focus is back to list.
This patch is a list version of genlist patch cc827fef6.

Now, list does not autoscroll to last focused/selected item when the list
is focused. It tries to find the nearest visible item instead of the
last focused/selected item.
2014-03-23 19:14:18 +09:00
Daniel Juyung Seo 1343551e2a genlist: Fixed typo for _elm_genlist_nearest_visible_item_get comments. 2014-03-23 19:14:18 +09:00
Daniel Juyung Seo efd5f59d80 macros: Fixed wrong ELM_RECTS_INCLUDE logic. 2014-03-23 19:14:18 +09:00
Daniel Zaoui f660fc7456 Eolian: Integration of Entry 2014-03-23 10:56:44 +02:00
Daniel Zaoui 702396e282 Eolian: Integration of Disk Selector 2014-03-23 10:56:44 +02:00
Daniel Zaoui ebaeb19625 Eolian: Integration of Day Selector 2014-03-23 10:56:44 +02:00
Daniel Juyung Seo 0306188ecc test_genlist, test_gengrid: Added more callbacks to genlist/gengrid for a
better testing.
2014-03-23 16:53:08 +09:00
Daniel Juyung Seo fad3a2dfc4 list/genlist/gengrid: Handle on_focus event on focus set only for key
event.

When you use mouse(touch) that triggers mouse up event, the
focus/selection movement is done by mouse up callback, so don't need to
handle on_focus event when mouse(touch) is used.

You can reproduce the bug by the following step.
1. launch elementary_test -> list focus, genlist focus, gengrid focus
2. focus an item (by touch, by key)
3. move focus to left button (by touch, by key)
4. click an another item (by touch)
5. previously focused item will be unfocused again even it was unfocused
at step #3/

Special thanks to Amitesh for the report.
2014-03-23 16:48:10 +09:00
zmike 5b07498ba1 genlist needs to iterate exactly once over a fixed list when deselcting all items
the selected items list can be modified during deselect from the smart callback, which can cause an infinite loop here

@fix
2014-03-23 03:11:14 -04:00
Daniel Juyung Seo 0008452aba gengrid: Commented out some temporarily unused code.
This code will be used later when the item selection on key press becomes
optional. So do not remove this.
2014-03-23 02:07:20 +09:00
Daniel Juyung Seo c8309645ed elm: Fixed shadow variable build warning.
declaration of 'access' shadows a global declaration
2014-03-23 02:05:18 +09:00
Daniel Juyung Seo e69fc96dee test_list: Added focus move policy set example to test_list. 2014-03-23 02:04:16 +09:00
Daniel Juyung Seo 46506cf22e focus: Added optional focus feature - focus movement by mouse_in.
Focus is moved by mouse click by default. This patch makes moving focus
by mouse_in optionally by configuration and API. Widget item focus
movement is not applied yet. Need to do that as well.

- configuration: "focus_move_policy"
- API: elm_config_focus_move_policy_set/get
- enum
  ELM_FOCUS_MOVE_POLICY_CLICK
  ELM_FOCUS_MOVE_POLICY_IN

@feature
2014-03-23 02:04:16 +09:00
Daniel Juyung Seo 88776125a9 test_genlist/gengrid: Renamed 'item focus' test to just 'focus'. 2014-03-23 00:49:41 +09:00
Daniel Juyung Seo 3881d02167 focus: Set the focus target as NULL on focus highlight init.
Only elementary object can be a candidate for elementary focus.
2014-03-23 00:42:59 +09:00
Daniel Juyung Seo a6063a3c9c test_genlist: Flourish genlist focus test case to reveal more bugs.
- Added focus highlight enable/disable option.
- Added a button to set the focus to 2nd item after 1.5 seconds.
- Added a button to select the 2nd item after 1.5 seconds.
- Removed unnecessary frame and lable for the test.
2014-03-23 00:38:01 +09:00
Daniel Juyung Seo 31e81c1ecd test_genlist: Merged 'Genlist Focus' and 'Genlist Item Focus' test.
There is no reason to have two different focus example for genlist.
2014-03-23 00:13:58 +09:00
Daniel Juyung Seo 3aef035f1d gengrid: Fixed broken gengrid item focus support.
This commit is a gengrid version of 7d43205a0.
Now it works so much better than before.
- Fixed the separate behavior between selected item and focused item.
- Fixed wrong focus set when gengrid is focused first time by mouse.
- Fixed wrong scroll movement when the focus highlight is disabled.
- Item selection sets that item focused. So when an item is selected, do
not need to set the focus again.
2014-03-22 23:51:52 +09:00
Daniel Juyung Seo 8129ae20ec genlist: Fixed broken genlist item focus support.
Now it works so much better than before.
- Fixed the separate behavior between selected item and focused item.
- Fixed wrong focus set when genlist is focused first time by mouse.
- Fixed wrong scroll movement when the focus highlight is disabled.
- Item selection sets that item focused. So when an item is selected, do
not need to set the focus again.
- Fixed wrong call for _elm_genlist_item_content_focus_set on deleted
item.
2014-03-22 23:51:44 +09:00
Daniel Juyung Seo ba36abd6d8 list: Added missing return from my previous commit ac0b3c. 2014-03-22 21:50:21 +09:00
Daniel Juyung Seo cc006b547f mobile config: Added key bindings to mobile profile.
We can still use keyboards with Mobile profile when you attach your
keyboard with bluetooth or connect the keyboard physically.
2014-03-22 19:21:38 +09:00
Daniel Juyung Seo e61185831d test_list: Added clicked callback to buttons and made focus highlight optional. 2014-03-22 19:17:01 +09:00
Daniel Juyung Seo 27f98b1e01 genlist/gengrid: Used item callback infrastructure. 2014-03-22 19:10:27 +09:00
Daniel Juyung Seo 65c948ca93 list/genlist/gengrid: Call item_show not bring_in on focus.
Elm 1.9 does item_show not bring_in so let's keep the consistency. I
will make this optional later.
2014-03-22 18:38:00 +09:00
Daniel Juyung Seo 1d14a57a8b list: Fixed heavily broken list item focus/selection movement.
Item selection also sets the focus automatically so do not need to set
focus twice. This code needs to be changed later again when the
selection by key arrow becomes optional.
2014-03-22 18:37:45 +09:00
Daniel Juyung Seo 6d211692bb list: Select the first item when the list widget is just focused first time.
Select the first item if there is no last_focused_item,
 last_selected_item, and if this focus is done by key event.
2014-03-22 18:14:19 +09:00
Daniel Juyung Seo ec2d28fc32 list: Fixed formatting before fixing a bug. 2014-03-22 18:06:42 +09:00
Daniel Juyung Seo bb4a6d181d list: Fixed item focus logic correctly by checking mouse down instead
of highlighted_item.

highlighted_item will be NULL after the first click and it is not
useful. To avoid first item focus -> first item unfocus -> clicked
item focus on the first focus to list widget, this patch is needed.

Thanks for the report Ceolin.
2014-03-22 18:01:22 +09:00