Commit Graph

174 Commits

Author SHA1 Message Date
Daniel Juyung Seo bc793f5880 elm gengrid: Fixed freezing bug. Closed trac #980
Signed-off-by: Daniel Juyung Seo <seojuyung@gmail.com>

SVN revision: 68651
2012-03-04 05:03:25 +00:00
ChunEon Park 2b3dad09a2 elementary/gengrid - removed elm_gengrid_item_sorted_insert
and rename elm_gengrid_item_direct_sorted_insert to elm_gengrid_item_sorted_insert



SVN revision: 68545
2012-02-29 10:30:51 +00:00
ChunEon Park 67d14d50ed elementary/gengrid - elm_gengrid_item_item_class_set -> elm_gengrid_item_item_class_update
SVN revision: 68542
2012-02-29 09:01:24 +00:00
ChunEon Park 0759538f5e elementary/genlist, gengrid - added itc version checking.
SVN revision: 68539
2012-02-29 07:51:23 +00:00
ChunEon Park c5a473f0cc elementary/gengrid - deprecated elm_gengrid_item_object_get()
SVN revision: 68537
2012-02-29 06:44:35 +00:00
ChunEon Park ebd409c78a elementary/genlist, gengrid - more reviews
SVN revision: 68534
2012-02-29 06:22:59 +00:00
Mike Blumenkrantz 0497ef0cda same commit, but for gengrid
SVN revision: 68444
2012-02-25 11:54:50 +00:00
ChunEon Park c5232c4741 elementary - removed unnecessary checkings
SVN revision: 68393
2012-02-24 08:53:01 +00:00
Hyoyoung Chang 7ab200383d From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_gengrid - add item class management api
(1/3)

As like genlist item class management api, I added 4 apis to
elm_gengrid.

+EAPI Elm_Gengrid_Item_Class *elm_gengrid_item_class_new(void);
+EAPI void elm_gengrid_item_class_free(Elm_Gengrid_Item_Class *itc);
+EAPI void elm_gengrid_item_class_ref(Elm_Gengrid_Item_Class *itc);
+EAPI void elm_gengrid_item_class_unref(Elm_Gengrid_Item_Class *itc);

gengrid item class is maintained by gengrid in automatic manner.
it maintains its reference count. and item_class_free api marks
"delete_me".
Unless item_class_free, item class will not be freed.



SVN revision: 68308
2012-02-23 07:36:12 +00:00
Mike Blumenkrantz 8fb0f58c98 add elm_genlist_item_count(), change (int)wd->count to (uint)wd->item_count, fix a shadow var
SVN revision: 68240
2012-02-21 23:59:25 +00:00
Christopher Michael 15d1c06a20 Elm: Fix 'variable may be used uninitialized' warnings.
SVN revision: 67675
2012-02-01 12:29:14 +00:00
ChunEon Park 40e51b5fea elementary/gengrid - deprecated elm_gengrid_item_del()
please use elm_object_item_del() instead



SVN revision: 67621
2012-01-31 03:03:17 +00:00
ChunEon Park f12f55ea5a elementary/gengrid - deprecated APIs
elm_gengrid_item_disabled_set/get

please use elm_object_item_disabled_set/get instead



SVN revision: 67620
2012-01-31 02:40:08 +00:00
ChunEon Park cc7f2a51a9 elementary/genlist, gengrid - modified internal variable type to clean up the unnecessary casting
SVN revision: 67600
2012-01-30 10:39:32 +00:00
ChunEon Park 7c0738c762 elementary/gengrid - Elm_Gengrid_Item -> Elm_Object_Item
Be happy! now all widgets are using the Elm_Object_Item interface.



SVN revision: 67599
2012-01-30 10:29:51 +00:00
ChunEon Park 4ee72ae553 elementary/genlsit, gengrid - removed duplicated disabled field.
deprecated elm_genlist_item_disabled_set/get, 
please use elm_object_item_disabled_set/get instead.



SVN revision: 67562
2012-01-27 07:36:36 +00:00
ChunEon Park da7b8465a3 elementary/genlist - Elm_Genlist_Item -> Elm_Object_Item
SVN revision: 67370
2012-01-20 05:18:31 +00:00
Michael BOUCHAUD 772d3daba0 elementary: add a filled state to gengrid. auto fill the first line if not
SVN revision: 66869
2012-01-04 14:33:39 +00:00
Carsten Haitzler 39f63f3bf6 split up all elm headers. not perfect, but a big start
SVN revision: 66662
2011-12-30 06:49:28 +00:00
Daniel Juyung Seo 5c57fb3438 elm gengrid: Fixed crashed on Enter event with no selected item. Patch by
Jeonghyun Yoon <jh0506.yun@samsung.com>

2011/12/23 윤정현 <jh0506.yun@samsung.com>:
> Dear All.
>
> I found a bug in elm_gengrid.c
>
> Gengrid will be crashed if input “Enter” key when selected is null.
>
> I fixed code, please review this small patch.
>
> Thanks.



SVN revision: 66471
2011-12-23 06:52:05 +00:00
Daniel Juyung Seo 2f3a338139 elm genlist/gengrid: Changed 'labels' to 'texts' in edc.
SVN revision: 66205
2011-12-14 16:36:09 +00:00
Daniel Juyung Seo 8d0301505a elm genlist/gengrid: Added documentation. Fixed documentation. Fixed
formatting.

SVN revision: 65931
2011-12-06 01:23:55 +00:00
Daniel Juyung Seo 95f6ebae61 elm genlist/gengrid: Refactoring. Moved global function pointers to
widget data.

SVN revision: 65930
2011-12-06 01:19:12 +00:00
Mike Blumenkrantz 608d52ba61 missed some things with my tooltip api break
SVN revision: 65917
2011-12-05 17:14:07 +00:00
Mike Blumenkrantz 890a378db7 API BREAK
elm_XXX_tooltip_size_restrict_disable() -> elm_XXX_tooltip_window_mode_set()
elm_XXX_tooltip_size_restrict_disabled_get() -> elm_XXX_tooltip_window_mode_get()


SVN revision: 65909
2011-12-05 15:25:09 +00:00
Daniel Juyung Seo d22eb91185 elm gen/genlist: Renamed elm_gen.h to elm_genlist.h. elm_gen will be removed and elm_genlist will survive.
SVN revision: 65815
2011-12-02 14:09:24 +00:00
Cedric BAIL 926e801b59 elementary: now elm_gen*_clear only destroy the item created before calling it.
NOTE: As side fix, both genlist and gengrid now share their Widget_Data. Need
a lot more work to be clean and match our quality standard.

NOTE2: Genclear is now faster as it doesn't require to mark all item that need
to be removed, but just increase one int.



SVN revision: 65811
2011-12-02 13:43:02 +00:00
Daniel Juyung Seo 9266096bdf elm gengrid/genlist: Changed 'label_get' to 'text_get' according to the
recent elementary api corrections.

I changed item class's 'label_get' to 'text_get'. But 'label_get' is still
supported by union structure. So 'label_get' will just give you
deprecated warnings while compiling but it's recommended to fix your
apps to 'text_get'. Sometimes when you initialize item class using
braces, you will get 'missing braces around initializer' but ignore
this. That warning will be gone after I remove 'label_get' backport. I
will remove this 'label_get' backport after I finish below
jobs.

[TODO]
1. Fix all apps in trunk.
2. Change edc "labels" to "texts" as well. I haven't done this yet.


SVN revision: 65751
2011-12-01 06:15:08 +00:00
Daniel Juyung Seo 35fc57e252 elm gen/gengrid/genlist: Moved more gen stuffs to genlist. Most of all gen stuffs were moved to genlist as of now. This is for elementary 1.0 release.
SVN revision: 65722
2011-11-30 17:31:01 +00:00
Daniel Juyung Seo 0cabbec4e1 elm gen/gengrid/genlist: Partially removing gen. Partially merging gengrid into genlist. (Season 2)
SVN revision: 65721
2011-11-30 17:13:57 +00:00
Daniel Juyung Seo 462f1dc43d elm gen/gengrid/genlist: Partially removing gen. Partially merging gengrid into genlist.
SVN revision: 65718
2011-11-30 16:03:03 +00:00
Daniel Juyung Seo d397598ab1 elm gen/gengrid/genlist: Fixed wrong elm_gen_clear changes.
SVN revision: 65717
2011-11-30 14:40:22 +00:00
Michael BOUCHAUD 76285554aa elementary: fix wrong calculation for gengrid group items
SVN revision: 65714
2011-11-30 11:03:22 +00:00
Daniel Juyung Seo 6f1dd8c84d elm gen/gengrid/genlist: Undeprecate some gengrid/genlist APIs and
deprecate all elm_gen APIs.

We will merge gengrid into genlist later and remove elm_gen.
I updated http://trac.enlightenment.org/e/wiki/ElementaryChanges
I will fix other libraries/programs in trunk soon.


SVN revision: 65700
2011-11-30 00:59:19 +00:00
Daniel Juyung Seo 6a8740dad7 elm gengrid: Removed remaining deprecated signals.
SVN revision: 65475
2011-11-21 08:08:58 +00:00
Daniel Juyung Seo 2a477fe8af elm gengrid/genlist: Remove deprecated signals.
This was already announced a month ago.
http://trac.enlightenment.org/e/changeset/64200


SVN revision: 65474
2011-11-21 08:06:40 +00:00
Cedric BAIL a48828b85f elementary: kinetic is back in elm_gengrid.
SVN revision: 64866
2011-11-07 11:26:09 +00:00
Bruno Dilly cee4098e1f Elementary: remove vars set but not used
Remove almost all of them. Remaining:
  - device on _event_history_clear, elm_gesture_layer
  - config has a hand of these cases.
  - ctxpopup var inside macro
  - segment control edje external (it's unfinished)



SVN revision: 64365
2011-10-24 23:43:34 +00:00
Daniel Juyung Seo 23de0435b9 elm genlist/gengrid: Applied genlist/gengrid icons -> contents changes
to themes. Changed detour-elm and darkness theme as well.
Tips) Change genlist/gengrid's "icons" to "contents" in edc.


SVN revision: 64345
2011-10-24 02:27:04 +00:00
Daniel Juyung Seo 2bb2b1f0ee elm gen/gengrid/genlist: Changed item class's icon_get to content_get.
Do not limit the swallowed objects to icon. This had to be done before
elm 1.0 and now it's time to break. This will break all applications
which are using gengrid/genlist. Please fix it icon_get -> content_get.

TODO
1. fix theme as well.
2. fix documents.


SVN revision: 64344
2011-10-24 02:10:35 +00:00
Mike Blumenkrantz 9a12b8f12b check for value before strcmp
SVN revision: 64291
2011-10-22 06:30:14 +00:00
Mike Blumenkrantz 81fb2abd7e deprecate all genlist/gengrid functions related to 64281
SVN revision: 64282
2011-10-22 00:26:21 +00:00
Mike Blumenkrantz 9cffa1a766 add bounce settings to genlist wd
SVN revision: 64280
2011-10-21 23:51:26 +00:00
Mike Blumenkrantz e22f36e214 deprecate elm_genlist/grid_item_selected_get -> elm_gen_item_selected_get
SVN revision: 64279
2011-10-21 23:22:26 +00:00
Mike Blumenkrantz b148562870 deprecate elm_genlist_item_selected_set and elm_gengrid_item_selected_set: use elm_gen_item_selected_set instead
SVN revision: 64277
2011-10-21 23:10:56 +00:00
Mike Blumenkrantz 82cfec36d5 deprecate elm_genlist_clear and elm_gengrid_clear: use elm_gen_clear instead
SVN revision: 64276
2011-10-21 23:05:02 +00:00
Mike Blumenkrantz 5852948858 more genlist/gengrid merging: select+clear are now abstracted
SVN revision: 64275
2011-10-21 22:55:45 +00:00
Mike Blumenkrantz ffed36961e even more reordering, also convert some evas coords to int
SVN revision: 64269
2011-10-21 21:04:06 +00:00
Mike Blumenkrantz 72700795f2 more reordering
SVN revision: 64268
2011-10-21 21:00:07 +00:00
Mike Blumenkrantz c8d41c70e3 reorder gen* wd bools
SVN revision: 64265
2011-10-21 20:45:14 +00:00