Commit Graph

139 Commits

Author SHA1 Message Date
Daniel Juyung Seo 1a29ad5679 elm: removing trailing white space ceremony for 1.9 release. 2014-03-02 00:52:26 +09:00
Amitesh Singh d8ec1e5dde hoversel: Added "item,focused" and "item,unfocused" smart events for widget items.
@feature

Test Plan: elementary_test->hoversel focus

Reviewers: seoz, woohyun

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D564
2014-02-26 01:26:49 +09:00
Jaehwan Kim db23689614 access: Add smart signal "access,changed"
It occurs that access mode is changed.
Application can add this callback for each widget.
2014-02-08 14:05:14 +09:00
Daniel Juyung Seo 18f5c6b19c hoversel: Removed unnecessary null check for elm_object apis. 2014-02-03 14:58:08 +09:00
ChunEon Park f8d00ae0f2 elementary - override widget translation but work also the base widget's behavior.
Some widgets override the widget translation but it didn't inherit the base widget's function.
Becuase of it,The language changed won't be properly called in the widget tree.

Now it fixed it.
2014-01-23 20:20:43 +09:00
ChunEon Park 39ad0e358e elementary - support language changed callback from a few widgets.
support a language,changed callback if a widget has the text part in default.
2014-01-23 20:07:20 +09:00
Daniel Juyung Seo db5fe2581d elm: Removed unnecessary null check for evas_object_del. 2014-01-22 10:54:52 +09:00
Yakov Goldberg 3379c124df all widgets: change Eo API for "elm_widget_theme()" to "theme_apply"
There are elm_widget_theme/theme_set/theme_get functions.
    In Eolian these functions will be described as "theme" method and
    "theme" property. There is clash here.
    So add suffix "_apply" to Eo API for "elm_widget_theme".
2014-01-21 11:08:29 +02:00
Daniel Juyung Seo fd5c046dfe elm: Changed __UNUSED__ to EINA_UNUSED. 2014-01-06 23:33:57 +09:00
Chinmaya Panigrahi 28a9e53e08 [Hoversel]: Added NULL check
Summary: Added NULL check

Test Plan: elementary_test -to hoversel

Reviewers: seoz, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D427
2013-12-31 13:12:20 +09:00
ami 02edf1abdb [hoversel] - Added evas smart signal "expanded" in hoversel. This patch depends on D373.
Test Plan: elementary_test -to Hoversel, Click on "Custom Item Style".

Reviewers: seoz, raster, cedric

Reviewed By: raster

Differential Revision: https://phab.enlightenment.org/D381
2013-12-28 17:48:11 +09:00
Chinmaya Panigrahi 5a3fea6a28 [Hoversel] Making focus cyclic for hoversel items.
Summary: Focus cyclic feature on hoversel items.

Test Plan: elementary_test -to "Hoversel Focus"

Reviewers: seoz, singh.amitesh

Differential Revision: https://phab.enlightenment.org/D377
2013-12-28 17:21:23 +09:00
ami afa4398ce2 [elm_object_item] - Added elm_object_item_style_set/elm_object_item_style_get().
Reviewers: seoz, raster

CC: aryarockstar, nirajkr, chinmaya061

Differential Revision: https://phab.enlightenment.org/D373
2013-12-27 20:00:04 +09:00
Daniel Juyung Seo 6d71a23c3a elm lib: removed all the unnecessary empty lines.
being pedantic.
2013-12-15 06:18:35 +09:00
ami 7dbda5f2d3 [hoversel] - Removed focus_direction since focus_cycle is applied on sd->hover.
Summary: removed focus_direction

Test Plan: elementary_test -> hoversel

Reviewers: seoz, raster

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D359
2013-11-30 15:34:55 +09:00
Tom Hacohen 28fee48f35 Hoversel: Fix access to already deleted object.
Thank you eo pointer indirection for detecting this.
The issue is a mix of design choices (will discuss on the ML) and
a bug in hoversel which was probably caused because of the confusing design
choices.
The problem is that while widget_item->view is set by whoever created
the item, it's automatically deleted by elm_widget_item_del. This means
that objects that decided to delete their views, but were too sloppy to
update the widget_item->view pointer to NULL, would trigger an attempt
to deleted an already deleted object. This does not happen in 1.7
because widget_item->view was introduced in 1.8.
The automatic view deletion is problematic, as smart subobjects are
already deleted when the parent subobject (the widget) is deleted. So
clearing the views is redundant. However if the widget item is manually
deleted, the view should be deleted. This causes this mixture of cases
that are problematic at best.

Indication error:
Error:
 ERR<5394>:eo lib/eo/eo_ptr_indirection.x:275 eo_obj_pointer_get()
    obj_id 0x8000002900000149 is not pointing to a valid object. Maybe
    it has already been freed.

This fixes T500.
2013-11-19 17:13:31 +00:00
Daniel Juyung Seo c70405bdde elc_hoversel.c: use int_ret instead of ret because ret can be null.
This fixes coverity CID 1129609 and 1129610.
2013-11-18 22:33:37 +09:00
Amitesh Singh 08936d7f38 [hoversel] - Added focus support on hoversel items.
Summary: Focus support on hoversel items.

Test Plan: elementary_test->hoversel2

Reviewers: seoz, raster, Hermet

CC: nirajkr

Differential Revision: https://phab.enlightenment.org/D316
2013-11-13 20:39:48 +09:00
Tom Hacohen 2f1e1554e5 Changed Eo class names to be consistent.
All the class names are now of the format: Elm_Type_Subtype_Extra
2013-11-07 11:44:22 +00:00
Daniel Juyung Seo 07136563ea elc_hoversel: Support elm_object_item_signal_emit() in hoversel.
This works only when the item is actually created by clicking the hover button.
2013-10-14 13:56:27 +09:00
Daniel Juyung Seo 5788a3583c elc_hoversel.c: adopted ELM_WIDGET_DATA_GET_OR_RETURN macro. 2013-10-05 17:12:44 +09:00
Cedric Bail 29af5e1e43 elementary: update to new eo_parent_get/set API. 2013-09-25 13:34:27 +09:00
Daniel Juyung Seo 3e8e2b2abd hoversel: flurish hoversel source/example/documentation a little bit more.
1. fixed documentation to be more descriptive.
2. added hoversel smart callback examples.
3. added internal callback description.
2013-08-30 18:31:29 +09:00
ChunEon Park fe0f0a445e elementary/widgets - set parents before widget constructs their body.
This avoids unnecessary setups again when obj <-> sub has connected.
2013-08-27 00:29:45 +09:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
Daniel Zaoui 187d6bf8de Elementary: replace eo_data_get for objects data referencing. 2013-05-01 11:04:09 +03:00
ChunEon Park ff10726141 elementary/ctxpopup, hoversel, naviframe, multibuttonentry, popup, diskselector, list, menu, segment_control, toolbar - support widget item language change 2013-04-23 20:30:15 +09:00
Daniel Juyung Seo bd5246c512 elc_hoversel.c: hide hover object when hoversel is hidden. 2013-04-09 13:14:21 +09:00
Daniel Juyung Seo 2a68a17fe6 elc_hoversel.c: Do not add hover as a hoversel's smart member. Handle show/hide manually.
Hover is a *HOVER* object so do not add hover to another object's smart member.
It will restrict the layer of hover object.
Manually handle show/hide instead.
2013-04-03 14:46:14 +09:00
Daniel Juyung Seo 3aa8d2a7fa elc_hoversel.c: add hover as a smart member of hoversel to fix hover child handle bug. 2013-04-03 13:19:07 +09:00
Daniel Juyung Seo 74b3eed5fd elm: print the error message inside elm_widget_sub_object_add().
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
   Elm devs should fix it beforehand.
   So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Daniel Juyung Seo f2b514f26b elc_hoversel.c: Fixed wrong sub object handling.
hover should be a sub object of hoversel.
2013-04-03 03:12:33 +09:00
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
Daniel Juyung Seo 78c042cdbe elm *.c: fixed formatting with EINA_LIST_FREE.
EINA_LIST_FREE (xxx) -> EINA_LIST_FREE(xxx)
2013-03-09 13:23:42 +09:00
Daniel Zaoui cdd1eea853 Replace supported_types
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 83803
2013-02-10 07:52:31 +00:00
Daniel Juyung Seo ffa9c1e793 elm: Refactoring.
Smart data is already initialized so we do not need to re-initialize them if the value equals to 0, NULL, or EINA_FALSE.
Sometimes re-initializing smart data explicitly is needed for readability. So there are left overs.

SVN revision: 82228
2013-01-04 19:10:19 +00:00
Daniel Zaoui 0c915e9023 Cleaning: removed include Eo.h in widgets because it was indirectly included by Elementary.h
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79682
2012-11-26 09:29:01 +00:00
Yakov Goldberg 5c98343198 We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79668
2012-11-26 06:32:53 +00:00
Daniel Juyung Seo 30dba54610 elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
SVN revision: 77244
2012-10-01 07:36:27 +00:00
Gustavo Lima Chaves 8fdf284468 [elm] Hoversel now inheritable.
SVN revision: 74761
2012-08-01 21:04:20 +00:00
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Gustavo Lima Chaves bbf0a4345e [elm] And now remove deprecated calls usage (WRT
icon/image thing).



SVN revision: 71473
2012-05-28 21:50:11 +00:00
Hyoyoung Chang 26c943b3de elementary/hoversel: remove useless void ptr cast
SVN revision: 71412
2012-05-24 14:08:18 +00:00
Hyoyoung Chang 59718a93c7 elementary/hoversel: fix indent
SVN revision: 71377
2012-05-24 02:38:59 +00:00
Hyoyoung Chang 7d9c0dc403 elementary/hoversel: set hover's parent when hover's smart data deleted
SVN revision: 71376
2012-05-24 02:26:55 +00:00
Tom Hacohen 96a8fd040c Elm hoversel: remove stupid printfs.
I'm glad to see someone is excited about hovers being created and deleted.
I'm not.

SVN revision: 71002
2012-05-14 14:20:18 +00:00
Gustavo Lima Chaves 2313f6cc0a [Elm] Hoversel is now a button.
SVN revision: 70725
2012-05-03 22:43:00 +00:00
Carsten Haitzler c0f2f4be91 REVERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
this breaks theme api. so NO! come back with a version that doesn't
break it.



SVN revision: 70679
2012-05-03 01:19:05 +00:00
Gustavo Lima Chaves 3298ff9c7a [Elm] Hoversel is now a button.
SVN revision: 70648
2012-05-02 16:59:40 +00:00
Daniel Juyung Seo 4801d7f5c1 elm elm_object: Fixed part content set hooks.
1. delete old content object
 2. check whether new content object is same as old content object
 3. added some doxygen description.

SVN revision: 69743
2012-03-29 11:09:40 +00:00