Re: Partial message retrieval, the design



Oh and note that this might not yet work correctly with IMAP4rev1
servers unless you manually turn of using the capabilities in the
imap_get_message method (it should always use the get_message_simple and
probably never the get_message method).

I also created this one (it explains message retrieval a little bit):
http://tinymail.org/trac/tinymail/wiki/CamelMessageRetrievalIMAP



On Sat, 2007-01-06 at 18:33 +0100, Philip Van Hoof wrote:
> New version that fixes a few things
> 
> 
> On Sat, 2007-01-06 at 16:24 +0100, Philip Van Hoof wrote:
> > This E-mail is all about throwing food to wolves
> > 
> > Yes, it implements the core of partial message retrieval for IMAP.
> > 
> > Not yet the jingle bells around it (there's still some work like
> > detecting whether the message was previously retrieved partial whereas
> > the user switched to full -- which means that it has to reretrieve the
> > full message).
> > 
> > Anyway, test this a little bit folks :)
> > 
> > Or join!? We can start a branch for example.
> > 
> > 
> > On Wed, 2007-01-03 at 18:40 +0100, Philip Van Hoof wrote:
> > > Hi folks,
> > > 
> > > This is a first design of the upcoming partial message retrieval feature
> > > 
> > >   o. http://tinymail.org/trac/tinymail/wiki/PartialMessageRetrieval
> > > 
> > > Two new documentation pages have been added. These are about the
> > > camel-lite internals. The first is going to be important when
> > > implementing the camel-lite part of the partial message retrieval
> > > feature (which is not really shown in the design, as that part will have
> > > to blend in the existing camel infrastructure).
> > > 
> > >   o. http://tinymail.org/trac/tinymail/wiki/CamelImapMessageCache
> > >   o. http://tinymail.org/trac/tinymail/wiki/CamelFolderSummaryMmap
> > > 
> > > In short will the camel-lite API, camel_folder_get_message, be changed
> > > to have an extra bool "full" to its parameters. If that bool is FALSE
> > > then it will only fetch the body of the E-mail from the service. Else it
> > > will retrieve the entire message content (including all attachments and
> > > other mime parts). Or ... at least that is the idea.
> > > 
> > > At the tinymail part no API will be changed, only added. The API that
> > > will be added is tny_folder_set/get_msg_receive_strategy. Two types will
> > > also be added in libtinymail-camel (but check the wiki page for more
> > > information, as decisions might change things .. whereas this E-mail
> > > can't change once I press the Send button).
> > > 
> > > Comments, thoughts and everything in between (except brick throwing at
> > > my head) is very welcome. If somebody is interested in cooperating or
> > > co-developing this feature, please don't hesitate to contact me or write
> > > about your ideas and intentions on this mailing list.
> > > 
> > > 
> > _______________________________________________
> > tinymail-devel-list mailing list
> > tinymail-devel-list gnome org
> > http://mail.gnome.org/mailman/listinfo/tinymail-devel-list
> _______________________________________________
> tinymail-devel-list mailing list
> tinymail-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/tinymail-devel-list
-- 
Philip Van Hoof, software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://www.pvanhoof.be/blog







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]