|
From: <gai...@li...> - 2003-06-21 13:25:28
|
OK, I managed to do the core/UI split. I hope I did not break anything too badly. Take a look and let me know what needs to be fixed. A couple of bugs that were carried over from the release: - yahoo disconnects gaim when enabling encryption. I believe we are sending IMs larger than allowed. - msn drops the handshake IMs. Again, I think its a packet length issue. - the image of the button does not change to display the encryption status. It is a limitation of how gtk handles it, but I'll try to find a way around that. Briefly, here is what I did: - updated version number to 0.9.9 (since 0.9.8 has been released) - all gtk2 stuff (except the ui_info declaration) has been moved to ui_gtk2.c - ui.h should be a generic ui interface. Nothing specific to gtk2 (or any other ui) should be placed here. I cannot remember at the moment if I followed my own instructions. - core.h/.c contains all the code from gaim-e.c/.h that is not ui or gaim plugin api stuff. - gaim-e.c/.h contains only the calls to functions found in core.h and ui.h needed by gaim, - Updated the Makefile to include the core.h/.c, ui.h and ui_gtk2.c files - Removed from cvs gui.h/.c...not needed since the code has been moved to ui.h/ui_gtk2.c When a new ui is available for gaim, a new ui_x.c file should be created using ui.h as a template for necessary functions. And gaim-e.c needs the ui_info assigned the new configure function. Similarly, you can change core.c and use core.h as a template for what functions are needed by gaim. I'll be formalizing all this into a document to be included with the code. I think that is about it. Again, any questions/comments/concerns, please let us know. Dario |