Re: [E-devel] question about optimisation

2008-12-13 Thread Joerg Sonnenberger
On Sat, Dec 13, 2008 at 10:25:13PM +0100, Vincent Torri wrote: > Well, maybe you don't know, but the mingw32ce compiler is for the Windows > CE port. So the processors are usually arm type ones (like the Intel > XScale ones). Also there is a dicision and a modulo operations. Many CPUs also have

Re: [E-devel] question about optimisation

2008-12-13 Thread Vincent Torri
On Sat, 13 Dec 2008, Joerg Sonnenberger wrote: > On Sat, Dec 13, 2008 at 07:52:52PM +0100, Vincent Torri wrote: >>> + milli_sec = (int)GetTickCount() - _evil_time_millisecond; >>> + tp->tv_sec = _evil_time_second + milli_sec / 1000; >>> + tp->tv_usec = (milli_sec % 1000) * 1000; >> >> woul

Re: [E-devel] question about optimisation

2008-12-13 Thread Joerg Sonnenberger
On Sat, Dec 13, 2008 at 07:52:52PM +0100, Vincent Torri wrote: > > + milli_sec = (int)GetTickCount() - _evil_time_millisecond; > > + tp->tv_sec = _evil_time_second + milli_sec / 1000; > > + tp->tv_usec = (milli_sec % 1000) * 1000; > > would it be better that I write the following: [snap bran

[E-devel] question about optimisation

2008-12-13 Thread Vincent Torri
hey, I did that code for gettimeofday() for mingw32ce: > + milli_sec = (int)GetTickCount() - _evil_time_millisecond; > + tp->tv_sec = _evil_time_second + milli_sec / 1000; > + tp->tv_usec = (milli_sec % 1000) * 1000; would it be better that I write the following: if (milli_sec < 1000) {

Re: [E-devel] [Patch] Ecore_Desktop fix

2008-12-13 Thread thomasg
On Sat, Dec 13, 2008 at 3:43 PM, thomasg wrote: > On Sat, Dec 13, 2008 at 4:18 AM, Nick Hughart wrote: > >> A better patch would be to remove it completely. None of the code is >> useful anymore and efreet_desktop is far better. >> > > Ok. Patch 1 removes Ecore_Desktop from autoconf/automake, P

Re: [E-devel] [Patch] Ecore_Desktop fix

2008-12-13 Thread thomasg
On Sat, Dec 13, 2008 at 4:18 AM, Nick Hughart wrote: > A better patch would be to remove it completely. None of the code is > useful anymore and efreet_desktop is far better. > Ok. Patch 1 removes Ecore_Desktop from autoconf/automake, Patch 2 does the same but aditinally removes it completely f

Re: [E-devel] Swallowing an image in an edje part

2008-12-13 Thread Vincent Pomageot
You're right ! Working perfectly now ! I was associating my image with the canvas... that couldn't work.. Thanks a lot ! 2008/12/13 Gustavo Sverzut Barbieri > On Sat, Dec 13, 2008 at 9:04 AM, Vincent Pomageot > wrote: > > Thanks for your answer Gustavo ! > > I've tried the new evas_object_image

Re: [E-devel] FOSDEM IRC meeting Thursday 2008-12-11 at 19:30 UTC

2008-12-13 Thread Cedric BAIL
On Sat, Dec 13, 2008 at 2:21 PM, Cedric BAIL wrote: > On Thu, Dec 11, 2008 at 8:27 AM, Massimiliano Calamelli > wrote: >> On Tue, 9 Dec 2008 19:44:11 +0100 >> "Nicolas Aguirre" wrote: >>> The ninth FOSDEM is a two-day event organized by volunteers to promote >>> the widespread use of Free and Op

Re: [E-devel] FOSDEM IRC meeting Thursday 2008-12-11 at 19:30 UTC

2008-12-13 Thread Cedric BAIL
On Thu, Dec 11, 2008 at 8:27 AM, Massimiliano Calamelli wrote: > On Tue, 9 Dec 2008 19:44:11 +0100 > "Nicolas Aguirre" wrote: >> The ninth FOSDEM is a two-day event organized by volunteers to promote >> the widespread use of Free and Open Source software. FOSDEM take place >> in Brussels, Belgium

Re: [E-devel] Swallowing an image in an edje part

2008-12-13 Thread Gustavo Sverzut Barbieri
On Sat, Dec 13, 2008 at 9:04 AM, Vincent Pomageot wrote: > Thanks for your answer Gustavo ! > I've tried the new evas_object_image_filled_add() and it works well I > think... for someone who want to fill the complete evas canvas with an image > and resize it when one or the other is resized. > Wha

Re: [E-devel] Swallowing an image in an edje part

2008-12-13 Thread Vincent Pomageot
Thanks for your answer Gustavo ! I've tried the new evas_object_image_filled_add() and it works well I think... for someone who want to fill the complete evas canvas with an image and resize it when one or the other is resized. What I wanted to do was to fill the part:swallow with my image in order