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>
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
Fixing set_proxyinfo when is gave invalid values Fixing set_proxyinfo whev is gave invalid valuas as param 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@1384 596f6dd7-e928-0410-a184-9e12fd12cf7e
Adding host to function set_info Adding host to function set_info in ProxyInfo class 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@1379 596f6dd7-e928-0410-a184-9e12fd12cf7e
Adding function set_info to ProxyInfo class Adding function set_info to ProxyInfo class to set the proxy's 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@1371 596f6dd7-e928-0410-a184-9e12fd12cf7e
Adding function get_types to ProxyInfo class Adding function get_types to ProxyInfo class to return all proxy types as string 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@1370 596f6dd7-e928-0410-a184-9e12fd12cf7e
Small cleanups. FIXES: - Removed redundant cimports on plugin.pyx and proxy.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@1341 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
Add get/set proxyinfo methods to Account class 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@1300 596f6dd7-e928-0410-a184-9e12fd12cf7e
Add class ProxyInfo Add new class ProxyInfo to allow you config the account's proxy 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@1299 596f6dd7-e928-0410-a184-9e12fd12cf7e