Hmm looks like you want to re-generate a new edj repeatedly.
Looks ok :)

It'll be better to send a file or sample code here.

Thanks.
Daniel Juyung Seo (SeoZ)

On Tue, May 10, 2011 at 10:53 PM, Daniel Juyung Seo
<seojuyu...@gmail.com> wrote:
> Hello,
> I don't know why it freezes, but why you run edje_cc repeatedly?
> 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
> <quentin.gibe...@insa-rouen.fr> 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 <ras...@rasterman.com>
>>
>>> On Sun, 1 May 2011 18:49:34 +0200 Quentin Gibeaux
>>> <quentin.gibe...@insa-rouen.fr> 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 :
>>> > -Can we use an absolute path to search images and to load it dynamically
>>>
>>> yes. just use an absolute path for the filename. done. :) but you'll need
>>> some
>>> way to get that path to the module - via its code or via some config file,
>>> configuration gui... something.
>>>
>>> > into the module (without having to restart it or enlightenment)?
>>> Currently,
>>> > we only see how to import images from the images directory (like skel
>>> does).
>>> > -On which Evas_object could we use the "elm_clock_add" function in order
>>> to
>>> > have the elementary clock to displays in the module? We tried the one
>>> into
>>> > the Instance struct (it makes e17 crash at every reload) or in the
>>> > E_Gadcon_Client into the Instance (it does nothing). So we are kinda
>>> stuck,
>>> > especially because we don't really have a clue of what are these objects
>>> > doing precisely (noobies spotted !).
>>>
>>> elm isn't currently able to be properly used from inside of e. elm pretty
>>> much
>>> expects its toplevel window is an elm window. you'll have tyo find some
>>> other
>>> way of having a clock... like write your own :) the clock module in e just
>>> uses
>>> a single edje object -t he edje object entirely does the clock itself, for
>>> example.
>>>
>>> > We would be most grateful for any help you could provide (doc we haven't
>>> > noticed, module that does this kind of staff, etc.).
>>> >
>>> > Best regards,
>>> >
>>> > Jean Creusefond and Quentin Gibeaux
>>> > Students lost in the e17's jungle
>>> >
>>> > 2011/4/4 Quentin Gibeaux <quentin.gibe...@insa-rouen.fr>
>>> >
>>> > > Yes, we've found how to specify the use of elementary in the file
>>> > > configure.ac, the linking of the library works fine now, thanks!
>>> > > We have not finished our widget yet, we're still studying the
>>> functionning
>>> > > of Elementary clock but we've some difficulties to understand how Skel
>>> > > works.
>>> > > We aren't aware of the way the different layers are working together,
>>> > > especially because we have not found a documentation for Skel.
>>> > > Is there an URL where we can find it?
>>> > >
>>> > >
>>> > > Thanks,
>>> > >
>>> > > Quentin Gibeaux and Jean Creusefond
>>> > >
>>> > >
>>> > > 2011/4/4 Carsten Haitzler <ras...@rasterman.com>
>>> > >
>>> > >> On Fri, 1 Apr 2011 19:29:02 +0200 Quentin Gibeaux
>>> > >> <quentin.gibe...@insa-rouen.fr> said:
>>> > >>
>>> > >> fixed it up now? :)
>>> > >>
>>> > >> > Hello !
>>> > >> >
>>> > >> > I am a French student in engineering, and I've chosen with a friend
>>> to
>>> > >> work
>>> > >> > out an optional project for our studies. This project consists in
>>> making
>>> > >> > three enlightenment new desktop modules. In order not to be
>>> disturbed by
>>> > >> the
>>> > >> > current development, we decided to stuck ourselves at the svn
>>> revision
>>> > >> > 54513.
>>> > >> >
>>> > >> >
>>> > >> > We started our widgets with Skel which we modify for our purposes.
>>> > >> > One of our widget has to implement the Elementary clock, but we
>>> can't
>>> > >> manage
>>> > >> > to add the linking of the Elementary library into the automatic
>>> autogen
>>> > >> > process of compiling, linking and installing of the module into E17…
>>> > >> >
>>> > >> > We've included Elementary.h into the concerned source files, and the
>>> > >> > resulting file "module.so" of the compilation does not specify any
>>> link
>>> > >> with
>>> > >> > libelementary.so, by looking with ldd. If we try to activate the
>>> module
>>> > >> in
>>> > >> > an E17 session, we've got an error message that says "elm_clock_add
>>> :
>>> > >> could
>>> > >> > not find symbol".
>>> > >> >
>>> > >> > We've tried to specify manualy the path of the libelementary.so file
>>> > >> into
>>> > >> > several environment variables such as $LIBS or $E_LIBS, but that was
>>> > >> > unsuccessful.
>>> > >> >
>>> > >> > We will be highly grateful if you would deign help us.
>>> > >> >
>>> > >> > Thanks,
>>> > >> >
>>> > >> > Quentin Gibeaux (and Jean Creusefond)
>>> > >> >
>>> > >> > PS: This is not an april fool :)
>>> > >> >
>>> > >>
>>> ------------------------------------------------------------------------------
>>> > >> > Create and publish websites with WebMatrix
>>> > >> > Use the most popular FREE web apps or write code yourself;
>>> > >> > WebMatrix provides all the features you need to develop and
>>> > >> > publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
>>> > >> > _______________________________________________
>>> > >> > 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
>>> > >>
>>> > >>
>>> > >>
>>> > >>
>>> ------------------------------------------------------------------------------
>>> > >> Create and publish websites with WebMatrix
>>> > >> Use the most popular FREE web apps or write code yourself;
>>> > >> WebMatrix provides all the features you need to develop and
>>> > >> publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
>>> > >> _______________________________________________
>>> > >> enlightenment-devel mailing list
>>> > >> enlightenment-devel@lists.sourceforge.net
>>> > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>> > >>
>>> > >
>>> > >
>>> >
>>> ------------------------------------------------------------------------------
>>> > 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
>>> >
>>>
>>>
>>> --
>>> ------------- Codito, ergo sum - "I code, therefore I am" --------------
>>> The Rasterman (Carsten Haitzler)    ras...@rasterman.com
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>>
>> ------------------------------------------------------------------------------
>> 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

Reply via email to