Commit Graph

10027 Commits

Author SHA1 Message Date
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
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
Daniel Juyung Seo b9a1047845 flip, index: Renamed smart data member 'down' to 'mouse_down' and used
EINA_TRUE/FALSE.

This commit is for consistency inside elementary.
2014-03-22 17:54:49 +09:00
Daniel Juyung Seo ab71bc5750 button: Check return value of _elm_config_key_binding_call.
This fixes severely broken focus movement.
2014-03-22 16:25:34 +09:00
ChunEon Park e2b6f3de71 win - revert the revert. 1974aff066a10df59750a6d52fd9933333eb0ee3
I missed this already puhsed in the 1.9 release. :(
2014-03-22 15:40:07 +09:00
ChunEon Park 3d087782a3 win - removed unknown type. 2014-03-22 15:19:28 +09:00
ChunEon Park ae4250b3c4 Revert "Revert "win: Add a API, elm_win_type_get.""
This reverts commit 1fae5b440457948a048007fbb24171f90e6aab30.

sorry i didn't intend reverting this commit.
2014-03-22 15:17:00 +09:00
ChunEon Park 9dee6ab954 Revert "win: Add a API, elm_win_type_get."
This reverts commit 313eaab843194083d5dee11f053a156f88c6c219.

we don't agree this unknown type of window.
it should be always known type.
2014-03-22 15:10:55 +09:00
ChunEon Park ae218acc29 Revert "elm_win: Unbreak the ABI break of window type."
This reverts commit 79d2df12fe5e4d57d7a6247975feac1f0793ec72.
2014-03-22 15:10:40 +09:00
ChunEon Park f28c0a5259 scroller content type is not always widget. 2014-03-22 14:40:48 +09:00
Jaeun Choi d6acf211cc elm_button: apply key binding
Summary: This patch applies key binding to elm_button.

Test Plan: elementary_test > Button > check key events

Reviewers: Hermet, raster

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D646
2014-03-22 14:31:49 +09:00
Subhransu Sekhar Mohanty 68b66830b4 naviframe : Fixed the overlap issue during multiple push.
Summary:
Currently there is a overlap issue in naviframe in case of multiple push.
This issue will occur if the naviframe edc implements push,defered for
the item transition. The issue occurs becoz of cur,push,deffered is not being
called to the current and intermediate items during multiple item push.
To fix the above issue pass the data as current item that needs to be
out of the aviframe during creating the animator job.

@fix

Reviewers: Jaehyun, seoz, Hermet

Reviewed By: Hermet

CC: raster

Differential Revision: https://phab.enlightenment.org/D645
2014-03-22 14:23:23 +09:00
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
Daniel Zaoui 61103864fe Accessibility: unref the object only if it exists.
If the type returned by evas_object_type_get is "", no object will be
created. There is no reason why unref would be invoked.
It removes all the bad prints in accessibility tests about obj_id NULL.

@fix
2014-03-18 14:03:34 +02:00
Daniel Juyung Seo 1c5f5ade61 list/genlist: Fixed Home and End key event handling routine.
Move focus and selection when Home or End key is pressed.

@fix
This needs a partial backport to elementary-1.9
2014-03-18 19:14:39 +09:00
Daniel Juyung Seo 5b3908a454 elm_widget: Removed unnecessary if statement. 2014-03-18 19:05:24 +09:00
Daniel Juyung Seo d596a0768f elm_widget: Call elm_widget functions only for widgets. 2014-03-18 19:05:24 +09:00
Daniel Juyung Seo c08c20aac3 Revert "genlist no longer scrolls crazily"
This reverts commit 7a653914ad048c00871d2ef71a56185e5a7fb1ca.

I will fix this in another way.
2014-03-18 19:05:24 +09:00
Daniel Juyung Seo 699b01bcb2 Revert "genlist now uses uniform item showing behavior when selecting items with keyboard"
This reverts commit 85332555e8d3e5b981cde10ba9a1675ef6a4936e.

I will fix this in another way.
2014-03-18 19:05:24 +09:00
Carsten Haitzler 53e1698ab8 warning-- 2014-03-18 17:34:30 +09:00
Subhransu Sekhar Mohanty 576984c0ca elm_theme: Added a cache in elm_theme for styles that are failed to load.
Summary:
Currenlty loading a style that is not present in the system hits the worst case path in elm_theme as it searches through all hirarchy before
reporting that the style is not there. if those styles requested frequently it will be a overhead as it will goes through all the theme files again.
To avoid that I have added a cache which will keep track of the styles whose loading were not sucessfull so that for future request we can simply check the
cache before looking into the hirarchy of theme files.

Reviewers: seoz, raster

Reviewed By: raster

CC: raster

Differential Revision: https://phab.enlightenment.org/D601
2014-03-18 17:34:30 +09:00
Carsten Haitzler f527ae0938 add soem more cb's for testign win state 2014-03-18 17:34:30 +09:00
Daniel Zaoui 22287cae27 Eolian: Integration of Hover 2014-03-18 09:02:03 +02:00
Daniel Zaoui c3fecd2782 Eolian: Integration of Frame 2014-03-18 09:01:28 +02:00
Daniel Zaoui 6ef8dc7502 Eolian: Integration of Pan 2014-03-18 08:14:44 +02:00
Daniel Zaoui 7460467419 Eolian: Integration of Scrollable Interface 2014-03-18 08:14:44 +02:00
Daniel Zaoui 8c29f2a77b Focus: fix segfault due to bad call to Eo function.
Due to Eolian auto-generation, legacy parameters are directly
transferred to Eo functions without conversion.

In this case, is_next was Eina_Bool in legacy and Eina_Bool * in Eo.
The logic code was expecting a pointer but was receiving a Eina_Bool.

The fix consists in giving the logic code the Eina_Bool instead of the
pointer.

@fix
2014-03-18 08:14:44 +02:00
Carsten Haitzler b4e13220de test - elm win states - add more printfs of events on a window 2014-03-18 15:12:02 +09:00
Daniel Juyung Seo 7ea6b018da po: Updated po files. 2014-03-18 14:08:08 +09:00
Daniel Juyung Seo 5cc111934e author: Added Subhransu to authors list.
Thanks for the contribution Subhransu.
2014-03-18 13:16:42 +09:00
Daniel Juyung Seo 9df349962c test_panel: Refactor the internals of panel test.
- Use elm_genlist_item_class_new/free.
- Use elm_app_data_dir_get() instead of predefined PACKAGE_DATA_DIR.
- Created more internal function for the readability.
- Added comments for panels.
- Moved codes around for a better readability.
- Removed unnecessary code.
2014-03-18 09:50:31 +09:00
Flavio Ceolin 7eef2ca491 elm:list: Avoiding two items be focused at same action
On a list that have not received focus yet a mouse down gives the focus
for the list (that gives the focus for the first item) and the mouse
up the item is selected and receive the focus.

The problem:  if the list is scrolled the focus given for the
first item makes the list scroll to the top and not for the item
selected by the user.
2014-03-17 19:11:59 -03:00
Mike Blumenkrantz c8deb71004 +test for gengrid speed
this is a test for demonstrating the severity of T1068. scrolling and resizing the test cause very long ui blockages
2014-03-17 15:51:56 -04:00
Mike Blumenkrantz 05a1bd01d9 genlist now uses uniform item showing behavior when selecting items with keyboard 2014-03-17 14:57:07 -04:00
Ryuan Choi ba5a6d08a2 elm_web: Moved legacy APIs from elm_web_common.h to elm_web_legacy.h
elm_web_add and elm_web_zoom_mode_{get|set} are legacy APIs so they should be
in elm_web_legacy.h
2014-03-18 02:42:58 +09:00
Mike Blumenkrantz f04c347985 genlist no longer scrolls crazily
fix T1090
2014-03-17 13:25:06 -04:00
Daniel Zaoui cc7a670a7d Eolian: Integration of Layout 2014-03-17 09:03:56 +02:00
Daniel Zaoui aa318f3079 Eolian: Integration of Container 2014-03-17 09:03:56 +02:00
Daniel Zaoui e2206a1a22 Eolian: Integration of Elm Widget 2014-03-17 09:03:56 +02:00
ChunEon Park 578ba73742 entry - entry did word wrapping even the mode was ELM_WRAP_NONE.
The ELM_WRAP_NONE mode should not have word wrap textblock style.

@fix
2014-03-17 00:29:51 +09:00
Andy Williams 97bee1af7a panel: Update the panel test to layout over some content - a more realistic demonstration of the capabilities 2014-03-14 07:49:59 +00:00
Davide Andreoli f5a4489a62 elm_list: check sd not being null before access its members.
If the list is deleted/recteated the _elm_list_item_focused/unfocused() is
called and the sd pointer is null.

This unbreak all my apps that use elm_list
2014-03-15 22:38:28 +01:00
Andy Williams bcf8f05e73 naviframe: Fixing issue with over-generalisation of common code in change: Refactored item_push functionality in naviframe. 2014-03-14 01:32:43 +00:00
Daniel Juyung Seo c69cfdf4de segment_control, toolbar: Fixed broken scale of widget item.
@fix. This needs to be partially backported.
2014-03-16 03:09:56 +09:00
Daniel Juyung Seo 2c0c0c335a entry: Use ELM_SAFE_FREE and fixed indentation. 2014-03-16 03:08:19 +09:00
Daniel Juyung Seo 7100cfea40 list: Reset prev_focused_item when prev_focused_item is deleted.
This is inspired by a2c680d684601d8df725e8293616c880f07d3ca2.
2014-03-16 02:39:09 +09:00
nirajkr be6f406e54 elm_genlist: Handle prev_focused_item if it get deleted
Summary:
Assign the prev_focused_item to NULL it get deleted

Reviewers: seoz, raster

Differential Revision: https://phab.enlightenment.org/D635
2014-03-16 02:35:13 +09:00
ChunEon Park 549fb6019e entry - fixed calc issue of the wrap none mode.
This deferred recalc job is considered for wrap mode.
if the wrap mode is disabled, this job should be discarded.

since the wrap mode is enabled in default.
the job would be performed even the wrap mode was changed later.

@fix.
2014-03-15 15:40:12 +09:00
Carsten Haitzler 781c29c3cb theme overlays - fix to prepend on overlay to be semantically consistent
@fix
2014-03-15 12:01:56 +09:00
Carsten Haitzler 9164ec778c formatting - remove space between return and ; 2014-03-15 11:44:20 +09:00
zmike c2d994e996 gengrid clear should do nothing if there are no items 2014-03-14 14:15:22 -04:00
zmike 91a9805bc4 genlist shouldn't try to focus an item when it has no items 2014-03-14 13:55:11 -04:00