Commit Graph

288 Commits

Author SHA1 Message Date
Daniel Juyung Seo bc07b91b0e elm genlist/list/gengrid: Removed deprecated signal "clicked". Use
"clicked,double" instead.

The name was wrong and I added a proper signals few months ago. Not I
removed wrong signals.


SVN revision: 61115
2011-07-07 12:49:39 +00:00
Daniel Juyung Seo 9e9745616e elm genlist: Fixed delayed signal processing issue. Patch by Jaehwan Kim <jae.hwan.kim@samsung.com>
2011/7/5 Jaehwan Kim <jae.hwan.kim@samsung.com>:
>
> Dear all,
>
> In target, elm_genlist sometime blink while it realize again.
> It is why the signal like "elm,state,selected" isn't processed immediatly.
> So it show default state and then change to seleted state.
> _item_realize have to process the signals immediatly.
> It add a line "edje_object_message_signal_process" in the last of the _item_realize.
> Please check the patch.
>
> Thanks.


SVN revision: 61061
2011-07-05 17:17:14 +00:00
Mike McCormack 0295f4d56e elementary: elm_label_label_ -> elm_object_text
Clear deprecated warnings.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 60798
2011-06-29 06:41:31 +00:00
Daniel Juyung Seo f3085a3088 elm genlist: Removed unnecessary variable.
SVN revision: 60747
2011-06-28 07:13:28 +00:00
Daniel Juyung Seo 321c4c8daf elm genlist: Mark TODO to moved function.
Change moved callback in item class to smart callback.


SVN revision: 60717
2011-06-27 03:06:33 +00:00
Cedric BAIL 74dd82cf60 elementary: add some usefull function around sorted insert.
SVN revision: 60691
2011-06-25 23:20:22 +00:00
Daniel Juyung Seo 2a31563c8f elm genlist: Fixed indentation.
SVN revision: 60626
2011-06-23 09:51:03 +00:00
Daniel Juyung Seo dffab59e5e elm genlist, photocam, map: Fixed wrong signal emitting.
SVN revision: 60325
2011-06-15 05:30:23 +00:00
Seunggyun Kim dc4627227f From: Seunggyun Kim <sgyun.kim@samsung.com>
Subject: [E-devel] [Patch] elm_genlist - added auto scroll function
when expanding items.

Now, The user don't know how many items are added when the item is expanded in tree view.
If the use want to know how many items are added, they have to scroll
genlist view.

So I added auto scroll function when the items is expanded on bottom of viewport.
Using this, the user can know expanded items although that is expanded
beyond the view port.



SVN revision: 60302
2011-06-14 09:18:54 +00:00
Cedric BAIL fda013920d elementary: add safety check to prevent some ill request.
SVN revision: 60261
2011-06-13 07:43:11 +00:00
Daniel Juyung Seo 6c68857b0e Elementary genlist: Indentation fix for reorder patch.
SVN revision: 60110
2011-06-09 02:54:04 +00:00
Daniel Juyung Seo e83f4fc000 Elementary genlist: Fixed "Genlist 4" test case.
Using evas_event_freeze/thaw in _item_realize, _item_block_recalc and _queue_process breaks "Genlist 4" test case which is using textblock.
We need to re-examine evas_event_freeze/thaw. They are so tricky :(


SVN revision: 60092
2011-06-08 16:56:50 +00:00
Daniel Juyung Seo da9848bc17 Elementary genlist: Refactoring.
1. Changed int for 0/1 to Eina_Bool.
2. Removed unnecessary variable. Don't need to assign macro to
variable. Just use macro.
3. Fixed indentation.


SVN revision: 60086
2011-06-08 10:58:00 +00:00
Daniel Juyung Seo 65a345438e Elementary genlist: Removed internal routine in _item_block_realize().
Genlist items are realized separately. So block realize doesn't mean
realizing all items in the block. This function and
_item_block_unrealize() will be refactored later again.


SVN revision: 60085
2011-06-08 10:48:20 +00:00
Daniel Juyung Seo b1185c152c Elementary gengrid,genlist: Sync genlist/gengrid signal name for
reorder.


SVN revision: 60013
2011-06-07 00:46:22 +00:00
Daniel Juyung Seo 6206f5f4a4 Elementary genlist: Code refactoring.
SVN revision: 59942
2011-06-04 01:52:08 +00:00
Daniel Juyung Seo 629a67e86b Elementary genlist: Applied reorder effect patch from Seunggyun
<sgyun.kim@samsung.com>. Now reorder effect is enalbed :)

Btw, I changed signal name before commit.


SVN revision: 59940
2011-06-04 01:17:52 +00:00
Daniel Juyung Seo 20acef07bc Elementary genlist: Fixed formatting.
SVN revision: 59887
2011-06-02 05:40:30 +00:00
Daniel Juyung Seo 665b5f07c6 Elementary: Fixed trailing whitespaces.
It looks like flip is not changed frequently now. I will check
whitespace and indentation from time to time. If this is not good,
please check codes before commit. Thanks.


SVN revision: 59884
2011-06-02 04:24:58 +00:00
Seunggyun Kim 265c83e5a5 From: Seunggyun Kim <sgyun.kim@samsung.com>
Subject: [E-devel] [Patch] elm_genlist - added new feature : genlist
reorder mode


I introduce a new feature "reorder mode" of genlist.
Using this feature, user can reoder genlist items dynamically.

[API]
==================================================================
- EAPI Eina_Bool   elm_genlist_item_rename_mode_get(Elm_Genlist_Item *it)
Get the rename mode state of an item. This gets the rename mode state
of an item

- EAPI void   elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode)
Set genlist reorder mode. This enables the item is moved to another
item.
==================================================================

After set this reorder api, if user press an item (long press), the item can
be moved another position.
Then if the user releases the item, the item will be reodered in genlist.
When the user releases the holding item, Elm_Genlist_Item_Class.func.moved
callback is also called. 
If needed, the application can add some logic in that callback function.



SVN revision: 59883
2011-06-02 03:10:11 +00:00
Carsten Haitzler 967c430a52 get rid of freeze+thaw lockup for mode changed items
SVN revision: 59867
2011-06-01 13:15:08 +00:00
Carsten Haitzler 823e640632 seems 1 frereze+thaw causes slowdown... thanks dan! :)
SVN revision: 59866
2011-06-01 13:13:56 +00:00
Daniel Juyung Seo eac6ad1a56 Elementary genlist: Fixed event freeze problem with mode item.
SVN revision: 59864
2011-06-01 11:46:24 +00:00
Daniel Juyung Seo eeaf9ea360 Elementary lib: Removed trailing whitespaces except for flip.
SVN revision: 59796
2011-05-30 02:31:21 +00:00
Carsten Haitzler 5c1134e1f5 genlist -> improve performance by adding lots of freezes and thaws. :)
SVN revision: 59729
2011-05-27 10:30:56 +00:00
Daniel Juyung Seo ba463fcd39 Elementary genlist: Fixed warnings and removed unnecessary lines.
SVN revision: 59707
2011-05-27 01:02:16 +00:00
Michael BOUCHAUD c89bde9986 elementary: thanks to the recent add of eina_inlist_sorted_insert add elm_genlist_item_sorted_insert
SVN revision: 59672
2011-05-25 14:58:39 +00:00
Daniel Juyung Seo dbb3d5fb14 Elementary genlist: Fixed bug in single selection mode to prevent
multiple selection. Patch by Hyoyoung Chang <hyoyoung.chang@samsung.com>

On Tue, May 24, 2011 at 7:43 PM, Hyoyoung Chang
<hyoyoung.chang@samsung.com> wrote:
Dear Elementary developers.

I made a oneline patch.
It's about in single selection mode of elm_genlist.
In single selection mode, some multi touching can make multi selected items.

It can't easy reproduce at PC environment(like as mouse+keyboard), but if you have multi touching device you can easily reproduce.

Reproduce step is putting two pointing device on genlist.
1.      long pressing one pointer.
2.      Short press another one pointer.
3.      And repeat alternating press two device
Then you can find multi selected items in single selection mode.

So my approach is if a item is not selection and just only
highlighted, then make it with _item_unselection()


SVN revision: 59659
2011-05-25 03:01:51 +00:00
Daniel Juyung Seo a0ba6ba525 Elementary genlist: Refactoring. Separated _item_unhighlight() from
_item_unselect().

1. _item_select() and _item_highlight() are also separated. Each
function can be called separately. This will be introduced in later
commit.
2. 'unhighlight' sounds weird but there is no other good names.
3. Call _item_unhighlight() before _item_unselect() for selected items.


SVN revision: 59652
2011-05-24 11:41:00 +00:00
Daniel Juyung Seo 0321987096 Elementary genlist: Removed unnecessary height_for_width codes.
SVN revision: 59647
2011-05-24 10:51:26 +00:00
Daniel Juyung Seo c0fa29eccc Elementary genlist: Removed unnecessary/deprecated codes due to
internal changes.


SVN revision: 59622
2011-05-23 12:19:42 +00:00
Daniel Juyung Seo f1313a5458 Elementary genlist: Fixed elm_genlist_compress_mode_set().
If compress mode is false, homogeneous mode needs to be false too.


SVN revision: 59361
2011-05-13 06:10:13 +00:00
Daniel Juyung Seo 94cce60218 Elementary: Removed trailing whitespaces.
SVN revision: 59260
2011-05-07 08:37:47 +00:00
Daniel Juyung Seo 46f6247b9c Elementary genlist: Use signal callback table.
SVN revision: 59255
2011-05-07 00:30:39 +00:00
Daniel Juyung Seo 90990ed63e Elementary genlist: Fixed item disabled set bug more and fixed my
previous commit.


SVN revision: 59229
2011-05-06 02:59:49 +00:00
Daniel Juyung Seo c7e8085c9f Elementary genlist: Fixed item disabled set bug and disabled swallow
objects as well.


SVN revision: 59228
2011-05-06 02:07:00 +00:00
Daniel Juyung Seo 366265ee6f Elementary genlist: Fixed warning. Spank raster.
SVN revision: 59154
2011-05-03 17:32:18 +00:00
Carsten Haitzler bfc20e11a9 we don't need norender anymore since i changed the processing to use
an idle enterer.



SVN revision: 59147
2011-05-03 11:25:33 +00:00
Daniel Juyung Seo 22aeea6acf Elementary: Use !! to Eina_Bool substitution in EAPIs.
SVN revision: 58968
2011-04-27 16:06:11 +00:00
Carsten Haitzler 071c5747bf fix genlist processing items in idle time... idle entere instead :)
SVN revision: 58951
2011-04-27 10:17:26 +00:00
Daniel Juyung Seo 2893d8692e Elementary: Removed trailing whitespaces.
SVN revision: 58944
2011-04-27 02:42:50 +00:00
Daniel Juyung Seo e8a7ed8159 Elementary genlist: Moved signal doxygen to header file.
This is a first action of doxygen movement. All doxygen will be moved to
headers after all.


SVN revision: 58943
2011-04-27 02:41:11 +00:00
Cedric BAIL 90a70f1080 elementary: correctly fix scale on items.
SVN revision: 58831
2011-04-22 17:13:59 +00:00
Cedric BAIL 2ce921ba26 elementary: oops, merge mistake, only one assert header is needed.
SVN revision: 58830
2011-04-22 14:37:43 +00:00
Cedric BAIL b86180520d elementary: fix refactoring and assert.
SVN revision: 58828
2011-04-22 13:20:06 +00:00
Daniel Juyung Seo d49218d308 Elementary genlist: Fixed indentation.
Use space instead of tab.


SVN revision: 58827
2011-04-22 12:22:57 +00:00
Daniel Juyung Seo 71bc736a6f Elementary genlist: Fixed implicit declaration warning.
SVN revision: 58825
2011-04-22 11:54:29 +00:00
Cedric BAIL 97341eaa1f elementary: factorise code.
SVN revision: 58823
2011-04-22 09:56:49 +00:00
Cedric BAIL ac341c9687 elementary: elm_genlist now use edje signal for even/odd state.
NOTE: if you want to implement even/odd in your theme you know
need to listen to both signal :
	- elm,state,odd from elm
	- elm,state,even from elm
If you set data of "stacking_even" to "above" of you item group
it will raise the even object above the odd one (that's the default
behaviour).
You could also explicitly active/deactivate the stacking by setting
data of "stacking" to "no". Default is "yes".



SVN revision: 58822
2011-04-22 09:56:22 +00:00
Daniel Juyung Seo 45507ae70f Elementary genlist: Removed unnecesssary code.
SVN revision: 58794
2011-04-21 12:07:31 +00:00