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>
Adding comments to buddy class Adding comments to buddy class Signed-off-by: Ragner Magalhaes <agner.magalhaes@openbossa.org> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1720 596f6dd7-e928-0410-a184-9e12fd12cf7e
Adding support to get buddy's active status Adding support to get buddy's active status Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br> Acked-by: Bruno Abinader <bruno.abinader@openbossa.org> Acked-by: Dinorah Monteiro <dinorah.monteiro@openbossa.org> Acked-by: Ricardo Guimaraes <ricardo.guimaraes@indt.org.br> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1461 596f6dd7-e928-0410-a184-9e12fd12cf7e
Fixing UnicodeDecodeError in buddy's alias When the buddy's alias has a utf-8 character it was causing a UnicodeDecodeError Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br> Acked-by: Bruno Abinader <bruno.abinader@openbossa.org> git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1448 596f6dd7-e928-0410-a184-9e12fd12cf7e
Added get/set group. FIXES: - Added get/set group. 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@1446 596f6dd7-e928-0410-a184-9e12fd12cf7e
Added set_alias to Buddy class. FIXES: - Added set_alias to Buddy class. - Updated get_buddies_online() from Account class to return a list of Buddy classes instead of a tuple (name, alias). 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@1443 596f6dd7-e928-0410-a184-9e12fd12cf7e
Added {add,remove}_buddy and get_buddies_online. FIXES: - Added {add,remove}_buddy and get_buddies_online on Account class. - Added exists property on Buddy class. - Removed new() methods from Buddy class. Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br> 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@1442 596f6dd7-e928-0410-a184-9e12fd12cf7e
Initial Buddy class reimplementation. FIXES: - Initial Buddy class reimplementation according to new API. 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@1441 596f6dd7-e928-0410-a184-9e12fd12cf7e
Replaced c_purple* with purple* for most files. FIXES: - Replaced c_purple* with purple* for most files. 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@1428 596f6dd7-e928-0410-a184-9e12fd12cf7e
Initial 'dev' branch commit. FIXES: - Refactory on account.pxd/accountopt.pxd. - New account.pyx model. - New protocol.pyx model. - Updated other files with changes made on .pxd files. 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@1409 596f6dd7-e928-0410-a184-9e12fd12cf7e
Better handling of c/python strings. FIXES: - Better handling of c/python strings. - Updated fixes on nullclient-ecore. 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@1358 596f6dd7-e928-0410-a184-9e12fd12cf7e
Updated internal class attributes with correct naming. FIXES: - Now internal class attributes are all private, which can be caught externally using property. 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@1355 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
More fixes to account.pyx and buddy.pyx. FIXES: - Removed ; from account.pyx. - gboolean returning functions can be translated to python boolean values automatically. 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@1349 596f6dd7-e928-0410-a184-9e12fd12cf7e
Implement purple.Buddy() Implemented Buddy class and some basic methods. Python application using python-purple, now can has a buddy dictionary in format: buddies = {<buddy.name>: Buddy()} TODO: Link Buddy() and Account(), maybe using account->ui_data. 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@1348 596f6dd7-e928-0410-a184-9e12fd12cf7e
Fixed buddy.pyx return types and plugin.pyx list free. FIXES: - Fixed buddy.pyx return types. - Fixed plugin.pyx list free. 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@1334 596f6dd7-e928-0410-a184-9e12fd12cf7e
Simplifyed definitions call, moved signal callback example to Cython code. FIXES: - Now all .pyx files simply calls "cimport purple" instead of a bunch of cimport's. - Moved signal callback example from c_purple to cython code. 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@1298 596f6dd7-e928-0410-a184-9e12fd12cf7e
Cosmetics. FIXME: - Removed confusing comments at the end of each method on purple.pyx. - Renamed __cinit__ to __init__. 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@1297 596f6dd7-e928-0410-a184-9e12fd12cf7e
All includes now uses cimport. Moved .pxd files from root dir to .pyx files, fixed enum declarations. Hi all, sorry for the long patch. FIXES: - Moved all .pxd files from root directory to .pyx ones. - Use "cimport <file>" instead of "include". - Fixed enum declarations. - Fixed directory declaration on setup.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@1295 596f6dd7-e928-0410-a184-9e12fd12cf7e
More fixes to BFP. FIXES: - Created savedstatuses.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@1289 596f6dd7-e928-0410-a184-9e12fd12cf7e