Re: [E-devel] imlib2 caching can fail

2011-03-20 Thread The Rasterman
On Sun, 20 Mar 2011 18:21:44 +0100 "Kim Woelders" said: well that was kind of my point :) it's broken currently in 1 situation (file modified within the same second). checking for size and inode number MAY also help as writing a new file may use a new inode and be of different size, so it's "less

Re: [E-devel] imlib2 caching can fail

2011-03-20 Thread Kim Woelders
Umm... my suggestion doesn't break anything... but it doesn't fix the issue at hand :) I have committed the obvious correction (test time stamp equality, not greater than). I think the only way to make further improvements is to use sub-second time info when available, as raster suggests. I

Re: [E-devel] imlib2 caching can fail

2011-03-18 Thread The Rasterman
On Thu, 17 Mar 2011 11:51:33 +0100 "Jesper Saxtorph" said: the problem is - you are BOTH right and BOTH things break something. suggestion. use things OTHEr than modified timestamp for comparisons. ie timestamp must EXACTLY match for caching (== not >=), ANd size, and mode, and uid and gid, inode

Re: [E-devel] imlib2 caching can fail

2011-03-17 Thread Jesper Saxtorph
> -Original Message- > From: Kim Woelders [mailto:k...@woelders.dk] > Sent: 17. marts 2011 00:40 > To: enlightenment-devel@lists.sourceforge.net; Jesper Saxtorph > Subject: Re: [E-devel] imlib2 caching can fail > > On Sat, 12 Mar 2011 13:36:07 +0100, Jesper Saxtorp

Re: [E-devel] imlib2 caching can fail

2011-03-16 Thread Kim Woelders
n Haitzler >> > Cc: enlightenment-devel@lists.sourceforge.net; Jesper Saxtorph >> > Subject: Re: [E-devel] imlib2 caching can fail >> > >> > On Thu, 10 Mar 2011 10:31:32 +0100, Carsten Haitzler >> > >> > wrote: >> > > On Sun, 06 Mar 2011 0

Re: [E-devel] imlib2 caching can fail

2011-03-12 Thread Jesper Saxtorph
On Friday 11 March 2011, 18:13:20, Jesper Saxtorph wrote: > > -Original Message- > > From: Kim Woelders [mailto:k...@woelders.dk] > > Sent: 10. marts 2011 20:52 > > To: Carsten Haitzler > > Cc: enlightenment-devel@lists.sourceforge.net; Jesper Saxtorph >

Re: [E-devel] imlib2 caching can fail

2011-03-11 Thread Jesper Saxtorph
> -Original Message- > From: Kim Woelders [mailto:k...@woelders.dk] > Sent: 10. marts 2011 20:52 > To: Carsten Haitzler > Cc: enlightenment-devel@lists.sourceforge.net; Jesper Saxtorph > Subject: Re: [E-devel] imlib2 caching can fail > > On Thu, 10 Mar 2011

Re: [E-devel] imlib2 caching can fail

2011-03-10 Thread Kim Woelders
On Thu, 10 Mar 2011 10:31:32 +0100, Carsten Haitzler wrote: > On Sun, 06 Mar 2011 07:49:59 +0100 "Kim Woelders" said: > >> On Thu, 03 Mar 2011 15:46:15 +0100, Jesper Saxtorph >> wrote: >> >> > I have just submitted a bugraport + a patch on trac (bug #716). >> > >> > I just wanted to notifify

Re: [E-devel] imlib2 caching can fail

2011-03-10 Thread The Rasterman
On Sun, 06 Mar 2011 07:49:59 +0100 "Kim Woelders" said: > On Thu, 03 Mar 2011 15:46:15 +0100, Jesper Saxtorph > wrote: > > > I have just submitted a bugraport + a patch on trac (bug #716). > > > > I just wanted to notifify it here also as I do not know the > > enlightenment community and how

Re: [E-devel] imlib2 caching can fail

2011-03-09 Thread Jesper Saxtorph
> -Original Message- > From: Kim Woelders [mailto:k...@woelders.dk] > Sent: 6. marts 2011 07:50 > To: enlightenment-devel@lists.sourceforge.net; Jesper Saxtorph > Subject: Re: [E-devel] imlib2 caching can fail > > On Thu, 03 Mar 2011 15:46:15 +0100, Jesper Saxtorph &g

Re: [E-devel] imlib2 caching can fail

2011-03-05 Thread Kim Woelders
On Thu, 03 Mar 2011 15:46:15 +0100, Jesper Saxtorph wrote: > I have just submitted a bugraport + a patch on trac (bug #716). > > I just wanted to notifify it here also as I do not know the > enlightenment community and how it works. > Either is fine. > To repeat my bug report: > "I use imlib2

[E-devel] imlib2 caching can fail

2011-03-03 Thread Jesper Saxtorph
I have just submitted a bugraport + a patch on trac (bug #716). I just wanted to notifify it here also as I do not know the enlightenment community and how it works. To repeat my bug report: "I use imlib2 as a image library in a project. However the use we have sometimes tricker a situation where