Re: [E-devel] EFL Windows installer
On Sat, 12 Feb 2011 11:18:01 +0100 (CET) Vincent Torri said: got a q... whats the status of elm on windows? does it work? (i guess in theory it should) > > Hey > > For those interested in the EFL on Windows, here is a newer installer: > > http://www.maths.univ-evry.fr/pages_perso/vtorri/files/Efl-1.0.0.exe > > It's post 1.0 contrary to what the name says. Reports any problem you can > find with it. Libraries that are provided: > > eina to edje + elementary and expedite. > > Note that I compiled without debug symbols. > > thanks > > Vincent > > -- > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > ___ > 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 -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL Windows installer
On Wed, 11 May 2011, Carsten Haitzler (The Rasterman) wrote: > On Sat, 12 Feb 2011 11:18:01 +0100 (CET) Vincent Torri > said: > > got a q... whats the status of elm on windows? does it work? (i guess in > theory > it should) elementary_test works for a lot of tests. Some images have a hard coded path, so for the tests that use those images, it's not "working". for the optional features: * efreet : efreet can be used to load some fdo icons (like the Tango ones) * edbus/ethumb: i can't manage to make dbus working on Windows and the dbus dev don't help me. * weather : never tried to compile libeweather on Windows * quick launch : i don't know if it's possible to have something similar on Windows devices. Why, btw ? :-) Vincent >> Hey >> >> For those interested in the EFL on Windows, here is a newer installer: >> >> http://www.maths.univ-evry.fr/pages_perso/vtorri/files/Efl-1.0.0.exe >> >> It's post 1.0 contrary to what the name says. Reports any problem you can >> find with it. Libraries that are provided: >> >> eina to edje + elementary and expedite. >> >> Note that I compiled without debug symbols. >> >> thanks >> >> Vincent >> >> -- >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> ___ >> 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 > > -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL Windows installer
On Wed, 11 May 2011 09:59:25 +0200 (CEST) Vincent Torri said: > > > On Wed, 11 May 2011, Carsten Haitzler (The Rasterman) wrote: > > > On Sat, 12 Feb 2011 11:18:01 +0100 (CET) Vincent Torri > > said: > > > > got a q... whats the status of elm on windows? does it work? (i guess in > > theory it should) > > elementary_test works for a lot of tests. Some images have a hard coded > path, so for the tests that use those images, it's not "working". aaah sure. thats an elm test issue. i added proper prefix support to eina and elm now so i CAN make it relocatable properly. but elm itself works. cool. > for the optional features: > > * efreet : efreet can be used to load some fdo icons (like the Tango > ones) ok. so it works? > * edbus/ethumb: i can't manage to make dbus working on Windows and the > dbus dev don't help me. no problem. thus its an optional feature :) > * weather : never tried to compile libeweather on Windows don;'t worry about that. :) > * quick launch : i don't know if it's possible to have something > similar on Windows devices. don't worry about that either :) > Why, btw ? :-) someone asked what the status is. :) since i have no windows box on or windows dev env up... i have no clue but to ask the king of windows efl fun -> you. :) > Vincent > > >> Hey > >> > >> For those interested in the EFL on Windows, here is a newer installer: > >> > >> http://www.maths.univ-evry.fr/pages_perso/vtorri/files/Efl-1.0.0.exe > >> > >> It's post 1.0 contrary to what the name says. Reports any problem you can > >> find with it. Libraries that are provided: > >> > >> eina to edje + elementary and expedite. > >> > >> Note that I compiled without debug symbols. > >> > >> thanks > >> > >> Vincent > >> > >> -- > >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > >> Pinpoint memory and threading errors before they happen. > >> Find and fix more than 250 security defects in the development cycle. > >> Locate bottlenecks in serial and parallel code that limit performance. > >> http://p.sf.net/sfu/intel-dev2devfeb > >> ___ > >> 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 > > > > > -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E17 students making modules
On Wed, 11 May 2011 08:33:51 +0200 Cedric BAIL said: you really shouldn't be using system and edje_cc here. you are using edje simply where it's not needed. just create an image object yourself and move/resize it as you need/want and set the file to use. that's about it. it's much less complicated and does PRECISELY what you want. if you use the evas image preload system and delay showing the object until the preloaded callback is called, you'll also load the image in the background and never block the ui thread loading big images from disk. > On Tue, May 10, 2011 at 3:53 PM, Daniel Juyung Seo > wrote: > > I don't know why it freezes, but why you run edje_cc repeatedly? > > It just freeze because system is not an asynchronous call. So each > time it run, it lock. You should seriously change the way you are > using edje ! Edje_cc should be used for data know at compilation, not > at runtime. Sounds wrong to me. > > > edje_cc is a compiler and it compiles edc text file to edj binary file. > > Just run it once, before you distribute your program. > > > Thanks. > > > > Daniel Juyung Seo (SeoZ) > > > > On Mon, May 9, 2011 at 4:39 AM, Quentin Gibeaux > > wrote: > >> Hello everyone ! > >> > >> Thanks a lot for your answers, it really helped us. > >> We are going in step by step, for now we are juste trying to design a > >> module able to load every x seconds the same picture, and to display it. > >> So we created an Ecore_timer to compile the edc that links to the image, > >> and then to load the resulting edj into the Evas_Object of the module. > >> We wrote the function, called by the timer : > >> > >> static Eina_Bool _picture_check(void *data) > >> { > >> printf("call of the timer fonction\n"); > >> Instance *inst; > >> Eina_List *l; > >> for (l = instances; l; l = l->next) > >> { > >> inst=l->data; > >> /*Compile edj*/ > >> system("edje_cc /X/truck.edc"); > >> /*Load the edj to display it*/ > >> edje_object_file_set(inst->o_picture, "/X/truck.edj", "icon"); > >> } > >> return EINA_TRUE; > >> } > >> > >> The result is weird. The first time this function is called, the display of > >> the module changes like expected, but it freezes too (right click doesn't > >> work, the image doesn't move when the mouse go over it). > >> The loop continues since the printf is still working, but the display can't > >> be changed again. > >> We tried to learn from the slideshow module since we are basically doing > >> the same thing, but it's quite complex for us due to the use of livethumb. > >> > >> By the way, I've got the feeling that the call to edje_cc is a wrong thing > >> to do, is it? > >> > >> In advance, thanks you very much for your help. > >> > >> Best regards, > >> > >> Jean Creusefond and Quentin Gibeaux > >> > >> 2011/5/2 Carsten Haitzler > >> > >>> On Sun, 1 May 2011 18:49:34 +0200 Quentin Gibeaux > >>> said: > >>> > >>> > Hello everyone > >>> > > >>> > We're still working on making e17 modules, and have progressed a little > >>> bit > >>> > ; for those who didn't have our previous mails here is a short > >>> presentation > >>> > of our situation : > >>> > > >>> > We are two french students working on e17 modules. > >>> > We have three projects : include the elementary clock into a module, > >>> create > >>> > a module that loads an image on a regular basis and displays it (from an > >>> > internet server or from the computer) and finally a module enabeling us > >>> to > >>> > mount and unmount encrypted volules. > >>> > >>> hmm seems odd to do these as modules when frankly they all can work as > >>> stand-alone processes. the only reason u'd want modules is: > >>> > >>> 1. save resources by re-using things e has already in memory or infra for > >>> and > >>> has already initialized etc. etc. and you need to run rarely so you won't > >>> interfere with the wm > >>> and/or > >>> 2. you really want to integrate with the wm and its functionality, look, > >>> feel > >>> etc. etc. > >>> > >>> now that i've done that... keep working on the modules. just trying to > >>> make the > >>> point for people who want to go make modules, that there is actually a > >>> right > >>> and wrong reason to make a module. modules add instability to the wm. it's > >>> like > >>> kernel modules. only make a module if u really NEED to make it a module, > >>> or.. > >>> make a module ONLY with the bits u really need as a module, the rest as a > >>> process... or.. be REALLY CAREFUL about your module code. :) > >>> > >>> > We made our first steps into the module configuration and we learned how > >>> to > >>> > basically use the edc file (we made our little "Hello world" module, > >>> > very proud). > >>> > >>> well thats not really configuration.. its just optional data files modules > >>> can > >>> use - they can do/use anything they like. edje files are just one of the > >>> things modules tend to play with. > >>> > >>> > We are currently experiencing two difficulties :
Re: [E-devel] EFL Windows installer
On Wed, 11 May 2011, Carsten Haitzler (The Rasterman) wrote: > On Wed, 11 May 2011 09:59:25 +0200 (CEST) Vincent Torri > said: > >> >> >> On Wed, 11 May 2011, Carsten Haitzler (The Rasterman) wrote: >> >>> On Sat, 12 Feb 2011 11:18:01 +0100 (CET) Vincent Torri >>> said: >>> >>> got a q... whats the status of elm on windows? does it work? (i guess in >>> theory it should) >> >> elementary_test works for a lot of tests. Some images have a hard coded >> path, so for the tests that use those images, it's not "working". > > aaah sure. thats an elm test issue. i added proper prefix support to eina and > elm now so i CAN make it relocatable properly. but elm itself works. cool. > >> for the optional features: >> >> * efreet : efreet can be used to load some fdo icons (like the Tango >> ones) > > ok. so it works? not sure right now. I was focused on eina/ecore the past few months, so i can't say for sure that it's still working. >> * edbus/ethumb: i can't manage to make dbus working on Windows and the >> dbus dev don't help me. > > no problem. thus its an optional feature :) >> * weather : never tried to compile libeweather on Windows > > don;'t worry about that. :) > >> * quick launch : i don't know if it's possible to have something >> similar on Windows devices. > > don't worry about that either :) > >> Why, btw ? :-) > > someone asked what the status is. :) since i have no windows box on or windows > dev env up... i have no clue but to ask the king of windows efl fun -> you. :) VirtualBox can help you :-) Once ecore_con is finished and eina is updated (with the last eina_lock stuff), I plan to release another installer as I greatly improved the rendering of the windows (the resize and move is sooo smooth compared to what it is in this installer :-) ) Vincent -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] evas object for polyline?
> Did you look at evas polygon object ? It should almost handle your use > case. Only the evas_object_resize isn't defined on it (so the > behaviour could be added/defined without breaking backward > compatibility). Yes, I tested the polygon but it ended up doing closed areas between points defined. What I wanted is just a kind of single line which changes it's direction in certain x,y points. Mika -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] evas object for polyline?
>> Did you look at evas polygon object ? It should almost handle your use >> case. Only the evas_object_resize isn't defined on it (so the >> behaviour could be added/defined without breaking backward >> compatibility). > > you'd have to be very careful as you have to make thick lines. the polygon obj > will, if you define the same coordinates for points in an enclosed polygon, > end > up being invisible as it's a 0 sized poly :) > > if you want to do vector stuff - use cairo and render to an image object. > that's the best way to get it done. Hmm, so instead of using evas I should just use cairo API and libs directly? What about if I want to have enlightenment widget in the end as a result. Should I then hide the cairo details under smart object API? http://ists.pl/~alias/enlightenment/docs/cookbook/ch03s03.html was the most uptodate example I found from smart object creation altought it still used "evas_smart_new" which has now been replaced with struct Evas_Smart_Class and evas_smart_class_new method. Mika -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL Windows installer
On Wed, May 11, 2011 at 10:26 AM, Vincent Torri wrote: > On Wed, 11 May 2011, Carsten Haitzler (The Rasterman) wrote: >> On Wed, 11 May 2011 09:59:25 +0200 (CEST) Vincent Torri >> said: >>> On Wed, 11 May 2011, Carsten Haitzler (The Rasterman) wrote: On Sat, 12 Feb 2011 11:18:01 +0100 (CET) Vincent Torri said: got a q... whats the status of elm on windows? does it work? (i guess in theory it should) >>> >>> elementary_test works for a lot of tests. Some images have a hard coded >>> path, so for the tests that use those images, it's not "working". >> >> aaah sure. thats an elm test issue. i added proper prefix support to eina and >> elm now so i CAN make it relocatable properly. but elm itself works. cool. >> >>> for the optional features: >>> >>> * efreet : efreet can be used to load some fdo icons (like the Tango >>> ones) >> >> ok. so it works? > > not sure right now. I was focused on eina/ecore the past few months, so i > can't say for sure that it's still working. > >>> * edbus/ethumb: i can't manage to make dbus working on Windows and the >>> dbus dev don't help me. >> >> no problem. thus its an optional feature :) >>> * weather : never tried to compile libeweather on Windows >> >> don;'t worry about that. :) >> >>> * quick launch : i don't know if it's possible to have something >>> similar on Windows devices. >> >> don't worry about that either :) >> >>> Why, btw ? :-) >> >> someone asked what the status is. :) since i have no windows box on or >> windows >> dev env up... i have no clue but to ask the king of windows efl fun -> you. >> :) > > VirtualBox can help you :-) That's a good idea, how difficult is it to use the windows dev environnement. Is it possible to just run a Makefile easily ? Just wondering how difficult it is for me to do a daily build of the windows port. > Once ecore_con is finished and eina is updated (with the last eina_lock > stuff), I plan to release another installer as I greatly improved the > rendering of the windows (the resize and move is sooo smooth compared to > what it is in this installer :-) ) Yeah ! You rock master of all evilness ! :-) -- Cedric BAIL -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] evas object for polyline?
On Wed, 2011-05-11 at 11:44 +0300, Mika Laitio wrote: > Hmm, so instead of using evas I should just use cairo API and libs directly? Cairo? -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL Windows installer
On Wed, 11 May 2011 10:26:40 +0200 (CEST) Vincent Torri said: > > > On Wed, 11 May 2011, Carsten Haitzler (The Rasterman) wrote: > > > On Wed, 11 May 2011 09:59:25 +0200 (CEST) Vincent Torri > > said: > > > >> > >> > >> On Wed, 11 May 2011, Carsten Haitzler (The Rasterman) wrote: > >> > >>> On Sat, 12 Feb 2011 11:18:01 +0100 (CET) Vincent Torri > >>> said: > >>> > >>> got a q... whats the status of elm on windows? does it work? (i guess in > >>> theory it should) > >> > >> elementary_test works for a lot of tests. Some images have a hard coded > >> path, so for the tests that use those images, it's not "working". > > > > aaah sure. thats an elm test issue. i added proper prefix support to eina > > and elm now so i CAN make it relocatable properly. but elm itself works. > > cool. > > > >> for the optional features: > >> > >> * efreet : efreet can be used to load some fdo icons (like the Tango > >> ones) > > > > ok. so it works? > > not sure right now. I was focused on eina/ecore the past few months, so i > can't say for sure that it's still working. > > >> * edbus/ethumb: i can't manage to make dbus working on Windows and the > >> dbus dev don't help me. > > > > no problem. thus its an optional feature :) > >> * weather : never tried to compile libeweather on Windows > > > > don;'t worry about that. :) > > > >> * quick launch : i don't know if it's possible to have something > >> similar on Windows devices. > > > > don't worry about that either :) > > > >> Why, btw ? :-) > > > > someone asked what the status is. :) since i have no windows box on or > > windows dev env up... i have no clue but to ask the king of windows efl fun > > -> you. :) > > VirtualBox can help you :-) i'd need to install a whole windows setup... that means a windows cd. i have an old scratched on lurking in a box somewhere maybe... XP i think. and then i'd have to actually install all the things needed to do development. that;'s a new one for me. :) > Once ecore_con is finished and eina is updated (with the last eina_lock > stuff), I plan to release another installer as I greatly improved the > rendering of the windows (the resize and move is sooo smooth compared to > what it is in this installer :-) ) hjahashahahahahhahaha -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] EFL Windows installer
On Wed, 11 May 2011, Cedric BAIL wrote: On Wed, May 11, 2011 at 10:26 AM, Vincent Torri wrote: On Wed, 11 May 2011, Carsten Haitzler (The Rasterman) wrote: On Wed, 11 May 2011 09:59:25 +0200 (CEST) Vincent Torri said: On Wed, 11 May 2011, Carsten Haitzler (The Rasterman) wrote: On Sat, 12 Feb 2011 11:18:01 +0100 (CET) Vincent Torri said: got a q... whats the status of elm on windows? does it work? (i guess in theory it should) elementary_test works for a lot of tests. Some images have a hard coded path, so for the tests that use those images, it's not "working". aaah sure. thats an elm test issue. i added proper prefix support to eina and elm now so i CAN make it relocatable properly. but elm itself works. cool. for the optional features: * efreet : efreet can be used to load some fdo icons (like the Tango ones) ok. so it works? not sure right now. I was focused on eina/ecore the past few months, so i can't say for sure that it's still working. * edbus/ethumb: i can't manage to make dbus working on Windows and the dbus dev don't help me. no problem. thus its an optional feature :) * weather : never tried to compile libeweather on Windows don;'t worry about that. :) * quick launch : i don't know if it's possible to have something similar on Windows devices. don't worry about that either :) Why, btw ? :-) someone asked what the status is. :) since i have no windows box on or windows dev env up... i have no clue but to ask the king of windows efl fun -> you. :) VirtualBox can help you :-) That's a good idea, how difficult is it to use the windows dev environnement. Is it possible to just run a Makefile easily ? Just wondering how difficult it is for me to do a daily build of the windows port. If you have a Windows box or Windows inside, the installation is easy and not complicated at all: http://trac.enlightenment.org/e/wiki/EFLWindowsXP#InstallationandconfigurationofMSYSMinGW basically, you download the mingw installer, execute it, select some options, et voila. The next step is the configuration, which is not complicated too. All the steps are described in the wiki above. For a dayly build, I use a script which upgrade from svn, compile (debug and realase mode), package it, and and NSIS script to create the installer. It's as easy as the e17 script. Vincent Once ecore_con is finished and eina is updated (with the last eina_lock stuff), I plan to release another installer as I greatly improved the rendering of the windows (the resize and move is sooo smooth compared to what it is in this installer :-) ) Yeah ! You rock master of all evilness ! :-) -- Cedric BAIL -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] evas object for polyline?
On Wed, 11 May 2011 11:44:51 +0300 Mika Laitio said: > >> Did you look at evas polygon object ? It should almost handle your use > >> case. Only the evas_object_resize isn't defined on it (so the > >> behaviour could be added/defined without breaking backward > >> compatibility). > > > > you'd have to be very careful as you have to make thick lines. the polygon > > obj will, if you define the same coordinates for points in an enclosed > > polygon, end up being invisible as it's a 0 sized poly :) > > > > if you want to do vector stuff - use cairo and render to an image object. > > that's the best way to get it done. > > Hmm, so instead of using evas I should just use cairo API and libs directly? > > What about if I want to have enlightenment widget in the end as a > result. Should I then hide the cairo details under smart object API? > > http://ists.pl/~alias/enlightenment/docs/cookbook/ch03s03.html > > was the most uptodate example I found from smart object creation > altought it still used "evas_smart_new" which has now been replaced with > struct Evas_Smart_Class and evas_smart_class_new method. what kind of enlightenment widget? elm? e17 itself? or just inside your app? -- - Codito, ergo sum - "I code, therefore I am" -- The Rasterman (Carsten Haitzler)ras...@rasterman.com -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] comp-scale module
On Sun, May 8, 2011 at 6:08 AM, Nikolas Arend wrote: > Hi, > > I'd like to patch the comp-scale module so it shows the minimized > windows as well (introducing a respective config option). I was hoping > that someone could give me a hint where to look, i.e. what parts of the > code to tackle. > comp-scale does now show all windows including iconified with scale-by-class and '*' as match. look at _scale_win_new to modify it for making it an option for other scale modes BR > Thanks in advance, > > Nick. > > -- > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] evas object for polyline?
On Wed, May 11, 2011 at 5:44 AM, Mika Laitio wrote: >>> Did you look at evas polygon object ? It should almost handle your use >>> case. Only the evas_object_resize isn't defined on it (so the >>> behaviour could be added/defined without breaking backward >>> compatibility). >> >> you'd have to be very careful as you have to make thick lines. the polygon >> obj >> will, if you define the same coordinates for points in an enclosed polygon, >> end >> up being invisible as it's a 0 sized poly :) >> >> if you want to do vector stuff - use cairo and render to an image object. >> that's the best way to get it done. > > Hmm, so instead of using evas I should just use cairo API and libs directly? > > What about if I want to have enlightenment widget in the end as a > result. Should I then hide the cairo details under smart object API? > > http://ists.pl/~alias/enlightenment/docs/cookbook/ch03s03.html > > was the most uptodate example I found from smart object creation > altought it still used "evas_smart_new" which has now been replaced with > struct Evas_Smart_Class and evas_smart_class_new method. If you google my name + cairo you're likely to find some example I wrote. Also, if you're really in the mood you can use webkit-efl code as reference (we render webkit using cairo to an evas-image) -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: tasn branches/edje-1.0/src/lib
On Wed, 11 May 2011, Enlightenment SVN wrote: > Log: > Edje text: fix issue with ellipsis causing text to disappear. changelog > > Thanks to Brian Wang for the report. > > Author: tasn > Date: 2011-05-11 04:05:21 -0700 (Wed, 11 May 2011) > New Revision: 59328 > Trac: http://trac.enlightenment.org/e/changeset/59328 > > Modified: > branches/edje-1.0/src/lib/edje_text.c > > Modified: branches/edje-1.0/src/lib/edje_text.c > === > --- branches/edje-1.0/src/lib/edje_text.c 2011-05-11 10:50:51 UTC (rev > 59327) > +++ branches/edje-1.0/src/lib/edje_text.c 2011-05-11 11:05:21 UTC (rev > 59328) > @@ -176,7 +176,7 @@ > >/* Convert uc1, uc2 -> c1, c2 */ >i = 0; > - if (uc1 > 0) > + if (uc1 >= 0) > { > c1 = 0; > for ( ; i < uc1 ; i++) > @@ -184,7 +184,7 @@ > c1 = evas_string_char_next_get(text, c1, NULL); > } > } > - if (uc2 > 0) > + if (uc2 >= 0) > { > c2 = c1; > for ( ; i < uc2 ; i++) > > > -- > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > ___ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: tasn branches/edje-1.0/src/lib
in. On Wed, 2011-05-11 at 14:19 +0200, Vincent Torri wrote: > > On Wed, 11 May 2011, Enlightenment SVN wrote: > > > Log: > > Edje text: fix issue with ellipsis causing text to disappear. > > changelog > > > > > Thanks to Brian Wang for the report. > > > > Author: tasn > > Date: 2011-05-11 04:05:21 -0700 (Wed, 11 May 2011) > > New Revision: 59328 > > Trac: http://trac.enlightenment.org/e/changeset/59328 > > > > Modified: > > branches/edje-1.0/src/lib/edje_text.c > > > > Modified: branches/edje-1.0/src/lib/edje_text.c > > === > > --- branches/edje-1.0/src/lib/edje_text.c 2011-05-11 10:50:51 UTC (rev > > 59327) > > +++ branches/edje-1.0/src/lib/edje_text.c 2011-05-11 11:05:21 UTC (rev > > 59328) > > @@ -176,7 +176,7 @@ > > > >/* Convert uc1, uc2 -> c1, c2 */ > >i = 0; > > - if (uc1 > 0) > > + if (uc1 >= 0) > > { > > c1 = 0; > > for ( ; i < uc1 ; i++) > > @@ -184,7 +184,7 @@ > > c1 = evas_string_char_next_get(text, c1, NULL); > > } > > } > > - if (uc2 > 0) > > + if (uc2 >= 0) > > { > > c2 = c1; > > for ( ; i < uc2 ; i++) > > > > > > -- > > Achieve unprecedented app performance and reliability > > What every C/C++ and Fortran developer should know. > > Learn how Intel has extended the reach of its next-generation tools > > to help boost performance applications - inlcuding clusters. > > http://p.sf.net/sfu/intel-dev2devmay > > ___ > > enlightenment-svn mailing list > > enlightenment-...@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > > > > > -- > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: devilhorns trunk/e/src/bin
On 05/11/2011 02:39 AM, s...@tango.flipp.net wrote: >> Log: >> E17: When searching for an icon in the fdo theme, if we do not find it >>in the current theme, check some fallback icon themes (so there is >>less chance of a menu item having no icon). > > Oh! This is so wrong! You completely trash the efreet cache by doing this. > All themes inherit from hicolor anyway, and Human inherits from gnome. And > if I don't remember wrong, default isn't an icon theme. > > S. > Hmm, then this needs to be fixed in elm also, because this is exactly how elm finds fdo icons also. If it is Truly wrong, then I will revert it. dh >> >> >> >> Author: devilhorns >> Date: 2011-05-10 22:06:08 -0700 (Tue, 10 May 2011) >> New Revision: 59314 >> Trac: http://trac.enlightenment.org/e/changeset/59314 >> >> Modified: >>trunk/e/src/bin/e_utils.c >> >> Modified: trunk/e/src/bin/e_utils.c >> === >> --- trunk/e/src/bin/e_utils.c2011-05-11 04:56:42 UTC (rev 59313) >> +++ trunk/e/src/bin/e_utils.c2011-05-11 05:06:08 UTC (rev 59314) >> @@ -450,8 +450,25 @@ >> size = e_icon_scale_size_get(obj); >> if (size< 16) size = 16; >> size = e_util_icon_size_normalize(size * e_scale); >> + >> path = efreet_icon_path_find(e_config->icon_theme, icon, size); >> + if (!path) >> + { >> +path = efreet_icon_path_find("default", icon, size); >> +if (!path) >> + { >> + path = efreet_icon_path_find("hicolor", icon, size); >> + if (!path) >> + { >> + path = efreet_icon_path_find("gnome", icon, size); >> + if (!path) >> +path = efreet_icon_path_find("Human", icon, size); >> + } >> + } >> + } >> + >> if (!path) return 0; >> + >> e_icon_file_set(obj, path); >> return 1; >> } -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] evas object for polyline?
wow, this is so precious documentations. why we lost all those documentations? even it's quite old, this is very helpful. any other e docs around the world? Thanks. Daniel Juyung Seo (SeoZ) On Wed, May 11, 2011 at 5:44 PM, Mika Laitio wrote: >>> Did you look at evas polygon object ? It should almost handle your use >>> case. Only the evas_object_resize isn't defined on it (so the >>> behaviour could be added/defined without breaking backward >>> compatibility). >> >> you'd have to be very careful as you have to make thick lines. the polygon >> obj >> will, if you define the same coordinates for points in an enclosed polygon, >> end >> up being invisible as it's a 0 sized poly :) >> >> if you want to do vector stuff - use cairo and render to an image object. >> that's the best way to get it done. > > Hmm, so instead of using evas I should just use cairo API and libs directly? > > What about if I want to have enlightenment widget in the end as a > result. Should I then hide the cairo details under smart object API? > > http://ists.pl/~alias/enlightenment/docs/cookbook/ch03s03.html > > was the most uptodate example I found from smart object creation > altought it still used "evas_smart_new" which has now been replaced with > struct Evas_Smart_Class and evas_smart_class_new method. > > Mika > > -- > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > ___ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] evas object for polyline?
>> http://ists.pl/~alias/enlightenment/docs/cookbook/ch03s03.html >> >> was the most uptodate example I found from smart object creation >> altought it still used "evas_smart_new" which has now been replaced with >> struct Evas_Smart_Class and evas_smart_class_new method. > > what kind of enlightenment widget? elm? e17 itself? or just inside your app? I think it would be cool to have generic "xy graph widget" like filedialogs, clocks, etc. in elementary. I assume that once done in that way, one could then re-use it on apps by creating edje file for example with editje and then setup there some default values like: - size and position - title - x-axis unit - y-axis unit - max and min x and y values - some kind of grid_size_x and grid_size_y and values to indicate grid size and sub-values shown in axises - colors used for drawing axises (r,g,b,a) - colors used for displaying caption texts (r,g,b,a) - backround image/color - array of values to show Of course it should be possible to override these values set to edje file later from the code. So you still think, I should write the graph drawing code with cairo and then try to find out example code from Barbieri howto render cairo graph to image that could be used by this widget. Mika -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] evas object for polyline?
On Wed, May 11, 2011 at 3:53 PM, Mika Laitio wrote: >>> http://ists.pl/~alias/enlightenment/docs/cookbook/ch03s03.html >>> >>> was the most uptodate example I found from smart object creation >>> altought it still used "evas_smart_new" which has now been replaced with >>> struct Evas_Smart_Class and evas_smart_class_new method. >> >> what kind of enlightenment widget? elm? e17 itself? or just inside your app? > > I think it would be cool to have generic "xy graph widget" like > filedialogs, clocks, etc. in elementary. I assume that once done in that > way, one could then re-use it on apps by creating edje file for example > with editje and then setup there some default values like: > > - size and position > - title > - x-axis unit > - y-axis unit > - max and min x and y values > - some kind of grid_size_x and grid_size_y and values to indicate grid > size and sub-values shown in axises > - colors used for drawing axises (r,g,b,a) > - colors used for displaying caption texts (r,g,b,a) > - backround image/color > - array of values to show > > Of course it should be possible to override these values set to edje > file later from the code. > > So you still think, I should write the graph drawing code with cairo and > then try to find out example code from Barbieri howto render cairo graph > to image that could be used by this widget. I just ignored that idea since 1) I don't want to be tied to cairo (anti-grain or other techs would work the same way); 2) cairo does not offer a "report what was draw so far". Point #2 there is a real problem as if you update just a part of your cairo surface (say 0,0 to 10,10), then you'll need to manually know it to call evas with updated region. This makes it impossible to merge nicely with evas that automatically renders on main loop, simply because you'd not know what was updated. I've asked cairo guys, nobody had any motivation to create such a thing. :-/ -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -- MSN: barbi...@gmail.com Skype: gsbarbieri Mobile: +55 (19) 9225-2202 -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: devilhorns trunk/e/src/bin
It doesn't break it as "will not work", but it wont work optimal. The cache is designed for use with one theme. It should be the theme designers responsibility to add theme inherits, and not e17 responsibility to show random icons. S. > Log: > E17: Revert fdo icon searching in different themes. Apparently it > breaks efreet cache (tho I saw no side effects here). > > > > Author: devilhorns > Date: 2011-05-11 06:55:22 -0700 (Wed, 11 May 2011) > New Revision: 59332 > Trac: http://trac.enlightenment.org/e/changeset/59332 > > Modified: > trunk/e/src/bin/e_utils.c > > Modified: trunk/e/src/bin/e_utils.c > === > --- trunk/e/src/bin/e_utils.c 2011-05-11 12:24:13 UTC (rev 59331) > +++ trunk/e/src/bin/e_utils.c 2011-05-11 13:55:22 UTC (rev 59332) > @@ -452,21 +452,6 @@ > size = e_util_icon_size_normalize(size * e_scale); > > path = efreet_icon_path_find(e_config->icon_theme, icon, size); > - if (!path) > - { > -path = efreet_icon_path_find("default", icon, size); > -if (!path) > - { > - path = efreet_icon_path_find("hicolor", icon, size); > - if (!path) > - { > - path = efreet_icon_path_find("gnome", icon, size); > - if (!path) > -path = efreet_icon_path_find("Human", icon, size); > - } > - } > - } > - > if (!path) return 0; > > e_icon_file_set(obj, path); > > > -- > Achieve unprecedented app performance and reliability > What every C/C++ and Fortran developer should know. > Learn how Intel has extended the reach of its next-generation tools > to help boost performance applications - inlcuding clusters. > http://p.sf.net/sfu/intel-dev2devmay > ___ > enlightenment-svn mailing list > enlightenment-...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: devilhorns trunk/e/src/bin
> On 05/11/2011 02:39 AM, s...@tango.flipp.net wrote: >>> Log: >>> E17: When searching for an icon in the fdo theme, if we do not find it >>>in the current theme, check some fallback icon themes (so there is >>>less chance of a menu item having no icon). >> >> Oh! This is so wrong! You completely trash the efreet cache by doing >> this. >> All themes inherit from hicolor anyway, and Human inherits from gnome. >> And >> if I don't remember wrong, default isn't an icon theme. >> >> S. >> > Hmm, then this needs to be fixed in elm also, because this is exactly > how elm finds fdo icons also. Sure? I did fix it there some time ago. Search for theme on initial icon lookup, and then stick to this theme. S. -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: devilhorns trunk/e/src/bin
On 05/11/2011 04:01 PM, s...@tango.flipp.net wrote: >> On 05/11/2011 02:39 AM, s...@tango.flipp.net wrote: Log: E17: When searching for an icon in the fdo theme, if we do not find it in the current theme, check some fallback icon themes (so there is less chance of a menu item having no icon). >>> >>> Oh! This is so wrong! You completely trash the efreet cache by doing >>> this. >>> All themes inherit from hicolor anyway, and Human inherits from gnome. >>> And >>> if I don't remember wrong, default isn't an icon theme. >>> >>> S. >>> >> Hmm, then this needs to be fixed in elm also, because this is exactly >> how elm finds fdo icons also. > > Sure? I did fix it there some time ago. Search for theme on initial icon > lookup, and then stick to this theme. > > S. > A so you did. May help if my elm svn was current huh ? ;) Sorry for the noise. dh > > -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
Re: [E-devel] E SVN: devilhorns trunk/e/src/bin
On 05/11/2011 03:57 PM, s...@tango.flipp.net wrote: > It doesn't break it as "will not work", but it wont work optimal. I see. So not an "actual" breakage (in that code stopped working) ... good to know :) dh The > cache is designed for use with one theme. It should be the theme designers > responsibility to add theme inherits, and not e17 responsibility to show > random icons. > > S. > >> Log: >> E17: Revert fdo icon searching in different themes. Apparently it >>breaks efreet cache (tho I saw no side effects here). >> >> >> >> Author: devilhorns >> Date: 2011-05-11 06:55:22 -0700 (Wed, 11 May 2011) >> New Revision: 59332 >> Trac: http://trac.enlightenment.org/e/changeset/59332 >> >> Modified: >>trunk/e/src/bin/e_utils.c >> >> Modified: trunk/e/src/bin/e_utils.c >> === >> --- trunk/e/src/bin/e_utils.c2011-05-11 12:24:13 UTC (rev 59331) >> +++ trunk/e/src/bin/e_utils.c2011-05-11 13:55:22 UTC (rev 59332) >> @@ -452,21 +452,6 @@ >> size = e_util_icon_size_normalize(size * e_scale); >> >> path = efreet_icon_path_find(e_config->icon_theme, icon, size); >> - if (!path) >> - { >> -path = efreet_icon_path_find("default", icon, size); >> -if (!path) >> - { >> - path = efreet_icon_path_find("hicolor", icon, size); >> - if (!path) >> - { >> - path = efreet_icon_path_find("gnome", icon, size); >> - if (!path) >> -path = efreet_icon_path_find("Human", icon, size); >> - } >> - } >> - } >> - >> if (!path) return 0; >> >> e_icon_file_set(obj, path); >> -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel