python-purple
10 years agoUpdated nullclient-ecore.
Bruno Abinader [Mon, 15 Dec 2008 16:56:51 +0000 (16:56 +0000)]
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

10 years agoReplacing None type by null list - purple.c
Ragner Magalhaes [Fri, 12 Dec 2008 14:11:58 +0000 (14:11 +0000)]
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

10 years agoReplacing None type by null list
Ragner Magalhaes [Fri, 12 Dec 2008 14:11:32 +0000 (14:11 +0000)]
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

10 years agoUpdated nullclient.py
Bruno Abinader [Fri, 12 Dec 2008 11:54:04 +0000 (11:54 +0000)]
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

10 years agoAdded AUTHORS, COPYING, COPYRIGHT and README.
Bruno Abinader [Thu, 11 Dec 2008 19:36:46 +0000 (19:36 +0000)]
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

10 years agoAdding function get_buddies()
Ragner Magalhaes [Wed, 10 Dec 2008 21:29:17 +0000 (21:29 +0000)]
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

10 years agopurple.c created by Adding function get_buddies()
Ragner Magalhaes [Wed, 10 Dec 2008 21:28:39 +0000 (21:28 +0000)]
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

10 years agoAdded missing build dependencies.
Bruno Abinader [Tue, 9 Dec 2008 20:15:58 +0000 (20:15 +0000)]
Added missing build dependencies.

FIXES:
 - Added missing build dependencies.

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@1658 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoUpdated python-purple's debianization.
Bruno Abinader [Tue, 9 Dec 2008 14:39:24 +0000 (14:39 +0000)]
Updated python-purple's debianization.

FIXES:
 - Updated python-purple's debianization to support Maemo.
 - Added cython-made purple.c file.

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@1654 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoImplemented status_changed callback.
Ragner Magalhaes [Tue, 2 Dec 2008 21:28:11 +0000 (21:28 +0000)]
Implemented status_changed callback.

FIXES:
 - Implemented status_changed callback.

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@1466 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoImplemented notify_added callback.
Ragner Magalhaes [Tue, 2 Dec 2008 21:27:55 +0000 (21:27 +0000)]
Implemented notify_added callback.

FIXES:
 - Implemented notify_added callback.

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@1465 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixing to use active status when account is idle
Ragner Magalhaes [Tue, 2 Dec 2008 21:27:37 +0000 (21:27 +0000)]
Fixing to use active status when account is idle

Fixing to use active status when account is idle

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@1464 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoImplemented request_add callback.
Ragner Magalhaes [Tue, 2 Dec 2008 21:27:08 +0000 (21:27 +0000)]
Implemented request_add callback.

FIXES:
 - Implemented request_add callback.

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@1463 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdding support to get buddy's active status
Ragner Magalhaes [Tue, 2 Dec 2008 21:26:21 +0000 (21:26 +0000)]
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

10 years agoAdding support to set/get account's status
Ragner Magalhaes [Tue, 2 Dec 2008 21:26:00 +0000 (21:26 +0000)]
Adding support to set/get account's status

Adding support to set/get account's 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@1460 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoUpdated add_buddy on Account class.
Ragner Magalhaes [Tue, 2 Dec 2008 21:25:42 +0000 (21:25 +0000)]
Updated add_buddy on Account class.

FIXES:
 - Updated add_buddy on Account class.
 - Added libpurple/server.pxd.

Signed-off-by: Bruno Abinader <bruno.abinader@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@1459 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoUpdated python-purple initial parameters.
Ragner Magalhaes [Tue, 2 Dec 2008 21:25:12 +0000 (21:25 +0000)]
Updated python-purple initial parameters.

FIXES:
 - Updated python-purple initial parameters.

Signed-off-by: Bruno Abinader <bruno.abinader@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@1458 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoUpdated "connection-error" signal callback.
Ragner Magalhaes [Tue, 2 Dec 2008 21:24:46 +0000 (21:24 +0000)]
Updated "connection-error" signal callback.

FIXES:
 - Updated "connection-error" signal callback.

Signed-off-by: Bruno Abinader <bruno.abinader@openbossa.org>
Acked-by: Dinorah Monteiro <dinorah.monteiro@openbossa.org>

git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1457 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoUpdated report_disconnect_reason callback.
Ragner Magalhaes [Tue, 2 Dec 2008 21:24:24 +0000 (21:24 +0000)]
Updated report_disconnect_reason callback.

FIXES:
 - Updated report_disconnect_reason callback.

Signed-off-by: Bruno Abinader <bruno.abinader@openbossa.org>
Acked-by: Fred Duarte <fred.duarte@openbossa.org>

git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1456 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoPassing flags to write_im callback
Ragner Magalhaes [Tue, 2 Dec 2008 21:23:55 +0000 (21:23 +0000)]
Passing flags to write_im callback

Passing flags to write_im callback
Now adding SEND and RECV flags only

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@1455 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoRemove hardcoded PORT and SERVER values
Ragner Magalhaes [Tue, 2 Dec 2008 21:23:30 +0000 (21:23 +0000)]
Remove hardcoded PORT and SERVER values

Remove hardcoded PORT and SERVER values.

Signed-off-by: Dinorah Monteiro <dinorah.monteiro@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@1454 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdded request_add_buddy.
Ragner Magalhaes [Tue, 2 Dec 2008 21:23:03 +0000 (21:23 +0000)]
Added request_add_buddy.

FIXES:
 - Added request_add_buddy.

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@1453 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdded request_authorize/close_account_request.
Ragner Magalhaes [Tue, 2 Dec 2008 21:22:39 +0000 (21:22 +0000)]
Added request_authorize/close_account_request.

FIXES:
 - Added request_authorize callback.
 - Added close_account_request callback.
 - Added missing function bind on libpurple/request.pxd.

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@1452 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoReimplemented Conversation class.
Ragner Magalhaes [Tue, 2 Dec 2008 21:22:12 +0000 (21:22 +0000)]
Reimplemented Conversation class.

FIXES:
 - Reimplemented Conversation class according to new python-purple's API.

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@1451 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoIf write_im get buddy NULL take it from conversation name
Ragner Magalhaes [Tue, 2 Dec 2008 21:21:55 +0000 (21:21 +0000)]
If write_im get buddy NULL take it from conversation name

If write_im get buddy NULL take it from conversation name
Fixing buddy's alias to work as utf-8 unicode

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@1450 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoUpdated remove() method from Account class.
Ragner Magalhaes [Tue, 2 Dec 2008 21:21:35 +0000 (21:21 +0000)]
Updated remove() method from Account class.

FIXES:
 - Updated remove() method from Account class, replacing
   purple_accounts_remove with purple_accounts_delete.

Signed-off-by: Bruno Abinader <bruno.abinader@openbossa.org>
Acked-by: Frederico Duarte <fred.duarte@openbossa.org>

git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1449 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixing UnicodeDecodeError in buddy's alias
Ragner Magalhaes [Tue, 2 Dec 2008 21:21:14 +0000 (21:21 +0000)]
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

10 years agoMethod remove uses spaces inst. of tabs
Ragner Magalhaes [Tue, 2 Dec 2008 21:20:53 +0000 (21:20 +0000)]
Method remove uses spaces inst. of tabs

- Account method remove fixed to use spaces instead of tabs.

Signed-off-by: Frederico Simas Duarte <fred.duarte@openbossa.org>

git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1447 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdded get/set group.
Ragner Magalhaes [Tue, 2 Dec 2008 21:20:30 +0000 (21:20 +0000)]
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

10 years agoUpdated remove_account
Ragner Magalhaes [Tue, 2 Dec 2008 21:20:08 +0000 (21:20 +0000)]
Updated remove_account

- Method remove_account changed to remove.
- Uses self.__exists to check to account existance

Signed-off-by: Frederico Simas Duarte <fred.duarte@openbossa.org>

git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1445 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdded remove_account:
Ragner Magalhaes [Tue, 2 Dec 2008 21:19:47 +0000 (21:19 +0000)]
Added remove_account:

 - Bind for removing an account at libpurple.
 - New Method , remove_account(self, username, protocol_id).

Signed-off-by: Frederico Simas Duarte <fred.duarte@openbossa.org>

git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1444 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdded set_alias to Buddy class.
Ragner Magalhaes [Tue, 2 Dec 2008 21:19:27 +0000 (21:19 +0000)]
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

10 years agoAdded {add,remove}_buddy and get_buddies_online.
Ragner Magalhaes [Tue, 2 Dec 2008 21:19:08 +0000 (21:19 +0000)]
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

10 years agoInitial Buddy class reimplementation.
Ragner Magalhaes [Tue, 2 Dec 2008 21:18:47 +0000 (21:18 +0000)]
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

10 years agoAdded missing methods to libpurple/status.pxd.
Ragner Magalhaes [Tue, 2 Dec 2008 21:18:30 +0000 (21:18 +0000)]
Added missing methods to libpurple/status.pxd.

FIXES:
 - Added missing methods to libpurple/status.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@1440 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdded accounts_get_all_active.
Ragner Magalhaes [Tue, 2 Dec 2008 21:18:08 +0000 (21:18 +0000)]
Added accounts_get_all_active.

FIXES:
 - Added accounts_get_all_active.

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@1439 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixed Account protocol parameter typo.
Ragner Magalhaes [Tue, 2 Dec 2008 21:17:45 +0000 (21:17 +0000)]
Fixed Account protocol parameter typo.

FIXES:
 - Fixed Account protocol parameter typo.

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@1438 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixed a typo on accounts_get_all.
Ragner Magalhaes [Tue, 2 Dec 2008 21:17:26 +0000 (21:17 +0000)]
Fixed a typo on accounts_get_all.

FIXES:
- Fixed a typo on accounts_get_all.

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@1437 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixing set_protocol_options(...) to verify key
Ragner Magalhaes [Tue, 2 Dec 2008 21:17:08 +0000 (21:17 +0000)]
Fixing set_protocol_options(...) to verify key

Fixing set_protocol_options(...) to verify keys

Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
Acked-by: Ricardo Guimaraes <ricardo.guimaraes@indt.org.br>
Acked-by: Dinorah Monteiro <dinorah.monteiro@indt.org.br>

git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1436 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixing function new() to save account to xml
Ragner Magalhaes [Tue, 2 Dec 2008 21:16:51 +0000 (21:16 +0000)]
Fixing function new() to save account to xml

Fixing function new() to save new account to xml.

Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
Acked-by: Bruno Abinader <bruno.abinader@indt.org.br>

git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1435 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixed protocol append typo on purple.pyx.
Ragner Magalhaes [Tue, 2 Dec 2008 21:16:33 +0000 (21:16 +0000)]
Fixed protocol append typo on purple.pyx.

FIXES:
 - Fixed protocol append typo on purple.pyx.

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@1434 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdding functions set/_get_protocol_options
Ragner Magalhaes [Tue, 2 Dec 2008 21:16:16 +0000 (21:16 +0000)]
Adding functions set/_get_protocol_options

Adding functions set/_get_procotol_options to get and set the options
of the account's protocol

Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
Acked-by: Bruno Abinader <bruno.abinader@indt.org.br>

git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1433 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoUpdated libpurple/pounce.pxd
Ragner Magalhaes [Tue, 2 Dec 2008 21:15:59 +0000 (21:15 +0000)]
Updated libpurple/pounce.pxd

FIXES:
 - Updated libpurple/pounce.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@1432 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixing exception in purple.Purple.__core_ui_ops_ui_prefs_init.
Ragner Magalhaes [Tue, 2 Dec 2008 21:15:40 +0000 (21:15 +0000)]
Fixing exception in purple.Purple.__core_ui_ops_ui_prefs_init.

- Change prefs.pxd

Signed-off-by: Ricardo Guimaraes <ricardo.guimaraes@indt.org.br>
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@1431 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixed Debian package creation.
Ragner Magalhaes [Tue, 2 Dec 2008 21:15:21 +0000 (21:15 +0000)]
Fixed Debian package creation.

FIXES:
 - Debian packaging now uses debian/pyversions instead of
   XS/XB-Python-*.
 - Updated debian/files with arch-specific filename.

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@1430 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoUpdated hack to avoid recursive loops.
Ragner Magalhaes [Tue, 2 Dec 2008 21:14:54 +0000 (21:14 +0000)]
Updated hack to avoid recursive loops.

FIXES:
 - Updated hack to avoid recursive loops.

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@1429 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoReplaced c_purple* with purple* for most files.
Ragner Magalhaes [Tue, 2 Dec 2008 21:14:33 +0000 (21:14 +0000)]
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

10 years agoDeclaring fields of Account class and fixing segfault
Ragner Magalhaes [Tue, 2 Dec 2008 21:13:41 +0000 (21:13 +0000)]
Declaring fields of Account class and fixing segfault

Declaring fields of Account class
Fixing segfault caused by recursive dependency

Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
Acked-by: Bruno Abinader <bruno.abinader@indt.org.br>

git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1427 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixing Purple init
Ragner Magalhaes [Tue, 2 Dec 2008 21:13:24 +0000 (21:13 +0000)]
Fixing Purple init

Fixing failure during purple init

Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
Acked-by: Bruno Abinader <bruno.abinader@indt.org.br>

git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1426 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdding new functions to get protocol's default options
Ragner Magalhaes [Tue, 2 Dec 2008 21:13:04 +0000 (21:13 +0000)]
Adding new functions to get protocol's default options

Adding new functions to return the default values to protocol options
and protocol options labels.
Also defining __id and __exists as object to fix execution's failure.

Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
Acked-by: Bruno Abinader <bruno.abinader@indt.org.br>
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@1425 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixing Account to get protocol class as parameter
Ragner Magalhaes [Tue, 2 Dec 2008 21:12:40 +0000 (21:12 +0000)]
Fixing Account to get protocol class as parameter

Fixing Account class to get protocol class as parameter to create a new Account
Now you just need to do set/get protocol calss

Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
Acked-by: Bruno Abinader <bruno.abinader@indt.org.br>
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@1424 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoRemovind Account's dependency and adding _get_structure() function
Ragner Magalhaes [Tue, 2 Dec 2008 21:12:23 +0000 (21:12 +0000)]
Removind Account's dependency and adding _get_structure() function

Removind Account's dependency and fixing get function

Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
Acked-by: Bruno Abinader <bruno.abinader@indt.org.br>
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@1423 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdding new function protocols_get_all() to Purple class
Ragner Magalhaes [Tue, 2 Dec 2008 21:12:01 +0000 (21:12 +0000)]
Adding new function protocols_get_all() to Purple class

Adding new function protocols_get_all to return a list of protocols

Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
Acked-by: Bruno Abinader <bruno.abinader@indt.org.br>
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@1422 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoRemoved deprecated code from Purple class.
Ragner Magalhaes [Tue, 2 Dec 2008 21:11:45 +0000 (21:11 +0000)]
Removed deprecated code from Purple class.

FIXES:
 - Removed deprecated code from Purple class.

Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
Acked-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
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@1421 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixed get account c-structure on Protocol class.
Ragner Magalhaes [Tue, 2 Dec 2008 21:11:28 +0000 (21:11 +0000)]
Fixed get account c-structure on Protocol class.

FIXES:
 - Fixed get account c-structure on Protocol class.

Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
Acked-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
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@1420 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdded Account class parent (core).
Ragner Magalhaes [Tue, 2 Dec 2008 21:11:08 +0000 (21:11 +0000)]
Added Account class parent (core).

FIXES:
 - Added Account class parent (core).

Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
Acked-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
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@1419 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdded is_{connected,connecting,disconnected}.
Ragner Magalhaes [Tue, 2 Dec 2008 21:10:49 +0000 (21:10 +0000)]
Added is_{connected,connecting,disconnected}.

FIXES:
 - Added is_{connected,connecting,disconnected} Account class methods.

Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
Acked-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
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@1418 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdded set/get enabled Account class methods.
Ragner Magalhaes [Tue, 2 Dec 2008 21:10:33 +0000 (21:10 +0000)]
Added set/get enabled Account class methods.

FIXES:
 - Added set/get enabled Account class methods.

Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
Acked-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
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@1417 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdded connect/disconnect Account class methods.
Ragner Magalhaes [Tue, 2 Dec 2008 21:10:17 +0000 (21:10 +0000)]
Added connect/disconnect Account class methods.

FIXES:
 - Added connect/disconnect Account class methods.

Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
Acked-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
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@1416 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdded comments for Account class public methods.
Ragner Magalhaes [Tue, 2 Dec 2008 21:10:00 +0000 (21:10 +0000)]
Added comments for Account class public methods.

FIXES:
 - Added comments for Account class public methods.

Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
Acked-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
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@1415 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoUpdated get parameters inside Account class.
Ragner Magalhaes [Tue, 2 Dec 2008 21:09:44 +0000 (21:09 +0000)]
Updated get parameters inside Account class.

FIXES:
 - When using property, "set_*" methods didn't return anything, so whe
   couldn't know if the operation was successful or not. Because of
   this, I've moved them into separate methods outside of the property
   (like username and protocol_id).

Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
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@1414 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoRemoved aliases for C-libpurple functions.
Ragner Magalhaes [Tue, 2 Dec 2008 21:09:27 +0000 (21:09 +0000)]
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

10 years agoAdding function accounts_get_all() to Purple class
Ragner Magalhaes [Tue, 2 Dec 2008 21:08:54 +0000 (21:08 +0000)]
Adding function accounts_get_all() to Purple class

Adding function accounts_get_all() to Purple class to return
all accounts

Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
Acked-by: Bruno Abinader <bruno.abinader@indt.org.br>
Acked-by: Dinorah Monteiro <dinorah.monteiro@indt.org.br>

git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1412 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixing cython error to purple_account_set_status bind
Ragner Magalhaes [Tue, 2 Dec 2008 21:08:37 +0000 (21:08 +0000)]
Fixing cython error to purple_account_set_status bind

Fixing:

Error converting Pyrex file to C:
...
  void purple_account_set_status(PurpleAccount *account, \
            char *status_id, glib.gboolean active, NULL) # FIXME

Signed-off-by: Ragner Magalhaes <ragner.magalhaes@indt.org.br>
Acked-by: Bruno Abinader <bruno.abinader@indt.org.br>
Acked-by: Dinorah Monteiro <dinorah.monteiro@indt.org.br>

git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1411 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdded various account parameters.
Ragner Magalhaes [Tue, 2 Dec 2008 21:08:17 +0000 (21:08 +0000)]
Added various account parameters.

FIXES:
 - Added get/set methods for username, protocol_id, alias, password,
   remember_password, user_info and others.

Signed-off-by: Bruno Abinader <bruno.abinader@indt.org.br>
Acked-by: Dinorah Monteiro <dinorah.monteiro@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@1410 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoInitial 'dev' branch commit.
Ragner Magalhaes [Tue, 2 Dec 2008 21:07:56 +0000 (21:07 +0000)]
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

10 years agoAdded setup_dist.py.
Ragner Magalhaes [Tue, 2 Dec 2008 21:07:14 +0000 (21:07 +0000)]
Added setup_dist.py.

FIXES:
 - setup_dist.py should replace setup.py when distrubuting source
   package (cython should not be a requirement).

See http://docs.cython.org/docs/source_files_and_compilation.html for
more information.

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@1408 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoRemoved fat from setup.py.
Ragner Magalhaes [Tue, 2 Dec 2008 21:06:51 +0000 (21:06 +0000)]
Removed fat from setup.py.

FIXES:
 - Removed unused files ez_setup.py and setup.cfg.
 - Removed fat from 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@1407 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoRemoved deprecated callbackbase.
Ragner Magalhaes [Tue, 2 Dec 2008 21:06:33 +0000 (21:06 +0000)]
Removed deprecated callbackbase.

FIXES:
 - Removed deprecated callbackbase.

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@1406 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoUpdated request_cbs.pxd.
Ragner Magalhaes [Tue, 2 Dec 2008 21:06:14 +0000 (21:06 +0000)]
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@1405 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoUpdated request_cbs.pxd.
Ragner Magalhaes [Tue, 2 Dec 2008 21:05:57 +0000 (21:05 +0000)]
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

10 years agoUpdated notify_cbs.pxd.
Ragner Magalhaes [Tue, 2 Dec 2008 21:05:41 +0000 (21:05 +0000)]
Updated notify_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@1403 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoUpdated conversation_cbs.pxd.
Ragner Magalhaes [Tue, 2 Dec 2008 21:05:25 +0000 (21:05 +0000)]
Updated conversation_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@1402 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoUpdated connection_cbs.pxd.
Ragner Magalhaes [Tue, 2 Dec 2008 21:05:07 +0000 (21:05 +0000)]
Updated connection_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@1401 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoUpdated blist_cbs.pxd.
Ragner Magalhaes [Tue, 2 Dec 2008 21:04:50 +0000 (21:04 +0000)]
Updated blist_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@1400 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoUpdated account_cbs.pxd.
Ragner Magalhaes [Tue, 2 Dec 2008 21:04:34 +0000 (21:04 +0000)]
Updated account_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@1399 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdded initial Debian packaging support.
Ragner Magalhaes [Tue, 2 Dec 2008 21:04:17 +0000 (21:04 +0000)]
Added initial Debian packaging support.

FIXES:
 - Added initial Debian packaging support.

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@1398 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixed debug messages warning.
Ragner Magalhaes [Tue, 2 Dec 2008 21:03:41 +0000 (21:03 +0000)]
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

10 years agoCosmetics.
Ragner Magalhaes [Tue, 2 Dec 2008 21:03:09 +0000 (21:03 +0000)]
Cosmetics.

FIXES:
 - Added some minor cosmetics to .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@1395 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdded delete accounts function
Ragner Magalhaes [Tue, 2 Dec 2008 21:02:45 +0000 (21:02 +0000)]
Added delete accounts function

Added delete accounts funtion

Signed-off-by: Dinorah Monteiro <dinorah.monteiro@indt.org.br>

git-svn-id: https://garage.maemo.org/svn/carman/branches/carman-0.7-beta2/python-purple@1394 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoUpdated changes made on python-purple branch.
Ragner Magalhaes [Tue, 2 Dec 2008 21:02:23 +0000 (21:02 +0000)]
Updated changes made on python-purple branch.

FIXES:
 - Updated changes made on python-purple branch.

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@1393 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixed wrong assertion when sender name is NULL.
Ragner Magalhaes [Tue, 2 Dec 2008 21:02:05 +0000 (21:02 +0000)]
Fixed wrong assertion when sender name is NULL.

FIXES:
 - Fixed wrong assertion when sender name is NULL.

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@1392 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdded sender alias to write-im callback.
Ragner Magalhaes [Tue, 2 Dec 2008 21:01:34 +0000 (21:01 +0000)]
Added sender alias to write-im callback.

FIXES:
 - Added sender alias to write-im callback.

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@1391 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixing conversation to user account string tuple
Ragner Magalhaes [Tue, 2 Dec 2008 21:00:50 +0000 (21:00 +0000)]
Fixing conversation to user account string tuple

Fixing conversation to user account string tuple

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@1390 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixing get_budies_online
Ragner Magalhaes [Tue, 2 Dec 2008 21:00:13 +0000 (21:00 +0000)]
Fixing get_budies_online

Fixing get_budies_online in 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@1389 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdding again nullclient.py
Ragner Magalhaes [Tue, 2 Dec 2008 20:59:52 +0000 (20:59 +0000)]
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

10 years agoFixing set account's options to invalid values
Ragner Magalhaes [Tue, 2 Dec 2008 20:59:35 +0000 (20:59 +0000)]
Fixing set account's options to invalid values

Fixing set account's options to invalid values

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@1387 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdding plugin.pyx to purple.pyx
Ragner Magalhaes [Tue, 2 Dec 2008 20:59:16 +0000 (20:59 +0000)]
Adding plugin.pyx to purple.pyx

Adding plugin.pyx to purple.pyx

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@1386 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixing set_options to Plugin class
Ragner Magalhaes [Tue, 2 Dec 2008 20:58:57 +0000 (20:58 +0000)]
Fixing set_options to Plugin class

Fixing set_options when is gave invalid values

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@1385 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixing set_proxyinfo when is gave invalid values
Ragner Magalhaes [Tue, 2 Dec 2008 20:58:40 +0000 (20:58 +0000)]
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

10 years agoAdding connect/disconnect functions to Account
Ragner Magalhaes [Tue, 2 Dec 2008 20:58:22 +0000 (20:58 +0000)]
Adding connect/disconnect functions to Account

Adding connect/disconnect funtions to connect to a account

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@1383 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdding function is_connected to Account
Ragner Magalhaes [Tue, 2 Dec 2008 20:57:59 +0000 (20:57 +0000)]
Adding function is_connected to Account

Adding function is_connected to verify account's connection

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@1382 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoFixing get/set_enabled to Account
Ragner Magalhaes [Tue, 2 Dec 2008 20:57:41 +0000 (20:57 +0000)]
Fixing get/set_enabled to Account

Fixing get/set_enabled to set the status to account

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@1381 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdding function get_protocol_id to Account class
Ragner Magalhaes [Tue, 2 Dec 2008 20:57:24 +0000 (20:57 +0000)]
Adding function get_protocol_id to Account class

Adding functin get_protocol_id to return account's protocol id

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@1380 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdding host to function set_info
Ragner Magalhaes [Tue, 2 Dec 2008 20:57:07 +0000 (20:57 +0000)]
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

10 years agoFixing function set_options
Ragner Magalhaes [Tue, 2 Dec 2008 20:56:50 +0000 (20:56 +0000)]
Fixing function set_options

Fixing functions set_options to use account tuple 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@1378 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdding function set_protocol_id to Account class
Ragner Magalhaes [Tue, 2 Dec 2008 20:56:33 +0000 (20:56 +0000)]
Adding function set_protocol_id to Account class

Adding function set_protocol_id to set account's protocol id

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@1377 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdding funtions get/set alias to Account class
Ragner Magalhaes [Tue, 2 Dec 2008 20:56:14 +0000 (20:56 +0000)]
Adding funtions get/set alias to Account class

Adding functions get/set alias to Account class to set the account's alias

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@1376 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdding functions get/set password to Account class
Ragner Magalhaes [Tue, 2 Dec 2008 20:55:55 +0000 (20:55 +0000)]
Adding functions get/set password to Account class

Adding function get/set passoword to set account's password

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@1375 596f6dd7-e928-0410-a184-9e12fd12cf7e

10 years agoAdding function set_options to Plugin class
Ragner Magalhaes [Tue, 2 Dec 2008 20:55:37 +0000 (20:55 +0000)]
Adding function set_options to Plugin class

Adding function set_options to Plugin class to set the protocol's config 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@1374 596f6dd7-e928-0410-a184-9e12fd12cf7e