Removed unused/duplicated/deprecated includes. Removed unused 'cimport purple' from .pxd files, reduced imports by adding only used includes (on .pyx files), removed deprecated connection.pyx file. Signed-off-by: Bruno Abinader <bruno.abinader@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>
Replaced all 'dict.has_key(item)' with 'item in dict' expressions. FIXES: - Replaced all 'dict.has_key(item)' with 'item in dict' expressions (Performance gain). - Indentation fixes. Signed-off-by: Bruno Abinader <bruno.abinader@openbossa.org>
Removed purple.c from watched list. FIXES: - Since purple.c is automatically generated using Cython, there is no need to have it on the repository. In order to avoid future trouble with this file, it should be best to have it on .git/info/exclude. Signed-off-by: Bruno Abinader <bruno.abinader@openbossa.org>
Added SIGCHLD handling to avoid zombie processes. FIXES: - Added SIGCHLD handling to avoid zombie processes. Signed-off-by: Bruno Abinader <bruno.abinader@openbossa.org> Acked-by: Anderson Briglia <anderson.briglia@openbossa.org> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1730 596f6dd7-e928-0410-a184-9e12fd12cf7e
Fixing support to request_action callback Fixing support to request_action callback Signed-off-by: Ragner Magalhaes <agner.magalhaes@openbossa.org> Acked-by: Anderson Briglia <anderson.briglia@openbossa.org> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1721 596f6dd7-e928-0410-a184-9e12fd12cf7e
Updated nullclient-ecore. FIXES: - Updated nullclient-ecore.py example. Signed-off-by: Bruno Abinader <bruno.abinader@openbossa.org> Acked-by: Anderson Briglia <anderson.briglia@openbossa.org> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1716 596f6dd7-e928-0410-a184-9e12fd12cf7e
Replacing None type by null list - purple.c Function that returns lists now returning null list instead None type to prevent "TypeError: 'NoneType' object is not interable" in "for loop" Signed-off-by: Ragner Magalhaes <agner.magalhaes@openbossa.org> Acked-by: Ricardo Guimaraes <ricardo.guimaraes@openbossa.org> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1702 596f6dd7-e928-0410-a184-9e12fd12cf7e
Replacing None type by null list Function that returns lists now returning null list instead None type to prevent "TypeError: 'NoneType' object is not interable" in "for loop" Signed-off-by: Ragner Magalhaes <agner.magalhaes@openbossa.org> Acked-by: Ricardo Guimaraes <ricardo.guimaraes@openbossa.org> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1701 596f6dd7-e928-0410-a184-9e12fd12cf7e
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
Added AUTHORS, COPYING, COPYRIGHT and README. FIXES: - Added AUTHORS, COPYING, COPYRIGHT and README to python-purple. Signed-off-by: Bruno Abinader <bruno.abinader@openbossa.org> Acked-by: Anderson Briglia <anderson.briglia@openbossa.org> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1691 596f6dd7-e928-0410-a184-9e12fd12cf7e
Adding function get_buddies() Adding function get_buddies() to return account's buddies list. Signed-off-by: Ragner Magalhaes <ragner.magalhaes@openbossa.org> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1683 596f6dd7-e928-0410-a184-9e12fd12cf7e
purple.c created by Adding function get_buddies() Adding function get_buddies() to return account's buddies list. Signed-off-by: Ragner Magalhaes <ragner.magalhaes@openbossa.org> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1682 596f6dd7-e928-0410-a184-9e12fd12cf7e