Commit Graph

9958 Commits

Author SHA1 Message Date
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
Daniel Zaoui f5f68dd9de Eolian: use legacy_prefix: null for interfaces.
legacy set to null was used for every function to not generate a legacy
API. legacy_prefix set to null indicates no legacy has to be generated
for all the class.
2014-04-03 10:19:03 +03:00
Daniel Zaoui 66a30681e7 Eolian: Integration of Web2 2014-04-03 09:55:49 +03:00
Daniel Zaoui 8169751469 Eolian: Integration of Win Access Object 2014-04-03 09:22:21 +03:00
Daniel Zaoui 1c598fbaaa Eolian: Integration of App Access Object 2014-04-03 09:22:21 +03:00
Mike Blumenkrantz 23313099c1 e border frames now correctly identify modal dialogs as dialogs 2014-04-02 10:31:25 -04:00
Carsten Haitzler ca266bdbd5 add hand1 cursor theme element and ensure elm cursor code actually works
this adds a hand1 sample cursor theme/image so the theme can find
cursors, (more should be added later), and now actually makes the elm
cursor handling properly set the cursor and update the hotx/y as
needed by tracking the hot swallow object. this relies on a fix in efl
as well.
2014-04-02 20:48:32 +09:00
Carsten Haitzler db64dffca4 oops - printfs snuck in. remove 2014-04-02 18:09:55 +09:00
Carsten Haitzler 031f427c44 fix x cursors broken by recent eo based fixes... to eolian changes 2014-04-02 18:06:37 +09:00
Cedric BAIL 588c9edd5c autotools: fix build when Ecore_Drm is enable. 2014-04-02 17:00:16 +09:00
Jaeun Choi 837fc28ed4 calendar, colorselector, diskselector: fix build warnings
Summary: This patch fixed build warnings in calendar, colorselector and diskselector.

Test Plan: make

Reviewers: Hermet

Differential Revision: https://phab.enlightenment.org/D685
2014-04-01 22:22:02 +09:00
Daniel Zaoui fd0d159fef Eolian: Integration of Gengrid and Gengrid Pan 2014-04-01 14:52:14 +03:00
Amitesh Singh d593ad85e2 toolbar: Added focus movement on widget items by mouse in.
Summary:
- Added a test case in "Toolbar Focus".
@feature

Test Plan: elementary_test->Toolbar Focus

Reviewers: raster, cedric, woohyun

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D665
2014-04-01 20:26:33 +09:00
Amitesh Singh a090a1cc1f gengrid: Added focus movement on widget items by mouse in.
Summary:
- Added a test case in "Gengrid Focus".
@feature

Test Plan: elementary_test->Gengrid Focus

Reviewers: raster, cedric, woohyun

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D664
2014-04-01 20:26:13 +09:00
Amitesh Singh daee26de35 genlist: Added focus movement on widget items by mouse in.
Summary: @feature

Test Plan: elementary_test->Genlist Focus

Reviewers: raster, cedric, woohyun

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D663
2014-04-01 20:25:03 +09:00
Amitesh Singh e8ce63b33d list: Added focus movement on widget items by mouse in.
Summary: @feature

Test Plan: elementary_test->List Focus

Reviewers: raster, cedric, woohyun

Reviewed By: raster

CC: seoz

Differential Revision: https://phab.enlightenment.org/D662
2014-04-01 20:23:24 +09:00
Daniel Zaoui 2bc08afc83 Eolian: Integration of Genlist and Genlist Pan 2014-04-01 13:55:42 +03:00
wonguk.jeong 26ebe359c7 cnp: check object type before getting window id
Summary:
problem:
1) elementary_test -> entry -> close entry window
2) type mismatch warning is shown on console as below

ERR<19427>:eo lib/eo/eo.c:342 _eo_dov_internal() in elm_win.eo.c:2067: Can't execute function Elm_Win:ELM_OBJ_WIN_SUB_ID_XWINDOW_GET (op 0x167) for class 'Elm_Entry'. Aborting.

solution:
check top object type before invoke elm_win_xwindow_get()/elm_wl_window_get().
if it's not a window, find window id by using ecore_evas APIs.

Fixes T1141

Test Plan: elementary_test -> entry -> close entry window -> check console

Reviewers: raster, seoz, uartie

Reviewed By: raster

CC: seoz

Maniphest Tasks: T1141

Differential Revision: https://phab.enlightenment.org/D684
2014-04-01 19:54:09 +09:00
Carsten Haitzler 3f1e7f6851 menu - fix bug that happens as a result of fixing window obj position
similar fix to 59cfed147b50d5b5c644ec75d2c6eb34e8b84294
2014-04-01 19:52:18 +09:00
Tom Hacohen 6f692db203 Theme: Fixed spelling mistake in a comment.
Reported by OnlyHuman.

Fixes T1142.
2014-04-01 10:43:18 +01:00
Carsten Haitzler 579331403e hover - fix bug that happens as a result of fixing window obj position
to fix a window position bug, window had to track actual geometry and
not alwasy be at 0,0. but this means hover, that is getting geometry
of the win object sometimes to figure out hover coverage area, and
thus now x, y are not 0, 0 anymore...
2014-04-01 17:29:36 +09:00
Chris Michael b603ca9f87 elementary: Add support to elementary for creating applications which
run in drm.

@feature: This adds an ELM_ENGINE=drm option so that elementary apps
can be run 'standalone' inside drm without any window managers,
compositors, etc

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-04-01 07:10:51 +01:00
Chris Michael 163796f26e elementary: Remove FIXME comment as it is already done above.
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-04-01 07:10:51 +01:00
Chris Michael 2d1276bd32 elementary: Add drm to list of available engine names, and add env
check for drm engine.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-04-01 07:10:51 +01:00
Chris Michael 2338b5ad74 elementary: Add ecore-drm header and ELM_DRM engine define
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-04-01 07:10:51 +01:00
Jaeun Choi 121f5446c7 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
2014-04-01 11:10:25 +09:00
Carsten Haitzler d85c9ac689 elm - cursor - don't get window id if event area obj is not a window 2014-04-01 10:06:47 +09:00
Thiep Ha e416ea19a5 [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
2014-04-01 09:39:16 +09:00
Carsten Haitzler e2599a6d4a 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)
2014-04-01 09:26:24 +09:00
Iván Briano 02590f4877 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.
2014-03-31 14:50:53 -03:00
Daniel Zaoui 2f3f5b31cd Map: fix params names 2014-03-31 16:36:22 +03:00
Daniel Zaoui 78d4ae4258 Eolian: Integration of List 2014-03-31 16:00:46 +03:00
ChunEon Park 8f5332f7c4 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
2014-03-31 21:28:05 +09:00
Carsten Haitzler 44c96c3efd fix left over soft cursors in elm
@fix - this fixes T893
2014-03-31 20:41:47 +09:00
Daniel Zaoui b62d73c702 Eolian: Integration of Naviframe 2014-03-31 13:48:26 +03:00
Daniel Zaoui 4b163aecbc Eolian: Integration of Multi Button Entry 2014-03-31 13:48:26 +03:00
Daniel Zaoui 496020ea96 Eolian: Integration of Flip Selector 2014-03-31 13:48:26 +03:00
Daniel Zaoui 038cfe9d3f Eolian: Integration of File Selector 2014-03-31 13:48:26 +03:00
Daniel Zaoui 7e895e4d16 Eolian: Integration of File Selector Entry 2014-03-31 13:48:26 +03:00
Daniel Zaoui 4ef3173bd5 Eolian: Integration of File Selector Button 2014-03-31 13:48:25 +03:00
Daniel Zaoui 2c24e9899d Eolian: Integration of File Selector Interface 2014-03-31 13:48:25 +03:00
Daniel Zaoui ad6a078501 Eolian: Integration of Win 2014-03-31 10:23:51 +03:00
Daniel Zaoui 550fca5d05 Eolian: Integration of Widget Access Object 2014-03-31 10:23:51 +03:00
Daniel Zaoui 99b8105671 Eolian: Integration of Web 2014-03-31 10:23:51 +03:00
Daniel Zaoui 920f0d5a40 Eolian: Integration of Video 2014-03-31 10:23:51 +03:00
Daniel Zaoui 9b798e7a64 Eolian: Integration of Toolbar 2014-03-31 10:23:51 +03:00
Daniel Zaoui b55775d43c Eolian: Integration of Thumb 2014-03-31 10:23:51 +03:00
Daniel Zaoui dfd2278bc7 Eolian: Integration of Table 2014-03-31 10:23:51 +03:00
Daniel Zaoui 70192db5dd Eolian: Integration of Systray 2014-03-31 10:23:51 +03:00
Daniel Zaoui bd9a1c81c6 Eolian: Integration of Spinner 2014-03-31 10:23:51 +03:00
Daniel Zaoui 6c178c1312 Eolian: Integration of Slideshow 2014-03-31 09:08:42 +03:00
Daniel Zaoui 016bf31358 Eolian: Integration of Slider 2014-03-31 09:08:42 +03:00
Daniel Zaoui 8fa7b368be Eolian: Integration of Separator 2014-03-31 09:08:42 +03:00
Daniel Zaoui e1a15be56e Eolian: Integration of Segment Control 2014-03-31 09:08:42 +03:00
Daniel Zaoui c76581ca44 Eolian: Integration of Scroller 2014-03-31 09:08:42 +03:00
Daniel Zaoui 679b402517 Eolian: Integration of Route 2014-03-31 09:08:11 +03:00
Daniel Zaoui 7705d7c40c Eolian: Integration of Radio 2014-03-31 09:08:11 +03:00
Daniel Zaoui 59378dd4dd Eolian: Integration of Progressbar 2014-03-31 08:19:03 +03:00
Daniel Zaoui 1f5c92fec0 Eolian: Integration of Prefs 2014-03-31 08:18:57 +03:00
Daniel Zaoui 6b3cc41354 Eolian: Integration of Popup 2014-03-31 08:18:51 +03:00
Daniel Zaoui 7d263085fd Eolian: Integration of Plug 2014-03-31 08:18:45 +03:00
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