-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> About non working plugins, 1.5.1 is a development version, we can break
>> plugins once and a while. So do not expect that all 1.4.3 plugins work
>> on
>> 1.5.1 (most do work, but no guarantees).
>
>
> The "windows" plugin doesn't work with current v1.5.1 [cvs]. It returns
> the error message below. When disabled, things work as expected. Just
> letting you know.
>
> Sincerly,
> Fredrik.
>
>
> ERROR : Bad or malformed request.
> Query: FETCH 0 (FLAGS BODYSTRUCTURE)
> Server responded: Bogus sequence in UID FETCH
>

Not much I can do about that. The problem was the vague manner we cached
messages. We used $msgs and $msort and they contain different information
dependent of the sorting method. Probably the windows plugin makes use of
that.

I'm not completely satisfied how we do it now but at least we use the same
array. What I have in mind is cache the uid's per mailbox (probably with a
configurable amount of mailboxes to cache so that we can keep the sessions
small. I.e. 5 mailboxs with a timestamp so that we can delete the oldest
when we select a new mailbox.

The list with cached headers should be only cached for the selected
mailbox. At this moment we only cache the number of messages displayed on
your screen and throw away those messages after we hit the paginator.

We could modify that and cache more pages and make it work the same way as
the uid cache (shift register). We validate the cache by checking the
exists, uidvalidity and uidnext value of a mailbox so we throw away the
cache after a change in the mailbox. In case of delete we should manually
change the status info so that we do not invalidate the cached headers
because of the change in the exists number.

But that's something for later or for others to implement ;)

Regards,

Marc Groot Koerkamp.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFAr2FeCwjZQiH6FjwRAnu3AKDVM+VwsEah1TooPRIbPDxXwkXdhwCg0bc5
HJ4rO2fNqYKPSG4nsKtlt9E=
=Kh1v
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id66&op=click
--
squirrelmail-users mailing list
List Address: [EMAIL PROTECTED]
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id)95
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to