[E-devel] Fix selection in edje entry/evas textblock

2008-10-27 Thread Iván Briano (Sachiel)
Attached patch fixes getting selected text in an edje entry, both an infinite loop that caused a massive alloc and getting the right range of selected text. Index: src/lib/canvas/evas_object_textblock.c === --- src/lib/canvas/evas_obje

Re: [E-devel] Bind epdf

2008-10-27 Thread Vincent Torri
Hey, > I did a simple bind to the library epdf, written by Vicent Torri, using > Cython. > The bind initially have only two classes, Document and Page, is very basic, > for now only renders pdf in the evas canvas, > but finally decided post here and receive feedback. It seems that the atachd fi

Re: [E-devel] can't focus on swallowed part (Gustavo Sverzut Barbieri) (Gustavo Sverzut Barbieri)

2008-10-27 Thread dongmei zhou
hi, I think that if I use SIGNAL_EMIT to emit the signal when the whole swallowed part received the "mouse" signal but please give a suggestion on how to differ special swallowed part thanks! > hi, > > the minimum working sample of the problem and

[E-devel] [Bind para epdf] Proposta para o proximo hackfest

2008-10-27 Thread André Loureiro
Bem pessoal, Eu recentemente, aqui no projeto (INdT/Fucapi), construi um bind para library epdf, porém as funcionalidades são básicas limita-se em apenas escrever(renderizar) o documento pdf no canvas do evas, mas, enfim resolvi postar aqui o já fiz, como estamos em tempos de hackfest, seria legal

[E-devel] Bind epdf

2008-10-27 Thread André Loureiro
Hello all, I did a simple bind to the library epdf, written by Vicent Torri, using Cython. The bind initially have only two classes, Document and Page, is very basic, for now only renders pdf in the evas canvas, but finally decided post here and receive feedback. -- André Loureiro Graduando em E

Re: [E-devel] E SVN: raster trunk/e/src/modules/ibar

2008-10-27 Thread Nathan Ingersoll
We have ecore_strlcpy available for just this reason. On Mon, Oct 27, 2008 at 7:01 AM, Enlightenment SVN <[EMAIL PROTECTED]> wrote: > Log: > ok go nack to snprintf - strncpy isn't save for overruns of a buffer with 0 > termination of string here (need to add ectra code to terminate). in this >

Re: [E-devel] Efreet mime default application patch

2008-10-27 Thread Nick Hughart
This is not yet an fdo specification so I'm not going to put it in just yet. It seems to have promise and is a fairly simple format, but for now we have our own methods of choosing default applications and it is similar to how they choose as well (given the user is not making this file on thei

Re: [E-devel] Efreet mime default application patch

2008-10-27 Thread Dave Andreoli
...and the attachment ;) the patch is to be applied in the main efreet directory. Dave - "Dave Andreoli" <[EMAIL PROTECTED]> ha scritto: > Hi all > This is a relly small patch that add 2 functions to Efreet_Mime. > > EAPI const char* > efreet_mime_default_application_get(const char *mime) >

[E-devel] Efreet mime default application patch

2008-10-27 Thread Dave Andreoli
Hi all This is a relly small patch that add 2 functions to Efreet_Mime. EAPI const char* efreet_mime_default_application_get(const char *mime) EAPI void efreet_mime_default_application_set(const char *mime, const char *desktop) The _get function take a mime-type (as 'text/html') and return the

Re: [E-devel] Clipping without color mul?

2008-10-27 Thread Gustavo Sverzut Barbieri
On Mon, Oct 27, 2008 at 2:02 PM, Mikael Liljeroth <[EMAIL PROTECTED]> wrote: > evas_object_clip_set(..): > > "the resulting color for the clipped object is RESULT = (OBJ * CLIP) / (255 > * 255) per color element" > > First of all, I do not understand what this really means, if OBJ and CLIP > are 8

Re: [E-devel] [PATCH] tiny patch eina for FreeBSD

2008-10-27 Thread Sebastian Dransfeld
Joerg Sonnenberger wrote: > On Mon, Oct 27, 2008 at 11:31:19PM +0900, Naruto TAKAHASHI wrote: >> #if defined(CLOCK_PROCESS_CPUTIME_ID) && defined(__linux__) >> # define CLOCK CLOCK_PROCESS_CPUTIME_ID >> #elif defined(CLOCK_PROF) && defined(__FreeBSD__) >> # define CLOCK CLOCK_PROF >> #else >> #

[E-devel] Clipping without color mul?

2008-10-27 Thread Mikael Liljeroth
evas_object_clip_set(..): "the resulting color for the clipped object is RESULT = (OBJ * CLIP) / (255 * 255) per color element" First of all, I do not understand what this really means, if OBJ and CLIP are 8 bit values the RESULT would be between 0 and 1, so I assume that RESULT is some kind of f

Re: [E-devel] [PATCH] tiny patch eina for FreeBSD

2008-10-27 Thread Joerg Sonnenberger
On Mon, Oct 27, 2008 at 11:31:19PM +0900, Naruto TAKAHASHI wrote: > #if defined(CLOCK_PROCESS_CPUTIME_ID) && defined(__linux__) > # define CLOCK CLOCK_PROCESS_CPUTIME_ID > #elif defined(CLOCK_PROF) && defined(__FreeBSD__) > # define CLOCK CLOCK_PROF > #else > # define CLOCK CLOCK_REALTIME > #

Re: [E-devel] [PATCH] tiny patch eina for FreeBSD

2008-10-27 Thread Joerg Sonnenberger
On Mon, Oct 27, 2008 at 08:56:55AM -0500, Ravenlock wrote: > You prefer: > > #ifdef __linux__ > CLOCK_PROCESS_CPUTIME_ID > #else > CLOCK_PROF -or- CLOCK_REALTIME > #endif > > because CLOCK_PROCESS_CPUTIME_ID is not implemented on *many* platforms, > but known to linux? Either that or even #i

Re: [E-devel] evil trouble

2008-10-27 Thread Lars Munch
On Mon, Oct 27, 2008 at 01:27:12AM +0100, Vincent Torri wrote: > I had to compile the link code with g++, hence putting IID_PersistFile was > not possible (at least, i didn't succeed). So I put the code in a separate > file like Lars did. > > I've attached a patch. Please test it. It compiles co

Re: [E-devel] [PATCH] tiny patch eina for FreeBSD

2008-10-27 Thread Naruto TAKAHASHI
From: Ravenlock <[EMAIL PROTECTED]> Subject: Re: [E-devel] [PATCH] tiny patch eina for FreeBSD Date: Mon, 27 Oct 2008 08:56:55 -0500 > On 10/26/2008 07:56, Joerg Sonnenberger wrote: > > On Sat, Oct 25, 2008 at 01:18:25PM -0500, Ravenlock wrote: > >>> eina build failed on FreeBSD, so I made FreeBSD

Re: [E-devel] [PATCH] tiny patch eina for FreeBSD

2008-10-27 Thread Ravenlock
On 10/26/2008 07:56, Joerg Sonnenberger wrote: > On Sat, Oct 25, 2008 at 01:18:25PM -0500, Ravenlock wrote: >>> eina build failed on FreeBSD, so I made FreeBSD patch. >> In SVN! :) > > Please invert that patch. CLOCK_PROF is mostly present, the alternative > not. E.g. linux clock if present, other

Re: [E-devel] E SVN: raster trunk/e/src/modules/ibar

2008-10-27 Thread Vincent Torri
On Mon, 27 Oct 2008, Enlightenment SVN wrote: > - strncpy(buf, inst->ci->dir, sizeof(buf)); > + nprintf(buf, sizeof(buf), inst->ci->dir); ^ missing 's', i think Vincent - This SF.Net email is spons

Re: [E-devel] E SVN: barbieri IN trunk/evas/src/lib: . canvas

2008-10-27 Thread Gustavo Sverzut Barbieri
On Mon, Oct 27, 2008 at 8:29 AM, Jose Gonzalez <[EMAIL PROTECTED]> wrote: > Gustavo wrote: > >> On Mon, Oct 27, 2008 at 12:22 AM, Enlightenment SVN >> <[EMAIL PROTECTED]> wrote: >> >>> >>> Log: >>> add evas_object_box. >>> >>> Box is a smart object to help with the common task of laying out lots

Re: [E-devel] E SVN: barbieri IN trunk/evas/src/lib: . canvas

2008-10-27 Thread Jose Gonzalez
Gustavo wrote: > On Mon, Oct 27, 2008 at 12:22 AM, Enlightenment SVN > <[EMAIL PROTECTED]> wrote: > >> Log: >> add evas_object_box. >> >> Box is a smart object to help with the common task of laying out lots >> of objects. It's very flexibile and one can customize the layout >> function

Re: [E-devel] can't focus on swallowed part (Gustavo Sverzut Barbieri)

2008-10-27 Thread Gustavo Sverzut Barbieri
On Mon, Oct 27, 2008 at 12:55 AM, dongmei zhou <[EMAIL PROTECTED]> wrote: > hi, > > the minimum working sample of the problem and the backtrace : > > self.meeting = edje.Edje(self.ee.evas, > file=self.edje_file, >

Re: [E-devel] evil trouble

2008-10-27 Thread Vincent Torri
On Mon, 27 Oct 2008, Samuel Nicholas wrote: > compiles fine here too. ok > patch didnt apply cleanly from latest svn tho, configure.ac and makefile.am i > manually resolved yes, I know, but didn't have time this morning to fix that. > having it depend on c++ for such a small thing IMHO aint

Re: [E-devel] evil trouble

2008-10-27 Thread Samuel Nicholas
Vincent Torri wrote: > > Hey > > I had to compile the link code with g++, hence putting IID_PersistFile > was not possible (at least, i didn't succeed). So I put the code in a > separate file like Lars did. > > I've attached a patch. Please test it. It compiles correctly on my > system. > > Vinc

Re: [E-devel] E SVN: englebass trunk/e/src/bin

2008-10-27 Thread Christopher Michael
damn Seb...most all we do is format... dh Enlightenment SVN wrote: > Log: > Fix while formatting. > Author: englebass > Date: 2008-10-27 00:34:45 -0700 (Mon, 27 Oct 2008) > New Revision: 37209 > > Modified: > trunk/e/src/bin/e_fm_main.c > > Modified: trunk/e/src/bin/e_fm_main