Re: [E-devel] E SVN: jihoon trunk/ecore/src/lib/ecore_imf
Feel compelled to let the list know that none of the imf stuff will work w/ wayland. There is no XAnything to call/use. So please, ifdef around it, or have an option to compile it out. Wayland is just starting to tackle this issue, so someday there will be a way to make it work. For now, there is no X. dh On 03/05/2012 09:46 PM, Enlightenment SVN wrote: > Log: > ecore_imf: change parameter name in > ecore_imf_context_input_panel_return_key_type_set > > Author: jihoon > Date: 2012-03-05 18:46:09 -0800 (Mon, 05 Mar 2012) > New Revision: 68762 > Trac: http://trac.enlightenment.org/e/changeset/68762 > > Modified: >trunk/ecore/src/lib/ecore_imf/Ecore_IMF.h > > Modified: trunk/ecore/src/lib/ecore_imf/Ecore_IMF.h > === > --- trunk/ecore/src/lib/ecore_imf/Ecore_IMF.h 2012-03-06 02:13:28 UTC (rev > 68761) > +++ trunk/ecore/src/lib/ecore_imf/Ecore_IMF.h 2012-03-06 02:46:09 UTC (rev > 68762) > @@ -499,7 +499,7 @@ > EAPI Eina_Bool > ecore_imf_context_input_panel_enabled_get(Ecore_IMF_Context *ctx); > EAPI void > ecore_imf_context_input_panel_imdata_set(Ecore_IMF_Context *ctx, const void > *data, int len); > EAPI void > ecore_imf_context_input_panel_imdata_get(Ecore_IMF_Context *ctx, void *data, > int *len); > -EAPI void > ecore_imf_context_input_panel_return_key_type_set(Ecore_IMF_Context *ctx, > Ecore_IMF_Input_Panel_Return_Key_Type actiontype); > +EAPI void > ecore_imf_context_input_panel_return_key_type_set(Ecore_IMF_Context *ctx, > Ecore_IMF_Input_Panel_Return_Key_Type return_key_type); > EAPI Ecore_IMF_Input_Panel_Return_Key_Type > ecore_imf_context_input_panel_return_key_type_get(Ecore_IMF_Context *ctx); > EAPI void > ecore_imf_context_input_panel_return_key_disabled_set(Ecore_IMF_Context *ctx, > Eina_Bool disabled); > EAPI Eina_Bool > ecore_imf_context_input_panel_return_key_disabled_get(Ecore_IMF_Context *ctx); > -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: tasn trunk/ecrire/cmake/Modules
On Tue, 6 Mar 2012 00:20:36 -0800 "Enlightenment SVN" wrote: > Log: > Ecrire: Oops, only build gmo when executing all. > > Mike, this one is for you. > > Author: tasn > Date: 2012-03-06 00:20:35 -0800 (Tue, 06 Mar 2012) > New Revision: 68790 > Trac: http://trac.enlightenment.org/e/changeset/68790 > > Modified: > trunk/ecrire/cmake/Modules/GettextTranslate.cmake > thanks, I promise to dedicate my next useless commit to you in repayment of this glorious bounty of build system fixes -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch] Elementary : New widget Elc_dayselector patch
On Tue, 06 Mar 2012 07:23:41 + (GMT) Sumanth Krishna Mannam said: > Hi Raster, > > Actually we have analyzed nl_langinfo() with items (_NL_TIME_WEEK_1STDAY, > _NL_TIME_FIRST_WEEKDAY, _NL_TIME_FIRST_WORKDAY ) , but these types doesn't > work in all the environments, otherwise this is the quite straight forward > way to do Weekday/weekend calculations based on system settings. > > Now, looking at your suggestion, do you mean Widget can read the clock > module config file and fetch the weekday/weekend details? Clock is a dynamic > module, can be enabled/disabled, can elm depend on that? no no - dont read e17's clock module config. elementary needs tyo have its own config values. > Or you are suggesting to have similar settings as part of elm.cfg and use it? yes. u only need 3 integers as i described. we COULD try auto-configure and use the nl_langinfo as above.. If that is available, but generally regardless of locale, this stuff varies even from user to user within the same locale. > Please clarify. > > Thanks, > Sumanth > > > > > i have a problem with this... and that is how it figures out the first day > > of the week and what the weekend is. the theme shouldn't be doing this. > > there should be an api call to set which day weeks start at. that means > > which day is the first displayed on the left (or in mirrored mode on the > > right) of the selector. you should allow any day (0->6 (mon->sun)). as for > > which day weekends start on - the same thing. also allow for how many days > > a weekend has. 0, 1, 2.. up to 6. this data SHOULD be sourced from elm > > config, not theme (so add config values, eet data descriptors for them, add > > values into the default elm config profile(s) and add widgets to the elm > > config tool to change there). there should also be the api calls as above. > > > > look at e17's clock settings - click on it and look there for week and > > weekend. i spent a while trying to come up with the simplest way to express > > all the (common) week+weekend setups around the world and this was the > > best. it covers all of them that i know of with 3 simple integers (0 to 6). > > > >> Hello. Sumanth made patch for new widget "dayselector".Please refer > >> following description := > >> Elc_Dayselector is a day selection widget. It displays all seven days of > >> the week and allows the user to select multiple days. The selection can be > >> toggle by just clicking on the day. Dayselector provides the functionality > >> to check whether a day is selected or not. Localization support is also > >> provided in the widget. Can someone review the widget and push it to the > >> EFL repository. Sign-off By: sumanth M. V. K < sumant...@samsung.com> > > > > > > -- > > - Codito, ergo sum - "I code, therefore I am" -- > > The Rasterman (Carsten Haitzler)ras...@rasterman.com > > -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][elementary_test] test_icon
I have refined the previous patch again. The patch is for test_icon and test_image. Thanks. Sincerely, Shinwoo Kim. 2012/3/6 cnook : > Sorry, The modification of test.c was omitted. I have refined previous > path and attached. > Please give any feedbacks. Thanks. > > Sincerely, > Shinwoo Kim. > > > 2012/3/6 cnook : >> Dear All, Hello. >> >> I have attached a patch for test_icon. please review the patch and >> give any feedbacks. Thanks. >> >> Sincerely, >> Shinwoo Kim. Index: src/bin/test.c === --- src/bin/test.c (revision 68676) +++ src/bin/test.c (working copy) @@ -9,7 +9,9 @@ void test_bg_plain(void *data, Evas_Object *obj, void *event_info); void test_bg_image(void *data, Evas_Object *obj, void *event_info); void test_bg_options(void *data, Evas_Object *obj, void *event_info); +void test_image(void *data, Evas_Object *obj, void *event_info); void test_icon(void *data, Evas_Object *obj, void *event_info); +void test_icon_transparent(void *data, Evas_Object *obj, void *event_info); void test_box_vert(void *data, Evas_Object *obj, void *event_info); void test_box_vert2(void *data, Evas_Object *obj, void *event_info); void test_box_pack(void *data, Evas_Object *obj, void *event_info); @@ -336,7 +338,9 @@ add_tests: ADD_TEST(NULL, "Window / Background", "Window Plug", test_win_plug); //--// - ADD_TEST(NULL, "Images", "Icon Transparent", test_icon); + ADD_TEST(NULL, "Images", "Image", test_image); + ADD_TEST(NULL, "Images", "Icon", test_icon); + ADD_TEST(NULL, "Images", "Icon Transparent", test_icon_transparent); ADD_TEST(NULL, "Images", "Icon Animation", test_icon_animated); ADD_TEST(NULL, "Images", "Photocam", test_photocam); ADD_TEST(NULL, "Images", "Photo", test_photo); Index: src/bin/test_icon.c === --- src/bin/test_icon.c (revision 68676) +++ src/bin/test_icon.c (working copy) @@ -3,14 +3,135 @@ # include "elementary_config.h" #endif #ifndef ELM_LIB_QUICKLAUNCH + static void +aspect_fixed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__) +{ + Evas_Object *ic = (Evas_Object *)data; + elm_icon_aspect_fixed_set(ic, elm_check_state_get(obj)); +} + +static void +fill_outside_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__) +{ + Evas_Object *ic = (Evas_Object *)data; + elm_icon_fill_outside_set(ic, elm_check_state_get(obj)); +} + +static void +smooth_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__) +{ + Evas_Object *ic = (Evas_Object *)data; + elm_icon_smooth_set(ic, elm_check_state_get(obj)); +} + +static void +bt_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) +{ + Evas_Object *win, *ic; + char buf[PATH_MAX]; + + win = elm_win_util_standard_add("preload-prescale", "Preload & Prescale"); + elm_win_autodel_set(win, EINA_TRUE); + + ic = elm_icon_add(win); + elm_win_resize_object_add(win, ic); + snprintf(buf, sizeof(buf), "%s/images/insanely_huge_test_image.jpg", +elm_app_data_dir_get()); + elm_icon_file_set(ic, buf, NULL); + + evas_object_size_hint_weight_set(ic, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); + elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE); + elm_icon_aspect_fixed_set(ic, EINA_FALSE); + elm_icon_preload_set(ic, EINA_TRUE); + elm_icon_prescale_set(ic, 350); + evas_object_show(ic); + + evas_object_resize(win, 350, 350); + evas_object_show(win); +} + +void +test_icon(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) +{ + Evas_Object *win, *box, *content_box, *hbox, *tg, *bt; + win = elm_win_util_standard_add("icon test", "Icon Test"); + elm_win_autodel_set(win, EINA_TRUE); + + box = elm_box_add(win); + elm_win_resize_object_add(win, box); + evas_object_size_hint_weight_set(box, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); + evas_object_show(box); + + content_box = elm_box_add(win); + elm_win_resize_object_add(win, content_box); + evas_object_size_hint_weight_set(content_box, EVAS_HINT_EXPAND, +EVAS_HINT_EXPAND); + evas_object_size_hint_align_set(content_box, EVAS_HINT_FILL, + EVAS_HINT_FILL); + elm_box_pack_end(box, content_box); + evas_object_show(content_box); + + Evas_Object *ic = elm_icon_add(win); + char buf[PATH_MAX]; + snprintf(buf, sizeof(buf), "%s/images/logo.png", elm_app_data_dir_get()); + elm_icon_file_set(ic, buf, NULL); + elm_icon_scale_set(ic, EINA_TRUE, EINA_TRUE); + evas_object_size_hint_weight_set(ic, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); + evas_object_size_hint_align_set(ic, EVAS_HINT_FILL, EVAS_HINT_FILL); + + elm_box_pack_end(content_box, ic); + evas_object_show(ic); + + hbox = elm_box_add(win); + elm_box_horizontal_set(hbox, EINA_TRUE); + evas_object_size_hint_weight_set(content_box, EVAS_HINT_EXPAND, +
Re: [E-devel] [Patch][elementary_test] test_icon
Please ignore the patch. elm_icon_preload_set() is weird.. elm_icon_pleload_set() should be elm_icon_preload_disable_se() I 2012/3/6 cnook : > I have refined the previous patch again. The patch is for test_icon > and test_image. Thanks. > > Sincerely, > Shinwoo Kim. > > 2012/3/6 cnook : >> Sorry, The modification of test.c was omitted. I have refined previous >> path and attached. >> Please give any feedbacks. Thanks. >> >> Sincerely, >> Shinwoo Kim. >> >> >> 2012/3/6 cnook : >>> Dear All, Hello. >>> >>> I have attached a patch for test_icon. please review the patch and >>> give any feedbacks. Thanks. >>> >>> Sincerely, >>> Shinwoo Kim. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: acidx trunk/PROTO/elev8/src/bin
On Mon, Mar 5, 2012 at 9:36 PM, Gustavo Sverzut Barbieri wrote: > As you can see, you should NOT use the eina_log.h MACRO, use the > function instead and provide more meaningful file/line instead of > always doing elev8_utils.cc:60 :-) Wouldn't make any difference here: Eina_Log wouldn't know about the JavaScript file name :) -- Leandro -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][elementary_test] test_icon
I changed. Thank you. -Regards, Hermet- -Original Message- From: "cnook"To: "EFL" Cc: Sent: 12-03-06(화) 18:37:17 Subject: Re: [E-devel] [Patch][elementary_test] test_icon Please ignore the patch. elm_icon_preload_set() is weird.. elm_icon_pleload_set() should be elm_icon_preload_disable_se() I 2012/3/6 cnook : > I have refined the previous patch again. The patch is for test_icon > and test_image. Thanks. > > Sincerely, > Shinwoo Kim. > > 2012/3/6 cnook : >> Sorry, The modification of test.c was omitted. I have refined previous >> path and attached. >> Please give any feedbacks. Thanks. >> >> Sincerely, >> Shinwoo Kim. >> >> >> 2012/3/6 cnook : >>> Dear All, Hello. >>> >>> I have attached a patch for test_icon. please review the patch and >>> give any feedbacks. Thanks. >>> >>> Sincerely, >>> Shinwoo Kim. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: acidx trunk/PROTO/elev8/src/bin
On Tue, Mar 6, 2012 at 7:35 AM, Leandro Pereira wrote: > On Mon, Mar 5, 2012 at 9:36 PM, Gustavo Sverzut Barbieri > wrote: >> As you can see, you should NOT use the eina_log.h MACRO, use the >> function instead and provide more meaningful file/line instead of >> always doing elev8_utils.cc:60 :-) > > Wouldn't make any difference here: Eina_Log wouldn't know about the > JavaScript file name :) Can't you change it so it does know? and use http://docs.enlightenment.org/auto/eina/group__Eina__Log__Group.html#ga2ad47c77225cbcf8d35840547b5bbbe4 -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][elementary_test] ]test_multibuttonentry
ok. I'll send patch again after finishing job to review. and reflect those changes. Thank you. Go-un --- Original Message --- Sender : Sanjeev BA Date : Mar 06, 2012 15:06 (GMT+09:00) Title : Re: [E-devel] [Patch][elementary_test] ]test_multibuttonentry Hi, I have been reviewing multibutton entry. I will be committing some more changes in sometime from now. Kindly modify your patch resubmit after those changes. Regards, Sanjeev 2012/3/6 GoUn Lee > > Dear Developers, > > I've added patch for the test_multibuttonentry. > I added more buttons to test multibuttonentry's API function. > such as, > elm_multibuttonentry_item_select(), > elm_multibuttonentry_clear(), > elm_multibuttonentry_item_unselect_all(), > elm_multibuttonentry_item_append/prepend(), > elm_multibuttonentry_item_insert_before(), > elm_multibuttonentry_item_insert_after(), > elm_multibuttonentry_last_item_get(), > elm_multibuttonentry_item_filter_remmove(), > elm_multibuttonentry_item_filter_prepend() > > Everything works fine. > Please review this patch. > > Thank you. > Go-un > > -- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
This needs to be implemented again using Evas_Smart_Cb like other widgets. I discussed this with multibuttonentry contributor and she agreed to remove "item,selected" and "item,clicked" smart callback and use Evas_Smart_Cb instead. Thanks. Daniel Juyung Seo (SeoZ) On Tue, Mar 6, 2012 at 9:14 PM, Enlightenment SVN wrote: > Log: > ok warn-- in multibuttonentry - getting bored of seeing it. > > > > Author: raster > Date: 2012-03-06 04:14:35 -0800 (Tue, 06 Mar 2012) > New Revision: 68817 > Trac: http://trac.enlightenment.org/e/changeset/68817 > > Modified: > trunk/elementary/src/lib/elc_multibuttonentry.c > trunk/elementary/src/lib/elc_multibuttonentry.h > > Modified: trunk/elementary/src/lib/elc_multibuttonentry.c > === > --- trunk/elementary/src/lib/elc_multibuttonentry.c 2012-03-06 12:08:11 > UTC (rev 68816) > +++ trunk/elementary/src/lib/elc_multibuttonentry.c 2012-03-06 12:14:35 > UTC (rev 68817) > @@ -1529,25 +1529,25 @@ > } > > EAPI Elm_Object_Item * > -elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, > Evas_Smart_Cb func, void *data) > +elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, void > *data) > { > return _add_button_item(obj, label, MULTIBUTTONENTRY_POS_START, NULL, > data); > } > > EAPI Elm_Object_Item * > -elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, > Evas_Smart_Cb func, void *data) > +elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, void > *data) > { > return _add_button_item(obj, label, MULTIBUTTONENTRY_POS_END, NULL, data); > } > > EAPI Elm_Object_Item * > -elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Object_Item > *before, const char *label, Evas_Smart_Cb func, void *data) > +elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Object_Item > *before, const char *label, void *data) > { > return _add_button_item(obj, label, MULTIBUTTONENTRY_POS_BEFORE, before, > data); > } > > EAPI Elm_Object_Item * > -elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Object_Item > *after, const char *label, Evas_Smart_Cb func, void *data) > +elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Object_Item > *after, const char *label, void *data) > { > return _add_button_item(obj, label, MULTIBUTTONENTRY_POS_AFTER, after, > data); > } > > Modified: trunk/elementary/src/lib/elc_multibuttonentry.h > === > --- trunk/elementary/src/lib/elc_multibuttonentry.h 2012-03-06 12:08:11 > UTC (rev 68816) > +++ trunk/elementary/src/lib/elc_multibuttonentry.h 2012-03-06 12:14:35 > UTC (rev 68817) > @@ -113,7 +113,7 @@ > * > * @ingroup Multibuttonentry > */ > -EAPI Elm_Object_Item *elm_multibuttonentry_item_prepend(Evas_Object *obj, > const char *label, Evas_Smart_Cb func, void *data); > +EAPI Elm_Object_Item *elm_multibuttonentry_item_prepend(Evas_Object *obj, > const char *label, void *data); > > /** > * Append a new item to the multibuttonentry > @@ -126,7 +126,7 @@ > * > * @ingroup Multibuttonentry > */ > -EAPI Elm_Object_Item *elm_multibuttonentry_item_append(Evas_Object *obj, > const char *label, Evas_Smart_Cb func, void *data); > +EAPI Elm_Object_Item *elm_multibuttonentry_item_append(Evas_Object *obj, > const char *label, void *data); > > /** > * Add a new item to the multibuttonentry before the indicated object > @@ -141,7 +141,7 @@ > * > * @ingroup Multibuttonentry > */ > -EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_before(Evas_Object > *obj, Elm_Object_Item *before, const char *label, Evas_Smart_Cb func, void > *data); > +EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_before(Evas_Object > *obj, Elm_Object_Item *before, const char *label, void *data); > > /** > * Add a new item to the multibuttonentry after the indicated object > @@ -155,7 +155,7 @@ > * > * @ingroup Multibuttonentry > */ > -EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_after(Evas_Object > *obj, Elm_Object_Item *after, const char *label, Evas_Smart_Cb func, void > *data); > +EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_after(Evas_Object > *obj, Elm_Object_Item *after, const char *label, void *data); > > /** > * Get a list of items in the multibuttonentry > > > -- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ___ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn
Re: [E-devel] E SVN: jaehwan IN trunk/elementary: data/themes/widgets src/bin src/lib
spank spank. 1) wrong formatting in edc and c. http://trac.enlightenment.org/e/changeset/68821 http://trac.enlightenment.org/e/changeset/68823 2) warnings + bug http://trac.enlightenment.org/e/changeset/68816 Daniel Juyung Seo (SeoZ) On Tue, Mar 6, 2012 at 8:35 PM, Enlightenment SVN wrote: > Log: > Add the item_content_set/get/unset_hook for setting the object as the content > of the toolbar item. > It's possible the objects(like slider or progressbar and so on) can be shown > in toolbar. > > > Author: jaehwan > Date: 2012-03-06 03:35:11 -0800 (Tue, 06 Mar 2012) > New Revision: 68805 > Trac: http://trac.enlightenment.org/e/changeset/68805 > > Modified: > trunk/elementary/data/themes/widgets/toolbar.edc > trunk/elementary/src/bin/test_toolbar.c trunk/elementary/src/lib/elm_toolbar.c > > Modified: trunk/elementary/data/themes/widgets/toolbar.edc > === > --- trunk/elementary/data/themes/widgets/toolbar.edc 2012-03-06 10:59:33 > UTC (rev 68804) > +++ trunk/elementary/data/themes/widgets/toolbar.edc 2012-03-06 11:35:11 > UTC (rev 68805) > @@ -674,3 +674,14 @@ > } > } > > +group { name: "elm/toolbar/object/default"; > + parts { > + part { name: "elm.swallow.object"; // object group > + type: SWALLOW; > + description { > + state: "default" 0.0; > + } > + } > + } > +} > + > > Modified: trunk/elementary/src/bin/test_toolbar.c > === > --- trunk/elementary/src/bin/test_toolbar.c 2012-03-06 10:59:33 UTC (rev > 68804) > +++ trunk/elementary/src/bin/test_toolbar.c 2012-03-06 11:35:11 UTC (rev > 68805) > @@ -840,7 +840,7 @@ > void > test_toolbar8(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void > *event_info __UNUSED__) > { > - Evas_Object *win, *bg, *bx, *tb, *ph, *menu; > + Evas_Object *win, *bg, *bx, *tb, *ph, *sl, *menu; > Evas_Object *ph1, *ph2, *ph3, *ph4; > Elm_Object_Item *item; > Elm_Object_Item *menu_it; > @@ -861,7 +861,7 @@ > evas_object_show(bx); > > tb = elm_toolbar_add(win); > - elm_toolbar_homogeneous_set(tb, EINA_TRUE); > + elm_toolbar_homogeneous_set(tb, EINA_FALSE); > elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_EXPAND); > evas_object_size_hint_weight_set(tb, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); > evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, EVAS_HINT_FILL); > @@ -881,6 +881,11 @@ > item = elm_toolbar_item_append(tb, "object-rotate-right", "H", tb_3, ph4); > elm_toolbar_item_priority_set(item, -150); > > + sl = elm_slider_add(win); > + evas_object_size_hint_min_set(sl, 100, 50); > + item = elm_toolbar_item_append(tb, NULL, NULL, NULL, NULL); > + elm_object_item_part_content_set(item, "object", sl); > + > item = elm_toolbar_item_append(tb, "mail-send", "Comes", tb_4, ph4); > elm_toolbar_item_priority_set(item, -200); > > > Modified: trunk/elementary/src/lib/elm_toolbar.c > === > --- trunk/elementary/src/lib/elm_toolbar.c 2012-03-06 10:59:33 UTC (rev > 68804) > +++ trunk/elementary/src/lib/elm_toolbar.c 2012-03-06 11:35:11 UTC (rev > 68805) > @@ -34,6 +34,7 @@ > const char *label; > const char *icon_str; > Evas_Object *icon; > + Evas_Object *object; > Evas_Object *o_menu; > Evas_Smart_Cb func; > struct { > @@ -170,7 +171,7 @@ > Eina_Bool sel; > > if (!wd) return; > - if (elm_widget_item_disabled_get(it) || (it->separator)) return; > + if (elm_widget_item_disabled_get(it) || (it->separator) || (it->object)) > return; > sel = it->selected; > > if (!wd->no_select) > @@ -312,7 +313,7 @@ > > _mirrored_set_item(obj, it, elm_widget_mirrored_get(obj)); > edje_object_scale_set(view, scale); > - if (!it->separator) > + if (!it->separator && !it->object) > { > _elm_theme_object_set(obj, view, "toolbar", "item", style); > if (it->selected) > @@ -338,24 +339,32 @@ > } > else > { > - _elm_theme_object_set(obj, view, "toolbar", "separator", style); > - if (wd->vertical) > + if (!it->object) > { > - evas_object_size_hint_weight_set(view, EVAS_HINT_EXPAND, -1.0); > - evas_object_size_hint_align_set(view, EVAS_HINT_FILL, 0.5); > + _elm_theme_object_set(obj, view, "toolbar", "separator", style); > + if (wd->vertical) > + { > + evas_object_size_hint_weight_set(view, EVAS_HINT_EXPAND, > -1.0); > + evas_object_size_hint_align_set(view, EVAS_HINT_FILL, 0.5); > + } > + else > + { > + evas_object_size_hint_weight_set(view, -1.0, > EVAS_HINT_EXPAND); > + evas_object_size_hint_align_set(view, 0.5, EVAS_HINT_FILL); > + } > } > els
Re: [E-devel] [Patch][elementary_test] ]test_multibuttonentry
On Tue, 06 Mar 2012 12:35:14 + (GMT) GoUn Lee said: and i've changed them again :) yay! > ok. I'll send patch again after finishing job to review. > and reflect those changes. > > Thank you. > Go-un > --- Original Message --- > Sender : Sanjeev BA > Date : Mar 06, 2012 15:06 (GMT+09:00) > Title : Re: [E-devel] [Patch][elementary_test] ]test_multibuttonentry > > Hi, > I have been reviewing multibutton entry. I will be committing some more > changes in sometime from now. Kindly modify your patch resubmit after those > changes. > > Regards, > Sanjeev > > 2012/3/6 GoUn Lee > > > > > Dear Developers, > > > > I've added patch for the test_multibuttonentry. > > I added more buttons to test multibuttonentry's API function. > > such as, > > elm_multibuttonentry_item_select(), > > elm_multibuttonentry_clear(), > > elm_multibuttonentry_item_unselect_all(), > > elm_multibuttonentry_item_append/prepend(), > > elm_multibuttonentry_item_insert_before(), > > elm_multibuttonentry_item_insert_after(), > > elm_multibuttonentry_last_item_get(), > > elm_multibuttonentry_item_filter_remmove(), > > elm_multibuttonentry_item_filter_prepend() > > > > Everything works fine. > > Please review this patch. > > > > Thank you. > > Go-un > > > > -- > > Keep Your Developer Skills Current with LearnDevNow! > > The most comprehensive online learning library for Microsoft developers > > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > > Metro Style Apps, more. Free future releases when you subscribe now! > > http://p.sf.net/sfu/learndevnow-d2d > > ___ > > enlightenment-devel mailing list > > enlightenment-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > > > -- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Tue, 6 Mar 2012 21:38:22 +0900 Daniel Juyung Seo said: well put it back WHEN its implemented. i'm staring at warnings continually amongst reams of other warnings i'm going thru and fixing as i am altering other api's too - its distracting to have to keep filtering these out mentally. :) > This needs to be implemented again using Evas_Smart_Cb like other widgets. > I discussed this with multibuttonentry contributor and she agreed to > remove "item,selected" and "item,clicked" smart callback and use > Evas_Smart_Cb instead. > > Thanks. > > Daniel Juyung Seo (SeoZ) > > On Tue, Mar 6, 2012 at 9:14 PM, Enlightenment SVN > wrote: > > Log: > > ok warn-- in multibuttonentry - getting bored of seeing it. > > > > > > > > Author: raster > > Date: 2012-03-06 04:14:35 -0800 (Tue, 06 Mar 2012) > > New Revision: 68817 > > Trac: http://trac.enlightenment.org/e/changeset/68817 > > > > Modified: > > trunk/elementary/src/lib/elc_multibuttonentry.c > > trunk/elementary/src/lib/elc_multibuttonentry.h > > > > Modified: trunk/elementary/src/lib/elc_multibuttonentry.c > > === > > --- trunk/elementary/src/lib/elc_multibuttonentry.c 2012-03-06 12:08:11 > > UTC (rev 68816) +++ trunk/elementary/src/lib/elc_multibuttonentry.c > > 2012-03-06 12:14:35 UTC (rev 68817) @@ -1529,25 +1529,25 @@ > > } > > > > EAPI Elm_Object_Item * > > -elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, > > Evas_Smart_Cb func, void *data) +elm_multibuttonentry_item_prepend > > (Evas_Object *obj, const char *label, void *data) { > > return _add_button_item(obj, label, MULTIBUTTONENTRY_POS_START, NULL, > > data); } > > > > EAPI Elm_Object_Item * > > -elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, > > Evas_Smart_Cb func, void *data) +elm_multibuttonentry_item_append > > (Evas_Object *obj, const char *label, void *data) { > > return _add_button_item(obj, label, MULTIBUTTONENTRY_POS_END, NULL, > > data); } > > > > EAPI Elm_Object_Item * > > -elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Object_Item > > *before, const char *label, Evas_Smart_Cb func, void *data) > > +elm_multibuttonentry_item_insert_before(Evas_Object *obj, Elm_Object_Item > > *before, const char *label, void *data) { return _add_button_item(obj, > > label, MULTIBUTTONENTRY_POS_BEFORE, before, data); } > > > > EAPI Elm_Object_Item * > > -elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Object_Item > > *after, const char *label, Evas_Smart_Cb func, void *data) > > +elm_multibuttonentry_item_insert_after(Evas_Object *obj, Elm_Object_Item > > *after, const char *label, void *data) { return _add_button_item(obj, > > label, MULTIBUTTONENTRY_POS_AFTER, after, data); } > > > > Modified: trunk/elementary/src/lib/elc_multibuttonentry.h > > === > > --- trunk/elementary/src/lib/elc_multibuttonentry.h 2012-03-06 12:08:11 > > UTC (rev 68816) +++ trunk/elementary/src/lib/elc_multibuttonentry.h > > 2012-03-06 12:14:35 UTC (rev 68817) @@ -113,7 +113,7 @@ > > * > > * @ingroup Multibuttonentry > > */ > > -EAPI Elm_Object_Item *elm_multibuttonentry_item_prepend(Evas_Object *obj, > > const char *label, Evas_Smart_Cb func, void *data); +EAPI Elm_Object_Item > > *elm_multibuttonentry_item_prepend(Evas_Object *obj, const char *label, > > void *data); > > > > /** > > * Append a new item to the multibuttonentry > > @@ -126,7 +126,7 @@ > > * > > * @ingroup Multibuttonentry > > */ > > -EAPI Elm_Object_Item *elm_multibuttonentry_item_append(Evas_Object *obj, > > const char *label, Evas_Smart_Cb func, void *data); +EAPI Elm_Object_Item > > *elm_multibuttonentry_item_append(Evas_Object *obj, const char *label, void > > *data); > > > > /** > > * Add a new item to the multibuttonentry before the indicated object > > @@ -141,7 +141,7 @@ > > * > > * @ingroup Multibuttonentry > > */ > > -EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_before(Evas_Object > > *obj, Elm_Object_Item *before, const char *label, Evas_Smart_Cb func, void > > *data); +EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_before > > (Evas_Object *obj, Elm_Object_Item *before, const char *label, void *data); > > > > /** > > * Add a new item to the multibuttonentry after the indicated object > > @@ -155,7 +155,7 @@ > > * > > * @ingroup Multibuttonentry > > */ > > -EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_after(Evas_Object > > *obj, Elm_Object_Item *after, const char *label, Evas_Smart_Cb func, void > > *data); +EAPI Elm_Object_Item *elm_multibuttonentry_item_insert_after > > (Evas_Object *obj, Elm_Object_Item *after, const char *label, void *data); > > > > /** > > * Get a list of items in the multibuttonentry > > > > > > -- > > Keep Your Developer Skills Current with LearnDevNow! > > The most comp
Re: [E-devel] E SVN: jihoon trunk/ecore/src/lib/ecore_imf
2012/3/6 Christopher Michael : > Feel compelled to let the list know that none of the imf stuff will work > w/ wayland. There is no XAnything to call/use. So please, ifdef around > it, or have an option to compile it out. > > Wayland is just starting to tackle this issue, so someday there will be > a way to make it work. For now, there is no X. > Ecore_IMF is entirely an optional module and the day wayland decides to come to the usable side of the world I would guess it will have some imf_wayland.so for Ecore_IMF to use. Other than that, it should be completely transparent. > dh > > On 03/05/2012 09:46 PM, Enlightenment SVN wrote: >> Log: >> ecore_imf: change parameter name in >> ecore_imf_context_input_panel_return_key_type_set >> >> Author: jihoon >> Date: 2012-03-05 18:46:09 -0800 (Mon, 05 Mar 2012) >> New Revision: 68762 >> Trac: http://trac.enlightenment.org/e/changeset/68762 >> >> Modified: >> trunk/ecore/src/lib/ecore_imf/Ecore_IMF.h >> >> Modified: trunk/ecore/src/lib/ecore_imf/Ecore_IMF.h >> === >> --- trunk/ecore/src/lib/ecore_imf/Ecore_IMF.h 2012-03-06 02:13:28 UTC (rev >> 68761) >> +++ trunk/ecore/src/lib/ecore_imf/Ecore_IMF.h 2012-03-06 02:46:09 UTC (rev >> 68762) >> @@ -499,7 +499,7 @@ >> EAPI Eina_Bool >> ecore_imf_context_input_panel_enabled_get(Ecore_IMF_Context *ctx); >> EAPI void >> ecore_imf_context_input_panel_imdata_set(Ecore_IMF_Context *ctx, const void >> *data, int len); >> EAPI void >> ecore_imf_context_input_panel_imdata_get(Ecore_IMF_Context *ctx, void *data, >> int *len); >> -EAPI void >> ecore_imf_context_input_panel_return_key_type_set(Ecore_IMF_Context *ctx, >> Ecore_IMF_Input_Panel_Return_Key_Type actiontype); >> +EAPI void >> ecore_imf_context_input_panel_return_key_type_set(Ecore_IMF_Context *ctx, >> Ecore_IMF_Input_Panel_Return_Key_Type return_key_type); >> EAPI Ecore_IMF_Input_Panel_Return_Key_Type >> ecore_imf_context_input_panel_return_key_type_get(Ecore_IMF_Context *ctx); >> EAPI void >> ecore_imf_context_input_panel_return_key_disabled_set(Ecore_IMF_Context >> *ctx, Eina_Bool disabled); >> EAPI Eina_Bool >> ecore_imf_context_input_panel_return_key_disabled_get(Ecore_IMF_Context >> *ctx); >> > > > -- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] efl api freeze 7th of march
On Tue, Mar 6, 2012 at 3:53 AM, Carsten Haitzler wrote: > just so everyone knows... march 7 is the last day to get in any changes that > will affect api in EFL or elementary, eio, and emotion. all changes after > that until release are "bug fixes" only. Ethumb is also in that list. -- Cedric BAIL -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] efl api freeze 7th of march
2012/3/6 Cedric BAIL : > On Tue, Mar 6, 2012 at 3:53 AM, Carsten Haitzler wrote: >> just so everyone knows... march 7 is the last day to get in any changes that >> will affect api in EFL or elementary, eio, and emotion. all changes after >> that until release are "bug fixes" only. > > Ethumb is also in that list. AND MY AXE! > -- > Cedric BAIL > > -- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: acidx trunk/PROTO/elev8/src/bin
On 03/06/2012 07:48 AM, Gustavo Sverzut Barbieri wrote: > Can't you change it so it does know? and use > http://docs.enlightenment.org/auto/eina/group__Eina__Log__Group.html#ga2ad47c77225cbcf8d35840547b5bbbe4 It is already working. What wasn't working were that imported JavaScript modules didn't set their file names, so that error messages were printed as happening on file "undefined". Leandro -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Summer of Code 2012..... application.....
Yo, On Thu, Mar 1, 2012 at 4:23 PM, Ian Caldwell wrote: > Just a reminder folks Lets get our app in or at least fixed up to turn > in. Let's give it a go this year... Also please reply if you're > interested in mentoring.. Another remember, we need to fill our mentors list and project idea with relevant mentors soon, or very soon. I have updated the wiki to point to the new page for 2012. Don't forget to explain why the idea will help the project. http://trac.enlightenment.org/e/wiki/GSoC_2012_Project_Ideas http://trac.enlightenment.org/e/wiki/GSoC_2012_Mentors Have fun, -- Cedric BAIL -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] efl api freeze 7th of march
For those who run and test EFL core + elementary libraries, please feel free to create a new ticket on tract if you have any problems. http://trac.enlightenment.org/e/newticket http://trac.enlightenment.org/e/report Ticket is welcomed even after api freeze on March 7. But the problem is that trac is super slow :( Thanks. Daniel Juyung Seo (SeoZ) On Tue, Mar 6, 2012 at 11:53 AM, Carsten Haitzler wrote: > just so everyone knows... march 7 is the last day to get in any changes that > will affect api in EFL or elementary, eio, and emotion. all changes after > that until release are "bug fixes" only. > > -- > - Codito, ergo sum - "I code, therefore I am" -- > The Rasterman (Carsten Haitzler) ras...@rasterman.com > > > -- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] efl api freeze 7th of march
Can I put bug reports for elm based on or observed during running shotgun? On Wednesday, March 7, 2012 12:09:52 AM UTC+8, Daniel Juyung Seo wrote: > > For those who run and test EFL core + elementary libraries, please > feel free to create a new ticket on tract if you have any problems. > http://trac.enlightenment.org/e/newticket > http://trac.enlightenment.org/e/report > > Ticket is welcomed even after api freeze on March 7. > But the problem is that trac is super slow :( > > Thanks. > > Daniel Juyung Seo (SeoZ) > > On Tue, Mar 6, 2012 at 11:53 AM, Carsten Haitzler > wrote: > > just so everyone knows... march 7 is the last day to get in any changes > that > > will affect api in EFL or elementary, eio, and emotion. all changes after > > that until release are "bug fixes" only. > > > > -- > > - Codito, ergo sum - "I code, therefore I am" -- > > The Rasterman (Carsten Haitzler)ras...@rasterman.com > > > > > > > -- > > Keep Your Developer Skills Current with LearnDevNow! > > The most comprehensive online learning library for Microsoft developers > > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > > Metro Style Apps, more. Free future releases when you subscribe now! > > http://p.sf.net/sfu/learndevnow-d2d > > ___ > > enlightenment-devel mailing list > > enlightenment-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > > > -- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] Summer of Code 2012..... application.....
On Tue, 6 Mar 2012 16:11:58 +0100 Cedric BAIL wrote: > Yo, > > On Thu, Mar 1, 2012 at 4:23 PM, Ian Caldwell wrote: > > Just a reminder folks Lets get our app in or at least fixed up to turn > > in. Let's give it a go this year... Also please reply if you're > > interested in mentoring.. > > Another remember, we need to fill our mentors list and project idea > with relevant mentors soon, or very soon. I have updated the wiki to > point to the new page for 2012. Don't forget to explain why the idea > will help the project. > > http://trac.enlightenment.org/e/wiki/GSoC_2012_Project_Ideas > http://trac.enlightenment.org/e/wiki/GSoC_2012_Mentors > > Have fun, Added my project from last year. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Tue, 6 Mar 2012 04:30:16 -0800 "Enlightenment SVN" wrote: > Log: > adree with XXX -> rename focus funcs, deprecate old. > > > > Author: raster > Date: 2012-03-06 04:30:16 -0800 (Tue, 06 Mar 2012) > New Revision: 68822 > Trac: http://trac.enlightenment.org/e/changeset/68822 > > Modified: > trunk/elementary/src/lib/elm_deprecated.h > trunk/elementary/src/lib/elm_focus.h trunk/elementary/src/lib/elm_main.c > huge spankies on this. huge. but I'll fix it for you this once because I'm such a swell guy. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: jihoon trunk/ecore/src/lib/ecore_imf
On 03/06/2012 08:03 AM, Iván Briano wrote: > 2012/3/6 Christopher Michael: >> Feel compelled to let the list know that none of the imf stuff will work >> w/ wayland. There is no XAnything to call/use. So please, ifdef around >> it, or have an option to compile it out. >> >> Wayland is just starting to tackle this issue, so someday there will be >> a way to make it work. For now, there is no X. >> > > Ecore_IMF is entirely an optional module and the day wayland > decides to come to the usable side of the world I would guess it > will have some imf_wayland.so for Ecore_IMF to use. > Other than that, it should be completely transparent. > Of course :) I was just mailing mainly for app developers so that they are aware that ecore_imf should be ifdef'd in their apps :) dh >> dh >> >> On 03/05/2012 09:46 PM, Enlightenment SVN wrote: >>> Log: >>> ecore_imf: change parameter name in >>> ecore_imf_context_input_panel_return_key_type_set >>> >>> Author: jihoon >>> Date: 2012-03-05 18:46:09 -0800 (Mon, 05 Mar 2012) >>> New Revision: 68762 >>> Trac: http://trac.enlightenment.org/e/changeset/68762 >>> >>> Modified: >>> trunk/ecore/src/lib/ecore_imf/Ecore_IMF.h >>> >>> Modified: trunk/ecore/src/lib/ecore_imf/Ecore_IMF.h >>> === >>> --- trunk/ecore/src/lib/ecore_imf/Ecore_IMF.h 2012-03-06 02:13:28 UTC (rev >>> 68761) >>> +++ trunk/ecore/src/lib/ecore_imf/Ecore_IMF.h 2012-03-06 02:46:09 UTC (rev >>> 68762) >>> @@ -499,7 +499,7 @@ >>>EAPI Eina_Bool >>> ecore_imf_context_input_panel_enabled_get(Ecore_IMF_Context *ctx); >>>EAPI void >>> ecore_imf_context_input_panel_imdata_set(Ecore_IMF_Context *ctx, const void >>> *data, int len); >>>EAPI void >>> ecore_imf_context_input_panel_imdata_get(Ecore_IMF_Context *ctx, void >>> *data, int *len); >>> -EAPI void >>> ecore_imf_context_input_panel_return_key_type_set(Ecore_IMF_Context *ctx, >>> Ecore_IMF_Input_Panel_Return_Key_Type actiontype); >>> +EAPI void >>> ecore_imf_context_input_panel_return_key_type_set(Ecore_IMF_Context *ctx, >>> Ecore_IMF_Input_Panel_Return_Key_Type return_key_type); >>>EAPI Ecore_IMF_Input_Panel_Return_Key_Type >>> ecore_imf_context_input_panel_return_key_type_get(Ecore_IMF_Context *ctx); >>>EAPI void >>> ecore_imf_context_input_panel_return_key_disabled_set(Ecore_IMF_Context >>> *ctx, Eina_Bool disabled); >>>EAPI Eina_Bool >>> ecore_imf_context_input_panel_return_key_disabled_get(Ecore_IMF_Context >>> *ctx); >>> >> >> -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] efl api freeze 7th of march
On Tue, Mar 6, 2012 at 3:53 AM, Carsten Haitzler wrote: > just so everyone knows... march 7 is the last day to get in any changes that > will affect api in EFL or elementary, eio, and emotion. all changes after > that until release are "bug fixes" only. > what about doing some advertising on phoronix ? (there is a thread there about QT being released in 2 weeks). It would also be a good opportunity to recall that the EFL are used in Tizen Vincent -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: acidx trunk/PROTO/elev8/src/bin
On Tue, Mar 6, 2012 at 11:59 AM, Leandro Pereira wrote: > > On 03/06/2012 07:48 AM, Gustavo Sverzut Barbieri wrote: > > Can't you change it so it does know? and use > > > > http://docs.enlightenment.org/auto/eina/group__Eina__Log__Group.html#ga2ad47c77225cbcf8d35840547b5bbbe4 > > It is already working. What wasn't working were that imported JavaScript > modules didn't set their file names, so that error messages were printed > as happening on file "undefined". >From your example: ERR<11319>:elev8 elev8_utils.cc:60 boom() ./app.js:12 TypeError: Object [object Object] has no method 'derp' In my opinion it should be: ERR<11319>:elev8 ./app.js:12 jsfunc() TypeError: Object [object Object] has no method 'derp' did you understand what I mean? you provide JS values for file, function and line to eina_log_print(). -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] efl api freeze 7th of march
On 06/03/12 23:22, Vincent Torri wrote: > what about doing some advertising on phoronix ? (there is a thread > there about QT being released in 2 weeks). It would also be a good > opportunity to recall that the EFL are used in Tizen Great idea! Do we have a release date yet? If not, lets maybe just announce about the freeze. Maybe a good place to announce the freeze first would be enlightenment.org though :) -- Tom. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] efl api freeze 7th of march
On Wed, 07 Mar 2012 01:19:33 +0200 Tom Hacohen wrote: > On 06/03/12 23:22, Vincent Torri wrote: > > what about doing some advertising on phoronix ? (there is a thread > > there about QT being released in 2 weeks). It would also be a good > > opportunity to recall that the EFL are used in Tizen > > Great idea! Do we have a release date yet? If not, lets maybe just > announce about the freeze. > > Maybe a good place to announce the freeze first would be > enlightenment.org though :) > > -- > Tom. > I heard the release date was the 8th. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: raster trunk/elementary/src/lib
On Tue, 6 Mar 2012 12:54:05 -0500 Michael Blumenkrantz said: :-P > On Tue, 6 Mar 2012 04:30:16 -0800 > "Enlightenment SVN" wrote: > > > Log: > > adree with XXX -> rename focus funcs, deprecate old. > > > > > > > > Author: raster > > Date: 2012-03-06 04:30:16 -0800 (Tue, 06 Mar 2012) > > New Revision: 68822 > > Trac: http://trac.enlightenment.org/e/changeset/68822 > > > > Modified: > > trunk/elementary/src/lib/elm_deprecated.h > > trunk/elementary/src/lib/elm_focus.h trunk/elementary/src/lib/elm_main.c > > > > huge spankies on this. huge. but I'll fix it for you this once because I'm > such a swell guy. > > -- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] elm_entry patch : typedef Elm_Entry_Item_Provider_Cb
this improves readability and helps for ruby binding maintenance hope the doc is good enough though. Jérémy diff --git a/elementary/src/lib/elm_entry.c b/elementary/src/lib/elm_entry.c index 8ed7220..c80eb87 100644 --- a/elementary/src/lib/elm_entry.c +++ b/elementary/src/lib/elm_entry.c @@ -3037,7 +3037,7 @@ elm_entry_context_menu_disabled_get(const Evas_Object *obj) } EAPI void -elm_entry_item_provider_append(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data) +elm_entry_item_provider_append(Evas_Object *obj, Elm_Entry_Item_Provider_Cb func, void *data) { ELM_CHECK_WIDTYPE(obj, widtype); Widget_Data *wd = elm_widget_data_get(obj); @@ -3051,7 +3051,7 @@ elm_entry_item_provider_append(Evas_Object *obj, Evas_Object *(*func) (void *dat } EAPI void -elm_entry_item_provider_prepend(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data) +elm_entry_item_provider_prepend(Evas_Object *obj, Elm_Entry_Item_Provider_Cb func, void *data) { ELM_CHECK_WIDTYPE(obj, widtype); Widget_Data *wd = elm_widget_data_get(obj); @@ -3065,7 +3065,7 @@ elm_entry_item_provider_prepend(Evas_Object *obj, Evas_Object *(*func) (void *da } EAPI void -elm_entry_item_provider_remove(Evas_Object *obj, Evas_Object *(*func) (void *data, Evas_Object *entry, const char *item), void *data) +elm_entry_item_provider_remove(Evas_Object *obj, Elm_Entry_Item_Provider_Cb func, void *data) { ELM_CHECK_WIDTYPE(obj, widtype); Widget_Data *wd = elm_widget_data_get(obj); diff --git a/elementary/src/lib/elm_entry.h b/elementary/src/lib/elm_entry.h index 71175e8..72295ce 100644 --- a/elementary/src/lib/elm_entry.h +++ b/elementary/src/lib/elm_entry.h @@ -412,6 +412,22 @@ struct _Elm_Entry_Anchor_Hover_Info }; /** + * @typedef Elm_Entry_Item_Provider_Cb + * This callback type is used to provide items. + * If it returns an object handle other than NULL (it should create an + * object to do this), then this object is used to replace the current item. + * If not the next provider is called until one provides an item object, or the + * default provider in entry does. + * @param data The data specified as the last param when adding the provider + * @param entry The entry object + * @param text A pointer to the item href string in the text + * @see elm_entry_item_provider_append + * @see elm_entry_item_provider_prepend + * @see elm_entry_item_provider_remove + */ +typedef Evas_Object * (*Elm_Entry_Item_Provider_Cb)(void *data, Evas_Object * entry, const char *item); + +/** * @typedef Elm_Entry_Filter_Cb * This callback type is used by entry filters to modify text. * @param data The data specified as the last param when adding the filter @@ -420,6 +436,7 @@ struct _Elm_Entry_Anchor_Hover_Info * but any additional allocations must be managed by the user. * @see elm_entry_markup_filter_append * @see elm_entry_markup_filter_prepend + * @see elm_entry_markup_filter_remove */ typedef void (*Elm_Entry_Filter_Cb)(void *data, Evas_Object *entry, char **text); @@ -923,7 +940,7 @@ EAPI Eina_Bool elm_entry_context_menu_disabled_get(const Evas_Object *o * * @see @ref entry-items */ -EAPI void elm_entry_item_provider_append(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data); +EAPI void elm_entry_item_provider_append(Evas_Object *obj, Elm_Entry_Item_Provider_Cb func, void *data); /** * This prepends a custom item provider to the list for that entry @@ -935,7 +952,7 @@ EAPI void elm_entry_item_provider_append(Evas_Object *obj, Evas_Ob * @param func The function called to provide the item object * @param data The data passed to @p func */ -EAPI void elm_entry_item_provider_prepend(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data); +EAPI void elm_entry_item_provider_prepend(Evas_Object *obj, Elm_Entry_Item_Provider_Cb func, void *data); /** * This removes a custom item provider to the list for that entry @@ -947,7 +964,7 @@ EAPI void elm_entry_item_provider_prepend(Evas_Object *obj, Evas_O * @param func The function called to provide the item object * @param data The data passed to @p func */ -EAPI void elm_entry_item_provider_remove(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data); +EAPI void elm_entry_item_provider_remove(Evas_Object *obj, Elm_Entry_Item_Provider_Cb func, void *data); /** * Append a markup filter function for text inserted in the entry -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoin
Re: [E-devel] elm_entry patch : typedef Elm_Entry_Item_Provider_Cb
On Wed, 7 Mar 2012 01:01:18 +0100 Jérémy Zurcher wrote: > this improves readability and helps for ruby binding maintenance > > hope the doc is good enough though. > > Jérémy ughh how did a non-typedef function pointer make it into the api? huge spankies to whoever committed that. patch looks good except that you left out @return for the typedef docs - easily added by whoever commits, no need for you to send another patch. I'll wait for Tom to review+commit though since entry is his baby. -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] elm function pointers as args
Currently, a number of elm APIs are in violation of EFL coding standards for various reasons. I have outlined the reason for each function; owners/maintainers of the APIs in question should provide fixes immediately. For using non-typedef function pointers as arguments: elm_calendar.h:EAPI void elm_calendar_format_function_set(Evas_Object *obj, char *(*format_function)(struct tm *stime)); elm_slider.h:EAPI void elm_slider_indicator_format_function_set(Evas_Object *obj, const char *(*func)(double val), void (*free_func)(const char *str)); elm_slider.h:EAPI void elm_slider_units_format_function_set(Evas_Object *obj, const char *(*func)(double val), void (*free_func)(const char *str)); These three have a patch submitted to e-devel which provides a typedef (they can be ignored): elm_entry.h:EAPI void elm_entry_item_provider_append(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data); elm_entry.h:EAPI void elm_entry_item_provider_prepend(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data); elm_entry.h:EAPI void elm_entry_item_provider_remove(Evas_Object *obj, Evas_Object * (*func)(void *data, Evas_Object * entry, const char *item), void *data); This one is a total disaster: els_scroller.h:void elm_smart_scroller_extern_pan_set(Evas_Object *obj, Evas_Object *pan, void (*pan_set)(Evas_Object *obj, Evas_Coord x, Evas_Coord y), void (*pan_get)(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y), void (*pan_max_get)(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y), void (*pan_min_get)(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y), void (*pan_child_size_get)(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y)); The following APIs have misnamed function pointer typedefs (Function_Type_Cb is correct, anything else is not): elm_map.h:typedef Evas_Object *(*Elm_Map_Marker_Get_Func)(Evas_Object *obj, Elm_Map_Marker *marker, void *data); /**< Bubble content fetching class function for marker classes. elm_map.h:typedef void (*Elm_Map_Marker_Del_Func)(Evas_Object *obj, Elm_Map_Marker *marker, void *data, Evas_Object *o); /**< Function to delete bubble content for marker classes. */ elm_map.h:typedef Evas_Object *(*Elm_Map_Marker_Icon_Get_Func)(Evas_Object *obj, Elm_Map_Marker *marker, void *data); /**< Icon fetching class function for marker classes. */ elm_map.h:typedef Evas_Object *(*Elm_Map_Group_Icon_Get_Func)(Evas_Object *obj, void *data); /**< Icon fetching class function for markers group classes. */ elm_map.h:typedef char *(*Elm_Map_Module_Source_Func)(void); elm_map.h:typedef int (*Elm_Map_Module_Zoom_Min_Func)(void); elm_map.h:typedef int (*Elm_Map_Module_Zoom_Max_Func)(void); elm_map.h:typedef char *(*Elm_Map_Module_Url_Func)(Evas_Object *obj, int x, int y, int zoom); elm_map.h:typedef int (*Elm_Map_Module_Route_Source_Func)(void); elm_map.h:typedef char *(*Elm_Map_Module_Route_Url_Func)(Evas_Object *obj, char *type_name, int method, double flon, double flat, double tlon, double tlat); elm_map.h:typedef char *(*Elm_Map_Module_Name_Url_Func)(Evas_Object *obj, int method, char *name, double lon, double lat); elm_map.h:typedef Eina_Bool (*Elm_Map_Module_Geo_Into_Coord_Func)(const Evas_Object *obj, int zoom, double lon, double lat, int size, int *x, int *y); elm_map.h:typedef Eina_Bool (*Elm_Map_Module_Coord_Into_Geo_Func)(const Evas_Object *obj, int zoom, int x, int y, int size, double *lon, double *lat); elm_slideshow.h:typedef Evas_Object *(*SlideshowItemGetFunc)(void *data, Evas_Object *obj); /**< Image fetching class function for slideshow item classes. */ elm_slideshow.h:typedef void (*SlideshowItemDelFunc)(void *data, Evas_Object *obj); /**< Deletion class function for slideshow item classes. */ elm_web.h:typedef Evas_Object *(*Elm_Web_Window_Open)(void *data, Evas_Object *obj, Eina_Bool js, const Elm_Web_Window_Features *window_features); elm_web.h:typedef Evas_Object *(*Elm_Web_Dialog_Alert)(void *data, Evas_Object *obj, const char *message); elm_web.h:typedef Evas_Object *(*Elm_Web_Dialog_Confirm)(void *data, Evas_Object *obj, const char *message, Eina_Bool *ret); elm_web.h:typedef Evas_Object *(*Elm_Web_Dialog_Prompt)(void *data, Evas_Object *obj, const char *message, const char *def_value, char **value, Eina_Bool *ret); elm_web.h:typedef Evas_Object *(*Elm_Web_Dialog_File_Selector)(void *data, Evas_Object *obj, Eina_Bool allows_multiple, Eina_List *accept_types, Eina_List **selected, Eina_Bool *ret); elm_web.h:typedef void (*Elm_Web_Console_Message)(void *data, Evas_Object *obj, const char *message, uns
Re: [E-devel] efl api freeze 7th of march
API freeze on March 7 and 1.0 release in the middle of March. It depends on how many bug fixes we have. On Mar 7, 2012 8:34 AM, "Michael Blumenkrantz" < michael.blumenkra...@gmail.com> wrote: > On Wed, 07 Mar 2012 01:19:33 +0200 > Tom Hacohen wrote: > > > On 06/03/12 23:22, Vincent Torri wrote: > > > what about doing some advertising on phoronix ? (there is a thread > > > there about QT being released in 2 weeks). It would also be a good > > > opportunity to recall that the EFL are used in Tizen > > > > Great idea! Do we have a release date yet? If not, lets maybe just > > announce about the freeze. > > > > Maybe a good place to announce the freeze first would be > > enlightenment.org though :) > > > > -- > > Tom. > > > > I heard the release date was the 8th. > > > -- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: xhell IN trunk/elementary/src: bin lib
thanks for your job but can you add deprecated apis into elm_deprecated.h? then we can keep history of deprecated apis and jiyoun will work on fixing trunk based on that. On Mar 7, 2012 8:56 AM, "Enlightenment SVN" wrote: > Log: > elementary/elm_photocam: change api name and add 'do_gesture' variable > > Author: xhell > Date: 2012-03-06 15:56:02 -0800 (Tue, 06 Mar 2012) > New Revision: 68859 > Trac: http://trac.enlightenment.org/e/changeset/68859 > > Modified: > trunk/elementary/src/bin/test_photocam.c > trunk/elementary/src/lib/elm_photocam.c > trunk/elementary/src/lib/elm_photocam.h > > Modified: trunk/elementary/src/bin/test_photocam.c > === > --- trunk/elementary/src/bin/test_photocam.c2012-03-06 23:52:09 UTC > (rev 68858) > +++ trunk/elementary/src/bin/test_photocam.c2012-03-06 23:56:02 UTC > (rev 68859) > @@ -176,7 +176,7 @@ > static void > my_bt_gesture(void *data, Evas_Object *obj __UNUSED__, void *event_info > __UNUSED__) > { > - elm_photocam_gesture_set(data, !elm_photocam_gesture_get(data)); > + elm_photocam_gesture_enabled_set(data, > !elm_photocam_gesture_enabled_get(data)); > } > > static void > > Modified: trunk/elementary/src/lib/elm_photocam.c > === > --- trunk/elementary/src/lib/elm_photocam.c 2012-03-06 23:52:09 UTC > (rev 68858) > +++ trunk/elementary/src/lib/elm_photocam.c 2012-03-06 23:56:02 UTC > (rev 68859) > @@ -98,6 +98,7 @@ >Eina_Bool on_hold : 1; >Eina_Bool paused : 1; >Eina_Bool do_region : 1; > + Eina_Bool do_gesture : 1; >Eina_Bool zoom_gest : 1; > }; > > @@ -1925,12 +1926,12 @@ > } > > EAPI void > -elm_photocam_gesture_set(Evas_Object *obj, Eina_Bool gesture) > +elm_photocam_gesture_enabled_set(Evas_Object *obj, Eina_Bool gesture) > { >ELM_CHECK_WIDTYPE(obj, widtype); >Widget_Data *wd = elm_widget_data_get(obj); >if (!wd) return; > - if ((wd->gest && !!gesture) || (!wd->gest && !gesture)) return; > + if (wd->do_gesture == !!gesture) return; > >if (wd->gest) > { > @@ -1941,6 +1942,7 @@ >if (gesture) > { > wd->gest = elm_gesture_layer_add(wd->obj); > +if (!wd->gest) return; > elm_gesture_layer_attach(wd->gest, wd->obj); > elm_gesture_layer_cb_set(wd->gest, ELM_GESTURE_ZOOM, > ELM_GESTURE_STATE_START, > _gzoom_start, wd); > @@ -1951,16 +1953,16 @@ > elm_gesture_layer_cb_set(wd->gest, ELM_GESTURE_ZOOM, > ELM_GESTURE_STATE_ABORT, > _gzoom_end, wd); > } > + > + wd->do_gesture = !!gesture; > } > > EAPI Eina_Bool > -elm_photocam_gesture_get(const Evas_Object *obj) > +elm_photocam_gesture_enabled_get(const Evas_Object *obj) > { >ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE; >Widget_Data *wd = elm_widget_data_get(obj); >if (!wd) return EINA_FALSE; > > - if (wd->gest) > - return EINA_TRUE; > - return EINA_FALSE; > + return wd->do_gesture; > } > > Modified: trunk/elementary/src/lib/elm_photocam.h > === > --- trunk/elementary/src/lib/elm_photocam.h 2012-03-06 23:52:09 UTC > (rev 68858) > +++ trunk/elementary/src/lib/elm_photocam.h 2012-03-06 23:56:02 UTC > (rev 68859) > @@ -263,7 +263,7 @@ > * This sets the gesture state to on(EINA_TRUE) or off (EINA_FALSE) for > * photocam. The default is off. This will start multi touch zooming. > */ > -EAPI void elm_photocam_gesture_set(Evas_Object *obj, > Eina_Bool gesture); > +EAPI void elm_photocam_gesture_enabled_set(Evas_Object > *obj, Eina_Bool gesture); > > /** > * @brief Get the gesture state for photocam. > @@ -273,9 +273,9 @@ > * > * This gets the current gesture state for the photocam object. > * > - * @see elm_photocam_gesture_set() > + * @see elm_photocam_gesture_enabled_set() > */ > -EAPI Eina_Bool elm_photocam_gesture_get(const Evas_Object > *obj); > +EAPI Eina_Bool elm_photocam_gesture_enabled_get(const > Evas_Object *obj); > /** > * @} > */ > > > > -- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ___ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses
[E-devel] [Patch] Ecore, Elementary: Supporting indicator opacity mode
Dear All, This is Myoungwoon Roy Kim. This patches are for supporting the indicator's opacity mode and made by Jeonhoon Park(jh1979.p...@samsung.com) who is responsible for Indicator application. Requirements: - In mobile device, Indicator area should be displayed as Opacity, Transparency, or sometimes Translucency according to the UX requirements. This requirement can be applied in case of fullscreen based menu and fullscreen applications like video player etc. Functional requirements: 1. User can set indicator's opacity mode as opacity, transparency, and translucency 2. User can get the current indicator's opacity mode. Currently there are no APIs for supporting the upper functional requirements. Thus, he added support for indicator's opacity mode. It is designed for EFL developers easily to set the indicator's opacity like the existing indicator's mode. He added a Elm_Win_Indicator_Opacity_Mode structure variable into Elm_Win structure. Meanwhile, new two APIs are implemented independently from the existing source code. Anybody please review this and apply it to upstream code. Thanks. Best regards, Roy. = Myoung-Woon Roy Kim Next-Generation Computing Lab. Software Center Digital Media & Communications Business SAMSUNG ELECTRONICS CO., LTD anycall: +82-10-9530-0295 fax: +82-31-279-5521 e-mail : myoungwoon@samsung.com "Be myself!" = Index: src/lib/elm_win.c === --- src/lib/elm_win.c (revision 68780) +++ src/lib/elm_win.c (working copy) @@ -19,6 +19,7 @@ Elm_Win_Type type; Elm_Win_Keyboard_Mode kbdmode; Elm_Win_Indicator_Mode indmode; + Elm_Win_Indicator_Opacity_Mode ind_o_mode; struct { const char *info; Ecore_Timer *timer; @@ -2830,6 +2831,43 @@ } EAPI void +elm_win_indicator_opacity_set(Evas_Object *obj, Elm_Win_Indicator_Opacity_Mode mode) +{ + Elm_Win *win; + ELM_CHECK_WIDTYPE(obj, widtype); + win = elm_widget_data_get(obj); + if (!win) return; + if (mode == win->ind_o_mode) return; + win->ind_o_mode = mode; +#ifdef HAVE_ELEMENTARY_X + _elm_win_xwindow_get(win); + if (win->xwin) + { +if (win->ind_o_mode == ELM_WIN_INDICATOR_OPAQUE) + ecore_x_e_illume_indicator_opacity_set + (win->xwin, ECORE_X_ILLUME_INDICATOR_OPAQUE); +else if (win->ind_o_mode == ELM_WIN_INDICATOR_TRANSLUCENT) + ecore_x_e_illume_indicator_opacity_set + (win->xwin, ECORE_X_ILLUME_INDICATOR_TRANSLUCENT); +else if (win->ind_o_mode == ELM_WIN_INDICATOR_TRANSPARENT) + ecore_x_e_illume_indicator_opacity_set + (win->xwin, ECORE_X_ILLUME_INDICATOR_TRANSPARENT); + + } +#endif +} + +EAPI Elm_Win_Indicator_Opacity_Mode +elm_win_indicator_opacity_get(const Evas_Object *obj) +{ + Elm_Win *win; + ELM_CHECK_WIDTYPE(obj, widtype) ELM_WIN_INDICATOR_OPACITY_UNKNOWN; + win = elm_widget_data_get(obj); + if (!win) return ELM_WIN_INDICATOR_OPACITY_UNKNOWN; + return win->ind_o_mode; +} + +EAPI void elm_win_screen_position_get(const Evas_Object *obj, int *x, int *y) { Elm_Win *win; Index: src/lib/elm_win.h === --- src/lib/elm_win.h (revision 68780) +++ src/lib/elm_win.h (working copy) @@ -193,6 +193,18 @@ } Elm_Win_Indicator_Mode; /** + * Defines the opacity modes of indicator that can be shown + */ + +typedef enum +{ + ELM_WIN_INDICATOR_OPACITY_UNKNOWN, /**< Unknown indicator opacity mode */ + ELM_WIN_INDICATOR_OPAQUE, /**< Opacifies the indicator */ + ELM_WIN_INDICATOR_TRANSLUCENT, /**< Be translucent the indicator */ + ELM_WIN_INDICATOR_TRANSPARENT /**< Transparentizes the indicator */ +} Elm_Win_Indicator_Opacity_Mode; + +/** * Available commands that can be sent to the Illume manager. * * When running under an Illume session, a window may send commands to the @@ -1023,6 +1035,22 @@ EAPI Elm_Win_Indicator_Mode elm_win_indicator_mode_get(const Evas_Object *obj); /** + * Sets the indicator opacity mode of the window. + * + * @param obj The window object + * @param mode The mode to set, one of #Elm_Win_Indicator_Opacity_Mode + */ +EAPI void elm_win_indicator_opacity_set(Evas_Object *obj, Elm_Win_Indicator_Opacity_Mode mode); + +/** + * Gets the indicator opacity mode of the window. + * + * @param obj The window object + * @return The mode, one of #Elm_Win_Indicator_Opacity_Mode + */ +EAPI Elm_Win_Indicator_Opacity_Mode elm_win_indicator_opacity_get(const Evas_Object *obj); + +/** * Get the screen position of a window. * * @param obj The window object Index: src/lib/ecore_x/ecore_x_atoms_decl.h === --- src/lib/ecore_x/ecore_x_atoms_decl.h (revision 68780) +++ src/lib/ecore_x/ecore_x_atoms_decl.h (working copy) @@ -267,6 +267,10 @@ EAPI Ecore_X_Atom ECORE_X_ATOM_E_ILLUME_INDICATOR_STATE
Re: [E-devel] E SVN: acidx trunk/PROTO/elev8/src/bin
On Tue, Mar 6, 2012 at 6:36 PM, Gustavo Sverzut Barbieri wrote: > did you understand what I mean? you provide JS values for file, > function and line to eina_log_print(). I do. I'll see how to get a stack trace as well, this might help. -- Leandro -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] efl api freeze 7th of march
Hi On Wed, Mar 7, 2012 at 1:37 AM, P Purkayastha wrote: > Can I put bug reports for elm based on or observed during running shotgun? I'm not sure that's normal in this project but it'll be good if you can report them based on applications in trunk. But it's ok for me, I'm a huge fan of shotgun and I use it in my daily life. Thanks. Daniel Juyung Seo (SeoZ) > > On Wednesday, March 7, 2012 12:09:52 AM UTC+8, Daniel Juyung Seo wrote: >> >> For those who run and test EFL core + elementary libraries, please >> feel free to create a new ticket on tract if you have any problems. >> http://trac.enlightenment.org/e/newticket >> http://trac.enlightenment.org/e/report >> >> Ticket is welcomed even after api freeze on March 7. >> But the problem is that trac is super slow :( >> >> Thanks. >> >> Daniel Juyung Seo (SeoZ) >> >> On Tue, Mar 6, 2012 at 11:53 AM, Carsten Haitzler >> wrote: >> > just so everyone knows... march 7 is the last day to get in any changes >> that >> > will affect api in EFL or elementary, eio, and emotion. all changes after >> > that until release are "bug fixes" only. >> > >> > -- >> > - Codito, ergo sum - "I code, therefore I am" -- >> > The Rasterman (Carsten Haitzler) ras...@rasterman.com >> > >> > >> > >> -- >> > Keep Your Developer Skills Current with LearnDevNow! >> > The most comprehensive online learning library for Microsoft developers >> > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> > Metro Style Apps, more. Free future releases when you subscribe now! >> > http://p.sf.net/sfu/learndevnow-d2d >> > ___ >> > enlightenment-devel mailing list >> > enlightenment-devel@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> >> >> -- >> Keep Your Developer Skills Current with LearnDevNow! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-d2d >> ___ >> enlightenment-devel mailing list >> enlightenment-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel >> > > -- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: sanjeev trunk/elementary/src/lib
On Tue, 6 Mar 2012 18:57:36 -0800 "Enlightenment SVN" wrote: > Log: > Fix elm_multibuttonentry API to have callbacks. For now we only have the API > format fixed. This code needs lot more refactoring after discussing with the > widget author. So, we will address the implementation later. Signed-off-by: > Sanjeev BA > > Author: sanjeev > Date: 2012-03-06 18:57:36 -0800 (Tue, 06 Mar 2012) > New Revision: 68866 > Trac: http://trac.enlightenment.org/e/changeset/68866 > > Modified: > trunk/elementary/src/lib/elc_multibuttonentry.c > trunk/elementary/src/lib/elc_multibuttonentry.h > > Modified: trunk/elementary/src/lib/elc_multibuttonentry.c > === > --- trunk/elementary/src/lib/elc_multibuttonentry.c 2012-03-07 > 02:20:58 UTC (rev 68865) +++ > trunk/elementary/src/lib/elc_multibuttonentry.c 2012-03-07 02:57:36 > UTC (rev 68866) @@ -10,16 +10,15 @@ MULTIBUTTONENTRY_POS_END, > MULTIBUTTONENTRY_POS_BEFORE, > MULTIBUTTONENTRY_POS_AFTER, > - MULTIBUTTONENTRY_POS_NUM >} Multibuttonentry_Pos; > > typedef enum _Multibuttonentry_Button_State >{ > MULTIBUTTONENTRY_BUTTON_STATE_DEFAULT, > MULTIBUTTONENTRY_BUTTON_STATE_SELECTED, > - MULTIBUTTONENTRY_BUTTON_STATE_NUM >} Multibuttonentry_Button_State; > > + > typedef enum _MultiButtonEntry_Closed_Button_Type >{ > MULTIBUTTONENTRY_CLOSED_IMAGE, > @@ -43,6 +42,7 @@ > Evas_Object *button; > Evas_Coord vw, rw; // vw: visual width, real width > Eina_Bool visible: 1; > + Evas_Smart_Cb func; >}; > > typedef struct _Elm_Multibuttonentry_Item_Filter > @@ -98,7 +98,7 @@ > static void _del_button_obj(Evas_Object *obj, Evas_Object *btn); > static void _del_button_item(Elm_Multibuttonentry_Item *item); > static void _select_button(Evas_Object *obj, Evas_Object *btn); > -static Elm_Object_Item *_add_button_item(Evas_Object *obj, const char *str, > Multibuttonentry_Pos pos, const void *ref, void *data); +static > Elm_Object_Item *_add_button_item(Evas_Object *obj, const char *str, > Multibuttonentry_Pos pos, const void *ref, Evas_Smart_Cb func, void *data); > static void _evas_mbe_key_up_cb(void *data, Evas *e, Evas_Object *obj, void > *event_info); static void _entry_changed_cb(void *data, Evas_Object *obj, > void *event_info); static void _entry_key_up_cb(void *data, Evas *e, > Evas_Object *obj, void *event_info); @@ -791,7 +791,7 @@ } > static Elm_Object_Item* > -_add_button_item(Evas_Object *obj, const char *str, Multibuttonentry_Pos > pos, const void *ref, void *data) +_add_button_item(Evas_Object *obj, const > char *str, Multibuttonentry_Pos pos, const void *ref, Evas_Smart_Cb func, > void *data) { Elm_Multibuttonentry_Item *item; > Elm_Multibuttonentry_Item_Filter *item_filter; > @@ -843,6 +843,11 @@ > item->vw = vw; > item->visible = EINA_TRUE; > > +if (func) > + { > + item->func = func; > + } > + not that it needs to be changed, but this if() is unnecessary -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][elementary_test] test_icon
Thanks for your response. I have revised previous patch. Please review the patch and give any feedbacks. Sincerely, Shinwoo Kim. 2012년 3월 6일 오후 7:37, ChunEon Park 님의 말: > I changed. Thank you. > > -Regards, Hermet- > > -Original Message- > From: "cnook"> To: "EFL" > Cc: > Sent: 12-03-06(화) 18:37:17 > Subject: Re: [E-devel] [Patch][elementary_test] test_icon > Please ignore the patch. > elm_icon_preload_set() is weird.. > elm_icon_pleload_set() should be elm_icon_preload_disable_se() > I > 2012/3/6 cnook : >> I have refined the previous patch again. The patch is for test_icon >> and test_image. Thanks. >> >> Sincerely, >> Shinwoo Kim. >> >> 2012/3/6 cnook : >>> Sorry, The modification of test.c was omitted. I have refined previous >>> path and attached. >>> Please give any feedbacks. Thanks. >>> >>> Sincerely, >>> Shinwoo Kim. >>> >>> >>> 2012/3/6 cnook : Dear All, Hello. I have attached a patch for test_icon. please review the patch and give any feedbacks. Thanks. Sincerely, Shinwoo Kim. > -- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel test.icon.image.diff.2 Description: Binary data -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] efl api freeze 7th of march
On Tue, 6 Mar 2012 08:37:36 -0800 (PST) P Purkayastha wrote: > Can I put bug reports for elm based on or observed during running shotgun? > > On Wednesday, March 7, 2012 12:09:52 AM UTC+8, Daniel Juyung Seo wrote: > > > > For those who run and test EFL core + elementary libraries, please > > feel free to create a new ticket on tract if you have any problems. > > http://trac.enlightenment.org/e/newticket > > http://trac.enlightenment.org/e/report > > > > Ticket is welcomed even after api freeze on March 7. > > But the problem is that trac is super slow :( > > > > Thanks. > > > > Daniel Juyung Seo (SeoZ) > > > > On Tue, Mar 6, 2012 at 11:53 AM, Carsten Haitzler > > wrote: > > > just so everyone knows... march 7 is the last day to get in any changes > > that > > > will affect api in EFL or elementary, eio, and emotion. all changes after > > > that until release are "bug fixes" only. > > > > > > -- > > > - Codito, ergo sum - "I code, therefore I am" -- > > > The Rasterman (Carsten Haitzler)ras...@rasterman.com > > > > > > > > > Since it's not an official E project, I'd prefer if you reported bugs in the irc channel first and then followed up here on the list after it's been confirmed to be an elm bug. -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [Patch][Eina] eina_file_win32
Dear All, Hello. eina_lock_release() should be called before return. simple. Sincerely, Shinwoo Kim. Index: src/lib/eina_file_win32.c === --- src/lib/eina_file_win32.c (revision 68866) +++ src/lib/eina_file_win32.c (working copy) @@ -1097,6 +1097,7 @@ eina_file_map_new(Eina_File *file, Eina_File_Popul if (map->map == MAP_FAILED) { free(map); + eina_lock_release(&file->lock); return NULL; } -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [Patch][Elementary] elm_image
Dear All, Hello. There was no API for preload cancel. simple Sincerely, Shinwoo Kim. Index: src/lib/elm_image.h === --- src/lib/elm_image.h (revision 68862) +++ src/lib/elm_image.h (working copy) @@ -238,6 +238,15 @@ EAPI void elm_image_fill_outside_set(E EAPI Eina_Boolelm_image_fill_outside_get(const Evas_Object *obj); /** + * Enable or disable preloading of the image + * + * @param obj The image object + * @param disable If EINA_TRUE, preloading will be disabled + * @ingroup Icon + */ +EAPI void elm_image_preload_disabled_set(Evas_Object *obj, Eina_Bool disable); + +/** * Set the prescale size for the image * * @param obj The image object Index: src/lib/elm_image.c === --- src/lib/elm_image.c (revision 68862) +++ src/lib/elm_image.c (working copy) @@ -267,6 +267,16 @@ elm_image_fill_outside_get(const Evas_Object *obj) } EAPI void +elm_image_preload_disabled_set(Evas_Object *obj, Eina_Bool disable) +{ + ELM_CHECK_WIDTYPE(obj, widtype); + Widget_Data *wd = elm_widget_data_get(obj); + + if (!wd) return; + _els_smart_icon_preload_set(wd->img, disable); +} + +EAPI void elm_image_prescale_set(Evas_Object *obj, int size) { ELM_CHECK_WIDTYPE(obj, widtype); -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [patch] elm_gen{list, grid} - add elm_genlist_select_mode_set
Dear all 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. Thanks -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [patch] elm_gen{list, grid} - add elm_genlist_select_mode_set
Oops i missed attachment. sorry. On Wed, Mar 7, 2012 at 1:36 PM, Hyoyoung Chang wrote: > Dear all > > 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. > Thanks Index: elementary/src/lib/elm_genlist.c === --- elementary/src/lib/elm_genlist.c(리비전 68866) +++ elementary/src/lib/elm_genlist.c(작업 사본) @@ -679,7 +679,8 @@ _item_highlight(Elm_Gen_Item *it) { const char *selectraise; - if ((it->wd->no_select) || (it->generation < it->wd->generation) || + if ((it->wd->select_mode == ELM_OBJECT_NO_SELECT) || + (it->generation < it->wd->generation) || (it->highlighted) || elm_widget_item_disabled_get(it) || (it->display_only) || (it->item->mode_view)) return; @@ -3466,13 +3467,15 @@ void _item_select(Elm_Gen_Item *it) { - if ((it->wd->no_select) || (it->generation < it->wd->generation) || (it->mode_set)) return; + if ((it->generation < it->wd->generation) || (it->mode_set) || + (it->wd->select_mode == ELM_OBJECT_NO_SELECT)) + return; if (!it->selected) { it->selected = EINA_TRUE; it->wd->selected = eina_list_append(it->wd->selected, it); } - else if (!it->wd->always_select) return; + else if (it->wd->select_mode == ELM_OBJECT_ALWAYS_SELECT) return; evas_object_ref(WIDGET(it)); it->walking++; @@ -5215,42 +5218,64 @@ return wd->mode; } -EAPI void +EINA_DEPRECATED EAPI void elm_genlist_always_select_mode_set(Evas_Object *obj, Eina_Boolalways_select) { ELM_CHECK_WIDTYPE(obj, widtype); Widget_Data *wd = elm_widget_data_get(obj); if (!wd) return; - wd->always_select = !!always_select; + if (always_select) + elm_genlist_select_mode_set(obj, ELM_OBJECT_ALWAYS_SELECT); + else + { +Elm_Object_Select_Mode_Type oldmode = elm_genlist_select_mode_get(obj); +if (oldmode == ELM_OBJECT_ALWAYS_SELECT) + elm_genlist_select_mode_set(obj, ELM_OBJECT_NORMAL_SELECT); + } } -EAPI Eina_Bool +EINA_DEPRECATED EAPI Eina_Bool elm_genlist_always_select_mode_get(const Evas_Object *obj) { ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE; Widget_Data *wd = elm_widget_data_get(obj); if (!wd) return EINA_FALSE; - return wd->always_select; + Elm_Object_Select_Mode_Type oldmode = elm_genlist_select_mode_get(obj); + if (oldmode == ELM_OBJECT_ALWAYS_SELECT) + return EINA_TRUE; + else + return EINA_FALSE; } -EAPI void +EINA_DEPRECATED EAPI void elm_genlist_no_select_mode_set(Evas_Object *obj, Eina_Boolno_select) { ELM_CHECK_WIDTYPE(obj, widtype); Widget_Data *wd = elm_widget_data_get(obj); if (!wd) return; - wd->no_select = !!no_select; + if (no_select) + elm_genlist_select_mode_set(obj, ELM_OBJECT_NO_SELECT); + else + { +Elm_Object_Select_Mode_Type oldmode = elm_genlist_select_mode_get(obj); +if (oldmode == ELM_OBJECT_NO_SELECT) + elm_genlist_select_mode_set(obj, ELM_OBJECT_NORMAL_SELECT); + } } -EAPI Eina_Bool +EINA_DEPRECATED EAPI Eina_Bool elm_genlist_no_select_mode_get(const Evas_Object *obj) { ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE; Widget_Data *wd = elm_widget_data_get(obj); if (!wd) return EINA_FALSE; - return wd->no_select; + Elm_Object_Select_Mode_Type oldmode = elm_genlist_select_mode_get(obj); + if (oldmode == ELM_OBJECT_NO_SELECT) + return EINA_TRUE; + else + return EINA_FALSE; } EAPI void @@ -5663,6 +5688,27 @@ return _it->flipped; } +EAPI void +elm_genlist_select_mode_set(Evas_Object *obj, Elm_Object_Select_Mode_Type mode) +{ + ELM_CHECK_WIDTYPE(obj, widtype); + Widget_Data *wd = elm_widget_data_get(obj); + if (!wd) return; + if (mode >= ELM_OBJECT_SELECT_MODE_MAX) + return; + if (wd->select_mode != mode) + wd->select_mode = mode; +} + +EAPI Elm_Object_Select_Mode_Type +elm_genlist_select_mode_get(const Evas_Object *obj) +{ + ELM_CHECK_WIDTYPE(obj, widtype) ELM_OBJECT_SELECT_MODE_MAX; + Widget_Data *wd = elm_widget_data_get(obj); + if (!wd) return ELM_OBJECT_SELECT_MODE_MAX; + return wd->select_mode; +} + /* for gengrid as of now */ void _elm_genlist_page_relative_set(Evas_Object *obj, Index:
[E-devel] [patch] elm_toolbar - add elm_toolbar_select_mode_set
Dear all, As already sent genlist select_mode_set patch, I applied same apis to elm_toolbar. +EAPI void +elm_toolbar_select_mode_set(Evas_Object *obj, Elm_Object_Select_Mode_Type mode) +EAPI Elm_Object_Select_Mode_Type +elm_toolbar_select_mode_get(const Evas_Object *obj) Thanks From a142aa78adb517040eda911e4ade5c9626bb5bf0 Mon Sep 17 00:00:00 2001 From: Hyoyoung Chang Date: Wed, 7 Mar 2012 13:51:13 +0900 Subject: [PATCH] add select_mode in toolbar --- src/bin/test_toolbar.c |2 +- src/lib/elm_deprecated.h | 64 + src/lib/elm_toolbar.c| 79 --- src/lib/elm_toolbar.h| 102 +- 4 files changed, 166 insertions(+), 81 deletions(-) diff --git a/src/bin/test_toolbar.c b/src/bin/test_toolbar.c index 9107eb0..2b91fdb 100644 --- a/src/bin/test_toolbar.c +++ b/src/bin/test_toolbar.c @@ -529,7 +529,7 @@ test_toolbar5(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in elm_toolbar_shrink_mode_set(tb, ELM_TOOLBAR_SHRINK_MENU); evas_object_size_hint_weight_set(tb, 0.0, 0.0); evas_object_size_hint_align_set(tb, EVAS_HINT_FILL, 0.0); - elm_toolbar_no_select_mode_set(tb, EINA_TRUE); + elm_toolbar_select_mode_set(tb, ELM_OBJECT_NO_SELECT); ph1 = elm_photo_add(win); ph2 = elm_photo_add(win); diff --git a/src/lib/elm_deprecated.h b/src/lib/elm_deprecated.h index baeec26..d20217d 100644 --- a/src/lib/elm_deprecated.h +++ b/src/lib/elm_deprecated.h @@ -5167,5 +5167,69 @@ EINA_DEPRECATED EAPI void elm_gengrid_no_select_mode_se EINA_DEPRECATED EAPI Eina_Bool elm_gengrid_no_select_mode_get(const Evas_Object *obj); /** + * Set whether the toolbar should always have an item selected. + * + * @param obj The toolbar object. + * @param always_select @c EINA_TRUE to enable always-select mode or @c EINA_FALSE to + * disable it. + * + * This will cause the toolbar to always have an item selected, and clicking + * the selected item will not cause a selected event to be emitted. Enabling this mode + * will immediately select the first toolbar item. + * + * Always-selected is disabled by default. + * + * @see elm_toolbar_always_select_mode_get(). + * + * @ingroup Toolbar + */ +EINA_DEPRECATED EAPI void elm_toolbar_always_select_mode_set(Evas_Object *obj, Eina_Bool always_select); + +/** + * Get whether the toolbar should always have an item selected. + * + * @param obj The toolbar object. + * @return @c EINA_TRUE means an item will always be selected, @c EINA_FALSE indicates + * that it is possible to have no items selected. If @p obj is @c NULL, @c EINA_FALSE is returned. + * + * @see elm_toolbar_always_select_mode_set() for details. + * + * @ingroup Toolbar + */ +EINA_DEPRECATED EAPI Eina_Boolelm_toolbar_always_select_mode_get(const Evas_Object *obj); + +/** + * Set whether the toolbar items' should be selected by the user or not. + * + * @param obj The toolbar object. + * @param no_select @c EINA_TRUE to disable selection or @c EINA_FALSE to + * enable it. + * + * This will turn off the ability to select items entirely and they will + * neither appear selected nor emit selected signals. The clicked + * callback function will still be called. + * + * Selection is enabled by default. + * + * @see elm_toolbar_no_select_mode_get(). + * + * @ingroup Toolbar + */ +EINA_DEPRECATED EAPI void elm_toolbar_no_select_mode_set(Evas_Object *obj, Eina_Bool no_select); + +/** + * Set whether the toolbar items' should be selected by the user or not. + * + * @param obj The toolbar object. + * @return @c EINA_TRUE means items can be selected. @c EINA_FALSE indicates + * they can't. If @p obj is @c NULL, @c EINA_FALSE is returned. + * + * @see elm_toolbar_no_select_mode_set() for details. + * + * @ingroup Toolbar + */ +EINA_DEPRECATED EAPI Eina_Boolelm_toolbar_no_select_mode_get(const Evas_Object *obj); + +/** * @} */ diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c index 2ff143b..518311c 100644 --- a/src/lib/elm_toolbar.c +++ b/src/lib/elm_toolbar.c @@ -18,9 +18,8 @@ struct _Widget_Data int icon_size; unsigned int item_count; double align; + Elm_Object_Select_Mode_Type select_mode; Eina_Bool homogeneous : 1; - Eina_Bool no_select : 1; - Eina_Bool always_select : 1; Eina_Bool vertical : 1; Eina_Bool long_press : 1; Ecore_Timer *long_timer; @@ -174,11 +173,11 @@ _item_select(Elm_Toolbar_Item *it) if (elm_widget_item_disabled_get(it) || (it->separator) || (it->object)) return; sel = it->selected; - if (!wd->no_select) + if (wd->select_mode != ELM_OBJECT_NO_SELECT) { if (sel) { - if (wd->always_select) return; + if (wd->select_mode == ELM_OBJECT_ALWAYS_SELECT) return; _item_unselect(it); } else @@ -908,7 +907,8 @@ _
[E-devel] [patch] elm_gen{list, grid} - add no_highlight_mode_set/get
Dear all, After seperated select_mode, there'are some needs to manipulate highlight mode at item selecting. So i add a no_highlight_mode in elm_gen{list, grid}. +EAPI void +elm_genlist_no_highlight_mode_set(Evas_Object *obj, + Eina_Boolno_highlight); +EAPI Eina_Bool +elm_genlist_no_highlight_mode_get(const Evas_Object *obj); +EAPI void +elm_gengrid_no_highlight_mode_set(Evas_Object *obj, + Eina_Boolno_highlight); +EAPI Eina_Bool +elm_gengrid_no_highlight_mode_get(const Evas_Object *obj); Thanks. From f63ea71832d6749a36fc512d19b65a2a9a636cea Mon Sep 17 00:00:00 2001 From: Hyoyoung Chang Date: Wed, 7 Mar 2012 14:09:38 +0900 Subject: [PATCH] [gen{list,grid] add no_highlight_mode_set/get --- src/lib/elm_gen_common.h |1 + src/lib/elm_gengrid.c| 18 +- src/lib/elm_gengrid.h| 37 + src/lib/elm_genlist.c| 21 + src/lib/elm_genlist.h| 37 + 5 files changed, 113 insertions(+), 1 deletions(-) diff --git a/src/lib/elm_gen_common.h b/src/lib/elm_gen_common.h index a5d542e..ebee81e 100644 --- a/src/lib/elm_gen_common.h +++ b/src/lib/elm_gen_common.h @@ -106,6 +106,7 @@ struct _Widget_Data Eina_Bool on_hold : 1; Eina_Bool multi : 1; /**< a flag for item multi selection */ Eina_Bool wasselected : 1; + Eina_Bool no_highlight : 1; Eina_Bool clear_me : 1; /**< a flag whether genlist is marked as to be cleared or not. if this flag is true, genlist clear was already deferred. */ Eina_Bool h_bounce : 1; Eina_Bool v_bounce : 1; diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c index 3358b3b..feaa015 100644 --- a/src/lib/elm_gengrid.c +++ b/src/lib/elm_gengrid.c @@ -916,7 +916,9 @@ _mouse_up(void*data, static void _item_highlight(Elm_Gen_Item *it) { - if ((it->wd->select_mode == ELM_OBJECT_NO_SELECT) || (it->generation < it->wd->generation) || (it->highlighted)) return; + if ((it->wd->select_mode == ELM_OBJECT_NO_SELECT) || + (it->wd->no_highlight) || (it->highlighted) || + (it->generation < it->wd->generation)) return; edje_object_signal_emit(VIEW(it), "elm,state,selected", "elm"); it->highlighted = EINA_TRUE; } @@ -2847,3 +2849,17 @@ elm_gengrid_select_mode_get(const Evas_Object *obj) { return elm_genlist_select_mode_get(obj); } + +EAPI void +elm_gengrid_no_highlight_mode_set(Evas_Object *obj, + Eina_Boolno_highlight) +{ + elm_genlist_no_highlight_mode_set(obj, no_highlight); +} + +EAPI Eina_Bool +elm_gengrid_no_highlight_mode_get(const Evas_Object *obj) +{ + return elm_genlist_no_highlight_mode_get(obj); +} + diff --git a/src/lib/elm_gengrid.h b/src/lib/elm_gengrid.h index 7b25b56..ce59260 100644 --- a/src/lib/elm_gengrid.h +++ b/src/lib/elm_gengrid.h @@ -1454,5 +1454,42 @@ EAPI Elm_Object_Select_Mode_Type elm_gengrid_select_mode_get(const Evas_Object *obj); /** + * Set whether the gengrid items' should be highlighted when item selected. + * + * @param obj The gengrid object. + * @param no_highlight @c EINA_TRUE to disable highlight or @c EINA_FALSE to + * enable it. + * + * This will turn off the highlight effect when item selection and + * they will not highlighted. The selected and clicked + * callback functions will still be called. + * + * Highlight is enabled by default. + * + * @see elm_gengrid_no_highlight_mode_get(). + * + * @ingroup Gengrid + */ + +EAPI void +elm_gengrid_no_highlight_mode_set(Evas_Object *obj, + Eina_Boolno_highlight); + +/** + * Get whether the gengrid items' should be highlighted when item selected. + * + * @param obj The gengrid object. + * @return @c EINA_TRUE means items can be highlighted. @c EINA_FALSE indicates + * they can't. If @p obj is @c NULL, @c EINA_FALSE is returned. + * + * @see elm_gengrid_no_highlight_mode_set() for details. + * + * @ingroup Gengrid + */ + +EAPI Eina_Bool +elm_gengrid_no_highlight_mode_get(const Evas_Object *obj); + +/** * @} */ diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c index ae184a6..d56c6db 100644 --- a/src/lib/elm_genlist.c +++ b/src/lib/elm_genlist.c @@ -680,6 +680,7 @@ _item_highlight(Elm_Gen_Item *it) { const char *selectraise; if ((it->wd->select_mode == ELM_OBJECT_NO_SELECT) || + (it->wd->no_highlight) || (it->generation < it->wd->generation) || (it->highlighted) || elm_widget_item_disabled_get(it) || (it->display_only) || (it->item->mode_view)) @@ -5709,6 +5710,26 @@ elm_genlist_select_mode_get(const Evas_Object *obj) return wd->select_mode; } +EAPI void +elm_genlist_no_highlight_mode_set(Evas_Object *obj, + Eina_Boolno_highlight) +{
Re: [E-devel] elm function pointers as args
Elm_Map_Marker_XXX_Func() will be deprecated if my previous patch is in. But Elm_Map_Module_XXX_Func() are module interfaces for plug-in developers. In EFL, these are not necessary to be revealed in the header file? or these are moved to separated plug-in header for 3rd party plug-in developer? 2012/3/7 Michael Blumenkrantz : > Currently, a number of elm APIs are in violation of EFL coding standards for > various reasons. I have outlined the reason for each function; > owners/maintainers of the APIs in question should provide fixes immediately. > > > For using non-typedef function pointers as arguments: > elm_calendar.h:EAPI void elm_calendar_format_function_set(Evas_Object *obj, > char *(*format_function)(struct tm *stime)); > elm_slider.h:EAPI void elm_slider_indicator_format_function_set(Evas_Object > *obj, const char *(*func)(double val), void (*free_func)(const char *str)); > elm_slider.h:EAPI void elm_slider_units_format_function_set(Evas_Object > *obj, const char *(*func)(double val), void (*free_func)(const char *str)); > > These three have a patch submitted to e-devel which provides a typedef (they > can be ignored): > elm_entry.h:EAPI void > elm_entry_item_provider_append(Evas_Object *obj, Evas_Object * (*func)(void > *data, Evas_Object * entry, const char *item), void *data); > elm_entry.h:EAPI void > elm_entry_item_provider_prepend(Evas_Object *obj, Evas_Object * (*func)(void > *data, Evas_Object * entry, const char *item), void *data); > elm_entry.h:EAPI void > elm_entry_item_provider_remove(Evas_Object *obj, Evas_Object * (*func)(void > *data, Evas_Object * entry, const char *item), void *data); > > This one is a total disaster: > els_scroller.h:void elm_smart_scroller_extern_pan_set(Evas_Object > *obj, Evas_Object *pan, void (*pan_set)(Evas_Object *obj, Evas_Coord x, > Evas_Coord y), void (*pan_get)(Evas_Object *obj, Evas_Coord *x, Evas_Coord > *y), void (*pan_max_get)(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y), > void (*pan_min_get)(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y), void > (*pan_child_size_get)(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y)); > > > The following APIs have misnamed function pointer typedefs (Function_Type_Cb > is correct, anything else is not): > elm_map.h:typedef Evas_Object > *(*Elm_Map_Marker_Get_Func)(Evas_Object *obj, Elm_Map_Marker *marker, void > *data); /**< Bubble content fetching class function for marker classes. > elm_map.h:typedef void > (*Elm_Map_Marker_Del_Func)(Evas_Object *obj, Elm_Map_Marker *marker, void > *data, Evas_Object *o); /**< Function to delete bubble content for marker > classes. */ > elm_map.h:typedef Evas_Object > *(*Elm_Map_Marker_Icon_Get_Func)(Evas_Object *obj, Elm_Map_Marker *marker, > void *data); /**< Icon fetching class function for marker classes. */ > elm_map.h:typedef Evas_Object > *(*Elm_Map_Group_Icon_Get_Func)(Evas_Object *obj, void *data); /**< Icon > fetching class function for markers group classes. */ > elm_map.h:typedef char > *(*Elm_Map_Module_Source_Func)(void); > elm_map.h:typedef int > (*Elm_Map_Module_Zoom_Min_Func)(void); > elm_map.h:typedef int > (*Elm_Map_Module_Zoom_Max_Func)(void); > elm_map.h:typedef char > *(*Elm_Map_Module_Url_Func)(Evas_Object *obj, int x, int y, int zoom); > elm_map.h:typedef int > (*Elm_Map_Module_Route_Source_Func)(void); > elm_map.h:typedef char > *(*Elm_Map_Module_Route_Url_Func)(Evas_Object *obj, char *type_name, int > method, double flon, double flat, double tlon, double tlat); > elm_map.h:typedef char > *(*Elm_Map_Module_Name_Url_Func)(Evas_Object *obj, int method, char *name, > double lon, double lat); > elm_map.h:typedef Eina_Bool > (*Elm_Map_Module_Geo_Into_Coord_Func)(const Evas_Object *obj, int zoom, > double lon, double lat, int size, int *x, int *y); > elm_map.h:typedef Eina_Bool > (*Elm_Map_Module_Coord_Into_Geo_Func)(const Evas_Object *obj, int zoom, int > x, int y, int size, double *lon, double *lat); > elm_slideshow.h:typedef Evas_Object > *(*SlideshowItemGetFunc)(void *data, Evas_Object *obj); /**< Image fetching > class function for slideshow item classes. */ > elm_slideshow.h:typedef void > (*SlideshowItemDelFunc)(void *data, Evas_Object *obj); /**< Deletion class > function for slideshow item classes. */ > elm_web.h:typedef Evas_Object *(*Elm_Web_Window_Open)(void *data, Evas_Object > *obj, Eina_Bool js, const Elm_Web_Window_Features *window_features); > elm_web.h:typedef Evas_Object *(*Elm_Web_Dialog_Alert)(void *data, > Evas_Object *obj, const char *message); > elm_web.h:typedef Evas_Object *(*Elm_Web_Dialog_Confirm)(void *data, > Evas_Object *obj, co
Re: [E-devel] efl api freeze 7th of march
On Wednesday, March 7, 2012 11:07:00 AM UTC+8, Michael Blumenkrantz wrote: > > On Tue, 6 Mar 2012 08:37:36 -0800 (PST) > P Purkayastha wrote: > > > Can I put bug reports for elm based on or observed during running > shotgun? > > > > On Wednesday, March 7, 2012 12:09:52 AM UTC+8, Daniel Juyung Seo wrote: > > > > > > For those who run and test EFL core + elementary libraries, please > > > feel free to create a new ticket on tract if you have any problems. > > > http://trac.enlightenment.org/e/newticket > > > http://trac.enlightenment.org/e/report > Since it's not an official E project, I'd prefer if you reported bugs in > the irc > channel first and then followed up here on the list after it's been > confirmed > to be an elm bug. > Ok. Thanks for the clarification. -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [Patch][elementary_test] test_index
Dear All, Hello. I have attached patch for test_index. Please review the patch and give any feedbacks. Thanks. Sincerely, Shinwoo Kim. -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][elementary_test] test_index
Oops, The patch.. was kidnapped. :( 2012/3/7 cnook : > Dear All, Hello. > > I have attached patch for test_index. Please review the patch and give > any feedbacks. Thanks. > > Sincerely, > Shinwoo Kim. Index: src/bin/test_index.c === --- src/bin/test_index.c (revision 68862) +++ src/bin/test_index.c (working copy) @@ -26,6 +26,8 @@ enum _api_state INDEX_PREPEND, INDEX_ITEM_DEL, INDEX_ITEM_FIND, + INDEX_HORIZONTAL, + INDEX_INDICATOR_DISABLED, INDEX_CLEAR, API_STATE_LAST }; @@ -37,28 +39,33 @@ set_api_state(api_data *api) Idx_Data_Type *d = &api->dt; switch(api->state) { /* Put all api-changes under switch */ - case INDEX_LEVEL_SET: /* 0 */ + case INDEX_LEVEL_SET: elm_index_autohide_disabled_set(d->id, EINA_TRUE); elm_index_item_level_set(d->id, (elm_index_item_level_get(d->id) ? 0 : 1)); break; - case INDEX_ACTIVE_SET: /* 1 */ + case INDEX_ACTIVE_SET: elm_index_autohide_disabled_set(d->id, EINA_FALSE); break; - case INDEX_APPEND_RELATIVE: /* 2 */ - elm_index_item_insert_after(d->id, elm_index_item_find(d->id, d->item), "W", NULL, d->item); + case INDEX_APPEND_RELATIVE: + elm_index_item_insert_after(d->id, + elm_index_item_find(d->id, d->item), + "W", NULL, d->item); + elm_index_item_insert_before(d->id, + elm_index_item_find(d->id, d->item), + "V", NULL, d->item); break; - case INDEX_PREPEND: /* 3 */ + case INDEX_PREPEND: elm_index_item_prepend(d->id, "D", NULL, d->item); break; - case INDEX_ITEM_DEL: /* 4 */ + case INDEX_ITEM_DEL: elm_object_item_del(elm_index_item_find(d->id, d->item)); break; - case INDEX_ITEM_FIND: /* 5 */ + case INDEX_ITEM_FIND: { Elm_Object_Item *i = elm_index_item_find(d->id, d->item); if(i) @@ -69,7 +76,15 @@ set_api_state(api_data *api) } break; - case INDEX_CLEAR: /* 6 */ + case INDEX_HORIZONTAL: + elm_index_horizontal_set(d->id, EINA_TRUE); + break; + + case INDEX_INDICATOR_DISABLED: + elm_index_indicator_disabled_set(d->id, EINA_TRUE); + break; + + case INDEX_CLEAR: elm_index_item_clear(d->id); break; -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: seoz trunk/elementary/src/lib
On Tue, 6 Mar 2012 21:49:13 -0800 "Enlightenment SVN" wrote: > Log: > elm multibuttonentry: Updated document. I know this sucks this widget is > wrongly designed. > Signed-off-by: Daniel Juyung Seo > > Author: seoz > Date: 2012-03-06 21:49:13 -0800 (Tue, 06 Mar 2012) > New Revision: 68873 > Trac: http://trac.enlightenment.org/e/changeset/68873 > > Modified: > trunk/elementary/src/lib/elc_multibuttonentry.h > so...given this why not remove it for 1.0 ? -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][elementary_test] test_index
in 68875 Thank you very much! -Regards, Hermet- -Original Message- From: "cnook"To: "EFL" Cc: Sent: 12-03-07(수) 14:42:40 Subject: Re: [E-devel] [Patch][elementary_test] test_index Oops, The patch.. was kidnapped. :( 2012/3/7 cnook : > Dear All, Hello. > > I have attached patch for test_index. Please review the patch and give > any feedbacks. Thanks. > > Sincerely, > Shinwoo Kim. -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] anchor{block,view}
Shouldn't anchorblock and anchorview marked as deprecated? -- Jérôme Pinot http://ngc891.blogdns.net/ signature.asc Description: Digital signature -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Another typo in elementary doc
Small typo: Index: src/lib/elm_getting_started.h === --- src/lib/elm_getting_started.h (revision 68874) +++ src/lib/elm_getting_started.h (working copy) @@ -79,7 +79,7 @@ * specify a different prefix with configure: * * @verbatim - * ./confiugre --prefix=$HOME/mysoftware + * ./configure --prefix=$HOME/mysoftware * @endverbatim * * Also remember that autotools buys you some useful commands like: -- Jérôme Pinot http://ngc891.blogdns.net/ signature.asc Description: Digital signature -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][Elementary] elm_image
In SVN. Btw, can you add elm_icon/image_preload_disabled_get() for image and icon? Thanks in advance. Daniel Juyung Seo (SeoZ) On Wed, Mar 7, 2012 at 12:21 PM, cnook wrote: > Dear All, Hello. > > There was no API for preload cancel. simple > > Sincerely, > Shinwoo Kim. > > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] elementary doc build error
On 03/02/12 21:50, David Seikel wrote: > On Fri, 2 Mar 2012 20:30:11 +0900 Jérôme Pinot wrote: > > > On 03/02/12 21:13, David Seikel wrote: > > > On Fri, 2 Mar 2012 19:04:31 +0900 Jérôme Pinot > > > wrote: > > > > > > > Building the doxygen doc of elementary doesn't seem to work > > > > anymore. When running 'make doc', the shell launch a loop: > > > > > > > > > > > > /bin/sh -c for ss in > > > > flip:preview-00.png:widget_preview_flip:100:100 > > > > button:preview-00.png:widget_preview_button1:160:50 > > > > button:preview-01.png:widget_preview_button2:160:50 ... > > > > > > > > > > > > and run things like this at each step, which spawn a window: > > > > /tmp/elementary/doc/widgets/.libs/lt-widget_preview_panes 200 100 > > > > > > > > but it get stuck, stalling the build. > > > > Killing the processes one by one give these errors: > > > > > > > > > > > > rm -rf img/widget html/ latex/ man/ > > > > xml/ ../elementary-0.8.0.0-doc.tar* make[2]: Entering directory > > > > `/tmp/elementary/doc/widgets' make[2]: Nothing to be done for > > > > `all'. make[2]: Leaving directory `/tmp/elementary/doc/widgets' > > > > convert: unable to open image > > > > `../doc/html/img/widget/flip/preview-00.png': @ > > > > error/blob.c/OpenBlob/2587. convert: unable to open file > > > > `../doc/html/img/widget/flip/preview-00.png' @ > > > > error/png.c/ReadPNGImage/3234. convert: missing an image filename > > > > `../doc/latex/img/widget/flip/preview-00.eps' @ > > > > error/convert.c/ConvertImageCommand/3011. convert: unable to open > > > > image `../doc/html/img/widget/button/preview-00.png': @ > > > > error/blob.c/OpenBlob/2587. convert: unable to open file > > > > `../doc/html/img/widget/button/preview-00.png' @ > > > > error/png.c/ReadPNGImage/3234. convert: missing an image filename > > > > `../doc/latex/img/widget/button/preview-00.eps' @ > > > > error/convert.c/ConvertImageCommand/3011. ... > > > > > > > > make[1]: *** [widget-preview] Error 1 > > > > make[1]: Leaving directory `/tmp/elementary/doc' > > > > make: *** [doc] Error 2 > > > > > > > > > > > > And no html output... > > > > It was working for r68441, but I got this problem with r68610. > > > > > > I was getting that problem last night, and discussed it a bit on > > > IRC. Since I was trying to solve another bug at the time, I did not > > > do much more with this one. The others on IRC where telling me it > > > had to do with not compiling the software buffer in evas, but that > > > was being compiled here. Could you supply your ./configure options > > > and output for evas, ecore, and elementary please? > > > > > > > You can find build output there: > > http://ngc891.blogdns.net/pub/projects/debug/ > > > > Nothing special, except the sdl option that I have to remove. > > > > You can find the build scripts (and configure options) there: > > http://slacke17.git.sourceforge.net/git/gitweb.cgi?p=slacke17/slacke17;a=blob;f=evas/evas.SlackBuild;h=f7ebeaf9b1488b2020df26b1bb97482165c96d6e;hb=HEAD > > > > http://slacke17.git.sourceforge.net/git/gitweb.cgi?p=slacke17/slacke17;a=blob;f=ecore/ecore.SlackBuild;h=7c11e62b5ae9c8ef28177786c7bb019ccfd7ff14;hb=HEAD > > > > http://slacke17.git.sourceforge.net/git/gitweb.cgi?p=slacke17/slacke17;a=blob;f=elementary/elementary.SlackBuild;h=a6000ea101f1e07525e64b60852bf15249f3eacf;hb=HEAD > > > > > > BTW, I can make the build log of SlackE17 public (in the git repo) if > > it may help... > > Looks like you have the same "software buffer engine" stuff I have. > The IRC people where not much more explicit. Hopefully they can sort > it out with the info we have given them. Still got the same problem with r68874. The doxygen doc build normally with "cd doc && make gen-doc" but the screenshots still don't work. I'm not sure it depends of the engine because I have the same problem whether I build under X or not, so with different engines. stracing the freezed process gives this kind of output: select(5, [4], [], [], {20, 30613}) = 0 (Timeout) read(15, 0x6de0b4, 4096)= -1 EAGAIN (Resource temporarily unavailable) read(15, 0x6de0b4, 4096)= -1 EAGAIN (Resource temporarily unavailable) -- Jérôme Pinot http://ngc891.blogdns.net/ signature.asc Description: Digital signature -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][elm_map] Change & Add map APIs
Hello, This patch being reviewd?? I will appreciate if this patch will be in. :) 2012/3/5 David Seikel : > On Mon, 5 Mar 2012 20:05:51 +0900 Bluezery wrote: > >> Hello, >> >> I rename & add some APIs. >> As previously discussed, I categorized map APIs. >> (http://marc.info/?l=enlightenment-devel&m=132685497711772&w=2) >> >> 1) Zoom >> elm_map_zoom_set/get >> elm_map_zoom_mode_set/get >> elm_map_zoom_min_set/get >> elm_map_zoom_max_set/get >> >> 2) Region - Geographic coordinates (region) >> elm_map_region_get >> elm_map_region_show/bring_in >> elm_map_canvas_to_region_convert >> >> I will not use "_geo_" in map APIs. All map APIs are basically used by >> geographic coordinates. > > I hope to use this stuff in virtual worlds, so I agree that "geo" might > be a bad choice, but for different reasons. > > -- > A big old stinking pile of genius that no one wants > coz there are too many silver coated monkeys in the world. > > -- > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- BRs, Kim. -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] anchor{block,view}
They need to be killed. I'm on reviewing patch first now. Daniel Juyung Seo (SeoZ) On Wed, Mar 7, 2012 at 3:15 PM, Jérôme Pinot wrote: > Shouldn't anchorblock and anchorview marked as deprecated? > > -- > Jérôme Pinot > http://ngc891.blogdns.net/ > > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [patch] elm_genlist - add no_finger_size_calc and item_select_mode
Dear all. I made a patch about genlist_item_display_only_set() This api consist of setting finger size flag and making item no select mode. So I split with two apis. +EAPI void +elm_genlist_item_select_mode_set(Elm_Object_Item *it, + Elm_Object_Select_Mode_Type mode); +EAPI void +elm_genlist_item_no_finger_size_calc_set(Elm_Object_Item *it, Eina_Bool no_finger_size); Also two getting apis is added +EAPI Eina_Bool +elm_genlist_item_no_finger_size_calc_get(const Elm_Object_Item *it); +EAPI Elm_Object_Select_Mode_Type +elm_genlist_item_select_mode_get(const Elm_Object_Item *it); After applied this patch, users can selectively applying finger size and item select. Such as - elm_genlist_item_display_only_set(git, EINA_TRUE); + elm_genlist_item_no_finger_size_calc_set(git, EINA_TRUE); + elm_genlist_item_select_mode_set(git, ELM_OBJECT_NO_SELECT); Thanks From 250410d0d8c92773eefb7350d0f570da64c34893 Mon Sep 17 00:00:00 2001 From: Hyoyoung Chang Date: Wed, 7 Mar 2012 15:33:17 +0900 Subject: [PATCH] [genlist] add item finger size calc and item select mode api --- src/bin/test_genlist.c | 11 +++- src/lib/elm_deprecated.h | 33 + src/lib/elm_gen_common.h |2 + src/lib/elm_gengrid.h|5 +- src/lib/elm_genlist.c| 104 +++-- src/lib/elm_genlist.h| 116 ++ 6 files changed, 202 insertions(+), 69 deletions(-) diff --git a/src/bin/test_genlist.c b/src/bin/test_genlist.c index 0cf9e61..b571eb8 100644 --- a/src/bin/test_genlist.c +++ b/src/bin/test_genlist.c @@ -1573,7 +1573,8 @@ test_genlist8(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in ELM_GENLIST_ITEM_GROUP, gl_sel/* func */, (void *)(long)(i * 10)/* func data */); - elm_genlist_item_display_only_set(git, EINA_TRUE); + elm_genlist_item_no_finger_size_calc_set(git, EINA_TRUE); + elm_genlist_item_select_mode_set(git, ELM_OBJECT_NO_SELECT); } else if (git) { @@ -1702,7 +1703,9 @@ test_genlist9(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in git = elm_genlist_item_append(gl, &itc_group, (void *)0/* item data */, NULL/* parent */, ELM_GENLIST_ITEM_GROUP, gl4_sel/* func */, NULL/* func data */); - elm_genlist_item_display_only_set(git, EINA_TRUE); + elm_genlist_item_no_finger_size_calc_set(git, EINA_TRUE); + elm_genlist_item_select_mode_set(git, ELM_OBJECT_NO_SELECT); + elm_genlist_item_append(gl, itc1, (void *)1/* item data */, git/* parent */, ELM_GENLIST_ITEM_SUBITEMS, gl4_sel/* func */, NULL/* func data */); @@ -1715,7 +1718,9 @@ test_genlist9(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in git = elm_genlist_item_append(gl, &itc_group, (void *)4/* item data */, NULL/* parent */, ELM_GENLIST_ITEM_GROUP, gl4_sel/* func */, NULL/* func data */); - elm_genlist_item_display_only_set(git, EINA_TRUE); + elm_genlist_item_no_finger_size_calc_set(git, EINA_TRUE); + elm_genlist_item_select_mode_set(git, ELM_OBJECT_NO_SELECT); + elm_genlist_item_append(gl, itc1, (void *)5/* item data */, git/* parent */, ELM_GENLIST_ITEM_SUBITEMS, gl4_sel/* func */, NULL/* func data */); diff --git a/src/lib/elm_deprecated.h b/src/lib/elm_deprecated.h index d20217d..4caf06f 100644 --- a/src/lib/elm_deprecated.h +++ b/src/lib/elm_deprecated.h @@ -5231,5 +5231,38 @@ EINA_DEPRECATED EAPI void elm_toolbar_no_select_mode_set EINA_DEPRECATED EAPI Eina_Boolelm_toolbar_no_select_mode_get(const Evas_Object *obj); /** + * Sets the display only state of an item. + * + * @param it The item + * @param display_only @c EINA_TRUE if the item is display only, @c + * EINA_FALSE otherwise. + * + * A display only item cannot be selected or unselected. It is for + * display only and not selecting or otherwise clicking, dragging + * etc. by the user, thus finger size rules will not be applied to + * this item. + * + * It's good to set group index items to display only state. + * + * @see elm_genlist_item_display_only_get() + * + * @ingroup Genlist + */ +EINA_DEPRECATED EAPI void elm_genlist_item_display_only_set(Elm_Object_Item *it, Eina_Bool display_only); + +/** + * Get the display only state of an item + * + * @param it The item + * @return @c EINA_TRUE if the item is display only, @c + * EINA_FALSE otherwise. + * + * @see elm_genlist_item_display_only_set() + * + * @ingroup Genlist + */ +EINA_DEPRECATED EAPI Eina_
Re: [E-devel] Another typo in elementary doc
In SVN. It was hard to recognize with my bad eyes. Thanks!!! Daniel Juyung Seo (SeoZ) On Wed, Mar 7, 2012 at 3:21 PM, Jérôme Pinot wrote: > Small typo: > > > Index: src/lib/elm_getting_started.h > === > --- src/lib/elm_getting_started.h (revision 68874) > +++ src/lib/elm_getting_started.h (working copy) > @@ -79,7 +79,7 @@ > * specify a different prefix with configure: > * > * @verbatim > - * ./confiugre --prefix=$HOME/mysoftware > + * ./configure --prefix=$HOME/mysoftware > * @endverbatim > * > * Also remember that autotools buys you some useful commands like: > > -- > Jérôme Pinot > http://ngc891.blogdns.net/ > > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][Eina] eina_file_win32
On Wed, Mar 7, 2012 at 4:19 AM, cnook wrote: > Dear All, Hello. > > eina_lock_release() should be called before return. simple. indeed. Another question: why is that block is reached (i.e. the creation of the map has failed) ? Vincent -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][Eina] eina_file_win32
On Wed, Mar 7, 2012 at 4:19 AM, cnook wrote: > Dear All, Hello. > > eina_lock_release() should be called before return. simple. in svn, with other mutex unlocks in other places. My question remains, though thanks Vincent -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] Genlist bring_in merge patch
Hi, Kindly review the patch for merging bring_in APIs in genlist into single API. I have verified its functionality and am planning to commit it unless I get any comments by end of today. Regards, Sanjeev From 93c4c3f6d04a3df3a839de05cbeec34cac2dd835 Mon Sep 17 00:00:00 2001 From: Sanjeev BA Date: Wed, 7 Mar 2012 16:23:55 +0900 Subject: [PATCH] Merge bring_in, top_bring_in and middle_bring_in into bring_in with ELM_GENLIST_ITEM_SCROLLTO_*. Signed-off-by: Sanjeev BA --- trunk/elementary/src/bin/test_genlist.c |5 +- trunk/elementary/src/lib/elm_deprecated.h | 18 +- trunk/elementary/src/lib/elm_gen_common.h |8 --- trunk/elementary/src/lib/elm_genlist.c| 96 +++-- trunk/elementary/src/lib/elm_genlist.h| 65 +--- 5 files changed, 72 insertions(+), 120 deletions(-) diff --git a/trunk/elementary/src/bin/test_genlist.c b/trunk/elementary/src/bin/test_genlist.c index 18f3849..20d1b3d 100644 --- a/trunk/elementary/src/bin/test_genlist.c +++ b/trunk/elementary/src/bin/test_genlist.c @@ -68,7 +68,8 @@ set_api_state(api_data *api) case TOOLTIP_TEXT_SET: /* 6 */ { elm_genlist_item_tooltip_text_set(elm_genlist_first_item_get(gl), "Tooltip text from API"); - elm_genlist_item_bring_in(elm_genlist_first_item_get(gl)); + elm_genlist_item_bring_in(elm_genlist_first_item_get(gl), + ELM_GENLIST_ITEM_SCROLLTO_IN); } break; @@ -161,7 +162,7 @@ _move(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *even static void _bt50_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) { - elm_genlist_item_bring_in(data); + elm_genlist_item_bring_in(data, ELM_GENLIST_ITEM_SCROLLTO_IN); } static void diff --git a/trunk/elementary/src/lib/elm_deprecated.h b/trunk/elementary/src/lib/elm_deprecated.h index f80607d..81e39ed 100644 --- a/trunk/elementary/src/lib/elm_deprecated.h +++ b/trunk/elementary/src/lib/elm_deprecated.h @@ -5031,10 +5031,26 @@ EINA_DEPRECATED EAPI void elm_object_tree_unfocusable_set(Evas_O * * @see elm_object_tree_unfocusable_set() * - * @ingroup Focus * @deprecated Please use elm_object_tree_unfocusable_get() */ EINA_DEPRECATED EAPI Eina_Boolelm_object_tree_unfocusable_get(const Evas_Object *obj); + +/** + * Animatedly bring in, to the visible are of a genlist, a given + * item on it. + * + * @deprecated elm_genlist_item_bring_in() + */ +EINA_DEPRECATED EAPI void elm_genlist_item_top_bring_in(Elm_Object_Item *it); + +/** + * Animatedly bring in, to the visible are of a genlist, a given + * item on it. + * + * @deprecated elm_genlist_item_bring_in() + */ +EINA_DEPRECATED EAPI void elm_genlist_item_middle_bring_in(Elm_Object_Item *it); + /** * @} */ diff --git a/trunk/elementary/src/lib/elm_gen_common.h b/trunk/elementary/src/lib/elm_gen_common.h index 493f363..4ba674b 100644 --- a/trunk/elementary/src/lib/elm_gen_common.h +++ b/trunk/elementary/src/lib/elm_gen_common.h @@ -14,14 +14,6 @@ typedef struct Elm_Gen_Item_TypeElm_Gen_Item_Type; typedef struct Elm_Gen_Item_Tooltip Elm_Gen_Item_Tooltip; typedef struct _Widget_Data Widget_Data; -typedef enum -{ - ELM_GENLIST_ITEM_SCROLLTO_NONE = 0, /**< no scrollto */ - ELM_GENLIST_ITEM_SCROLLTO_IN = (1 << 0), /**< show, bring in */ - ELM_GENLIST_ITEM_SCROLLTO_TOP = (1 << 1), /**< top show, top bring in */ - ELM_GENLIST_ITEM_SCROLLTO_MIDDLE = (1 << 2) /**< middle show, middle bring in */ -} Elm_Genlist_Item_Scrollto_Type; - struct Elm_Gen_Item_Tooltip { const void *data; diff --git a/trunk/elementary/src/lib/elm_genlist.c b/trunk/elementary/src/lib/elm_genlist.c index 2a4e8b0..61cde06 100644 --- a/trunk/elementary/src/lib/elm_genlist.c +++ b/trunk/elementary/src/lib/elm_genlist.c @@ -349,7 +349,7 @@ _event_hook(Evas_Object *obj, else if ((!strcmp(ev->keyname, "Home")) || (!strcmp(ev->keyname, "KP_Home"))) { it = elm_genlist_first_item_get(obj); -elm_genlist_item_bring_in(it); +elm_genlist_item_bring_in(it, ELM_GENLIST_ITEM_SCROLLTO_IN); elm_genlist_item_selected_set(it, EINA_TRUE); ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; return EINA_TRUE; @@ -357,7 +357,7 @@ _event_hook(Evas_Object *obj, else if ((!strcmp(ev->keyname, "End")) || (!strcmp(ev->keyname, "KP_End"))) { it = elm_genlist_last_item_get(obj); -elm_genlist_item_bring_in(it); +elm_genlist_item_bring_in(it, ELM_GENLIST_ITEM_SCROLLTO_IN); elm_genlist_item_selected_set(it, EINA_TRUE); ev->event_flags |= EVAS_EVENT_FLAG_ON_HOLD; return EINA_TRUE; @@ -4767,17 +4767,19 @@ elm_genlist_item_demote(Elm_Object_Item *it) } EAPI void -elm_genlist_item_bring_in(Elm_Object_Item *it) +elm_genlist_item_bring_in(Elm_Object_Item *it, Elm_Genlist_Item_Scrollto_T
Re: [E-devel] Genlist bring_in merge patch
Oops missed the EINA_DEPRECATED in the 'C' file. Will fix that. On Wed, Mar 7, 2012 at 4:26 PM, Sanjeev BA wrote: > Hi, > Kindly review the patch for merging bring_in APIs in genlist into single > API. I have verified its functionality and am planning to commit it unless > I get any comments by end of today. > > Regards, > Sanjeev > -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] eina_file_mmap_faulty()
hey that function is in eina_file.c, but it is not used in that file, and it does not appear in eina_file.h. Should it be exported or removed ? Vincent -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] anchor{block,view}
On Wed, 7 Mar 2012 15:15:59 +0900 Jérôme Pinot said: > Shouldn't anchorblock and anchorview marked as deprecated? should - but no time for that. today is freeze day, so no more api changes after today. -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[E-devel] [Patch][elementary_test] test_label
Dear All, Hello! I have attached a patch for test_label. Please review the patch and give any feedbacks. Thanks. Sincerely, Shinwoo Kim. Index: src/bin/test_label.c === --- src/bin/test_label.c (revision 68862) +++ src/bin/test_label.c (working copy) @@ -4,6 +4,14 @@ #endif #ifndef ELM_LIB_QUICKLAUNCH +enum _slide_style +{ + SLIDE_SHORT, + SLIDE_LONG, + SLIDE_BOUNCE, + SLIDE_STYLE_LAST +}; + void test_label(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) { @@ -68,10 +76,149 @@ test_label(void *data __UNUSED__, Evas_Object *obj elm_box_pack_end(bx, lb); evas_object_show(lb); + evas_object_resize(win, 320, 300); evas_object_show(bx); evas_object_show(win); elm_win_resize_object_add(win, bx); } + +static void +_cb_size_radio_changed(void *data, Evas_Object *obj, void *event __UNUSED__) +{ + Evas_Object *lb = (Evas_Object *)data; + int style = elm_radio_value_get((Evas_Object *)obj); + switch (style) + { + case SLIDE_SHORT: + elm_object_style_set(lb, "slide_short"); + break; + + case SLIDE_LONG: + elm_object_style_set(lb, "slide_long"); + break; + + case SLIDE_BOUNCE: + elm_object_style_set(lb, "slide_bounce"); + break; + + default: + return; + } +} + +static void +_change_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__) +{ + Evas_Object *lb = (Evas_Object *)data; + double val = elm_slider_value_get(obj); + elm_label_slide_set(lb, EINA_FALSE); + elm_label_slide_duration_set(lb, val); + elm_label_slide_set(lb, EINA_TRUE); +} + +void +test_label2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) +{ + Evas_Object *win, *gd, *rect, *lb, *rd, *rdg, *sl; + + win = elm_win_util_standard_add("label2", "Label 2"); + elm_win_autodel_set(win, EINA_TRUE); + + gd = elm_grid_add(win); + elm_grid_size_set(gd, 100, 100); + evas_object_size_hint_weight_set(gd, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); + elm_win_resize_object_add(win, gd); + evas_object_show(gd); + + /* Test Label Ellipsis */ + lb = elm_label_add(win); + elm_object_text_set(lb, "Test Label Ellipsis:"); + elm_label_slide_set(lb, EINA_TRUE); + elm_grid_pack(gd, lb, 5, 5, 90, 10); + evas_object_show(lb); + + rect = evas_object_rectangle_add(evas_object_evas_get(win)); + elm_grid_pack(gd, rect, 5, 15, 90, 10); + evas_object_color_set(rect, 255, 125, 125, 255); + evas_object_show(rect); + + lb = elm_label_add(win); + elm_object_text_set(lb, + "This is a label set to ellipsis. " + "If set ellipsis to true and the text doesn't fit " + "in the label an ellipsis(\"...\") will be shown " + "at the end of the widget." + ); + elm_label_ellipsis_set(lb, EINA_TRUE); + elm_grid_pack(gd, lb, 5, 15, 90, 10); + evas_object_show(lb); + + /* Test Label Slide */ + lb = elm_label_add(win); + elm_object_text_set(lb, "Test Label Slide:"); + elm_label_slide_set(lb, EINA_TRUE); + elm_grid_pack(gd, lb, 5, 30, 90, 10); + evas_object_show(lb); + + rect = evas_object_rectangle_add(evas_object_evas_get(win)); + elm_grid_pack(gd, rect, 5, 40, 90, 10); + evas_object_color_set(rect, 255, 125, 125, 255); + evas_object_show(rect); + + lb = elm_label_add(win); + elm_object_style_set(lb, "slide_short"); + elm_object_text_set(lb, + "This is a label set to slide. " + "If set slide to true the text of the label " + "will slide/scroll through the length of label." + "This only works with the themes \"slide_short\", " + "\"slide_long\" and \"slide_bounce\"." + ); + elm_label_slide_set(lb, EINA_TRUE); + elm_grid_pack(gd, lb, 5, 40, 90, 10); + evas_object_show(lb); + + rd = elm_radio_add(win); + elm_radio_state_value_set(rd, SLIDE_SHORT); + elm_object_text_set(rd, "slide_short"); + evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, EVAS_HINT_FILL); + evas_object_smart_callback_add(rd, "changed", _cb_size_radio_changed, lb); + elm_grid_pack(gd, rd, 5, 50, 30, 10); + evas_object_show(rd); + rdg = rd; + + rd = elm_radio_add(win); + elm_radio_state_value_set(rd, SLIDE_LONG); + elm_radio_group_add(rd, rdg); + elm_object_text_set(rd, "slide_long"); + evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, EVAS_HINT_FILL); + evas_object_smart_callback_add(rd, "changed", _cb_size_radio_changed, lb); + elm_grid_pack(gd, rd, 35, 50, 30, 10); + evas_object_show(rd); + + rd = elm_radio_add(win); + elm_radio_state_value_set(rd, SLIDE_BOUNCE); + elm_radio_group_add(rd, rdg); + elm_object_text_set(rd, "slide_bounce"); + evas_object_size_hint_weight_set(rd, EVAS_HINT_EXPAND, EVAS_HINT_
Re: [E-devel] anchor{block,view}
On 07/03/12 08:57, Daniel Juyung Seo wrote: > They need to be killed. > I'm on reviewing patch first now. Hm... ? I already killed them yesterday... -- Tom. -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] [Patch][Eina] eina_file_win32
Thanks for your response. I just checked the eina_file_win32.c to resolve previous problem of elementary_test.exe. And I just found the eina_lock_release() is omitted. So I sent the patch. Actually I never met the map creation failure. :) Sincerely, Shinwoo Kim. 2012/3/7 Vincent Torri : > On Wed, Mar 7, 2012 at 4:19 AM, cnook wrote: >> Dear All, Hello. >> >> eina_lock_release() should be called before return. simple. > > in svn, with other mutex unlocks in other places. My question remains, though > > thanks > > Vincent > > -- > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel