Commit Graph

335 Commits

Author SHA1 Message Date
Mike Blumenkrantz 4ad1c5f0db create and use ELM_WIDGET_ITEM for elm widget structs to ensure location/name
SVN revision: 64218
2011-10-21 00:45:19 +00:00
Mike Blumenkrantz baf20fbec8 more reordering
SVN revision: 64213
2011-10-20 22:23:29 +00:00
Mike Blumenkrantz 4607b50c5e more unnoticeable internal movements
SVN revision: 64211
2011-10-20 21:49:54 +00:00
Mike Blumenkrantz 3bd72bfe23 rename some internal variables for consistency
SVN revision: 64210
2011-10-20 21:41:24 +00:00
Daniel Juyung Seo a9e92c7bc3 elm genlist/list/gengrid: Changed edge smart callback name. 'edge' callback is not scrolling. So "scroll,edge,up" -> "edge,up". elm_scroller already used this name.
SVN revision: 64200
2011-10-20 16:42:42 +00:00
Iván Briano 057a00829c Get us some nice auto translation scheme
First things first, I'm not sure I'm setting the right variable on
the setlocale() call, so someone more knowledgeable can look at it and fix it.

How this works, you say? Just like elm_object_text_part_set(), except now it
will pass the string given through dgettext() with the given domain (NULL
means it uses whatever the app set with textdomain()), and when changing
language with elm_language_set(), it will re-set the strings with a new
translation.



SVN revision: 64179
2011-10-19 14:17:14 +00:00
Daniel Juyung Seo b5969dc2a3 elm genlist: Clear last_selected_item when last_selected_item is
deleted.


SVN revision: 64031
2011-10-13 03:47:57 +00:00
Daniel Juyung Seo 596df1a4fc elm genlist: Added comments for internal variables.
SVN revision: 64020
2011-10-12 15:23:55 +00:00
cnook 7716a26e4a From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch] elm_diskselector, set icon to added item

If the diskselector is round mode, the scroller of diskselector has
additional items for its rounding(carousel) effect.
Previously, elm_diskselector_item_icon_set(); did not care about
theses additional items.
Please review the attached patch that will care. Thanks.



SVN revision: 63957
2011-10-10 09:45:43 +00:00
Mike McCormack beafec3884 elementary: Improve include file modularity
Move stuff out of elm_priv.h

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

SVN revision: 63900
2011-10-07 05:56:07 +00:00
Daniel Juyung Seo de4fb0b5e0 elm genlist: Raise genlist group index when the group's sub item mode
is changed.


SVN revision: 63898
2011-10-07 05:54:29 +00:00
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