[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Re: wooo corruption
From:       Stefan Taferner <taferner () salzburg ! co ! at>
Date:       2000-03-27 9:32:12
[Download RAW message or body]

On Sun, 26 Mar 2000, Don Sanders wrote:
> Hopefully you can keep on thinking about the search dialog. I think we will
> need an extra level of abstraction for background searching. Basically we
> need a folder iterator that iterates over messages in a folder. It has to
> be 'event safe', so when another part of KMail deletes/adds messages to a
> folder, or even deletes a folder the iterator still has to return sensible
> results. This will require editing the kmfolder code (and perhaps the
> kmfoldermgr code) but not much else.
>
> If the search dialog finds a match then it should store the KMMsgBase
> rather than the message number, this way you can use KMFolder::find to
> refind the message.
>
> Actually now I think about it this should not be too hard. Anyway if in 6
> weeks time or so you can check in a blocking version of the search dialog
> that uses KMFolder's rather than searching the raw folder file on disk (I
> don't know which way you planned to do it) then it shouldn't be too hard to
> make it fairly non-blocking.

Please wait a bit with the non-blocking code. I will try to get the IMAP
groundwork -- I talked about in my previous mail -- out of the door in the
next weeks, then things will be a bit different (but hopefully more flexible).

--Stefan

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic