python-purple
15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 years agoAdding function get_options to Plugin class
Ragner Magalhaes [Tue, 2 Dec 2008 20:55:21 +0000 (20:55 +0000)]
Adding function get_options to Plugin class

Adding function get_options to Plgin class to return 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@1373 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoAdding function get_all to Plugin class
Ragner Magalhaes [Tue, 2 Dec 2008 20:55:02 +0000 (20:55 +0000)]
Adding function get_all to Plugin class

Adding function get_all to Plugin class to return a list of all protocols

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

15 years agoAdding function set_info to ProxyInfo class
Ragner Magalhaes [Tue, 2 Dec 2008 20:54:43 +0000 (20:54 +0000)]
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

15 years agoAdding function get_types to ProxyInfo class
Ragner Magalhaes [Tue, 2 Dec 2008 20:54:26 +0000 (20:54 +0000)]
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

15 years agoAdding function new(...) to Account
Ragner Magalhaes [Tue, 2 Dec 2008 20:54:09 +0000 (20:54 +0000)]
Adding function new(...) to Account

Adding new function new(...) to Account class to create a new 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@1369 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoAdding function get_all to Account
Ragner Magalhaes [Tue, 2 Dec 2008 20:53:51 +0000 (20:53 +0000)]
Adding function get_all to Account

Adding new function get to Account class to return all accounts

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

15 years agoRemoving function get_protocol_options
Ragner Magalhaes [Tue, 2 Dec 2008 20:53:33 +0000 (20:53 +0000)]
Removing function get_protocol_options

The function get_protocol_options was replaced by function _get_protocol_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@1367 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoAdding function __set_protocol_options
Ragner Magalhaes [Tue, 2 Dec 2008 20:53:15 +0000 (20:53 +0000)]
Adding function __set_protocol_options

Adding function __set_protocol_options to set the config's options
to account's protocol

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

15 years agoAdding function __get_protocol_labels
Ragner Magalhaes [Tue, 2 Dec 2008 20:52:57 +0000 (20:52 +0000)]
Adding function __get_protocol_labels

Adding function __get_protocol_labels to return the config's labels to account's protocol

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

15 years agoAdding function __get_protocol_options
Ragner Magalhaes [Tue, 2 Dec 2008 20:52:36 +0000 (20:52 +0000)]
Adding function __get_protocol_options

Adding function __get_protocol_options to return the config's options
to account's protocol

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

15 years agoAdded "connection-error" signal callback.
Ragner Magalhaes [Tue, 2 Dec 2008 20:52:19 +0000 (20:52 +0000)]
Added "connection-error" signal callback.

FIXES:
 - Added "connection-error" signal 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@1363 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoUpdated signals with "signed-on", "signed-off" and "buddy-signed-on" signals.
Ragner Magalhaes [Tue, 2 Dec 2008 20:52:01 +0000 (20:52 +0000)]
Updated signals with "signed-on", "signed-off" and "buddy-signed-on" signals.

FIXES:
 - Updated signals with "signed-on", "signed-off" and "buddy-signed-on" signals.
 - Removed signed-on binding on Connection class.

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

15 years agoAdded "markup_strip_html" method (outside Purple class).
Ragner Magalhaes [Tue, 2 Dec 2008 20:51:37 +0000 (20:51 +0000)]
Added "markup_strip_html" method (outside Purple class).

FIXES:
 - Added "markup_strip_html" method (outside Purple class).

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

15 years agoFixed get_buddies_online return parameter.
Ragner Magalhaes [Tue, 2 Dec 2008 20:51:17 +0000 (20:51 +0000)]
Fixed get_buddies_online return parameter.

FIXES:
 - Now get_buddies_online returns a list of tuples (name, alias).

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

15 years agoUpdated callback strings to comply with libpurple.
Ragner Magalhaes [Tue, 2 Dec 2008 20:50:59 +0000 (20:50 +0000)]
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

15 years agoBetter handling of c/python strings.
Ragner Magalhaes [Tue, 2 Dec 2008 20:50:18 +0000 (20:50 +0000)]
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

15 years agoStruct Callbacks for blist_cb. (UPDATE)
Ragner Magalhaes [Tue, 2 Dec 2008 20:49:46 +0000 (20:49 +0000)]
Struct Callbacks for blist_cb. (UPDATE)

FIXES:
- Add blist_cb on nullclient-ecore.
- Add new struct callbacks for blist_cb on purple.pyx.

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

15 years agoMore fixes on purple.pyx.
Ragner Magalhaes [Tue, 2 Dec 2008 20:49:26 +0000 (20:49 +0000)]
More fixes on purple.pyx.

FIXES:
 - accounts dict is now private.
 - load_accounts is now called inside purple_init.
 - Internal PurpleAccount data is now caught using libpurple functions.
 - Fixed some logic in account_add and account_verify.
 - Updated changes on nullclient.py and nullclient-ecore.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@1356 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoUpdated internal class attributes with correct naming.
Ragner Magalhaes [Tue, 2 Dec 2008 20:49:02 +0000 (20:49 +0000)]
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

15 years agoAdded binds for functions from libpurple which return structure attributes.
Ragner Magalhaes [Tue, 2 Dec 2008 20:48:42 +0000 (20:48 +0000)]
Added binds for functions from libpurple which return structure attributes.

FIXES:
 - Added functions from libpurple which return strutcture attributes, instead of getting them directly.

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

15 years agoAdd support to new callback class
Ragner Magalhaes [Tue, 2 Dec 2008 20:48:20 +0000 (20:48 +0000)]
Add support to new callback class

Signed-off-by: Ricardo Guimaraes <ricardo.guimaraes@indt.org.br>

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

15 years agoChange struct Callbacks
Ragner Magalhaes [Tue, 2 Dec 2008 20:47:57 +0000 (20:47 +0000)]
Change struct Callbacks

* Created a base class for manager callbacks.
* Method for add callbacks.

Signed-off-by: Ricardo Guimares <ricardo.guimaraes@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@1352 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoModified account functions.
Ragner Magalhaes [Tue, 2 Dec 2008 20:47:37 +0000 (20:47 +0000)]
Modified account functions.

Modifications:
 - Fixed account funcions.
 - Manage intern account dict.
 - Gets accounts of xml.
 - Added c_funcions: purple_accounts_find, purple_accounts_get_all and purple_accounts_add.

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

15 years agoAdded more properties to account and buddy.
Ragner Magalhaes [Tue, 2 Dec 2008 20:47:04 +0000 (20:47 +0000)]
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

15 years agoMore fixes to account.pyx and buddy.pyx.
Ragner Magalhaes [Tue, 2 Dec 2008 20:46:22 +0000 (20:46 +0000)]
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

15 years agoImplement purple.Buddy()
Ragner Magalhaes [Tue, 2 Dec 2008 20:45:40 +0000 (20:45 +0000)]
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

15 years agoConversation: who added
Ragner Magalhaes [Tue, 2 Dec 2008 20:45:16 +0000 (20:45 +0000)]
Conversation: who added

Who variable added to write_im callback. Now, it's possible to know who is sending a message.
Take care to check if "who" is not None.

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

15 years agoReplaced attach_signals with signal_connect method. (UPDATE)
Ragner Magalhaes [Tue, 2 Dec 2008 20:44:49 +0000 (20:44 +0000)]
Replaced attach_signals with signal_connect method. (UPDATE)

FIXES:
 - Added libpurple/xmlnode.pxd.
 - Replaced attach_signals() with signal_connect() method.
 - Added initial geoloc support from libpurple client (receiving only).

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

15 years agoAdded local ez_setup.py.
Ragner Magalhaes [Tue, 2 Dec 2008 20:44:17 +0000 (20:44 +0000)]
Added local ez_setup.py.

FIXES:
 - Added local ez_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@1345 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoConversation support
Ragner Magalhaes [Tue, 2 Dec 2008 20:43:58 +0000 (20:43 +0000)]
Conversation support

- Added conversation support. Applications using python-purple must keep a conversations' list. See
nullclient-ecore.py as reference.
- Added destroy() to purple.pyx
- See quit() in nullclient-ecore.py as example of how destroy python-purple.

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

15 years agoDeleting plugin.pyx
Ragner Magalhaes [Tue, 2 Dec 2008 20:42:58 +0000 (20:42 +0000)]
Deleting plugin.pyx

plugin.pyx is not necessary and Plugin(), Plugins() classes are not being used and necessary anymore.

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

15 years agoChanging __account to c_account.
Ragner Magalhaes [Tue, 2 Dec 2008 20:42:37 +0000 (20:42 +0000)]
Changing __account to c_account.

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

15 years agoSmall cleanups.
Ragner Magalhaes [Tue, 2 Dec 2008 20:42:01 +0000 (20:42 +0000)]
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

15 years agog_timeout_add_seconds() deleted from eventloop_ui struct
Ragner Magalhaes [Tue, 2 Dec 2008 20:41:42 +0000 (20:41 +0000)]
g_timeout_add_seconds() deleted from eventloop_ui struct

Since we don't have such function in glib for Chinook/Diablo.
 This function is not used.

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

15 years agonullclient-core.py: fix update buddy list
Ragner Magalhaes [Tue, 2 Dec 2008 20:41:26 +0000 (20:41 +0000)]
nullclient-core.py: fix update buddy list

Temporary hack fixing buddy list updating.
It's still necessary to refactory buddy.pxd.

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

15 years agoblist_cbs.pxd: adding try/except in right position
Ragner Magalhaes [Tue, 2 Dec 2008 20:41:10 +0000 (20:41 +0000)]
blist_cbs.pxd: adding try/except in right position

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

15 years agoAdded setup descriptions.
Ragner Magalhaes [Tue, 2 Dec 2008 20:40:51 +0000 (20:40 +0000)]
Added setup descriptions.

FIXES:
 - Added setup descriptions.

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

15 years agoAdded initial support for new_node, update and remove callbacks from PurpleBlistUiOps.
Ragner Magalhaes [Tue, 2 Dec 2008 20:40:33 +0000 (20:40 +0000)]
Added initial support for new_node, update and remove callbacks from PurpleBlistUiOps.

FIXES:
 - Added initial support for new_node, update and remove callbacks from PurpleBlistUiOps.

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

15 years agoAdded privacy.pxd definition.
Ragner Magalhaes [Tue, 2 Dec 2008 20:40:15 +0000 (20:40 +0000)]
Added privacy.pxd definition.

FIXES:
 - Added privacy.pxd definition.

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

15 years agoFixed buddy.pyx return types and plugin.pyx list free.
Ragner Magalhaes [Tue, 2 Dec 2008 20:39:51 +0000 (20:39 +0000)]
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

15 years agoAdding _write_im_cb to MainWindow class
Ragner Magalhaes [Tue, 2 Dec 2008 20:39:30 +0000 (20:39 +0000)]
Adding _write_im_cb to MainWindow class

Adding _write_im_cb to update the conversation message at UI

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

15 years agoAdded misssing structures on blist.pxd and glib.pxd.
Ragner Magalhaes [Tue, 2 Dec 2008 20:39:10 +0000 (20:39 +0000)]
Added misssing structures on blist.pxd and glib.pxd.

FIXES:
 - Added missing structures on blist.pxd and glib.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@1332 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoBuddy list update
Ragner Magalhaes [Tue, 2 Dec 2008 20:38:49 +0000 (20:38 +0000)]
Buddy list update

Implement buddy list update (hack mode)

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

15 years agoInitial nullclient-ecore implementation
Ragner Magalhaes [Tue, 2 Dec 2008 20:38:30 +0000 (20:38 +0000)]
Initial nullclient-ecore implementation

Initial nullclient-ecore implementation just for python-purple testings.

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

15 years agoFix for accountopt, cosmetics and fix for union definition.
Ragner Magalhaes [Tue, 2 Dec 2008 20:38:14 +0000 (20:38 +0000)]
Fix for accountopt, cosmetics and fix for union definition.

FIXES:
 - account.pxd should not link to any other .pxd that belongs to libpurple, since it can cause redundancy problems to cython.
 - Moved all accountopt code to accountopt.pxd.
 - Fixed union definition in PurpleAccountOption.
 - Small cosmetics at end of some code lines.

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

15 years agoImproves calls to set proxy's options of the Account
Ragner Magalhaes [Tue, 2 Dec 2008 20:37:48 +0000 (20:37 +0000)]
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

15 years agoSetting proxy and protocols'options
Ragner Magalhaes [Tue, 2 Dec 2008 20:37:28 +0000 (20:37 +0000)]
Setting proxy and protocols'options

Setting proxy and protocols'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@1327 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoAdding support to new class of protocols
Ragner Magalhaes [Tue, 2 Dec 2008 20:37:13 +0000 (20:37 +0000)]
Adding support to new class of protocols

Adding support to new class of protocols

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

15 years agoAdding hack method get_protocol_options
Ragner Magalhaes [Tue, 2 Dec 2008 20:36:54 +0000 (20:36 +0000)]
Adding hack method get_protocol_options

Adding hack method get_protocol_optionsAdding func get_protocol_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@1325 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoAdding bind to PurpleAccountOption
Ragner Magalhaes [Tue, 2 Dec 2008 20:36:38 +0000 (20:36 +0000)]
Adding bind to PurpleAccountOption

Adding bind to PurpleAccountOption

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

15 years agoAdding enum PurplePrefType
Ragner Magalhaes [Tue, 2 Dec 2008 20:36:18 +0000 (20:36 +0000)]
Adding enum PurplePrefType

Adding enum PurplePrefType

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

15 years agoFixed connection callbacks arguments used by nullclient.
Ragner Magalhaes [Tue, 2 Dec 2008 20:35:59 +0000 (20:35 +0000)]
Fixed connection callbacks arguments used by nullclient.

FIXES:
 - Fixed connection callbacks arguments used by nullclient.

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

15 years agoFixed parameters passed as argument to signals used by pidgin-carman.
Ragner Magalhaes [Tue, 2 Dec 2008 20:35:40 +0000 (20:35 +0000)]
Fixed parameters passed as argument to signals used by pidgin-carman.

FIXES:
 - Stripped HTML markups from message.
 - Added robust treatment for arguments passed to user-defined python callbacks.

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

15 years agoAdded missing structures on connection.pxd.
Ragner Magalhaes [Tue, 2 Dec 2008 20:35:03 +0000 (20:35 +0000)]
Added missing structures on connection.pxd.

FIXES:
 - Added missing structure (PurpleConnection) definition on connection.pxd.
 - Fixed typo with time_t definition on status.pxd.
 - Fixed typo with purple_markup_strip_html definition on util.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@1320 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoAdded missing structures on conversation.pxd.
Ragner Magalhaes [Tue, 2 Dec 2008 20:34:35 +0000 (20:34 +0000)]
Added missing structures on conversation.pxd.

FIXES:
 - Added missing structures on conversation.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@1319 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoAdded missing structures on blist.pxd.
Ragner Magalhaes [Tue, 2 Dec 2008 20:34:04 +0000 (20:34 +0000)]
Added missing structures on blist.pxd.

FIXES:
 - Added missing structures on blist.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@1318 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoAdding Classes Plugin and PluginInfo
Ragner Magalhaes [Tue, 2 Dec 2008 20:33:34 +0000 (20:33 +0000)]
Adding Classes Plugin and PluginInfo

Adding Classes Plugin and PluginInfo to let us get the protocol's info

Note: This patch depends of the previous patch "[CARMAN][PATCH 1/1] Adding struct PurplePluginProtocolInfo"

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

15 years agoAdding struct PurplePluginProtocolInfo
Ragner Magalhaes [Tue, 2 Dec 2008 20:33:06 +0000 (20:33 +0000)]
Adding struct PurplePluginProtocolInfo

Adding struct PurplePluginProtocolInfo to let us get protocol'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@1316 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoFixed definition of union inside PurplePresence structure, added missing structure...
Ragner Magalhaes [Tue, 2 Dec 2008 20:32:38 +0000 (20:32 +0000)]
Fixed definition of union inside PurplePresence structure, added missing structure definitions.

FIXES:
 - Fixed definition of union inside PurplePresence structure.
 - Added missing structure definitions.
 - Fixed small typo with PURPLE_STATUS_NUM_PRIMITIVES definition.

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

15 years agoFixed blist.pxd recursive call from other .pxd files.
Ragner Magalhaes [Tue, 2 Dec 2008 20:32:06 +0000 (20:32 +0000)]
Fixed blist.pxd recursive call from other .pxd files.

FIXES:
 - Fixed blist.pxd recursive call from other .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@1314 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoFixed accounts.pxd recursive call from other .pxd files.
Ragner Magalhaes [Tue, 2 Dec 2008 20:31:36 +0000 (20:31 +0000)]
Fixed accounts.pxd recursive call from other .pxd files.

FIXES:
 - Fixed accounts.pxd recursive call from other .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@1313 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoAdded libpurple/value.pxd. (UPDATE)
Ragner Magalhaes [Tue, 2 Dec 2008 20:30:59 +0000 (20:30 +0000)]
Added libpurple/value.pxd. (UPDATE)

FIXES:
 - Added gint64 and guint64 definitions used by value.pxd on glib.pxd.
 - Added value.pxd cimport inside purple.pxd.
 - Added libpurple/value.pxd.

ps: Fixed small type with PurpleValue structure definition.

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

15 years agoFixed high cpu usage by glib iteration.
Ragner Magalhaes [Tue, 2 Dec 2008 20:29:44 +0000 (20:29 +0000)]
Fixed high cpu usage by glib iteration.

FIXES:
 - Changed ecore.idler_add with ecore.timer_add.

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

15 years agoAdded missing definitions on blist.pxd.
Ragner Magalhaes [Tue, 2 Dec 2008 20:29:17 +0000 (20:29 +0000)]
Added missing definitions on blist.pxd.

FIXES:
 - Added missing definitions on blist.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@1310 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoAdded signal callbacks used by pidgin-carman.
Ragner Magalhaes [Tue, 2 Dec 2008 20:28:53 +0000 (20:28 +0000)]
Added signal callbacks used by pidgin-carman.

FIXES:
 - Added signal callbacks used by pidgin-carman.

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

15 years agoAdded PurpleRequestUiOps callbacks. (UPDATE)
Ragner Magalhaes [Tue, 2 Dec 2008 20:28:31 +0000 (20:28 +0000)]
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

15 years agoAdded PurpleNotifyUiOps callbacks.
Ragner Magalhaes [Tue, 2 Dec 2008 20:28:01 +0000 (20:28 +0000)]
Added PurpleNotifyUiOps callbacks.

FIXES:
 - Added missing structures on notify.pxd.
 - Added notify callbacks forwarding on purple.pyx.
 - Added notify callbacks example on nullclient.py.
 - Added c-based callbacks on notify_cbs.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@1307 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoAdded PurpleBlistUiOps callbacks.
Ragner Magalhaes [Tue, 2 Dec 2008 20:27:33 +0000 (20:27 +0000)]
Added PurpleBlistUiOps callbacks.

FIXES:
 - Added missing structures on blist.pxd.
 - Added blist callbacks forwarding on purple.pyx.
 - Added blist callbacks example on nullclient.py.
 - Added c-based callbacks on blist_cbs.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@1306 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoMore cosmetics.
Ragner Magalhaes [Tue, 2 Dec 2008 20:27:07 +0000 (20:27 +0000)]
More cosmetics.

FIXES:
 - Removed redundant global defintions.
 - Fixed identation.

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

15 years agoAdded PurpleConnectionUiOps callbacks.
Ragner Magalhaes [Tue, 2 Dec 2008 20:26:42 +0000 (20:26 +0000)]
Added PurpleConnectionUiOps callbacks.

FIXES:
 - Added missing structures on connection.pxd.
 - Added connection callbacks forwarding on purple.pyx.
 - Added connection callbacks example on nullclient.py.
 - Added c-based callbacks on connection_cbs.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@1304 596f6dd7-e928-0410-a184-9e12fd12cf7e

15 years agoAdded PurpleAccountUiOps callbacks. (Updated)
Ragner Magalhaes [Tue, 2 Dec 2008 20:26:15 +0000 (20:26 +0000)]
Added PurpleAccountUiOps callbacks. (Updated)

FIXES:
 - Added missing structures on account.pxd (PurpleAccountUiOps) and status.pxd (PurpleStatus).
 - Added account callbacks forwarding on purple.pyx.
 - Added account callbacks example on nullclient.py.
 - Added c-based callbacks on account_cbs.pxd.
 - Renamed conversations_cbs to conversation_cbs.

ps: Fixed typo when renaming conversations_cbs to conversation_cbs.

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

15 years agoCosmetics.
Ragner Magalhaes [Tue, 2 Dec 2008 20:25:41 +0000 (20:25 +0000)]
Cosmetics.

FIXES:
 - Removed redundant import on account.pyx
 - Cosmetics on account.pxd and proxy.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@1302 596f6dd7-e928-0410-a184-9e12fd12cf7e