Posts for: #Dbus

adventures in mail - week 10

Another week. I have not blogged in a few; life is busy!

This week was full of work. Interesting work, I must say.

Ryan (desrt) and I have been getting quite a bit accomplished in my quest to make email more accessable. We now have a working DBus api for folders lists.

Currently supports fetching from the server and updating the list of folders and their message counts.

The api is stable enough right now to write code based on it. Ryan is writing a bunch of fun command line utilities right now that use the api.

[Read more]

Adventures in Mail - Week 2

Little progress this week, unfortunately. Some unrelated work got in my way.

The last week was spent discussing how I want to have the DBus API and the storage backend communicate.

My TODO list was:

  • DBus API needs to be totally independent of the cache
  • Store raw RFC822 messages in a Maildir-esque local cache

Information requested of the DBus objects will send the request through to the storage backend which will now search for it locally but hit the server if the required information is required. This is rudimentary at the moment.

[Read more]

Adventures in Mail - Week 1

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 data. Mail will be broken down into objects.

Most of this time was spent figuring out how to handle asynchronous requests of the mail server. Initially, I am using a bunch of threads and a queue for them to pull work from.

[Read more]