[replying to the list as I think you didn't want to keep this secret?]

On Fri, 29 Nov 2002 08:33:34 UT [EMAIL PROTECTED] wrote:

> >  I forgot to mention that the filters are organized in a linked list.
> > They're ordered by their priority (higher the priority -- sooner the
> > filter
> > is applied) and the transparent filter is always the last one.
> Ooh a priority queue. That brings back memories. ;-)

 Yes, but here is a very simple one. Just a linked list with only one
operation: INSERT.

> >  The interesting thing is, of course, that you can have other filters as
> > well. For example, I intend to move the URL and quote level detection
> > code
> > to a separate filter. Currently the only example of the filter is a
> > Rot13Filter (in src/modules). It isn't very interesting but it at least
> > shows that the filters work.
> So it's possible to have a raw message filter aswell. I can remember that
> someone wanted that for borked outlook express messages that Mahogany
> would not display(and rightly so ;-)

 No, it can't work for this. The filters only work on text parts, so if the
message MIME structure is incorrect, they wouldn't help.

 As I said, to make "modifications" to the message structure on the fly
we'd need to either modify c-client (very undesirable) or introduce yet
another level of indirection between M and c-client (difficult and probably
not worth it for now). Only this would allow stuff like presenting
uuencoded text as an attachment or presenting a MULTIPART/ENCRYPTED message
as a single part (and decrypted) one.

 OTOH, I do want the filters to be able to create "virtual attachments",
i.e. the obejcts which appear as icons (or text inside "[]" for the text
case) in the viewer and which can be clicked by the user. For example, I
want the PGP sig checker filter to put an icon representing a signature at
the end of the messae and clicking it should give some information about
it. So it's almost as above -- but not quite, as it's applied only after
the normal MIME parsing had been done.

 Regards,
VZ



-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to