logo       

Re: cached messages, persistent vfolder state, unfinished patch: msg#00181

gnome.evolution.devel

Subject: Re: cached messages, persistent vfolder state, unfinished patch

On Thu, 2004-05-20 at 02:18, Not Zed wrote:
> Whilst looking at http://bugzilla.ximian.com/show_bug.cgi?id=58388 i
> started down the path of 'i wonder if we could keep the message around
> in the vfolder if its busy', and came up with the following patch.
>
> Then of course i realised 'duh that wont help, the message isn't in
> use, only the uid is'. Although there are related bugs like 'messages
> vanishes from vfolder and vanishes from popup view too' (although for
> some strange reason, that appears not to be the case anymore).
>
> It could be an interesting idea, although it can't go in yet without a
> lot of changes.
>
> This is because a change like this makes messages memory-persistent
> singleton instances rather than being loaded every time you access
> one. Which means any changes, like is used to generate replies and so
> forth would reflected in all copies, and you would also need non-const
> accessors for all the fields to avoid races, etc.

we might also need/want something to dup the message if we actually plan
on modifying it.

anyways, I'm too nervous about putting in a change like this for 2.0,
tho a later version I'd be ok with working it in.

Jeff

_______________________________________________
evolution-hackers maillist - evolution-hackers@xxxxxxxxxxxxxxxx
http://lists.ximian.com/mailman/listinfo/evolution-hackers



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise