[weekly report] Week 1 - Mail as a desktop service
- From: Ian Marcinkowski <ian desrt ca>
- To: gnome-soc-list gnome org
- Subject: [weekly report] Week 1 - Mail as a desktop service
- Date: Tue, 02 Jun 2009 22:04:45 -0400
Week 1
http://blog.marcinkowski.ca
git://git.desrt.ca/marcinmail
I started coding during the community bonding period.
During this phase I laid out the DBus API for mail,
started a basic Command module that will control
configuration dataMail will be broken down into objects.
Most of this time was spent figuring out how to handle
asyncronous requests of the mail server. Initially,
I am using a bunch of threads and a queue for them
to pull work from.
Mail is conceptually separated into Accounts, folders,
lists of messages and messages, each with their own API
accessable over DBus.
Messages
-get_(body|headers|etc)
Lists
-get_number_of_messages
-get_message -> create and return Message object
Folder
-search -> return List object that matches search criteria
Account
-get_folder_list -> returns a simple list of folders
-get_folder -> returns Folder object
During the first official week of coding, I spent my time
working on the caching logic. Requests for
information will be handled by a central cache to abstract
the DBus API from the mail server protocol, IMAP, POP or
a local cache. This is currently a work in progress and
will be my main focus this week as well.
I will be temporarily storing mail locally in a raw RFC822
format.
-
Ian Marcinkowski
ian desrt ca
Gnome - Mail as a Desktop Service
http://blog.marcinkowski.ca
git://git.desrt.ca/marcinmail
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]