Re: [E-devel] [patch] elm_icon - add aspect_fixed_{set/get}
current implementation is black image filled in right half. anyway it's not a big issue. i wanna make a same icon size at dragging. is it good to show original width/height? if then it's useless. if not, i think it's worth to commit. On Wed, Jan 18, 2012 at 11:17 AM, Carsten Haitzler ras...@rasterman.com wrote: On Sat, 7 Jan 2012 13:06:30 +0900 Hyoyoung Chang hyoyo...@gmail.com said: Dear all when dragdrop image from elm_photo, elm_cnp_helper makes elm_icon from the source. but some non-square images are displayed correctly(due to aspect ratio, some region is black). I added aspect_fixed functions to elm_icon and using it in elm_cnp_helper actually... why would you want it to NOT respect aspect ratio? then you just end up with a squashed icon. why not just ensure the icon window being dragged has an alpha channel and those black bits are blank/empty? -- - 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] elm_gen{list, grid} - adding item_class management functions
On Tue, Jan 17, 2012 at 8:02 PM, Carsten Haitzler ras...@rasterman.com wrote: On Fri, 6 Jan 2012 17:48:59 +0900 Hyoyoung Chang hyoyo...@gmail.com said: ok - i dont like passing all tyhe funcs as params. please do it this way: EAPI Elm_Genlist_Item_Class *elm_genlist_item_class_new(void); EAPI void elm_genlist_item_class_free(Elm_Genlist_Item_Class *itc); EAPI void elm_genlist_item_class_ref(Elm_Genlist_Item_Class *itc); EAPI void elm_genlist_item_class_unref(lm_Genlist_Item_Class *itc); if then there's no need to check duplicated? i mean some styles can be reused. so how about add this api? EAPI Elm_Genlist_Item_Class *elm_genlist_item_class_find(Elm_Genlist_Item_Text_Get_Cb text_cb, Elm_Genlist_Item_Content_Get_Cb content_cb) now ADD a version field to the top of the current item class and a refcount number. ref and unref just add and sub from the refcount number - as does free (free can just call unref - i'm only adding it to pair with new). new just calloc()'s the item class struct and fills in version # and sets refcount to 1. if ref goes to 0 then free the class. now... every genlist item that uses this class should ref() the class.every item from a genlist thats deleted should unref() it. now the issue ca be solved by unref or free()ing the item classes u created for use in the gnelist on del of the genlist obj (u can attach a del callback). they will not be freed then until refs hit 0, but on obj del they can set func ptr's to null thus making it safe. Dear all This patch introduces four new apis about elm_gen{list, grid} item class managements. itc_add function makes a new item_class for the given widget. And itc_del function remove the item_class from the widget. Most of elm_gen{list, grid} users declare itc(item_class) as a global variable. Because itc should be lived at elm_gen{list,grid} item's life cycle. It's inconvenient for users. Even some users pass itc. itc_add makes a new itc. if exact one exists in the given widget, it return the previous made itc. itc_del remove a itc if its reference count reaches at zero. Thanks. EAPI Elm_Genlist_Item_Class * elm_genlist_itc_add(Evas_Object *obj, const char *item_style, Elm_Genlist_Item_Text_Get_Cb text_cb, Elm_Genlist_Item_Content_Get_Cb content_cb, Elm_Genlist_Item_State_Get_Cb state_cb, Elm_Genlist_Item_Del_Cb del_cb); EAPI void elm_genlist_itc_del(Evas_Object *obj, Elm_Genlist_Item_Class *itc); EAPI Elm_Gengrid_Item_Class * elm_gengrid_itc_add(Evas_Object *obj, const char *item_style, Elm_Gengrid_Item_Text_Get_Cb text_cb, Elm_Gengrid_Item_Content_Get_Cb content_cb, Elm_Gengrid_Item_State_Get_Cb state_cb, Elm_Gengrid_Item_Del_Cb del_cb); EAPI void elm_gengrid_itc_del(Evas_Object *obj, Elm_Gengrid_Item_Class *itc); -- - 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] Thread support on some old systems
Hello e people, It is actually not possible to build eina with thread support on some old systems (like debian4). Symptom : When compiling eina_unicode, the following message appears : http://pastebin.com/Y9iCDqud The problem is that when building eina_unicode.c we include Eina.h, then include eina_lock.h, then include eina_inline_lock_posix.x, which includes pthread.h, with _SYS_TYPES_H already defined, but wasnt include with __USE_UNIX98 defined, so pthread_rwlock_t isnt known. Removing the include on Eina.h from eina_unicode.c resolves everything. I am able to build with thread support on debian4, and can still build on up2date archlinux. I have been told that it is not normal to have an include on Eina.h from eina_unicode.c as each .c must only include stictly what it needs. So i dont think i broke anything doing that, but please think a little about it, as eina is “something big” to me. Index: src/lib/eina_unicode.c === --- src/lib/eina_unicode.c (révision 67371) +++ src/lib/eina_unicode.c (copie de travail) @@ -18,7 +18,6 @@ */ -#include Eina.h #include eina_unicode.h /* FIXME: check if sizeof(wchar_t) == sizeof(Eina_Unicode) if so, attachment: guillaume_friloux.vcf signature.asc Description: OpenPGP digital signature -- 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] elm_gen{list, grid} - adding item_class management functions
On Fri, 20 Jan 2012 17:26:16 +0900 Hyoyoung Chang hyoyo...@gmail.com said: On Tue, Jan 17, 2012 at 8:02 PM, Carsten Haitzler ras...@rasterman.com wrote: On Fri, 6 Jan 2012 17:48:59 +0900 Hyoyoung Chang hyoyo...@gmail.com said: ok - i dont like passing all tyhe funcs as params. please do it this way: EAPI Elm_Genlist_Item_Class *elm_genlist_item_class_new(void); EAPI void elm_genlist_item_class_free (Elm_Genlist_Item_Class *itc); EAPI void elm_genlist_item_class_ref (Elm_Genlist_Item_Class *itc); EAPI void elm_genlist_item_class_unref (lm_Genlist_Item_Class *itc); if then there's no need to check duplicated? i mean some styles can be reused. so how about add this api? if they use the same class within the same genlist - that's fine. between genlists - they can use the same smart class ptr they have too in the same way, referencing handles it. if they create a new one, let them, don't worry about duplicates. :) EAPI Elm_Genlist_Item_Class *elm_genlist_item_class_find(Elm_Genlist_Item_Text_Get_Cb text_cb, Elm_Genlist_Item_Content_Get_Cb content_cb) now ADD a version field to the top of the current item class and a refcount number. ref and unref just add and sub from the refcount number - as does free (free can just call unref - i'm only adding it to pair with new). new just calloc()'s the item class struct and fills in version # and sets refcount to 1. if ref goes to 0 then free the class. now... every genlist item that uses this class should ref() the class.every item from a genlist thats deleted should unref() it. now the issue ca be solved by unref or free()ing the item classes u created for use in the gnelist on del of the genlist obj (u can attach a del callback). they will not be freed then until refs hit 0, but on obj del they can set func ptr's to null thus making it safe. Dear all This patch introduces four new apis about elm_gen{list, grid} item class managements. itc_add function makes a new item_class for the given widget. And itc_del function remove the item_class from the widget. Most of elm_gen{list, grid} users declare itc(item_class) as a global variable. Because itc should be lived at elm_gen{list,grid} item's life cycle. It's inconvenient for users. Even some users pass itc. itc_add makes a new itc. if exact one exists in the given widget, it return the previous made itc. itc_del remove a itc if its reference count reaches at zero. Thanks. EAPI Elm_Genlist_Item_Class * elm_genlist_itc_add(Evas_Object *obj, const char *item_style, Elm_Genlist_Item_Text_Get_Cb text_cb, Elm_Genlist_Item_Content_Get_Cb content_cb, Elm_Genlist_Item_State_Get_Cb state_cb, Elm_Genlist_Item_Del_Cb del_cb); EAPI void elm_genlist_itc_del(Evas_Object *obj, Elm_Genlist_Item_Class *itc); EAPI Elm_Gengrid_Item_Class * elm_gengrid_itc_add(Evas_Object *obj, const char *item_style, Elm_Gengrid_Item_Text_Get_Cb text_cb, Elm_Gengrid_Item_Content_Get_Cb content_cb, Elm_Gengrid_Item_State_Get_Cb state_cb, Elm_Gengrid_Item_Del_Cb del_cb); EAPI void elm_gengrid_itc_del(Evas_Object *obj, Elm_Gengrid_Item_Class *itc); -- - 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] elm_icon - add aspect_fixed_{set/get}
On Fri, 20 Jan 2012 17:19:23 +0900 Hyoyoung Chang hyoyo...@gmail.com said: current implementation is black image filled in right half. it shouldnt be if icon window is set up right - it'd be transparent. look at e17 - it does this for its icons it dnd's around :) anyway it's not a big issue. i wanna make a same icon size at dragging. is it good to show original width/height? if then it's useless. if not, i think it's worth to commit. On Wed, Jan 18, 2012 at 11:17 AM, Carsten Haitzler ras...@rasterman.com wrote: On Sat, 7 Jan 2012 13:06:30 +0900 Hyoyoung Chang hyoyo...@gmail.com said: Dear all when dragdrop image from elm_photo, elm_cnp_helper makes elm_icon from the source. but some non-square images are displayed correctly(due to aspect ratio, some region is black). I added aspect_fixed functions to elm_icon and using it in elm_cnp_helper actually... why would you want it to NOT respect aspect ratio? then you just end up with a squashed icon. why not just ensure the icon window being dragged has an alpha channel and those black bits are blank/empty? -- - 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] Thread support on some old systems
On 20/01/2012 09:34, Guillaume Friloux wrote: Hello e people, It is actually not possible to build eina with thread support on some old systems (like debian4). Symptom : When compiling eina_unicode, the following message appears : http://pastebin.com/Y9iCDqud The problem is that when building eina_unicode.c we include Eina.h, then include eina_lock.h, then include eina_inline_lock_posix.x, which includes pthread.h, with _SYS_TYPES_H already defined, but wasnt include with __USE_UNIX98 defined, so pthread_rwlock_t isnt known. Removing the include on Eina.h from eina_unicode.c resolves everything. I am able to build with thread support on debian4, and can still build on up2date archlinux. I have been told that it is not normal to have an include on Eina.h from eina_unicode.c as each .c must only include stictly what it needs. So i dont think i broke anything doing that, but please think a little about it, as eina is “something big” to me. I said some shits, forget about _SYS_TYPES_H. attachment: guillaume_friloux.vcf signature.asc Description: OpenPGP digital signature -- 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] about edje examples
Hey, I've 2 problems with the edje examples and my Windows installer : 1) the edje and image files paths are harcoded. So it would be nice to have some getenv() stuff to solve that, or some arguments to pass to command line (one of those solutions is enough for me, as I'm creating links) 2) As I'm cross-compiling, the creation of .edj files is failing. So adding EFL_WITH_BIN([edje], [edje-cc], [edje_cc]) to configure.ac plus some minor tweak in the Makfile.am should be sufficient I don't have time to do that for now. If nobody fix that soon I'll try to fix that later in the month. It would be nice to have that for edje 1.1.1 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] Thread support on some old systems
On Fri, 20 Jan 2012 09:34:01 +0100 Guillaume Friloux guillaume.fril...@asp64.com said: that patch smells totally wrong. that means ALL apps including Eina.h as standard are going to see your problem... Hello e people, It is actually not possible to build eina with thread support on some old systems (like debian4). Symptom : When compiling eina_unicode, the following message appears : http://pastebin.com/Y9iCDqud The problem is that when building eina_unicode.c we include Eina.h, then include eina_lock.h, then include eina_inline_lock_posix.x, which includes pthread.h, with _SYS_TYPES_H already defined, but wasnt include with __USE_UNIX98 defined, so pthread_rwlock_t isnt known. Removing the include on Eina.h from eina_unicode.c resolves everything. I am able to build with thread support on debian4, and can still build on up2date archlinux. I have been told that it is not normal to have an include on Eina.h from eina_unicode.c as each .c must only include stictly what it needs. So i dont think i broke anything doing that, but please think a little about it, as eina is “something big” to me. -- - 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] Windows installer
Hey new version of the installer. Several bug have been fixed. I've also added these features: * expedite is installed * edje examples are added * association of .edj files to edje_player * default installation directory is c:\Efl * links to edje_player.exe EXAMPLE.edj are added in the start menu (EXAMPLE.edj are all the .edj files) If you have time, please fix it. Note that i didn't included the recent fix in eina as this installer is for EFL version 1.1.0 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: hermet trunk/enjoy/src/bin
Hi Martin. I submitted your patch - 67386. but I dropped eve patches because I didn't catch your irc messages before I modify eve. Anyway, thanks. :) -Regards, Hermet- -Original Message- From: Enlightenment SVNlt;no-re...@enlightenment.orggt; To: enlightenment-...@lists.sourceforge.net Cc: Sent: 12-01-20(금) 19:37:36 Subject: E SVN: hermet trunk/enjoy/src/bin Log: enjoy - [PATCH 1/3] enjoy: Elm_Genlist_Item - Elm_Object_Item Signed-off-by: Martin Jansa lt;martine.ja...@gmail.comgt; Author: hermet Date: 2012-01-20 02:37:35 -0800 (Fri, 20 Jan 2012) New Revision: 67386 Trac: http://trac.enlightenment.org/e/changeset/67386 Modified: trunk/enjoy/src/bin/page.c trunk/enjoy/src/bin/preferences.c Modified: trunk/enjoy/src/bin/page.c === --- trunk/enjoy/src/bin/page.c 2012-01-20 10:31:07 UTC (rev 67385) +++ trunk/enjoy/src/bin/page.c 2012-01-20 10:37:35 UTC (rev 67386) @@ -121,8 +121,8 @@ const char *title; void *container; void *model; - Elm_Genlist_Item *selected; - Elm_Genlist_Item *first; + Elm_Object_Item *selected; + Elm_Object_Item *first; Eina_Iterator *iterator; Ecore_Idler *populate; Eina_Hash *od_to_list_item; @@ -168,7 +168,7 @@ for (count = 0; count lt; cls-populate_iteration_count; count++) { - Elm_Genlist_Item *it; + Elm_Object_Item *glit; char letter; void *id, *od; const char **letter_str; @@ -179,7 +179,7 @@ od = cls-data_from_itr(id); if (!od) goto end; - it = elm_genlist_item_append + glit = elm_genlist_item_append (page-list, cls-item_cls, od, NULL, ELM_GENLIST_ITEM_NONE, NULL, NULL); @@ -193,10 +193,10 @@ elm_index_item_append(page-index, Special, page-first); page-last_index_letter[0] = letter; - elm_index_item_append(page-index, page-last_index_letter, it); + elm_index_item_append(page-index, page-last_index_letter, glit); } - if (!page-first) page-first = it; - eina_hash_set(page-od_to_list_item, od, it); + if (!page-first) page-first = glit; + eina_hash_set(page-od_to_list_item, od, glit); page-num_elements++; } @@ -214,17 +214,17 @@ _page_selected(void *data, Evas_Object *o, void *event_info) { Page *page = data; - Elm_Genlist_Item *it = event_info; - if (page-selected == it) return; - page-selected = it; + Elm_Object_Item *glit = event_info; + if (page-selected == glit) return; + page-selected = glit; page-cls-selected(data, o, event_info); } static void _page_index_changed(void *data __UNUSED__, Evas_Object *o __UNUSED__, void *event_info) { - Elm_Genlist_Item *it = event_info; - elm_genlist_item_top_bring_in(it); + Elm_Object_Item *glit = event_info; + elm_genlist_item_top_bring_in(glit); } static void @@ -725,25 +725,25 @@ page_songs_next_exists(const Evas_Object *obj) { PAGE_SONGS_GET_OR_RETURN(page, obj, EINA_FALSE); - Elm_Genlist_Item *it = page-selected; - if (!it) return EINA_FALSE; - it = elm_genlist_item_next_get(it); - return !!it; + Elm_Object_Item *glit = page-selected; + if (!glit) return EINA_FALSE; + glit = elm_genlist_item_next_get(glit); + return !!glit; } Song * page_songs_next_go(Evas_Object *obj) { PAGE_SONGS_GET_OR_RETURN(page, obj, NULL); - Elm_Genlist_Item *it = page-selected; + Elm_Object_Item *glit = page-selected; Song *song; - if (!it) return NULL; - it = elm_genlist_item_next_get(it); - if (!it) return NULL; - song = elm_genlist_item_data_get(it); - page-selected = it; - elm_genlist_item_selected_set(it, EINA_TRUE); - elm_genlist_item_bring_in(it); + if (!glit) return NULL; + glit = elm_genlist_item_next_get(glit); + if (!glit) return NULL; + song = elm_genlist_item_data_get(glit); + page-selected = glit; + elm_genlist_item_selected_set(glit, EINA_TRUE); + elm_genlist_item_bring_in(glit); return song; } @@ -751,12 +751,12 @@ page_songs_selected_n_get(const Evas_Object *obj) { PAGE_SONGS_GET_OR_RETURN(page, obj, 0); - Elm_Genlist_Item *it; + Elm_Object_Item *glit; int n; - for (n = 0, it = page-first; - it it != page-selected; - n++, it = elm_genlist_item_next_get(it)); - return (it) ? n : 0; + for (n = 0, glit = page-first; + glit glit != page-selected; + n++, glit = elm_genlist_item_next_get(glit)); + return (glit) ? n : 0; } int32_t @@ -770,17 +770,17 @@ page_songs_nth_get(const Evas_Object *obj, int32_t n) { PAGE_SONGS_GET_OR_RETURN(page, obj, NULL); - Elm_Genlist_Item *it = page-first; - while (it n--) it = elm_genlist_item_next_get(it); - if (!it) return NULL; - return elm_genlist_item_data_get(it); + Elm_Object_Item *glit = page-first; + while (glit n--) glit = elm_genlist_item_next_get(glit); + if (!glit) return NULL; + return elm_genlist_item_data_get(glit); } Eina_Bool _page_shuffle_array(Page *page, Eina_Bool next) { size_t i, j; - Elm_Genlist_Item *it; + Elm_Object_Item *glit; if (!page-first) return EINA_FALSE; @@ -794,16 +794,16 @@ if ((page-shuffle_position = page-num_elements) || (page-shuffle_position == 0)) { - it = page-first; -
[E-devel] eve: another patch for deprecated APIs
attached -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com From f8f158d1d1386e6386e7ee48bbc8c1f3262fe492 Mon Sep 17 00:00:00 2001 From: Martin Jansa martin.ja...@gmail.com Date: Fri, 20 Jan 2012 10:20:59 +0100 Subject: [PATCH 3/3] eve: use elm_object_part_content_set instead of deprecated elm_entry_end_set Signed-off-by: Martin Jansa martin.ja...@gmail.com --- eve/src/bin/chrome.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/eve/src/bin/chrome.c b/eve/src/bin/chrome.c index e8fc382c..006f637 100644 --- a/eve/src/bin/chrome.c +++ b/eve/src/bin/chrome.c @@ -2549,7 +2549,7 @@ chrome_add(Browser_Window *win, const char *url, Session_Item *session_item) Evas_Object *ic = elm_icon_add(ed); elm_icon_file_set(ic, PACKAGE_DATA_DIR /default.edj, clear-button); - elm_entry_end_set(text_url, ic); + elm_object_part_content_set(text_url, end, ic); evas_object_smart_callback_add(ic, clicked, on_action_clear, chrome); Evas_Object *more_list = elm_genlist_add(ed); -- 1.7.8.3 signature.asc Description: Digital signature -- 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] Test Buildbot on Windows?
Hi all, As you know we're setting the buildbot, so far only for Linux. Could you please check if at least Makefile.win works? If so, could someone configure buildslave on windows and give it a try? I can aid the buildslave part, but have no idea how to setup EFL deps and dev environment on Windows. To test Makefile.win is easy: svn co http://svn.enlightenment.org/svn/e/trunk/ e-trunk cd e-trunk make -f Makefile.win all If it does not work, let me know. You can tweak Makefile.win to try to fix it, or even better change SCRIPTS/buildbot/desc.py and generate it again: ./SCRIPTS/buildbot/make-generator.py -o Makefile.win win -- 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] Test Buildbot on Windows?
On Fri, Jan 20, 2012 at 2:09 PM, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: Hi all, As you know we're setting the buildbot, so far only for Linux. Could you please check if at least Makefile.win works? If so, could someone configure buildslave on windows and give it a try? I can aid the buildslave part, but have no idea how to setup EFL deps and dev environment on Windows. 0) you can find the dependencies there : http://dev.enlightenment.fr/~doursse/mingw-w64-x86_32/packages/ by default, the prefix of the .pc files of these archives is /opt/efl 1) go there : http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Automated%20Builds/ download the latest mingw-w32-bin_i686-linux_**.tar.bz2 and untar it in foo/ (that is, where you want) 2) Set these environment variables: # to set ## change that to where mingw-w64 is untared export MINGW64_BINDIR=foo/ ## where you want to install the EFL and their dependencies export EFL_PREFIX=/opt/efl # normally, you should not modify that export TARGET=i686-w64-mingw32 export CPPFLAGS=-I$EFL_PREFIX/include -I$EFL_PREFIX/include/evil-1 export CXXFLAGS=$CFLAGS export LDFLAGS=$LDFLAGS -L$EFL_PREFIX/lib export PATH=$MINGW64_BINDIR/mingw-w64-x86_32/bin:$EFL_PREFIX/bin:$PATH export LD_LIBRARY_PATH=$EFL_PREFIX/lib export PKG_CONFIG_PATH=$EFL_PREFIX/lib/pkgconfig export PKG_CONFIG_LIBDIR=$EFL_PREFIX/lib/pkgconfig 3) configure with --prefix=$MINGW_PREFIX --host=$TARGET and the options you find in the wiki. 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] Test Buildbot on Windows?
On Fri, Jan 20, 2012 at 11:48 AM, Vincent Torri vincent.to...@gmail.com wrote: On Fri, Jan 20, 2012 at 2:09 PM, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: Hi all, As you know we're setting the buildbot, so far only for Linux. Could you please check if at least Makefile.win works? If so, could someone configure buildslave on windows and give it a try? I can aid the buildslave part, but have no idea how to setup EFL deps and dev environment on Windows. 0) you can find the dependencies there : http://dev.enlightenment.fr/~doursse/mingw-w64-x86_32/packages/ by default, the prefix of the .pc files of these archives is /opt/efl 1) go there : http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Automated%20Builds/ download the latest mingw-w32-bin_i686-linux_**.tar.bz2 and untar it in foo/ (that is, where you want) 2) Set these environment variables: # to set ## change that to where mingw-w64 is untared export MINGW64_BINDIR=foo/ ## where you want to install the EFL and their dependencies export EFL_PREFIX=/opt/efl # normally, you should not modify that export TARGET=i686-w64-mingw32 export CPPFLAGS=-I$EFL_PREFIX/include -I$EFL_PREFIX/include/evil-1 export CXXFLAGS=$CFLAGS export LDFLAGS=$LDFLAGS -L$EFL_PREFIX/lib export PATH=$MINGW64_BINDIR/mingw-w64-x86_32/bin:$EFL_PREFIX/bin:$PATH export LD_LIBRARY_PATH=$EFL_PREFIX/lib export PKG_CONFIG_PATH=$EFL_PREFIX/lib/pkgconfig export PKG_CONFIG_LIBDIR=$EFL_PREFIX/lib/pkgconfig 3) configure with --prefix=$MINGW_PREFIX --host=$TARGET and the options you find in the wiki. I have no windows box... and already struggling to make the linux box work, e3 is being a major PITA :-/ -- 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] Test Buildbot on Windows?
On Fri, Jan 20, 2012 at 2:53 PM, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: On Fri, Jan 20, 2012 at 11:48 AM, Vincent Torri vincent.to...@gmail.com wrote: On Fri, Jan 20, 2012 at 2:09 PM, Gustavo Sverzut Barbieri barbi...@profusion.mobi wrote: Hi all, As you know we're setting the buildbot, so far only for Linux. Could you please check if at least Makefile.win works? If so, could someone configure buildslave on windows and give it a try? I can aid the buildslave part, but have no idea how to setup EFL deps and dev environment on Windows. 0) you can find the dependencies there : http://dev.enlightenment.fr/~doursse/mingw-w64-x86_32/packages/ by default, the prefix of the .pc files of these archives is /opt/efl 1) go there : http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Automated%20Builds/ download the latest mingw-w32-bin_i686-linux_**.tar.bz2 and untar it in foo/ (that is, where you want) 2) Set these environment variables: # to set ## change that to where mingw-w64 is untared export MINGW64_BINDIR=foo/ ## where you want to install the EFL and their dependencies export EFL_PREFIX=/opt/efl # normally, you should not modify that export TARGET=i686-w64-mingw32 export CPPFLAGS=-I$EFL_PREFIX/include -I$EFL_PREFIX/include/evil-1 export CXXFLAGS=$CFLAGS export LDFLAGS=$LDFLAGS -L$EFL_PREFIX/lib export PATH=$MINGW64_BINDIR/mingw-w64-x86_32/bin:$EFL_PREFIX/bin:$PATH export LD_LIBRARY_PATH=$EFL_PREFIX/lib export PKG_CONFIG_PATH=$EFL_PREFIX/lib/pkgconfig export PKG_CONFIG_LIBDIR=$EFL_PREFIX/lib/pkgconfig 3) configure with --prefix=$MINGW_PREFIX --host=$TARGET and the options you find in the wiki. I have no windows box... and already struggling to make the linux box work, e3 is being a major PITA :-/ that doc is for cross compilation on linux... Vincent -- 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 -- 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] Thread support on some old systems
On 20/01/2012 09:34, Guillaume Friloux wrote: Hello e people, It is actually not possible to build eina with thread support on some old systems (like debian4). Symptom : When compiling eina_unicode, the following message appears : http://pastebin.com/Y9iCDqud The problem is that when building eina_unicode.c we include Eina.h, then include eina_lock.h, then include eina_inline_lock_posix.x, which includes pthread.h, with _SYS_TYPES_H already defined, but wasnt include with __USE_UNIX98 defined, so pthread_rwlock_t isnt known. Removing the include on Eina.h from eina_unicode.c resolves everything. I am able to build with thread support on debian4, and can still build on up2date archlinux. I have been told that it is not normal to have an include on Eina.h from eina_unicode.c as each .c must only include stictly what it needs. So i dont think i broke anything doing that, but please think a little about it, as eina is “something big” to me. As seens with k-s, its patched, really BIG thanks to him for spending time with me attachment: guillaume_friloux.vcf signature.asc Description: OpenPGP digital signature -- 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] Wobbly Window Option
Could code be taken from (and/or at least based on) the ecomorph wobbly windows? Can you direct me to the packages that would have to be looked at alongside edje?? I'm going to investigate, no promises, but I've been looking for a programming project, this could be it. If any other programmer out there is interested in helping, feel free to email me On Thu, Jan 19, 2012 at 6:53 PM, Carsten Haitzler ras...@rasterman.comwrote: On Thu, 19 Jan 2012 21:29:38 -0500 Tony Lill ajl...@ajlc.waterloo.on.ca said: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ecomp/ecomorph has a pile of effects, including various wobbly windows. Perhaps someone could help get it working properly again... you could... but you'll be going against the flow. after e17 (for e18) compositing will go into e17 core - so u'll neve be able to use a different compositor. :) On 01/19/2012 06:59 PM, Joel Madero wrote: Thanks for letting me know, I'm going to let the people over in bodhi forum know, maybe one of their devs can tackle it at least for that distro. Thanks again for the hard work On Thu, Jan 19, 2012 at 3:58 PM, Carsten Haitzler ras...@rasterman.comwrote: On Thu, 19 Jan 2012 15:53:25 -0800 Joel Madero jmadero@gmail.com said: Hi All, After spending quite a bit of time in the forums it's become clear to me that a lot of people want wobbly windows in Enlightenment. Is this planned at all? I know it's possibly using the ecomorph but a lot of people think it's buggy at best. Thanks for the hard work, it's a great window manager no it's not planned. -- - 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 - -- Tony Lill, OCT,tony.l...@ajlc.waterloo.on.ca President, A. J. Lill Consultants (519) 650 0660 539 Grand Valley Dr., Cambridge, Ont. N3H 2S2 (519) 241 2461 - --- http://www.ajlc.waterloo.on.ca/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8Y0ZIACgkQGS8yZq1uvxBLAwCcCVSC9ZLp/Us4vKPfLCxwKs9r hLcAn0iCypgE4gugPEy4ASceRn3LAn70 =3gEO -END PGP SIGNATURE- -- 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 -- 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] Wobbly Window Option
On Fri, Jan 20, 2012 at 2:07 PM, Joel Madero jmadero@gmail.com wrote: Could code be taken from (and/or at least based on) the ecomorph wobbly windows? Can you direct me to the packages that would have to be looked at alongside edje?? I'm going to investigate, no promises, but I've been looking for a programming project, this could be it. If any other programmer out there is interested in helping, feel free to email me No, you can't. Ecomorph does it using compiz, that talks opengl directly. We have layers, that usually help a lot... but also makes the process of adding new features much more complicated as you need to think a lot how to make it fit without creating unsustainable aliens. To add mesh support you'd have to change Evas, particularly the map feature. It was tried before, almost worked but at the end was aborted. With evas, there are its engines... including software fallback. Then you need to expose this in Edje, as Raster said. -- 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] eve: another patch for deprecated APIs
On 01/20/2012 10:50 AM, Martin Jansa wrote: attached Applied. Thanks. 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
[E-devel] eina_value is failing on Windows
hey first, i think that alloca.h is not needed anymore (no alloca call). On the other hand, malloc is used, hence stdlib.h should be included instead. About the error: EINA_VALUE_TYPE_DISPATCH_RETURN(value, vset, EINA_ERROR_VALUE_FAILED, EINA_FALSE, mem, args); error : Eina_Value' has no member named 'vset that error is displayed twice. I have similar other errors Vincent -- 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
Re: [E-devel] eina_value is failing on Windows
2012/1/21 Vincent Torri vincent.to...@gmail.com: hey first, i think that alloca.h is not needed anymore (no alloca call). On the other hand, malloc is used, hence stdlib.h should be included instead. About the error: EINA_VALUE_TYPE_DISPATCH_RETURN(value, vset, EINA_ERROR_VALUE_FAILED, EINA_FALSE, mem, args); error : Eina_Value' has no member named 'vset That was my mistake but I already fixed it. that error is displayed twice. I have similar other errors Vincent -- 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 -- 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