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>
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>
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
Removed aliases for C-libpurple functions. FIXES: - Removed aliases for C-libpurple functions from debug and util. - Updated function names inside *_cbs.pxd. Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br> Acked-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1413 596f6dd7-e928-0410-a184-9e12fd12cf7e
Updated request_cbs.pxd. FIXES: - Replace try/except with has_key. - Added comments for each callback. - Cosmetics. 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@1404 596f6dd7-e928-0410-a184-9e12fd12cf7e
Fixed debug messages warning. FIXES: - Fixed debug messages warning when compiling on Intrepid. 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@1396 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
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