Commit Graph

124 Commits

Author SHA1 Message Date
ChunEon Park 72f639543c elementary/ctxpopup - apply current ctxpopup style to the internal list. 2013-06-23 02:23:23 +09:00
ChunEon Park 36ad1cc0e8 ctxpopup - block mouse events when ctxpopup is on dismiss. 2013-06-22 15:21:00 +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 9c690eb61a elementary/elc_ctxpopup : When content is not internal elm_list, focus direction should be controlled inside ctxpopup. 2013-05-30 15:24:32 +09:00
Cedric Bail c929b33052 elementary: properly sanitize headers order. 2013-05-03 16:07:06 +09:00
ChunEon Park fc807ab7f6 ctxpopup - Don't be dead even if a ctxpopup item callback function is null. 2013-05-02 20:25:42 +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
WooHyun Jung 8a6c6c0827 elc_ctxpopup.c : Add focus_direction and fixed wrong focus set when sd->list exists. 2013-04-09 22:24:53 +09:00
Daniel Juyung Seo cc0c10f9d9 elc_ctxpopup.c: Do not calculate its size until parent is set.
We don't need to calculate ctxpopup's size until the parent is set.
Size will be calculated again after the parent is set.
2013-04-08 19:29:19 +09:00
Ryuan Choi 7f4c7d2f72 ctxpopup: Fixed crashed when sd->parent is null after 9c3d78b. 2013-04-07 22:47:48 +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 73f58db6cc ctxpopup: Fixed ctxpopup geometry when parent is an elm_win. Forwardport from elementary-1.7.
This is manual cherry-pick from discomfitor's elementary-1.7 patch due to the code base difference.
2013-03-29 21:29:24 +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 bf0ff25e5d [ctxpopup] proper restacking, previous restack callback makes the bg be top of the ctxpopup.
SVN revision: 84245
2013-02-20 02:30:04 +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
ChunEon Park 9dd44ce852 elementary/ctxpopup - ctxpopup will be dismissed when the language is changed.
SVN revision: 83841
2013-02-12 06:58:05 +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
ChunEon Park a21980118b elementary/ctxpopup - [E-devel] [PATCH] [Elementary] Fix memory leak and callback function in ctxpopup
Hello everyone,

There are two issues with ctxpopup:
- Memory leak: Elm_Ctxpopup_Item is used but not deleted.
- Incorrect callback function: returned object and event_info are list object and item
(should be ctxpopup object and item).

I would like to send a patch to fix above issues.
I also provide the patch for backporting.
Please review them.

Best Regards,
Thiep 

Signed-Off-By: Theip Ha<thiep.ha@samsung.com>



SVN revision: 82968
2013-01-18 09:07:03 +00:00
ChunEon Park ee37e89a1c elementary/ctxpopup - [E-devel] [Patch] when parent of ctxpopup is resized, call dismissed signal
Before the patch, when window of device which has elementary rotates,
the ctxpopup doesn't emit the "dismissed" signal to application.
For this reason, if an application developer wants to make an event using "dismissed" signal when device rotates,
he/she cannot do anything.

But after add evas_object_smart_callback in the function "_on_parent_resize",
this problem is resolved.
That means, whether a device is rotated or not, when ctxpopup disappears, "dismissed" signal is emitted.
So I want you to check this patch.

Thank you.

Signed-Off-By: Bora Hwang<bora1.hwang@samsung.com>



SVN revision: 82918
2013-01-17 04:44:05 +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
Aharon Hillel 19b2e5e892 elementary: Fixed show/hide direction for ctx-popup ui-mirroring
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 76892
2012-09-20 08:13:28 +00:00
Aharon Hillel 56dce48238 elementary: Fixed elc_ctxpopup arrow for ui-mirroring
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 76861
2012-09-19 13:00:00 +00:00
Carsten Haitzler 0fb69c0e37 unknonw direction actually should just be handled in default - skip
that direction and go to the next one.



SVN revision: 76589
2012-09-13 08:31:29 +00:00
thiep ha 6f5539c8ca From: thiep ha <thiep.ha@samsung.com>
Subject: [E-devel] [Patch] [Elementary] ctxpopup - correct position
and size of ctxpopup

With ctxpopup, if it has many items and user uses -1 as parameter in
set direction priority function, 
the ctxpopup position and size are calculated incorrectly.
Ex:
elm_ctxpopup_direction_priority_set(ctxpopup,
ELM_CTXPOPUP_DIRECTION_DOWN, ELM_CTXPOPUP_DIRECTION_UP, -1, -1); 



SVN revision: 76505
2012-09-12 08:35:42 +00:00
WooHyun Jung 1ac12fe423 elementary/ctxpopup : Rollback 76452. Ctxpopup seemed to be bad with
this modification. (please see the datetime in elementary_test)


SVN revision: 76486
2012-09-12 04:34:08 +00:00
ChunEon Park 3fec653c9b elementary/ctxpopup - correct position and size of ctxpopup
Dear all,

With ctxpopup, if it has many items and user uses -1 as parameter in set direction priority function,
the ctxpopup position and size are calculated incorrectly.
Ex:
elm_ctxpopup_direction_priority_set(ctxpopup, ELM_CTXPOPUP_DIRECTION_DOWN, ELM_CTXPOPUP_DIRECTION_UP, -1, -1);

I would like to send a small patch to fix this issue.
Please take a look on it.

Thanks & Regards,
Thiep Ha

Signed-Off-By: Thiep ha<thiep.ha@samsung.com>



SVN revision: 76452
2012-09-11 10:29:48 +00:00
Gustavo Lima Chaves b76a658b9d [elm] Oopsie--.
SVN revision: 76131
2012-09-04 14:10:00 +00:00
Gustavo Lima Chaves 389f6eaf14 [elm] Ctxpopup now a layout.
SVN revision: 75893
2012-08-30 16:45:51 +00:00
Daniel Juyung Seo b4276d84d2 elm elc_ctxpopup.c: Code refactoring.
SVN revision: 75885
2012-08-30 15:18:47 +00:00
Kim Shinwoo 13648c3680 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] ctxpopup, focus-chain

i'd like to raise an issue about focus chain on the ctxpopup. the focus
would go around only in the ctxpopup. (IMHO, raster keep the previous
popup
patch. so definitely!!)
but.. first of all, current ctxpopup does not have focus_next(). even
though there is focus_next(), it is not work properly,
because the parent of ctxpopup would be a widget which does not take
care
of sub objects in the focus_next(); such as elm_list.
(every widget can be a parent of ctxpopup, if the widget is enough
size to
display ctxpopup. thus the elm_list can be a parent of ctxpopup also).
anyhow, to resolve this issue, the patch uses event() of
elm_widget_event_hook_set().

the ctxpopup item is equal to the elm_list item. but the focus chain of
elm_list does not work properly.
generally, we use 'Tab' key to move focus, but elm_list uses the
(up,down)
arrow key moreover it is not a focus.
if you want to check this patch, it would be better to use
ELM_ACCESS_MODE=1.



SVN revision: 74650
2012-07-31 12:30:48 +00:00
Daniel Juyung Seo 1f70eb1107 Revert "elementary/ctxpopup - but there would be no parent NULL case."
There is a case that parent can be NULL when you call
elm_ctxpopup_add().

This reverts commit 8bc665a6ebc9daf0d5faa46223635f46f3d0f682.

SVN revision: 71305
2012-05-22 08:08:16 +00:00
ChunEon Park 6c1ee5405a elementary/ctxpopup - but there would be no parent NULL case.
SVN revision: 71303
2012-05-22 07:09:13 +00:00
Daniel Juyung Seo 22dee8af47 elm ctx_popup: Fixed ctx_popup parent_cut logic. Patch by Bluezery
<ohpowel@gmail.com>
On Mon, May 21, 2012 at 5:32 PM, Bluezery <ohpowel@gmail.com> wrote:
> Hello,
>
> When ctx_popup is deleted, it calls "elm_widget_sub_object_del(parent,
> popup)" so that ctx_popup's parent can delete it's sub_ojbect,
> "ctx_popup".
> But this is not needed because parent already deletes it's sub-object
> in elm_widget.c
>
> Thanks
>
> --
> BRs,
> Kim.

SVN revision: 71301
2012-05-22 06:58:47 +00:00
Daniel Juyung Seo 70f5519ff8 elm elc_ctxpopup: Refactoring.
SVN revision: 71300
2012-05-22 05:44:00 +00:00
Tom Hacohen cf09d45c3b Elm ctxpopup: remove useless code until we actually support mirroring.
Currently there's semi-ready code (1 liner) that does nothing. Hermet, you
promised you'll add ui-mirroring support AGES ago when this widget got in.

SVN revision: 70960
2012-05-13 08:37:09 +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
cnook 047fcff3c3 From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elementary] elc_ctxpopup using elm_list
internally.

The patch is for using elm_list as a item controller of elc_ctxpopup.
I have learned that there was an opinion to change the internal
structure
of ctxpopup using the list.
It would be able to match up to your expectation. but it is just a draft
version of using list in ctxpopup.
So, It would be pretty good to me if you give any feedback on this.
Thanks.




SVN revision: 69561
2012-03-22 10:14:58 +00:00
ChunEon Park ebbfacad13 elementary/ctxpopup - support more common apis
elm_object_signal_emit
elm_object_signal_callback_add
elm_object_signal_callback_del



SVN revision: 69336
2012-03-14 13:03:38 +00:00
ChunEon Park e55dcb8d77 elementary/ctxpopup - hide ctxpopup obj after it is dismissed
SVN revision: 69274
2012-03-13 01:04:42 +00:00
ChunEon Park 2c64142996 elementary/ctxpopup - one more API elm_ctxpopup_dismiss
requested by discomfitor 



SVN revision: 68874
2012-03-07 05:58:38 +00:00
Daniel Juyung Seo 480c61f20a elm: Formatting. No spacing after casting.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68807
2012-03-06 11:51:42 +00:00
Jiyoun Park d7ad919420 remove elm ctx popup's code related with deprecated function
SVN revision: 68452
2012-02-26 12:40:47 +00:00
ChunEon Park c5232c4741 elementary - removed unnecessary checkings
SVN revision: 68393
2012-02-24 08:53:01 +00:00
ChunEon Park b6116cc8dc elementary/ctxpopup - + hide effect
SVN revision: 67673
2012-02-01 11:26:25 +00:00
ChunEon Park 2db6dd39e0 elementary/ctxpopup - wd could be deleted in the DISMISSED callback
SVN revision: 67667
2012-02-01 03:16:13 +00:00