Commit Graph

212 Commits

Author SHA1 Message Date
Daniel Juyung Seo ba4dbce9d9 elm: enhance eina_list_free usages. use EINA_LIST_FREE if needed. 2013-04-10 20:28:35 +09:00
WooHyun Jung 2f3a41de31 elm_list.c : _elm_list_smart_focus_next_enable is for focus_next function. Not for focus_direction. 2013-04-09 22:22:37 +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
WooHyun Jung 2542b16b01 elementary/list : Fixed a bug in elm_list. Focus_next is needed only when access mode is enabled. 2013-03-13 14:05:00 +09: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
Jaehwan Kim d58d971e6f Add the option about sending signals in content_pos_set.
When the scroller is resized, the signals("elm,action,scroll", "elm,edge,top" so on) shouldn't be sent,
because it's not a scroll-action. So in this case, the content_pos_set should be called without the signals.
2013-02-28 15:18:51 +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
Shinwoo Kim 317920e3e3 [access] do not have to read out type infomation of genlist and list
the user would be visually impaired person or blind, so the type infomation
of genlist or list is not proper. there would be more proper type infomation.


SVN revision: 83005
2013-01-19 08:05:15 +00:00
Daniel Juyung Seo 84d251acc8 elm list, genlist, gengrid: Added highlighted and unhighlighted signal callbacks.
SVN revision: 82750
2013-01-14 10:12:50 +00:00
Shinwoo Kim 88dac18cf7 [access] export elm_access_activate_cb_set(); and add related documentation.
SVN revision: 82052
2013-01-03 09:31:33 +00:00
Daniel Juyung Seo f4e8c92f0d elm list: Fixed list separator size bug. Patch by Thiep Ha <thiep.ha@samsung.com>
On Sun, Dec 9, 2012 at 11:11 AM, thiep ha <thiep.ha@samsung.com> wrote:

    Dear All,

    In elementary list, the separator is not correctly set.
    I would like to send a patch to correct the list with separator.
    I also add an example named "List Separator" to test it.

    Please review this patch.

    Best Regards,
    Thiep Ha

SVN revision: 82040
2013-01-03 06:23:33 +00:00
Daniel Juyung Seo cf682c4214 elm list: Use EINA_FALSE instead of 0 for Eina_Bool type variable.
SVN revision: 82004
2013-01-02 18:36:22 +00:00
Shinwoo Kim f10fb3e115 [access] export some APIs,and remove unnecessary lines.
+ elm_access_object_register();
  + elm_access_object_unregister();
  + elm_access_text_set();
  + elm_access_text_get();
  + elm_access_cb_set();

These APIs are to use edje part, evas object as an accessible object.
and do not create access object, because access object would be created at run time.
This is different with internal API _elm_access_object_register();


SVN revision: 81659
2012-12-23 14:50:56 +00:00
Daniel Juyung Seo 10cb9bcf73 elm elm_list.c: fixed formatting.
SVN revision: 80262
2012-12-05 15:52:43 +00:00
Cedric BAIL d29d66e65e elementary: in some case it could be NULL, resulting in dereferencing a NULL pointer.
SVN revision: 80141
2012-12-04 10:26:31 +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
Shinwoo Kim 3ff4a96fdc [list] enhance access feature - add access activate callback
*note: this commit - callback behavior - would be disputable as genlist becuase list has
       "clicked,double", "selected" and "activated" signal and smart callback also.
       but the access acitvate callback works as the item is selected.



SVN revision: 79451
2012-11-19 13:40:24 +00:00
Shinwoo Kim f81147a18e [access] enhance access feature
1. add _elm_access_object_unregister(); api.
  2. unregister access object properly when unregister widget item.
  3. modify improper access object check.
  4. [list] add smart_access(); lines to provide run time register, unregister.
  5. [genlist] unregister access object when genlist item is unrealized.



SVN revision: 79444
2012-11-19 13:08:54 +00:00
Daniel Juyung Seo 71d832404a elm access: Create access object only when access mode is enabled.
SVN revision: 78992
2012-11-08 08:02:12 +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
Daniel Juyung Seo ac8ba87340 elm list: Do not process _size_hints_changed_cb when list is going to be deleted.
This fixes list self deletion bug when evas_object_del(list) is called inside item selected callback.

SVN revision: 75832
2012-08-29 23:38:58 +00:00
Carsten Haitzler 4f0c004519 fix selection handling in list if items disabled.
SVN revision: 75041
2012-08-09 11:54:37 +00:00
Gustavo Lima Chaves a0359a65c5 [elm] List now inheritable.
SVN revision: 74688
2012-07-31 22:06:36 +00:00
Gustavo Lima Chaves 7d1ffe6195 [elm] Some oopsies--.
SVN revision: 74405
2012-07-25 22:03:07 +00:00
Cedric BAIL 187462ec9d elementary: fix erroneous memory access.
One more pack of beer for the Valgrind developer !


SVN revision: 74202
2012-07-20 04:20:06 +00:00
Cedric BAIL 5ff2c0d78b elementary: prevent the hook to mess with the event object property.
SVN revision: 74175
2012-07-19 09:25:04 +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 fc488079d6 [elm] No initting code out of smart_add() -- list.
SVN revision: 73997
2012-07-17 15:02:22 +00:00
Gustavo Lima Chaves 5cd7fce261 [elm] Old cosmetical diff flush.
SVN revision: 73993
2012-07-17 14:56:32 +00:00
Gustavo Lima Chaves 9e4f104587 [elm] Fix bad theming on new layout widgets.
SVN revision: 73381
2012-07-05 21:07:15 +00:00
Gustavo Lima Chaves 47c401724c [elm] Fix code duplication on list porting.
SVN revision: 73379
2012-07-05 19:49:54 +00:00
Gustavo Lima Chaves d4f88af273 [elm] Elm list is now a SCROLLABLE layout.
This means it inherits from the layout class and implements the
scrollable interface.



SVN revision: 73310
2012-07-04 21:43:05 +00:00
Kim Shinwoo 4709f16668 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [Patch][elementary] elm_access, use widget_item in
focus chain

It has been possible to use widget_item in access mode. The mouse-in
event
makes the widget_item speak.
But focus chain is not useful in access mode, because the widget_item
cannot get the focus as the edje object.
The accessibility highlight will move by keeping the attached patch
and you
can hear the sound of widget item information.
Please review the patch and give some feedbacks. There would be further
works such as dynamic setting focus next hook,
the previous _elm_access_list_register();, but please keep this first if
there is no big trouble. I'll do those also. Thanks.



SVN revision: 73074
2012-06-30 06:21:14 +00:00
Carsten Haitzler c7fad4ef42 fix discomfitors list scalign thing.. was actually image/icon madness.
:)



SVN revision: 72109
2012-06-14 07:55:55 +00:00
Mike Blumenkrantz 7ecc19fbae elm list had a typo which seemed harmless but probably broke some things. I corrected it. don't have a full checkout here, so no backporting unless someone else does it or I remember to do it later
SVN revision: 71465
2012-05-28 17:51:02 +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
Daniel Juyung Seo c4fc10388c elm list/genlist: Renamed interval text get/set hook name.
SVN revision: 70121
2012-04-12 07:14:15 +00:00
Jihoon Kim 3a9a0cb9d5 elm/list: igonore key event of keypad when NumLock is turned on.
SVN revision: 69922
2012-04-05 01:18:51 +00:00
Daniel Juyung Seo 91d43ae017 elm: Set timer/animator to NULL after they're deleted.
SVN revision: 69796
2012-03-30 12:31:11 +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
Daniel Juyung Seo 7908a77ad8 elm: Fixed formatting.
SVN revision: 69700
2012-03-28 09:02:22 +00:00
Carsten Haitzler 146f134413 to make show/bring in work for list - canvas objects need calcing
first! so,., calc!



SVN revision: 69560
2012-03-22 10:10:29 +00:00
cnook 18ac67edd1 From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elm_list] bug fix: crash occurs when
container which contains the elm_list is deleted on the "elm_list item
clicked" callback

I have resolved the elm_list issue(goto ELM_LIST_CRASH_ISSUE_MAIL below, I
sent mail but I cannot find the previous mail -_-;).
It would be related with double free issue. In the "sub-obejct-del"
callback which name is _sub_del() sets item->icon to NULL.
And in the EVAS_CALLBACK_MOUSE_UP callback funtion which name is
_mouse_up() calls evas_object_unref();
It would try to free the item->icon but the item->icon is already set to
NULL. So.. the crash would occur..



SVN revision: 69555
2012-03-22 05:58:49 +00:00
cnook 6b592fcea5 From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elementary] elm_list.c - item_content_set()
related.

The Eina_Bool item->dummy_icon and item->dummy_end of Elm_List_Item
indicate whether the content has REAL object or not.
- "not" means.. if elm_object_item_part_content_set(); is called with
NULL content, the Elm_List set the swallow part with
rectangle which has alpha value 0 and the item->dummy_icon or
item->dummy_end is set to EINA_TRUE. -
But in the item_content_set(); it works the opposite way. So when
content set with NULL value the flag should be EINA_TRUE.



SVN revision: 69535
2012-03-21 10:41:42 +00:00
Daniel Juyung Seo 676cf93ec3 elm list: Added elm_list_first/last_item_get() APIs. I know we freezed API but they are so primitive and necessary for 1.0
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69505
2012-03-19 07:27:53 +00:00
Jiyoun Park c421626833 remove elm_list_always_select_mode_get/set deprecated API
SVN revision: 69330
2012-03-14 11:13:24 +00:00
Jiyoun Park d16e5bf412 remove code related with
elm_list_item_disabled
elm_list_item_XXX
which was deprecated


SVN revision: 69109
2012-03-09 15:03:18 +00:00
Jiyoun Park ab59567695 remove deprectated function related with elm_list_item_base_get & elm_mapbuf_content_
SVN revision: 69084
2012-03-09 09:35:21 +00:00