Commit Graph

56 Commits

Author SHA1 Message Date
Daniel Juyung Seo ecf6eff9a4 elm: formatting fix for consistency. 2013-07-23 06:05:16 +09:00
Daniel Juyung Seo f1b685897d elm: do not declare SIG_FUCSED/SIG_UNFOCUSED if the const char is not used more than once.
ctxpopup, fileselector_button, naviframe, player, popup, bubble, button, calendar, check, clock, colorselector, datetime, diskselector, flipselector, gengrid.
2013-06-10 14:13:55 +09:00
Daniel Juyung Seo 7b71bd1973 ctxpopup, fileselector_button, naviframe, player, popup, bubble, button: added "focused" and "unfocused" documentations. 2013-06-09 18:54:43 +09:00
WooHyun Jung 9cd0a65523 elementary/elc_popup : Popup should get focus when elm_object_focus_set is tried on it even though there is no focusalbe child in it. 2013-05-31 16:22:28 +09:00
Daniel Juyung Seo 9e3517fbcd elc_popup.c: ELM_SAFE_FREE adoption for popup.
I splited ELM_SAFE_FREE refactoring patches. One commit per each file as recommended.
For the detail, please refer 3072dab12f12fe83fb5a628d15efd5cded11787f.
2013-05-29 20:20:58 +09:00
Daniel Juyung Seo 82ecdfbb25 elm popup,flipselector: removed unnecessary type casting and type check. 2013-05-27 01:20:05 +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
Ryuan Choi e3aeebb8c7 elc_popup.c: Do not create action_area when buttons are empty 2013-04-27 05:54:42 +09: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 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 615d05bfe5 elm: removed unnecessary multi blank lines. 2013-04-03 10:45:15 +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
Gustavo Lima Chaves 312d0217a0 An internal layout error, on a widget set, is a CRITICAL error. 2013-03-01 23:04:31 -03:00
Shinwoo Kim 8f57043b25 [access][popup] fix elm_object_style_set(); issue: it removes previous part object 2013-02-27 21:03:13 +09:00
ChunEon Park 458faf56a3 elementary/popup - removed duplicated strings.
SVN revision: 84279
2013-02-21 11:44:49 +00:00
Shinwoo Kim 14a0ba6ea3 [focus][popup] fix focus related bugs
1. if user just hides the popup, the focus tree is broken. it is caused by elm_object_content_unset(notify);
   popup calls elm_object_content_set(notify, popup); in the _on_show(); it would be terrible.
   there would be a structual problem, but it is hart to figure out.

2. _elm_popup_smart_focus_direction(); calls notify's focus_direction(); and it calls popup's one again.
   there is circular dependency between notify and popup.



SVN revision: 84073
2013-02-19 06:51:19 +00:00
ChunEon Park 9256895f98 elementary/widget, naviframe, popup, label, button
let elm_wdg_orientation_set() have return value and call the elm_wdg_theme() inside.

since every widgets tend to do same task with smart_theme() when it's orient mode is changed.



SVN revision: 83981
2013-02-16 11:11:25 +00:00
ChunEon Park f9734b72e0 elementary/popup - a workaround code to prevent a popup lost it's parent.
Terrible. Should be totally rewritten.



SVN revision: 83975
2013-02-16 08:52:10 +00:00
ChunEon Park 156f7c284c elementary/popup - init the action area layout theme to not have a crash when popup style is changed before any action buttons set.
now elementary test -> popup -> transparent will be happy.



SVN revision: 83954
2013-02-15 13:30:16 +00:00
ChunEon Park 978cda4022 elementary/popup - fix popup to not unswallow invalid contents when the contents are deleted.
SVN revision: 83950
2013-02-15 12:55:43 +00:00
Shinwoo Kim fdc3045369 [popup] popup is now a focusable object!!
[access] omit an object on the focus cycle which does not have access information.


SVN revision: 83943
2013-02-15 10:39:00 +00:00
Shinwoo Kim b534e20062 [access][ctxpopup][popup] parent could be any object such as elm_list which does
not know ctxpopup, popup as its child object in the focus_next();.



SVN revision: 83884
2013-02-14 09:20:54 +00: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
Shinwoo Kim ebf6bcd925 [access][popup] fix overwrite problem
SVN revision: 83407
2013-01-29 05:49:34 +00:00
Shinwoo Kim b9c5343688 [access][popup] enhance access feature, use smart access to enable/disable access feature
SVN revision: 83404
2013-01-29 04:41:50 +00:00
ChunEon Park e257f49885 elementary/popup - fix the popup that returned invalid action buttons
SVN revision: 81117
2012-12-17 10:50:12 +00:00
WooHyun Jung a1f62ffc9b [elementary/popup] Add edje_object_message_signal_process after some signal_emitting in smart_add function.
SVN revision: 79783
2012-11-28 14:52:34 +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
Daniel Juyung Seo 2452e6426c elm elc_popup.c: Removed _on_content_del cb in smart del not in sub object del.
SVN revision: 79672
2012-11-26 07:09:53 +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 1388bbb3f3 elm elc_popup.c: Remove sub object del callback before deleting sub objects.
SVN revision: 79667
2012-11-26 06:10:53 +00:00
Daniel Juyung Seo a10ee57b4e elm elc_popup.c: Fixed the popup focus next infinite loop issue. Popup and notify had a circular focus dependency issue. Yes, popup needs a rewrite so this is a temporary fix. Special Thanks to Woohyun.
SVN revision: 79467
2012-11-20 09:59:24 +00:00
Gustavo Lima Chaves 914d525282 [elm] Account for elm_object_orient_set() deprecation
along elm files.

Spankies to Hermet for not doing it/delegating it before :)



SVN revision: 78948
2012-11-06 19:54:16 +00:00
Cedric BAIL f79c9bb374 elementary: Fixes bad format strings in *printf() calls.
Patch by Igor Murzov <e-mail@date.by>


SVN revision: 77395
2012-10-04 02:42:26 +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
Kim Shinwoo fc2222be84 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] popup - smart theme

popup have used notify its internal widget. but popup does not take care
the notify theme in its smart_theme()
the attachment just add a line to set style to the notify and test code
also. please review and give feedback. thanks.



SVN revision: 75987
2012-09-03 09:26:57 +00:00
Gustavo Lima Chaves c440726506 [elm] Popup now a layout.
SVN revision: 75897
2012-08-30 16:46:34 +00:00
Kim Shinwoo 2d35ea7985 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] popup - focus chain,
accessibility

you would be in rush because of freezing.. but there is still hot. -_-;
i'd like to raise an issue about focus chain on the popup. The focus would
go around only in the popup. (IMHO)
but current popup gives a chance to get the focus to other widget which is
not in the popup.
please check the attachment which has accessibility feature also and give
your opinion. thanks.



SVN revision: 74467
2012-07-27 02:27:16 +00:00
Kim Shinwoo 973c52bda3 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] popup - getting proper geometry value]

current popup does not give proper geometry value,
evas_object_geometry_get(popup, &x, &y, &w, &h) gives 0, 0, 0, 0.
the patch resolves it, but it would be not a good way to get geometry
value. which is the best way to set obj->cur.geometry.x(y,w,h)?
please enlighten me. thanks.



SVN revision: 74409
2012-07-26 03:57:25 +00:00
WooHyun Jung eea64e7322 elementary / elc_popup : Add focus direction for popup.
SVN revision: 74383
2012-07-25 10:28:51 +00:00
Carsten Haitzler b3d52034ae fix segv on popup... with items. infinite stack blow. but oh my there
is so much more to fix.. i don't know where to begin.



SVN revision: 74324
2012-07-23 12:35:48 +00:00
Carsten Haitzler 3a7b769a63 use the new escape text set to clear up issues if theme has TEXT vs
TEXTBLOCK items and handling escapes so text is consistend across elm.
fiuxes the fileselector issues kai reported.



SVN revision: 70362
2012-04-20 12:51:10 +00:00
Sanjeev BA 5c9c7f9a7e Add evas_object_hide support for popup.
Author : cnook kimcinoo@gmail.com

The evas_object_hide(popup) could not hide the popup.
So, I added callback to hide the popup, with the test
code.

SVN revision: 69960
2012-04-09 04:48:09 +00:00
ChunEon Park 20f4e9a3f8 elementary/popup - [E-devel] [Patch][elementary] elc_popup, focus next hook implementation
Current Issue:
Focus does not go to Popup content and action area.
Reason:
focus_next hook is returning EINA_FALSE in focus_next_hook.
Change Description:
1. Routed the focus_next call to the internal notify object.
2. Set the visibility of action area layout in edc to True as the
visibility of the action area layout returns zero even if due to state
change it is set to visible state in edje.
3. Deleted the show event callback "_popup_show" in del_pre_ hook.

Signed-Off-By: RAJEEV RANJAN<rajeev.r>@samsumg.com>



SVN revision: 69947
2012-04-06 07:14:10 +00:00
cnook aca47ccfc1 From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [patch][elementary] elc_popup, restack issue

The elc_popup does not raise to the top of its layer even though
evas_object_raise() is called with the popup object.
Because the elm_widget_resize_object_set(); makes notify object which is
internally used in the popup have a smart parent.
Ultimately, the callback function for EVAS_CALLBACK_RESTACK of the
notify
is not called.
So I removed elm_widget_resize_object_set(); from the popup and added
some
implementations to show the popup properly.
Moreover, I have added test code also in the attached patch. Then,
please
review the patch and give any feedbacks. Thanks.



SVN revision: 69790
2012-03-30 09:56:22 +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
Daniel Juyung Seo 3d15654faa elm elm_object_item: Fixed item part content set hooks.
1. delete old content object
2. check whether new content object is same as old content object
3. rename internal content set hook function
4. elm_widget_sub_object_del will be followed by evas_object_del
5. added some doxygen description.

SVN revision: 69738
2012-03-29 10:08:37 +00:00
WooHyun Jung 6a4dff3a17 elementary/popup : Fixing a bug. Please refer following message from
Rajeev. Thanks Rajeev.
Existing Issue before this change:
   The popup width gets scaled twice when theme_hook gets invoked
because of some reason such as style change, change in elementary
scale factor, change in widget scaling etc.

Change Description:
  Removed setting scaling of internal object wd->base from theme_hook
as it is set to the widget scaling automatically.
Signed-Off-By: RAJEEV RANJAN<rajeev.r@samsumg.com>


SVN revision: 69492
2012-03-18 10:04:49 +00:00