Commit Graph

116 Commits

Author SHA1 Message Date
Daniel Juyung Seo 30dba54610 elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
SVN revision: 77244
2012-10-01 07:36:27 +00:00
Gustavo Lima Chaves 7347460504 [elm] Remove duplicated code.
SVN revision: 75054
2012-08-09 14:46:58 +00:00
Gustavo Lima Chaves 12f50a523b [elm] File selector now inheritable.
SVN revision: 74756
2012-08-01 21:03:33 +00:00
Carsten Haitzler 84643ee0f2 fix fileselctor to not display > next to files... in expand mode.
SVN revision: 74386
2012-07-25 11:19:59 +00:00
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +00:00
Gustavo Lima Chaves dbd0cb20c9 [elm] Old cosmetical diff flush.
SVN revision: 73992
2012-07-17 14:56:23 +00:00
Michael BOUCHAUD b5e474ebb1 elementary: I think this needs some fixing. fileselector, select the wrong dir
SVN revision: 72834
2012-06-26 00:10:15 +00:00
Davide Andreoli 8babe97704 whops, this file wasnt mean to be committed
SVN revision: 71968
2012-06-11 23:35:05 +00:00
Davide Andreoli 5a1213ec8c evas only handle premul colors (note: not making any news or bp)
SVN revision: 71965
2012-06-11 23:25:43 +00:00
Davide Andreoli 5872d450d7 Fileselector: Add a wheel spinner that show/spin while EIO is working
SVN revision: 71178
2012-05-16 19:40:47 +00:00
Davide Andreoli 0c7ab74390 Simplify file listing when using EIO
SVN revision: 71129
2012-05-15 20:02:59 +00:00
Davide Andreoli be531ba2af * Fileselector: honor folder_only when using EIO
* Fileselector test: add a check to enable/disable buttons

 Updated Changelog and NEW, also add myself as authors...

 btw: the EIO code in the Fileselector is crazy-complex, about 200 
 lines of code just to have the list of files ina dir...  :/



SVN revision: 70965
2012-05-13 12:23:39 +00:00
Gustavo Lima Chaves 6a18b15a1b [elm] Fix booboos for people not having eio,
ewebkit or emotion.



SVN revision: 70749
2012-05-03 22:45:01 +00:00
Gustavo Lima Chaves 7abded1fb1 [Elm] File selector now a layout.
SVN revision: 70742
2012-05-03 22:44:26 +00:00
Carsten Haitzler c0f2f4be91 REVERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
this breaks theme api. so NO! come back with a version that doesn't
break it.



SVN revision: 70679
2012-05-03 01:19:05 +00:00
Gustavo Lima Chaves e275948e76 [elm] Fix booboos for people not having eio, ewebkit or
emotion.



SVN revision: 70677
2012-05-02 21:14:28 +00:00
Gustavo Lima Chaves 57b848157f [Elm] File selector now a layout.
SVN revision: 70665
2012-05-02 17:01:48 +00:00
Carsten Haitzler 3a7b769a63 use the new escape text set to clear up issues if theme has TEXT vs
TEXTBLOCK items and handling escapes so text is consistend across elm.
fiuxes the fileselector issues kai reported.



SVN revision: 70362
2012-04-20 12:51:10 +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
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
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 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
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
Yakov Goldberg 54772a399d Elm fileselector: fixed elm_fileselector_is_save_get function
Return value was fixed

Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>

SVN revision: 68159
2012-02-20 12:53:12 +00:00
Yakov Goldberg 0b2bd861e8 Elm fileselector: Fixed initial paths for fileselector
Path parameter for elm_fileselector_selected_set() and
elm_fileselector_path_set() parsed as realpath.

Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>

SVN revision: 68149
2012-02-20 09:22:23 +00:00
Hyoyoung Chang 068985b187 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - add item_class management
functions

I make controversial apis for item class management.
As raster and other guys suggest, I simplify APIs and its behaviors.

First, Two public apis and two internal apis are introduced

+EAPI Elm_Genlist_Item_Class *
+elm_genlist_item_class_new(void)

+EAPI void
+elm_genlist_item_class_free(Elm_Genlist_Item_Class *itc)

+void
+_elm_genlist_item_class_ref(Elm_Genlist_Item_Class *itc)

+void
+_elm_genlist_item_class_unref(Elm_Genlist_Item_Class *itc)

genlist item class is maintained by genlist in automatic manner.

And three fields are introduced in genlist item class.
+   int version;
+   unsigned int refcount;
+   Eina_Bool delete_me;

Normally a user add a elm_genlist_item_class by
elm_genlist_item_class_new().
Then its reference counter is automatic maintained.
If the user wanna to remove the elm_genlist_item_class, then call
elm_genlist_item_class_free()
After refcount reaches to 0, it will be removed.



SVN revision: 68147
2012-02-20 08:26:17 +00:00
ChunEon Park 57611ce2d7 elementary/fileselector - just renamed internal var.
SVN revision: 67628
2012-01-31 06:46:39 +00:00
ChunEon Park 7fd3d1fe88 elementary/fileselector - fixed a wrong change caused when gengrid API changes.
SVN revision: 67627
2012-01-31 05:13:59 +00:00
ChunEon Park b1f436569c elementary/gengrid - deprecated 3 APIs.
elm_gengrid_item_data_set -> elm_object_item_data_set
elm_gengrid_item_data_get -> elm_object_item_data_get
elm_gengrid_item_gengrid_get -> elm_object_item_widget_get



SVN revision: 67619
2012-01-31 01:22:16 +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 d4ffe4c8c2 elementary/genlist - deprecated elm_genlist_item_data_set/get
but please use elm_object_item_data_set/get instead.


and what was purpose of this double casting? 

(int)(long) elm_genlist_item_data_get(gli);

these calls are used in some places. 

I removed the (long) casting because it looks useless.



SVN revision: 67546
2012-01-26 07:31:30 +00:00
ChunEon Park da7b8465a3 elementary/genlist - Elm_Genlist_Item -> Elm_Object_Item
SVN revision: 67370
2012-01-20 05:18:31 +00:00
Carsten Haitzler f6a3fc40e1 stop using deprecated calls.
SVN revision: 66681
2011-12-30 10:02:19 +00:00
Michael BOUCHAUD 5a627ce166 elementary: fix fileselector with dir selection
SVN revision: 66227
2011-12-14 20:53:44 +00:00
ChunEon Park 17baa1f76b elementary/fileselector
Hi,

On behalf of Rajeev Ranjan, I am submitting the elc_fileselector patch.

Change Log:
Fix for the memory leak in function elm_fileselector_selected_get. Memory allocated by ecore_file_dir_get() internally using strdup was not freed.
Introduced a char *dir variable to store the memory returned by ecore_file_dir_get() function and releasing the memory before returning to caller.

Please review it.
I'd appreciate any comments on this.

Thank you,
Prince

Signed-Off-By: Rajeev Ranjan (rajeev.r@samsung.com)
Signed-Off-By: Prince Kumar Dubey (prince.dubey@samsung.com)
Signed-Off-By: ChunEon Park (hermet@hermetpe.kr)



SVN revision: 65950
2011-12-06 08:18:14 +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 c6b3a7b863 elm gen/gengrid/genlist: Applied gen deprecation and gengrid/genlist undeprecation.
SVN revision: 65716
2011-11-30 14:19:29 +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
Boris Faure 1112d30a41 elm: change elm_object_content_part_set/get/unset to elm_object_part_content_set/get/unset
SVN revision: 65349
2011-11-17 21:02:31 +00:00
ChunEon Park 236192cd9a elementary - modified content_set/get/unset part names to be simple names.
Previous part names are just the swallow part names
but in modified version, the part names chaned to simpler meaning names to use.

i.e for button

elm_object_content_part_set(button, "elm.swallow.icon", icon);
-> elm_object_content_part_set(button, "icon", icon);




SVN revision: 65295
2011-11-16 12:51:53 +00:00
ChunEon Park 8d85b136bf elementary/button -> use elm_object_content_set/get/unset
SVN revision: 64370
2011-10-25 01:23:25 +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 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 6026896d03 remove mode_item_style from item class, use genlist_mode_item_style_set() instead
SVN revision: 64228
2011-10-21 03:31:26 +00:00
Mike Blumenkrantz 29f5f480b8 quiet some warnings
SVN revision: 64225
2011-10-21 02:53:13 +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
Cedric BAIL ba60ba6ebe elementary: fix ordering bug in fileselector.
SVN revision: 63216
2011-09-05 20:30:12 +00:00
Carsten Haitzler 5eeb449427 fix get of filesel is save
SVN revision: 61882
2011-07-29 06:47:33 +00:00
Cedric BAIL 1cd4c15305 elementary: oops, thanks Rafael Antognolli.
SVN revision: 61873
2011-07-28 22:14:32 +00:00
Cedric BAIL 3c51a8547f elementary: fix fileselector expandable mode with eio.
SVN revision: 61864
2011-07-28 16:44:10 +00:00