Re: [E-devel] KISS game example

2010-11-19 Thread Bruno Dilly
On Mon, Nov 15, 2010 at 10:39 PM, Gustavo Sverzut Barbieri
 wrote:
> Just to bring up  this thread again. Anyone else did code about it?
>
> I know my is still ugly and need s proper images, Anyone willing to
> help with that? It's an easy and fun task.
>
> If anyone else wrote code for it, please add references to the wiki
> page. I just added a mail-archive link to my previous mail. I'm also
> thinking of a DEMOS/ folder in svn to make it easier for people to
> find. Danielle, I know you have some code, could you put it there?
>

I've added an egames folder with the game I'm developing.
I prefer to use a folder with the name "games" instead of "demos" to
avoid the idea of keeping simple pieces of code that displays moving
rectangles and nothing else. Would be much better if we keep playable,
enjoyable games, instead.

Btw, I've talked to lfelipe and we will try to do a game hacking day
on Sunday. We will be communicating via irc at #edevelop, everybody
else is invited =)

> BR,
>
>
> On Sat, Oct 2, 2010 at 11:18 PM, Gustavo Sverzut Barbieri
>  wrote:
>> how about the attachment?
>>
>> gcc -o jump-slide-penguin jump-slide-penguin.c `pkg-config --cflags
>> --libs elementary`
>> edje_cc jump-slide-penguin.edc
>> ./jump-slide-penguin
>>
>> pretend there are nice graphics! ;-)
>>
>> On Sat, Oct 2, 2010 at 11:15 PM, Gustavo Sverzut Barbieri
>>  wrote:
>>> Hey,
>>>
>>> Today I took some time to have coding fun and based on [1] I did the
>>> code for a simplistic clone of [2]. It has around 600 lines of C plus
>>> 615 of edje (just rectangles so far), and is an endless game play as
>>> it constructs the levels on the fly based on some constraints.
>>>
>>> It handles touch screen or keyboard controls and shows a simple status
>>> (level, elapsed time and score).
>>>
>>> The game is super simple, with 2 actions: jump and slide. The goal is
>>> to avoid obstacles and get as many coins as possible. Be aware that
>>> you have regular coins, extra bonus coins and fake coins that will
>>> subtract you points. You die when you hit an obstacle or when you run
>>> out of points due fake coins.
>>>
>>> The coins and obstacles are dynamically created based on EDJ:
>>> tile// (type = regular/jump/slide) and coin//
>>> (type = regular/extra/fake). You can add as many different entries as
>>> you wish, it will help the game play be more interesting.
>>>
>>> At this lines-of-code count it do serve as a good tutorial, but it
>>> would be better to have some graphics to make it more interesting.
>>> I'll do it later tomorrow if nobody send me any fancy drawings before
>>> it.
>>>
>>> Later extension points could be:
>>>   - sounds (libcanbera is a nice way to get them)
>>>   - save highest scores
>>>   - double jump with stuff that needs it (coins or bigger obstacles)
>>>   - segment the type of coins and obstacles, adding a level prefix to
>>> them and thus allowing new stuff for new levels
>>>   - send elapsed time + level to background so we can change time of
>>> the day (nigh/day) and even weather (winter,summer), making it more
>>> fun.
>>>
>>> Anyone interested in turning this into a tutorial, wiki or something like 
>>> that?
>>>
>>> [1] http://trac.enlightenment.org/e/wiki/KISS-DemosAndGames
>>> [2] http://itunes.apple.com/br/app/dash-dash-pengy-ex/id375723113?mt=8
>>>
>>> --
>>> Gustavo Sverzut Barbieri
>>> http://profusion.mobi embedded systems
>>> --
>>> MSN: barbi...@gmail.com
>>> Skype: gsbarbieri
>>> Mobile: +55 (19) 9225-2202
>>>
>>
>>
>>
>> --
>> Gustavo Sverzut Barbieri
>> http://profusion.mobi embedded systems
>> --
>> MSN: barbi...@gmail.com
>> Skype: gsbarbieri
>> Mobile: +55 (19) 9225-2202
>>
>
>
>
> --
> Gustavo Sverzut Barbieri
> http://profusion.mobi embedded systems
> --
> MSN: barbi...@gmail.com
> Skype: gsbarbieri
> Mobile: +55 (19) 9225-2202
>
> --
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.ne

Re: [E-devel] KISS game example

2010-11-19 Thread Mike Blumenkrantz
On Fri, 19 Nov 2010 06:06:32 -0200
Bruno Dilly  wrote:

> On Mon, Nov 15, 2010 at 10:39 PM, Gustavo Sverzut Barbieri
>  wrote:
> > Just to bring up  this thread again. Anyone else did code about it?
> >
> > I know my is still ugly and need s proper images, Anyone willing to
> > help with that? It's an easy and fun task.
> >
> > If anyone else wrote code for it, please add references to the wiki
> > page. I just added a mail-archive link to my previous mail. I'm also
> > thinking of a DEMOS/ folder in svn to make it easier for people to
> > find. Danielle, I know you have some code, could you put it there?
> >
> 
> I've added an egames folder with the game I'm developing.
> I prefer to use a folder with the name "games" instead of "demos" to
> avoid the idea of keeping simple pieces of code that displays moving
> rectangles and nothing else. Would be much better if we keep playable,
> enjoyable games, instead.
> 
> Btw, I've talked to lfelipe and we will try to do a game hacking day
> on Sunday. We will be communicating via irc at #edevelop, everybody
> else is invited =)
I'll be there to umm...supervise...
> 
> > BR,
> >
> >
> > On Sat, Oct 2, 2010 at 11:18 PM, Gustavo Sverzut Barbieri
> >  wrote:
> >> how about the attachment?
> >>
> >> gcc -o jump-slide-penguin jump-slide-penguin.c `pkg-config --cflags
> >> --libs elementary`
> >> edje_cc jump-slide-penguin.edc
> >> ./jump-slide-penguin
> >>
> >> pretend there are nice graphics! ;-)
> >>
> >> On Sat, Oct 2, 2010 at 11:15 PM, Gustavo Sverzut Barbieri
> >>  wrote:
> >>> Hey,
> >>>
> >>> Today I took some time to have coding fun and based on [1] I did the
> >>> code for a simplistic clone of [2]. It has around 600 lines of C plus
> >>> 615 of edje (just rectangles so far), and is an endless game play as
> >>> it constructs the levels on the fly based on some constraints.
> >>>
> >>> It handles touch screen or keyboard controls and shows a simple status
> >>> (level, elapsed time and score).
> >>>
> >>> The game is super simple, with 2 actions: jump and slide. The goal is
> >>> to avoid obstacles and get as many coins as possible. Be aware that
> >>> you have regular coins, extra bonus coins and fake coins that will
> >>> subtract you points. You die when you hit an obstacle or when you run
> >>> out of points due fake coins.
> >>>
> >>> The coins and obstacles are dynamically created based on EDJ:
> >>> tile// (type = regular/jump/slide) and coin//
> >>> (type = regular/extra/fake). You can add as many different entries as
> >>> you wish, it will help the game play be more interesting.
> >>>
> >>> At this lines-of-code count it do serve as a good tutorial, but it
> >>> would be better to have some graphics to make it more interesting.
> >>> I'll do it later tomorrow if nobody send me any fancy drawings before
> >>> it.
> >>>
> >>> Later extension points could be:
> >>>   - sounds (libcanbera is a nice way to get them)
> >>>   - save highest scores
> >>>   - double jump with stuff that needs it (coins or bigger obstacles)
> >>>   - segment the type of coins and obstacles, adding a level prefix to
> >>> them and thus allowing new stuff for new levels
> >>>   - send elapsed time + level to background so we can change time of
> >>> the day (nigh/day) and even weather (winter,summer), making it more
> >>> fun.
> >>>
> >>> Anyone interested in turning this into a tutorial, wiki or something like
> >>> that?
> >>>
> >>> [1] http://trac.enlightenment.org/e/wiki/KISS-DemosAndGames
> >>> [2] http://itunes.apple.com/br/app/dash-dash-pengy-ex/id375723113?mt=8
> >>>
> >>> --
> >>> Gustavo Sverzut Barbieri
> >>> http://profusion.mobi embedded systems
> >>> --
> >>> MSN: barbi...@gmail.com
> >>> Skype: gsbarbieri
> >>> Mobile: +55 (19) 9225-2202
> >>>
> >>
> >>
> >>
> >> --
> >> Gustavo Sverzut Barbieri
> >> http://profusion.mobi embedded systems
> >> --
> >> MSN: barbi...@gmail.com
> >> Skype: gsbarbieri
> >> Mobile: +55 (19) 9225-2202
> >>
> >
> >
> >
> > --
> > Gustavo Sverzut Barbieri
> > http://profusion.mobi embedded systems
> > --
> > MSN: barbi...@gmail.com
> > Skype: gsbarbieri
> > Mobile: +55 (19) 9225-2202
> >
> > --
> > Beautiful is writing same markup. Internet Explorer 9 supports
> > standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> > Spend less time writing and  rewriting code and more time creating great
> > experiences on the web. Be a part of the beta today
> > http://p.sf.net/sfu/msIE9-sfdev2dev
> > ___
> > enlightenment-devel mailing list
> > enlightenment-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> >
> 
> --
> Beautiful is writing same markup. Internet Explorer 9 supports
> standa

[E-devel] Everything and cgroup

2010-11-19 Thread Andrea Suisani
Hi All,

I was wondering if somebody is following the on-going discussion
about exploiting the group scheduling[1] kernel feature (available
since 2.6.24) to increase "user desktop experience" (I'm not saying
that e17 is slow, on the contrary it makes bite the dust to gnome/kde
on my system :-).

Basically Mike Galbraith post a kernel patch [2] to lmkl
to implement automatic TTY-based group scheduling (see [3]
for a detailed discussion), .

In short, this patch automatically creates a group attached to each TTY
in the system. All processes with a given TTY as their controlling terminal
will be placed in the appropriate group; the group scheduling code can then
share CPU time between groups of processes as determined by their controlling
terminals.

During the aforementioned discussion Lennart Poettering post a
user space trick [4] to achieve the same behaviour without patching
the kernel.

This "trick" is simply a metter of adding 4 lines to your ~/.bashrc:

if [ "$PS1" ] ; then
 mkdir -m 0700 /cgroup/cpu/$$
 echo $$ > /cgroup/cpu/$$/tasks
fi

and add those 3 to your rc.local

mkdir -p /cgroup/cpu
mount -t cgroup cgroup /cgroup/cpu -o cpu
mkdir -m 0777 /cgroup/cpu

I've used it on my own system and I can say that it works
(if your work-flow involved quite often launching tasks
  from a terminal).

Now I'm wondering if Everything could be modified in such a way
it could take the advantages of this kernel feature, providing an
interface to the user to group tasks based on some custom criteria
or simply automatically group task based on some defaults.

Obviusly if I had the C skill to do it by myself, I would bite...
but unfortunately it's not the case :P

Andrea

[1] http://lwn.net/Articles/240474/
[2] http://thread.gmane.org/gmane.linux.kernel/1062787
[3] http://lwn.net/SubscriberLink/415740/0b54c2b876c89d3a/
[4] http://thread.gmane.org/gmane.linux.kernel/1063263




--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Everything and cgroup

2010-11-19 Thread Gustavo Sverzut Barbieri
We already have code to launch processes at lower prio, we could
easily extend to do cgroup as well

On Friday, November 19, 2010, Andrea Suisani  wrote:
> Hi All,
>
> I was wondering if somebody is following the on-going discussion
> about exploiting the group scheduling[1] kernel feature (available
> since 2.6.24) to increase "user desktop experience" (I'm not saying
> that e17 is slow, on the contrary it makes bite the dust to gnome/kde
> on my system :-).
>
> Basically Mike Galbraith post a kernel patch [2] to lmkl
> to implement automatic TTY-based group scheduling (see [3]
> for a detailed discussion), .
>
> In short, this patch automatically creates a group attached to each TTY
> in the system. All processes with a given TTY as their controlling terminal
> will be placed in the appropriate group; the group scheduling code can then
> share CPU time between groups of processes as determined by their controlling
> terminals.
>
> During the aforementioned discussion Lennart Poettering post a
> user space trick [4] to achieve the same behaviour without patching
> the kernel.
>
> This "trick" is simply a metter of adding 4 lines to your ~/.bashrc:
>
> if [ "$PS1" ] ; then
>          mkdir -m 0700 /cgroup/cpu/$$
>          echo $$ > /cgroup/cpu/$$/tasks
> fi
>
> and add those 3 to your rc.local
>
> mkdir -p /cgroup/cpu
> mount -t cgroup cgroup /cgroup/cpu -o cpu
> mkdir -m 0777 /cgroup/cpu
>
> I've used it on my own system and I can say that it works
> (if your work-flow involved quite often launching tasks
>   from a terminal).
>
> Now I'm wondering if Everything could be modified in such a way
> it could take the advantages of this kernel feature, providing an
> interface to the user to group tasks based on some custom criteria
> or simply automatically group task based on some defaults.
>
> Obviusly if I had the C skill to do it by myself, I would bite...
> but unfortunately it's not the case :P
>
> Andrea
>
> [1] http://lwn.net/Articles/240474/
> [2] http://thread.gmane.org/gmane.linux.kernel/1062787
> [3] http://lwn.net/SubscriberLink/415740/0b54c2b876c89d3a/
> [4] http://thread.gmane.org/gmane.linux.kernel/1063263
>
>
>
>
> --
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--
MSN: barbi...@gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Everything and cgroup

2010-11-19 Thread Andrea Suisani
Hi Gustavo,

On 11/19/2010 11:53 AM, Gustavo Sverzut Barbieri wrote:
> We already have code to launch processes at lower prio, we could
> easily extend to do cgroup as well

Good to know !

/me going to look at actual code

Andrea

> On Friday, November 19, 2010, Andrea Suisani  wrote:
>> Hi All,
>>
>> I was wondering if somebody is following the on-going discussion
>> about exploiting the group scheduling[1] kernel feature (available
>> since 2.6.24) to increase "user desktop experience" (I'm not saying
>> that e17 is slow, on the contrary it makes bite the dust to gnome/kde
>> on my system :-).
>>
>> Basically Mike Galbraith post a kernel patch [2] to lmkl
>> to implement automatic TTY-based group scheduling (see [3]
>> for a detailed discussion), .
>>
>> In short, this patch automatically creates a group attached to each TTY
>> in the system. All processes with a given TTY as their controlling terminal
>> will be placed in the appropriate group; the group scheduling code can then
>> share CPU time between groups of processes as determined by their controlling
>> terminals.
>>
>> During the aforementioned discussion Lennart Poettering post a
>> user space trick [4] to achieve the same behaviour without patching
>> the kernel.
>>
>> This "trick" is simply a metter of adding 4 lines to your ~/.bashrc:
>>
>> if [ "$PS1" ] ; then
>>   mkdir -m 0700 /cgroup/cpu/$$
>>   echo $$>  /cgroup/cpu/$$/tasks
>> fi
>>
>> and add those 3 to your rc.local
>>
>> mkdir -p /cgroup/cpu
>> mount -t cgroup cgroup /cgroup/cpu -o cpu
>> mkdir -m 0777 /cgroup/cpu
>>
>> I've used it on my own system and I can say that it works
>> (if your work-flow involved quite often launching tasks
>>from a terminal).
>>
>> Now I'm wondering if Everything could be modified in such a way
>> it could take the advantages of this kernel feature, providing an
>> interface to the user to group tasks based on some custom criteria
>> or simply automatically group task based on some defaults.
>>
>> Obviusly if I had the C skill to do it by myself, I would bite...
>> but unfortunately it's not the case :P
>>
>> Andrea
>>
>> [1] http://lwn.net/Articles/240474/
>> [2] http://thread.gmane.org/gmane.linux.kernel/1062787
>> [3] http://lwn.net/SubscriberLink/415740/0b54c2b876c89d3a/
>> [4] http://thread.gmane.org/gmane.linux.kernel/1063263
>>
>>
>>
>>
>> --
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2&  L3.
>> Spend less time writing and  rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today
>> http://p.sf.net/sfu/msIE9-sfdev2dev
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] regarding creating a child window in elementary

2010-11-19 Thread 정석재


   Hello.


   I would like to ask about creating child window in elementary.

   I remember that elm_win_add() could recieve a parent window then it created
   a child window.

   Now, it just has parent-child relation and those are all top level windows.

   Could we create a child window in elementary?


   Thanks.

   _

 [card_samsungKor2.gif]

[card_5.gif]


   JEONG, SEOKJAE, Ph.D.
   Senior Engineer
   Mobile S/W Platform Lab.
   Digital Media & Communications R&D Center

   Digital Media & Communications Business

   SAMSUNG ELECTRONICS CO., LTD.
   Dong Suwon P.O.BOX 105,
   416, Maetan-3dong, Yeongtong-gu,

   Suwon-si, Gyeonggi-do, Korea 443-724
   TEL: +82-31-279-7078
   FAX: +82-31-279-5515
   Anycall: +82-10-3327-1972
   E-mail: seok.j.je...@samsung.com
   _


   [cid:2LL5XOK0LK7C@namo.co.kr]

   [SeenTimeChecker?do=388e53a92e1e222efd60cd90ae2b7af699e5e96e6e415f0179f3ba63
   48708318ba777c355c197185c465c2cf80a2b7ef9aba4bb3b2b5ca43ddd7e184e0604d958075
   b6b33f32d245b7f8aafe245478a5f1d21d5ebee74427cf878f9a26ce15a0]
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] KISS game example

2010-11-19 Thread Nicolas Aguirre
On Tue, Nov 16, 2010 at 1:39 AM, Gustavo Sverzut Barbieri
 wrote:
> Just to bring up  this thread again. Anyone else did code about it?
>
> I know my is still ugly and need s proper images, Anyone willing to
> help with that? It's an easy and fun task.
>
> If anyone else wrote code for it, please add references to the wiki
> page. I just added a mail-archive link to my previous mail. I'm also
> thinking of a DEMOS/ folder in svn to make it easier for people to
> find. Danielle, I know you have some code, could you put it there?
>
> BR,
>

Better than nothing, a torch lamp.

KISS,
Nicolas
--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] eet again!

2010-11-19 Thread Mike Blumenkrantz
This time it's valgrind leaks and errors!

==30933== 79 bytes in 1 blocks are definitely lost in loss record 18 of 59
==30933==at 0x4028904: malloc (vg_replace_malloc.c:236)
==30933==by 0x459EDB4: eet_decipher (eet_cipher.c:1194)
==30933==by 0x4591306: eet_read_cipher (eet_lib.c:1863)
==30933==by 0x4594DEE: eet_data_read_cipher (eet_data.c:1975)


==31687== Invalid free() / delete / delete[]
==31687==at 0x40283A4: free (vg_replace_malloc.c:366)
==31687==by 0x4591F65: eet_write_cipher (eet_lib.c:2315)
==31687==by 0x4595029: eet_data_write_cipher (eet_data.c:2048)
==31687==  Address 0x47b5d60 is 0 bytes inside a block of size 100 free'd
==31687==at 0x40283A4: free (vg_replace_malloc.c:366)
==31687==by 0x4591341: eet_read_cipher (eet_lib.c:1876)
==31687==by 0x4594DEE: eet_data_read_cipher (eet_data.c:1975)

The test programs that I sent previously should display these as well.
-- 
Mike Blumenkrantz
Zentific: Our boolean values are huge.

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] ...and eina!

2010-11-19 Thread Mike Blumenkrantz
It's possible that I may be causing this in my code, but if someone who knows
stringshare/rbtree could double check that would be great.  Calling
eina_shutdown() in my app is causing this segv:

Program received signal SIGSEGV, Segmentation fault.
0xb7ad7de9 in eina_rbtree_delete (root=0x9876123e, func=0xb7ad97b8 
<_eina_share_common_head_free>, data=0x0) at eina_rbtree.c:620
620eina_rbtree_delete(root->son[0], func, data);
(gdb) bt
#0  0xb7ad7de9 in eina_rbtree_delete (root=0x9876123e, func=0xb7ad97b8 
<_eina_share_common_head_free>, data=0x0) at eina_rbtree.c:620
#1  0xb7ad7e01 in eina_rbtree_delete (root=0x80a0100, func=0xb7ad97b8 
<_eina_share_common_head_free>, data=0x0) at eina_rbtree.c:620
#2  0xb7ad7e01 in eina_rbtree_delete (root=0x809ec70, func=0xb7ad97b8 
<_eina_share_common_head_free>, data=0x0) at eina_rbtree.c:620
#3  0xb7ada044 in eina_share_common_shutdown (_share=0xb7aeb520) at 
eina_share_common.c:682
#4  0xb7adde76 in eina_stringshare_shutdown () at eina_stringshare.c:556
#5  0xb7acfda0 in _eina_shutdown_from_desc (itr=0xb7aeae18) at eina_main.c:168
#6  0xb7ad0006 in eina_shutdown () at eina_main.c:275

-- 
Mike Blumenkrantz
Zentific: Our boolean values are huge.

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] ...and eina!

2010-11-19 Thread Mike Blumenkrantz
On Fri, 19 Nov 2010 17:30:25 -0500
Mike Blumenkrantz  wrote:

> It's possible that I may be causing this in my code, but if someone who knows
> stringshare/rbtree could double check that would be great.  Calling
> eina_shutdown() in my app is causing this segv:
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0xb7ad7de9 in eina_rbtree_delete (root=0x9876123e, func=0xb7ad97b8
> <_eina_share_common_head_free>, data=0x0) at eina_rbtree.c:620 620
> eina_rbtree_delete(root->son[0], func, data); (gdb) bt
> #0  0xb7ad7de9 in eina_rbtree_delete (root=0x9876123e, func=0xb7ad97b8
> <_eina_share_common_head_free>, data=0x0) at eina_rbtree.c:620 #1  0xb7ad7e01
> in eina_rbtree_delete (root=0x80a0100, func=0xb7ad97b8
> <_eina_share_common_head_free>, data=0x0) at eina_rbtree.c:620 #2  0xb7ad7e01
> in eina_rbtree_delete (root=0x809ec70, func=0xb7ad97b8
> <_eina_share_common_head_free>, data=0x0) at eina_rbtree.c:620 #3  0xb7ada044
> in eina_share_common_shutdown (_share=0xb7aeb520) at eina_share_common.c:682
> #4  0xb7adde76 in eina_stringshare_shutdown () at eina_stringshare.c:556 #5
> 0xb7acfda0 in _eina_shutdown_from_desc (itr=0xb7aeae18) at eina_main.c:168
> #6  0xb7ad0006 in eina_shutdown () at eina_main.c:275
> 
Forgot to mention, I added a line after each eina_rbtree_delete call while
debugging so it now looks like this which is why my line numbers will seem off:
   eina_rbtree_delete(root->son[0], func, data);
   root->son[0] = NULL;
   eina_rbtree_delete(root->son[1], func, data);
   root->son[0] = NULL;


-- 
Mike Blumenkrantz
Zentific: Our boolean values are huge.

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] [PATCH] eve cookies file support and cookie policy configuration

2010-11-19 Thread Leandro Pereira
On Tue, Nov 16, 2010 at 11:28 AM, Marco Trevisan (Treviño)
 wrote:
>
> These small patches allow a better cookie handling in eve.
>

Applied with minor tweaks.

Thanks,
  Leandro

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] regarding creating a child window in elementary

2010-11-19 Thread Dave Andreoli
2010/11/19 정석재 :
>
>
>   Hello.
>
>
>   I would like to ask about creating child window in elementary.
>
>   I remember that elm_win_add() could recieve a parent window then it created
>   a child window.
>
>   Now, it just has parent-child relation and those are all top level windows.
>
>   Could we create a child window in elementary?

Isn't  inwin what you are searching for ?
win = elm_win_inwin_add(parent)
elm_win_inwin_content_set(win, your_content_obj)
elm_win_inwin_activate(win)

This create a dialog-like window, inside the main (parent) win
... or you really want a child (separate) xwin ?

DaveMDS

>
>
>   Thanks.
>
>   _
>
> [card_samsungKor2.gif]
>
>[card_5.gif]
>
>
>   JEONG, SEOKJAE, Ph.D.
>   Senior Engineer
>   Mobile S/W Platform Lab.
>   Digital Media & Communications R&D Center
>
>   Digital Media & Communications Business
>
>   SAMSUNG ELECTRONICS CO., LTD.
>   Dong Suwon P.O.BOX 105,
>   416, Maetan-3dong, Yeongtong-gu,
>
>   Suwon-si, Gyeonggi-do, Korea 443-724
>   TEL: +82-31-279-7078
>   FAX: +82-31-279-5515
>   Anycall: +82-10-3327-1972
>   E-mail: seok.j.je...@samsung.com
>   _
>
>
>   [cid:2LL5XOK0LK7C@namo.co.kr]
>
>   [SeenTimeChecker?do=388e53a92e1e222efd60cd90ae2b7af699e5e96e6e415f0179f3ba63
>   48708318ba777c355c197185c465c2cf80a2b7ef9aba4bb3b2b5ca43ddd7e184e0604d958075
>   b6b33f32d245b7f8aafe245478a5f1d21d5ebee74427cf878f9a26ce15a0]
>
> --
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
>

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Elementary Layout confusing API

2010-11-19 Thread Dave Andreoli
Hi all !
I'm tring to use the new canned styles for the layout widget,
IMO the new macro to set standard parts use wrong names,
please follow the following code code:

// add a new layout widget
ly = elm_layout_add(parent);

// set the canned style for the layout (apps with titlebar style)
elm_layout_theme_set(ly, 'layout', 'application', 'titlebar');

// set standard parts of the layout (elm.swallow.icon,
elm.swallow.end, elm.swallow.text)
elm_layout_icon_set(ly, icon_obj);
elm_layout_end_set(ly, end_obj);
elm_layout_text_set(ly, "mytitle");

// at this point, to set the content part of the layout
(elm.swallow.content),  you expect to use:
elm_layout_content_set(ly, content_obj);

// but this doesn't work... instead you have to do:
elm_layout_content_set(ly, "elm.swallow.content", content_obj);

This is quite confusing, we should rename the elm_layout_content_set()
func or all the new macros.
Maybe the macros can be renamed to :
elm_layout_standard_[icon/end/text]_set()
elm_layout_standard_content_set()  // this is new
... 'standard' can also be 'canned' or something else

OR we can rename elm_layout_content_set() to:
elm_layout_part_set()   ??


What do you think guys? As it is now is REALLY confusing !

DaveMDS

--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] regarding creating a child window in elementary

2010-11-19 Thread Seokjae



2010. 11. 20. 오전 9:38 Dave Andreoli  작성:

> 2010/11/19 정석재 :
>> 
>> 
>>  Hello.
>> 
>> 
>>  I would like to ask about creating child window in elementary.
>> 
>>  I remember that elm_win_add() could recieve a parent window then it created
>>  a child window.
>> 
>>  Now, it just has parent-child relation and those are all top level windows.
>> 
>>  Could we create a child window in elementary?
> 
> Isn't  inwin what you are searching for ?
> win = elm_win_inwin_add(parent)
> elm_win_inwin_content_set(win, your_content_obj)
> elm_win_inwin_activate(win)
> 
It would be not a child window but an Evas object.

> This create a dialog-like window, inside the main (parent) win
> ... or you really want a child (separate) xwin ?
> 
Yes, that's what I would like to have

> DaveMDS
> 
>> 
>> 
>>  Thanks.
>> 
>>  _
>> 
>>[card_samsungKor2.gif]
>> 
>>   [card_5.gif]
>> 
>> 
>>  JEONG, SEOKJAE, Ph.D.
>>  Senior Engineer
>>  Mobile S/W Platform Lab.
>>  Digital Media & Communications R&D Center
>> 
>>  Digital Media & Communications Business
>> 
>>  SAMSUNG ELECTRONICS CO., LTD.
>>  Dong Suwon P.O.BOX 105,
>>  416, Maetan-3dong, Yeongtong-gu,
>> 
>>  Suwon-si, Gyeonggi-do, Korea 443-724
>>  TEL: +82-31-279-7078
>>  FAX: +82-31-279-5515
>>  Anycall: +82-10-3327-1972
>>  E-mail: seok.j.je...@samsung.com
>>  _
>> 
>> 
>>  [cid:2LL5XOK0LK7C@namo.co.kr]
>> 
>>  [SeenTimeChecker?do=388e53a92e1e222efd60cd90ae2b7af699e5e96e6e415f0179f3ba63
>>  48708318ba777c355c197185c465c2cf80a2b7ef9aba4bb3b2b5ca43ddd7e184e0604d958075
>>  b6b33f32d245b7f8aafe245478a5f1d21d5ebee74427cf878f9a26ce15a0]
>> 
>> --
>> Beautiful is writing same markup. Internet Explorer 9 supports
>> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
>> Spend less time writing and  rewriting code and more time creating great
>> experiences on the web. Be a part of the beta today
>> http://p.sf.net/sfu/msIE9-sfdev2dev
>> ___
>> enlightenment-devel mailing list
>> enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>> 
>> 
> 
> --
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
> ___
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-deve

--
Seokjae Jeong
Senior Engineer

SAMSUNG ELECTRONICS CO., LTD.
--


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] regarding creating a child window in elementary

2010-11-19 Thread The Rasterman
On Fri, 19 Nov 2010 12:33:25 + (GMT) 정석재  said:

create a 2nd toplevel e_win (make it override-redirect)
then ecore_x_window_reparent(second_win, first_win, x, y);
the windows here would be the x window id's, not the evas objects. get with
elm_win_xwindow_get()

beware - u cant have alpha channels and this window will be a solid
rectangle/box on top of the main win it is parented into so you can never use
object stacking, blending or anything else. you're 100% manually controlling
it. you can do this with any child window as such - even if the second win isnt
created by EFL. (eg a custom opengl rendering window).

> 
> 
>Hello.
> 
> 
>I would like to ask about creating child window in elementary.
> 
>I remember that elm_win_add() could recieve a parent window then it created
>a child window.
> 
>Now, it just has parent-child relation and those are all top level windows.
> 
>Could we create a child window in elementary?
> 
> 
>Thanks.
> 
>_
> 
>  [card_samsungKor2.gif]
> 
> [card_5.gif]
> 
> 
>JEONG, SEOKJAE, Ph.D.
>Senior Engineer
>Mobile S/W Platform Lab.
>Digital Media & Communications R&D Center
> 
>Digital Media & Communications Business
> 
>SAMSUNG ELECTRONICS CO., LTD.
>Dong Suwon P.O.BOX 105,
>416, Maetan-3dong, Yeongtong-gu,
> 
>Suwon-si, Gyeonggi-do, Korea 443-724
>TEL: +82-31-279-7078
>FAX: +82-31-279-5515
>Anycall: +82-10-3327-1972
>E-mail: seok.j.je...@samsung.com
>_
> 
> 
>[cid:2LL5XOK0LK7C@namo.co.kr]
> 
>[SeenTimeChecker?
> do=388e53a92e1e222efd60cd90ae2b7af699e5e96e6e415f0179f3ba63
> 48708318ba777c355c197185c465c2cf80a2b7ef9aba4bb3b2b5ca43ddd7e184e0604d958075
> b6b33f32d245b7f8aafe245478a5f1d21d5ebee74427cf878f9a26ce15a0]


-- 
- Codito, ergo sum - "I code, therefore I am" --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel