Commit Graph

324 Commits

Author SHA1 Message Date
Daniel Juyung Seo 1b3f3822fd elm genlist: Removed unnecessary local variable.
SVN revision: 63638
2011-09-28 05:56:28 +00:00
Daniel Juyung Seo b7a22247f2 elm genlist: Changed internal variable name. old_pan_y ->
reorder_old_pan_y.


SVN revision: 63561
2011-09-23 08:32:32 +00:00
Daniel Juyung Seo 8009f346e9 elm genlist: Added genlist event hook boundary check routine.
SVN revision: 63536
2011-09-22 12:39:49 +00:00
Cedric BAIL 8cd01e8068 elementary: use sorted state to improve gengrid and genlist.
SVN revision: 63217
2011-09-05 20:31:51 +00:00
Daniel Juyung Seo 2ec5417dfb elm genlist: Fixed reordering mode bug.
1. Fixed floating item bug while reordering.
2. Fixed moving an item out of range bug while reordering.


SVN revision: 63195
2011-09-05 12:16:36 +00:00
Daniel Juyung Seo b72f454618 elm genlist: Fixed formatting.
SVN revision: 63194
2011-09-05 12:14:20 +00:00
Daniel Juyung Seo 9e23119e41 elm: Refactoring. Modified elm_{widget}_scroller_policy_set() API.
SVN revision: 62957
2011-08-29 16:30:14 +00:00
Daniel Juyung Seo 24e9083fd6 elm genlist: Reverted r62645 patch. This needs to be refined.
SVN revision: 62855
2011-08-26 11:32:26 +00:00
Gustavo Lima Chaves 22d111e502 [elementary] genlist_nastiness--
http://www.youtube.com/watch?v=YaR9I7CEiJc



SVN revision: 62823
2011-08-25 14:32:02 +00:00
Carsten Haitzler 6c41db98dd fix bug if pan has been deleted - sd wil lbe null.
SVN revision: 62821
2011-08-25 14:22:26 +00:00
Jaehwan Kim 621c8232b5 From: Jaehwan Kim <jae.hwan.kim@samsung.com>
Subject: [E-devel] [Patch] elm_genlist_clear

When items are added right after genlist clear, genlist is scrolled to the previous position.
If all item is deleted, the scroller have to locate 0, 0.
But scroller has wanted position to remembers the scrolled location.
So even if all item is deleted, it locate previous position.
Then I added elm_smart_scroller_child_region_show(wd->scr, 0, 0, 0, 0)
at the end of the elm_genlist_clear.




SVN revision: 62778
2011-08-25 05:20:59 +00:00
Gustavo Lima Chaves 802a12781f [elementary] Fixing list clearing inside item selection for
genlists.
When the items are made invalid, don't access rotten pointers! I think
I did it right, but it exposes a bug on genlist test 2, elementary
test. I'll let that fix to the authors of that specific code
(insert_after() and such).



SVN revision: 62763
2011-08-24 21:03:37 +00:00
Daniel Juyung Seo f899277816 elm genlist: Added "scroll,anim,start", "scroll,anim,stop",
"scroll,drag,start", "scroll,drag,stop" smart callbacks to genlist.
elm gengrid: Added "scroll,anim,start", "scroll,anim,stop" smart
callbacks to genlist.


SVN revision: 62710
2011-08-23 04:02:26 +00:00
Daniel Juyung Seo 5814a8b7cb elm genlist: Fixed elm_genlist_item_insert_after() bug. Patch by
Chanwook Jung <joey.jung@samsung.com>

From: 정찬욱 [mailto:joey.jung@samsung.com]
Sent: Friday, August 19, 2011 4:40 PM
Subject: [E-devel] [Patch] bug in elm_genlist_item_insert_after


Dear developers.

I found the problem when group item is added using
elm_genlist_item_insert_after in genlist.
The new group item is refer to the group item list not item list.
Therefore
it is inserted in the wrong place.
I modified that if the new group item is inserted, refer to the last
item
of the after group item.
Thanks.


SVN revision: 62645
2011-08-21 05:27:19 +00:00
Mike Blumenkrantz 5bde9e619c fix elm_object_item_text_part_get for genlist and gengrid
SVN revision: 62323
2011-08-10 23:51:20 +00:00
Gustavo Lima Chaves 31a3e6180a [elementary] All docs to elm's header, as Raster wishes.
Discomfitor, now it's time to split the header and/or write another novel.



SVN revision: 62315
2011-08-10 21:03:21 +00:00
Daniel Juyung Seo cd80368508 elm genlist: Modified genlist object reference checking.
On Thu, Aug 4, 2011 at 7:11 PM, Hyoyoung Chang
<hyoyoung.chang@samsung.com> wrote:
> Yeah, you're right.
> Could review improve version of previous patch?
> I attached it.


SVN revision: 62190
2011-08-08 05:42:29 +00:00
Daniel Juyung Seo 1d6ee07488 elm genlist: Added elm_genlist_horizontal_set/get() APIs. Deprecated
elm_genlist_horizontal_mode_set/get() for API name consistency. Use
new APIs.


SVN revision: 62117
2011-08-05 01:21:56 +00:00
Rafael Antognolli d54553f29b elementary/genlist - Adding genlist mode documentation.
SVN revision: 62107
2011-08-04 21:05:31 +00:00
Carsten Haitzler 5f84a1a170 indent fix
SVN revision: 62042
2011-08-03 07:16:20 +00:00
Hyoyoung Chang 92c35c1e5d From: Hyoyoung Chang <hyoyoung.chang@samsung.com>
Subject: [E-devel] [patch] elm_genlist - bugfix evas_object_del at
selected callback

This patch is about elm_genlist.
When a user delete genlist object at selected callback,
Genlist don't proper handle it.
Before genlist clearing, genlist delete its widget data.
So sometimes, it's crashed.

I made two point diffs
1. add genlist clearning at _del_hook
2. checking at _item_select, whether it's deleted or not.



SVN revision: 62040
2011-08-03 05:39:13 +00:00
Daniel Juyung Seo 48581ff328 elm genlist: Refactoring. Moved code for the readability.
SVN revision: 61983
2011-08-02 06:59:45 +00:00
Daniel Juyung Seo d77693c239 elm genlist: Added more guard code and moved some codes for the
readability.


SVN revision: 61981
2011-08-02 06:54:10 +00:00
Daniel Juyung Seo d01d8ba5e3 elm genlist: Fixed item addition routine for group child items.
SVN revision: 61980
2011-08-02 06:50:34 +00:00
Daniel Juyung Seo 1c6f5c265a elm genlist: Fixed comment typo.
SVN revision: 61979
2011-08-02 06:29:54 +00:00
Cedric BAIL e9b0c2b458 elementary: fix genlist sorted insert to not loose track of subitem.
SVN revision: 61901
2011-07-29 16:07:10 +00:00
Rafael Antognolli 7f3c05ef7e elementary/genlist - More functions moved from .c to .h
Most of them were reviewed and/or improved.



SVN revision: 61868
2011-07-28 21:27:23 +00:00
Cedric BAIL 1e78519913 elementary: fix some parental issue with genlist.
SVN revision: 61863
2011-07-28 16:43:15 +00:00
Mike Blumenkrantz 5d9cc6c464 properly set tooltip freesizing when object has not been realized in genlist/gengrid
SVN revision: 61834
2011-07-28 02:22:37 +00:00
Rafael Antognolli bd2f3e7dee elementary/genlist - Moving and improving docs of genlist functions.
Most of the functions deal with configuring the genlist, not the items.



SVN revision: 61768
2011-07-26 18:32:05 +00:00
Mike Blumenkrantz 54f1e32c17 THE MOST ANTICIPATED COMMIT OF 2011: HUGENORMOUS TOOLTIPS!!!!!!
these bad boys are so big and pixelthirsty they can't be constrained by a regular canvas or window, they use OVERRIDE REDIRECT WINDOWS. not only that, they totally exceed the boundaries of what a reasonable function name length could be. 50 character function name limit? puh-leeze. these guys don't care what side of the screen they're even on so long as they get to wade into the thick of the action and block out each and every crappy non-efl application behind them. and that's when they're in good moods. you don't even want to know what happens when you piss these guys off.


SVN revision: 61735
2011-07-26 09:38:23 +00:00
Mike Blumenkrantz 47574fccbf add new signal for list/genlist/gengrid: "activated"
this signal is called whenever an item receives either a double click or selection+(enter/spacebar/return)

this commit also unifies the click/enter/spacebar/etc event api for these widgets, including removing the double click signal from keypress events and removing the 'clicked' signal from double click events


SVN revision: 61720
2011-07-26 01:49:24 +00:00
Daniel Juyung Seo 053b225250 elm: Fixed document typo.
SVN revision: 61664
2011-07-25 06:36:59 +00:00
Rafael Antognolli e42e50e434 elm/genlist - Fix bounce option getter.
Try to get the bounce option from the internal els_scroller, and also
add checks on the els_scroller api to see if the arguments were given.



SVN revision: 61592
2011-07-22 17:15:33 +00:00
Daniel Juyung Seo 30c36efd24 elm genlist: Removed elm_genlist_item_update() from
elm_genlist_item_data_set(). So please call elm_genlist_item_update()
when you need it.


SVN revision: 61546
2011-07-21 07:10:17 +00:00
Daniel Juyung Seo afa5e90a77 elm genlist: Added _item_realize() function declaration.
SVN revision: 61359
2011-07-14 07:22:04 +00:00
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