Commit Graph

150 Commits

Author SHA1 Message Date
Carsten Haitzler 4db6c0eed2 quick fix to test bug - using null/freed itc1. :)
SVN revision: 75247
2012-08-14 09:17:47 +00:00
Daniel Juyung Seo b3319660b6 news: Updated recent news in Korean.
SVN revision: 75161
2012-08-12 07:23:51 +00:00
Gustavo Sverzut Barbieri ac7f498f82 genlist: full-cell contents style.
item style "full" will have a single SWALLOW part that covers the
whole item. This is great when you have more complex visual that do
not fit a standard style yet you don't want to create your own style
for it.



SVN revision: 74665
2012-07-31 20:07:09 +00:00
Daniel Juyung Seo 3c241774c0 elm test_genlist.c: Fix wrong callback name.
SVN revision: 74370
2012-07-25 05:03:53 +00:00
Gustavo Lima Chaves 52bbc190af [elm] Eina log for tests, starting with genlist.
SVN revision: 73942
2012-07-16 21:56:38 +00:00
Gustavo Lima Chaves 9cea522b88 [elm] Genlist now a scrollable layout.
The ERRs thrown on the terminal while exiting some tests were already
there -- check that those decorate and stuff modes add lots of NULL
children on lists.

Genlist work exactly as before. All the bugs and feature were kept :)



SVN revision: 73941
2012-07-16 21:56:30 +00:00
Daniel Juyung Seo f4e1f3c0e5 elm test_genlist.c: Add homogeneous mode for genlist group test case.
SVN revision: 72909
2012-06-27 03:23:48 +00:00
Daniel Juyung Seo 5d87a869a2 elm test_genlist.c: Fixed last test case.
SVN revision: 72590
2012-06-21 10:56:12 +00:00
Daniel Juyung Seo 7700ca3ad7 elm test_genlist.c: Use proper item style for tree effect.
SVN revision: 72578
2012-06-21 08:36:35 +00:00
Daniel Juyung Seo cd4dbcd44a elm test_genlist.c: Added more test case for genlist, 'Genlist Tree and Decorate All Mode'. I found a couple of genlist bugs with this test case.
SVN revision: 72570
2012-06-21 07:48:00 +00:00
Hyoyoung Chang 461055d878 elementary/genlist: remove unused codes
SVN revision: 72485
2012-06-19 14:51:38 +00:00
Daniel Juyung Seo b0631415a7 elm test_genlist.c: Applied elm_genlist_decorated_item_get() return value const change.
SVN revision: 72222
2012-06-16 10:12:25 +00:00
Daniel Juyung Seo ee7efee8b8 elm test_genlist.c: Added more test case for genlist. 'Genlist Decorate Modes'. This test runs 'decorate item mode' and 'decorate all mode' at the same time.
SVN revision: 72174
2012-06-15 07:58:11 +00:00
Daniel Juyung Seo 854b8960e9 elm test_genlist.c: Add separator for each test case.
SVN revision: 72172
2012-06-15 07:58:05 +00:00
Gustavo Lima Chaves bbf0a4345e [elm] And now remove deprecated calls usage (WRT
icon/image thing).



SVN revision: 71473
2012-05-28 21:50:11 +00:00
Daniel Juyung Seo e791e88d01 elm test_genlist.c: Merged tree effect test to tree test. You can enable/disable the effect with the radio button.
SVN revision: 70518
2012-04-27 11:08:58 +00:00
Daniel Juyung Seo 4eafb0990e elm test_genlist.c: Use proper test name for genlist decorate item/all modes.
SVN revision: 69895
2012-04-03 12:53:23 +00:00
Daniel Juyung Seo d58e04ad9c elm genlist: Changed internal variables correctly. Patch by Hyoyoung
Chang <hyoyoung@gmail.com>

On Fri, Mar 30, 2012 at 5:17 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> I talked with seoz. and agreed with previous naming changing is
insufficient.
>
> so changed like this
> "mode_" -> "deco_it_"
> "edit_" -> "deco_all_"
>
> Thanks
>
> On Fri, Mar 30, 2012 at 3:33 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
>> Dear all,
>>
>> After edit mode naming is changed, some legacy naming is remained.
>> I changed naming to follow API naming changes.
>>
>> "edit_" -> "deco_"
>> and also some explicit edc part names are changed.
>>
>> Some naming are remained as is, I'll fix at next patches.
>>
>> Thanks.
>

SVN revision: 69836
2012-04-02 02:37:05 +00:00
Daniel Juyung Seo 768a4ad35f elm genlist: Reverted Hyoyoung's first patch. He sent another patch
for this change.
Revert "After edit mode naming is changed, some legacy naming is remained."

This reverts commit 5e1aa3c8b0382a0ca471150f4c219cd32dbdbe22.

SVN revision: 69835
2012-04-02 02:36:55 +00:00
Carsten Haitzler 63ae97a5d7 After edit mode naming is changed, some legacy naming is remained.
I changed naming to follow API naming changes.

"edit_" -> "deco_" and also some explicit edc part names are changed.

Some naming are remained as is, I'll fix at next patches.



SVN revision: 69793
2012-03-30 10:34:31 +00:00
Mike Blumenkrantz cf8ab5c674 for the last time: CONFIG.H ALWAYS GETS INCLUDED FIRST. AAAAAAAALLLLLLLLLLLLLLLLLLLLLLLWAAAAAAAAAAAAAAAAAAAAAAAAAAAYYYYYYYYYYYYYYYYYYYYYSSSSSSSSSSSSSSSSSSS
SVN revision: 69764
2012-03-29 19:27:13 +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
chanwook jung d99ac5282c From: chanwook jung <jchanwook@gmail.com>
Subject: [E-devel] [Patch][Genlist] Add the moved.after/before signal
instead of moved

Some applications want to know moved.after or before and relative item
because of updating their own list. So I separated moved into
moved,after and move,before.



SVN revision: 69537
2012-03-21 11:50:33 +00:00
Daniel Juyung Seo 660dc809a0 elm test_genlist.c: Fixed wrong item class assignment. Anybody who wrote this code must be spanked.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69363
2012-03-15 08:52:19 +00:00
Jiyoun Park cc0e8f5304 remove deprecated code related with
elm_genlist_item_top_bring_in
elm_genlist_item_middle_bring_in
elm_genlist_item_middle_show
elm_genlist_item_top_show
function.


SVN revision: 69282
2012-03-13 05:46:23 +00:00
Daniel Juyung Seo c1d0908120 elm genlist: Fixed wrong member name. 'edit_item_style' -> 'decorate_all_item_style'
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69097
2012-03-09 12:00:28 +00:00
Daniel Juyung Seo 0c208f325d elm genlist: Changed elm_genlist_edit_mode_get/set ->
elm_genlist_decorate_mode_get/set.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69006
2012-03-07 16:56:21 +00:00
Daniel Juyung Seo f3f5696016 elm genlist: Applied genlist item mode API changes.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68995
2012-03-07 16:29:26 +00:00
Hyoyoung Chang dff33d0aa4 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - add item_select_mode_set/get

I added two apis for item selecting mode.
It almost same with elm_genlist_select_mode.


+EAPI void
+elm_genlist_item_select_mode_set(Elm_Object_Item *it,
+                                 Elm_Object_Select_Mode_Type mode)
+EAPI Elm_Object_Select_Mode_Type
+elm_genlist_item_select_mode_get(const Elm_Object_Item *it)

And display_only apis is unfied with item_select_mode.

+EINA_DEPRECATED EAPI void
elm_genlist_item_display_only_set(Elm_Object_Item *it, Eina_Bool
display_only);
+EINA_DEPRECATED EAPI Eina_Bool
elm_genlist_item_display_only_get(const Elm_Object_Item *it);



SVN revision: 68993
2012-03-07 16:22:58 +00:00
Daniel Juyung Seo 005f2465d9 elm genlist: Deprecated elm_genlist_compress_mode_set/get and
elm_genlist_height_for_width_mode_set/get. Use
elm_genlist_mode_set(obj, ELM_LIST_COMPRESS) instead. This may
introduce bugs or performance issue but I will fix this soon.

Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68985
2012-03-07 16:07:34 +00:00
Mike Blumenkrantz aa78786616 rename elm object select mode values: whoever wrote this deserves spankies
SVN revision: 68982
2012-03-07 16:01:37 +00:00
Sanjeev BA 8cc2af2d7c Renaming ITEMS_SUBITEMS to ITEMS_TREE.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68942
2012-03-07 12:57:13 +00:00
Hyoyoung Chang d1ab1c10e3 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_gen{list, grid} - add elm_genlist_select_mode_set

As discussed in irc, I made a patch about unifying
always_select_mode_set and no_select_mode_set.

I'm introducing two apis in genlist (also in gengrid)

+EAPI void
+elm_genlist_select_mode_set(Evas_Object *obj,
Elm_Object_Select_Mode_Type mode)

+EAPI Elm_Object_Select_Mode_Type
+elm_genlist_select_mode_get(const Evas_Object *obj);

And added a enum in elm_general.h


+typedef enum
+{
+   ELM_OBJECT_NORMAL_SELECT = 0, /**< default select mode */
+   ELM_OBJECT_ALWAYS_SELECT, /**< always select mode */
+   ELM_OBJECT_NO_SELECT, /**< no select mode */
+
+   ELM_OBJECT_SELECT_MODE_MAX
+} Elm_Object_Select_Mode_Type;

After this is commited, i'll send a patch about examples and
edje_external.




SVN revision: 68937
2012-03-07 12:43:19 +00:00
chanwook jung 2fe90bc997 From: chanwook jung <jchanwook@gmail.com>
Subject: [E-devel] [Patch] elm_genlist : Add tree effect APIs

I made a patch for Tree Effect in elm_genlist.
This feature shows the flip effect when expand/contract the expandable
list.

External APIs :
+EAPI void               elm_genlist_tree_effect_enabled_set(Evas_Object
*obj, Eina_Bool enabled);
- Set Genlist tree effect

+EAPI Eina_Bool          elm_genlist_tree_effect_enabled_get(const
Evas_Object *obj);
- Get Genlist tree effect status

You can test it. "Genlist Tree Effect".



SVN revision: 68934
2012-03-07 12:15:36 +00:00
Sanjeev BA c5c06a40f2 Fix warnings.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68901
2012-03-07 08:38:32 +00:00
Sanjeev BA 1ece172c12 Refactor genlist and deprecate top/middle item_show() API.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68898
2012-03-07 08:29:32 +00:00
Sanjeev BA 3946d4a76b Merge bring_in, top_bring_in and middle_bring_in into bring_in with ELM_GENLIST_ITEM_SCROLLTO_*.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com>

SVN revision: 68897
2012-03-07 08:29:28 +00:00
Carsten Haitzler 7a5a301a63 rename a whole host of config-related functions to be elm_config_*
now. yes - no deprecation. no time to do that.



SVN revision: 68810
2012-03-06 12:04:25 +00:00
Daniel Juyung Seo bbcd343b89 elm genlist: Added more comments for flip mode.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68761
2012-03-06 02:13:28 +00:00
Daniel Juyung Seo 9c3fa866f5 elm: Applied icon/image API changes.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68728
2012-03-05 15:10:59 +00:00
Daniel Juyung Seo 8977312e43 elm genlist: Added elm_genlist_item_flip_get/set APIs. Patch by
Hyoyoung Chang <hyoyoung@gmail.com>

On Wed, Feb 29, 2012 at 9:17 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all.
>
> I made a patch to introduce new genlist item mode.
> Two public apis are added.
> +EAPI void elm_genlist_item_flip_set(Elm_Object_Item *it, Eina_Bool
flip);
> +EAPI Eina_Bool elm_genlist_item_flip_get(Elm_Object_Item *it);
>
> It provides on-the-flying item change. It works like that a new item
> added on existed item.
> In elementary test, you can test it.
> It's useful at adding widgets or show buttons in genlist item.
>
> Thanks.

On Mon, Mar 5, 2012 at 5:56 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Hello, I modifed fliP_set api to use ecore_job.
> It resolved version of mouse_{move, up} bugs.
>

SVN revision: 68727
2012-03-05 15:03:12 +00:00
Daniel Juyung Seo 47d0b62238 elm test_genlist.c: Revised test code.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68625
2012-03-02 12:07:55 +00:00
Sanjeev BA 22fe352509 Scope change for variable.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com>

SVN revision: 68560
2012-03-01 03:38:45 +00:00
ChunEon Park f2c4e9b2f5 elementary/genlist - renamed label field to text.
SVN revision: 68538
2012-02-29 06:52:05 +00:00
ChunEon Park c2a70894ad elementary/genlist - killed elm_genlist_item_sorted_insert.
renamed elm_genlist_item_direct_sorted_insert to elm_genlist_item_sorted_insert



SVN revision: 68496
2012-02-28 07:17:00 +00:00
Carsten Haitzler 070d1fb0c8 shush some warnings on 64bit - distracts from real warnings.
SVN revision: 68433
2012-02-25 05:19:59 +00:00
Aharon Hillel cb31e1367d elementary: updated sources to fix warnings.
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68336
2012-02-23 13:58:49 +00:00
Aharon Hillel 8ff136be56 elementary: Updated test_genlist.c to do API testing
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68330
2012-02-23 13:58:32 +00:00
Carsten Haitzler e04656c5bf and do gl15 test right with item class/pointers passed to item_append
SVN revision: 68311
2012-02-23 07:47:59 +00:00
Carsten Haitzler d4f750b00e eek - compile again.
SVN revision: 68310
2012-02-23 07:46:05 +00:00