Internal changes
July 15, 2009 at 2:46 pm | Posted in Spectrum | Leave a commentI’ve found out that my previous changes related to better IRC support are useful just only for IRC, so I’ve moved them to IRCProtocol class. I had to create new Signals functions to do that. Protocol class can now handle presences and can set its own ProtocolData for connected user (for User class). I want to move more functions, which dependent on concrete protocol, to protocol class instead of executing them always. This will allow to execute only functions which are important for the current protocol, so the the transport will be faster and also the code will look better
. It will be also more easier to add new protocol support, because you will have to implement only Protocol class and you won’t need to change anything in the transport core.
I’ve also implemented PURPLE_TYPE_STRING “/transport settings” and the first settings key which use it is “nickserv”. You can set your NickServ password for IRC network there and you will be then automatically identified on connect.
Another new feature could be Private Messages support in IRC. It’s currently in early stage of development and it works only if you start the conversation (no the remote user).
Leave a Comment »
RSS feed for comments on this post. TrackBack URI
Leave a Reply
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.