Commit Graph

9669 Commits

Author SHA1 Message Date
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
Tom Hacohen b2250c568d Remove silencing of errors when called on non elm widgets.
There was code to silence errors. Removing that exposed a lot of errors.
I fixed them as well. In general, elm_widget functions should only be called
on elm_widgets...

More of commit 5ac398b156e8fb0aa44c6cfe8a2b113eb7229fbf
2014-03-13 15:14:59 +00:00
Tom Hacohen f6fa1ef612 Remove silencing of errors when called on non elm widgets.
There was code to silence errors. Removing that exposed a lot of errors.
I fixed them as well. In general, elm_widget functions should only be called
on elm_widgets...

@fix.
2014-03-13 13:46:53 +00:00
Carsten Haitzler 43e72d412f theme - tasks - fix colorclass of selected text 2014-03-13 22:18:41 +09:00
Thiep Ha 76dcd3bcc0 Test_dnd: Add more test for dnd
Summary:
There is no dnd test for format types except ELM_SEL_FORMAT_TARGETS.
This patch adds a test for other formats, so that we can test more about dnd.

Reviewers: JackDanielZ, seoz

CC: seoz

Differential Revision: https://phab.enlightenment.org/D617
2014-03-13 22:08:08 +09:00
Tom Hacohen e558e6180c Eolian: Added a variable for the needed deps's Eolian flags. 2014-03-13 10:09:51 +00:00
Tom Hacohen 69729d5ff3 Eolian: Fix building of .eo files.
It was incorrectly detected that this is an internal build, which caused issues.
2014-03-13 08:51:10 +00:00
Ryuan Choi 05892abe11 elm_web2: Implemented to support HTML5 fullscreen API
test case : elementary_test -to webui
2014-03-13 00:45:37 +09:00
Tom Hacohen 01186b6e66 Ship missing headers, and remove wrong includes
elm_gen_common.h was not installed, but is needed by installed headers.
Remove dependencies on internal headers from shipped headers.
2014-03-12 14:30:21 +00:00
Guilherme Iscaro de Godoy c4cad315ae Bug fix: Elm_List was not correctly setting the highlight theme for its items.
With the introduction of the patch 3628a8c4ea2485ee7ee5a81cfd4e0f0fe62b10d6,
it is possible to highlight focused Elm_List and Elm_Genlistenlist items.
However, this feature does not work correctly if one wants to create a custom
highlight theme for Elm_List items.
The whole problem was happening, because the function
_elm_widget_item_highlight_in_theme() was being called in a incorrect
location. This function must be called at _items_fix(), because
there the Elm_List already set the item theme and then it's possible
to check if the one wants a custom highlight or not.
2014-03-12 11:06:49 -03:00
Subhransu Sekhar Mohanty 8d05e3657e naviframe : Refactored item_push functionality in naviframe.
Summary:
Added item_push_helper function, so that both item_push as well as item_promote
will reuse the same functionality.

Reviewers: seoz, Hermet, Jaehyun

Differential Revision: https://phab.enlightenment.org/D627
2014-03-12 19:13:36 +09:00
Tom Hacohen 59deb51fad Elm test dnd: Fixed substraction of void *.
This is not allowed. The pointers need to be cast to char * before doing
pointer arithmetics.
2014-03-12 09:39:17 +00:00