Commit Graph

85 Commits

Author SHA1 Message Date
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 ba4dbce9d9 elm: enhance eina_list_free usages. use EINA_LIST_FREE if needed. 2013-04-10 20:28:35 +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 4e434e75f2 diskselector: adopt more eo code. 2013-03-31 01:43:45 +09:00
Daniel Juyung Seo 5290aaf26f diskselector: reuse evas pointer. 2013-03-30 02:53:22 +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
ChunEon Park 844b5805ff elementary/widget - don't handle tthe resize objects in widget infrastructure. Acutally these resize objects are sub objects so we don't need to care them separately. This caused overhead in some cases(ie, theme change)
SVN revision: 83990
2013-02-16 13:39:59 +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
Daniel Juyung Seo 3bcb50c61b elm diskselector: Refactoring. Use ecore_idle_enterer properly.
1. Idle enterer is deleted when ECORE_CALLBACK_CANCEL is returned.
   So calling the idle enterer callback directly from the code needs more considerations.
2. Used better variable names and added more comment.
3. Diskselector needs much more love.

SVN revision: 83298
2013-01-24 12:22:02 +00:00
Daniel Juyung Seo 8cc8a666dc elm diskselector: refactoring. use descriptive name for a variable. declare variables in the beginning of the function.
SVN revision: 83072
2013-01-22 10:49:00 +00:00
Daniel Juyung Seo 5459393b43 elm diskselector: Freeze/thaw evas event on add/item_append. This gave me 150 msec speed up on the low-end device with less than 100 items.
SVN revision: 83071
2013-01-22 10:48:56 +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
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
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 adc7416fcb elm access: Rename access hook name according to elm refactoring.
SVN revision: 78993
2012-11-08 08:33:26 +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
Kim Shinwoo 39eb187493 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] diskselector - blank item
should be added on round disabled mode

blank item should be added on the round disabled mode.
current diskselector adds blank item even though the round mode is enabled.
so please check the patch and give feedback. thanks.



SVN revision: 77990
2012-10-15 08:43:14 +00:00
Kim Shinwoo 1cdbfa5f82 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] diskselector - bug fix

diskselector has two bugs.

1. on round enable mode
elm_diskselector_item_append(); does not call elm_box_pack_*() for
over_items and under_items which are added when the display item is
bigger
than 3.
because over_items and under_items is not added, the diskselector shows
just 4 items + half item(NOT 5 items), in case of display item number
is 5
- elm_diskselector_display_item_num(obj, 5); -.
this bug could be found only if u use as following sequence.
   a. elm_diskselector_round_enabled_set(obj, EINA_TRUE);
      b. elm_diskselector_item_append();
      
      2. on the round disable mode + bigger than 3 display item
      even though display item is bigger than 3 on the round disable
mode, only
two blank items are added - left_blank, right_blank.
because of this, the first item could not be selected. means.. the first
item cannot be located in the middle of diskselector.
if u scroll the diskselector to the left-most, then the second item is
selected as below.

   [blank] [ 1st ] [ 2nd ] [ 3rd ] [ 4th ]
   
   so if the display item is bigger than 3, more blank items would be
   necessary.
   include lines to resolve above 1st bug, the patch would resolve
this issue
also.



SVN revision: 77740
2012-10-10 09:43:58 +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 b52366b70d From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] diskselector - checking middle
item

the diskselector object x-coordinate would not be 0.
but the _scroll_animate_stop_cb() calculates selected item with assumption
that the diskselector object x-coordinate is 0.
so different item which is not in middle of diskselector is selected.



SVN revision: 77182
2012-09-28 08:48:48 +00:00
PRINCE KUMAR DUBEY bc2a1bd996 From: PRINCE KUMAR DUBEY <prince.dubey@samsung.com>
Subject: [E-devel] [Patch] [Elementary] Support for circular effect in
elm_diskselector, in case scroller's bounce effect is disabled.

Can someone please review the attached patch created by Sumanth.

[Issue Details] :
elm_diskselector_round_enable_set() API is not working, if
elm_scroller's bounce effect is disabled.

[Root cause] :
For diskselector circular effect, the boundary checking is done based
on scroller's geometry.
If bouncing effect is disabled in elm_scroller, its geometry can lie
between 0 on left and CHILD_SIZE on right but it can never go beyond
that point.
Unless the scroller's geometry goes beyond its child (here, elm_box)
size, diskselector cann't trigger the circular effect.

[Change Description] :
For diskselector items circular effect, the boundary checking is
performed at the left/right edges of its child, elm_box.
Once the scroller reaches to the left/right edge of box or goes beyond
that point, circular effect will be triggered.



SVN revision: 76606
2012-09-13 11:55:24 +00:00
Kim Shinwoo 7c50cdd4aa From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] diskselector - text align issue

by default diskselector item has space for icon even though the item does
not have icon.
so in some cases, the text is not located in the center of item and
diskselector.
the attachment would resolve this issue. please look into it and give
feedback. thanks.



SVN revision: 76507
2012-09-12 08:46:10 +00:00
Daniel Juyung Seo 319c9153fc elm diskselector: Added 'clicked' smart callback to diskselector. This is called only when user clicks an item.
SVN revision: 75870
2012-08-30 10:38:38 +00:00
Daniel Juyung Seo b66480b650 elm diskselector: Fixed wrong icon duplication. Do not duplicate icon if icon is NULL.
This fixes following error message in diskselector.
   ERR<30865>: elm_icon.c:761 elm_icon_add() safety check failed: parent == NULL

SVN revision: 75847
2012-08-30 07:54:18 +00:00
Kim Shinwoo c92e566fe5 elm diskselector: Revert diskselector patch derived by Shinwoo Kim's diskselector patch.
That needs to be done in other way.

Revert "From: Kim Shinwoo <kimcinoo.efl@gmail.com>"

This reverts commit 9d6e461366a0eb208d75b0a1fb5c0c822b761c71.

SVN revision: 75836
2012-08-30 03:05:20 +00:00
Kim Shinwoo 3550d79869 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] diskselector - select option,
disabling auto selection. datetime - show even number of items

by default, an diskselector item which is right in the center of
diskselector is selected automatically.
and if the item style emit elm,action,click signal, the item is selected
also.

so there would be a case that item select callback is called by two
ways.
one is clicking the item,
the other is locating item right in the center of diskselector (if
number
of displayed item is odd, then after scrolling the selected callback is
called always).

because of this reason, datetime module always set number of displayed
item
to even number.

to resolve this issue, i add a api to enable or disable default
behavior -
the auto selection - that can be found on the attachment.
moreover the second attachment is for datetime module, now the
datetime can
show even number of items.



SVN revision: 75820
2012-08-29 09:02:21 +00:00
Eduardo de Barros Lima ab06389056 elm_diskselector: Free r_list in elm_diskselector_clear()
List contains garbage at this point and causes SEGV in DiskSelector test

Fixes #1413


SVN revision: 75799
2012-08-28 20:20:28 +00:00
Kim Shinwoo 4de57c2cb9 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] *  access *

Series of of pathes from kim shinwoo. looked good to me - so in they
go, finishing off some more access mode to be more complete.



SVN revision: 75415
2012-08-18 13:52:03 +00:00
Gustavo Lima Chaves 0a1b1445f5 [elm] Diskselector now inheritable.
SVN revision: 74670
2012-07-31 22:05:00 +00:00
Gustavo Lima Chaves ae24291d9a [elm] Removing unused var.
SVN revision: 74254
2012-07-20 14:58:21 +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 e6b6bcd8b4 [elm] Diskselector now a scrollable widget.
Again, all bugs and features kept. Enjoy.



SVN revision: 74027
2012-07-17 22:09:07 +00:00
Kim Shinwoo 14c52fe469 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] diskselector, duplicate icon
for rounded item

minor fix to diskselector to repeat icons right.

The diskselector has round mode which can be set by
elm_diskselector_round_enabled_set().
In case of round mode is enabled, the icon does not display properly
because diskselector replace the icon for the additional items - not copy
and paste. To enable round mode, diskselector adds over/under itmes(additional
itmes) by using normal mode items. So there is a icon to set two places in
diskselector. But diskselector does not duplicate the icon.. this makes item
without icon but there should be.. I'm not sure the best way to duplicate icon.



SVN revision: 73397
2012-07-06 07:08:16 +00:00
Kim Shinwoo 1ceff28ee9 elemenatry/diskselector - RE:[E-devel][Patch][elementary] elm_diskselector, align of icon only item
Dear all, hello.

If an item of diskselector has only icon without label, then the icon
displays at left side of its space.
So if there is no label, the icon should display at the middle of its 
space.
Please review the patch. Thanks.

Sincerely,
Shinwoo Kim.

Signed-Off-By: Kim Shinwoo <kimcinoo.efl@gmail.com>




SVN revision: 71279
2012-05-21 10:30:47 +00:00
Carsten Haitzler d7522aeb07 fix valgrind complaint
SVN revision: 70466
2012-04-25 10:34:13 +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 cd7b3bca7a Diskselector segfault issue fix.
Author : cnook <kimcinoo@gmail.com>

SVN revision: 70253
2012-04-17 05:29:34 +00:00
Jihoon Kim b7c213af86 elementary: ignore key event of keypad when NumLock is turned on in calendar, diskselector, gengrid, genlist, and player
SVN revision: 69939
2012-04-06 00:56:06 +00:00
Daniel Juyung Seo 8c17d99712 elm: Fixed formatting. Added a space after 'if/while/for'
SVN revision: 69744
2012-03-29 11:09:45 +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
ChunEon Park f57c84c526 elementary/diskselector - more useful signal callbacks
SVN revision: 69333
2012-03-14 12:29:22 +00:00
Daniel Juyung Seo f545d9ace9 elm diskselector: Reviewed diskselector.
SVN revision: 68936
2012-03-07 12:30:00 +00:00
Carsten Haitzler e697a6ef5c warn--
SVN revision: 68888
2012-03-07 08:01:52 +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 1e12f9d668 remove deprecated code related with elm_diskselector
SVN revision: 68801
2012-03-06 09:54:04 +00:00
ChunEon Park c5232c4741 elementary - removed unnecessary checkings
SVN revision: 68393
2012-02-24 08:53:01 +00:00
ChunEon Park 8a872c513e elementary/diskselector - deprecated elm_diskselector_item_cursor_* APIs.
Please use elm_object_item_cursor_* APIs.



SVN revision: 67625
2012-01-31 05:01:27 +00:00