Sunday, March 22, 2009

First real life example of extensions

Since the commit I just made you can select the protocol to use on preferences! :) this is the first example of extensions that where added to the code this week.
Basically each protocol (and almost all on emesene) is an extension that can be replaced, on the 'session' extension category we have two extensions, gtalk and msn, you can switch between them or even add another extensions for other protocols. you could in fact download an extension to support a new protocol*

also all the parts of the gui are extensions, so if you don't like a part of the gui you will be able to code/download an extension and replace it.

In a future post I will show how to replace parts of the application with custom extensions**

also as you can see the preference dialog on the login window has another options, this options are stored and loaded from the config file but are not yet used by the protocols. My next work is to add support for those.

* we are focused on being a MSN client but if someone wants to; he can make his own extension to support another protocol, that won't hurt anybody since it's not part of emesene.

** the extension framework is being developed so it's not yet stable.

Thursday, March 19, 2009

Funny thing about refactoring

I have been refactoring the code of mesinyer since the start of the week, I've moved a lot of code, I've rewritten all the code for menues and toolbars to support the new extension framework.
The code now is more modular, separated and allows to replace any part of the gui with a custom part (an example of that when all the work is done).

what is the visible difference between the code from last week?
If you use it you will note no difference (I hope :D), since refactoring is about enhancing the code without modifying functionality.

This post is just to let you know that a lot of work is being made on the project, and if you don't see it on the gui/functionality it's because we are setting up everything to make mesinyer the most extensible/cusomizable IM client around :D.

some news:

* roger is working on Offline messages for mesinyer
* dx is working on p2p for mesinyer
* C10ud is evaluating some patches to be added to emesene 1.x

Wednesday, March 04, 2009

we love closed protocols (?)

it seems that MS has changed another thing on the protocol that made some of you to have problems authenticating on emesene 1, I applied a patch made by Giuseppe Bagnato and changed the hosts to authenticate to the same as emesene 2. That should fix the problems, please do svn up on trunk and tell me if you sill have problems.

Giuseppe Bagnato also added support for proxy authentication, thanks to him!