Wednesday, 26 August 2009

Avatars

Kadu now supports avatars on contacts list and chat window with Adium styles (now only for GaduGadu accounts). Implementation was done by me, Juzef and White Eagle (team work ;) ). Thanks to Qt model-view framework and to Kadu protocols' service framework this was very easy to do. Now we only need to optimize it a bit (don't ask server every time for avatar data) and to use original aspect-ratio of images.

Below is screenshot with contacts from my list that have avatars and two contacts without one, so you can see the temporary default-avatar image too.


And the chat window:


Next feature that will be implemented by me is choosed by community on our forum - support for "Show messages from today/last day/last week" in chat window (similar to what is in Skype 4).

Wednesday, 19 August 2009

Contacts tree view

With one of last revision Kadu got a new feature - tree view for contacts. Now you can expand (with right-arrow button) any contact to see all connection to it (like Gadu-Gadu and Jabber ones). In near future double-clicking on any item will open chat window using choosen protocol and account, and every item will have its own context menu... Now just a simple screenshot:

My number is shown (btw: if you want to talk to me, use Private Messages on our forum or comments on this blog).

If someone has a screenshot with contact that has more than one subcontact - please send it to me.

Edit: screenshot from White Eagle

Thursday, 13 August 2009

Another manager

GaduGadu protocol supports delivery acknowledges - you can be sure that message was received. Kadu implemented it in two ways (you can choose one in Configuration):
* ignore it
* block chat window until ack is received

The first one sucks, because message could be lost in deep network and you will never know, second one sucks, because you sometimes have to wait for more than 5 second until you could write another message.

On 2007 mishaaq wrote a patch that would display a status icon next to each message. So you have information about delivery and chat window is not blocked. This patch was not applied (don't remember why) and is not available now (url is invalid now). This functionality is so much needed - I decided to write simple version of it from scratch.

As usual for me I started with looking again at the whole messages code and I've found that we need to make MessagesManager, remove PendingMessagesManager (or change it into MessagesManager), make Message a StorableObject and QSharedData and then everything will work great and look great and will be very hackable ;)

In near future 50% of Kadu classes will be managers. I hope it is a right way - it still looks so.

Wednesday, 5 August 2009

Back in Poznań

I'm now back from my two weeks of sailing on Mazury's lakes. My thesis is almost-approved by my mentor and amount of my free time will be greater than zero in next week. Be prepared for next big changes for Kadu 0.6.6 ;)