Destroying purple.core in nullclient.py - Nullclient demo was not deallocating libpurple resources properly. This patch adds a call to purple.core.destroy() method which can handle this. Signed-off-by: Anderson Briglia <anderson.briglia@openbossa.org>
Fixed LD_PRELOAD bug by forcing the global symbol table load. By default, python isn't putting the purple.so or any dependency symbols (oh hey, like libpurple.so!) in the global symbol table when loading it. LD_PRELOAD works because the loader loads all libpurple's symbols before python can. Thanks for darkrain42 for the help! http://developer.pidgin.im/ticket/7872#comment:3 Signed-off-by: Bruno Abinader <bruno.abinader@openbossa.org>
Removed ecore necessity from python-purple. FIXES: - Removed ecore necessity from python-purple. Clients which should use it can now have their own main loop which doesn't need to be ecore. This patch was initially sent by Luca Bigliardi. Signed-off-by: Luca Bigliardi <shammash@artha.org> Signed-off-by: Bruno Abinader <bruno.abinader@openbossa.org>
Updated nullclient.py FIXES: - Updated nullclient.py example. Signed-off-by: Bruno Abinader <bruno.abinader@openbossa.org> Acked-by: Ragner Magalhaes <ragner.magalhaes@openbossa.org> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1699 596f6dd7-e928-0410-a184-9e12fd12cf7e
Adding again nullclient.py Adding again nullclient.py to be used as example Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1388 596f6dd7-e928-0410-a184-9e12fd12cf7e
Updated callback strings to comply with libpurple. FIXES: - Updated callback strings (replaced underscores with minus symbol). - Now all UiOps callbacks are added using add_callback(type, name, func). - Updated changes on nullclient-ecore.py. - Added receiving-xmlnode example on nullclient-ecore.py. - Removed deprecated nullclient.py Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1359 596f6dd7-e928-0410-a184-9e12fd12cf7e
More fixes on purple.pyx. FIXES: - accounts dict is now private. - load_accounts is now called inside purple_init. - Internal PurpleAccount data is now caught using libpurple functions. - Fixed some logic in account_add and account_verify. - Updated changes on nullclient.py and nullclient-ecore.py. Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1356 596f6dd7-e928-0410-a184-9e12fd12cf7e
Added more properties to account and buddy. FIXES: - Added more properties to account and buddy. - Fixed corresponding core on nullclients. Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1350 596f6dd7-e928-0410-a184-9e12fd12cf7e
Replaced attach_signals with signal_connect method. (UPDATE) FIXES: - Added libpurple/xmlnode.pxd. - Replaced attach_signals() with signal_connect() method. - Added initial geoloc support from libpurple client (receiving only). Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1346 596f6dd7-e928-0410-a184-9e12fd12cf7e
Deleting plugin.pyx plugin.pyx is not necessary and Plugin(), Plugins() classes are not being used and necessary anymore. Signed-off-by: Anderson Briglia <anderson.briglia@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1343 596f6dd7-e928-0410-a184-9e12fd12cf7e
Added initial support for new_node, update and remove callbacks from PurpleBlistUiOps. FIXES: - Added initial support for new_node, update and remove callbacks from PurpleBlistUiOps. Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1336 596f6dd7-e928-0410-a184-9e12fd12cf7e
Improves calls to set proxy's options of the Account Improves calls to set proxy's options of the Account Using property(get_proxy) method to access the ProxyInfo's instance Some improvements at how represent PurpleProxyInfoType enumerator as python(class ProxyInfoType) Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1328 596f6dd7-e928-0410-a184-9e12fd12cf7e
Setting proxy and protocols'options Setting proxy and protocols'options Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1327 596f6dd7-e928-0410-a184-9e12fd12cf7e
Fixed connection callbacks arguments used by nullclient. FIXES: - Fixed connection callbacks arguments used by nullclient. Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1322 596f6dd7-e928-0410-a184-9e12fd12cf7e
Fixed parameters passed as argument to signals used by pidgin-carman. FIXES: - Stripped HTML markups from message. - Added robust treatment for arguments passed to user-defined python callbacks. Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1321 596f6dd7-e928-0410-a184-9e12fd12cf7e
Added signal callbacks used by pidgin-carman. FIXES: - Added signal callbacks used by pidgin-carman. Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1309 596f6dd7-e928-0410-a184-9e12fd12cf7e
Added PurpleRequestUiOps callbacks. (UPDATE) FIXES: - Added missing structures on request.pxd. - Added request callbacks forwarding on purple.pyx. - Added request callbacks example on nullclient.py. - Added c-based callbacks on request_cbs.pxd. - Added missing GCallback definition on glib.pxd. ps: Fixed typo in purple.pyx. Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1308 596f6dd7-e928-0410-a184-9e12fd12cf7e
Added PurpleNotifyUiOps callbacks. FIXES: - Added missing structures on notify.pxd. - Added notify callbacks forwarding on purple.pyx. - Added notify callbacks example on nullclient.py. - Added c-based callbacks on notify_cbs.pxd. Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1307 596f6dd7-e928-0410-a184-9e12fd12cf7e
Added PurpleBlistUiOps callbacks. FIXES: - Added missing structures on blist.pxd. - Added blist callbacks forwarding on purple.pyx. - Added blist callbacks example on nullclient.py. - Added c-based callbacks on blist_cbs.pxd. Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1306 596f6dd7-e928-0410-a184-9e12fd12cf7e
Added PurpleConnectionUiOps callbacks. FIXES: - Added missing structures on connection.pxd. - Added connection callbacks forwarding on purple.pyx. - Added connection callbacks example on nullclient.py. - Added c-based callbacks on connection_cbs.pxd. Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1304 596f6dd7-e928-0410-a184-9e12fd12cf7e