Commit Graph

114 Commits

Author SHA1 Message Date
Daniel Juyung Seo e63dd3110a elm: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT,
 CRITICAL -, I concluded to unify them to one. Discussed on IRC and
 finally, CRI was chosen to meet the consistency with other macros -
 ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
2013-12-26 13:03:55 +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
Jaehyun Cho db2d711d64 [elm_widget] Enable not to add resize object to or delete resize object from sub object when the resize object is set.
Summary: Add one more argument, 'Eina_Bool sub_object' to elm_widget_resize_object_set. If the argument, 'sub_object' is set as EINA_TRUE, the new resize object is added to the sub object and the previous resize object is deleted from the sub object.

Reviewers: Hermet, seoz

CC: Jaehyun_Cho, seoz, raster

Differential Revision: https://phab.enlightenment.org/D265
2013-10-17 01:19:40 +09:00
Cedric Bail 29af5e1e43 elementary: update to new eo_parent_get/set API. 2013-09-25 13:34:27 +09:00
ChunEon Park d461a8be05 elementary/widgets - set parents before widget constructs their body.
This avoids unnecessary multiple setups when obj and subobj has connected.
2013-08-27 14:19:19 +09:00
Daniel Juyung Seo 50f8770cbd notify: changed animation finish data.item for notify.
-   data.item: "emit_hide_finished_signal" "yes";
+   data.item: "hide_finished_signal" "on";
2013-08-22 23:30:07 +09:00
Thiep Ha 9b36fb6055 notify: Add hide effect to notify.
As specified in task T149, the notify has show effect but does not have hide effect.
This patch adds hide effect to notify.
2013-08-22 05:24:50 +09:00
Carsten Haitzler fb66d6963b elm popup leak fix! also in notify! 2013-08-09 17:48:31 +09:00
Daniel Juyung Seo d6cfb5122b Opps revert this commit. It was my mistake. Sorry.
Revert "sldkfj"

This reverts commit a52b461984914211ee98f390b957b0c370347bfc.
2013-07-12 07:20:01 +09:00
Thiep Ha 504c134bf1 sldkfj 2013-07-12 06:57:00 +09:00
Ryuan Choi 0bda4b1918 elm_notify: Fix crash when timeout is zero
Because _timer_init() can be called multiple times,
sd->timer should be cleard if we will not add new timer

This fixes https://phab.enlightenment.org/T178
Thanks brian.lovin for the report.
2013-06-25 08:18:25 +09:00
Daniel Juyung Seo 82dd59fba5 elm_notify.c: ELM_SAFE_FREE adoption.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 21:04:49 +09:00
Daniel Juyung Seo 5f053bf79a elm: refactoring. use more ELM_FREE_FUNC. 2013-05-23 15:54:49 +09:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
Ryuan Choi e17cfb925f elm_notify: Added Eo API for elm_notify_align api.
elm_notify_orient api was deprecated and replaced to elm_notify_align api,
so this patch replaced Eo APIs to newer..
2013-04-12 16:01:50 +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
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
Gustavo Lima Chaves 312d0217a0 An internal layout error, on a widget set, is a CRITICAL error. 2013-03-01 23:04:31 -03: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
WooHyun Jung 072ebd0c06 elementary/notify : In _timer_cb of elm_notify, access to sd should be forbidden after smart_callback_call is called.
SVN revision: 83121
2013-01-23 05:29:31 +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
Rafael Antognolli 94cb2b2878 elm/orient: Align (0.5, 0.0) is TOP, not TOP_LEFT.
SVN revision: 78706
2012-10-31 12:37:55 +00:00
ChunEon Park 827646a2ab elementary/notify - --unnecessary comment
SVN revision: 78660
2012-10-30 13:54:24 +00:00
ChunEon Park 6c8e68f132 elementary/notify - removed deprecated internal variable and fixed double setting rtl
SVN revision: 78659
2012-10-30 13:44:24 +00:00
Seunggyun Kimsgyun.kim 831b094697 elementary - RE: [E-devel] [Patch] Align of Elm_Notify
I attached new patch.
The old patch's default position and mirroring problem has been fixed.

I added new 2 APIs for supporting various notify's postion.
EAPI void elm_notify_align_set(Evas_Object *obj, double horizontal, double vertical); EAPI void elm_notify_align_get(const Evas_Object *obj, double *horizontal, double *vertical);

And below 2 APIs will be deprecated.
EINA_DEPRECATED EAPI void elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient); EINA_DEPRECATED EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj);

Please review this patch.
Thanks:)

Signed-Off-By: Seunggyun Kim<sgyun.kim@samsung.com>



SVN revision: 78655
2012-10-30 13:14:45 +00:00
ChunEon Park 71840e45d5 elementary - sorry i pushed together which should not be
SVN revision: 78654
2012-10-30 13:11:53 +00:00
Seunggyun Kimsgyun.kim 87635d081e RE: [E-devel] [Patch] Align of Elm_Notify
I attached new patch.
The old patch's default position and mirroring problem has been fixed.

I added new 2 APIs for supporting various notify's postion.
EAPI void elm_notify_align_set(Evas_Object *obj, double horizontal, double vertical); EAPI void elm_notify_align_get(const Evas_Object *obj, double *horizontal, double *vertical);

And below 2 APIs will be deprecated.
EINA_DEPRECATED EAPI void elm_notify_orient_set(Evas_Object *obj, Elm_Notify_Orient orient); EINA_DEPRECATED EAPI Elm_Notify_Orient elm_notify_orient_get(const Evas_Object *obj);

Please review this patch.
Thanks:)

Signed-Off-By: Seunggyun Kim<sgyun.kim@samsung.com>



SVN revision: 78653
2012-10-30 13:09:33 +00:00
Jihoon Kim 9a8fc5433e elm: fix typo in elm_notify
SVN revision: 77839
2012-10-11 00:37:26 +00:00
Gustavo Lima Chaves 0da58ae800 [elm] Notify now inheritable.
SVN revision: 74675
2012-07-31 22:05:27 +00:00
Gustavo Lima Chaves bc3dd23c35 [elm] Fix bad timer usage on notify.
SVN revision: 74151
2012-07-18 21:03:58 +00:00
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Mike Blumenkrantz f18b904b2a elm notify can now have the timeout set before it becomes visible
SVN revision: 71832
2012-06-08 07:20:39 +00:00
Daniel Juyung Seo 1fada495ca elm elm_notify.c: Fixed parent_del routine. Remove callbacks when the
parent is deleted.
On Tue, May 22, 2012 at 4:46 PM, Sohyun Kim <anna1014.kim@samsung.com>
wrote:
>
> Hi all.
> When I use elm_notify, I got a crash in the deleting routine. (you
can test it in elementary_test > Video)
>
> When parent window of elm_notify is deleted, elm_notify set its
parent to NULL.
> However, it doesn't delete event callbacks of the parent window.
>
> In the smart_del callback of elm_notify, it tries to delete event
callbacks of parent window.
> However, its parent is already set to NULL, the deleting is skipped.
> Then the widget data gets freed.
> In this case, when other objects in the window are deleted, they can
create the parent window's event (e.g. CHANGED_SIZE_HINTS,,)
>
> Please find a patch to delete event callbacks when parent window is
deleted.
>
> Regards, Sohyun

SVN revision: 71307
2012-05-22 08:33:06 +00:00
WooHyun Jung 1ab790f276 elementary/elm_notify : Add focus_direction for elm_notify.
SVN revision: 71141
2012-05-16 05:46:31 +00:00
Gustavo Lima Chaves 1689f4cbd3 [Elm] Notify now a container.
SVN revision: 70747
2012-05-03 22:44:51 +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 788f3a3712 [Elm] Notify now a container.
SVN revision: 70670
2012-05-02 17:02:18 +00:00
WooHyun Jung 7b600cc59d elementary : Removing duplicate codes when _content_unset.
SVN revision: 69894
2012-04-03 11:40:06 +00:00
Jiyoun Park 5efc17d5b2 remove deprecated code related with
elm_notify_repeat_events_set/get

function.


SVN revision: 69245
2012-03-12 10:27:37 +00:00
Jiyoun Park e1caf19780 remove deprecated function related with elm_notify_content_XXX
SVN revision: 69087
2012-03-09 11:14:09 +00:00
Gustavo Lima Chaves d2ae40cf9c [Elm] I don't have words to name the issue here, let's just call it unb0rking.
SVN revision: 68722
2012-03-05 14:32:58 +00:00
Carsten Haitzler 04e5806097 oops - deprecating renamed badly. fixed
SVN revision: 68694
2012-03-05 10:21:03 +00:00
Carsten Haitzler d59ea1baad make notify repeat events be allow_events... as thats what it really
does.



SVN revision: 68685
2012-03-05 09:50:32 +00:00
Jaehwan Kim ede04a7bbc I have attached a patch for removing unnecessary code in the elm_notify.
There is no swallow area for the parent In the notify.edc also.
Even if the removed line is necessary, then it will cause an improper result.
So it should be removed definitely and absolutely!
Please review this and give any feedbacks. Thank you.


Sincerely,
Shinwoo Kim.


SVN revision: 67012
2012-01-10 09:22:22 +00:00
ChunEon Park 236192cd9a elementary - modified content_set/get/unset part names to be simple names.
Previous part names are just the swallow part names
but in modified version, the part names chaned to simpler meaning names to use.

i.e for button

elm_object_content_part_set(button, "elm.swallow.icon", icon);
-> elm_object_content_part_set(button, "icon", icon);




SVN revision: 65295
2011-11-16 12:51:53 +00:00
Daniel Juyung Seo bafe9c7426 elm: Use appropriate add/del_full for evas event callbacks.
SVN revision: 64536
2011-10-31 00:13:32 +00:00
ChunEon Park f3066c815f elemetary - notify, factory, frame, panel, mapbuf
applied content_set/get/unset. 

do it later for the remainder. 



SVN revision: 64502
2011-10-29 04:32:24 +00:00
Mike Blumenkrantz c67b7479e0 use elm,action,click in notify like all other widgets
SVN revision: 63988
2011-10-11 19:41:54 +00:00
Daniel Juyung Seo 2f2ebe1835 elm focus: Added elm_object_focus_set() API. Use this instead elm_object_focus/unfocus().
SVN revision: 62049
2011-08-03 11:46:23 +00:00